From 2a9881c247d28a73f877f0757377ec730d762d4a Mon Sep 17 00:00:00 2001 From: Derek Chamorro Date: Sat, 20 Jun 2026 14:27:19 -0500 Subject: [PATCH 01/21] refactor(risk-engine): extract to packages/risk-engine Move lambdas/risk-engine into a workspace package so it can be imported by both the rule-runner CronJob and the api-service without duplicating types. - New workspace member: packages/risk-engine (named @khalifa/risk-engine) - All risk-engine source files moved with history preserved - CDK RiskEngineFn now bundles from packages/risk-engine - Root package.json workspaces includes packages/* - README build instructions updated --- README.md | 5 +- cdk/lib/khalifa-stack.ts | 2 +- lambdas/risk-engine/dist/index.d.ts | 6 - lambdas/risk-engine/dist/index.d.ts.map | 1 - lambdas/risk-engine/dist/index.js | 220 - lambdas/risk-engine/dist/index.js.map | 1 - lambdas/risk-engine/dist/rules.d.ts | 5 - lambdas/risk-engine/dist/rules.d.ts.map | 1 - lambdas/risk-engine/dist/rules.js | 289 - lambdas/risk-engine/dist/rules.js.map | 1 - lambdas/risk-engine/dist/rules.test.d.ts | 2 - lambdas/risk-engine/dist/rules.test.d.ts.map | 1 - lambdas/risk-engine/dist/rules.test.js | 130 - lambdas/risk-engine/dist/rules.test.js.map | 1 - lambdas/risk-engine/dist/runner.d.ts | 17 - lambdas/risk-engine/dist/runner.d.ts.map | 1 - lambdas/risk-engine/dist/runner.js | 322 - lambdas/risk-engine/dist/runner.js.map | 1 - lambdas/risk-engine/dist/scoring.d.ts | 15 - lambdas/risk-engine/dist/scoring.d.ts.map | 1 - lambdas/risk-engine/dist/scoring.js | 142 - lambdas/risk-engine/dist/scoring.js.map | 1 - lambdas/risk-engine/dist/scoring.test.d.ts | 2 - .../risk-engine/dist/scoring.test.d.ts.map | 1 - lambdas/risk-engine/dist/scoring.test.js | 170 - lambdas/risk-engine/dist/scoring.test.js.map | 1 - lambdas/risk-engine/dist/types.d.ts | 115 - lambdas/risk-engine/dist/types.d.ts.map | 1 - lambdas/risk-engine/dist/types.js | 3 - lambdas/risk-engine/dist/types.js.map | 1 - lambdas/risk-engine/dist/types.test.d.ts | 2 - lambdas/risk-engine/dist/types.test.d.ts.map | 1 - lambdas/risk-engine/dist/types.test.js | 215 - lambdas/risk-engine/dist/types.test.js.map | 1 - lambdas/risk-engine/jest.config.js | 9 - .../.bin/baseline-browser-mapping | 1 - .../node_modules/.bin/browserslist | 1 - .../risk-engine/node_modules/.bin/create-jest | 1 - lambdas/risk-engine/node_modules/.bin/esparse | 1 - .../risk-engine/node_modules/.bin/esvalidate | 1 - .../risk-engine/node_modules/.bin/handlebars | 1 - .../node_modules/.bin/import-local-fixture | 1 - lambdas/risk-engine/node_modules/.bin/jest | 1 - lambdas/risk-engine/node_modules/.bin/js-yaml | 1 - lambdas/risk-engine/node_modules/.bin/jsesc | 1 - lambdas/risk-engine/node_modules/.bin/json5 | 1 - lambdas/risk-engine/node_modules/.bin/parser | 1 - lambdas/risk-engine/node_modules/.bin/resolve | 1 - lambdas/risk-engine/node_modules/.bin/semver | 1 - lambdas/risk-engine/node_modules/.bin/ts-jest | 1 - .../risk-engine/node_modules/.bin/uglifyjs | 1 - .../node_modules/.bin/update-browserslist-db | 1 - .../@aws-sdk/client-dynamodb/LICENSE | 201 - .../@aws-sdk/client-dynamodb/README.md | 596 - .../dist-cjs/auth/httpAuthSchemeProvider.js | 46 - .../dist-cjs/endpoint/endpointResolver.js | 27 - .../dist-cjs/endpoint/ruleset.js | 7 - .../client-dynamodb/dist-cjs/index.js | 1667 -- .../models/DynamoDBServiceException.js | 12 - .../client-dynamodb/dist-cjs/models/errors.js | 478 - .../dist-cjs/runtimeConfig.browser.js | 41 - .../client-dynamodb/dist-cjs/runtimeConfig.js | 57 - .../dist-cjs/runtimeConfig.native.js | 15 - .../dist-cjs/runtimeConfig.shared.js | 46 - .../dist-cjs/schemas/schemas_0.js | 2391 --- .../client-dynamodb/dist-es/DynamoDB.js | 149 - .../client-dynamodb/dist-es/DynamoDBClient.js | 55 - .../auth/httpAuthExtensionConfiguration.js | 38 - .../dist-es/auth/httpAuthSchemeProvider.js | 40 - .../commands/BatchExecuteStatementCommand.js | 16 - .../dist-es/commands/BatchGetItemCommand.js | 19 - .../dist-es/commands/BatchWriteItemCommand.js | 19 - .../dist-es/commands/CreateBackupCommand.js | 19 - .../commands/CreateGlobalTableCommand.js | 19 - .../dist-es/commands/CreateTableCommand.js | 19 - .../dist-es/commands/DeleteBackupCommand.js | 19 - .../dist-es/commands/DeleteItemCommand.js | 19 - .../commands/DeleteResourcePolicyCommand.js | 19 - .../dist-es/commands/DeleteTableCommand.js | 19 - .../dist-es/commands/DescribeBackupCommand.js | 19 - .../DescribeContinuousBackupsCommand.js | 19 - .../DescribeContributorInsightsCommand.js | 19 - .../commands/DescribeEndpointsCommand.js | 16 - .../dist-es/commands/DescribeExportCommand.js | 19 - .../commands/DescribeGlobalTableCommand.js | 19 - .../DescribeGlobalTableSettingsCommand.js | 19 - .../dist-es/commands/DescribeImportCommand.js | 19 - ...cribeKinesisStreamingDestinationCommand.js | 19 - .../dist-es/commands/DescribeLimitsCommand.js | 16 - .../dist-es/commands/DescribeTableCommand.js | 19 - .../DescribeTableReplicaAutoScalingCommand.js | 19 - .../commands/DescribeTimeToLiveCommand.js | 19 - ...sableKinesisStreamingDestinationCommand.js | 19 - ...nableKinesisStreamingDestinationCommand.js | 19 - .../commands/ExecuteStatementCommand.js | 16 - .../commands/ExecuteTransactionCommand.js | 16 - .../ExportTableToPointInTimeCommand.js | 19 - .../dist-es/commands/GetItemCommand.js | 19 - .../commands/GetResourcePolicyCommand.js | 19 - .../dist-es/commands/ImportTableCommand.js | 19 - .../dist-es/commands/ListBackupsCommand.js | 19 - .../ListContributorInsightsCommand.js | 19 - .../dist-es/commands/ListExportsCommand.js | 19 - .../commands/ListGlobalTablesCommand.js | 16 - .../dist-es/commands/ListImportsCommand.js | 19 - .../dist-es/commands/ListTablesCommand.js | 16 - .../commands/ListTagsOfResourceCommand.js | 19 - .../dist-es/commands/PutItemCommand.js | 19 - .../commands/PutResourcePolicyCommand.js | 19 - .../dist-es/commands/QueryCommand.js | 19 - .../commands/RestoreTableFromBackupCommand.js | 19 - .../RestoreTableToPointInTimeCommand.js | 19 - .../dist-es/commands/ScanCommand.js | 19 - .../dist-es/commands/TagResourceCommand.js | 19 - .../commands/TransactGetItemsCommand.js | 19 - .../commands/TransactWriteItemsCommand.js | 19 - .../dist-es/commands/UntagResourceCommand.js | 19 - .../UpdateContinuousBackupsCommand.js | 19 - .../UpdateContributorInsightsCommand.js | 19 - .../commands/UpdateGlobalTableCommand.js | 19 - .../UpdateGlobalTableSettingsCommand.js | 19 - .../dist-es/commands/UpdateItemCommand.js | 19 - ...pdateKinesisStreamingDestinationCommand.js | 19 - .../dist-es/commands/UpdateTableCommand.js | 19 - .../UpdateTableReplicaAutoScalingCommand.js | 19 - .../commands/UpdateTimeToLiveCommand.js | 19 - .../client-dynamodb/dist-es/commands/index.js | 57 - .../dist-es/endpoint/EndpointParameters.js | 15 - .../dist-es/endpoint/endpointResolver.js | 23 - .../dist-es/endpoint/ruleset.js | 4 - .../dist-es/extensionConfiguration.js | 1 - .../@aws-sdk/client-dynamodb/dist-es/index.js | 10 - .../models/DynamoDBServiceException.js | 8 - .../client-dynamodb/dist-es/models/enums.js | 245 - .../client-dynamodb/dist-es/models/errors.js | 440 - .../dist-es/models/models_0.js | 1 - .../dist-es/pagination/Interfaces.js | 1 - .../ListContributorInsightsPaginator.js | 4 - .../pagination/ListExportsPaginator.js | 4 - .../pagination/ListImportsPaginator.js | 4 - .../dist-es/pagination/ListTablesPaginator.js | 4 - .../dist-es/pagination/QueryPaginator.js | 4 - .../dist-es/pagination/ScanPaginator.js | 4 - .../dist-es/pagination/index.js | 7 - .../dist-es/runtimeConfig.browser.js | 36 - .../client-dynamodb/dist-es/runtimeConfig.js | 52 - .../dist-es/runtimeConfig.native.js | 11 - .../dist-es/runtimeConfig.shared.js | 42 - .../dist-es/runtimeExtensions.js | 9 - .../dist-es/schemas/schemas_0.js | 2382 --- .../client-dynamodb/dist-es/waiters/index.js | 6 - .../waitForContributorInsightsEnabled.js | 40 - .../dist-es/waiters/waitForExportCompleted.js | 40 - .../dist-es/waiters/waitForImportCompleted.js | 49 - ...aitForKinesisStreamingDestinationActive.js | 49 - .../dist-es/waiters/waitForTableExists.js | 34 - .../dist-es/waiters/waitForTableNotExists.js | 25 - .../client-dynamodb/dist-types/DynamoDB.d.ts | 512 - .../dist-types/DynamoDBClient.d.ts | 272 - .../auth/httpAuthExtensionConfiguration.d.ts | 29 - .../auth/httpAuthSchemeProvider.d.ts | 75 - .../BatchExecuteStatementCommand.d.ts | 234 - .../commands/BatchGetItemCommand.d.ts | 366 - .../commands/BatchWriteItemCommand.d.ts | 414 - .../commands/CreateBackupCommand.d.ts | 151 - .../commands/CreateGlobalTableCommand.d.ts | 212 - .../commands/CreateTableCommand.d.ts | 395 - .../commands/DeleteBackupCommand.d.ts | 197 - .../commands/DeleteItemCommand.d.ts | 296 - .../commands/DeleteResourcePolicyCommand.d.ts | 145 - .../commands/DeleteTableCommand.d.ts | 339 - .../commands/DescribeBackupCommand.d.ts | 175 - .../DescribeContinuousBackupsCommand.d.ts | 104 - .../DescribeContributorInsightsCommand.d.ts | 94 - .../commands/DescribeEndpointsCommand.d.ts | 78 - .../commands/DescribeExportCommand.d.ts | 124 - .../commands/DescribeGlobalTableCommand.d.ts | 134 - .../DescribeGlobalTableSettingsCommand.d.ts | 178 - .../commands/DescribeImportCommand.d.ts | 165 - ...ibeKinesisStreamingDestinationCommand.d.ts | 91 - .../commands/DescribeLimitsCommand.d.ts | 165 - .../commands/DescribeTableCommand.d.ts | 270 - ...escribeTableReplicaAutoScalingCommand.d.ts | 164 - .../commands/DescribeTimeToLiveCommand.d.ts | 86 - ...bleKinesisStreamingDestinationCommand.d.ts | 128 - ...bleKinesisStreamingDestinationCommand.d.ts | 130 - .../commands/ExecuteStatementCommand.d.ts | 251 - .../commands/ExecuteTransactionCommand.d.ts | 534 - .../ExportTableToPointInTimeCommand.d.ts | 152 - .../dist-types/commands/GetItemCommand.d.ts | 264 - .../commands/GetResourcePolicyCommand.d.ts | 124 - .../commands/ImportTableCommand.d.ts | 275 - .../commands/ListBackupsCommand.d.ts | 109 - .../ListContributorInsightsCommand.d.ts | 92 - .../commands/ListExportsCommand.d.ts | 104 - .../commands/ListGlobalTablesCommand.d.ts | 95 - .../commands/ListImportsCommand.d.ts | 110 - .../commands/ListTablesCommand.d.ts | 103 - .../commands/ListTagsOfResourceCommand.d.ts | 93 - .../dist-types/commands/PutItemCommand.d.ts | 315 - .../commands/PutResourcePolicyCommand.d.ts | 147 - .../dist-types/commands/QueryCommand.d.ts | 338 - .../RestoreTableFromBackupCommand.d.ts | 374 - .../RestoreTableToPointInTimeCommand.d.ts | 408 - .../dist-types/commands/ScanCommand.d.ts | 337 - .../commands/TagResourceCommand.d.ts | 145 - .../commands/TransactGetItemsCommand.d.ts | 496 - .../commands/TransactWriteItemsCommand.d.ts | 659 - .../commands/UntagResourceCommand.d.ts | 140 - .../UpdateContinuousBackupsCommand.d.ts | 111 - .../UpdateContributorInsightsCommand.d.ts | 93 - .../commands/UpdateGlobalTableCommand.d.ts | 180 - .../UpdateGlobalTableSettingsCommand.d.ts | 286 - .../commands/UpdateItemCommand.d.ts | 323 - ...ateKinesisStreamingDestinationCommand.d.ts | 127 - .../commands/UpdateTableCommand.d.ts | 459 - .../UpdateTableReplicaAutoScalingCommand.d.ts | 246 - .../commands/UpdateTimeToLiveCommand.d.ts | 149 - .../dist-types/commands/index.d.ts | 57 - .../endpoint/EndpointParameters.d.ts | 64 - .../dist-types/endpoint/endpointResolver.d.ts | 8 - .../dist-types/endpoint/ruleset.d.ts | 2 - .../dist-types/extensionConfiguration.d.ts | 9 - .../client-dynamodb/dist-types/index.d.ts | 34 - .../models/DynamoDBServiceException.d.ts | 14 - .../dist-types/models/enums.d.ts | 589 - .../dist-types/models/errors.d.ts | 803 - .../dist-types/models/models_0.d.ts | 10015 ----------- .../dist-types/pagination/Interfaces.d.ts | 8 - .../ListContributorInsightsPaginator.d.ts | 7 - .../pagination/ListExportsPaginator.d.ts | 7 - .../pagination/ListImportsPaginator.d.ts | 7 - .../pagination/ListTablesPaginator.d.ts | 7 - .../dist-types/pagination/QueryPaginator.d.ts | 7 - .../dist-types/pagination/ScanPaginator.d.ts | 7 - .../dist-types/pagination/index.d.ts | 7 - .../dist-types/runtimeConfig.browser.d.ts | 60 - .../dist-types/runtimeConfig.d.ts | 60 - .../dist-types/runtimeConfig.native.d.ts | 59 - .../dist-types/runtimeConfig.shared.d.ts | 27 - .../dist-types/runtimeExtensions.d.ts | 17 - .../dist-types/schemas/schemas_0.d.ts | 325 - .../dist-types/ts3.4/DynamoDB.d.ts | 1102 -- .../dist-types/ts3.4/DynamoDBClient.d.ts | 472 - .../auth/httpAuthExtensionConfiguration.d.ts | 32 - .../ts3.4/auth/httpAuthSchemeProvider.d.ts | 47 - .../BatchExecuteStatementCommand.d.ts | 51 - .../ts3.4/commands/BatchGetItemCommand.d.ts | 47 - .../ts3.4/commands/BatchWriteItemCommand.d.ts | 47 - .../ts3.4/commands/CreateBackupCommand.d.ts | 47 - .../commands/CreateGlobalTableCommand.d.ts | 50 - .../ts3.4/commands/CreateTableCommand.d.ts | 47 - .../ts3.4/commands/DeleteBackupCommand.d.ts | 47 - .../ts3.4/commands/DeleteItemCommand.d.ts | 47 - .../commands/DeleteResourcePolicyCommand.d.ts | 51 - .../ts3.4/commands/DeleteTableCommand.d.ts | 47 - .../ts3.4/commands/DescribeBackupCommand.d.ts | 47 - .../DescribeContinuousBackupsCommand.d.ts | 51 - .../DescribeContributorInsightsCommand.d.ts | 51 - .../commands/DescribeEndpointsCommand.d.ts | 51 - .../ts3.4/commands/DescribeExportCommand.d.ts | 47 - .../commands/DescribeGlobalTableCommand.d.ts | 51 - .../DescribeGlobalTableSettingsCommand.d.ts | 51 - .../ts3.4/commands/DescribeImportCommand.d.ts | 47 - ...ibeKinesisStreamingDestinationCommand.d.ts | 51 - .../ts3.4/commands/DescribeLimitsCommand.d.ts | 47 - .../ts3.4/commands/DescribeTableCommand.d.ts | 47 - ...escribeTableReplicaAutoScalingCommand.d.ts | 51 - .../commands/DescribeTimeToLiveCommand.d.ts | 51 - ...bleKinesisStreamingDestinationCommand.d.ts | 51 - ...bleKinesisStreamingDestinationCommand.d.ts | 51 - .../commands/ExecuteStatementCommand.d.ts | 50 - .../commands/ExecuteTransactionCommand.d.ts | 51 - .../ExportTableToPointInTimeCommand.d.ts | 51 - .../ts3.4/commands/GetItemCommand.d.ts | 41 - .../commands/GetResourcePolicyCommand.d.ts | 50 - .../ts3.4/commands/ImportTableCommand.d.ts | 47 - .../ts3.4/commands/ListBackupsCommand.d.ts | 47 - .../ListContributorInsightsCommand.d.ts | 51 - .../ts3.4/commands/ListExportsCommand.d.ts | 47 - .../commands/ListGlobalTablesCommand.d.ts | 50 - .../ts3.4/commands/ListImportsCommand.d.ts | 47 - .../ts3.4/commands/ListTablesCommand.d.ts | 47 - .../commands/ListTagsOfResourceCommand.d.ts | 51 - .../ts3.4/commands/PutItemCommand.d.ts | 41 - .../commands/PutResourcePolicyCommand.d.ts | 50 - .../ts3.4/commands/QueryCommand.d.ts | 41 - .../RestoreTableFromBackupCommand.d.ts | 51 - .../RestoreTableToPointInTimeCommand.d.ts | 51 - .../ts3.4/commands/ScanCommand.d.ts | 41 - .../ts3.4/commands/TagResourceCommand.d.ts | 45 - .../commands/TransactGetItemsCommand.d.ts | 50 - .../commands/TransactWriteItemsCommand.d.ts | 51 - .../ts3.4/commands/UntagResourceCommand.d.ts | 45 - .../UpdateContinuousBackupsCommand.d.ts | 51 - .../UpdateContributorInsightsCommand.d.ts | 51 - .../commands/UpdateGlobalTableCommand.d.ts | 50 - .../UpdateGlobalTableSettingsCommand.d.ts | 51 - .../ts3.4/commands/UpdateItemCommand.d.ts | 47 - ...ateKinesisStreamingDestinationCommand.d.ts | 51 - .../ts3.4/commands/UpdateTableCommand.d.ts | 47 - .../UpdateTableReplicaAutoScalingCommand.d.ts | 51 - .../commands/UpdateTimeToLiveCommand.d.ts | 50 - .../dist-types/ts3.4/commands/index.d.ts | 57 - .../ts3.4/endpoint/EndpointParameters.d.ts | 65 - .../ts3.4/endpoint/endpointResolver.d.ts | 8 - .../dist-types/ts3.4/endpoint/ruleset.d.ts | 2 - .../ts3.4/extensionConfiguration.d.ts | 9 - .../dist-types/ts3.4/index.d.ts | 13 - .../models/DynamoDBServiceException.d.ts | 9 - .../dist-types/ts3.4/models/enums.d.ts | 313 - .../dist-types/ts3.4/models/errors.d.ts | 286 - .../dist-types/ts3.4/models/models_0.d.ts | 1558 -- .../ts3.4/pagination/Interfaces.d.ts | 6 - .../ListContributorInsightsPaginator.d.ts | 11 - .../pagination/ListExportsPaginator.d.ts | 11 - .../pagination/ListImportsPaginator.d.ts | 11 - .../ts3.4/pagination/ListTablesPaginator.d.ts | 11 - .../ts3.4/pagination/QueryPaginator.d.ts | 11 - .../ts3.4/pagination/ScanPaginator.d.ts | 8 - .../dist-types/ts3.4/pagination/index.d.ts | 7 - .../ts3.4/runtimeConfig.browser.d.ts | 114 - .../dist-types/ts3.4/runtimeConfig.d.ts | 111 - .../ts3.4/runtimeConfig.native.d.ts | 118 - .../ts3.4/runtimeConfig.shared.d.ts | 30 - .../dist-types/ts3.4/runtimeExtensions.d.ts | 11 - .../dist-types/ts3.4/schemas/schemas_0.d.ts | 325 - .../dist-types/ts3.4/waiters/index.d.ts | 6 - .../waitForContributorInsightsEnabled.d.ts | 11 - .../ts3.4/waiters/waitForExportCompleted.d.ts | 11 - .../ts3.4/waiters/waitForImportCompleted.d.ts | 11 - ...tForKinesisStreamingDestinationActive.d.ts | 11 - .../ts3.4/waiters/waitForTableExists.d.ts | 11 - .../ts3.4/waiters/waitForTableNotExists.d.ts | 11 - .../dist-types/waiters/index.d.ts | 6 - .../waitForContributorInsightsEnabled.d.ts | 14 - .../waiters/waitForExportCompleted.d.ts | 14 - .../waiters/waitForImportCompleted.d.ts | 14 - ...tForKinesisStreamingDestinationActive.d.ts | 14 - .../waiters/waitForTableExists.d.ts | 14 - .../waiters/waitForTableNotExists.d.ts | 14 - .../@aws-sdk/client-dynamodb/package.json | 111 - .../@aws-sdk/dynamodb-codec/LICENSE | 201 - .../@aws-sdk/dynamodb-codec/README.md | 4 - .../@aws-sdk/dynamodb-codec/dist-cjs/index.js | 91 - .../dist-es/codec/DynamoDBJsonCodec.js | 86 - .../@aws-sdk/dynamodb-codec/dist-es/index.js | 1 - .../dist-types/codec/DynamoDBJsonCodec.d.ts | 18 - .../dynamodb-codec/dist-types/index.d.ts | 1 - .../ts3.4/codec/DynamoDBJsonCodec.d.ts | 10 - .../dist-types/ts3.4/index.d.ts | 1 - .../@aws-sdk/dynamodb-codec/package.json | 58 - .../@aws-sdk/endpoint-cache/LICENSE | 201 - .../@aws-sdk/endpoint-cache/README.md | 24 - .../@aws-sdk/endpoint-cache/dist-cjs/index.js | 59 - .../endpoint-cache/dist-es/Endpoint.js | 1 - .../endpoint-cache/dist-es/EndpointCache.js | 54 - .../@aws-sdk/endpoint-cache/dist-es/index.js | 2 - .../endpoint-cache/dist-types/Endpoint.d.ts | 13 - .../dist-types/EndpointCache.d.ts | 56 - .../endpoint-cache/dist-types/index.d.ts | 8 - .../dist-types/ts3.4/Endpoint.d.ts | 4 - .../dist-types/ts3.4/EndpointCache.d.ts | 14 - .../dist-types/ts3.4/index.d.ts | 2 - .../@aws-sdk/endpoint-cache/package.json | 55 - .../@aws-sdk/lib-dynamodb/LICENSE | 201 - .../@aws-sdk/lib-dynamodb/README.md | 464 - .../@aws-sdk/lib-dynamodb/dist-cjs/index.js | 836 - .../lib-dynamodb/dist-es/DynamoDBDocument.js | 214 - .../dist-es/DynamoDBDocumentClient.js | 20 - .../DynamoDBDocumentClientCommand.js | 32 - .../commands/BatchExecuteStatementCommand.js | 39 - .../dist-es/commands/BatchGetCommand.js | 45 - .../dist-es/commands/BatchWriteCommand.js | 57 - .../dist-es/commands/DeleteCommand.js | 38 - .../commands/ExecuteStatementCommand.js | 31 - .../commands/ExecuteTransactionCommand.js | 36 - .../dist-es/commands/GetCommand.js | 28 - .../dist-es/commands/PutCommand.js | 38 - .../dist-es/commands/QueryCommand.js | 42 - .../dist-es/commands/ScanCommand.js | 37 - .../dist-es/commands/TransactGetCommand.js | 38 - .../dist-es/commands/TransactWriteCommand.js | 53 - .../dist-es/commands/UpdateCommand.js | 43 - .../lib-dynamodb/dist-es/commands/index.js | 13 - .../lib-dynamodb/dist-es/commands/utils.js | 80 - .../@aws-sdk/lib-dynamodb/dist-es/index.js | 5 - .../dist-es/pagination/Interfaces.js | 1 - .../dist-es/pagination/QueryPaginator.js | 4 - .../dist-es/pagination/ScanPaginator.js | 4 - .../lib-dynamodb/dist-es/pagination/index.js | 3 - .../dist-types/DynamoDBDocument.d.ts | 195 - .../dist-types/DynamoDBDocumentClient.d.ts | 96 - .../DynamoDBDocumentClientCommand.d.ts | 17 - .../BatchExecuteStatementCommand.d.ts | 66 - .../dist-types/commands/BatchGetCommand.d.ts | 70 - .../commands/BatchWriteCommand.d.ts | 94 - .../dist-types/commands/DeleteCommand.d.ts | 66 - .../commands/ExecuteStatementCommand.d.ts | 52 - .../commands/ExecuteTransactionCommand.d.ts | 60 - .../dist-types/commands/GetCommand.d.ts | 48 - .../dist-types/commands/PutCommand.d.ts | 66 - .../dist-types/commands/QueryCommand.d.ts | 70 - .../dist-types/commands/ScanCommand.d.ts | 62 - .../commands/TransactGetCommand.d.ts | 64 - .../commands/TransactWriteCommand.d.ts | 92 - .../dist-types/commands/UpdateCommand.d.ts | 74 - .../dist-types/commands/index.d.ts | 13 - .../dist-types/commands/utils.d.ts | 33 - .../lib-dynamodb/dist-types/index.d.ts | 7 - .../dist-types/pagination/Interfaces.d.ts | 13 - .../dist-types/pagination/QueryPaginator.d.ts | 11 - .../dist-types/pagination/ScanPaginator.d.ts | 11 - .../dist-types/pagination/index.d.ts | 3 - .../dist-types/ts3.4/DynamoDBDocument.d.ts | 221 - .../ts3.4/DynamoDBDocumentClient.d.ts | 105 - .../DynamoDBDocumentClientCommand.d.ts | 30 - .../BatchExecuteStatementCommand.d.ts | 96 - .../ts3.4/commands/BatchGetCommand.d.ts | 92 - .../ts3.4/commands/BatchWriteCommand.d.ts | 142 - .../ts3.4/commands/DeleteCommand.d.ts | 96 - .../commands/ExecuteStatementCommand.d.ts | 61 - .../commands/ExecuteTransactionCommand.d.ts | 78 - .../dist-types/ts3.4/commands/GetCommand.d.ts | 57 - .../dist-types/ts3.4/commands/PutCommand.d.ts | 93 - .../ts3.4/commands/QueryCommand.d.ts | 96 - .../ts3.4/commands/ScanCommand.d.ts | 80 - .../ts3.4/commands/TransactGetCommand.d.ts | 82 - .../ts3.4/commands/TransactWriteCommand.d.ts | 151 - .../ts3.4/commands/UpdateCommand.d.ts | 113 - .../dist-types/ts3.4/commands/index.d.ts | 13 - .../dist-types/ts3.4/commands/utils.d.ts | 17 - .../lib-dynamodb/dist-types/ts3.4/index.d.ts | 11 - .../ts3.4/pagination/Interfaces.d.ts | 8 - .../ts3.4/pagination/QueryPaginator.d.ts | 12 - .../ts3.4/pagination/ScanPaginator.d.ts | 9 - .../dist-types/ts3.4/pagination/index.d.ts | 3 - .../@aws-sdk/lib-dynamodb/package.json | 68 - .../middleware-endpoint-discovery/LICENSE | 201 - .../middleware-endpoint-discovery/README.md | 4 - .../dist-cjs/index.js | 188 - .../dist-es/configurations.js | 27 - .../dist-es/endpointDiscoveryMiddleware.js | 45 - .../dist-es/getCacheKey.js | 13 - .../dist-es/getEndpointDiscoveryPlugin.js | 22 - .../dist-es/index.js | 3 - .../dist-es/resolveEndpointDiscoveryConfig.js | 12 - .../updateDiscoveredEndpointInCache.js | 57 - .../dist-types/configurations.d.ts | 5 - .../endpointDiscoveryMiddleware.d.ts | 4 - .../dist-types/getCacheKey.d.ts | 9 - .../getEndpointDiscoveryPlugin.d.ts | 29 - .../dist-types/index.d.ts | 3 - .../resolveEndpointDiscoveryConfig.d.ts | 60 - .../dist-types/ts3.4/configurations.d.ts | 4 - .../ts3.4/endpointDiscoveryMiddleware.d.ts | 17 - .../dist-types/ts3.4/getCacheKey.d.ts | 10 - .../ts3.4/getEndpointDiscoveryPlugin.d.ts | 41 - .../dist-types/ts3.4/index.d.ts | 3 - .../ts3.4/resolveEndpointDiscoveryConfig.d.ts | 28 - .../updateDiscoveredEndpointInCache.d.ts | 15 - .../updateDiscoveredEndpointInCache.d.ts | 8 - .../package.json | 61 - .../@aws-sdk/middleware-host-header/LICENSE | 201 - .../@aws-sdk/middleware-host-header/README.md | 4 - .../middleware-host-header/dist-cjs/index.js | 41 - .../middleware-host-header/dist-es/index.js | 33 - .../dist-types/index.d.ts | 35 - .../dist-types/ts3.4/index.d.ts | 29 - .../middleware-host-header/package.json | 59 - .../@aws-sdk/middleware-logger/LICENSE | 201 - .../@aws-sdk/middleware-logger/README.md | 4 - .../middleware-logger/dist-cjs/index.js | 48 - .../middleware-logger/dist-es/index.js | 1 - .../dist-es/loggerMiddleware.js | 42 - .../middleware-logger/dist-types/index.d.ts | 1 - .../dist-types/loggerMiddleware.d.ts | 4 - .../dist-types/ts3.4/index.d.ts | 1 - .../dist-types/ts3.4/loggerMiddleware.d.ts | 17 - .../@aws-sdk/middleware-logger/package.json | 59 - .../middleware-recursion-detection/LICENSE | 201 - .../middleware-recursion-detection/README.md | 17 - .../dist-cjs/index.js | 29 - .../dist-cjs/recursionDetectionMiddleware.js | 33 - .../recursionDetectionMiddleware.native.js | 5 - .../dist-es/configuration.js | 7 - .../dist-es/getRecursionDetectionPlugin.js | 7 - .../dist-es/index.js | 2 - .../recursionDetectionMiddleware.browser.js | 1 - .../dist-es/recursionDetectionMiddleware.js | 29 - .../recursionDetectionMiddleware.native.js | 1 - .../dist-types/configuration.d.ts | 5 - .../getRecursionDetectionPlugin.d.ts | 5 - .../dist-types/index.d.ts | 2 - .../recursionDetectionMiddleware.browser.d.ts | 6 - .../recursionDetectionMiddleware.d.ts | 6 - .../recursionDetectionMiddleware.native.d.ts | 6 - .../dist-types/ts3.4/configuration.d.ts | 3 - .../ts3.4/getRecursionDetectionPlugin.d.ts | 4 - .../dist-types/ts3.4/index.d.ts | 2 - .../recursionDetectionMiddleware.browser.d.ts | 5 - .../ts3.4/recursionDetectionMiddleware.d.ts | 5 - .../recursionDetectionMiddleware.native.d.ts | 5 - .../package.json | 63 - .../@aws-sdk/middleware-user-agent/LICENSE | 201 - .../@aws-sdk/middleware-user-agent/README.md | 4 - .../middleware-user-agent/dist-cjs/index.js | 194 - .../dist-es/check-features.js | 49 - .../dist-es/configurations.js | 28 - .../dist-es/constants.js | 7 - .../dist-es/encode-features.js | 18 - .../middleware-user-agent/dist-es/index.js | 2 - .../dist-es/user-agent-middleware.js | 82 - .../dist-types/check-features.d.ts | 20 - .../dist-types/configurations.d.ts | 44 - .../dist-types/constants.d.ts | 7 - .../dist-types/encode-features.d.ts | 5 - .../dist-types/index.d.ts | 2 - .../dist-types/ts3.4/check-features.d.ts | 20 - .../dist-types/ts3.4/configurations.d.ts | 21 - .../dist-types/ts3.4/constants.d.ts | 7 - .../dist-types/ts3.4/encode-features.d.ts | 2 - .../dist-types/ts3.4/index.d.ts | 2 - .../ts3.4/user-agent-middleware.d.ts | 21 - .../dist-types/user-agent-middleware.d.ts | 18 - .../middleware-user-agent/package.json | 63 - .../@aws-sdk/region-config-resolver/LICENSE | 201 - .../@aws-sdk/region-config-resolver/README.md | 19 - .../region-config-resolver/dist-cjs/index.js | 38 - .../regionConfig/stsRegionDefaultResolver.js | 20 - .../stsRegionDefaultResolver.native.js | 6 - .../dist-es/extensions/index.js | 15 - .../region-config-resolver/dist-es/index.js | 3 - .../dist-es/regionConfig/awsRegionConfig.js | 2 - .../stsRegionDefaultResolver.browser.js | 3 - .../regionConfig/stsRegionDefaultResolver.js | 16 - .../stsRegionDefaultResolver.native.js | 3 - .../dist-types/extensions/index.d.ts | 16 - .../dist-types/index.d.ts | 3 - .../regionConfig/awsRegionConfig.d.ts | 15 - .../stsRegionDefaultResolver.browser.d.ts | 4 - .../stsRegionDefaultResolver.d.ts | 14 - .../stsRegionDefaultResolver.native.d.ts | 4 - .../dist-types/ts3.4/extensions/index.d.ts | 14 - .../dist-types/ts3.4/index.d.ts | 3 - .../ts3.4/regionConfig/awsRegionConfig.d.ts | 11 - .../stsRegionDefaultResolver.browser.d.ts | 1 - .../stsRegionDefaultResolver.d.ts | 7 - .../stsRegionDefaultResolver.native.d.ts | 1 - .../region-config-resolver/package.json | 62 - .../@aws-sdk/util-dynamodb/LICENSE | 201 - .../@aws-sdk/util-dynamodb/README.md | 50 - .../@aws-sdk/util-dynamodb/dist-cjs/index.js | 309 - .../util-dynamodb/dist-es/NumberValue.js | 37 - .../util-dynamodb/dist-es/convertToAttr.js | 175 - .../util-dynamodb/dist-es/convertToNative.js | 61 - .../@aws-sdk/util-dynamodb/dist-es/index.js | 6 - .../util-dynamodb/dist-es/marshall.js | 21 - .../@aws-sdk/util-dynamodb/dist-es/models.js | 1 - .../util-dynamodb/dist-es/unmarshall.js | 7 - .../util-dynamodb/dist-types/NumberValue.d.ts | 55 - .../dist-types/convertToAttr.d.ts | 10 - .../dist-types/convertToNative.d.ts | 10 - .../util-dynamodb/dist-types/index.d.ts | 6 - .../util-dynamodb/dist-types/marshall.d.ts | 81 - .../util-dynamodb/dist-types/models.d.ts | 38 - .../dist-types/ts3.4/NumberValue.d.ts | 30 - .../dist-types/ts3.4/convertToAttr.d.ts | 7 - .../dist-types/ts3.4/convertToNative.d.ts | 7 - .../util-dynamodb/dist-types/ts3.4/index.d.ts | 6 - .../dist-types/ts3.4/marshall.d.ts | 112 - .../dist-types/ts3.4/models.d.ts | 46 - .../dist-types/ts3.4/unmarshall.d.ts | 13 - .../util-dynamodb/dist-types/unmarshall.d.ts | 31 - .../@aws-sdk/util-dynamodb/package.json | 58 - .../@aws-sdk/util-endpoints/LICENSE | 201 - .../@aws-sdk/util-endpoints/README.md | 6 - .../@aws-sdk/util-endpoints/dist-cjs/index.js | 406 - .../dist-cjs/lib/aws/partitions.json | 267 - .../@aws-sdk/util-endpoints/dist-es/aws.js | 10 - .../@aws-sdk/util-endpoints/dist-es/index.js | 6 - .../util-endpoints/dist-es/lib/aws/index.js | 3 - .../lib/aws/isVirtualHostableS3Bucket.js | 25 - .../dist-es/lib/aws/parseArn.js | 18 - .../dist-es/lib/aws/partition.js | 41 - .../dist-es/lib/aws/partitions.json | 267 - .../util-endpoints/dist-es/lib/isIpAddress.js | 1 - ...esolveDefaultAwsRegionalEndpointsConfig.js | 21 - .../util-endpoints/dist-es/resolveEndpoint.js | 1 - .../dist-es/types/EndpointError.js | 1 - .../dist-es/types/EndpointRuleObject.js | 1 - .../dist-es/types/ErrorRuleObject.js | 1 - .../dist-es/types/RuleSetObject.js | 1 - .../dist-es/types/TreeRuleObject.js | 1 - .../util-endpoints/dist-es/types/index.js | 6 - .../util-endpoints/dist-es/types/shared.js | 1 - .../util-endpoints/dist-types/aws.d.ts | 2 - .../util-endpoints/dist-types/index.d.ts | 6 - .../dist-types/lib/aws/index.d.ts | 3 - .../lib/aws/isVirtualHostableS3Bucket.d.ts | 5 - .../dist-types/lib/aws/parseArn.d.ts | 7 - .../dist-types/lib/aws/partition.d.ts | 38 - .../dist-types/lib/isIpAddress.d.ts | 1 - ...olveDefaultAwsRegionalEndpointsConfig.d.ts | 56 - .../dist-types/resolveEndpoint.d.ts | 1 - .../util-endpoints/dist-types/ts3.4/aws.d.ts | 2 - .../dist-types/ts3.4/index.d.ts | 6 - .../dist-types/ts3.4/lib/aws/index.d.ts | 3 - .../lib/aws/isVirtualHostableS3Bucket.d.ts | 4 - .../dist-types/ts3.4/lib/aws/parseArn.d.ts | 2 - .../dist-types/ts3.4/lib/aws/partition.d.ts | 28 - .../dist-types/ts3.4/lib/isIpAddress.d.ts | 1 - ...olveDefaultAwsRegionalEndpointsConfig.d.ts | 35 - .../dist-types/ts3.4/resolveEndpoint.d.ts | 1 - .../dist-types/ts3.4/types/EndpointError.d.ts | 1 - .../ts3.4/types/EndpointRuleObject.d.ts | 6 - .../ts3.4/types/ErrorRuleObject.d.ts | 1 - .../dist-types/ts3.4/types/RuleSetObject.d.ts | 5 - .../ts3.4/types/TreeRuleObject.d.ts | 1 - .../dist-types/ts3.4/types/index.d.ts | 6 - .../dist-types/ts3.4/types/shared.d.ts | 12 - .../dist-types/types/EndpointError.d.ts | 1 - .../dist-types/types/EndpointRuleObject.d.ts | 1 - .../dist-types/types/ErrorRuleObject.d.ts | 1 - .../dist-types/types/RuleSetObject.d.ts | 1 - .../dist-types/types/TreeRuleObject.d.ts | 1 - .../dist-types/types/index.d.ts | 6 - .../dist-types/types/shared.d.ts | 1 - .../@aws-sdk/util-endpoints/package.json | 60 - .../@aws-sdk/util-user-agent-browser/LICENSE | 201 - .../util-user-agent-browser/README.md | 29 - .../dist-cjs/configurations.js | 2 - .../createUserAgentStringParsingProvider.js | 57 - .../util-user-agent-browser/dist-cjs/index.js | 58 - .../dist-cjs/index.native.js | 22 - .../dist-es/configurations.js | 1 - .../createUserAgentStringParsingProvider.js | 20 - .../util-user-agent-browser/dist-es/index.js | 53 - .../dist-es/index.native.js | 18 - .../dist-types/configurations.d.ts | 7 - .../createUserAgentStringParsingProvider.d.ts | 14 - .../dist-types/index.d.ts | 27 - .../dist-types/index.native.d.ts | 18 - .../dist-types/ts3.4/configurations.d.ts | 4 - .../createUserAgentStringParsingProvider.d.ts | 9 - .../dist-types/ts3.4/index.d.ts | 22 - .../dist-types/ts3.4/index.native.d.ts | 17 - .../util-user-agent-browser/package.json | 55 - .../@aws-sdk/util-user-agent-node/LICENSE | 201 - .../@aws-sdk/util-user-agent-node/README.md | 17 - .../util-user-agent-node/dist-cjs/index.js | 185 - .../dist-es/crt-availability.js | 3 - .../dist-es/defaultUserAgent.js | 36 - .../dist-es/getNodeModulesParentDirs.js | 15 - .../dist-es/getRuntimeUserAgentPair.js | 10 - .../getSanitizedDevTypeScriptVersion.js | 14 - .../dist-es/getSanitizedTypeScriptVersion.js | 9 - .../dist-es/getTypeScriptUserAgentPair.js | 75 - .../util-user-agent-node/dist-es/index.js | 2 - .../dist-es/is-crt-available.js | 7 - .../dist-es/nodeAppIdConfigOptions.js | 9 - .../dist-types/crt-availability.d.ts | 8 - .../dist-types/defaultUserAgent.d.ts | 28 - .../dist-types/getNodeModulesParentDirs.d.ts | 10 - .../dist-types/getRuntimeUserAgentPair.d.ts | 6 - .../getSanitizedDevTypeScriptVersion.d.ts | 8 - .../getSanitizedTypeScriptVersion.d.ts | 8 - .../getTypeScriptUserAgentPair.d.ts | 6 - .../dist-types/index.d.ts | 2 - .../dist-types/is-crt-available.d.ts | 5 - .../dist-types/nodeAppIdConfigOptions.d.ts | 13 - .../dist-types/ts3.4/crt-availability.d.ts | 3 - .../dist-types/ts3.4/defaultUserAgent.d.ts | 21 - .../ts3.4/getNodeModulesParentDirs.d.ts | 1 - .../ts3.4/getRuntimeUserAgentPair.d.ts | 2 - .../getSanitizedDevTypeScriptVersion.d.ts | 3 - .../ts3.4/getSanitizedTypeScriptVersion.d.ts | 3 - .../ts3.4/getTypeScriptUserAgentPair.d.ts | 4 - .../dist-types/ts3.4/index.d.ts | 2 - .../dist-types/ts3.4/is-crt-available.d.ts | 2 - .../ts3.4/nodeAppIdConfigOptions.d.ts | 6 - .../util-user-agent-node/package.json | 69 - .../node_modules/@babel/code-frame/LICENSE | 22 - .../node_modules/@babel/code-frame/README.md | 19 - .../@babel/code-frame/lib/index.js | 217 - .../@babel/code-frame/lib/index.js.map | 1 - .../@babel/code-frame/package.json | 32 - .../node_modules/@babel/compat-data/LICENSE | 22 - .../node_modules/@babel/compat-data/README.md | 19 - .../@babel/compat-data/corejs2-built-ins.js | 2 - .../compat-data/corejs3-shipped-proposals.js | 2 - .../compat-data/data/corejs2-built-ins.json | 2106 --- .../data/corejs3-shipped-proposals.json | 5 - .../compat-data/data/native-modules.json | 18 - .../compat-data/data/overlapping-plugins.json | 35 - .../compat-data/data/plugin-bugfixes.json | 203 - .../@babel/compat-data/data/plugins.json | 838 - .../@babel/compat-data/native-modules.js | 2 - .../@babel/compat-data/overlapping-plugins.js | 2 - .../@babel/compat-data/package.json | 40 - .../@babel/compat-data/plugin-bugfixes.js | 2 - .../@babel/compat-data/plugins.js | 2 - .../node_modules/@babel/core/LICENSE | 22 - .../node_modules/@babel/core/README.md | 19 - .../@babel/core/lib/config/cache-contexts.js | 5 - .../core/lib/config/cache-contexts.js.map | 1 - .../@babel/core/lib/config/caching.js | 261 - .../@babel/core/lib/config/caching.js.map | 1 - .../@babel/core/lib/config/config-chain.js | 469 - .../core/lib/config/config-chain.js.map | 1 - .../core/lib/config/config-descriptors.js | 190 - .../core/lib/config/config-descriptors.js.map | 1 - .../core/lib/config/files/configuration.js | 290 - .../lib/config/files/configuration.js.map | 1 - .../@babel/core/lib/config/files/import.cjs | 6 - .../core/lib/config/files/import.cjs.map | 1 - .../core/lib/config/files/index-browser.js | 58 - .../lib/config/files/index-browser.js.map | 1 - .../@babel/core/lib/config/files/index.js | 78 - .../@babel/core/lib/config/files/index.js.map | 1 - .../core/lib/config/files/module-types.js | 203 - .../core/lib/config/files/module-types.js.map | 1 - .../@babel/core/lib/config/files/package.js | 61 - .../core/lib/config/files/package.js.map | 1 - .../@babel/core/lib/config/files/plugins.js | 220 - .../core/lib/config/files/plugins.js.map | 1 - .../@babel/core/lib/config/files/types.js | 5 - .../@babel/core/lib/config/files/types.js.map | 1 - .../@babel/core/lib/config/files/utils.js | 36 - .../@babel/core/lib/config/files/utils.js.map | 1 - .../@babel/core/lib/config/full.js | 312 - .../@babel/core/lib/config/full.js.map | 1 - .../core/lib/config/helpers/config-api.js | 85 - .../core/lib/config/helpers/config-api.js.map | 1 - .../core/lib/config/helpers/deep-array.js | 23 - .../core/lib/config/helpers/deep-array.js.map | 1 - .../core/lib/config/helpers/environment.js | 12 - .../lib/config/helpers/environment.js.map | 1 - .../@babel/core/lib/config/index.js | 87 - .../@babel/core/lib/config/index.js.map | 1 - .../@babel/core/lib/config/item.js | 67 - .../@babel/core/lib/config/item.js.map | 1 - .../@babel/core/lib/config/partial.js | 158 - .../@babel/core/lib/config/partial.js.map | 1 - .../core/lib/config/pattern-to-regex.js | 38 - .../core/lib/config/pattern-to-regex.js.map | 1 - .../@babel/core/lib/config/plugin.js | 33 - .../@babel/core/lib/config/plugin.js.map | 1 - .../@babel/core/lib/config/printer.js | 113 - .../@babel/core/lib/config/printer.js.map | 1 - .../lib/config/resolve-targets-browser.js | 41 - .../lib/config/resolve-targets-browser.js.map | 1 - .../@babel/core/lib/config/resolve-targets.js | 61 - .../core/lib/config/resolve-targets.js.map | 1 - .../@babel/core/lib/config/util.js | 31 - .../@babel/core/lib/config/util.js.map | 1 - .../config/validation/option-assertions.js | 277 - .../validation/option-assertions.js.map | 1 - .../core/lib/config/validation/options.js | 187 - .../core/lib/config/validation/options.js.map | 1 - .../core/lib/config/validation/plugins.js | 67 - .../core/lib/config/validation/plugins.js.map | 1 - .../core/lib/config/validation/removed.js | 68 - .../core/lib/config/validation/removed.js.map | 1 - .../@babel/core/lib/errors/config-error.js | 18 - .../core/lib/errors/config-error.js.map | 1 - .../core/lib/errors/rewrite-stack-trace.js | 98 - .../lib/errors/rewrite-stack-trace.js.map | 1 - .../@babel/core/lib/gensync-utils/async.js | 90 - .../core/lib/gensync-utils/async.js.map | 1 - .../@babel/core/lib/gensync-utils/fs.js | 31 - .../@babel/core/lib/gensync-utils/fs.js.map | 1 - .../core/lib/gensync-utils/functional.js | 58 - .../core/lib/gensync-utils/functional.js.map | 1 - .../node_modules/@babel/core/lib/index.js | 230 - .../node_modules/@babel/core/lib/index.js.map | 1 - .../node_modules/@babel/core/lib/parse.js | 45 - .../node_modules/@babel/core/lib/parse.js.map | 1 - .../@babel/core/lib/parser/index.js | 85 - .../@babel/core/lib/parser/index.js.map | 1 - .../lib/parser/util/missing-plugin-helper.js | 337 - .../parser/util/missing-plugin-helper.js.map | 1 - .../core/lib/tools/build-external-helpers.js | 144 - .../lib/tools/build-external-helpers.js.map | 1 - .../@babel/core/lib/transform-ast.js | 48 - .../@babel/core/lib/transform-ast.js.map | 1 - .../@babel/core/lib/transform-file-browser.js | 23 - .../core/lib/transform-file-browser.js.map | 1 - .../@babel/core/lib/transform-file.js | 40 - .../@babel/core/lib/transform-file.js.map | 1 - .../node_modules/@babel/core/lib/transform.js | 47 - .../@babel/core/lib/transform.js.map | 1 - .../lib/transformation/block-hoist-plugin.js | 84 - .../transformation/block-hoist-plugin.js.map | 1 - .../transformation/file/babel-7-helpers.cjs | 4 - .../file/babel-7-helpers.cjs.map | 1 - .../core/lib/transformation/file/file.js | 204 - .../core/lib/transformation/file/file.js.map | 1 - .../core/lib/transformation/file/generate.js | 84 - .../lib/transformation/file/generate.js.map | 1 - .../core/lib/transformation/file/merge-map.js | 37 - .../lib/transformation/file/merge-map.js.map | 1 - .../@babel/core/lib/transformation/index.js | 90 - .../core/lib/transformation/index.js.map | 1 - .../core/lib/transformation/normalize-file.js | 127 - .../lib/transformation/normalize-file.js.map | 1 - .../core/lib/transformation/normalize-opts.js | 59 - .../lib/transformation/normalize-opts.js.map | 1 - .../core/lib/transformation/plugin-pass.js | 48 - .../lib/transformation/plugin-pass.js.map | 1 - .../lib/transformation/util/clone-deep.js | 54 - .../lib/transformation/util/clone-deep.js.map | 1 - .../core/lib/vendor/import-meta-resolve.js | 1042 -- .../lib/vendor/import-meta-resolve.js.map | 1 - .../node_modules/@babel/core/package.json | 82 - .../core/src/config/files/index-browser.ts | 115 - .../@babel/core/src/config/files/index.ts | 30 - .../src/config/resolve-targets-browser.ts | 42 - .../@babel/core/src/config/resolve-targets.ts | 54 - .../@babel/core/src/transform-file-browser.ts | 33 - .../@babel/core/src/transform-file.ts | 56 - .../node_modules/@babel/generator/LICENSE | 22 - .../node_modules/@babel/generator/README.md | 19 - .../@babel/generator/lib/buffer.js | 244 - .../@babel/generator/lib/buffer.js.map | 1 - .../@babel/generator/lib/generators/base.js | 86 - .../generator/lib/generators/base.js.map | 1 - .../generator/lib/generators/classes.js | 215 - .../generator/lib/generators/classes.js.map | 1 - .../generator/lib/generators/deprecated.js | 73 - .../lib/generators/deprecated.js.map | 1 - .../generator/lib/generators/expressions.js | 309 - .../lib/generators/expressions.js.map | 1 - .../@babel/generator/lib/generators/flow.js | 658 - .../generator/lib/generators/flow.js.map | 1 - .../@babel/generator/lib/generators/index.js | 128 - .../generator/lib/generators/index.js.map | 1 - .../@babel/generator/lib/generators/jsx.js | 124 - .../generator/lib/generators/jsx.js.map | 1 - .../generator/lib/generators/methods.js | 207 - .../generator/lib/generators/methods.js.map | 1 - .../generator/lib/generators/modules.js | 290 - .../generator/lib/generators/modules.js.map | 1 - .../generator/lib/generators/statements.js | 297 - .../lib/generators/statements.js.map | 1 - .../lib/generators/template-literals.js | 38 - .../lib/generators/template-literals.js.map | 1 - .../@babel/generator/lib/generators/types.js | 183 - .../generator/lib/generators/types.js.map | 1 - .../generator/lib/generators/typescript.js | 726 - .../lib/generators/typescript.js.map | 1 - .../@babel/generator/lib/index.js | 108 - .../@babel/generator/lib/index.js.map | 1 - .../@babel/generator/lib/node/index.js | 81 - .../@babel/generator/lib/node/index.js.map | 1 - .../@babel/generator/lib/node/parentheses.js | 298 - .../generator/lib/node/parentheses.js.map | 1 - .../@babel/generator/lib/nodes.js | 19 - .../@babel/generator/lib/nodes.js.map | 1 - .../@babel/generator/lib/printer.js | 782 - .../@babel/generator/lib/printer.js.map | 1 - .../@babel/generator/lib/source-map.js | 86 - .../@babel/generator/lib/source-map.js.map | 1 - .../@babel/generator/lib/token-map.js | 195 - .../@babel/generator/lib/token-map.js.map | 1 - .../@babel/generator/package.json | 39 - .../@babel/helper-compilation-targets/LICENSE | 22 - .../helper-compilation-targets/README.md | 19 - .../helper-compilation-targets/lib/debug.js | 28 - .../lib/debug.js.map | 1 - .../lib/filter-items.js | 67 - .../lib/filter-items.js.map | 1 - .../helper-compilation-targets/lib/index.js | 229 - .../lib/index.js.map | 1 - .../helper-compilation-targets/lib/options.js | 24 - .../lib/options.js.map | 1 - .../helper-compilation-targets/lib/pretty.js | 40 - .../lib/pretty.js.map | 1 - .../helper-compilation-targets/lib/targets.js | 28 - .../lib/targets.js.map | 1 - .../helper-compilation-targets/lib/utils.js | 58 - .../lib/utils.js.map | 1 - .../helper-compilation-targets/package.json | 43 - .../@babel/helper-globals/LICENSE | 22 - .../@babel/helper-globals/README.md | 19 - .../helper-globals/data/browser-upper.json | 911 - .../helper-globals/data/builtin-lower.json | 15 - .../helper-globals/data/builtin-upper.json | 51 - .../@babel/helper-globals/package.json | 32 - .../@babel/helper-module-imports/LICENSE | 22 - .../@babel/helper-module-imports/README.md | 19 - .../lib/import-builder.js | 122 - .../lib/import-builder.js.map | 1 - .../lib/import-injector.js | 304 - .../lib/import-injector.js.map | 1 - .../@babel/helper-module-imports/lib/index.js | 37 - .../helper-module-imports/lib/index.js.map | 1 - .../helper-module-imports/lib/is-module.js | 11 - .../lib/is-module.js.map | 1 - .../@babel/helper-module-imports/package.json | 28 - .../@babel/helper-module-transforms/LICENSE | 22 - .../@babel/helper-module-transforms/README.md | 19 - .../lib/dynamic-import.js | 46 - .../lib/dynamic-import.js.map | 1 - .../lib/get-module-name.js | 46 - .../lib/get-module-name.js.map | 1 - .../helper-module-transforms/lib/index.js | 396 - .../helper-module-transforms/lib/index.js.map | 1 - .../lib/lazy-modules.js | 31 - .../lib/lazy-modules.js.map | 1 - .../lib/normalize-and-load-metadata.js | 362 - .../lib/normalize-and-load-metadata.js.map | 1 - .../lib/rewrite-live-references.js | 360 - .../lib/rewrite-live-references.js.map | 1 - .../lib/rewrite-this.js | 22 - .../lib/rewrite-this.js.map | 1 - .../helper-module-transforms/package.json | 32 - .../@babel/helper-plugin-utils/LICENSE | 22 - .../@babel/helper-plugin-utils/README.md | 19 - .../@babel/helper-plugin-utils/lib/index.js | 74 - .../helper-plugin-utils/lib/index.js.map | 1 - .../@babel/helper-plugin-utils/package.json | 24 - .../@babel/helper-string-parser/LICENSE | 22 - .../@babel/helper-string-parser/README.md | 19 - .../@babel/helper-string-parser/lib/index.js | 295 - .../helper-string-parser/lib/index.js.map | 1 - .../@babel/helper-string-parser/package.json | 31 - .../helper-validator-identifier/LICENSE | 22 - .../helper-validator-identifier/README.md | 19 - .../lib/identifier.js | 70 - .../lib/identifier.js.map | 1 - .../helper-validator-identifier/lib/index.js | 57 - .../lib/index.js.map | 1 - .../lib/keyword.js | 35 - .../lib/keyword.js.map | 1 - .../helper-validator-identifier/package.json | 31 - .../@babel/helper-validator-option/LICENSE | 22 - .../@babel/helper-validator-option/README.md | 19 - .../lib/find-suggestion.js | 39 - .../lib/find-suggestion.js.map | 1 - .../helper-validator-option/lib/index.js | 21 - .../helper-validator-option/lib/index.js.map | 1 - .../helper-validator-option/lib/validator.js | 48 - .../lib/validator.js.map | 1 - .../helper-validator-option/package.json | 27 - .../node_modules/@babel/helpers/LICENSE | 23 - .../node_modules/@babel/helpers/README.md | 19 - .../@babel/helpers/lib/helpers-generated.js | 1440 -- .../helpers/lib/helpers-generated.js.map | 1 - .../@babel/helpers/lib/helpers/AwaitValue.js | 11 - .../helpers/lib/helpers/AwaitValue.js.map | 1 - .../helpers/lib/helpers/OverloadYield.js | 12 - .../helpers/lib/helpers/OverloadYield.js.map | 1 - .../lib/helpers/applyDecoratedDescriptor.js | 31 - .../helpers/applyDecoratedDescriptor.js.map | 1 - .../@babel/helpers/lib/helpers/applyDecs.js | 459 - .../helpers/lib/helpers/applyDecs.js.map | 1 - .../helpers/lib/helpers/applyDecs2203.js | 363 - .../helpers/lib/helpers/applyDecs2203.js.map | 1 - .../helpers/lib/helpers/applyDecs2203R.js | 376 - .../helpers/lib/helpers/applyDecs2203R.js.map | 1 - .../helpers/lib/helpers/applyDecs2301.js | 421 - .../helpers/lib/helpers/applyDecs2301.js.map | 1 - .../helpers/lib/helpers/applyDecs2305.js | 235 - .../helpers/lib/helpers/applyDecs2305.js.map | 1 - .../helpers/lib/helpers/applyDecs2311.js | 236 - .../helpers/lib/helpers/applyDecs2311.js.map | 1 - .../helpers/lib/helpers/arrayLikeToArray.js | 13 - .../lib/helpers/arrayLikeToArray.js.map | 1 - .../helpers/lib/helpers/arrayWithHoles.js | 11 - .../helpers/lib/helpers/arrayWithHoles.js.map | 1 - .../helpers/lib/helpers/arrayWithoutHoles.js | 12 - .../lib/helpers/arrayWithoutHoles.js.map | 1 - .../helpers/lib/helpers/assertClassBrand.js | 14 - .../lib/helpers/assertClassBrand.js.map | 1 - .../lib/helpers/assertThisInitialized.js | 14 - .../lib/helpers/assertThisInitialized.js.map | 1 - .../lib/helpers/asyncGeneratorDelegate.js | 52 - .../lib/helpers/asyncGeneratorDelegate.js.map | 1 - .../helpers/lib/helpers/asyncIterator.js | 72 - .../helpers/lib/helpers/asyncIterator.js.map | 1 - .../helpers/lib/helpers/asyncToGenerator.js | 38 - .../lib/helpers/asyncToGenerator.js.map | 1 - .../lib/helpers/awaitAsyncGenerator.js | 12 - .../lib/helpers/awaitAsyncGenerator.js.map | 1 - .../@babel/helpers/lib/helpers/callSuper.js | 15 - .../helpers/lib/helpers/callSuper.js.map | 1 - .../@babel/helpers/lib/helpers/checkInRHS.js | 14 - .../helpers/lib/helpers/checkInRHS.js.map | 1 - .../lib/helpers/checkPrivateRedeclaration.js | 13 - .../helpers/checkPrivateRedeclaration.js.map | 1 - .../classApplyDescriptorDestructureSet.js | 25 - .../classApplyDescriptorDestructureSet.js.map | 1 - .../lib/helpers/classApplyDescriptorGet.js | 14 - .../helpers/classApplyDescriptorGet.js.map | 1 - .../lib/helpers/classApplyDescriptorSet.js | 18 - .../helpers/classApplyDescriptorSet.js.map | 1 - .../helpers/lib/helpers/classCallCheck.js | 13 - .../helpers/lib/helpers/classCallCheck.js.map | 1 - .../helpers/classCheckPrivateStaticAccess.js | 12 - .../classCheckPrivateStaticAccess.js.map | 1 - .../classCheckPrivateStaticFieldDescriptor.js | 13 - ...ssCheckPrivateStaticFieldDescriptor.js.map | 1 - .../helpers/classExtractFieldDescriptor.js | 12 - .../classExtractFieldDescriptor.js.map | 1 - .../helpers/lib/helpers/classNameTDZError.js | 11 - .../lib/helpers/classNameTDZError.js.map | 1 - .../classPrivateFieldDestructureSet.js | 14 - .../classPrivateFieldDestructureSet.js.map | 1 - .../lib/helpers/classPrivateFieldGet.js | 14 - .../lib/helpers/classPrivateFieldGet.js.map | 1 - .../lib/helpers/classPrivateFieldGet2.js | 12 - .../lib/helpers/classPrivateFieldGet2.js.map | 1 - .../lib/helpers/classPrivateFieldInitSpec.js | 13 - .../helpers/classPrivateFieldInitSpec.js.map | 1 - .../lib/helpers/classPrivateFieldLooseBase.js | 14 - .../helpers/classPrivateFieldLooseBase.js.map | 1 - .../lib/helpers/classPrivateFieldLooseKey.js | 12 - .../helpers/classPrivateFieldLooseKey.js.map | 1 - .../lib/helpers/classPrivateFieldSet.js | 15 - .../lib/helpers/classPrivateFieldSet.js.map | 1 - .../lib/helpers/classPrivateFieldSet2.js | 13 - .../lib/helpers/classPrivateFieldSet2.js.map | 1 - .../helpers/lib/helpers/classPrivateGetter.js | 12 - .../lib/helpers/classPrivateGetter.js.map | 1 - .../lib/helpers/classPrivateMethodGet.js | 13 - .../lib/helpers/classPrivateMethodGet.js.map | 1 - .../lib/helpers/classPrivateMethodInitSpec.js | 13 - .../helpers/classPrivateMethodInitSpec.js.map | 1 - .../lib/helpers/classPrivateMethodSet.js | 11 - .../lib/helpers/classPrivateMethodSet.js.map | 1 - .../helpers/lib/helpers/classPrivateSetter.js | 13 - .../lib/helpers/classPrivateSetter.js.map | 1 - .../classStaticPrivateFieldDestructureSet.js | 16 - ...assStaticPrivateFieldDestructureSet.js.map | 1 - .../helpers/classStaticPrivateFieldSpecGet.js | 16 - .../classStaticPrivateFieldSpecGet.js.map | 1 - .../helpers/classStaticPrivateFieldSpecSet.js | 17 - .../classStaticPrivateFieldSpecSet.js.map | 1 - .../helpers/classStaticPrivateMethodGet.js | 13 - .../classStaticPrivateMethodGet.js.map | 1 - .../helpers/classStaticPrivateMethodSet.js | 11 - .../classStaticPrivateMethodSet.js.map | 1 - .../@babel/helpers/lib/helpers/construct.js | 20 - .../helpers/lib/helpers/construct.js.map | 1 - .../@babel/helpers/lib/helpers/createClass.js | 26 - .../helpers/lib/helpers/createClass.js.map | 1 - .../lib/helpers/createForOfIteratorHelper.js | 64 - .../helpers/createForOfIteratorHelper.js.map | 1 - .../helpers/createForOfIteratorHelperLoose.js | 29 - .../createForOfIteratorHelperLoose.js.map | 1 - .../@babel/helpers/lib/helpers/createSuper.js | 25 - .../helpers/lib/helpers/createSuper.js.map | 1 - .../@babel/helpers/lib/helpers/decorate.js | 350 - .../helpers/lib/helpers/decorate.js.map | 1 - .../@babel/helpers/lib/helpers/defaults.js | 18 - .../helpers/lib/helpers/defaults.js.map | 1 - .../helpers/lib/helpers/defineAccessor.js | 16 - .../helpers/lib/helpers/defineAccessor.js.map | 1 - .../lib/helpers/defineEnumerableProperties.js | 27 - .../helpers/defineEnumerableProperties.js.map | 1 - .../helpers/lib/helpers/defineProperty.js | 23 - .../helpers/lib/helpers/defineProperty.js.map | 1 - .../@babel/helpers/lib/helpers/dispose.js | 47 - .../@babel/helpers/lib/helpers/dispose.js.map | 1 - .../@babel/helpers/lib/helpers/extends.js | 22 - .../@babel/helpers/lib/helpers/extends.js.map | 1 - .../@babel/helpers/lib/helpers/get.js | 25 - .../@babel/helpers/lib/helpers/get.js.map | 1 - .../helpers/lib/helpers/getPrototypeOf.js | 14 - .../helpers/lib/helpers/getPrototypeOf.js.map | 1 - .../@babel/helpers/lib/helpers/identity.js | 11 - .../helpers/lib/helpers/identity.js.map | 1 - .../helpers/lib/helpers/importDeferProxy.js | 35 - .../lib/helpers/importDeferProxy.js.map | 1 - .../@babel/helpers/lib/helpers/inherits.js | 25 - .../helpers/lib/helpers/inherits.js.map | 1 - .../helpers/lib/helpers/inheritsLoose.js | 14 - .../helpers/lib/helpers/inheritsLoose.js.map | 1 - .../lib/helpers/initializerDefineProperty.js | 17 - .../helpers/initializerDefineProperty.js.map | 1 - .../lib/helpers/initializerWarningHelper.js | 11 - .../helpers/initializerWarningHelper.js.map | 1 - .../@babel/helpers/lib/helpers/instanceof.js | 15 - .../helpers/lib/helpers/instanceof.js.map | 1 - .../lib/helpers/interopRequireDefault.js | 13 - .../lib/helpers/interopRequireDefault.js.map | 1 - .../lib/helpers/interopRequireWildcard.js | 44 - .../lib/helpers/interopRequireWildcard.js.map | 1 - .../helpers/lib/helpers/isNativeFunction.js | 15 - .../lib/helpers/isNativeFunction.js.map | 1 - .../lib/helpers/isNativeReflectConstruct.js | 16 - .../helpers/isNativeReflectConstruct.js.map | 1 - .../helpers/lib/helpers/iterableToArray.js | 13 - .../lib/helpers/iterableToArray.js.map | 1 - .../lib/helpers/iterableToArrayLimit.js | 41 - .../lib/helpers/iterableToArrayLimit.js.map | 1 - .../@babel/helpers/lib/helpers/jsx.js | 47 - .../@babel/helpers/lib/helpers/jsx.js.map | 1 - .../helpers/lib/helpers/maybeArrayLike.js | 16 - .../helpers/lib/helpers/maybeArrayLike.js.map | 1 - .../helpers/lib/helpers/newArrowCheck.js | 13 - .../helpers/lib/helpers/newArrowCheck.js.map | 1 - .../helpers/lib/helpers/nonIterableRest.js | 11 - .../lib/helpers/nonIterableRest.js.map | 1 - .../helpers/lib/helpers/nonIterableSpread.js | 11 - .../lib/helpers/nonIterableSpread.js.map | 1 - .../lib/helpers/nullishReceiverError.js | 11 - .../lib/helpers/nullishReceiverError.js.map | 1 - .../lib/helpers/objectDestructuringEmpty.js | 11 - .../helpers/objectDestructuringEmpty.js.map | 1 - .../helpers/lib/helpers/objectSpread.js | 24 - .../helpers/lib/helpers/objectSpread.js.map | 1 - .../helpers/lib/helpers/objectSpread2.js | 39 - .../helpers/lib/helpers/objectSpread2.js.map | 1 - .../lib/helpers/objectWithoutProperties.js | 24 - .../helpers/objectWithoutProperties.js.map | 1 - .../helpers/objectWithoutPropertiesLoose.js | 19 - .../objectWithoutPropertiesLoose.js.map | 1 - .../lib/helpers/possibleConstructorReturn.js | 17 - .../helpers/possibleConstructorReturn.js.map | 1 - .../helpers/lib/helpers/readOnlyError.js | 11 - .../helpers/lib/helpers/readOnlyError.js.map | 1 - .../@babel/helpers/lib/helpers/regenerator.js | 188 - .../helpers/lib/helpers/regenerator.js.map | 1 - .../helpers/lib/helpers/regeneratorAsync.js | 15 - .../lib/helpers/regeneratorAsync.js.map | 1 - .../lib/helpers/regeneratorAsyncGen.js | 13 - .../lib/helpers/regeneratorAsyncGen.js.map | 1 - .../lib/helpers/regeneratorAsyncIterator.js | 49 - .../helpers/regeneratorAsyncIterator.js.map | 1 - .../helpers/lib/helpers/regeneratorDefine.js | 40 - .../lib/helpers/regeneratorDefine.js.map | 1 - .../helpers/lib/helpers/regeneratorKeys.js | 28 - .../lib/helpers/regeneratorKeys.js.map | 1 - .../helpers/lib/helpers/regeneratorRuntime.js | 98 - .../lib/helpers/regeneratorRuntime.js.map | 1 - .../helpers/lib/helpers/regeneratorValues.js | 32 - .../lib/helpers/regeneratorValues.js.map | 1 - .../@babel/helpers/lib/helpers/set.js | 48 - .../@babel/helpers/lib/helpers/set.js.map | 1 - .../helpers/lib/helpers/setFunctionName.js | 21 - .../lib/helpers/setFunctionName.js.map | 1 - .../helpers/lib/helpers/setPrototypeOf.js | 15 - .../helpers/lib/helpers/setPrototypeOf.js.map | 1 - .../lib/helpers/skipFirstGeneratorNext.js | 15 - .../lib/helpers/skipFirstGeneratorNext.js.map | 1 - .../helpers/lib/helpers/slicedToArray.js | 15 - .../helpers/lib/helpers/slicedToArray.js.map | 1 - .../helpers/lib/helpers/superPropBase.js | 16 - .../helpers/lib/helpers/superPropBase.js.map | 1 - .../helpers/lib/helpers/superPropGet.js | 16 - .../helpers/lib/helpers/superPropGet.js.map | 1 - .../helpers/lib/helpers/superPropSet.js | 13 - .../helpers/lib/helpers/superPropSet.js.map | 1 - .../lib/helpers/taggedTemplateLiteral.js | 18 - .../lib/helpers/taggedTemplateLiteral.js.map | 1 - .../lib/helpers/taggedTemplateLiteralLoose.js | 15 - .../helpers/taggedTemplateLiteralLoose.js.map | 1 - .../@babel/helpers/lib/helpers/tdz.js | 11 - .../@babel/helpers/lib/helpers/tdz.js.map | 1 - .../@babel/helpers/lib/helpers/temporalRef.js | 13 - .../helpers/lib/helpers/temporalRef.js.map | 1 - .../helpers/lib/helpers/temporalUndefined.js | 9 - .../lib/helpers/temporalUndefined.js.map | 1 - .../@babel/helpers/lib/helpers/toArray.js | 15 - .../@babel/helpers/lib/helpers/toArray.js.map | 1 - .../helpers/lib/helpers/toConsumableArray.js | 15 - .../lib/helpers/toConsumableArray.js.map | 1 - .../@babel/helpers/lib/helpers/toPrimitive.js | 18 - .../helpers/lib/helpers/toPrimitive.js.map | 1 - .../helpers/lib/helpers/toPropertyKey.js | 13 - .../helpers/lib/helpers/toPropertyKey.js.map | 1 - .../@babel/helpers/lib/helpers/toSetter.js | 18 - .../helpers/lib/helpers/toSetter.js.map | 1 - .../tsRewriteRelativeImportExtensions.js | 16 - .../tsRewriteRelativeImportExtensions.js.map | 1 - .../@babel/helpers/lib/helpers/typeof.js | 22 - .../@babel/helpers/lib/helpers/typeof.js.map | 1 - .../lib/helpers/unsupportedIterableToArray.js | 19 - .../helpers/unsupportedIterableToArray.js.map | 1 - .../@babel/helpers/lib/helpers/using.js | 29 - .../@babel/helpers/lib/helpers/using.js.map | 1 - .../@babel/helpers/lib/helpers/usingCtx.js | 103 - .../helpers/lib/helpers/usingCtx.js.map | 1 - .../helpers/lib/helpers/wrapAsyncGenerator.js | 88 - .../lib/helpers/wrapAsyncGenerator.js.map | 1 - .../helpers/lib/helpers/wrapNativeSuper.js | 38 - .../lib/helpers/wrapNativeSuper.js.map | 1 - .../@babel/helpers/lib/helpers/wrapRegExp.js | 72 - .../helpers/lib/helpers/wrapRegExp.js.map | 1 - .../helpers/lib/helpers/writeOnlyError.js | 11 - .../helpers/lib/helpers/writeOnlyError.js.map | 1 - .../node_modules/@babel/helpers/lib/index.js | 122 - .../@babel/helpers/lib/index.js.map | 1 - .../node_modules/@babel/helpers/package.json | 31 - .../node_modules/@babel/parser/CHANGELOG.md | 1073 -- .../node_modules/@babel/parser/LICENSE | 19 - .../node_modules/@babel/parser/README.md | 19 - .../@babel/parser/bin/babel-parser.js | 15 - .../node_modules/@babel/parser/lib/index.js | 14582 --------------- .../@babel/parser/lib/index.js.map | 1 - .../node_modules/@babel/parser/package.json | 50 - .../@babel/parser/typings/babel-parser.d.ts | 262 - .../plugin-syntax-async-generators/LICENSE | 22 - .../plugin-syntax-async-generators/README.md | 19 - .../lib/index.js | 22 - .../package.json | 23 - .../@babel/plugin-syntax-bigint/LICENSE | 22 - .../@babel/plugin-syntax-bigint/README.md | 19 - .../@babel/plugin-syntax-bigint/lib/index.js | 22 - .../@babel/plugin-syntax-bigint/package.json | 23 - .../plugin-syntax-class-properties/LICENSE | 22 - .../plugin-syntax-class-properties/README.md | 19 - .../lib/index.js | 22 - .../package.json | 28 - .../plugin-syntax-class-static-block/LICENSE | 22 - .../README.md | 19 - .../lib/index.js | 22 - .../package.json | 32 - .../plugin-syntax-import-attributes/LICENSE | 22 - .../plugin-syntax-import-attributes/README.md | 19 - .../lib/index.js | 39 - .../lib/index.js.map | 1 - .../package.json | 40 - .../@babel/plugin-syntax-import-meta/LICENSE | 22 - .../plugin-syntax-import-meta/README.md | 19 - .../plugin-syntax-import-meta/lib/index.js | 22 - .../plugin-syntax-import-meta/package.json | 28 - .../@babel/plugin-syntax-json-strings/LICENSE | 22 - .../plugin-syntax-json-strings/README.md | 19 - .../plugin-syntax-json-strings/lib/index.js | 22 - .../plugin-syntax-json-strings/package.json | 23 - .../@babel/plugin-syntax-jsx/LICENSE | 22 - .../@babel/plugin-syntax-jsx/README.md | 19 - .../@babel/plugin-syntax-jsx/lib/index.js | 21 - .../@babel/plugin-syntax-jsx/lib/index.js.map | 1 - .../@babel/plugin-syntax-jsx/package.json | 33 - .../LICENSE | 22 - .../README.md | 19 - .../lib/index.js | 22 - .../package.json | 28 - .../LICENSE | 22 - .../README.md | 19 - .../lib/index.js | 22 - .../package.json | 23 - .../plugin-syntax-numeric-separator/LICENSE | 22 - .../plugin-syntax-numeric-separator/README.md | 19 - .../lib/index.js | 22 - .../package.json | 28 - .../plugin-syntax-object-rest-spread/LICENSE | 22 - .../README.md | 19 - .../lib/index.js | 22 - .../package.json | 23 - .../LICENSE | 22 - .../README.md | 19 - .../lib/index.js | 22 - .../package.json | 23 - .../plugin-syntax-optional-chaining/LICENSE | 22 - .../plugin-syntax-optional-chaining/README.md | 19 - .../lib/index.js | 22 - .../package.json | 23 - .../LICENSE | 22 - .../README.md | 19 - .../lib/index.js | 22 - .../package.json | 32 - .../plugin-syntax-top-level-await/LICENSE | 22 - .../plugin-syntax-top-level-await/README.md | 19 - .../lib/index.js | 22 - .../package.json | 32 - .../@babel/plugin-syntax-typescript/LICENSE | 22 - .../@babel/plugin-syntax-typescript/README.md | 19 - .../plugin-syntax-typescript/lib/index.js | 49 - .../plugin-syntax-typescript/lib/index.js.map | 1 - .../plugin-syntax-typescript/package.json | 35 - .../node_modules/@babel/template/LICENSE | 22 - .../node_modules/@babel/template/README.md | 19 - .../@babel/template/lib/builder.js | 69 - .../@babel/template/lib/builder.js.map | 1 - .../@babel/template/lib/formatters.js | 61 - .../@babel/template/lib/formatters.js.map | 1 - .../node_modules/@babel/template/lib/index.js | 23 - .../@babel/template/lib/index.js.map | 1 - .../@babel/template/lib/literal.js | 69 - .../@babel/template/lib/literal.js.map | 1 - .../@babel/template/lib/options.js | 73 - .../@babel/template/lib/options.js.map | 1 - .../node_modules/@babel/template/lib/parse.js | 163 - .../@babel/template/lib/parse.js.map | 1 - .../@babel/template/lib/populate.js | 138 - .../@babel/template/lib/populate.js.map | 1 - .../@babel/template/lib/string.js | 20 - .../@babel/template/lib/string.js.map | 1 - .../node_modules/@babel/template/package.json | 27 - .../node_modules/@babel/traverse/LICENSE | 22 - .../node_modules/@babel/traverse/README.md | 19 - .../node_modules/@babel/traverse/lib/cache.js | 37 - .../@babel/traverse/lib/cache.js.map | 1 - .../@babel/traverse/lib/context.js | 125 - .../@babel/traverse/lib/context.js.map | 1 - .../node_modules/@babel/traverse/lib/hub.js | 19 - .../@babel/traverse/lib/hub.js.map | 1 - .../node_modules/@babel/traverse/lib/index.js | 87 - .../@babel/traverse/lib/index.js.map | 1 - .../@babel/traverse/lib/path/ancestry.js | 139 - .../@babel/traverse/lib/path/ancestry.js.map | 1 - .../@babel/traverse/lib/path/comments.js | 52 - .../@babel/traverse/lib/path/comments.js.map | 1 - .../@babel/traverse/lib/path/context.js | 254 - .../@babel/traverse/lib/path/context.js.map | 1 - .../@babel/traverse/lib/path/conversion.js | 608 - .../traverse/lib/path/conversion.js.map | 1 - .../@babel/traverse/lib/path/evaluation.js | 373 - .../traverse/lib/path/evaluation.js.map | 1 - .../@babel/traverse/lib/path/family.js | 346 - .../@babel/traverse/lib/path/family.js.map | 1 - .../@babel/traverse/lib/path/index.js | 288 - .../@babel/traverse/lib/path/index.js.map | 1 - .../traverse/lib/path/inference/index.js | 149 - .../traverse/lib/path/inference/index.js.map | 1 - .../lib/path/inference/inferer-reference.js | 151 - .../path/inference/inferer-reference.js.map | 1 - .../traverse/lib/path/inference/inferers.js | 207 - .../lib/path/inference/inferers.js.map | 1 - .../traverse/lib/path/inference/util.js | 28 - .../traverse/lib/path/inference/util.js.map | 1 - .../@babel/traverse/lib/path/introspection.js | 395 - .../traverse/lib/path/introspection.js.map | 1 - .../@babel/traverse/lib/path/lib/hoister.js | 172 - .../traverse/lib/path/lib/hoister.js.map | 1 - .../traverse/lib/path/lib/removal-hooks.js | 38 - .../lib/path/lib/removal-hooks.js.map | 1 - .../lib/path/lib/virtual-types-validator.js | 162 - .../path/lib/virtual-types-validator.js.map | 1 - .../traverse/lib/path/lib/virtual-types.js | 26 - .../lib/path/lib/virtual-types.js.map | 1 - .../@babel/traverse/lib/path/modification.js | 229 - .../traverse/lib/path/modification.js.map | 1 - .../@babel/traverse/lib/path/removal.js | 67 - .../@babel/traverse/lib/path/removal.js.map | 1 - .../@babel/traverse/lib/path/replacement.js | 264 - .../traverse/lib/path/replacement.js.map | 1 - .../@babel/traverse/lib/scope/binding.js | 84 - .../@babel/traverse/lib/scope/binding.js.map | 1 - .../@babel/traverse/lib/scope/index.js | 1018 -- .../@babel/traverse/lib/scope/index.js.map | 1 - .../@babel/traverse/lib/scope/lib/renamer.js | 132 - .../traverse/lib/scope/lib/renamer.js.map | 1 - .../traverse/lib/scope/traverseForScope.js | 66 - .../lib/scope/traverseForScope.js.map | 1 - .../@babel/traverse/lib/traverse-node.js | 137 - .../@babel/traverse/lib/traverse-node.js.map | 1 - .../node_modules/@babel/traverse/lib/types.js | 3 - .../@babel/traverse/lib/types.js.map | 1 - .../@babel/traverse/lib/visitors.js | 252 - .../@babel/traverse/lib/visitors.js.map | 1 - .../node_modules/@babel/traverse/package.json | 35 - .../@babel/traverse/tsconfig.overrides.json | 6 - .../node_modules/@babel/types/LICENSE | 22 - .../node_modules/@babel/types/README.md | 19 - .../@babel/types/lib/asserts/assertNode.js | 16 - .../types/lib/asserts/assertNode.js.map | 1 - .../types/lib/asserts/generated/index.js | 1251 -- .../types/lib/asserts/generated/index.js.map | 1 - .../types/lib/ast-types/generated/index.js | 3 - .../lib/ast-types/generated/index.js.map | 1 - .../lib/builders/flow/createFlowUnionType.js | 18 - .../builders/flow/createFlowUnionType.js.map | 1 - .../flow/createTypeAnnotationBasedOnTypeof.js | 31 - .../createTypeAnnotationBasedOnTypeof.js.map | 1 - .../types/lib/builders/generated/index.js | 29 - .../types/lib/builders/generated/index.js.map | 1 - .../types/lib/builders/generated/lowercase.js | 2902 --- .../lib/builders/generated/lowercase.js.map | 1 - .../types/lib/builders/generated/uppercase.js | 272 - .../lib/builders/generated/uppercase.js.map | 1 - .../@babel/types/lib/builders/productions.js | 12 - .../types/lib/builders/productions.js.map | 1 - .../types/lib/builders/react/buildChildren.js | 24 - .../lib/builders/react/buildChildren.js.map | 1 - .../builders/typescript/createTSUnionType.js | 22 - .../typescript/createTSUnionType.js.map | 1 - .../@babel/types/lib/builders/validateNode.js | 21 - .../types/lib/builders/validateNode.js.map | 1 - .../@babel/types/lib/clone/clone.js | 12 - .../@babel/types/lib/clone/clone.js.map | 1 - .../@babel/types/lib/clone/cloneDeep.js | 12 - .../@babel/types/lib/clone/cloneDeep.js.map | 1 - .../types/lib/clone/cloneDeepWithoutLoc.js | 12 - .../lib/clone/cloneDeepWithoutLoc.js.map | 1 - .../@babel/types/lib/clone/cloneNode.js | 107 - .../@babel/types/lib/clone/cloneNode.js.map | 1 - .../@babel/types/lib/clone/cloneWithoutLoc.js | 12 - .../types/lib/clone/cloneWithoutLoc.js.map | 1 - .../@babel/types/lib/comments/addComment.js | 15 - .../types/lib/comments/addComment.js.map | 1 - .../@babel/types/lib/comments/addComments.js | 22 - .../types/lib/comments/addComments.js.map | 1 - .../lib/comments/inheritInnerComments.js | 12 - .../lib/comments/inheritInnerComments.js.map | 1 - .../lib/comments/inheritLeadingComments.js | 12 - .../comments/inheritLeadingComments.js.map | 1 - .../lib/comments/inheritTrailingComments.js | 12 - .../comments/inheritTrailingComments.js.map | 1 - .../types/lib/comments/inheritsComments.js | 17 - .../lib/comments/inheritsComments.js.map | 1 - .../types/lib/comments/removeComments.js | 15 - .../types/lib/comments/removeComments.js.map | 1 - .../types/lib/constants/generated/index.js | 60 - .../lib/constants/generated/index.js.map | 1 - .../@babel/types/lib/constants/index.js | 31 - .../@babel/types/lib/constants/index.js.map | 1 - .../types/lib/converters/ensureBlock.js | 14 - .../types/lib/converters/ensureBlock.js.map | 1 - .../converters/gatherSequenceExpressions.js | 65 - .../gatherSequenceExpressions.js.map | 1 - .../lib/converters/toBindingIdentifierName.js | 14 - .../converters/toBindingIdentifierName.js.map | 1 - .../@babel/types/lib/converters/toBlock.js | 29 - .../types/lib/converters/toBlock.js.map | 1 - .../types/lib/converters/toComputedKey.js | 14 - .../types/lib/converters/toComputedKey.js.map | 1 - .../types/lib/converters/toExpression.js | 28 - .../types/lib/converters/toExpression.js.map | 1 - .../types/lib/converters/toIdentifier.js | 25 - .../types/lib/converters/toIdentifier.js.map | 1 - .../@babel/types/lib/converters/toKeyAlias.js | 38 - .../types/lib/converters/toKeyAlias.js.map | 1 - .../lib/converters/toSequenceExpression.js | 19 - .../converters/toSequenceExpression.js.map | 1 - .../types/lib/converters/toStatement.js | 39 - .../types/lib/converters/toStatement.js.map | 1 - .../types/lib/converters/valueToNode.js | 89 - .../types/lib/converters/valueToNode.js.map | 1 - .../@babel/types/lib/definitions/core.js | 1725 -- .../@babel/types/lib/definitions/core.js.map | 1 - .../lib/definitions/deprecated-aliases.js | 11 - .../lib/definitions/deprecated-aliases.js.map | 1 - .../types/lib/definitions/experimental.js | 124 - .../types/lib/definitions/experimental.js.map | 1 - .../@babel/types/lib/definitions/flow.js | 495 - .../@babel/types/lib/definitions/flow.js.map | 1 - .../@babel/types/lib/definitions/index.js | 106 - .../@babel/types/lib/definitions/index.js.map | 1 - .../@babel/types/lib/definitions/jsx.js | 157 - .../@babel/types/lib/definitions/jsx.js.map | 1 - .../@babel/types/lib/definitions/misc.js | 31 - .../@babel/types/lib/definitions/misc.js.map | 1 - .../types/lib/definitions/placeholders.js | 27 - .../types/lib/definitions/placeholders.js.map | 1 - .../types/lib/definitions/typescript.js | 528 - .../types/lib/definitions/typescript.js.map | 1 - .../@babel/types/lib/definitions/utils.js | 296 - .../@babel/types/lib/definitions/utils.js.map | 1 - .../@babel/types/lib/index-legacy.d.ts | 2797 --- .../node_modules/@babel/types/lib/index.d.ts | 3617 ---- .../node_modules/@babel/types/lib/index.js | 582 - .../@babel/types/lib/index.js.flow | 2650 --- .../@babel/types/lib/index.js.map | 1 - .../modifications/appendToMemberExpression.js | 15 - .../appendToMemberExpression.js.map | 1 - .../flow/removeTypeDuplicates.js | 65 - .../flow/removeTypeDuplicates.js.map | 1 - .../types/lib/modifications/inherits.js | 28 - .../types/lib/modifications/inherits.js.map | 1 - .../prependToMemberExpression.js | 17 - .../prependToMemberExpression.js.map | 1 - .../lib/modifications/removeProperties.js | 24 - .../lib/modifications/removeProperties.js.map | 1 - .../lib/modifications/removePropertiesDeep.js | 14 - .../modifications/removePropertiesDeep.js.map | 1 - .../typescript/removeTypeDuplicates.js | 66 - .../typescript/removeTypeDuplicates.js.map | 1 - .../retrievers/getAssignmentIdentifiers.js | 48 - .../getAssignmentIdentifiers.js.map | 1 - .../lib/retrievers/getBindingIdentifiers.js | 102 - .../retrievers/getBindingIdentifiers.js.map | 1 - .../types/lib/retrievers/getFunctionName.js | 63 - .../lib/retrievers/getFunctionName.js.map | 1 - .../retrievers/getOuterBindingIdentifiers.js | 13 - .../getOuterBindingIdentifiers.js.map | 1 - .../@babel/types/lib/traverse/traverse.js | 50 - .../@babel/types/lib/traverse/traverse.js.map | 1 - .../@babel/types/lib/traverse/traverseFast.js | 40 - .../types/lib/traverse/traverseFast.js.map | 1 - .../types/lib/utils/deprecationWarning.js | 44 - .../types/lib/utils/deprecationWarning.js.map | 1 - .../@babel/types/lib/utils/inherit.js | 13 - .../@babel/types/lib/utils/inherit.js.map | 1 - .../react/cleanJSXElementLiteralChild.js | 40 - .../react/cleanJSXElementLiteralChild.js.map | 1 - .../@babel/types/lib/utils/shallowEqual.js | 17 - .../types/lib/utils/shallowEqual.js.map | 1 - .../validators/buildMatchMemberExpression.js | 13 - .../buildMatchMemberExpression.js.map | 1 - .../types/lib/validators/generated/index.js | 2797 --- .../lib/validators/generated/index.js.map | 1 - .../@babel/types/lib/validators/is.js | 27 - .../@babel/types/lib/validators/is.js.map | 1 - .../@babel/types/lib/validators/isBinding.js | 27 - .../types/lib/validators/isBinding.js.map | 1 - .../types/lib/validators/isBlockScoped.js | 13 - .../types/lib/validators/isBlockScoped.js.map | 1 - .../types/lib/validators/isImmutable.js | 21 - .../types/lib/validators/isImmutable.js.map | 1 - .../@babel/types/lib/validators/isLet.js | 13 - .../@babel/types/lib/validators/isLet.js.map | 1 - .../@babel/types/lib/validators/isNode.js | 12 - .../@babel/types/lib/validators/isNode.js.map | 1 - .../types/lib/validators/isNodesEquivalent.js | 57 - .../lib/validators/isNodesEquivalent.js.map | 1 - .../types/lib/validators/isPlaceholderType.js | 15 - .../lib/validators/isPlaceholderType.js.map | 1 - .../types/lib/validators/isReferenced.js | 96 - .../types/lib/validators/isReferenced.js.map | 1 - .../@babel/types/lib/validators/isScope.js | 18 - .../types/lib/validators/isScope.js.map | 1 - .../lib/validators/isSpecifierDefault.js | 14 - .../lib/validators/isSpecifierDefault.js.map | 1 - .../@babel/types/lib/validators/isType.js | 17 - .../@babel/types/lib/validators/isType.js.map | 1 - .../lib/validators/isValidES3Identifier.js | 13 - .../validators/isValidES3Identifier.js.map | 1 - .../types/lib/validators/isValidIdentifier.js | 18 - .../lib/validators/isValidIdentifier.js.map | 1 - .../@babel/types/lib/validators/isVar.js | 15 - .../@babel/types/lib/validators/isVar.js.map | 1 - .../types/lib/validators/matchesPattern.js | 44 - .../lib/validators/matchesPattern.js.map | 1 - .../types/lib/validators/react/isCompatTag.js | 11 - .../lib/validators/react/isCompatTag.js.map | 1 - .../lib/validators/react/isReactComponent.js | 11 - .../validators/react/isReactComponent.js.map | 1 - .../@babel/types/lib/validators/validate.js | 42 - .../types/lib/validators/validate.js.map | 1 - .../node_modules/@babel/types/package.json | 39 - .../@bcoe/v8-coverage/.editorconfig | 9 - .../@bcoe/v8-coverage/.gitattributes | 2 - .../@bcoe/v8-coverage/CHANGELOG.md | 250 - .../node_modules/@bcoe/v8-coverage/LICENSE.md | 21 - .../@bcoe/v8-coverage/LICENSE.txt | 14 - .../node_modules/@bcoe/v8-coverage/README.md | 11 - .../@bcoe/v8-coverage/dist/lib/CHANGELOG.md | 250 - .../@bcoe/v8-coverage/dist/lib/LICENSE.md | 21 - .../@bcoe/v8-coverage/dist/lib/README.md | 11 - .../@bcoe/v8-coverage/dist/lib/_src/ascii.ts | 146 - .../@bcoe/v8-coverage/dist/lib/_src/clone.ts | 70 - .../v8-coverage/dist/lib/_src/compare.ts | 40 - .../@bcoe/v8-coverage/dist/lib/_src/index.ts | 6 - .../@bcoe/v8-coverage/dist/lib/_src/merge.ts | 343 - .../v8-coverage/dist/lib/_src/normalize.ts | 84 - .../v8-coverage/dist/lib/_src/range-tree.ts | 156 - .../@bcoe/v8-coverage/dist/lib/_src/types.ts | 26 - .../@bcoe/v8-coverage/dist/lib/ascii.d.ts | 12 - .../@bcoe/v8-coverage/dist/lib/ascii.js | 136 - .../@bcoe/v8-coverage/dist/lib/ascii.mjs | 130 - .../@bcoe/v8-coverage/dist/lib/clone.d.ts | 29 - .../@bcoe/v8-coverage/dist/lib/clone.js | 70 - .../@bcoe/v8-coverage/dist/lib/clone.mjs | 64 - .../@bcoe/v8-coverage/dist/lib/compare.d.ts | 21 - .../@bcoe/v8-coverage/dist/lib/compare.js | 46 - .../@bcoe/v8-coverage/dist/lib/compare.mjs | 41 - .../@bcoe/v8-coverage/dist/lib/index.d.ts | 6 - .../@bcoe/v8-coverage/dist/lib/index.js | 24 - .../@bcoe/v8-coverage/dist/lib/index.mjs | 7 - .../@bcoe/v8-coverage/dist/lib/merge.d.ts | 39 - .../@bcoe/v8-coverage/dist/lib/merge.js | 302 - .../@bcoe/v8-coverage/dist/lib/merge.mjs | 297 - .../@bcoe/v8-coverage/dist/lib/normalize.d.ts | 53 - .../@bcoe/v8-coverage/dist/lib/normalize.js | 87 - .../@bcoe/v8-coverage/dist/lib/normalize.mjs | 79 - .../@bcoe/v8-coverage/dist/lib/package.json | 44 - .../v8-coverage/dist/lib/range-tree.d.ts | 24 - .../@bcoe/v8-coverage/dist/lib/range-tree.js | 139 - .../@bcoe/v8-coverage/dist/lib/range-tree.mjs | 136 - .../@bcoe/v8-coverage/dist/lib/tsconfig.json | 62 - .../@bcoe/v8-coverage/dist/lib/types.d.ts | 22 - .../@bcoe/v8-coverage/dist/lib/types.js | 4 - .../@bcoe/v8-coverage/dist/lib/types.mjs | 3 - .../@bcoe/v8-coverage/gulpfile.ts | 95 - .../@bcoe/v8-coverage/package.json | 48 - .../@bcoe/v8-coverage/src/lib/ascii.ts | 146 - .../@bcoe/v8-coverage/src/lib/clone.ts | 70 - .../@bcoe/v8-coverage/src/lib/compare.ts | 40 - .../@bcoe/v8-coverage/src/lib/index.ts | 6 - .../@bcoe/v8-coverage/src/lib/merge.ts | 343 - .../@bcoe/v8-coverage/src/lib/normalize.ts | 84 - .../@bcoe/v8-coverage/src/lib/range-tree.ts | 156 - .../@bcoe/v8-coverage/src/lib/types.ts | 26 - .../@bcoe/v8-coverage/src/test/merge.spec.ts | 280 - .../@bcoe/v8-coverage/tsconfig.json | 59 - .../@istanbuljs/load-nyc-config/CHANGELOG.md | 41 - .../@istanbuljs/load-nyc-config/LICENSE | 16 - .../@istanbuljs/load-nyc-config/README.md | 64 - .../@istanbuljs/load-nyc-config/index.js | 166 - .../@istanbuljs/load-nyc-config/load-esm.js | 12 - .../@istanbuljs/load-nyc-config/package.json | 49 - .../@istanbuljs/schema/CHANGELOG.md | 44 - .../node_modules/@istanbuljs/schema/LICENSE | 21 - .../node_modules/@istanbuljs/schema/README.md | 30 - .../@istanbuljs/schema/default-exclude.js | 22 - .../@istanbuljs/schema/default-extension.js | 10 - .../node_modules/@istanbuljs/schema/index.js | 466 - .../@istanbuljs/schema/package.json | 30 - .../node_modules/@jest/console/LICENSE | 21 - .../@jest/console/build/BufferedConsole.js | 197 - .../@jest/console/build/CustomConsole.js | 182 - .../@jest/console/build/NullConsole.js | 35 - .../@jest/console/build/getConsoleOutput.js | 70 - .../@jest/console/build/index.d.ts | 131 - .../node_modules/@jest/console/build/index.js | 36 - .../node_modules/@jest/console/build/types.js | 1 - .../node_modules/@jest/console/package.json | 37 - .../node_modules/@jest/core/LICENSE | 21 - .../node_modules/@jest/core/README.md | 3 - .../@jest/core/build/FailedTestsCache.js | 46 - .../core/build/FailedTestsInteractiveMode.js | 195 - .../@jest/core/build/ReporterDispatcher.js | 87 - .../@jest/core/build/SearchSource.js | 408 - .../core/build/SnapshotInteractiveMode.js | 238 - .../@jest/core/build/TestNamePatternPrompt.js | 39 - .../@jest/core/build/TestPathPatternPrompt.js | 39 - .../@jest/core/build/TestScheduler.js | 463 - .../@jest/core/build/cli/index.js | 417 - .../@jest/core/build/collectHandles.js | 266 - .../core/build/getChangedFilesPromise.js | 65 - .../core/build/getConfigsOfProjectsToRun.js | 40 - .../@jest/core/build/getNoTestFound.js | 80 - .../@jest/core/build/getNoTestFoundFailed.js | 43 - .../build/getNoTestFoundPassWithNoTests.js | 26 - .../getNoTestFoundRelatedToChangedFiles.js | 48 - .../@jest/core/build/getNoTestFoundVerbose.js | 91 - .../core/build/getNoTestsFoundMessage.js | 64 - .../@jest/core/build/getProjectDisplayName.js | 16 - .../build/getProjectNamesMissingWarning.js | 49 - .../core/build/getSelectProjectsMessage.js | 71 - .../node_modules/@jest/core/build/index.d.ts | 118 - .../node_modules/@jest/core/build/index.js | 36 - .../core/build/lib/activeFiltersMessage.js | 52 - .../@jest/core/build/lib/createContext.js | 31 - .../build/lib/handleDeprecationWarnings.js | 65 - .../@jest/core/build/lib/isValidPath.js | 26 - .../@jest/core/build/lib/logDebugMessages.js | 24 - .../core/build/lib/updateGlobalConfig.js | 95 - .../core/build/lib/watchPluginsHelpers.js | 56 - .../build/plugins/FailedTestsInteractive.js | 96 - .../@jest/core/build/plugins/Quit.js | 42 - .../core/build/plugins/TestNamePattern.js | 70 - .../core/build/plugins/TestPathPattern.js | 70 - .../core/build/plugins/UpdateSnapshots.js | 51 - .../plugins/UpdateSnapshotsInteractive.js | 99 - .../@jest/core/build/runGlobalHook.js | 133 - .../node_modules/@jest/core/build/runJest.js | 391 - .../@jest/core/build/testSchedulerHelper.js | 57 - .../node_modules/@jest/core/build/types.js | 1 - .../node_modules/@jest/core/build/version.js | 18 - .../node_modules/@jest/core/build/watch.js | 666 - .../node_modules/@jest/core/package.json | 102 - .../node_modules/@jest/environment/LICENSE | 21 - .../@jest/environment/build/index.d.ts | 418 - .../@jest/environment/build/index.js | 1 - .../@jest/environment/package.json | 32 - .../node_modules/@jest/expect-utils/LICENSE | 21 - .../node_modules/@jest/expect-utils/README.md | 5 - .../expect-utils/build/immutableUtils.js | 66 - .../@jest/expect-utils/build/index.d.ts | 94 - .../@jest/expect-utils/build/index.js | 34 - .../@jest/expect-utils/build/jasmineUtils.js | 218 - .../@jest/expect-utils/build/types.js | 1 - .../@jest/expect-utils/build/utils.js | 462 - .../@jest/expect-utils/package.json | 35 - .../node_modules/@jest/expect/LICENSE | 21 - .../node_modules/@jest/expect/README.md | 5 - .../@jest/expect/build/index.d.ts | 68 - .../node_modules/@jest/expect/build/index.js | 40 - .../node_modules/@jest/expect/build/types.js | 1 - .../node_modules/@jest/expect/package.json | 34 - .../node_modules/@jest/fake-timers/LICENSE | 21 - .../@jest/fake-timers/build/index.d.ts | 110 - .../@jest/fake-timers/build/index.js | 22 - .../fake-timers/build/legacyFakeTimers.js | 545 - .../fake-timers/build/modernFakeTimers.js | 191 - .../@jest/fake-timers/package.json | 38 - .../node_modules/@jest/globals/LICENSE | 21 - .../@jest/globals/build/index.d.ts | 71 - .../node_modules/@jest/globals/build/index.js | 14 - .../node_modules/@jest/globals/package.json | 32 - .../node_modules/@jest/reporters/LICENSE | 21 - .../@jest/reporters/assets/jest_logo.png | Bin 3030 -> 0 bytes .../@jest/reporters/build/BaseReporter.js | 48 - .../@jest/reporters/build/CoverageReporter.js | 561 - .../@jest/reporters/build/CoverageWorker.js | 89 - .../@jest/reporters/build/DefaultReporter.js | 229 - .../reporters/build/GitHubActionsReporter.js | 381 - .../@jest/reporters/build/NotifyReporter.js | 218 - .../@jest/reporters/build/Status.js | 214 - .../@jest/reporters/build/SummaryReporter.js | 239 - .../@jest/reporters/build/VerboseReporter.js | 175 - .../@jest/reporters/build/formatTestPath.js | 84 - .../reporters/build/generateEmptyCoverage.js | 151 - .../@jest/reporters/build/getResultHeader.js | 65 - .../reporters/build/getSnapshotStatus.js | 92 - .../reporters/build/getSnapshotSummary.js | 169 - .../@jest/reporters/build/getSummary.js | 206 - .../@jest/reporters/build/getWatermarks.js | 38 - .../@jest/reporters/build/index.d.ts | 325 - .../@jest/reporters/build/index.js | 88 - .../@jest/reporters/build/printDisplayName.js | 35 - .../@jest/reporters/build/relativePath.js | 72 - .../reporters/build/trimAndFormatPath.js | 118 - .../@jest/reporters/build/types.js | 1 - .../@jest/reporters/build/wrapAnsiString.js | 69 - .../node_modules/@jest/reporters/package.json | 82 - .../node_modules/@jest/schemas/LICENSE | 21 - .../node_modules/@jest/schemas/README.md | 3 - .../@jest/schemas/build/index.d.ts | 63 - .../node_modules/@jest/schemas/build/index.js | 60 - .../node_modules/@jest/schemas/package.json | 29 - .../node_modules/@jest/source-map/LICENSE | 21 - .../@jest/source-map/build/getCallsite.js | 85 - .../@jest/source-map/build/index.d.ts | 16 - .../@jest/source-map/build/index.js | 15 - .../@jest/source-map/build/types.js | 1 - .../@jest/source-map/package.json | 34 - .../node_modules/@jest/test-result/LICENSE | 21 - .../test-result/build/formatTestResults.js | 69 - .../@jest/test-result/build/helpers.js | 175 - .../@jest/test-result/build/index.d.ts | 232 - .../@jest/test-result/build/index.js | 40 - .../@jest/test-result/build/types.js | 1 - .../@jest/test-result/package.json | 36 - .../node_modules/@jest/test-sequencer/LICENSE | 21 - .../@jest/test-sequencer/build/index.d.ts | 91 - .../@jest/test-sequencer/build/index.js | 287 - .../@jest/test-sequencer/package.json | 36 - .../node_modules/@jest/transform/LICENSE | 21 - .../transform/build/ScriptTransformer.js | 1000 -- .../build/enhanceUnexpectedTokenMessage.js | 76 - .../@jest/transform/build/index.d.ts | 240 - .../@jest/transform/build/index.js | 37 - .../build/runtimeErrorsAndWarnings.js | 94 - .../@jest/transform/build/shouldInstrument.js | 177 - .../@jest/transform/build/types.js | 1 - .../node_modules/@jest/transform/package.json | 52 - .../node_modules/@jest/types/LICENSE | 21 - .../node_modules/@jest/types/README.md | 30 - .../node_modules/@jest/types/build/Circus.js | 1 - .../node_modules/@jest/types/build/Config.js | 1 - .../node_modules/@jest/types/build/Global.js | 1 - .../@jest/types/build/TestResult.js | 1 - .../@jest/types/build/Transform.js | 1 - .../node_modules/@jest/types/build/index.d.ts | 1204 -- .../node_modules/@jest/types/build/index.js | 1 - .../node_modules/@jest/types/package.json | 38 - .../@jridgewell/gen-mapping/LICENSE | 19 - .../@jridgewell/gen-mapping/README.md | 227 - .../gen-mapping/dist/gen-mapping.mjs | 292 - .../gen-mapping/dist/gen-mapping.mjs.map | 6 - .../gen-mapping/dist/gen-mapping.umd.js | 358 - .../gen-mapping/dist/gen-mapping.umd.js.map | 6 - .../gen-mapping/dist/types/gen-mapping.d.ts | 88 - .../gen-mapping/dist/types/set-array.d.ts | 32 - .../dist/types/sourcemap-segment.d.ts | 12 - .../gen-mapping/dist/types/types.d.ts | 43 - .../@jridgewell/gen-mapping/package.json | 67 - .../gen-mapping/src/gen-mapping.ts | 614 - .../@jridgewell/gen-mapping/src/set-array.ts | 82 - .../gen-mapping/src/sourcemap-segment.ts | 16 - .../@jridgewell/gen-mapping/src/types.ts | 61 - .../gen-mapping/types/gen-mapping.d.cts | 89 - .../gen-mapping/types/gen-mapping.d.cts.map | 1 - .../gen-mapping/types/gen-mapping.d.mts | 89 - .../gen-mapping/types/gen-mapping.d.mts.map | 1 - .../gen-mapping/types/set-array.d.cts | 33 - .../gen-mapping/types/set-array.d.cts.map | 1 - .../gen-mapping/types/set-array.d.mts | 33 - .../gen-mapping/types/set-array.d.mts.map | 1 - .../gen-mapping/types/sourcemap-segment.d.cts | 13 - .../types/sourcemap-segment.d.cts.map | 1 - .../gen-mapping/types/sourcemap-segment.d.mts | 13 - .../types/sourcemap-segment.d.mts.map | 1 - .../@jridgewell/gen-mapping/types/types.d.cts | 44 - .../gen-mapping/types/types.d.cts.map | 1 - .../@jridgewell/gen-mapping/types/types.d.mts | 44 - .../gen-mapping/types/types.d.mts.map | 1 - .../@jridgewell/remapping/LICENSE | 19 - .../@jridgewell/remapping/README.md | 218 - .../@jridgewell/remapping/dist/remapping.mjs | 144 - .../remapping/dist/remapping.mjs.map | 6 - .../remapping/dist/remapping.umd.js | 212 - .../remapping/dist/remapping.umd.js.map | 6 - .../@jridgewell/remapping/package.json | 71 - .../remapping/src/build-source-map-tree.ts | 89 - .../@jridgewell/remapping/src/remapping.ts | 42 - .../remapping/src/source-map-tree.ts | 172 - .../@jridgewell/remapping/src/source-map.ts | 38 - .../@jridgewell/remapping/src/types.ts | 27 - .../types/build-source-map-tree.d.cts | 15 - .../types/build-source-map-tree.d.cts.map | 1 - .../types/build-source-map-tree.d.mts | 15 - .../types/build-source-map-tree.d.mts.map | 1 - .../remapping/types/remapping.d.cts | 21 - .../remapping/types/remapping.d.cts.map | 1 - .../remapping/types/remapping.d.mts | 21 - .../remapping/types/remapping.d.mts.map | 1 - .../remapping/types/source-map-tree.d.cts | 46 - .../remapping/types/source-map-tree.d.cts.map | 1 - .../remapping/types/source-map-tree.d.mts | 46 - .../remapping/types/source-map-tree.d.mts.map | 1 - .../remapping/types/source-map.d.cts | 19 - .../remapping/types/source-map.d.cts.map | 1 - .../remapping/types/source-map.d.mts | 19 - .../remapping/types/source-map.d.mts.map | 1 - .../@jridgewell/remapping/types/types.d.cts | 16 - .../remapping/types/types.d.cts.map | 1 - .../@jridgewell/remapping/types/types.d.mts | 16 - .../remapping/types/types.d.mts.map | 1 - .../@jridgewell/resolve-uri/LICENSE | 19 - .../@jridgewell/resolve-uri/README.md | 40 - .../resolve-uri/dist/resolve-uri.mjs | 232 - .../resolve-uri/dist/resolve-uri.mjs.map | 1 - .../resolve-uri/dist/resolve-uri.umd.js | 240 - .../resolve-uri/dist/resolve-uri.umd.js.map | 1 - .../resolve-uri/dist/types/resolve-uri.d.ts | 4 - .../@jridgewell/resolve-uri/package.json | 69 - .../@jridgewell/sourcemap-codec/LICENSE | 19 - .../@jridgewell/sourcemap-codec/README.md | 264 - .../sourcemap-codec/dist/sourcemap-codec.mjs | 423 - .../dist/sourcemap-codec.mjs.map | 6 - .../dist/sourcemap-codec.umd.js | 464 - .../dist/sourcemap-codec.umd.js.map | 6 - .../@jridgewell/sourcemap-codec/package.json | 63 - .../@jridgewell/sourcemap-codec/src/scopes.ts | 345 - .../sourcemap-codec/src/sourcemap-codec.ts | 111 - .../sourcemap-codec/src/strings.ts | 65 - .../@jridgewell/sourcemap-codec/src/vlq.ts | 55 - .../sourcemap-codec/types/scopes.d.cts | 50 - .../sourcemap-codec/types/scopes.d.cts.map | 1 - .../sourcemap-codec/types/scopes.d.mts | 50 - .../sourcemap-codec/types/scopes.d.mts.map | 1 - .../types/sourcemap-codec.d.cts | 9 - .../types/sourcemap-codec.d.cts.map | 1 - .../types/sourcemap-codec.d.mts | 9 - .../types/sourcemap-codec.d.mts.map | 1 - .../sourcemap-codec/types/strings.d.cts | 16 - .../sourcemap-codec/types/strings.d.cts.map | 1 - .../sourcemap-codec/types/strings.d.mts | 16 - .../sourcemap-codec/types/strings.d.mts.map | 1 - .../sourcemap-codec/types/vlq.d.cts | 7 - .../sourcemap-codec/types/vlq.d.cts.map | 1 - .../sourcemap-codec/types/vlq.d.mts | 7 - .../sourcemap-codec/types/vlq.d.mts.map | 1 - .../@jridgewell/trace-mapping/LICENSE | 19 - .../@jridgewell/trace-mapping/README.md | 348 - .../trace-mapping/dist/trace-mapping.mjs | 493 - .../trace-mapping/dist/trace-mapping.mjs.map | 6 - .../trace-mapping/dist/trace-mapping.umd.js | 559 - .../dist/trace-mapping.umd.js.map | 6 - .../@jridgewell/trace-mapping/package.json | 67 - .../trace-mapping/src/binary-search.ts | 115 - .../trace-mapping/src/by-source.ts | 41 - .../trace-mapping/src/flatten-map.ts | 192 - .../@jridgewell/trace-mapping/src/resolve.ts | 16 - .../@jridgewell/trace-mapping/src/sort.ts | 45 - .../trace-mapping/src/sourcemap-segment.ts | 23 - .../trace-mapping/src/strip-filename.ts | 8 - .../trace-mapping/src/trace-mapping.ts | 502 - .../@jridgewell/trace-mapping/src/types.ts | 114 - .../trace-mapping/types/binary-search.d.cts | 33 - .../types/binary-search.d.cts.map | 1 - .../trace-mapping/types/binary-search.d.mts | 33 - .../types/binary-search.d.mts.map | 1 - .../trace-mapping/types/by-source.d.cts | 4 - .../trace-mapping/types/by-source.d.cts.map | 1 - .../trace-mapping/types/by-source.d.mts | 4 - .../trace-mapping/types/by-source.d.mts.map | 1 - .../trace-mapping/types/flatten-map.d.cts | 9 - .../trace-mapping/types/flatten-map.d.cts.map | 1 - .../trace-mapping/types/flatten-map.d.mts | 9 - .../trace-mapping/types/flatten-map.d.mts.map | 1 - .../trace-mapping/types/resolve.d.cts | 4 - .../trace-mapping/types/resolve.d.cts.map | 1 - .../trace-mapping/types/resolve.d.mts | 4 - .../trace-mapping/types/resolve.d.mts.map | 1 - .../trace-mapping/types/sort.d.cts | 4 - .../trace-mapping/types/sort.d.cts.map | 1 - .../trace-mapping/types/sort.d.mts | 4 - .../trace-mapping/types/sort.d.mts.map | 1 - .../types/sourcemap-segment.d.cts | 17 - .../types/sourcemap-segment.d.cts.map | 1 - .../types/sourcemap-segment.d.mts | 17 - .../types/sourcemap-segment.d.mts.map | 1 - .../trace-mapping/types/strip-filename.d.cts | 5 - .../types/strip-filename.d.cts.map | 1 - .../trace-mapping/types/strip-filename.d.mts | 5 - .../types/strip-filename.d.mts.map | 1 - .../trace-mapping/types/trace-mapping.d.cts | 80 - .../types/trace-mapping.d.cts.map | 1 - .../trace-mapping/types/trace-mapping.d.mts | 80 - .../types/trace-mapping.d.mts.map | 1 - .../trace-mapping/types/types.d.cts | 107 - .../trace-mapping/types/types.d.cts.map | 1 - .../trace-mapping/types/types.d.mts | 107 - .../trace-mapping/types/types.d.mts.map | 1 - .../@sinclair/typebox/compiler/compiler.d.ts | 35 - .../@sinclair/typebox/compiler/compiler.js | 577 - .../@sinclair/typebox/compiler/index.d.ts | 2 - .../@sinclair/typebox/compiler/index.js | 47 - .../@sinclair/typebox/errors/errors.d.ts | 88 - .../@sinclair/typebox/errors/errors.js | 609 - .../@sinclair/typebox/errors/index.d.ts | 1 - .../@sinclair/typebox/errors/index.js | 44 - .../node_modules/@sinclair/typebox/license | 23 - .../@sinclair/typebox/package.json | 49 - .../node_modules/@sinclair/typebox/readme.md | 1424 -- .../@sinclair/typebox/system/index.d.ts | 1 - .../@sinclair/typebox/system/index.js | 44 - .../@sinclair/typebox/system/system.d.ts | 26 - .../@sinclair/typebox/system/system.js | 90 - .../@sinclair/typebox/typebox.d.ts | 717 - .../node_modules/@sinclair/typebox/typebox.js | 2220 --- .../@sinclair/typebox/value/cast.d.ts | 30 - .../@sinclair/typebox/value/cast.js | 372 - .../@sinclair/typebox/value/check.d.ts | 12 - .../@sinclair/typebox/value/check.js | 484 - .../@sinclair/typebox/value/clone.d.ts | 3 - .../@sinclair/typebox/value/clone.js | 71 - .../@sinclair/typebox/value/convert.d.ts | 13 - .../@sinclair/typebox/value/convert.js | 372 - .../@sinclair/typebox/value/create.d.ts | 26 - .../@sinclair/typebox/value/create.js | 480 - .../@sinclair/typebox/value/delta.d.ts | 43 - .../@sinclair/typebox/value/delta.js | 204 - .../@sinclair/typebox/value/equal.d.ts | 3 - .../@sinclair/typebox/value/equal.js | 80 - .../@sinclair/typebox/value/hash.d.ts | 8 - .../@sinclair/typebox/value/hash.js | 208 - .../@sinclair/typebox/value/index.d.ts | 6 - .../@sinclair/typebox/value/index.js | 56 - .../@sinclair/typebox/value/is.d.ts | 11 - .../@sinclair/typebox/value/is.js | 53 - .../@sinclair/typebox/value/mutate.d.ts | 13 - .../@sinclair/typebox/value/mutate.js | 121 - .../@sinclair/typebox/value/pointer.d.ts | 24 - .../@sinclair/typebox/value/pointer.js | 142 - .../@sinclair/typebox/value/value.d.ts | 39 - .../@sinclair/typebox/value/value.js | 99 - .../node_modules/@sinonjs/commons/LICENSE | 29 - .../node_modules/@sinonjs/commons/README.md | 16 - .../@sinonjs/commons/lib/called-in-order.js | 55 - .../commons/lib/called-in-order.test.js | 121 - .../@sinonjs/commons/lib/class-name.js | 13 - .../@sinonjs/commons/lib/class-name.test.js | 37 - .../@sinonjs/commons/lib/deprecated.js | 48 - .../@sinonjs/commons/lib/deprecated.test.js | 101 - .../@sinonjs/commons/lib/every.js | 26 - .../@sinonjs/commons/lib/every.test.js | 41 - .../@sinonjs/commons/lib/function-name.js | 28 - .../commons/lib/function-name.test.js | 76 - .../@sinonjs/commons/lib/global.js | 21 - .../@sinonjs/commons/lib/global.test.js | 16 - .../@sinonjs/commons/lib/index.js | 14 - .../@sinonjs/commons/lib/index.test.js | 31 - .../commons/lib/order-by-first-call.js | 34 - .../commons/lib/order-by-first-call.test.js | 52 - .../@sinonjs/commons/lib/prototypes/README.md | 43 - .../@sinonjs/commons/lib/prototypes/array.js | 5 - .../lib/prototypes/copy-prototype-methods.js | 40 - .../prototypes/copy-prototype-methods.test.js | 12 - .../commons/lib/prototypes/function.js | 5 - .../@sinonjs/commons/lib/prototypes/index.js | 10 - .../commons/lib/prototypes/index.test.js | 61 - .../@sinonjs/commons/lib/prototypes/map.js | 5 - .../@sinonjs/commons/lib/prototypes/object.js | 5 - .../@sinonjs/commons/lib/prototypes/set.js | 5 - .../@sinonjs/commons/lib/prototypes/string.js | 5 - .../commons/lib/prototypes/throws-on-proto.js | 24 - .../@sinonjs/commons/lib/type-of.js | 12 - .../@sinonjs/commons/lib/type-of.test.js | 51 - .../@sinonjs/commons/lib/value-to-string.js | 16 - .../commons/lib/value-to-string.test.js | 20 - .../@sinonjs/commons/package.json | 57 - .../commons/types/called-in-order.d.ts | 34 - .../@sinonjs/commons/types/class-name.d.ts | 7 - .../@sinonjs/commons/types/deprecated.d.ts | 3 - .../@sinonjs/commons/types/every.d.ts | 2 - .../@sinonjs/commons/types/function-name.d.ts | 2 - .../@sinonjs/commons/types/global.d.ts | 6 - .../@sinonjs/commons/types/index.d.ts | 17 - .../commons/types/order-by-first-call.d.ts | 24 - .../commons/types/prototypes/array.d.ts | 2 - .../prototypes/copy-prototype-methods.d.ts | 2 - .../commons/types/prototypes/function.d.ts | 2 - .../commons/types/prototypes/index.d.ts | 7 - .../commons/types/prototypes/map.d.ts | 2 - .../commons/types/prototypes/object.d.ts | 2 - .../commons/types/prototypes/set.d.ts | 2 - .../commons/types/prototypes/string.d.ts | 2 - .../types/prototypes/throws-on-proto.d.ts | 10 - .../@sinonjs/commons/types/type-of.d.ts | 2 - .../commons/types/value-to-string.d.ts | 7 - .../node_modules/@sinonjs/fake-timers/LICENSE | 11 - .../@sinonjs/fake-timers/README.md | 358 - .../@sinonjs/fake-timers/package.json | 65 - .../fake-timers/src/fake-timers-src.js | 1787 -- .../@smithy/abort-controller/LICENSE | 201 - .../@smithy/abort-controller/README.md | 4 - .../abort-controller/dist-cjs/index.js | 32 - .../dist-es/AbortController.js | 7 - .../abort-controller/dist-es/AbortSignal.js | 20 - .../@smithy/abort-controller/dist-es/index.js | 2 - .../dist-types/AbortController.d.ts | 16 - .../dist-types/AbortSignal.d.ts | 21 - .../abort-controller/dist-types/index.d.ts | 9 - .../dist-types/ts3.4/AbortController.d.ts | 16 - .../dist-types/ts3.4/AbortSignal.d.ts | 21 - .../dist-types/ts3.4/index.d.ts | 9 - .../@smithy/abort-controller/package.json | 63 - .../@smithy/config-resolver/LICENSE | 201 - .../@smithy/config-resolver/README.md | 10 - .../@smithy/config-resolver/dist-cjs/index.js | 198 - .../NodeUseDualstackEndpointConfigOptions.js | 14 - .../NodeUseFipsEndpointConfigOptions.js | 14 - .../dist-es/endpointsConfig/index.js | 4 - .../resolveCustomEndpointsConfig.js | 10 - .../endpointsConfig/resolveEndpointsConfig.js | 14 - .../utils/getEndpointFromRegion.js | 15 - .../@smithy/config-resolver/dist-es/index.js | 3 - .../dist-es/regionConfig/checkRegion.js | 15 - .../dist-es/regionConfig/config.js | 12 - .../dist-es/regionConfig/getRealRegion.js | 6 - .../dist-es/regionConfig/index.js | 2 - .../dist-es/regionConfig/isFipsRegion.js | 1 - .../regionConfig/resolveRegionConfig.js | 24 - .../dist-es/regionInfo/EndpointVariant.js | 1 - .../dist-es/regionInfo/EndpointVariantTag.js | 1 - .../dist-es/regionInfo/PartitionHash.js | 1 - .../dist-es/regionInfo/RegionHash.js | 1 - .../regionInfo/getHostnameFromVariants.js | 1 - .../dist-es/regionInfo/getRegionInfo.js | 29 - .../dist-es/regionInfo/getResolvedHostname.js | 5 - .../regionInfo/getResolvedPartition.js | 1 - .../regionInfo/getResolvedSigningRegion.js | 12 - .../dist-es/regionInfo/index.js | 3 - ...NodeUseDualstackEndpointConfigOptions.d.ts | 23 - .../NodeUseFipsEndpointConfigOptions.d.ts | 23 - .../dist-types/endpointsConfig/index.d.ts | 16 - .../resolveCustomEndpointsConfig.d.ts | 37 - .../resolveEndpointsConfig.d.ts | 57 - .../utils/getEndpointFromRegion.d.ts | 11 - .../config-resolver/dist-types/index.d.ts | 12 - .../dist-types/regionConfig/checkRegion.d.ts | 9 - .../dist-types/regionConfig/config.d.ts | 17 - .../regionConfig/getRealRegion.d.ts | 4 - .../dist-types/regionConfig/index.d.ts | 8 - .../dist-types/regionConfig/isFipsRegion.d.ts | 4 - .../regionConfig/resolveRegionConfig.d.ts | 34 - .../regionInfo/EndpointVariant.d.ts | 11 - .../regionInfo/EndpointVariantTag.d.ts | 10 - .../dist-types/regionInfo/PartitionHash.d.ts | 15 - .../dist-types/regionInfo/RegionHash.d.ts | 13 - .../regionInfo/getHostnameFromVariants.d.ts | 14 - .../dist-types/regionInfo/getRegionInfo.d.ts | 19 - .../regionInfo/getResolvedHostname.d.ts | 13 - .../regionInfo/getResolvedPartition.d.ts | 13 - .../regionInfo/getResolvedSigningRegion.d.ts | 14 - .../dist-types/regionInfo/index.d.ts | 12 - ...NodeUseDualstackEndpointConfigOptions.d.ts | 23 - .../NodeUseFipsEndpointConfigOptions.d.ts | 23 - .../ts3.4/endpointsConfig/index.d.ts | 16 - .../resolveCustomEndpointsConfig.d.ts | 37 - .../resolveEndpointsConfig.d.ts | 57 - .../utils/getEndpointFromRegion.d.ts | 11 - .../dist-types/ts3.4/index.d.ts | 12 - .../ts3.4/regionConfig/checkRegion.d.ts | 9 - .../dist-types/ts3.4/regionConfig/config.d.ts | 17 - .../ts3.4/regionConfig/getRealRegion.d.ts | 4 - .../dist-types/ts3.4/regionConfig/index.d.ts | 8 - .../ts3.4/regionConfig/isFipsRegion.d.ts | 4 - .../regionConfig/resolveRegionConfig.d.ts | 34 - .../ts3.4/regionInfo/EndpointVariant.d.ts | 11 - .../ts3.4/regionInfo/EndpointVariantTag.d.ts | 10 - .../ts3.4/regionInfo/PartitionHash.d.ts | 15 - .../ts3.4/regionInfo/RegionHash.d.ts | 13 - .../regionInfo/getHostnameFromVariants.d.ts | 14 - .../ts3.4/regionInfo/getRegionInfo.d.ts | 19 - .../ts3.4/regionInfo/getResolvedHostname.d.ts | 13 - .../regionInfo/getResolvedPartition.d.ts | 13 - .../regionInfo/getResolvedSigningRegion.d.ts | 14 - .../dist-types/ts3.4/regionInfo/index.d.ts | 12 - .../@smithy/config-resolver/package.json | 66 - .../node_modules/@smithy/hash-node/LICENSE | 201 - .../node_modules/@smithy/hash-node/README.md | 10 - .../@smithy/hash-node/dist-cjs/index.js | 42 - .../@smithy/hash-node/dist-es/index.js | 37 - .../@smithy/hash-node/dist-types/index.d.ts | 13 - .../hash-node/dist-types/ts3.4/index.d.ts | 13 - .../@smithy/hash-node/package.json | 65 - .../@smithy/invalid-dependency/LICENSE | 201 - .../@smithy/invalid-dependency/README.md | 10 - .../invalid-dependency/dist-cjs/index.js | 10 - .../invalid-dependency/dist-es/index.js | 2 - .../dist-es/invalidFunction.js | 3 - .../dist-es/invalidProvider.js | 1 - .../invalid-dependency/dist-types/index.d.ts | 8 - .../dist-types/invalidFunction.d.ts | 4 - .../dist-types/invalidProvider.d.ts | 5 - .../dist-types/ts3.4/index.d.ts | 8 - .../dist-types/ts3.4/invalidFunction.d.ts | 4 - .../dist-types/ts3.4/invalidProvider.d.ts | 5 - .../@smithy/invalid-dependency/package.json | 61 - .../@smithy/is-array-buffer/LICENSE | 201 - .../@smithy/is-array-buffer/README.md | 10 - .../@smithy/is-array-buffer/dist-cjs/index.js | 6 - .../@smithy/is-array-buffer/dist-es/index.js | 2 - .../is-array-buffer/dist-types/index.d.ts | 4 - .../dist-types/ts3.4/index.d.ts | 4 - .../@smithy/is-array-buffer/package.json | 61 - .../@smithy/middleware-content-length/LICENSE | 201 - .../middleware-content-length/README.md | 4 - .../dist-cjs/index.js | 46 - .../dist-es/index.js | 39 - .../dist-types/index.d.ts | 6 - .../dist-types/ts3.4/index.d.ts | 6 - .../middleware-content-length/package.json | 64 - .../@smithy/middleware-endpoint/LICENSE | 201 - .../@smithy/middleware-endpoint/README.md | 10 - .../adaptors/getEndpointFromConfig.browser.js | 5 - .../adaptors/getEndpointFromConfig.js | 7 - .../dist-cjs/adaptors/getEndpointUrlConfig.js | 35 - .../middleware-endpoint/dist-cjs/index.js | 264 - .../adaptors/createConfigValueProvider.js | 50 - .../adaptors/getEndpointFromConfig.browser.js | 1 - .../dist-es/adaptors/getEndpointFromConfig.js | 3 - .../adaptors/getEndpointFromInstructions.js | 64 - .../dist-es/adaptors/getEndpointUrlConfig.js | 31 - .../dist-es/adaptors/index.js | 2 - .../dist-es/adaptors/toEndpointV1.js | 17 - .../dist-es/endpointMiddleware.js | 36 - .../dist-es/getEndpointPlugin.js | 18 - .../middleware-endpoint/dist-es/index.js | 6 - .../dist-es/resolveEndpointConfig.js | 24 - .../dist-es/resolveEndpointRequiredConfig.js | 9 - .../dist-es/service-customizations/index.js | 1 - .../dist-es/service-customizations/s3.js | 37 - .../middleware-endpoint/dist-es/types.js | 1 - .../adaptors/createConfigValueProvider.d.ts | 14 - .../getEndpointFromConfig.browser.d.ts | 1 - .../adaptors/getEndpointFromConfig.d.ts | 4 - .../adaptors/getEndpointFromInstructions.d.ts | 28 - .../adaptors/getEndpointUrlConfig.d.ts | 2 - .../dist-types/adaptors/index.d.ts | 8 - .../dist-types/adaptors/toEndpointV1.d.ts | 6 - .../dist-types/endpointMiddleware.d.ts | 10 - .../dist-types/getEndpointPlugin.d.ts | 11 - .../middleware-endpoint/dist-types/index.d.ts | 18 - .../dist-types/resolveEndpointConfig.d.ts | 109 - .../resolveEndpointRequiredConfig.d.ts | 32 - .../service-customizations/index.d.ts | 4 - .../dist-types/service-customizations/s3.d.ts | 26 - .../adaptors/createConfigValueProvider.d.ts | 14 - .../getEndpointFromConfig.browser.d.ts | 1 - .../ts3.4/adaptors/getEndpointFromConfig.d.ts | 4 - .../adaptors/getEndpointFromInstructions.d.ts | 28 - .../ts3.4/adaptors/getEndpointUrlConfig.d.ts | 2 - .../dist-types/ts3.4/adaptors/index.d.ts | 8 - .../ts3.4/adaptors/toEndpointV1.d.ts | 6 - .../dist-types/ts3.4/endpointMiddleware.d.ts | 10 - .../dist-types/ts3.4/getEndpointPlugin.d.ts | 11 - .../dist-types/ts3.4/index.d.ts | 18 - .../ts3.4/resolveEndpointConfig.d.ts | 109 - .../ts3.4/resolveEndpointRequiredConfig.d.ts | 32 - .../ts3.4/service-customizations/index.d.ts | 4 - .../ts3.4/service-customizations/s3.d.ts | 26 - .../dist-types/ts3.4/types.d.ts | 41 - .../middleware-endpoint/dist-types/types.d.ts | 41 - .../@smithy/middleware-endpoint/package.json | 75 - .../@smithy/middleware-retry/LICENSE | 201 - .../@smithy/middleware-retry/README.md | 11 - .../middleware-retry/dist-cjs/index.js | 355 - .../isStreamingPayload.browser.js | 5 - .../isStreamingPayload/isStreamingPayload.js | 7 - .../dist-es/AdaptiveRetryStrategy.js | 21 - .../dist-es/StandardRetryStrategy.js | 94 - .../dist-es/configurations.js | 48 - .../dist-es/defaultRetryQuota.js | 27 - .../middleware-retry/dist-es/delayDecider.js | 2 - .../@smithy/middleware-retry/dist-es/index.js | 7 - .../isStreamingPayload.browser.js | 1 - .../isStreamingPayload/isStreamingPayload.js | 3 - .../dist-es/omitRetryHeadersMiddleware.js | 22 - .../middleware-retry/dist-es/retryDecider.js | 7 - .../dist-es/retryMiddleware.js | 112 - .../@smithy/middleware-retry/dist-es/types.js | 1 - .../@smithy/middleware-retry/dist-es/util.js | 9 - .../dist-types/AdaptiveRetryStrategy.d.ts | 23 - .../dist-types/StandardRetryStrategy.d.ts | 33 - .../dist-types/configurations.d.ts | 66 - .../dist-types/defaultRetryQuota.d.ts | 24 - .../dist-types/delayDecider.d.ts | 5 - .../middleware-retry/dist-types/index.d.ts | 7 - .../isStreamingPayload.browser.d.ts | 5 - .../isStreamingPayload.d.ts | 5 - .../omitRetryHeadersMiddleware.d.ts | 13 - .../dist-types/retryDecider.d.ts | 6 - .../dist-types/retryMiddleware.d.ts | 18 - .../ts3.4/AdaptiveRetryStrategy.d.ts | 23 - .../ts3.4/StandardRetryStrategy.d.ts | 33 - .../dist-types/ts3.4/configurations.d.ts | 66 - .../dist-types/ts3.4/defaultRetryQuota.d.ts | 24 - .../dist-types/ts3.4/delayDecider.d.ts | 5 - .../dist-types/ts3.4/index.d.ts | 7 - .../isStreamingPayload.browser.d.ts | 5 - .../isStreamingPayload.d.ts | 5 - .../ts3.4/omitRetryHeadersMiddleware.d.ts | 13 - .../dist-types/ts3.4/retryDecider.d.ts | 6 - .../dist-types/ts3.4/retryMiddleware.d.ts | 18 - .../dist-types/ts3.4/types.d.ts | 65 - .../dist-types/ts3.4/util.d.ts | 2 - .../middleware-retry/dist-types/types.d.ts | 65 - .../middleware-retry/dist-types/util.d.ts | 2 - .../@smithy/middleware-retry/package.json | 79 - .../@smithy/middleware-serde/LICENSE | 201 - .../@smithy/middleware-serde/README.md | 4 - .../middleware-serde/dist-cjs/index.js | 104 - .../dist-es/deserializerMiddleware.js | 58 - .../@smithy/middleware-serde/dist-es/index.js | 3 - .../middleware-serde/dist-es/serdePlugin.js | 22 - .../dist-es/serializerMiddleware.js | 15 - .../dist-types/deserializerMiddleware.d.ts | 6 - .../middleware-serde/dist-types/index.d.ts | 3 - .../dist-types/serdePlugin.d.ts | 24 - .../dist-types/serializerMiddleware.d.ts | 6 - .../ts3.4/deserializerMiddleware.d.ts | 6 - .../dist-types/ts3.4/index.d.ts | 3 - .../dist-types/ts3.4/serdePlugin.d.ts | 24 - .../ts3.4/serializerMiddleware.d.ts | 6 - .../@smithy/middleware-serde/package.json | 66 - .../@smithy/middleware-stack/LICENSE | 201 - .../@smithy/middleware-stack/README.md | 78 - .../middleware-stack/dist-cjs/index.js | 285 - .../dist-es/MiddlewareStack.js | 281 - .../@smithy/middleware-stack/dist-es/index.js | 1 - .../@smithy/middleware-stack/dist-es/types.js | 1 - .../dist-types/MiddlewareStack.d.ts | 5 - .../middleware-stack/dist-types/index.d.ts | 1 - .../dist-types/ts3.4/MiddlewareStack.d.ts | 5 - .../dist-types/ts3.4/index.d.ts | 1 - .../dist-types/ts3.4/types.d.ts | 22 - .../middleware-stack/dist-types/types.d.ts | 22 - .../@smithy/middleware-stack/package.json | 64 - .../@smithy/node-config-provider/LICENSE | 201 - .../@smithy/node-config-provider/README.md | 10 - .../node-config-provider/dist-cjs/index.js | 62 - .../dist-es/configLoader.js | 9 - .../node-config-provider/dist-es/fromEnv.js | 14 - .../dist-es/fromSharedConfigFiles.js | 23 - .../dist-es/fromStatic.js | 3 - .../dist-es/getSelectorName.js | 12 - .../node-config-provider/dist-es/index.js | 1 - .../dist-types/configLoader.d.ts | 31 - .../dist-types/fromEnv.d.ts | 20 - .../dist-types/fromSharedConfigFiles.d.ts | 22 - .../dist-types/fromStatic.d.ts | 9 - .../dist-types/getSelectorName.d.ts | 9 - .../dist-types/index.d.ts | 4 - .../dist-types/ts3.4/configLoader.d.ts | 31 - .../dist-types/ts3.4/fromEnv.d.ts | 20 - .../ts3.4/fromSharedConfigFiles.d.ts | 22 - .../dist-types/ts3.4/fromStatic.d.ts | 9 - .../dist-types/ts3.4/getSelectorName.d.ts | 9 - .../dist-types/ts3.4/index.d.ts | 4 - .../@smithy/node-config-provider/package.json | 66 - .../@smithy/property-provider/LICENSE | 201 - .../@smithy/property-provider/README.md | 10 - .../property-provider/dist-cjs/index.js | 117 - .../dist-es/CredentialsProviderError.js | 8 - .../dist-es/ProviderError.js | 23 - .../dist-es/TokenProviderError.js | 8 - .../property-provider/dist-es/chain.js | 21 - .../property-provider/dist-es/fromStatic.js | 1 - .../property-provider/dist-es/index.js | 6 - .../property-provider/dist-es/memoize.js | 45 - .../dist-types/CredentialsProviderError.d.ts | 31 - .../dist-types/ProviderError.d.ts | 39 - .../dist-types/TokenProviderError.d.ts | 31 - .../property-provider/dist-types/chain.d.ts | 13 - .../dist-types/fromStatic.d.ts | 5 - .../property-provider/dist-types/index.d.ts | 24 - .../property-provider/dist-types/memoize.d.ts | 40 - .../ts3.4/CredentialsProviderError.d.ts | 31 - .../dist-types/ts3.4/ProviderError.d.ts | 39 - .../dist-types/ts3.4/TokenProviderError.d.ts | 31 - .../dist-types/ts3.4/chain.d.ts | 13 - .../dist-types/ts3.4/fromStatic.d.ts | 5 - .../dist-types/ts3.4/index.d.ts | 24 - .../dist-types/ts3.4/memoize.d.ts | 40 - .../@smithy/property-provider/package.json | 61 - .../@smithy/protocol-http/LICENSE | 201 - .../@smithy/protocol-http/README.md | 4 - .../@smithy/protocol-http/dist-cjs/index.js | 169 - .../@smithy/protocol-http/dist-es/Field.js | 26 - .../@smithy/protocol-http/dist-es/Fields.js | 20 - .../extensions/httpExtensionConfiguration.js | 21 - .../protocol-http/dist-es/extensions/index.js | 1 - .../protocol-http/dist-es/httpHandler.js | 1 - .../protocol-http/dist-es/httpRequest.js | 64 - .../protocol-http/dist-es/httpResponse.js | 18 - .../@smithy/protocol-http/dist-es/index.js | 8 - .../protocol-http/dist-es/isValidHostname.js | 4 - .../@smithy/protocol-http/dist-es/types.js | 1 - .../protocol-http/dist-types/Field.d.ts | 50 - .../protocol-http/dist-types/Fields.d.ts | 44 - .../httpExtensionConfiguration.d.ts | 33 - .../dist-types/extensions/index.d.ts | 1 - .../protocol-http/dist-types/httpHandler.d.ts | 35 - .../protocol-http/dist-types/httpRequest.d.ts | 56 - .../dist-types/httpResponse.d.ts | 29 - .../protocol-http/dist-types/index.d.ts | 8 - .../dist-types/isValidHostname.d.ts | 1 - .../protocol-http/dist-types/ts3.4/Field.d.ts | 50 - .../dist-types/ts3.4/Fields.d.ts | 44 - .../httpExtensionConfiguration.d.ts | 33 - .../dist-types/ts3.4/extensions/index.d.ts | 1 - .../dist-types/ts3.4/httpHandler.d.ts | 35 - .../dist-types/ts3.4/httpRequest.d.ts | 56 - .../dist-types/ts3.4/httpResponse.d.ts | 29 - .../protocol-http/dist-types/ts3.4/index.d.ts | 8 - .../dist-types/ts3.4/isValidHostname.d.ts | 1 - .../protocol-http/dist-types/ts3.4/types.d.ts | 21 - .../protocol-http/dist-types/types.d.ts | 21 - .../@smithy/protocol-http/package.json | 62 - .../@smithy/querystring-parser/LICENSE | 201 - .../@smithy/querystring-parser/README.md | 10 - .../querystring-parser/dist-cjs/index.js | 27 - .../querystring-parser/dist-es/index.js | 23 - .../querystring-parser/dist-types/index.d.ts | 5 - .../dist-types/ts3.4/index.d.ts | 5 - .../@smithy/querystring-parser/package.json | 61 - .../service-error-classification/LICENSE | 201 - .../service-error-classification/README.md | 4 - .../dist-cjs/index.js | 77 - .../dist-es/constants.js | 28 - .../dist-es/index.js | 39 - .../dist-types/constants.d.ts | 30 - .../dist-types/index.d.ts | 24 - .../dist-types/ts3.4/constants.d.ts | 30 - .../dist-types/ts3.4/index.d.ts | 24 - .../service-error-classification/package.json | 60 - .../@smithy/shared-ini-file-loader/LICENSE | 201 - .../@smithy/shared-ini-file-loader/README.md | 105 - .../dist-cjs/getHomeDir.js | 26 - .../dist-cjs/getSSOTokenFilepath.js | 12 - .../dist-cjs/getSSOTokenFromFile.js | 15 - .../shared-ini-file-loader/dist-cjs/index.js | 196 - .../dist-cjs/readFile.js | 16 - .../dist-es/constants.js | 1 - .../dist-es/externalDataInterceptor.js | 16 - .../dist-es/getConfigData.js | 18 - .../dist-es/getConfigFilepath.js | 4 - .../dist-es/getCredentialsFilepath.js | 4 - .../dist-es/getHomeDir.js | 22 - .../dist-es/getProfileName.js | 3 - .../dist-es/getSSOTokenFilepath.js | 8 - .../dist-es/getSSOTokenFromFile.js | 11 - .../dist-es/getSsoSessionData.js | 5 - .../shared-ini-file-loader/dist-es/index.js | 10 - .../dist-es/loadSharedConfigFiles.js | 39 - .../dist-es/loadSsoSessionData.js | 9 - .../dist-es/mergeConfigFiles.js | 14 - .../dist-es/parseIni.js | 52 - .../dist-es/parseKnownFiles.js | 6 - .../dist-es/readFile.js | 12 - .../shared-ini-file-loader/dist-es/types.js | 1 - .../dist-types/constants.d.ts | 4 - .../dist-types/externalDataInterceptor.d.ts | 9 - .../dist-types/getConfigData.d.ts | 8 - .../dist-types/getConfigFilepath.d.ts | 2 - .../dist-types/getCredentialsFilepath.d.ts | 2 - .../dist-types/getHomeDir.d.ts | 6 - .../dist-types/getProfileName.d.ts | 15 - .../dist-types/getSSOTokenFilepath.d.ts | 5 - .../dist-types/getSSOTokenFromFile.d.ts | 52 - .../dist-types/getSsoSessionData.d.ts | 6 - .../dist-types/index.d.ts | 10 - .../dist-types/loadSharedConfigFiles.d.ts | 33 - .../dist-types/loadSsoSessionData.d.ts | 17 - .../dist-types/mergeConfigFiles.d.ts | 7 - .../dist-types/parseIni.d.ts | 2 - .../dist-types/parseKnownFiles.d.ts | 18 - .../dist-types/readFile.d.ts | 21 - .../dist-types/ts3.4/constants.d.ts | 4 - .../ts3.4/externalDataInterceptor.d.ts | 9 - .../dist-types/ts3.4/getConfigData.d.ts | 8 - .../dist-types/ts3.4/getConfigFilepath.d.ts | 2 - .../ts3.4/getCredentialsFilepath.d.ts | 2 - .../dist-types/ts3.4/getHomeDir.d.ts | 6 - .../dist-types/ts3.4/getProfileName.d.ts | 15 - .../dist-types/ts3.4/getSSOTokenFilepath.d.ts | 5 - .../dist-types/ts3.4/getSSOTokenFromFile.d.ts | 52 - .../dist-types/ts3.4/getSsoSessionData.d.ts | 6 - .../dist-types/ts3.4/index.d.ts | 10 - .../ts3.4/loadSharedConfigFiles.d.ts | 33 - .../dist-types/ts3.4/loadSsoSessionData.d.ts | 17 - .../dist-types/ts3.4/mergeConfigFiles.d.ts | 7 - .../dist-types/ts3.4/parseIni.d.ts | 2 - .../dist-types/ts3.4/parseKnownFiles.d.ts | 18 - .../dist-types/ts3.4/readFile.d.ts | 21 - .../dist-types/ts3.4/types.d.ts | 16 - .../dist-types/types.d.ts | 16 - .../shared-ini-file-loader/package.json | 73 - .../@smithy/smithy-client/LICENSE | 201 - .../@smithy/smithy-client/README.md | 10 - .../@smithy/smithy-client/dist-cjs/index.js | 635 - .../smithy-client/dist-es/NoOpLogger.js | 7 - .../@smithy/smithy-client/dist-es/client.js | 51 - .../dist-es/collect-stream-body.js | 1 - .../@smithy/smithy-client/dist-es/command.js | 124 - .../smithy-client/dist-es/constants.js | 1 - .../dist-es/create-aggregated-client.js | 47 - .../dist-es/default-error-handler.js | 22 - .../smithy-client/dist-es/defaults-mode.js | 26 - .../emitWarningIfUnsupportedVersion.js | 6 - .../smithy-client/dist-es/exceptions.js | 50 - .../dist-es/extended-encode-uri-component.js | 1 - .../dist-es/extensions/checksum.js | 49 - .../defaultExtensionConfiguration.js | 9 - .../smithy-client/dist-es/extensions/index.js | 1 - .../smithy-client/dist-es/extensions/retry.js | 15 - .../dist-es/get-array-if-single-item.js | 1 - .../dist-es/get-value-from-text-node.js | 12 - .../@smithy/smithy-client/dist-es/index.js | 20 - .../dist-es/is-serializable-header-value.js | 3 - .../smithy-client/dist-es/object-mapping.js | 92 - .../smithy-client/dist-es/resolve-path.js | 1 - .../smithy-client/dist-es/schemaLogFilter.js | 34 - .../smithy-client/dist-es/ser-utils.js | 14 - .../smithy-client/dist-es/serde-json.js | 19 - .../smithy-client/dist-types/NoOpLogger.d.ts | 11 - .../smithy-client/dist-types/client.d.ts | 87 - .../dist-types/collect-stream-body.d.ts | 5 - .../smithy-client/dist-types/command.d.ts | 119 - .../smithy-client/dist-types/constants.d.ts | 4 - .../dist-types/create-aggregated-client.d.ts | 18 - .../dist-types/default-error-handler.d.ts | 15 - .../dist-types/defaults-mode.d.ts | 28 - .../emitWarningIfUnsupportedVersion.d.ts | 8 - .../smithy-client/dist-types/exceptions.d.ts | 42 - .../extended-encode-uri-component.d.ts | 5 - .../dist-types/extensions/checksum.d.ts | 26 - .../defaultExtensionConfiguration.d.ts | 38 - .../dist-types/extensions/index.d.ts | 1 - .../dist-types/extensions/retry.d.ts | 18 - .../dist-types/get-array-if-single-item.d.ts | 7 - .../dist-types/get-value-from-text-node.d.ts | 7 - .../smithy-client/dist-types/index.d.ts | 21 - .../is-serializable-header-value.d.ts | 5 - .../dist-types/object-mapping.d.ts | 162 - .../dist-types/resolve-path.d.ts | 5 - .../dist-types/schemaLogFilter.d.ts | 9 - .../smithy-client/dist-types/ser-utils.d.ts | 15 - .../smithy-client/dist-types/serde-json.d.ts | 12 - .../dist-types/ts3.4/NoOpLogger.d.ts | 11 - .../dist-types/ts3.4/client.d.ts | 87 - .../dist-types/ts3.4/collect-stream-body.d.ts | 5 - .../dist-types/ts3.4/command.d.ts | 119 - .../dist-types/ts3.4/constants.d.ts | 4 - .../ts3.4/create-aggregated-client.d.ts | 18 - .../ts3.4/default-error-handler.d.ts | 15 - .../dist-types/ts3.4/defaults-mode.d.ts | 28 - .../emitWarningIfUnsupportedVersion.d.ts | 8 - .../dist-types/ts3.4/exceptions.d.ts | 42 - .../ts3.4/extended-encode-uri-component.d.ts | 5 - .../dist-types/ts3.4/extensions/checksum.d.ts | 26 - .../defaultExtensionConfiguration.d.ts | 38 - .../dist-types/ts3.4/extensions/index.d.ts | 1 - .../dist-types/ts3.4/extensions/retry.d.ts | 18 - .../ts3.4/get-array-if-single-item.d.ts | 7 - .../ts3.4/get-value-from-text-node.d.ts | 7 - .../smithy-client/dist-types/ts3.4/index.d.ts | 21 - .../ts3.4/is-serializable-header-value.d.ts | 5 - .../dist-types/ts3.4/object-mapping.d.ts | 178 - .../dist-types/ts3.4/resolve-path.d.ts | 5 - .../dist-types/ts3.4/schemaLogFilter.d.ts | 9 - .../dist-types/ts3.4/ser-utils.d.ts | 15 - .../dist-types/ts3.4/serde-json.d.ts | 12 - .../@smithy/smithy-client/package.json | 70 - .../node_modules/@smithy/url-parser/LICENSE | 201 - .../node_modules/@smithy/url-parser/README.md | 10 - .../@smithy/url-parser/dist-cjs/index.js | 23 - .../@smithy/url-parser/dist-es/index.js | 18 - .../@smithy/url-parser/dist-types/index.d.ts | 5 - .../url-parser/dist-types/ts3.4/index.d.ts | 5 - .../@smithy/url-parser/package.json | 62 - .../node_modules/@smithy/util-base64/LICENSE | 201 - .../@smithy/util-base64/README.md | 4 - .../util-base64/dist-cjs/constants.browser.js | 12 - .../dist-cjs/fromBase64.browser.js | 40 - .../util-base64/dist-cjs/fromBase64.js | 16 - .../@smithy/util-base64/dist-cjs/index.js | 27 - .../util-base64/dist-cjs/toBase64.browser.js | 38 - .../@smithy/util-base64/dist-cjs/toBase64.js | 19 - .../util-base64/dist-es/constants.browser.js | 9 - .../util-base64/dist-es/fromBase64.browser.js | 36 - .../@smithy/util-base64/dist-es/fromBase64.js | 12 - .../@smithy/util-base64/dist-es/index.js | 2 - .../util-base64/dist-es/toBase64.browser.js | 35 - .../@smithy/util-base64/dist-es/toBase64.js | 15 - .../dist-types/constants.browser.d.ts | 5 - .../dist-types/fromBase64.browser.d.ts | 8 - .../util-base64/dist-types/fromBase64.d.ts | 7 - .../@smithy/util-base64/dist-types/index.d.ts | 2 - .../dist-types/toBase64.browser.d.ts | 9 - .../util-base64/dist-types/toBase64.d.ts | 8 - .../dist-types/ts3.4/constants.browser.d.ts | 5 - .../dist-types/ts3.4/fromBase64.browser.d.ts | 8 - .../dist-types/ts3.4/fromBase64.d.ts | 7 - .../util-base64/dist-types/ts3.4/index.d.ts | 2 - .../dist-types/ts3.4/toBase64.browser.d.ts | 9 - .../dist-types/ts3.4/toBase64.d.ts | 8 - .../@smithy/util-base64/package.json | 74 - .../@smithy/util-body-length-browser/LICENSE | 201 - .../util-body-length-browser/README.md | 12 - .../dist-cjs/index.js | 30 - .../dist-es/calculateBodyLength.js | 26 - .../util-body-length-browser/dist-es/index.js | 1 - .../dist-types/calculateBodyLength.d.ts | 4 - .../dist-types/index.d.ts | 4 - .../dist-types/ts3.4/calculateBodyLength.d.ts | 4 - .../dist-types/ts3.4/index.d.ts | 4 - .../util-body-length-browser/package.json | 61 - .../@smithy/util-body-length-node/LICENSE | 201 - .../@smithy/util-body-length-node/README.md | 12 - .../util-body-length-node/dist-cjs/index.js | 32 - .../dist-es/calculateBodyLength.js | 27 - .../util-body-length-node/dist-es/index.js | 1 - .../dist-types/calculateBodyLength.d.ts | 4 - .../dist-types/index.d.ts | 4 - .../dist-types/ts3.4/calculateBodyLength.d.ts | 4 - .../dist-types/ts3.4/index.d.ts | 4 - .../util-body-length-node/package.json | 62 - .../@smithy/util-buffer-from/LICENSE | 201 - .../@smithy/util-buffer-from/README.md | 10 - .../util-buffer-from/dist-cjs/index.js | 20 - .../@smithy/util-buffer-from/dist-es/index.js | 14 - .../util-buffer-from/dist-types/index.d.ts | 13 - .../dist-types/ts3.4/index.d.ts | 13 - .../@smithy/util-buffer-from/package.json | 62 - .../@smithy/util-config-provider/LICENSE | 201 - .../@smithy/util-config-provider/README.md | 4 - .../util-config-provider/dist-cjs/index.js | 30 - .../dist-es/booleanSelector.js | 9 - .../util-config-provider/dist-es/index.js | 3 - .../dist-es/numberSelector.js | 9 - .../util-config-provider/dist-es/types.js | 5 - .../dist-types/booleanSelector.d.ts | 10 - .../dist-types/index.d.ts | 3 - .../dist-types/numberSelector.d.ts | 9 - .../dist-types/ts3.4/booleanSelector.d.ts | 10 - .../dist-types/ts3.4/index.d.ts | 3 - .../dist-types/ts3.4/numberSelector.d.ts | 9 - .../dist-types/ts3.4/types.d.ts | 4 - .../dist-types/types.d.ts | 4 - .../@smithy/util-config-provider/package.json | 63 - .../util-defaults-mode-browser/LICENSE | 201 - .../util-defaults-mode-browser/README.md | 10 - .../dist-cjs/constants.js | 4 - .../dist-cjs/index.js | 16 - .../dist-cjs/resolveDefaultsModeConfig.js | 34 - .../resolveDefaultsModeConfig.native.js | 23 - .../dist-es/constants.js | 1 - .../dist-es/index.js | 1 - .../dist-es/resolveDefaultsModeConfig.js | 30 - .../resolveDefaultsModeConfig.native.js | 19 - .../dist-types/constants.d.ts | 12 - .../dist-types/index.d.ts | 4 - .../dist-types/resolveDefaultsModeConfig.d.ts | 17 - .../resolveDefaultsModeConfig.native.d.ts | 16 - .../dist-types/ts3.4/constants.d.ts | 12 - .../dist-types/ts3.4/index.d.ts | 4 - .../ts3.4/resolveDefaultsModeConfig.d.ts | 17 - .../resolveDefaultsModeConfig.native.d.ts | 16 - .../util-defaults-mode-browser/package.json | 66 - .../@smithy/util-defaults-mode-node/LICENSE | 201 - .../@smithy/util-defaults-mode-node/README.md | 10 - .../util-defaults-mode-node/dist-cjs/index.js | 74 - .../dist-es/constants.js | 6 - .../dist-es/defaultsModeConfig.js | 11 - .../util-defaults-mode-node/dist-es/index.js | 1 - .../dist-es/resolveDefaultsModeConfig.js | 52 - .../dist-types/constants.d.ts | 24 - .../dist-types/defaultsModeConfig.d.ts | 6 - .../dist-types/index.d.ts | 4 - .../dist-types/resolveDefaultsModeConfig.d.ts | 17 - .../dist-types/ts3.4/constants.d.ts | 24 - .../dist-types/ts3.4/defaultsModeConfig.d.ts | 6 - .../dist-types/ts3.4/index.d.ts | 4 - .../ts3.4/resolveDefaultsModeConfig.d.ts | 17 - .../util-defaults-mode-node/package.json | 67 - .../@smithy/util-endpoints/LICENSE | 201 - .../@smithy/util-endpoints/README.md | 10 - .../@smithy/util-endpoints/dist-cjs/index.js | 472 - .../dist-es/cache/EndpointCache.js | 50 - .../util-endpoints/dist-es/debug/debugId.js | 1 - .../util-endpoints/dist-es/debug/index.js | 2 - .../dist-es/debug/toDebugString.js | 12 - .../dist-es/getEndpointUrlConfig.js | 21 - .../@smithy/util-endpoints/dist-es/index.js | 6 - .../dist-es/lib/booleanEquals.js | 1 - .../util-endpoints/dist-es/lib/getAttr.js | 11 - .../dist-es/lib/getAttrPathList.js | 25 - .../util-endpoints/dist-es/lib/index.js | 9 - .../util-endpoints/dist-es/lib/isIpAddress.js | 2 - .../util-endpoints/dist-es/lib/isSet.js | 1 - .../dist-es/lib/isValidHostLabel.js | 13 - .../@smithy/util-endpoints/dist-es/lib/not.js | 1 - .../util-endpoints/dist-es/lib/parseURL.js | 51 - .../dist-es/lib/stringEquals.js | 1 - .../util-endpoints/dist-es/lib/substring.js | 9 - .../util-endpoints/dist-es/lib/uriEncode.js | 1 - .../util-endpoints/dist-es/resolveEndpoint.js | 27 - .../dist-es/types/EndpointError.js | 6 - .../dist-es/types/EndpointFunctions.js | 1 - .../dist-es/types/EndpointRuleObject.js | 1 - .../dist-es/types/ErrorRuleObject.js | 1 - .../dist-es/types/RuleSetObject.js | 1 - .../dist-es/types/TreeRuleObject.js | 1 - .../util-endpoints/dist-es/types/index.js | 7 - .../util-endpoints/dist-es/types/shared.js | 1 - .../dist-es/utils/callFunction.js | 1 - .../dist-es/utils/customEndpointFunctions.js | 1 - .../dist-es/utils/endpointFunctions.js | 12 - .../dist-es/utils/evaluateCondition.js | 14 - .../dist-es/utils/evaluateConditions.js | 22 - .../dist-es/utils/evaluateEndpointRule.js | 27 - .../dist-es/utils/evaluateErrorRule.js | 14 - .../dist-es/utils/evaluateExpression.js | 29 - .../dist-es/utils/evaluateRules.js | 42 - .../dist-es/utils/evaluateTemplate.js | 36 - .../dist-es/utils/evaluateTreeRule.js | 1 - .../dist-es/utils/getEndpointHeaders.js | 12 - .../dist-es/utils/getEndpointProperties.js | 28 - .../dist-es/utils/getEndpointProperty.js | 1 - .../dist-es/utils/getEndpointUrl.js | 15 - .../dist-es/utils/getReferenceValue.js | 7 - .../util-endpoints/dist-es/utils/index.js | 2 - .../dist-types/cache/EndpointCache.d.ts | 34 - .../dist-types/debug/debugId.d.ts | 1 - .../dist-types/debug/index.d.ts | 2 - .../dist-types/debug/toDebugString.d.ts | 9 - .../dist-types/getEndpointUrlConfig.d.ts | 2 - .../util-endpoints/dist-types/index.d.ts | 6 - .../dist-types/lib/booleanEquals.d.ts | 5 - .../dist-types/lib/getAttr.d.ts | 7 - .../dist-types/lib/getAttrPathList.d.ts | 4 - .../util-endpoints/dist-types/lib/index.d.ts | 9 - .../dist-types/lib/isIpAddress.d.ts | 4 - .../util-endpoints/dist-types/lib/isSet.d.ts | 5 - .../dist-types/lib/isValidHostLabel.d.ts | 7 - .../util-endpoints/dist-types/lib/not.d.ts | 5 - .../dist-types/lib/parseURL.d.ts | 5 - .../dist-types/lib/stringEquals.d.ts | 5 - .../dist-types/lib/substring.d.ts | 7 - .../dist-types/lib/uriEncode.d.ts | 4 - .../dist-types/resolveEndpoint.d.ts | 6 - .../dist-types/ts3.4/cache/EndpointCache.d.ts | 34 - .../dist-types/ts3.4/debug/debugId.d.ts | 1 - .../dist-types/ts3.4/debug/index.d.ts | 2 - .../dist-types/ts3.4/debug/toDebugString.d.ts | 9 - .../ts3.4/getEndpointUrlConfig.d.ts | 2 - .../dist-types/ts3.4/index.d.ts | 6 - .../dist-types/ts3.4/lib/booleanEquals.d.ts | 5 - .../dist-types/ts3.4/lib/getAttr.d.ts | 7 - .../dist-types/ts3.4/lib/getAttrPathList.d.ts | 4 - .../dist-types/ts3.4/lib/index.d.ts | 9 - .../dist-types/ts3.4/lib/isIpAddress.d.ts | 4 - .../dist-types/ts3.4/lib/isSet.d.ts | 5 - .../ts3.4/lib/isValidHostLabel.d.ts | 7 - .../dist-types/ts3.4/lib/not.d.ts | 5 - .../dist-types/ts3.4/lib/parseURL.d.ts | 5 - .../dist-types/ts3.4/lib/stringEquals.d.ts | 5 - .../dist-types/ts3.4/lib/substring.d.ts | 7 - .../dist-types/ts3.4/lib/uriEncode.d.ts | 4 - .../dist-types/ts3.4/resolveEndpoint.d.ts | 6 - .../dist-types/ts3.4/types/EndpointError.d.ts | 3 - .../ts3.4/types/EndpointFunctions.d.ts | 2 - .../ts3.4/types/EndpointRuleObject.d.ts | 5 - .../ts3.4/types/ErrorRuleObject.d.ts | 2 - .../dist-types/ts3.4/types/RuleSetObject.d.ts | 4 - .../ts3.4/types/TreeRuleObject.d.ts | 3 - .../dist-types/ts3.4/types/index.d.ts | 7 - .../dist-types/ts3.4/types/shared.d.ts | 25 - .../dist-types/ts3.4/utils/callFunction.d.ts | 1 - .../ts3.4/utils/customEndpointFunctions.d.ts | 4 - .../ts3.4/utils/endpointFunctions.d.ts | 11 - .../ts3.4/utils/evaluateCondition.d.ts | 8 - .../ts3.4/utils/evaluateConditions.d.ts | 8 - .../ts3.4/utils/evaluateEndpointRule.d.ts | 3 - .../ts3.4/utils/evaluateErrorRule.d.ts | 2 - .../ts3.4/utils/evaluateExpression.d.ts | 7 - .../dist-types/ts3.4/utils/evaluateRules.d.ts | 8 - .../ts3.4/utils/evaluateTemplate.d.ts | 2 - .../ts3.4/utils/evaluateTreeRule.d.ts | 1 - .../ts3.4/utils/getEndpointHeaders.d.ts | 2 - .../ts3.4/utils/getEndpointProperties.d.ts | 8 - .../ts3.4/utils/getEndpointProperty.d.ts | 1 - .../ts3.4/utils/getEndpointUrl.d.ts | 2 - .../ts3.4/utils/getReferenceValue.d.ts | 2 - .../dist-types/ts3.4/utils/index.d.ts | 2 - .../dist-types/types/EndpointError.d.ts | 3 - .../dist-types/types/EndpointFunctions.d.ts | 2 - .../dist-types/types/EndpointRuleObject.d.ts | 5 - .../dist-types/types/ErrorRuleObject.d.ts | 2 - .../dist-types/types/RuleSetObject.d.ts | 4 - .../dist-types/types/TreeRuleObject.d.ts | 3 - .../dist-types/types/index.d.ts | 7 - .../dist-types/types/shared.d.ts | 25 - .../dist-types/utils/callFunction.d.ts | 1 - .../utils/customEndpointFunctions.d.ts | 4 - .../dist-types/utils/endpointFunctions.d.ts | 11 - .../dist-types/utils/evaluateCondition.d.ts | 8 - .../dist-types/utils/evaluateConditions.d.ts | 8 - .../utils/evaluateEndpointRule.d.ts | 3 - .../dist-types/utils/evaluateErrorRule.d.ts | 2 - .../dist-types/utils/evaluateExpression.d.ts | 7 - .../dist-types/utils/evaluateRules.d.ts | 8 - .../dist-types/utils/evaluateTemplate.d.ts | 2 - .../dist-types/utils/evaluateTreeRule.d.ts | 1 - .../dist-types/utils/getEndpointHeaders.d.ts | 2 - .../utils/getEndpointProperties.d.ts | 8 - .../dist-types/utils/getEndpointProperty.d.ts | 1 - .../dist-types/utils/getEndpointUrl.d.ts | 2 - .../dist-types/utils/getReferenceValue.d.ts | 2 - .../dist-types/utils/index.d.ts | 2 - .../@smithy/util-endpoints/package.json | 69 - .../@smithy/util-hex-encoding/LICENSE | 201 - .../@smithy/util-hex-encoding/README.md | 4 - .../util-hex-encoding/dist-cjs/index.js | 38 - .../util-hex-encoding/dist-es/index.js | 33 - .../util-hex-encoding/dist-types/index.d.ts | 12 - .../dist-types/ts3.4/index.d.ts | 12 - .../@smithy/util-hex-encoding/package.json | 61 - .../@smithy/util-middleware/LICENSE | 201 - .../@smithy/util-middleware/README.md | 12 - .../@smithy/util-middleware/dist-cjs/index.js | 15 - .../dist-es/getSmithyContext.js | 2 - .../@smithy/util-middleware/dist-es/index.js | 2 - .../dist-es/normalizeProvider.js | 6 - .../dist-types/getSmithyContext.d.ts | 5 - .../util-middleware/dist-types/index.d.ts | 8 - .../dist-types/normalizeProvider.d.ts | 7 - .../dist-types/ts3.4/getSmithyContext.d.ts | 5 - .../dist-types/ts3.4/index.d.ts | 8 - .../dist-types/ts3.4/normalizeProvider.d.ts | 7 - .../@smithy/util-middleware/package.json | 67 - .../node_modules/@smithy/util-retry/LICENSE | 201 - .../node_modules/@smithy/util-retry/README.md | 78 - .../@smithy/util-retry/dist-cjs/index.js | 278 - .../dist-es/AdaptiveRetryStrategy.js | 27 - .../dist-es/ConfiguredRetryStrategy.js | 19 - .../util-retry/dist-es/DefaultRateLimiter.js | 109 - .../dist-es/StandardRetryStrategy.js | 67 - .../@smithy/util-retry/dist-es/config.js | 7 - .../@smithy/util-retry/dist-es/constants.js | 9 - .../dist-es/defaultRetryBackoffStrategy.js | 14 - .../util-retry/dist-es/defaultRetryToken.js | 11 - .../@smithy/util-retry/dist-es/index.js | 7 - .../@smithy/util-retry/dist-es/types.js | 1 - .../dist-types/AdaptiveRetryStrategy.d.ts | 33 - .../dist-types/ConfiguredRetryStrategy.d.ts | 32 - .../dist-types/DefaultRateLimiter.d.ts | 49 - .../dist-types/StandardRetryStrategy.d.ts | 26 - .../@smithy/util-retry/dist-types/config.d.ts | 20 - .../util-retry/dist-types/constants.d.ts | 59 - .../defaultRetryBackoffStrategy.d.ts | 5 - .../dist-types/defaultRetryToken.d.ts | 9 - .../@smithy/util-retry/dist-types/index.d.ts | 7 - .../ts3.4/AdaptiveRetryStrategy.d.ts | 33 - .../ts3.4/ConfiguredRetryStrategy.d.ts | 32 - .../dist-types/ts3.4/DefaultRateLimiter.d.ts | 49 - .../ts3.4/StandardRetryStrategy.d.ts | 26 - .../util-retry/dist-types/ts3.4/config.d.ts | 20 - .../dist-types/ts3.4/constants.d.ts | 59 - .../ts3.4/defaultRetryBackoffStrategy.d.ts | 5 - .../dist-types/ts3.4/defaultRetryToken.d.ts | 9 - .../util-retry/dist-types/ts3.4/index.d.ts | 7 - .../util-retry/dist-types/ts3.4/types.d.ts | 19 - .../@smithy/util-retry/dist-types/types.d.ts | 19 - .../@smithy/util-retry/package.json | 71 - .../node_modules/@smithy/util-stream/LICENSE | 201 - .../@smithy/util-stream/README.md | 6 - .../dist-cjs/ByteArrayCollector.js | 36 - .../checksum/ChecksumStream.browser.js | 7 - .../dist-cjs/checksum/ChecksumStream.js | 64 - .../checksum/createChecksumStream.browser.js | 39 - .../dist-cjs/checksum/createChecksumStream.js | 12 - .../dist-cjs/createBufferedReadable.js | 60 - .../dist-cjs/createBufferedReadableStream.js | 103 - .../getAwsChunkedEncodingStream.browser.js | 31 - .../dist-cjs/getAwsChunkedEncodingStream.js | 41 - .../dist-cjs/headStream.browser.js | 34 - .../util-stream/dist-cjs/headStream.js | 42 - .../@smithy/util-stream/dist-cjs/index.js | 108 - .../dist-cjs/sdk-stream-mixin.browser.js | 68 - .../util-stream/dist-cjs/sdk-stream-mixin.js | 54 - .../dist-cjs/splitStream.browser.js | 10 - .../util-stream/dist-cjs/splitStream.js | 16 - .../util-stream/dist-cjs/stream-type-check.js | 10 - .../util-stream/dist-es/ByteArrayCollector.js | 32 - .../dist-es/blob/Uint8ArrayBlobAdapter.js | 23 - .../checksum/ChecksumStream.browser.js | 3 - .../dist-es/checksum/ChecksumStream.js | 60 - .../checksum/createChecksumStream.browser.js | 35 - .../dist-es/checksum/createChecksumStream.js | 9 - .../dist-es/createBufferedReadable.js | 57 - .../dist-es/createBufferedReadableStream.js | 95 - .../getAwsChunkedEncodingStream.browser.js | 27 - .../dist-es/getAwsChunkedEncodingStream.js | 38 - .../util-stream/dist-es/headStream.browser.js | 31 - .../@smithy/util-stream/dist-es/headStream.js | 38 - .../@smithy/util-stream/dist-es/index.js | 9 - .../dist-es/sdk-stream-mixin.browser.js | 64 - .../util-stream/dist-es/sdk-stream-mixin.js | 50 - .../dist-es/splitStream.browser.js | 7 - .../util-stream/dist-es/splitStream.js | 13 - .../util-stream/dist-es/stream-type-check.js | 5 - .../dist-types/ByteArrayCollector.d.ts | 13 - .../blob/Uint8ArrayBlobAdapter.d.ts | 22 - .../checksum/ChecksumStream.browser.d.ts | 37 - .../dist-types/checksum/ChecksumStream.d.ts | 61 - .../createChecksumStream.browser.d.ts | 14 - .../checksum/createChecksumStream.d.ts | 13 - .../dist-types/createBufferedReadable.d.ts | 15 - .../createBufferedReadableStream.d.ts | 50 - .../getAwsChunkedEncodingStream.browser.d.ts | 5 - .../getAwsChunkedEncodingStream.d.ts | 10 - .../dist-types/headStream.browser.d.ts | 7 - .../util-stream/dist-types/headStream.d.ts | 9 - .../@smithy/util-stream/dist-types/index.d.ts | 12 - .../dist-types/sdk-stream-mixin.browser.d.ts | 7 - .../dist-types/sdk-stream-mixin.d.ts | 8 - .../dist-types/splitStream.browser.d.ts | 5 - .../util-stream/dist-types/splitStream.d.ts | 11 - .../dist-types/stream-type-check.d.ts | 17 - .../dist-types/ts3.4/ByteArrayCollector.d.ts | 13 - .../ts3.4/blob/Uint8ArrayBlobAdapter.d.ts | 22 - .../checksum/ChecksumStream.browser.d.ts | 37 - .../ts3.4/checksum/ChecksumStream.d.ts | 61 - .../createChecksumStream.browser.d.ts | 14 - .../ts3.4/checksum/createChecksumStream.d.ts | 13 - .../ts3.4/createBufferedReadable.d.ts | 15 - .../ts3.4/createBufferedReadableStream.d.ts | 54 - .../getAwsChunkedEncodingStream.browser.d.ts | 5 - .../ts3.4/getAwsChunkedEncodingStream.d.ts | 10 - .../dist-types/ts3.4/headStream.browser.d.ts | 7 - .../dist-types/ts3.4/headStream.d.ts | 9 - .../util-stream/dist-types/ts3.4/index.d.ts | 12 - .../ts3.4/sdk-stream-mixin.browser.d.ts | 7 - .../dist-types/ts3.4/sdk-stream-mixin.d.ts | 8 - .../dist-types/ts3.4/splitStream.browser.d.ts | 8 - .../dist-types/ts3.4/splitStream.d.ts | 17 - .../dist-types/ts3.4/stream-type-check.d.ts | 17 - .../@smithy/util-stream/package.json | 99 - .../node_modules/@smithy/util-utf8/LICENSE | 201 - .../node_modules/@smithy/util-utf8/README.md | 4 - .../@smithy/util-utf8/dist-cjs/index.js | 32 - .../util-utf8/dist-es/fromUtf8.browser.js | 1 - .../@smithy/util-utf8/dist-es/fromUtf8.js | 5 - .../@smithy/util-utf8/dist-es/index.js | 3 - .../@smithy/util-utf8/dist-es/toUint8Array.js | 10 - .../util-utf8/dist-es/toUtf8.browser.js | 9 - .../@smithy/util-utf8/dist-es/toUtf8.js | 10 - .../dist-types/fromUtf8.browser.d.ts | 1 - .../util-utf8/dist-types/fromUtf8.d.ts | 1 - .../@smithy/util-utf8/dist-types/index.d.ts | 3 - .../util-utf8/dist-types/toUint8Array.d.ts | 1 - .../util-utf8/dist-types/toUtf8.browser.d.ts | 7 - .../@smithy/util-utf8/dist-types/toUtf8.d.ts | 7 - .../dist-types/ts3.4/fromUtf8.browser.d.ts | 1 - .../util-utf8/dist-types/ts3.4/fromUtf8.d.ts | 1 - .../util-utf8/dist-types/ts3.4/index.d.ts | 3 - .../dist-types/ts3.4/toUint8Array.d.ts | 1 - .../dist-types/ts3.4/toUtf8.browser.d.ts | 7 - .../util-utf8/dist-types/ts3.4/toUtf8.d.ts | 7 - .../@smithy/util-utf8/package.json | 67 - .../node_modules/@smithy/util-waiter/LICENSE | 201 - .../@smithy/util-waiter/README.md | 10 - .../@smithy/util-waiter/dist-cjs/index.js | 179 - .../util-waiter/dist-es/circularReplacer.js | 12 - .../util-waiter/dist-es/createWaiter.js | 48 - .../@smithy/util-waiter/dist-es/index.js | 2 - .../@smithy/util-waiter/dist-es/poller.js | 60 - .../util-waiter/dist-es/utils/index.js | 2 - .../util-waiter/dist-es/utils/sleep.js | 3 - .../util-waiter/dist-es/utils/validate.js | 17 - .../@smithy/util-waiter/dist-es/waiter.js | 35 - .../dist-types/circularReplacer.d.ts | 6 - .../util-waiter/dist-types/createWaiter.d.ts | 11 - .../@smithy/util-waiter/dist-types/index.d.ts | 2 - .../util-waiter/dist-types/poller.d.ts | 10 - .../dist-types/ts3.4/circularReplacer.d.ts | 6 - .../dist-types/ts3.4/createWaiter.d.ts | 11 - .../util-waiter/dist-types/ts3.4/index.d.ts | 2 - .../util-waiter/dist-types/ts3.4/poller.d.ts | 10 - .../dist-types/ts3.4/utils/index.d.ts | 8 - .../dist-types/ts3.4/utils/sleep.d.ts | 4 - .../dist-types/ts3.4/utils/validate.d.ts | 8 - .../util-waiter/dist-types/ts3.4/waiter.d.ts | 49 - .../util-waiter/dist-types/utils/index.d.ts | 8 - .../util-waiter/dist-types/utils/sleep.d.ts | 4 - .../dist-types/utils/validate.d.ts | 8 - .../util-waiter/dist-types/waiter.d.ts | 49 - .../@smithy/util-waiter/package.json | 63 - .../node_modules/@smithy/uuid/LICENSE | 201 - .../node_modules/@smithy/uuid/README.md | 10 - .../@smithy/uuid/dist-cjs/index.js | 36 - .../@smithy/uuid/dist-cjs/randomUUID.js | 6 - .../uuid/dist-cjs/randomUUID.native.js | 4 - .../@smithy/uuid/dist-es/index.js | 1 - .../uuid/dist-es/randomUUID.browser.js | 1 - .../@smithy/uuid/dist-es/randomUUID.js | 2 - .../@smithy/uuid/dist-es/randomUUID.native.js | 1 - .../node_modules/@smithy/uuid/dist-es/v4.js | 31 - .../@smithy/uuid/dist-types/index.d.ts | 1 - .../uuid/dist-types/randomUUID.browser.d.ts | 1 - .../@smithy/uuid/dist-types/randomUUID.d.ts | 2 - .../uuid/dist-types/randomUUID.native.d.ts | 1 - .../@smithy/uuid/dist-types/ts3.4/index.d.ts | 1 - .../dist-types/ts3.4/randomUUID.browser.d.ts | 1 - .../uuid/dist-types/ts3.4/randomUUID.d.ts | 2 - .../dist-types/ts3.4/randomUUID.native.d.ts | 1 - .../@smithy/uuid/dist-types/ts3.4/v4.d.ts | 19 - .../@smithy/uuid/dist-types/v4.d.ts | 19 - .../node_modules/@smithy/uuid/package.json | 66 - .../node_modules/@types/aws-lambda/LICENSE | 21 - .../node_modules/@types/aws-lambda/README.md | 15 - .../@types/aws-lambda/common/api-gateway.d.ts | 85 - .../@types/aws-lambda/common/cloudfront.d.ts | 245 - .../@types/aws-lambda/handler.d.ts | 268 - .../node_modules/@types/aws-lambda/index.d.ts | 54 - .../@types/aws-lambda/package.json | 226 - .../@types/aws-lambda/trigger/alb.d.ts | 48 - .../aws-lambda/trigger/amplify-resolver.d.ts | 38 - .../trigger/api-gateway-authorizer.d.ts | 246 - .../aws-lambda/trigger/api-gateway-proxy.d.ts | 336 - .../aws-lambda/trigger/appsync-resolver.d.ts | 121 - .../aws-lambda/trigger/autoscaling.d.ts | 41 - .../trigger/cdk-custom-resource.d.ts | 158 - .../cloudformation-custom-resource.d.ts | 236 - .../trigger/cloudfront-request.d.ts | 22 - .../trigger/cloudfront-response.d.ts | 23 - .../aws-lambda/trigger/cloudwatch-alarm.d.ts | 69 - .../aws-lambda/trigger/cloudwatch-events.d.ts | 8 - .../aws-lambda/trigger/cloudwatch-logs.d.ts | 37 - .../trigger/codebuild-cloudwatch-state.d.ts | 104 - .../@types/aws-lambda/trigger/codecommit.d.ts | 35 - .../codepipeline-cloudwatch-action.d.ts | 31 - .../codepipeline-cloudwatch-pipeline.d.ts | 32 - .../codepipeline-cloudwatch-stage.d.ts | 23 - .../trigger/codepipeline-cloudwatch.d.ts | 11 - .../aws-lambda/trigger/codepipeline.d.ts | 55 - .../cognito-user-pool-trigger/_common.d.ts | 41 - .../create-auth-challenge.d.ts | 22 - .../custom-email-sender.d.ts | 81 - .../custom-message.d.ts | 52 - .../custom-sms-sender.d.ts | 51 - .../define-auth-challenge.d.ts | 21 - .../inbound-federation.d.ts | 40 - .../cognito-user-pool-trigger/index.d.ts | 132 - .../post-authentication.d.ts | 15 - .../post-confirmation.d.ts | 26 - .../pre-authentication.d.ts | 16 - .../cognito-user-pool-trigger/pre-signup.d.ts | 31 - .../pre-token-generation-v2.d.ts | 73 - .../pre-token-generation-v3.d.ts | 50 - .../pre-token-generation.d.ts | 53 - .../user-migration.d.ts | 40 - .../verify-auth-challenge-response.d.ts | 22 - .../trigger/connect-contact-flow.d.ts | 64 - .../aws-lambda/trigger/dynamodb-stream.d.ts | 63 - .../aws-lambda/trigger/eventbridge.d.ts | 19 - .../guard-duty-event-notification.d.ts | 36 - .../aws-lambda/trigger/iot-authorizer.d.ts | 48 - .../@types/aws-lambda/trigger/iot.d.ts | 28 - .../kinesis-firehose-transformation.d.ts | 51 - .../aws-lambda/trigger/kinesis-stream.d.ts | 56 - .../trigger/lambda-function-url.d.ts | 45 - .../@types/aws-lambda/trigger/lex-v2.d.ts | 164 - .../@types/aws-lambda/trigger/lex.d.ts | 120 - .../@types/aws-lambda/trigger/msk.d.ts | 28 - .../@types/aws-lambda/trigger/s3-batch.d.ts | 41 - .../trigger/s3-event-notification.d.ts | 290 - .../@types/aws-lambda/trigger/s3.d.ts | 60 - .../aws-lambda/trigger/secretsmanager.d.ts | 15 - .../trigger/self-managed-kafka.d.ts | 27 - .../@types/aws-lambda/trigger/ses.d.ts | 109 - .../@types/aws-lambda/trigger/sns.d.ts | 39 - .../@types/aws-lambda/trigger/sqs.d.ts | 58 - .../trigger/transfer-family-authorizer.d.ts | 110 - .../node_modules/@types/babel__core/LICENSE | 21 - .../node_modules/@types/babel__core/README.md | 15 - .../@types/babel__core/index.d.ts | 831 - .../@types/babel__core/package.json | 51 - .../@types/babel__generator/LICENSE | 21 - .../@types/babel__generator/README.md | 15 - .../@types/babel__generator/index.d.ts | 210 - .../@types/babel__generator/package.json | 43 - .../@types/babel__template/LICENSE | 21 - .../@types/babel__template/README.md | 15 - .../@types/babel__template/index.d.ts | 92 - .../@types/babel__template/package.json | 43 - .../@types/babel__traverse/LICENSE | 21 - .../@types/babel__traverse/README.md | 15 - .../@types/babel__traverse/index.d.ts | 1506 -- .../@types/babel__traverse/package.json | 63 - .../node_modules/@types/graceful-fs/LICENSE | 21 - .../node_modules/@types/graceful-fs/README.md | 31 - .../@types/graceful-fs/index.d.ts | 12 - .../@types/graceful-fs/package.json | 32 - .../@types/istanbul-lib-coverage/LICENSE | 21 - .../@types/istanbul-lib-coverage/README.md | 15 - .../@types/istanbul-lib-coverage/index.d.ts | 111 - .../@types/istanbul-lib-coverage/package.json | 25 - .../@types/istanbul-lib-report/LICENSE | 21 - .../@types/istanbul-lib-report/README.md | 15 - .../@types/istanbul-lib-report/index.d.ts | 184 - .../@types/istanbul-lib-report/package.json | 32 - .../@types/istanbul-reports/LICENSE | 21 - .../@types/istanbul-reports/README.md | 86 - .../@types/istanbul-reports/index.d.ts | 67 - .../@types/istanbul-reports/package.json | 32 - .../node_modules/@types/jest/LICENSE | 21 - .../node_modules/@types/jest/README.md | 16 - .../node_modules/@types/jest/index.d.ts | 1747 -- .../node_modules/@types/jest/package.json | 160 - .../node_modules/@types/stack-utils/LICENSE | 21 - .../node_modules/@types/stack-utils/README.md | 78 - .../@types/stack-utils/index.d.ts | 59 - .../@types/stack-utils/package.json | 25 - .../node_modules/@types/yargs-parser/LICENSE | 21 - .../@types/yargs-parser/README.md | 15 - .../@types/yargs-parser/index.d.ts | 112 - .../@types/yargs-parser/package.json | 25 - .../node_modules/@types/yargs/LICENSE | 21 - .../node_modules/@types/yargs/README.md | 15 - .../node_modules/@types/yargs/helpers.d.mts | 1 - .../node_modules/@types/yargs/helpers.d.ts | 5 - .../node_modules/@types/yargs/index.d.mts | 47 - .../node_modules/@types/yargs/index.d.ts | 1036 -- .../node_modules/@types/yargs/package.json | 88 - .../node_modules/@types/yargs/yargs.d.ts | 9 - .../node_modules/ansi-escapes/index.d.ts | 248 - .../node_modules/ansi-escapes/index.js | 157 - .../node_modules/ansi-escapes/license | 9 - .../node_modules/ansi-escapes/package.json | 57 - .../node_modules/ansi-escapes/readme.md | 245 - .../risk-engine/node_modules/anymatch/LICENSE | 15 - .../node_modules/anymatch/README.md | 87 - .../node_modules/anymatch/index.d.ts | 20 - .../node_modules/anymatch/index.js | 104 - .../node_modules/anymatch/package.json | 48 - .../node_modules/argparse/CHANGELOG.md | 185 - .../risk-engine/node_modules/argparse/LICENSE | 21 - .../node_modules/argparse/README.md | 257 - .../node_modules/argparse/index.js | 3 - .../node_modules/argparse/lib/action.js | 146 - .../argparse/lib/action/append.js | 53 - .../argparse/lib/action/append/constant.js | 47 - .../node_modules/argparse/lib/action/count.js | 40 - .../node_modules/argparse/lib/action/help.js | 47 - .../node_modules/argparse/lib/action/store.js | 50 - .../argparse/lib/action/store/constant.js | 43 - .../argparse/lib/action/store/false.js | 27 - .../argparse/lib/action/store/true.js | 26 - .../argparse/lib/action/subparsers.js | 149 - .../argparse/lib/action/version.js | 47 - .../argparse/lib/action_container.js | 482 - .../node_modules/argparse/lib/argparse.js | 14 - .../argparse/lib/argument/error.js | 50 - .../argparse/lib/argument/exclusive.js | 54 - .../argparse/lib/argument/group.js | 75 - .../argparse/lib/argument_parser.js | 1161 -- .../node_modules/argparse/lib/const.js | 21 - .../argparse/lib/help/added_formatters.js | 87 - .../argparse/lib/help/formatter.js | 795 - .../node_modules/argparse/lib/namespace.js | 76 - .../node_modules/argparse/lib/utils.js | 57 - .../node_modules/argparse/package.json | 34 - .../node_modules/babel-jest/LICENSE | 21 - .../node_modules/babel-jest/README.md | 25 - .../node_modules/babel-jest/build/index.d.ts | 24 - .../node_modules/babel-jest/build/index.js | 323 - .../babel-jest/build/loadBabelConfig.js | 24 - .../node_modules/babel-jest/package.json | 44 - .../babel-plugin-istanbul/CHANGELOG.md | 320 - .../babel-plugin-istanbul/LICENSE | 27 - .../babel-plugin-istanbul/README.md | 135 - .../babel-plugin-istanbul/lib/index.js | 170 - .../lib/load-nyc-config-sync.js | 20 - .../istanbul-lib-instrument/CHANGELOG.md | 631 - .../istanbul-lib-instrument/LICENSE | 24 - .../istanbul-lib-instrument/README.md | 22 - .../istanbul-lib-instrument/package.json | 50 - .../istanbul-lib-instrument/src/constants.js | 14 - .../istanbul-lib-instrument/src/index.js | 21 - .../src/instrumenter.js | 162 - .../src/read-coverage.js | 77 - .../src/source-coverage.js | 135 - .../istanbul-lib-instrument/src/visitor.js | 843 - .../babel-plugin-istanbul/package.json | 71 - .../babel-plugin-jest-hoist/LICENSE | 21 - .../babel-plugin-jest-hoist/README.md | 33 - .../babel-plugin-jest-hoist/build/index.d.ts | 16 - .../babel-plugin-jest-hoist/build/index.js | 367 - .../babel-plugin-jest-hoist/package.json | 42 - .../.github/FUNDING.yml | 3 - .../.github/workflows/nodejs.yml | 49 - .../babel-preset-current-node-syntax/LICENSE | 22 - .../README.md | 30 - .../package.json | 46 - .../src/index.js | 86 - .../node_modules/babel-preset-jest/LICENSE | 21 - .../node_modules/babel-preset-jest/README.md | 33 - .../node_modules/babel-preset-jest/index.js | 14 - .../babel-preset-jest/package.json | 29 - .../baseline-browser-mapping/LICENSE.txt | 201 - .../baseline-browser-mapping/README.md | 467 - .../baseline-browser-mapping/dist/cli.cjs | 2 - .../baseline-browser-mapping/dist/index.cjs | 1 - .../baseline-browser-mapping/dist/index.d.ts | 104 - .../baseline-browser-mapping/dist/index.js | 1 - .../baseline-browser-mapping/package.json | 68 - .../node_modules/browserslist/LICENSE | 20 - .../node_modules/browserslist/README.md | 65 - .../node_modules/browserslist/browser.js | 54 - .../node_modules/browserslist/cli.js | 156 - .../node_modules/browserslist/error.d.ts | 7 - .../node_modules/browserslist/error.js | 12 - .../node_modules/browserslist/index.d.ts | 224 - .../node_modules/browserslist/index.js | 1335 -- .../node_modules/browserslist/node.js | 502 - .../node_modules/browserslist/package.json | 45 - .../node_modules/browserslist/parse.js | 78 - .../node_modules/bs-logger/CHANGELOG.md | 60 - .../node_modules/bs-logger/LICENSE | 21 - .../node_modules/bs-logger/README.md | 319 - .../node_modules/bs-logger/dist/index.d.ts | 8 - .../node_modules/bs-logger/dist/index.js | 31 - .../bs-logger/dist/logger/context.d.ts | 16 - .../bs-logger/dist/logger/context.js | 11 - .../bs-logger/dist/logger/index.d.ts | 37 - .../bs-logger/dist/logger/index.js | 164 - .../bs-logger/dist/logger/level.d.ts | 25 - .../bs-logger/dist/logger/level.js | 62 - .../bs-logger/dist/logger/message.d.ts | 18 - .../bs-logger/dist/logger/message.js | 37 - .../bs-logger/dist/logger/root.d.ts | 4 - .../bs-logger/dist/logger/root.js | 79 - .../bs-logger/dist/logger/target.d.ts | 11 - .../bs-logger/dist/logger/target.js | 90 - .../bs-logger/dist/testing/index.d.ts | 8 - .../bs-logger/dist/testing/index.js | 29 - .../bs-logger/dist/testing/target-mock.d.ts | 28 - .../bs-logger/dist/testing/target-mock.js | 89 - .../bs-logger/dist/utils/cache-getters.d.ts | 2 - .../bs-logger/dist/utils/cache-getters.js | 40 - .../node_modules/bs-logger/package.json | 73 - .../risk-engine/node_modules/bser/README.md | 81 - .../risk-engine/node_modules/bser/index.js | 586 - .../node_modules/bser/package.json | 33 - .../node_modules/buffer-from/LICENSE | 21 - .../node_modules/buffer-from/index.js | 72 - .../node_modules/buffer-from/package.json | 19 - .../node_modules/buffer-from/readme.md | 69 - .../node_modules/camelcase/index.d.ts | 63 - .../node_modules/camelcase/index.js | 76 - .../node_modules/camelcase/license | 9 - .../node_modules/camelcase/package.json | 43 - .../node_modules/camelcase/readme.md | 99 - .../node_modules/caniuse-lite/LICENSE | 395 - .../node_modules/caniuse-lite/README.md | 6 - .../node_modules/caniuse-lite/data/agents.js | 1 - .../caniuse-lite/data/browserVersions.js | 1 - .../caniuse-lite/data/browsers.js | 1 - .../caniuse-lite/data/features.js | 1 - .../caniuse-lite/data/features/aac.js | 1 - .../data/features/abortcontroller.js | 1 - .../caniuse-lite/data/features/ac3-ec3.js | 1 - .../data/features/accelerometer.js | 1 - .../data/features/addeventlistener.js | 1 - .../data/features/alternate-stylesheet.js | 1 - .../data/features/ambient-light.js | 1 - .../caniuse-lite/data/features/apng.js | 1 - .../data/features/array-find-index.js | 1 - .../caniuse-lite/data/features/array-find.js | 1 - .../caniuse-lite/data/features/array-flat.js | 1 - .../data/features/array-includes.js | 1 - .../data/features/arrow-functions.js | 1 - .../caniuse-lite/data/features/asmjs.js | 1 - .../data/features/async-clipboard.js | 1 - .../data/features/async-functions.js | 1 - .../caniuse-lite/data/features/atob-btoa.js | 1 - .../caniuse-lite/data/features/audio-api.js | 1 - .../caniuse-lite/data/features/audio.js | 1 - .../caniuse-lite/data/features/audiotracks.js | 1 - .../caniuse-lite/data/features/autofocus.js | 1 - .../caniuse-lite/data/features/auxclick.js | 1 - .../caniuse-lite/data/features/av1.js | 1 - .../caniuse-lite/data/features/avif.js | 1 - .../data/features/background-attachment.js | 1 - .../data/features/background-clip-text.js | 1 - .../data/features/background-img-opts.js | 1 - .../data/features/background-position-x-y.js | 1 - .../features/background-repeat-round-space.js | 1 - .../data/features/background-sync.js | 1 - .../data/features/battery-status.js | 1 - .../caniuse-lite/data/features/beacon.js | 1 - .../data/features/beforeafterprint.js | 1 - .../caniuse-lite/data/features/bigint.js | 1 - .../caniuse-lite/data/features/blobbuilder.js | 1 - .../caniuse-lite/data/features/bloburls.js | 1 - .../data/features/border-image.js | 1 - .../data/features/border-radius.js | 1 - .../data/features/broadcastchannel.js | 1 - .../caniuse-lite/data/features/brotli.js | 1 - .../caniuse-lite/data/features/calc.js | 1 - .../data/features/canvas-blending.js | 1 - .../caniuse-lite/data/features/canvas-text.js | 1 - .../caniuse-lite/data/features/canvas.js | 1 - .../caniuse-lite/data/features/ch-unit.js | 1 - .../data/features/chacha20-poly1305.js | 1 - .../data/features/channel-messaging.js | 1 - .../data/features/childnode-remove.js | 1 - .../caniuse-lite/data/features/classlist.js | 1 - .../client-hints-dpr-width-viewport.js | 1 - .../caniuse-lite/data/features/clipboard.js | 1 - .../caniuse-lite/data/features/colr-v1.js | 1 - .../caniuse-lite/data/features/colr.js | 1 - .../data/features/comparedocumentposition.js | 1 - .../data/features/console-basic.js | 1 - .../data/features/console-time.js | 1 - .../caniuse-lite/data/features/const.js | 1 - .../data/features/constraint-validation.js | 1 - .../data/features/contenteditable.js | 1 - .../data/features/contentsecuritypolicy.js | 1 - .../data/features/contentsecuritypolicy2.js | 1 - .../data/features/cookie-store-api.js | 1 - .../caniuse-lite/data/features/cors.js | 1 - .../data/features/createimagebitmap.js | 1 - .../data/features/credential-management.js | 1 - .../cross-document-view-transitions.js | 1 - .../data/features/cryptography.js | 1 - .../caniuse-lite/data/features/css-all.js | 1 - .../data/features/css-anchor-positioning.js | 1 - .../data/features/css-animation.js | 1 - .../data/features/css-any-link.js | 1 - .../data/features/css-appearance.js | 1 - .../data/features/css-at-counter-style.js | 1 - .../data/features/css-autofill.js | 1 - .../data/features/css-backdrop-filter.js | 1 - .../data/features/css-background-offsets.js | 1 - .../data/features/css-backgroundblendmode.js | 1 - .../data/features/css-boxdecorationbreak.js | 1 - .../data/features/css-boxshadow.js | 1 - .../caniuse-lite/data/features/css-canvas.js | 1 - .../data/features/css-caret-color.js | 1 - .../data/features/css-cascade-layers.js | 1 - .../data/features/css-cascade-scope.js | 1 - .../data/features/css-case-insensitive.js | 1 - .../data/features/css-clip-path.js | 1 - .../data/features/css-color-adjust.js | 1 - .../data/features/css-color-function.js | 1 - .../data/features/css-conic-gradients.js | 1 - .../features/css-container-queries-style.js | 1 - .../data/features/css-container-queries.js | 1 - .../features/css-container-query-units.js | 1 - .../data/features/css-containment.js | 1 - .../data/features/css-content-visibility.js | 1 - .../data/features/css-counters.js | 1 - .../data/features/css-crisp-edges.js | 1 - .../data/features/css-cross-fade.js | 1 - .../data/features/css-default-pseudo.js | 1 - .../data/features/css-descendant-gtgt.js | 1 - .../data/features/css-deviceadaptation.js | 1 - .../data/features/css-dir-pseudo.js | 1 - .../data/features/css-display-contents.js | 1 - .../data/features/css-element-function.js | 1 - .../data/features/css-env-function.js | 1 - .../data/features/css-exclusions.js | 1 - .../data/features/css-featurequeries.js | 1 - .../data/features/css-file-selector-button.js | 1 - .../data/features/css-filter-function.js | 1 - .../caniuse-lite/data/features/css-filters.js | 1 - .../data/features/css-first-letter.js | 1 - .../data/features/css-first-line.js | 1 - .../caniuse-lite/data/features/css-fixed.js | 1 - .../data/features/css-focus-visible.js | 1 - .../data/features/css-focus-within.js | 1 - .../data/features/css-font-palette.js | 1 - .../features/css-font-rendering-controls.js | 1 - .../data/features/css-font-stretch.js | 1 - .../data/features/css-gencontent.js | 1 - .../data/features/css-gradients.js | 1 - .../data/features/css-grid-animation.js | 1 - .../data/features/css-grid-lanes.js | 1 - .../caniuse-lite/data/features/css-grid.js | 1 - .../data/features/css-hanging-punctuation.js | 1 - .../caniuse-lite/data/features/css-has.js | 1 - .../caniuse-lite/data/features/css-hyphens.js | 1 - .../caniuse-lite/data/features/css-if.js | 1 - .../data/features/css-image-orientation.js | 1 - .../data/features/css-image-set.js | 1 - .../data/features/css-in-out-of-range.js | 1 - .../data/features/css-indeterminate-pseudo.js | 1 - .../data/features/css-initial-letter.js | 1 - .../data/features/css-initial-value.js | 1 - .../caniuse-lite/data/features/css-lch-lab.js | 1 - .../data/features/css-letter-spacing.js | 1 - .../data/features/css-line-clamp.js | 1 - .../data/features/css-logical-props.js | 1 - .../data/features/css-marker-pseudo.js | 1 - .../caniuse-lite/data/features/css-masks.js | 1 - .../data/features/css-matches-pseudo.js | 1 - .../data/features/css-math-functions.js | 1 - .../data/features/css-media-interaction.js | 1 - .../data/features/css-media-range-syntax.js | 1 - .../data/features/css-media-resolution.js | 1 - .../data/features/css-media-scripting.js | 1 - .../data/features/css-mediaqueries.js | 1 - .../data/features/css-mixblendmode.js | 1 - .../data/features/css-module-scripts.js | 1 - .../data/features/css-motion-paths.js | 1 - .../data/features/css-namespaces.js | 1 - .../caniuse-lite/data/features/css-nesting.js | 1 - .../data/features/css-not-sel-list.js | 1 - .../data/features/css-nth-child-of.js | 1 - .../caniuse-lite/data/features/css-opacity.js | 1 - .../data/features/css-optional-pseudo.js | 1 - .../data/features/css-overflow-anchor.js | 1 - .../data/features/css-overflow-overlay.js | 1 - .../data/features/css-overflow.js | 1 - .../data/features/css-overscroll-behavior.js | 1 - .../data/features/css-page-break.js | 1 - .../data/features/css-paged-media.js | 1 - .../data/features/css-paint-api.js | 1 - .../data/features/css-placeholder-shown.js | 1 - .../data/features/css-placeholder.js | 1 - .../data/features/css-print-color-adjust.js | 1 - .../data/features/css-read-only-write.js | 1 - .../data/features/css-rebeccapurple.js | 1 - .../data/features/css-reflections.js | 1 - .../caniuse-lite/data/features/css-regions.js | 1 - .../data/features/css-relative-colors.js | 1 - .../data/features/css-repeating-gradients.js | 1 - .../caniuse-lite/data/features/css-resize.js | 1 - .../data/features/css-revert-value.js | 1 - .../data/features/css-rrggbbaa.js | 1 - .../data/features/css-scroll-behavior.js | 1 - .../data/features/css-scrollbar.js | 1 - .../caniuse-lite/data/features/css-sel2.js | 1 - .../caniuse-lite/data/features/css-sel3.js | 1 - .../data/features/css-selection.js | 1 - .../caniuse-lite/data/features/css-shapes.js | 1 - .../data/features/css-snappoints.js | 1 - .../caniuse-lite/data/features/css-sticky.js | 1 - .../caniuse-lite/data/features/css-subgrid.js | 1 - .../data/features/css-supports-api.js | 1 - .../caniuse-lite/data/features/css-table.js | 1 - .../data/features/css-text-align-last.js | 1 - .../data/features/css-text-box-trim.js | 1 - .../data/features/css-text-indent.js | 1 - .../data/features/css-text-justify.js | 1 - .../data/features/css-text-orientation.js | 1 - .../data/features/css-text-spacing.js | 1 - .../data/features/css-text-wrap-balance.js | 1 - .../data/features/css-textshadow.js | 1 - .../data/features/css-touch-action.js | 1 - .../data/features/css-transitions.js | 1 - .../data/features/css-unicode-bidi.js | 1 - .../data/features/css-unset-value.js | 1 - .../data/features/css-variables.js | 1 - .../data/features/css-when-else.js | 1 - .../data/features/css-widows-orphans.js | 1 - .../data/features/css-width-stretch.js | 1 - .../data/features/css-writing-mode.js | 1 - .../caniuse-lite/data/features/css-zoom.js | 1 - .../caniuse-lite/data/features/css3-attr.js | 1 - .../data/features/css3-boxsizing.js | 1 - .../caniuse-lite/data/features/css3-colors.js | 1 - .../data/features/css3-cursors-grab.js | 1 - .../data/features/css3-cursors-newer.js | 1 - .../data/features/css3-cursors.js | 1 - .../data/features/css3-tabsize.js | 1 - .../data/features/currentcolor.js | 1 - .../data/features/custom-elements.js | 1 - .../data/features/custom-elementsv1.js | 1 - .../caniuse-lite/data/features/customevent.js | 1 - .../data/features/customizable-select.js | 1 - .../caniuse-lite/data/features/datalist.js | 1 - .../caniuse-lite/data/features/dataset.js | 1 - .../caniuse-lite/data/features/datauri.js | 1 - .../data/features/date-tolocaledatestring.js | 1 - .../data/features/declarative-shadow-dom.js | 1 - .../caniuse-lite/data/features/decorators.js | 1 - .../caniuse-lite/data/features/details.js | 1 - .../data/features/deviceorientation.js | 1 - .../data/features/devicepixelratio.js | 1 - .../caniuse-lite/data/features/dialog.js | 1 - .../data/features/dispatchevent.js | 1 - .../caniuse-lite/data/features/dnssec.js | 1 - .../data/features/do-not-track.js | 1 - .../data/features/document-currentscript.js | 1 - .../data/features/document-evaluate-xpath.js | 1 - .../data/features/document-execcommand.js | 1 - .../data/features/document-policy.js | 1 - .../features/document-scrollingelement.js | 1 - .../data/features/documenthead.js | 1 - .../data/features/dom-manip-convenience.js | 1 - .../caniuse-lite/data/features/dom-range.js | 1 - .../data/features/domcontentloaded.js | 1 - .../caniuse-lite/data/features/dommatrix.js | 1 - .../caniuse-lite/data/features/download.js | 1 - .../caniuse-lite/data/features/dragndrop.js | 1 - .../data/features/element-closest.js | 1 - .../data/features/element-from-point.js | 1 - .../data/features/element-scroll-methods.js | 1 - .../caniuse-lite/data/features/eme.js | 1 - .../caniuse-lite/data/features/eot.js | 1 - .../caniuse-lite/data/features/es5.js | 1 - .../caniuse-lite/data/features/es6-class.js | 1 - .../data/features/es6-generators.js | 1 - .../features/es6-module-dynamic-import.js | 1 - .../caniuse-lite/data/features/es6-module.js | 1 - .../caniuse-lite/data/features/es6-number.js | 1 - .../data/features/es6-string-includes.js | 1 - .../caniuse-lite/data/features/es6.js | 1 - .../caniuse-lite/data/features/eventsource.js | 1 - .../data/features/extended-system-fonts.js | 1 - .../data/features/feature-policy.js | 1 - .../caniuse-lite/data/features/fetch.js | 1 - .../data/features/fieldset-disabled.js | 1 - .../caniuse-lite/data/features/fileapi.js | 1 - .../caniuse-lite/data/features/filereader.js | 1 - .../data/features/filereadersync.js | 1 - .../caniuse-lite/data/features/filesystem.js | 1 - .../caniuse-lite/data/features/flac.js | 1 - .../caniuse-lite/data/features/flexbox-gap.js | 1 - .../caniuse-lite/data/features/flexbox.js | 1 - .../caniuse-lite/data/features/flow-root.js | 1 - .../data/features/focusin-focusout-events.js | 1 - .../data/features/font-family-system-ui.js | 1 - .../data/features/font-feature.js | 1 - .../data/features/font-kerning.js | 1 - .../data/features/font-loading.js | 1 - .../data/features/font-size-adjust.js | 1 - .../caniuse-lite/data/features/font-smooth.js | 1 - .../data/features/font-unicode-range.js | 1 - .../data/features/font-variant-alternates.js | 1 - .../data/features/font-variant-numeric.js | 1 - .../caniuse-lite/data/features/fontface.js | 1 - .../data/features/form-attribute.js | 1 - .../data/features/form-submit-attributes.js | 1 - .../data/features/form-validation.js | 1 - .../caniuse-lite/data/features/forms.js | 1 - .../caniuse-lite/data/features/fullscreen.js | 1 - .../caniuse-lite/data/features/gamepad.js | 1 - .../caniuse-lite/data/features/geolocation.js | 1 - .../data/features/getboundingclientrect.js | 1 - .../data/features/getcomputedstyle.js | 1 - .../data/features/getelementsbyclassname.js | 1 - .../data/features/getrandomvalues.js | 1 - .../caniuse-lite/data/features/gyroscope.js | 1 - .../data/features/hardwareconcurrency.js | 1 - .../caniuse-lite/data/features/hashchange.js | 1 - .../caniuse-lite/data/features/heif.js | 1 - .../caniuse-lite/data/features/hevc.js | 1 - .../caniuse-lite/data/features/hidden.js | 1 - .../data/features/high-resolution-time.js | 1 - .../caniuse-lite/data/features/history.js | 1 - .../data/features/html-media-capture.js | 1 - .../data/features/html5semantic.js | 1 - .../data/features/http-live-streaming.js | 1 - .../caniuse-lite/data/features/http2.js | 1 - .../caniuse-lite/data/features/http3.js | 1 - .../data/features/iframe-sandbox.js | 1 - .../data/features/iframe-seamless.js | 1 - .../data/features/iframe-srcdoc.js | 1 - .../data/features/imagecapture.js | 1 - .../caniuse-lite/data/features/ime.js | 1 - .../img-naturalwidth-naturalheight.js | 1 - .../caniuse-lite/data/features/import-maps.js | 1 - .../caniuse-lite/data/features/imports.js | 1 - .../data/features/indeterminate-checkbox.js | 1 - .../caniuse-lite/data/features/indexeddb.js | 1 - .../caniuse-lite/data/features/indexeddb2.js | 1 - .../data/features/inline-block.js | 1 - .../caniuse-lite/data/features/innertext.js | 1 - .../data/features/input-autocomplete-onoff.js | 1 - .../caniuse-lite/data/features/input-color.js | 1 - .../data/features/input-datetime.js | 1 - .../data/features/input-email-tel-url.js | 1 - .../caniuse-lite/data/features/input-event.js | 1 - .../data/features/input-file-accept.js | 1 - .../data/features/input-file-directory.js | 1 - .../data/features/input-file-multiple.js | 1 - .../data/features/input-inputmode.js | 1 - .../data/features/input-minlength.js | 1 - .../data/features/input-number.js | 1 - .../data/features/input-pattern.js | 1 - .../data/features/input-placeholder.js | 1 - .../caniuse-lite/data/features/input-range.js | 1 - .../data/features/input-search.js | 1 - .../data/features/input-selection.js | 1 - .../data/features/insert-adjacent.js | 1 - .../data/features/insertadjacenthtml.js | 1 - .../data/features/internationalization.js | 1 - .../data/features/intersectionobserver-v2.js | 1 - .../data/features/intersectionobserver.js | 1 - .../data/features/intl-pluralrules.js | 1 - .../data/features/intrinsic-width.js | 1 - .../caniuse-lite/data/features/jpeg2000.js | 1 - .../caniuse-lite/data/features/jpegxl.js | 1 - .../caniuse-lite/data/features/jpegxr.js | 1 - .../data/features/js-regexp-lookbehind.js | 1 - .../caniuse-lite/data/features/json.js | 1 - .../features/justify-content-space-evenly.js | 1 - .../data/features/kerning-pairs-ligatures.js | 1 - .../data/features/keyboardevent-charcode.js | 1 - .../data/features/keyboardevent-code.js | 1 - .../keyboardevent-getmodifierstate.js | 1 - .../data/features/keyboardevent-key.js | 1 - .../data/features/keyboardevent-location.js | 1 - .../data/features/keyboardevent-which.js | 1 - .../caniuse-lite/data/features/lazyload.js | 1 - .../caniuse-lite/data/features/let.js | 1 - .../data/features/link-icon-png.js | 1 - .../data/features/link-icon-svg.js | 1 - .../data/features/link-rel-dns-prefetch.js | 1 - .../data/features/link-rel-modulepreload.js | 1 - .../data/features/link-rel-preconnect.js | 1 - .../data/features/link-rel-prefetch.js | 1 - .../data/features/link-rel-preload.js | 1 - .../data/features/link-rel-prerender.js | 1 - .../data/features/loading-lazy-attr.js | 1 - .../data/features/loading-lazy-media.js | 1 - .../data/features/localecompare.js | 1 - .../data/features/magnetometer.js | 1 - .../data/features/matchesselector.js | 1 - .../caniuse-lite/data/features/matchmedia.js | 1 - .../caniuse-lite/data/features/mathml.js | 1 - .../caniuse-lite/data/features/maxlength.js | 1 - .../mdn-css-backdrop-pseudo-element.js | 1 - .../mdn-css-unicode-bidi-isolate-override.js | 1 - .../features/mdn-css-unicode-bidi-isolate.js | 1 - .../mdn-css-unicode-bidi-plaintext.js | 1 - .../features/mdn-text-decoration-color.js | 1 - .../data/features/mdn-text-decoration-line.js | 1 - .../features/mdn-text-decoration-shorthand.js | 1 - .../features/mdn-text-decoration-style.js | 1 - .../data/features/media-fragments.js | 1 - .../data/features/mediacapture-fromelement.js | 1 - .../data/features/mediarecorder.js | 1 - .../caniuse-lite/data/features/mediasource.js | 1 - .../caniuse-lite/data/features/menu.js | 1 - .../data/features/meta-theme-color.js | 1 - .../caniuse-lite/data/features/meter.js | 1 - .../caniuse-lite/data/features/midi.js | 1 - .../caniuse-lite/data/features/minmaxwh.js | 1 - .../caniuse-lite/data/features/mp3.js | 1 - .../caniuse-lite/data/features/mpeg-dash.js | 1 - .../caniuse-lite/data/features/mpeg4.js | 1 - .../data/features/multibackgrounds.js | 1 - .../caniuse-lite/data/features/multicolumn.js | 1 - .../data/features/mutation-events.js | 1 - .../data/features/mutationobserver.js | 1 - .../data/features/namevalue-storage.js | 1 - .../data/features/native-filesystem-api.js | 1 - .../caniuse-lite/data/features/nav-timing.js | 1 - .../caniuse-lite/data/features/netinfo.js | 1 - .../data/features/notifications.js | 1 - .../data/features/object-entries.js | 1 - .../caniuse-lite/data/features/object-fit.js | 1 - .../data/features/object-observe.js | 1 - .../data/features/object-values.js | 1 - .../caniuse-lite/data/features/objectrtc.js | 1 - .../data/features/offline-apps.js | 1 - .../data/features/offscreencanvas.js | 1 - .../caniuse-lite/data/features/ogg-vorbis.js | 1 - .../caniuse-lite/data/features/ogv.js | 1 - .../caniuse-lite/data/features/ol-reversed.js | 1 - .../data/features/once-event-listener.js | 1 - .../data/features/online-status.js | 1 - .../caniuse-lite/data/features/opus.js | 1 - .../data/features/orientation-sensor.js | 1 - .../caniuse-lite/data/features/outline.js | 1 - .../data/features/pad-start-end.js | 1 - .../data/features/page-transition-events.js | 1 - .../data/features/pagevisibility.js | 1 - .../data/features/passive-event-listener.js | 1 - .../caniuse-lite/data/features/passkeys.js | 1 - .../data/features/passwordrules.js | 1 - .../caniuse-lite/data/features/path2d.js | 1 - .../data/features/payment-request.js | 1 - .../caniuse-lite/data/features/pdf-viewer.js | 1 - .../data/features/permissions-api.js | 1 - .../data/features/permissions-policy.js | 1 - .../data/features/picture-in-picture.js | 1 - .../caniuse-lite/data/features/picture.js | 1 - .../caniuse-lite/data/features/ping.js | 1 - .../caniuse-lite/data/features/png-alpha.js | 1 - .../data/features/pointer-events.js | 1 - .../caniuse-lite/data/features/pointer.js | 1 - .../caniuse-lite/data/features/pointerlock.js | 1 - .../caniuse-lite/data/features/portals.js | 1 - .../data/features/prefers-color-scheme.js | 1 - .../data/features/prefers-reduced-motion.js | 1 - .../caniuse-lite/data/features/progress.js | 1 - .../data/features/promise-finally.js | 1 - .../caniuse-lite/data/features/promises.js | 1 - .../caniuse-lite/data/features/proximity.js | 1 - .../caniuse-lite/data/features/proxy.js | 1 - .../data/features/publickeypinning.js | 1 - .../caniuse-lite/data/features/push-api.js | 1 - .../data/features/queryselector.js | 1 - .../data/features/readonly-attr.js | 1 - .../data/features/referrer-policy.js | 1 - .../data/features/registerprotocolhandler.js | 1 - .../data/features/rel-noopener.js | 1 - .../data/features/rel-noreferrer.js | 1 - .../caniuse-lite/data/features/rellist.js | 1 - .../caniuse-lite/data/features/rem.js | 1 - .../data/features/requestanimationframe.js | 1 - .../data/features/requestidlecallback.js | 1 - .../data/features/resizeobserver.js | 1 - .../data/features/resource-timing.js | 1 - .../data/features/rest-parameters.js | 1 - .../data/features/rtcpeerconnection.js | 1 - .../caniuse-lite/data/features/ruby.js | 1 - .../caniuse-lite/data/features/run-in.js | 1 - .../features/same-site-cookie-attribute.js | 1 - .../data/features/screen-orientation.js | 1 - .../data/features/script-async.js | 1 - .../data/features/script-defer.js | 1 - .../data/features/scrollintoview.js | 1 - .../data/features/scrollintoviewifneeded.js | 1 - .../caniuse-lite/data/features/sdch.js | 1 - .../data/features/selection-api.js | 1 - .../data/features/server-timing.js | 1 - .../data/features/serviceworkers.js | 1 - .../data/features/setimmediate.js | 1 - .../caniuse-lite/data/features/shadowdom.js | 1 - .../caniuse-lite/data/features/shadowdomv1.js | 1 - .../data/features/sharedarraybuffer.js | 1 - .../data/features/sharedworkers.js | 1 - .../caniuse-lite/data/features/sni.js | 1 - .../caniuse-lite/data/features/spdy.js | 1 - .../data/features/speech-recognition.js | 1 - .../data/features/speech-synthesis.js | 1 - .../data/features/spellcheck-attribute.js | 1 - .../caniuse-lite/data/features/sql-storage.js | 1 - .../caniuse-lite/data/features/srcset.js | 1 - .../caniuse-lite/data/features/stream.js | 1 - .../caniuse-lite/data/features/streams.js | 1 - .../data/features/stricttransportsecurity.js | 1 - .../data/features/style-scoped.js | 1 - .../data/features/subresource-bundling.js | 1 - .../data/features/subresource-integrity.js | 1 - .../caniuse-lite/data/features/svg-css.js | 1 - .../caniuse-lite/data/features/svg-filters.js | 1 - .../caniuse-lite/data/features/svg-fonts.js | 1 - .../data/features/svg-fragment.js | 1 - .../caniuse-lite/data/features/svg-html.js | 1 - .../caniuse-lite/data/features/svg-html5.js | 1 - .../caniuse-lite/data/features/svg-img.js | 1 - .../caniuse-lite/data/features/svg-smil.js | 1 - .../caniuse-lite/data/features/svg.js | 1 - .../caniuse-lite/data/features/sxg.js | 1 - .../data/features/tabindex-attr.js | 1 - .../data/features/template-literals.js | 1 - .../caniuse-lite/data/features/template.js | 1 - .../caniuse-lite/data/features/temporal.js | 1 - .../caniuse-lite/data/features/testfeat.js | 1 - .../data/features/text-decoration.js | 1 - .../data/features/text-emphasis.js | 1 - .../data/features/text-overflow.js | 1 - .../data/features/text-size-adjust.js | 1 - .../caniuse-lite/data/features/text-stroke.js | 1 - .../caniuse-lite/data/features/textcontent.js | 1 - .../caniuse-lite/data/features/textencoder.js | 1 - .../caniuse-lite/data/features/tls1-1.js | 1 - .../caniuse-lite/data/features/tls1-2.js | 1 - .../caniuse-lite/data/features/tls1-3.js | 1 - .../caniuse-lite/data/features/touch.js | 1 - .../data/features/transforms2d.js | 1 - .../data/features/transforms3d.js | 1 - .../data/features/trusted-types.js | 1 - .../caniuse-lite/data/features/ttf.js | 1 - .../caniuse-lite/data/features/typedarrays.js | 1 - .../caniuse-lite/data/features/u2f.js | 1 - .../data/features/unhandledrejection.js | 1 - .../data/features/upgradeinsecurerequests.js | 1 - .../features/url-scroll-to-text-fragment.js | 1 - .../caniuse-lite/data/features/url.js | 1 - .../data/features/urlsearchparams.js | 1 - .../caniuse-lite/data/features/use-strict.js | 1 - .../data/features/user-select-none.js | 1 - .../caniuse-lite/data/features/user-timing.js | 1 - .../data/features/variable-fonts.js | 1 - .../data/features/vector-effect.js | 1 - .../caniuse-lite/data/features/vibration.js | 1 - .../caniuse-lite/data/features/video.js | 1 - .../caniuse-lite/data/features/videotracks.js | 1 - .../data/features/view-transitions.js | 1 - .../data/features/viewport-unit-variants.js | 1 - .../data/features/viewport-units.js | 1 - .../caniuse-lite/data/features/wai-aria.js | 1 - .../caniuse-lite/data/features/wake-lock.js | 1 - .../caniuse-lite/data/features/wasm-bigint.js | 1 - .../data/features/wasm-bulk-memory.js | 1 - .../data/features/wasm-extended-const.js | 1 - .../caniuse-lite/data/features/wasm-gc.js | 1 - .../data/features/wasm-multi-memory.js | 1 - .../data/features/wasm-multi-value.js | 1 - .../data/features/wasm-mutable-globals.js | 1 - .../data/features/wasm-nontrapping-fptoint.js | 1 - .../data/features/wasm-reference-types.js | 1 - .../data/features/wasm-relaxed-simd.js | 1 - .../data/features/wasm-signext.js | 1 - .../caniuse-lite/data/features/wasm-simd.js | 1 - .../data/features/wasm-tail-calls.js | 1 - .../data/features/wasm-threads.js | 1 - .../caniuse-lite/data/features/wasm.js | 1 - .../caniuse-lite/data/features/wav.js | 1 - .../caniuse-lite/data/features/wbr-element.js | 1 - .../data/features/web-animation.js | 1 - .../data/features/web-app-manifest.js | 1 - .../data/features/web-bluetooth.js | 1 - .../caniuse-lite/data/features/web-serial.js | 1 - .../caniuse-lite/data/features/web-share.js | 1 - .../caniuse-lite/data/features/webauthn.js | 1 - .../caniuse-lite/data/features/webcodecs.js | 1 - .../caniuse-lite/data/features/webgl.js | 1 - .../caniuse-lite/data/features/webgl2.js | 1 - .../caniuse-lite/data/features/webgpu.js | 1 - .../caniuse-lite/data/features/webhid.js | 1 - .../data/features/webkit-user-drag.js | 1 - .../caniuse-lite/data/features/webm.js | 1 - .../caniuse-lite/data/features/webnfc.js | 1 - .../caniuse-lite/data/features/webp.js | 1 - .../caniuse-lite/data/features/websockets.js | 1 - .../data/features/webtransport.js | 1 - .../caniuse-lite/data/features/webusb.js | 1 - .../caniuse-lite/data/features/webvr.js | 1 - .../caniuse-lite/data/features/webvtt.js | 1 - .../caniuse-lite/data/features/webworkers.js | 1 - .../caniuse-lite/data/features/webxr.js | 1 - .../caniuse-lite/data/features/will-change.js | 1 - .../caniuse-lite/data/features/woff.js | 1 - .../caniuse-lite/data/features/woff2.js | 1 - .../caniuse-lite/data/features/word-break.js | 1 - .../caniuse-lite/data/features/wordwrap.js | 1 - .../data/features/x-doc-messaging.js | 1 - .../data/features/x-frame-options.js | 1 - .../caniuse-lite/data/features/xhr2.js | 1 - .../caniuse-lite/data/features/xhtml.js | 1 - .../caniuse-lite/data/features/xhtmlsmil.js | 1 - .../data/features/xml-serializer.js | 1 - .../caniuse-lite/data/features/zstd.js | 1 - .../caniuse-lite/data/regions/AD.js | 1 - .../caniuse-lite/data/regions/AE.js | 1 - .../caniuse-lite/data/regions/AF.js | 1 - .../caniuse-lite/data/regions/AG.js | 1 - .../caniuse-lite/data/regions/AI.js | 1 - .../caniuse-lite/data/regions/AL.js | 1 - .../caniuse-lite/data/regions/AM.js | 1 - .../caniuse-lite/data/regions/AO.js | 1 - .../caniuse-lite/data/regions/AR.js | 1 - .../caniuse-lite/data/regions/AS.js | 1 - .../caniuse-lite/data/regions/AT.js | 1 - .../caniuse-lite/data/regions/AU.js | 1 - .../caniuse-lite/data/regions/AW.js | 1 - .../caniuse-lite/data/regions/AX.js | 1 - .../caniuse-lite/data/regions/AZ.js | 1 - .../caniuse-lite/data/regions/BA.js | 1 - .../caniuse-lite/data/regions/BB.js | 1 - .../caniuse-lite/data/regions/BD.js | 1 - .../caniuse-lite/data/regions/BE.js | 1 - .../caniuse-lite/data/regions/BF.js | 1 - .../caniuse-lite/data/regions/BG.js | 1 - .../caniuse-lite/data/regions/BH.js | 1 - .../caniuse-lite/data/regions/BI.js | 1 - .../caniuse-lite/data/regions/BJ.js | 1 - .../caniuse-lite/data/regions/BM.js | 1 - .../caniuse-lite/data/regions/BN.js | 1 - .../caniuse-lite/data/regions/BO.js | 1 - .../caniuse-lite/data/regions/BR.js | 1 - .../caniuse-lite/data/regions/BS.js | 1 - .../caniuse-lite/data/regions/BT.js | 1 - .../caniuse-lite/data/regions/BW.js | 1 - .../caniuse-lite/data/regions/BY.js | 1 - .../caniuse-lite/data/regions/BZ.js | 1 - .../caniuse-lite/data/regions/CA.js | 1 - .../caniuse-lite/data/regions/CD.js | 1 - .../caniuse-lite/data/regions/CF.js | 1 - .../caniuse-lite/data/regions/CG.js | 1 - .../caniuse-lite/data/regions/CH.js | 1 - .../caniuse-lite/data/regions/CI.js | 1 - .../caniuse-lite/data/regions/CK.js | 1 - .../caniuse-lite/data/regions/CL.js | 1 - .../caniuse-lite/data/regions/CM.js | 1 - .../caniuse-lite/data/regions/CN.js | 1 - .../caniuse-lite/data/regions/CO.js | 1 - .../caniuse-lite/data/regions/CR.js | 1 - .../caniuse-lite/data/regions/CU.js | 1 - .../caniuse-lite/data/regions/CV.js | 1 - .../caniuse-lite/data/regions/CX.js | 1 - .../caniuse-lite/data/regions/CY.js | 1 - .../caniuse-lite/data/regions/CZ.js | 1 - .../caniuse-lite/data/regions/DE.js | 1 - .../caniuse-lite/data/regions/DJ.js | 1 - .../caniuse-lite/data/regions/DK.js | 1 - .../caniuse-lite/data/regions/DM.js | 1 - .../caniuse-lite/data/regions/DO.js | 1 - .../caniuse-lite/data/regions/DZ.js | 1 - .../caniuse-lite/data/regions/EC.js | 1 - .../caniuse-lite/data/regions/EE.js | 1 - .../caniuse-lite/data/regions/EG.js | 1 - .../caniuse-lite/data/regions/ER.js | 1 - .../caniuse-lite/data/regions/ES.js | 1 - .../caniuse-lite/data/regions/ET.js | 1 - .../caniuse-lite/data/regions/FI.js | 1 - .../caniuse-lite/data/regions/FJ.js | 1 - .../caniuse-lite/data/regions/FK.js | 1 - .../caniuse-lite/data/regions/FM.js | 1 - .../caniuse-lite/data/regions/FO.js | 1 - .../caniuse-lite/data/regions/FR.js | 1 - .../caniuse-lite/data/regions/GA.js | 1 - .../caniuse-lite/data/regions/GB.js | 1 - .../caniuse-lite/data/regions/GD.js | 1 - .../caniuse-lite/data/regions/GE.js | 1 - .../caniuse-lite/data/regions/GF.js | 1 - .../caniuse-lite/data/regions/GG.js | 1 - .../caniuse-lite/data/regions/GH.js | 1 - .../caniuse-lite/data/regions/GI.js | 1 - .../caniuse-lite/data/regions/GL.js | 1 - .../caniuse-lite/data/regions/GM.js | 1 - .../caniuse-lite/data/regions/GN.js | 1 - .../caniuse-lite/data/regions/GP.js | 1 - .../caniuse-lite/data/regions/GQ.js | 1 - .../caniuse-lite/data/regions/GR.js | 1 - .../caniuse-lite/data/regions/GT.js | 1 - .../caniuse-lite/data/regions/GU.js | 1 - .../caniuse-lite/data/regions/GW.js | 1 - .../caniuse-lite/data/regions/GY.js | 1 - .../caniuse-lite/data/regions/HK.js | 1 - .../caniuse-lite/data/regions/HN.js | 1 - .../caniuse-lite/data/regions/HR.js | 1 - .../caniuse-lite/data/regions/HT.js | 1 - .../caniuse-lite/data/regions/HU.js | 1 - .../caniuse-lite/data/regions/ID.js | 1 - .../caniuse-lite/data/regions/IE.js | 1 - .../caniuse-lite/data/regions/IL.js | 1 - .../caniuse-lite/data/regions/IM.js | 1 - .../caniuse-lite/data/regions/IN.js | 1 - .../caniuse-lite/data/regions/IQ.js | 1 - .../caniuse-lite/data/regions/IR.js | 1 - .../caniuse-lite/data/regions/IS.js | 1 - .../caniuse-lite/data/regions/IT.js | 1 - .../caniuse-lite/data/regions/JE.js | 1 - .../caniuse-lite/data/regions/JM.js | 1 - .../caniuse-lite/data/regions/JO.js | 1 - .../caniuse-lite/data/regions/JP.js | 1 - .../caniuse-lite/data/regions/KE.js | 1 - .../caniuse-lite/data/regions/KG.js | 1 - .../caniuse-lite/data/regions/KH.js | 1 - .../caniuse-lite/data/regions/KI.js | 1 - .../caniuse-lite/data/regions/KM.js | 1 - .../caniuse-lite/data/regions/KN.js | 1 - .../caniuse-lite/data/regions/KP.js | 1 - .../caniuse-lite/data/regions/KR.js | 1 - .../caniuse-lite/data/regions/KW.js | 1 - .../caniuse-lite/data/regions/KY.js | 1 - .../caniuse-lite/data/regions/KZ.js | 1 - .../caniuse-lite/data/regions/LA.js | 1 - .../caniuse-lite/data/regions/LB.js | 1 - .../caniuse-lite/data/regions/LC.js | 1 - .../caniuse-lite/data/regions/LI.js | 1 - .../caniuse-lite/data/regions/LK.js | 1 - .../caniuse-lite/data/regions/LR.js | 1 - .../caniuse-lite/data/regions/LS.js | 1 - .../caniuse-lite/data/regions/LT.js | 1 - .../caniuse-lite/data/regions/LU.js | 1 - .../caniuse-lite/data/regions/LV.js | 1 - .../caniuse-lite/data/regions/LY.js | 1 - .../caniuse-lite/data/regions/MA.js | 1 - .../caniuse-lite/data/regions/MC.js | 1 - .../caniuse-lite/data/regions/MD.js | 1 - .../caniuse-lite/data/regions/ME.js | 1 - .../caniuse-lite/data/regions/MG.js | 1 - .../caniuse-lite/data/regions/MH.js | 1 - .../caniuse-lite/data/regions/MK.js | 1 - .../caniuse-lite/data/regions/ML.js | 1 - .../caniuse-lite/data/regions/MM.js | 1 - .../caniuse-lite/data/regions/MN.js | 1 - .../caniuse-lite/data/regions/MO.js | 1 - .../caniuse-lite/data/regions/MP.js | 1 - .../caniuse-lite/data/regions/MQ.js | 1 - .../caniuse-lite/data/regions/MR.js | 1 - .../caniuse-lite/data/regions/MS.js | 1 - .../caniuse-lite/data/regions/MT.js | 1 - .../caniuse-lite/data/regions/MU.js | 1 - .../caniuse-lite/data/regions/MV.js | 1 - .../caniuse-lite/data/regions/MW.js | 1 - .../caniuse-lite/data/regions/MX.js | 1 - .../caniuse-lite/data/regions/MY.js | 1 - .../caniuse-lite/data/regions/MZ.js | 1 - .../caniuse-lite/data/regions/NA.js | 1 - .../caniuse-lite/data/regions/NC.js | 1 - .../caniuse-lite/data/regions/NE.js | 1 - .../caniuse-lite/data/regions/NF.js | 1 - .../caniuse-lite/data/regions/NG.js | 1 - .../caniuse-lite/data/regions/NI.js | 1 - .../caniuse-lite/data/regions/NL.js | 1 - .../caniuse-lite/data/regions/NO.js | 1 - .../caniuse-lite/data/regions/NP.js | 1 - .../caniuse-lite/data/regions/NR.js | 1 - .../caniuse-lite/data/regions/NU.js | 1 - .../caniuse-lite/data/regions/NZ.js | 1 - .../caniuse-lite/data/regions/OM.js | 1 - .../caniuse-lite/data/regions/PA.js | 1 - .../caniuse-lite/data/regions/PE.js | 1 - .../caniuse-lite/data/regions/PF.js | 1 - .../caniuse-lite/data/regions/PG.js | 1 - .../caniuse-lite/data/regions/PH.js | 1 - .../caniuse-lite/data/regions/PK.js | 1 - .../caniuse-lite/data/regions/PL.js | 1 - .../caniuse-lite/data/regions/PM.js | 1 - .../caniuse-lite/data/regions/PN.js | 1 - .../caniuse-lite/data/regions/PR.js | 1 - .../caniuse-lite/data/regions/PS.js | 1 - .../caniuse-lite/data/regions/PT.js | 1 - .../caniuse-lite/data/regions/PW.js | 1 - .../caniuse-lite/data/regions/PY.js | 1 - .../caniuse-lite/data/regions/QA.js | 1 - .../caniuse-lite/data/regions/RE.js | 1 - .../caniuse-lite/data/regions/RO.js | 1 - .../caniuse-lite/data/regions/RS.js | 1 - .../caniuse-lite/data/regions/RU.js | 1 - .../caniuse-lite/data/regions/RW.js | 1 - .../caniuse-lite/data/regions/SA.js | 1 - .../caniuse-lite/data/regions/SB.js | 1 - .../caniuse-lite/data/regions/SC.js | 1 - .../caniuse-lite/data/regions/SD.js | 1 - .../caniuse-lite/data/regions/SE.js | 1 - .../caniuse-lite/data/regions/SG.js | 1 - .../caniuse-lite/data/regions/SH.js | 1 - .../caniuse-lite/data/regions/SI.js | 1 - .../caniuse-lite/data/regions/SK.js | 1 - .../caniuse-lite/data/regions/SL.js | 1 - .../caniuse-lite/data/regions/SM.js | 1 - .../caniuse-lite/data/regions/SN.js | 1 - .../caniuse-lite/data/regions/SO.js | 1 - .../caniuse-lite/data/regions/SR.js | 1 - .../caniuse-lite/data/regions/ST.js | 1 - .../caniuse-lite/data/regions/SV.js | 1 - .../caniuse-lite/data/regions/SY.js | 1 - .../caniuse-lite/data/regions/SZ.js | 1 - .../caniuse-lite/data/regions/TC.js | 1 - .../caniuse-lite/data/regions/TD.js | 1 - .../caniuse-lite/data/regions/TG.js | 1 - .../caniuse-lite/data/regions/TH.js | 1 - .../caniuse-lite/data/regions/TJ.js | 1 - .../caniuse-lite/data/regions/TL.js | 1 - .../caniuse-lite/data/regions/TM.js | 1 - .../caniuse-lite/data/regions/TN.js | 1 - .../caniuse-lite/data/regions/TO.js | 1 - .../caniuse-lite/data/regions/TR.js | 1 - .../caniuse-lite/data/regions/TT.js | 1 - .../caniuse-lite/data/regions/TV.js | 1 - .../caniuse-lite/data/regions/TW.js | 1 - .../caniuse-lite/data/regions/TZ.js | 1 - .../caniuse-lite/data/regions/UA.js | 1 - .../caniuse-lite/data/regions/UG.js | 1 - .../caniuse-lite/data/regions/US.js | 1 - .../caniuse-lite/data/regions/UY.js | 1 - .../caniuse-lite/data/regions/UZ.js | 1 - .../caniuse-lite/data/regions/VA.js | 1 - .../caniuse-lite/data/regions/VC.js | 1 - .../caniuse-lite/data/regions/VE.js | 1 - .../caniuse-lite/data/regions/VG.js | 1 - .../caniuse-lite/data/regions/VI.js | 1 - .../caniuse-lite/data/regions/VN.js | 1 - .../caniuse-lite/data/regions/VU.js | 1 - .../caniuse-lite/data/regions/WF.js | 1 - .../caniuse-lite/data/regions/WS.js | 1 - .../caniuse-lite/data/regions/YE.js | 1 - .../caniuse-lite/data/regions/YT.js | 1 - .../caniuse-lite/data/regions/ZA.js | 1 - .../caniuse-lite/data/regions/ZM.js | 1 - .../caniuse-lite/data/regions/ZW.js | 1 - .../caniuse-lite/data/regions/alt-af.js | 1 - .../caniuse-lite/data/regions/alt-an.js | 1 - .../caniuse-lite/data/regions/alt-as.js | 1 - .../caniuse-lite/data/regions/alt-eu.js | 1 - .../caniuse-lite/data/regions/alt-na.js | 1 - .../caniuse-lite/data/regions/alt-oc.js | 1 - .../caniuse-lite/data/regions/alt-sa.js | 1 - .../caniuse-lite/data/regions/alt-ww.js | 1 - .../caniuse-lite/dist/lib/statuses.js | 9 - .../caniuse-lite/dist/lib/supported.js | 9 - .../caniuse-lite/dist/unpacker/agents.js | 47 - .../dist/unpacker/browserVersions.js | 1 - .../caniuse-lite/dist/unpacker/browsers.js | 1 - .../caniuse-lite/dist/unpacker/feature.js | 52 - .../caniuse-lite/dist/unpacker/features.js | 6 - .../caniuse-lite/dist/unpacker/index.js | 4 - .../caniuse-lite/dist/unpacker/region.js | 22 - .../node_modules/caniuse-lite/package.json | 34 - .../node_modules/char-regex/LICENSE | 21 - .../node_modules/char-regex/README.md | 27 - .../node_modules/char-regex/index.d.ts | 13 - .../node_modules/char-regex/index.js | 39 - .../node_modules/char-regex/package.json | 44 - .../node_modules/ci-info/CHANGELOG.md | 178 - .../risk-engine/node_modules/ci-info/LICENSE | 21 - .../node_modules/ci-info/README.md | 135 - .../node_modules/ci-info/index.d.ts | 75 - .../risk-engine/node_modules/ci-info/index.js | 90 - .../node_modules/ci-info/package.json | 45 - .../node_modules/ci-info/vendors.json | 321 - .../node_modules/cjs-module-lexer/LICENSE | 10 - .../node_modules/cjs-module-lexer/README.md | 462 - .../cjs-module-lexer/dist/lexer.js | 1 - .../cjs-module-lexer/dist/lexer.mjs | 2 - .../node_modules/cjs-module-lexer/lexer.d.ts | 8 - .../node_modules/cjs-module-lexer/lexer.js | 1443 -- .../cjs-module-lexer/package.json | 48 - .../node_modules/cliui/CHANGELOG.md | 139 - .../node_modules/cliui/LICENSE.txt | 14 - .../risk-engine/node_modules/cliui/README.md | 141 - .../node_modules/cliui/build/index.cjs | 302 - .../node_modules/cliui/build/index.d.cts | 43 - .../node_modules/cliui/build/lib/index.js | 287 - .../cliui/build/lib/string-utils.js | 27 - .../risk-engine/node_modules/cliui/index.mjs | 13 - .../node_modules/cliui/package.json | 83 - .../risk-engine/node_modules/co/History.md | 172 - lambdas/risk-engine/node_modules/co/LICENSE | 22 - lambdas/risk-engine/node_modules/co/Readme.md | 212 - lambdas/risk-engine/node_modules/co/index.js | 237 - .../risk-engine/node_modules/co/package.json | 34 - .../collect-v8-coverage/CHANGELOG.md | 25 - .../node_modules/collect-v8-coverage/LICENSE | 22 - .../collect-v8-coverage/README.md | 15 - .../collect-v8-coverage/index.d.ts | 7 - .../node_modules/collect-v8-coverage/index.js | 56 - .../collect-v8-coverage/package.json | 49 - .../node_modules/convert-source-map/LICENSE | 23 - .../node_modules/convert-source-map/README.md | 206 - .../node_modules/convert-source-map/index.js | 233 - .../convert-source-map/package.json | 38 - .../node_modules/create-jest/LICENSE | 21 - .../node_modules/create-jest/README.md | 11 - .../create-jest/bin/create-jest.js | 8 - .../node_modules/create-jest/build/errors.js | 31 - .../create-jest/build/generateConfigFile.js | 92 - .../node_modules/create-jest/build/index.d.ts | 12 - .../node_modules/create-jest/build/index.js | 18 - .../create-jest/build/modifyPackageJson.js | 26 - .../create-jest/build/questions.js | 76 - .../create-jest/build/runCreate.js | 237 - .../node_modules/create-jest/build/types.js | 1 - .../node_modules/create-jest/package.json | 43 - .../node_modules/dedent/LICENSE.md | 20 - .../risk-engine/node_modules/dedent/README.md | 244 - .../node_modules/dedent/dist/dedent.d.mts | 15 - .../node_modules/dedent/dist/dedent.d.ts | 15 - .../node_modules/dedent/dist/dedent.js | 105 - .../node_modules/dedent/dist/dedent.mjs | 99 - .../risk-engine/node_modules/dedent/macro.js | 32 - .../node_modules/dedent/package.json | 121 - .../node_modules/deepmerge/.editorconfig | 7 - .../node_modules/deepmerge/.eslintcache | 1 - .../node_modules/deepmerge/changelog.md | 167 - .../node_modules/deepmerge/dist/cjs.js | 133 - .../node_modules/deepmerge/dist/umd.js | 139 - .../node_modules/deepmerge/index.d.ts | 20 - .../node_modules/deepmerge/index.js | 106 - .../node_modules/deepmerge/license.txt | 21 - .../node_modules/deepmerge/package.json | 42 - .../node_modules/deepmerge/readme.md | 264 - .../node_modules/deepmerge/rollup.config.js | 22 - .../node_modules/detect-newline/index.d.ts | 26 - .../node_modules/detect-newline/index.js | 21 - .../node_modules/detect-newline/license | 9 - .../node_modules/detect-newline/package.json | 39 - .../node_modules/detect-newline/readme.md | 42 - .../node_modules/diff-sequences/LICENSE | 21 - .../node_modules/diff-sequences/README.md | 404 - .../diff-sequences/build/index.d.ts | 38 - .../diff-sequences/build/index.js | 798 - .../node_modules/diff-sequences/package.json | 39 - .../node_modules/electron-to-chromium/LICENSE | 5 - .../electron-to-chromium/README.md | 186 - .../electron-to-chromium/chromium-versions.js | 87 - .../chromium-versions.json | 1 - .../full-chromium-versions.js | 2753 --- .../full-chromium-versions.json | 1 - .../electron-to-chromium/full-versions.js | 1751 -- .../electron-to-chromium/full-versions.json | 1 - .../electron-to-chromium/index.js | 36 - .../electron-to-chromium/package.json | 43 - .../electron-to-chromium/versions.js | 242 - .../electron-to-chromium/versions.json | 1 - .../node_modules/emittery/index.d.ts | 606 - .../node_modules/emittery/index.js | 531 - .../risk-engine/node_modules/emittery/license | 9 - .../risk-engine/node_modules/emittery/maps.js | 9 - .../node_modules/emittery/package.json | 67 - .../node_modules/emittery/readme.md | 569 - .../node_modules/emoji-regex/LICENSE-MIT.txt | 20 - .../node_modules/emoji-regex/README.md | 73 - .../node_modules/emoji-regex/es2015/index.js | 6 - .../node_modules/emoji-regex/es2015/text.js | 6 - .../node_modules/emoji-regex/index.d.ts | 23 - .../node_modules/emoji-regex/index.js | 6 - .../node_modules/emoji-regex/package.json | 50 - .../node_modules/emoji-regex/text.js | 6 - .../risk-engine/node_modules/error-ex/LICENSE | 21 - .../node_modules/error-ex/README.md | 144 - .../node_modules/error-ex/index.js | 141 - .../node_modules/error-ex/package.json | 46 - .../node_modules/escalade/dist/index.js | 22 - .../node_modules/escalade/dist/index.mjs | 22 - .../node_modules/escalade/index.d.mts | 11 - .../node_modules/escalade/index.d.ts | 15 - .../risk-engine/node_modules/escalade/license | 9 - .../node_modules/escalade/package.json | 74 - .../node_modules/escalade/readme.md | 211 - .../node_modules/escalade/sync/index.d.mts | 9 - .../node_modules/escalade/sync/index.d.ts | 13 - .../node_modules/escalade/sync/index.js | 18 - .../node_modules/escalade/sync/index.mjs | 18 - .../escape-string-regexp/index.d.ts | 18 - .../escape-string-regexp/index.js | 11 - .../node_modules/escape-string-regexp/license | 9 - .../escape-string-regexp/package.json | 43 - .../escape-string-regexp/readme.md | 29 - .../node_modules/esprima/ChangeLog | 235 - .../node_modules/esprima/LICENSE.BSD | 21 - .../node_modules/esprima/README.md | 46 - .../node_modules/esprima/bin/esparse.js | 139 - .../node_modules/esprima/bin/esvalidate.js | 236 - .../node_modules/esprima/dist/esprima.js | 6709 ------- .../node_modules/esprima/package.json | 112 - .../risk-engine/node_modules/execa/index.d.ts | 564 - .../risk-engine/node_modules/execa/index.js | 268 - .../node_modules/execa/lib/command.js | 52 - .../node_modules/execa/lib/error.js | 88 - .../node_modules/execa/lib/kill.js | 115 - .../node_modules/execa/lib/promise.js | 46 - .../node_modules/execa/lib/stdio.js | 52 - .../node_modules/execa/lib/stream.js | 97 - .../risk-engine/node_modules/execa/license | 9 - .../node_modules/execa/package.json | 74 - .../risk-engine/node_modules/execa/readme.md | 663 - .../risk-engine/node_modules/exit/.jshintrc | 14 - .../risk-engine/node_modules/exit/.npmignore | 0 .../risk-engine/node_modules/exit/.travis.yml | 6 - .../node_modules/exit/Gruntfile.js | 48 - .../risk-engine/node_modules/exit/LICENSE-MIT | 22 - .../risk-engine/node_modules/exit/README.md | 75 - .../risk-engine/node_modules/exit/lib/exit.js | 41 - .../node_modules/exit/package.json | 47 - .../node_modules/exit/test/exit_test.js | 121 - .../exit/test/fixtures/10-stderr.txt | 10 - .../exit/test/fixtures/10-stdout-stderr.txt | 20 - .../exit/test/fixtures/10-stdout.txt | 10 - .../exit/test/fixtures/100-stderr.txt | 100 - .../exit/test/fixtures/100-stdout-stderr.txt | 200 - .../exit/test/fixtures/100-stdout.txt | 100 - .../exit/test/fixtures/1000-stderr.txt | 1000 -- .../exit/test/fixtures/1000-stdout-stderr.txt | 2000 --- .../exit/test/fixtures/1000-stdout.txt | 1000 -- .../exit/test/fixtures/create-files.sh | 8 - .../exit/test/fixtures/log-broken.js | 23 - .../node_modules/exit/test/fixtures/log.js | 25 - .../risk-engine/node_modules/expect/LICENSE | 21 - .../risk-engine/node_modules/expect/README.md | 3 - .../expect/build/asymmetricMatchers.js | 375 - .../build/extractExpectedAssertionsErrors.js | 86 - .../node_modules/expect/build/index.d.ts | 370 - .../node_modules/expect/build/index.js | 410 - .../expect/build/jestMatchersObject.js | 123 - .../node_modules/expect/build/matchers.js | 1292 -- .../node_modules/expect/build/print.js | 122 - .../node_modules/expect/build/spyMatchers.js | 1254 -- .../expect/build/toThrowMatchers.js | 481 - .../node_modules/expect/build/types.js | 3 - .../node_modules/expect/package.json | 43 - .../node_modules/fb-watchman/README.md | 34 - .../node_modules/fb-watchman/index.js | 327 - .../node_modules/fb-watchman/package.json | 35 - .../node_modules/find-up/index.d.ts | 137 - .../risk-engine/node_modules/find-up/index.js | 89 - .../risk-engine/node_modules/find-up/license | 9 - .../node_modules/find-up/package.json | 53 - .../node_modules/find-up/readme.md | 156 - .../risk-engine/node_modules/gensync/LICENSE | 7 - .../node_modules/gensync/README.md | 196 - .../risk-engine/node_modules/gensync/index.js | 373 - .../node_modules/gensync/index.js.flow | 32 - .../node_modules/gensync/package.json | 37 - .../node_modules/gensync/test/.babelrc | 5 - .../node_modules/gensync/test/index.test.js | 489 - .../node_modules/get-caller-file/LICENSE.md | 6 - .../node_modules/get-caller-file/README.md | 41 - .../node_modules/get-caller-file/index.d.ts | 2 - .../node_modules/get-caller-file/index.js | 22 - .../node_modules/get-caller-file/index.js.map | 1 - .../node_modules/get-caller-file/package.json | 42 - .../get-package-type/CHANGELOG.md | 10 - .../node_modules/get-package-type/LICENSE | 21 - .../node_modules/get-package-type/README.md | 32 - .../node_modules/get-package-type/async.cjs | 52 - .../node_modules/get-package-type/cache.cjs | 3 - .../node_modules/get-package-type/index.cjs | 7 - .../get-package-type/is-node-modules.cjs | 15 - .../get-package-type/package.json | 35 - .../node_modules/get-package-type/sync.cjs | 42 - .../node_modules/get-stream/buffer-stream.js | 52 - .../node_modules/get-stream/index.d.ts | 105 - .../node_modules/get-stream/index.js | 61 - .../node_modules/get-stream/license | 9 - .../node_modules/get-stream/package.json | 47 - .../node_modules/get-stream/readme.md | 124 - .../node_modules/graceful-fs/LICENSE | 15 - .../node_modules/graceful-fs/README.md | 143 - .../node_modules/graceful-fs/clone.js | 23 - .../node_modules/graceful-fs/graceful-fs.js | 448 - .../graceful-fs/legacy-streams.js | 118 - .../node_modules/graceful-fs/package.json | 53 - .../node_modules/graceful-fs/polyfills.js | 355 - .../node_modules/handlebars/LICENSE | 19 - .../node_modules/handlebars/README.markdown | 167 - .../node_modules/handlebars/bin/.eslintrc.js | 6 - .../node_modules/handlebars/bin/handlebars | 176 - .../handlebars/dist/amd/handlebars.js | 52 - .../handlebars/dist/amd/handlebars.runtime.js | 44 - .../handlebars/dist/amd/handlebars/base.js | 106 - .../dist/amd/handlebars/compiler/ast.js | 31 - .../dist/amd/handlebars/compiler/base.js | 102 - .../dist/amd/handlebars/compiler/code-gen.js | 165 - .../dist/amd/handlebars/compiler/compiler.js | 562 - .../dist/amd/handlebars/compiler/helpers.js | 228 - .../compiler/javascript-compiler.js | 1158 -- .../dist/amd/handlebars/compiler/parser.js | 737 - .../dist/amd/handlebars/compiler/printer.js | 186 - .../dist/amd/handlebars/compiler/visitor.js | 138 - .../handlebars/compiler/whitespace-control.js | 219 - .../dist/amd/handlebars/decorators.js | 16 - .../dist/amd/handlebars/decorators/inline.js | 25 - .../dist/amd/handlebars/exception.js | 64 - .../handlebars/dist/amd/handlebars/helpers.js | 45 - .../helpers/block-helper-missing.js | 35 - .../dist/amd/handlebars/helpers/each.js | 99 - .../amd/handlebars/helpers/helper-missing.js | 22 - .../dist/amd/handlebars/helpers/if.js | 41 - .../dist/amd/handlebars/helpers/log.js | 24 - .../dist/amd/handlebars/helpers/lookup.js | 14 - .../dist/amd/handlebars/helpers/with.js | 38 - .../amd/handlebars/internal/proto-access.js | 76 - .../amd/handlebars/internal/wrapHelper.js | 21 - .../handlebars/dist/amd/handlebars/logger.js | 44 - .../dist/amd/handlebars/no-conflict.js | 28 - .../handlebars/dist/amd/handlebars/runtime.js | 363 - .../dist/amd/handlebars/safe-string.js | 15 - .../handlebars/dist/amd/handlebars/utils.js | 126 - .../handlebars/dist/amd/precompiler.js | 345 - .../handlebars/dist/cjs/handlebars.js | 66 - .../handlebars/dist/cjs/handlebars.runtime.js | 66 - .../handlebars/dist/cjs/handlebars/base.js | 116 - .../dist/cjs/handlebars/compiler/ast.js | 31 - .../dist/cjs/handlebars/compiler/base.js | 116 - .../dist/cjs/handlebars/compiler/code-gen.js | 168 - .../dist/cjs/handlebars/compiler/compiler.js | 566 - .../dist/cjs/handlebars/compiler/helpers.js | 228 - .../compiler/javascript-compiler.js | 1166 -- .../dist/cjs/handlebars/compiler/parser.js | 737 - .../dist/cjs/handlebars/compiler/printer.js | 186 - .../dist/cjs/handlebars/compiler/visitor.js | 140 - .../handlebars/compiler/whitespace-control.js | 221 - .../dist/cjs/handlebars/decorators.js | 16 - .../dist/cjs/handlebars/decorators/inline.js | 29 - .../dist/cjs/handlebars/exception.js | 64 - .../handlebars/dist/cjs/handlebars/helpers.js | 57 - .../helpers/block-helper-missing.js | 39 - .../dist/cjs/handlebars/helpers/each.js | 104 - .../cjs/handlebars/helpers/helper-missing.js | 25 - .../dist/cjs/handlebars/helpers/if.js | 46 - .../dist/cjs/handlebars/helpers/log.js | 26 - .../dist/cjs/handlebars/helpers/lookup.js | 16 - .../dist/cjs/handlebars/helpers/with.js | 43 - .../cjs/handlebars/internal/proto-access.js | 78 - .../cjs/handlebars/internal/wrapHelper.js | 19 - .../handlebars/dist/cjs/handlebars/logger.js | 47 - .../dist/cjs/handlebars/no-conflict.js | 30 - .../handlebars/dist/cjs/handlebars/runtime.js | 379 - .../dist/cjs/handlebars/safe-string.js | 15 - .../handlebars/dist/cjs/handlebars/utils.js | 124 - .../handlebars/dist/cjs/precompiler.js | 359 - .../handlebars/dist/handlebars.amd.js | 4694 ----- .../handlebars/dist/handlebars.amd.min.js | 29 - .../handlebars/dist/handlebars.js | 6026 ------- .../handlebars/dist/handlebars.min.js | 29 - .../handlebars/dist/handlebars.runtime.amd.js | 1292 -- .../dist/handlebars.runtime.amd.min.js | 27 - .../handlebars/dist/handlebars.runtime.js | 2548 --- .../handlebars/dist/handlebars.runtime.min.js | 27 - .../node_modules/handlebars/lib/.eslintrc.js | 8 - .../node_modules/handlebars/lib/handlebars.js | 46 - .../handlebars/lib/handlebars.runtime.js | 37 - .../handlebars/lib/handlebars/base.js | 94 - .../handlebars/lib/handlebars/compiler/ast.js | 32 - .../lib/handlebars/compiler/base.js | 101 - .../lib/handlebars/compiler/code-gen.js | 171 - .../lib/handlebars/compiler/compiler.js | 594 - .../lib/handlebars/compiler/helpers.js | 219 - .../compiler/javascript-compiler.js | 1306 -- .../lib/handlebars/compiler/parser.js | 622 - .../lib/handlebars/compiler/printer.js | 178 - .../lib/handlebars/compiler/visitor.js | 136 - .../handlebars/compiler/whitespace-control.js | 234 - .../handlebars/lib/handlebars/decorators.js | 5 - .../lib/handlebars/decorators/inline.js | 22 - .../handlebars/lib/handlebars/exception.js | 68 - .../handlebars/lib/handlebars/helpers.js | 27 - .../helpers/block-helper-missing.js | 35 - .../handlebars/lib/handlebars/helpers/each.js | 101 - .../lib/handlebars/helpers/helper-missing.js | 15 - .../handlebars/lib/handlebars/helpers/if.js | 33 - .../handlebars/lib/handlebars/helpers/log.js | 19 - .../lib/handlebars/helpers/lookup.js | 9 - .../handlebars/lib/handlebars/helpers/with.js | 39 - .../lib/handlebars/internal/proto-access.js | 69 - .../lib/handlebars/internal/wrapHelper.js | 13 - .../handlebars/lib/handlebars/logger.js | 39 - .../handlebars/lib/handlebars/no-conflict.js | 23 - .../handlebars/lib/handlebars/runtime.js | 452 - .../handlebars/lib/handlebars/safe-string.js | 10 - .../handlebars/lib/handlebars/utils.js | 116 - .../node_modules/handlebars/lib/index.js | 26 - .../handlebars/lib/precompiler.js | 378 - .../node_modules/handlebars/package.json | 134 - .../node_modules/handlebars/release-notes.md | 1112 -- .../node_modules/handlebars/runtime.d.ts | 5 - .../node_modules/handlebars/runtime.js | 3 - .../node_modules/handlebars/types/index.d.ts | 422 - .../node_modules/html-escaper/LICENSE.txt | 19 - .../node_modules/html-escaper/README.md | 97 - .../node_modules/html-escaper/cjs/index.js | 65 - .../html-escaper/cjs/package.json | 1 - .../node_modules/html-escaper/esm/index.js | 62 - .../node_modules/html-escaper/index.js | 70 - .../node_modules/html-escaper/min.js | 1 - .../node_modules/html-escaper/package.json | 42 - .../node_modules/html-escaper/test/index.js | 23 - .../html-escaper/test/package.json | 1 - .../node_modules/human-signals/CHANGELOG.md | 11 - .../node_modules/human-signals/LICENSE | 201 - .../node_modules/human-signals/README.md | 165 - .../human-signals/build/src/core.js | 273 - .../human-signals/build/src/core.js.map | 1 - .../human-signals/build/src/main.d.ts | 52 - .../human-signals/build/src/main.js | 71 - .../human-signals/build/src/main.js.map | 1 - .../human-signals/build/src/realtime.js | 19 - .../human-signals/build/src/realtime.js.map | 1 - .../human-signals/build/src/signals.js | 35 - .../human-signals/build/src/signals.js.map | 1 - .../node_modules/human-signals/package.json | 64 - .../node_modules/import-local/fixtures/cli.js | 7 - .../node_modules/import-local/index.d.ts | 17 - .../node_modules/import-local/index.js | 24 - .../node_modules/import-local/license | 9 - .../node_modules/import-local/package.json | 54 - .../node_modules/import-local/readme.md | 25 - .../node_modules/is-arrayish/.editorconfig | 18 - .../node_modules/is-arrayish/.istanbul.yml | 4 - .../node_modules/is-arrayish/.npmignore | 5 - .../node_modules/is-arrayish/.travis.yml | 17 - .../node_modules/is-arrayish/LICENSE | 21 - .../node_modules/is-arrayish/README.md | 16 - .../node_modules/is-arrayish/index.js | 10 - .../node_modules/is-arrayish/package.json | 34 - .../node_modules/is-generator-fn/index.d.ts | 24 - .../node_modules/is-generator-fn/index.js | 14 - .../node_modules/is-generator-fn/license | 9 - .../node_modules/is-generator-fn/package.json | 38 - .../node_modules/is-generator-fn/readme.md | 33 - .../node_modules/is-stream/index.d.ts | 79 - .../node_modules/is-stream/index.js | 28 - .../node_modules/is-stream/license | 9 - .../node_modules/is-stream/package.json | 42 - .../node_modules/is-stream/readme.md | 60 - .../istanbul-lib-coverage/CHANGELOG.md | 209 - .../istanbul-lib-coverage/LICENSE | 24 - .../istanbul-lib-coverage/README.md | 29 - .../istanbul-lib-coverage/index.js | 64 - .../istanbul-lib-coverage/lib/coverage-map.js | 134 - .../lib/coverage-summary.js | 112 - .../lib/data-properties.js | 12 - .../lib/file-coverage.js | 444 - .../istanbul-lib-coverage/lib/percent.js | 15 - .../istanbul-lib-coverage/package.json | 47 - .../istanbul-lib-instrument/CHANGELOG.md | 664 - .../istanbul-lib-instrument/LICENSE | 24 - .../istanbul-lib-instrument/README.md | 22 - .../node_modules/.bin/semver | 1 - .../node_modules/semver/LICENSE | 15 - .../node_modules/semver/README.md | 665 - .../node_modules/semver/bin/semver.js | 191 - .../node_modules/semver/classes/comparator.js | 143 - .../node_modules/semver/classes/index.js | 7 - .../node_modules/semver/classes/range.js | 557 - .../node_modules/semver/classes/semver.js | 333 - .../node_modules/semver/functions/clean.js | 8 - .../node_modules/semver/functions/cmp.js | 54 - .../node_modules/semver/functions/coerce.js | 62 - .../semver/functions/compare-build.js | 9 - .../semver/functions/compare-loose.js | 5 - .../node_modules/semver/functions/compare.js | 7 - .../node_modules/semver/functions/diff.js | 60 - .../node_modules/semver/functions/eq.js | 5 - .../node_modules/semver/functions/gt.js | 5 - .../node_modules/semver/functions/gte.js | 5 - .../node_modules/semver/functions/inc.js | 21 - .../node_modules/semver/functions/lt.js | 5 - .../node_modules/semver/functions/lte.js | 5 - .../node_modules/semver/functions/major.js | 5 - .../node_modules/semver/functions/minor.js | 5 - .../node_modules/semver/functions/neq.js | 5 - .../node_modules/semver/functions/parse.js | 18 - .../node_modules/semver/functions/patch.js | 5 - .../semver/functions/prerelease.js | 8 - .../node_modules/semver/functions/rcompare.js | 5 - .../node_modules/semver/functions/rsort.js | 5 - .../semver/functions/satisfies.js | 12 - .../node_modules/semver/functions/sort.js | 5 - .../node_modules/semver/functions/valid.js | 8 - .../node_modules/semver/index.js | 91 - .../node_modules/semver/internal/constants.js | 37 - .../node_modules/semver/internal/debug.js | 11 - .../semver/internal/identifiers.js | 29 - .../node_modules/semver/internal/lrucache.js | 42 - .../semver/internal/parse-options.js | 17 - .../node_modules/semver/internal/re.js | 223 - .../node_modules/semver/package.json | 78 - .../node_modules/semver/preload.js | 4 - .../node_modules/semver/range.bnf | 16 - .../node_modules/semver/ranges/gtr.js | 6 - .../node_modules/semver/ranges/intersects.js | 9 - .../node_modules/semver/ranges/ltr.js | 6 - .../semver/ranges/max-satisfying.js | 27 - .../semver/ranges/min-satisfying.js | 26 - .../node_modules/semver/ranges/min-version.js | 63 - .../node_modules/semver/ranges/outside.js | 82 - .../node_modules/semver/ranges/simplify.js | 49 - .../node_modules/semver/ranges/subset.js | 249 - .../semver/ranges/to-comparators.js | 10 - .../node_modules/semver/ranges/valid.js | 13 - .../istanbul-lib-instrument/package.json | 50 - .../istanbul-lib-instrument/src/constants.js | 14 - .../istanbul-lib-instrument/src/index.js | 21 - .../src/instrumenter.js | 164 - .../src/read-coverage.js | 77 - .../src/source-coverage.js | 135 - .../istanbul-lib-instrument/src/visitor.js | 843 - .../istanbul-lib-report/CHANGELOG.md | 192 - .../node_modules/istanbul-lib-report/LICENSE | 24 - .../istanbul-lib-report/README.md | 43 - .../node_modules/istanbul-lib-report/index.js | 40 - .../istanbul-lib-report/lib/context.js | 132 - .../istanbul-lib-report/lib/file-writer.js | 189 - .../istanbul-lib-report/lib/path.js | 169 - .../istanbul-lib-report/lib/report-base.js | 16 - .../lib/summarizer-factory.js | 284 - .../istanbul-lib-report/lib/tree.js | 137 - .../istanbul-lib-report/lib/watermarks.js | 15 - .../istanbul-lib-report/lib/xml-writer.js | 90 - .../istanbul-lib-report/package.json | 44 - .../istanbul-lib-source-maps/CHANGELOG.md | 295 - .../istanbul-lib-source-maps/LICENSE | 24 - .../istanbul-lib-source-maps/README.md | 11 - .../istanbul-lib-source-maps/index.js | 15 - .../lib/get-mapping.js | 182 - .../istanbul-lib-source-maps/lib/map-store.js | 226 - .../istanbul-lib-source-maps/lib/mapped.js | 113 - .../istanbul-lib-source-maps/lib/pathutils.js | 21 - .../lib/transform-utils.js | 21 - .../lib/transformer.js | 147 - .../istanbul-lib-source-maps/package.json | 45 - .../istanbul-reports/CHANGELOG.md | 476 - .../node_modules/istanbul-reports/LICENSE | 24 - .../node_modules/istanbul-reports/README.md | 12 - .../node_modules/istanbul-reports/index.js | 24 - .../istanbul-reports/lib/clover/index.js | 163 - .../istanbul-reports/lib/cobertura/index.js | 151 - .../istanbul-reports/lib/html-spa/.babelrc | 3 - .../lib/html-spa/assets/bundle.js | 30 - .../lib/html-spa/assets/sort-arrow-sprite.png | Bin 138 -> 0 bytes .../lib/html-spa/assets/spa.css | 298 - .../istanbul-reports/lib/html-spa/index.js | 176 - .../lib/html-spa/src/fileBreadcrumbs.js | 31 - .../lib/html-spa/src/filterToggle.js | 50 - .../lib/html-spa/src/flattenToggle.js | 25 - .../lib/html-spa/src/getChildData.js | 155 - .../lib/html-spa/src/index.js | 160 - .../lib/html-spa/src/routing.js | 52 - .../lib/html-spa/src/summaryHeader.js | 63 - .../lib/html-spa/src/summaryTableHeader.js | 130 - .../lib/html-spa/src/summaryTableLine.js | 159 - .../lib/html-spa/webpack.config.js | 22 - .../istanbul-reports/lib/html/annotator.js | 305 - .../istanbul-reports/lib/html/assets/base.css | 224 - .../lib/html/assets/block-navigation.js | 86 - .../lib/html/assets/favicon.png | Bin 445 -> 0 bytes .../lib/html/assets/sort-arrow-sprite.png | Bin 138 -> 0 bytes .../lib/html/assets/sorter.js | 209 - .../lib/html/assets/vendor/prettify.css | 1 - .../lib/html/assets/vendor/prettify.js | 1 - .../istanbul-reports/lib/html/index.js | 421 - .../lib/html/insertion-text.js | 114 - .../lib/json-summary/index.js | 56 - .../istanbul-reports/lib/json/index.js | 44 - .../istanbul-reports/lib/lcov/index.js | 33 - .../istanbul-reports/lib/lcovonly/index.js | 77 - .../istanbul-reports/lib/none/index.js | 10 - .../istanbul-reports/lib/teamcity/index.js | 67 - .../istanbul-reports/lib/text-lcov/index.js | 17 - .../lib/text-summary/index.js | 62 - .../istanbul-reports/lib/text/index.js | 298 - .../istanbul-reports/package.json | 60 - .../node_modules/jest-changed-files/LICENSE | 21 - .../node_modules/jest-changed-files/README.md | 95 - .../jest-changed-files/build/git.js | 169 - .../jest-changed-files/build/hg.js | 130 - .../jest-changed-files/build/index.d.ts | 36 - .../jest-changed-files/build/index.js | 82 - .../jest-changed-files/build/sl.js | 134 - .../jest-changed-files/build/types.js | 1 - .../jest-changed-files/package.json | 31 - .../node_modules/jest-circus/LICENSE | 21 - .../node_modules/jest-circus/README.md | 65 - .../jest-circus/build/eventHandler.js | 281 - .../build/formatNodeAssertErrors.js | 186 - .../jest-circus/build/globalErrorHandlers.js | 44 - .../node_modules/jest-circus/build/index.d.ts | 72 - .../node_modules/jest-circus/build/index.js | 238 - .../legacy-code-todo-rewrite/jestAdapter.js | 117 - .../jestAdapterInit.js | 240 - .../node_modules/jest-circus/build/run.js | 350 - .../jest-circus/build/shuffleArray.js | 41 - .../node_modules/jest-circus/build/state.js | 80 - .../build/testCaseReportHandler.js | 32 - .../node_modules/jest-circus/build/types.js | 27 - .../node_modules/jest-circus/build/utils.js | 511 - .../node_modules/jest-circus/package.json | 59 - .../node_modules/jest-circus/runner.js | 10 - .../risk-engine/node_modules/jest-cli/LICENSE | 21 - .../node_modules/jest-cli/README.md | 11 - .../node_modules/jest-cli/bin/jest.js | 17 - .../node_modules/jest-cli/build/args.js | 731 - .../node_modules/jest-cli/build/index.d.ts | 18 - .../node_modules/jest-cli/build/index.js | 19 - .../node_modules/jest-cli/build/run.js | 239 - .../node_modules/jest-cli/package.json | 88 - .../node_modules/jest-config/LICENSE | 21 - .../jest-config/build/Defaults.js | 129 - .../jest-config/build/Deprecated.js | 85 - .../jest-config/build/Descriptions.js | 104 - .../build/ReporterValidationErrors.js | 122 - .../jest-config/build/ValidConfig.js | 342 - .../node_modules/jest-config/build/color.js | 31 - .../jest-config/build/constants.js | 96 - .../jest-config/build/getCacheDirectory.js | 91 - .../jest-config/build/getMaxWorkers.js | 56 - .../node_modules/jest-config/build/index.d.ts | 147 - .../node_modules/jest-config/build/index.js | 494 - .../jest-config/build/normalize.js | 1180 -- .../jest-config/build/parseShardPair.js | 41 - .../build/readConfigFileAndSetRootDir.js | 195 - .../jest-config/build/resolveConfigPath.js | 217 - .../jest-config/build/setFromArgv.js | 58 - .../jest-config/build/stringToBytes.js | 79 - .../node_modules/jest-config/build/utils.js | 172 - .../jest-config/build/validatePattern.js | 24 - .../node_modules/jest-config/package.json | 71 - .../node_modules/jest-diff/LICENSE | 21 - .../node_modules/jest-diff/README.md | 671 - .../jest-diff/build/cleanupSemantic.js | 599 - .../node_modules/jest-diff/build/constants.js | 19 - .../node_modules/jest-diff/build/diffLines.js | 193 - .../jest-diff/build/diffStrings.js | 66 - .../jest-diff/build/getAlignedDiffs.js | 223 - .../node_modules/jest-diff/build/index.d.ts | 93 - .../node_modules/jest-diff/build/index.js | 232 - .../jest-diff/build/joinAlignedDiffs.js | 271 - .../jest-diff/build/normalizeDiffOptions.js | 59 - .../jest-diff/build/printDiffs.js | 79 - .../node_modules/jest-diff/build/types.js | 1 - .../node_modules/jest-diff/package.json | 36 - .../node_modules/jest-docblock/LICENSE | 21 - .../node_modules/jest-docblock/README.md | 108 - .../jest-docblock/build/index.d.ts | 29 - .../node_modules/jest-docblock/build/index.js | 130 - .../node_modules/jest-docblock/package.json | 32 - .../node_modules/jest-each/LICENSE | 21 - .../node_modules/jest-each/README.md | 548 - .../node_modules/jest-each/build/bind.js | 81 - .../node_modules/jest-each/build/index.d.ts | 141 - .../node_modules/jest-each/build/index.js | 83 - .../jest-each/build/table/array.js | 130 - .../jest-each/build/table/interpolation.js | 53 - .../jest-each/build/table/template.js | 44 - .../jest-each/build/validation.js | 107 - .../node_modules/jest-each/package.json | 41 - .../jest-environment-node/LICENSE | 21 - .../jest-environment-node/build/index.d.ts | 42 - .../jest-environment-node/build/index.js | 212 - .../jest-environment-node/package.json | 37 - .../node_modules/jest-get-type/LICENSE | 21 - .../jest-get-type/build/index.d.ts | 27 - .../node_modules/jest-get-type/build/index.js | 53 - .../node_modules/jest-get-type/package.json | 27 - .../node_modules/jest-haste-map/LICENSE | 21 - .../jest-haste-map/build/HasteFS.js | 139 - .../jest-haste-map/build/ModuleMap.js | 249 - .../jest-haste-map/build/blacklist.js | 64 - .../jest-haste-map/build/constants.js | 46 - .../jest-haste-map/build/crawlers/node.js | 269 - .../jest-haste-map/build/crawlers/watchman.js | 339 - .../jest-haste-map/build/getMockName.js | 69 - .../jest-haste-map/build/index.d.ts | 242 - .../jest-haste-map/build/index.js | 1107 -- .../build/lib/dependencyExtractor.js | 84 - .../jest-haste-map/build/lib/fast_path.js | 76 - .../build/lib/getPlatformExtension.js | 30 - .../build/lib/isWatchmanInstalled.js | 37 - .../build/lib/normalizePathSep.js | 68 - .../jest-haste-map/build/types.js | 1 - .../build/watchers/FSEventsWatcher.js | 244 - .../build/watchers/NodeWatcher.js | 369 - .../build/watchers/RecrawlWarning.js | 49 - .../build/watchers/WatchmanWatcher.js | 383 - .../jest-haste-map/build/watchers/common.js | 111 - .../jest-haste-map/build/worker.js | 180 - .../node_modules/jest-haste-map/package.json | 47 - .../node_modules/jest-leak-detector/LICENSE | 21 - .../node_modules/jest-leak-detector/README.md | 27 - .../jest-leak-detector/build/index.d.ts | 19 - .../jest-leak-detector/build/index.js | 99 - .../jest-leak-detector/package.json | 33 - .../node_modules/jest-matcher-utils/LICENSE | 21 - .../node_modules/jest-matcher-utils/README.md | 24 - .../jest-matcher-utils/build/Replaceable.js | 64 - .../build/deepCyclicCopyReplaceable.js | 111 - .../jest-matcher-utils/build/index.d.ts | 138 - .../jest-matcher-utils/build/index.js | 542 - .../jest-matcher-utils/package.json | 37 - .../node_modules/jest-message-util/LICENSE | 21 - .../jest-message-util/build/index.d.ts | 68 - .../jest-message-util/build/index.js | 518 - .../jest-message-util/build/types.js | 1 - .../jest-message-util/package.json | 43 - .../node_modules/jest-mock/LICENSE | 21 - .../node_modules/jest-mock/README.md | 106 - .../node_modules/jest-mock/build/index.d.ts | 406 - .../node_modules/jest-mock/build/index.js | 978 -- .../node_modules/jest-mock/package.json | 35 - .../node_modules/jest-pnp-resolver/README.md | 34 - .../jest-pnp-resolver/createRequire.js | 25 - .../jest-pnp-resolver/getDefaultResolver.js | 13 - .../node_modules/jest-pnp-resolver/index.d.ts | 10 - .../node_modules/jest-pnp-resolver/index.js | 50 - .../jest-pnp-resolver/package.json | 31 - .../node_modules/jest-regex-util/LICENSE | 21 - .../jest-regex-util/build/index.d.ts | 20 - .../jest-regex-util/build/index.js | 40 - .../node_modules/jest-regex-util/package.json | 29 - .../jest-resolve-dependencies/LICENSE | 21 - .../build/index.d.ts | 43 - .../jest-resolve-dependencies/build/index.js | 197 - .../jest-resolve-dependencies/package.json | 37 - .../node_modules/jest-resolve/LICENSE | 21 - .../jest-resolve/build/ModuleNotFoundError.js | 108 - .../jest-resolve/build/defaultResolver.js | 240 - .../jest-resolve/build/fileWalkers.js | 178 - .../jest-resolve/build/index.d.ts | 320 - .../node_modules/jest-resolve/build/index.js | 31 - .../jest-resolve/build/isBuiltinModule.js | 27 - .../jest-resolve/build/nodeModulesPaths.js | 131 - .../jest-resolve/build/resolver.js | 796 - .../jest-resolve/build/shouldLoadAsEsm.js | 90 - .../node_modules/jest-resolve/build/types.js | 1 - .../node_modules/jest-resolve/build/utils.js | 233 - .../node_modules/jest-resolve/package.json | 44 - .../node_modules/jest-runner/LICENSE | 21 - .../node_modules/jest-runner/build/index.d.ts | 127 - .../node_modules/jest-runner/build/index.js | 219 - .../node_modules/jest-runner/build/runTest.js | 462 - .../jest-runner/build/testWorker.js | 123 - .../node_modules/jest-runner/build/types.js | 28 - .../node_modules/jest-runner/package.json | 58 - .../node_modules/jest-runtime/LICENSE | 21 - .../jest-runtime/build/helpers.js | 134 - .../jest-runtime/build/index.d.ts | 193 - .../node_modules/jest-runtime/build/index.js | 2316 --- .../node_modules/jest-runtime/package.json | 56 - .../node_modules/jest-snapshot/LICENSE | 21 - .../jest-snapshot/build/InlineSnapshots.js | 421 - .../jest-snapshot/build/SnapshotResolver.js | 153 - .../node_modules/jest-snapshot/build/State.js | 288 - .../jest-snapshot/build/colors.js | 39 - .../jest-snapshot/build/dedentLines.js | 132 - .../jest-snapshot/build/index.d.ts | 186 - .../node_modules/jest-snapshot/build/index.js | 591 - .../jest-snapshot/build/mockSerializer.js | 47 - .../jest-snapshot/build/plugins.js | 43 - .../jest-snapshot/build/printSnapshot.js | 340 - .../node_modules/jest-snapshot/build/types.js | 1 - .../node_modules/jest-snapshot/build/utils.js | 320 - .../jest-snapshot/node_modules/.bin/semver | 1 - .../jest-snapshot/node_modules/semver/LICENSE | 15 - .../node_modules/semver/README.md | 665 - .../node_modules/semver/bin/semver.js | 191 - .../node_modules/semver/classes/comparator.js | 143 - .../node_modules/semver/classes/index.js | 7 - .../node_modules/semver/classes/range.js | 557 - .../node_modules/semver/classes/semver.js | 333 - .../node_modules/semver/functions/clean.js | 8 - .../node_modules/semver/functions/cmp.js | 54 - .../node_modules/semver/functions/coerce.js | 62 - .../semver/functions/compare-build.js | 9 - .../semver/functions/compare-loose.js | 5 - .../node_modules/semver/functions/compare.js | 7 - .../node_modules/semver/functions/diff.js | 60 - .../node_modules/semver/functions/eq.js | 5 - .../node_modules/semver/functions/gt.js | 5 - .../node_modules/semver/functions/gte.js | 5 - .../node_modules/semver/functions/inc.js | 21 - .../node_modules/semver/functions/lt.js | 5 - .../node_modules/semver/functions/lte.js | 5 - .../node_modules/semver/functions/major.js | 5 - .../node_modules/semver/functions/minor.js | 5 - .../node_modules/semver/functions/neq.js | 5 - .../node_modules/semver/functions/parse.js | 18 - .../node_modules/semver/functions/patch.js | 5 - .../semver/functions/prerelease.js | 8 - .../node_modules/semver/functions/rcompare.js | 5 - .../node_modules/semver/functions/rsort.js | 5 - .../semver/functions/satisfies.js | 12 - .../node_modules/semver/functions/sort.js | 5 - .../node_modules/semver/functions/valid.js | 8 - .../node_modules/semver/index.js | 91 - .../node_modules/semver/internal/constants.js | 37 - .../node_modules/semver/internal/debug.js | 11 - .../semver/internal/identifiers.js | 29 - .../node_modules/semver/internal/lrucache.js | 42 - .../semver/internal/parse-options.js | 17 - .../node_modules/semver/internal/re.js | 223 - .../node_modules/semver/package.json | 78 - .../node_modules/semver/preload.js | 4 - .../node_modules/semver/range.bnf | 16 - .../node_modules/semver/ranges/gtr.js | 6 - .../node_modules/semver/ranges/intersects.js | 9 - .../node_modules/semver/ranges/ltr.js | 6 - .../semver/ranges/max-satisfying.js | 27 - .../semver/ranges/min-satisfying.js | 26 - .../node_modules/semver/ranges/min-version.js | 63 - .../node_modules/semver/ranges/outside.js | 82 - .../node_modules/semver/ranges/simplify.js | 49 - .../node_modules/semver/ranges/subset.js | 249 - .../semver/ranges/to-comparators.js | 10 - .../node_modules/semver/ranges/valid.js | 13 - .../node_modules/jest-snapshot/package.json | 63 - .../node_modules/jest-util/LICENSE | 21 - .../node_modules/jest-util/Readme.md | 87 - .../jest-util/build/ErrorWithStack.js | 28 - .../node_modules/jest-util/build/clearLine.js | 18 - .../build/convertDescriptorToString.js | 30 - .../jest-util/build/createDirectory.js | 71 - .../jest-util/build/createProcessObject.js | 109 - .../jest-util/build/deepCyclicCopy.js | 76 - .../jest-util/build/formatTime.js | 24 - .../jest-util/build/globsToMatcher.js | 98 - .../node_modules/jest-util/build/index.d.ts | 136 - .../node_modules/jest-util/build/index.js | 199 - .../jest-util/build/installCommonGlobals.js | 115 - .../jest-util/build/interopRequireDefault.js | 22 - .../node_modules/jest-util/build/invariant.js | 18 - .../jest-util/build/isInteractive.js | 22 - .../jest-util/build/isNonNullable.js | 16 - .../node_modules/jest-util/build/isPromise.js | 20 - .../node_modules/jest-util/build/pluralize.js | 16 - .../jest-util/build/preRunMessage.js | 38 - .../jest-util/build/replacePathSepForGlob.js | 16 - .../jest-util/build/requireOrImportModule.js | 77 - .../node_modules/jest-util/build/setGlobal.js | 17 - .../jest-util/build/specialChars.js | 25 - .../build/testPathPatternToRegExp.js | 19 - .../jest-util/build/tryRealpath.js | 30 - .../node_modules/jest-util/package.json | 38 - .../node_modules/jest-validate/LICENSE | 21 - .../node_modules/jest-validate/README.md | 216 - .../jest-validate/build/condition.js | 44 - .../jest-validate/build/defaultConfig.js | 37 - .../jest-validate/build/deprecated.js | 28 - .../jest-validate/build/errors.js | 64 - .../jest-validate/build/exampleConfig.js | 38 - .../jest-validate/build/index.d.ts | 89 - .../node_modules/jest-validate/build/index.js | 56 - .../node_modules/jest-validate/build/types.js | 1 - .../node_modules/jest-validate/build/utils.js | 100 - .../jest-validate/build/validate.js | 117 - .../jest-validate/build/validateCLIOptions.js | 127 - .../jest-validate/build/warnings.js | 41 - .../node_modules/camelcase/index.d.ts | 103 - .../node_modules/camelcase/index.js | 113 - .../node_modules/camelcase/license | 9 - .../node_modules/camelcase/package.json | 44 - .../node_modules/camelcase/readme.md | 144 - .../node_modules/jest-validate/package.json | 37 - .../node_modules/jest-watcher/LICENSE | 21 - .../jest-watcher/build/BaseWatchPlugin.js | 35 - .../jest-watcher/build/JestHooks.js | 63 - .../jest-watcher/build/PatternPrompt.js | 74 - .../jest-watcher/build/TestWatcher.js | 45 - .../jest-watcher/build/constants.js | 27 - .../jest-watcher/build/index.d.ts | 222 - .../node_modules/jest-watcher/build/index.js | 74 - .../jest-watcher/build/lib/Prompt.js | 113 - .../jest-watcher/build/lib/colorize.js | 30 - .../build/lib/formatTestNameByPattern.js | 67 - .../build/lib/patternModeHelpers.js | 54 - .../jest-watcher/build/lib/scroll.js | 31 - .../node_modules/jest-watcher/build/types.js | 1 - .../node_modules/jest-watcher/package.json | 41 - .../node_modules/jest-worker/LICENSE | 21 - .../node_modules/jest-worker/README.md | 272 - .../node_modules/jest-worker/build/Farm.js | 152 - .../jest-worker/build/FifoQueue.js | 89 - .../jest-worker/build/PriorityQueue.js | 137 - .../jest-worker/build/WorkerPool.js | 34 - .../jest-worker/build/base/BaseWorkerPool.js | 156 - .../node_modules/jest-worker/build/index.d.ts | 355 - .../node_modules/jest-worker/build/index.js | 192 - .../node_modules/jest-worker/build/types.js | 72 - .../build/workers/ChildProcessWorker.js | 490 - .../build/workers/NodeThreadsWorker.js | 359 - .../build/workers/WorkerAbstract.js | 135 - .../build/workers/messageParent.js | 33 - .../jest-worker/build/workers/processChild.js | 159 - .../jest-worker/build/workers/threadChild.js | 177 - .../node_modules/supports-color/browser.js | 24 - .../node_modules/supports-color/index.js | 152 - .../node_modules/supports-color/license | 9 - .../node_modules/supports-color/package.json | 58 - .../node_modules/supports-color/readme.md | 77 - .../node_modules/jest-worker/package.json | 42 - lambdas/risk-engine/node_modules/jest/LICENSE | 21 - .../risk-engine/node_modules/jest/README.md | 11 - .../risk-engine/node_modules/jest/bin/jest.js | 13 - .../node_modules/jest/build/index.d.ts | 26 - .../node_modules/jest/build/index.js | 49 - .../node_modules/jest/package.json | 74 - .../risk-engine/node_modules/js-yaml/LICENSE | 21 - .../node_modules/js-yaml/README.md | 299 - .../node_modules/js-yaml/bin/js-yaml.js | 132 - .../node_modules/js-yaml/dist/js-yaml.js | 4005 ----- .../node_modules/js-yaml/dist/js-yaml.min.js | 1 - .../risk-engine/node_modules/js-yaml/index.js | 7 - .../node_modules/js-yaml/lib/js-yaml.js | 39 - .../js-yaml/lib/js-yaml/common.js | 59 - .../js-yaml/lib/js-yaml/dumper.js | 850 - .../js-yaml/lib/js-yaml/exception.js | 43 - .../js-yaml/lib/js-yaml/loader.js | 1660 -- .../node_modules/js-yaml/lib/js-yaml/mark.js | 76 - .../js-yaml/lib/js-yaml/schema.js | 108 - .../js-yaml/lib/js-yaml/schema/core.js | 18 - .../lib/js-yaml/schema/default_full.js | 25 - .../lib/js-yaml/schema/default_safe.js | 28 - .../js-yaml/lib/js-yaml/schema/failsafe.js | 17 - .../js-yaml/lib/js-yaml/schema/json.js | 25 - .../node_modules/js-yaml/lib/js-yaml/type.js | 61 - .../js-yaml/lib/js-yaml/type/binary.js | 138 - .../js-yaml/lib/js-yaml/type/bool.js | 35 - .../js-yaml/lib/js-yaml/type/float.js | 116 - .../js-yaml/lib/js-yaml/type/int.js | 173 - .../js-yaml/lib/js-yaml/type/js/function.js | 93 - .../js-yaml/lib/js-yaml/type/js/regexp.js | 60 - .../js-yaml/lib/js-yaml/type/js/undefined.js | 28 - .../js-yaml/lib/js-yaml/type/map.js | 8 - .../js-yaml/lib/js-yaml/type/merge.js | 12 - .../js-yaml/lib/js-yaml/type/null.js | 34 - .../js-yaml/lib/js-yaml/type/omap.js | 44 - .../js-yaml/lib/js-yaml/type/pairs.js | 53 - .../js-yaml/lib/js-yaml/type/seq.js | 8 - .../js-yaml/lib/js-yaml/type/set.js | 29 - .../js-yaml/lib/js-yaml/type/str.js | 8 - .../js-yaml/lib/js-yaml/type/timestamp.js | 88 - .../node_modules/js-yaml/package.json | 49 - .../node_modules/jsesc/LICENSE-MIT.txt | 20 - .../risk-engine/node_modules/jsesc/README.md | 422 - .../risk-engine/node_modules/jsesc/bin/jsesc | 148 - .../risk-engine/node_modules/jsesc/jsesc.js | 337 - .../node_modules/jsesc/man/jsesc.1 | 94 - .../node_modules/jsesc/package.json | 56 - .../CHANGELOG.md | 50 - .../json-parse-even-better-errors/LICENSE.md | 25 - .../json-parse-even-better-errors/README.md | 96 - .../json-parse-even-better-errors/index.js | 121 - .../package.json | 33 - .../risk-engine/node_modules/json5/LICENSE.md | 23 - .../risk-engine/node_modules/json5/README.md | 282 - .../node_modules/json5/dist/index.js | 1737 -- .../node_modules/json5/dist/index.min.js | 1 - .../node_modules/json5/dist/index.min.mjs | 1 - .../node_modules/json5/dist/index.mjs | 1426 -- .../risk-engine/node_modules/json5/lib/cli.js | 152 - .../node_modules/json5/lib/index.d.ts | 4 - .../node_modules/json5/lib/index.js | 9 - .../node_modules/json5/lib/parse.d.ts | 15 - .../node_modules/json5/lib/parse.js | 1114 -- .../node_modules/json5/lib/register.js | 13 - .../node_modules/json5/lib/require.js | 4 - .../node_modules/json5/lib/stringify.d.ts | 89 - .../node_modules/json5/lib/stringify.js | 261 - .../node_modules/json5/lib/unicode.d.ts | 3 - .../node_modules/json5/lib/unicode.js | 4 - .../node_modules/json5/lib/util.d.ts | 5 - .../node_modules/json5/lib/util.js | 35 - .../node_modules/json5/package.json | 72 - .../risk-engine/node_modules/kleur/index.js | 104 - .../risk-engine/node_modules/kleur/kleur.d.ts | 45 - .../risk-engine/node_modules/kleur/license | 21 - .../node_modules/kleur/package.json | 35 - .../risk-engine/node_modules/kleur/readme.md | 172 - .../risk-engine/node_modules/leven/index.d.ts | 21 - .../risk-engine/node_modules/leven/index.js | 77 - .../risk-engine/node_modules/leven/license | 9 - .../node_modules/leven/package.json | 57 - .../risk-engine/node_modules/leven/readme.md | 50 - .../node_modules/lines-and-columns/LICENSE | 21 - .../node_modules/lines-and-columns/README.md | 33 - .../lines-and-columns/build/index.d.ts | 13 - .../lines-and-columns/build/index.js | 62 - .../lines-and-columns/package.json | 49 - .../node_modules/locate-path/index.d.ts | 83 - .../node_modules/locate-path/index.js | 65 - .../node_modules/locate-path/license | 9 - .../node_modules/locate-path/package.json | 45 - .../node_modules/locate-path/readme.md | 122 - .../node_modules/lodash.memoize/LICENSE | 47 - .../node_modules/lodash.memoize/README.md | 18 - .../node_modules/lodash.memoize/index.js | 676 - .../node_modules/lodash.memoize/package.json | 17 - .../node_modules/lru-cache/LICENSE | 15 - .../node_modules/lru-cache/README.md | 166 - .../node_modules/lru-cache/index.js | 334 - .../node_modules/lru-cache/package.json | 32 - .../node_modules/make-dir/index.d.ts | 66 - .../node_modules/make-dir/index.js | 155 - .../risk-engine/node_modules/make-dir/license | 9 - .../make-dir/node_modules/.bin/semver | 1 - .../make-dir/node_modules/semver/LICENSE | 15 - .../make-dir/node_modules/semver/README.md | 665 - .../node_modules/semver/bin/semver.js | 191 - .../node_modules/semver/classes/comparator.js | 143 - .../node_modules/semver/classes/index.js | 7 - .../node_modules/semver/classes/range.js | 557 - .../node_modules/semver/classes/semver.js | 333 - .../node_modules/semver/functions/clean.js | 8 - .../node_modules/semver/functions/cmp.js | 54 - .../node_modules/semver/functions/coerce.js | 62 - .../semver/functions/compare-build.js | 9 - .../semver/functions/compare-loose.js | 5 - .../node_modules/semver/functions/compare.js | 7 - .../node_modules/semver/functions/diff.js | 60 - .../node_modules/semver/functions/eq.js | 5 - .../node_modules/semver/functions/gt.js | 5 - .../node_modules/semver/functions/gte.js | 5 - .../node_modules/semver/functions/inc.js | 21 - .../node_modules/semver/functions/lt.js | 5 - .../node_modules/semver/functions/lte.js | 5 - .../node_modules/semver/functions/major.js | 5 - .../node_modules/semver/functions/minor.js | 5 - .../node_modules/semver/functions/neq.js | 5 - .../node_modules/semver/functions/parse.js | 18 - .../node_modules/semver/functions/patch.js | 5 - .../semver/functions/prerelease.js | 8 - .../node_modules/semver/functions/rcompare.js | 5 - .../node_modules/semver/functions/rsort.js | 5 - .../semver/functions/satisfies.js | 12 - .../node_modules/semver/functions/sort.js | 5 - .../node_modules/semver/functions/valid.js | 8 - .../make-dir/node_modules/semver/index.js | 91 - .../node_modules/semver/internal/constants.js | 37 - .../node_modules/semver/internal/debug.js | 11 - .../semver/internal/identifiers.js | 29 - .../node_modules/semver/internal/lrucache.js | 42 - .../semver/internal/parse-options.js | 17 - .../node_modules/semver/internal/re.js | 223 - .../make-dir/node_modules/semver/package.json | 78 - .../make-dir/node_modules/semver/preload.js | 4 - .../make-dir/node_modules/semver/range.bnf | 16 - .../node_modules/semver/ranges/gtr.js | 6 - .../node_modules/semver/ranges/intersects.js | 9 - .../node_modules/semver/ranges/ltr.js | 6 - .../semver/ranges/max-satisfying.js | 27 - .../semver/ranges/min-satisfying.js | 26 - .../node_modules/semver/ranges/min-version.js | 63 - .../node_modules/semver/ranges/outside.js | 82 - .../node_modules/semver/ranges/simplify.js | 49 - .../node_modules/semver/ranges/subset.js | 249 - .../semver/ranges/to-comparators.js | 10 - .../node_modules/semver/ranges/valid.js | 13 - .../node_modules/make-dir/package.json | 63 - .../node_modules/make-dir/readme.md | 125 - .../node_modules/make-error/LICENSE | 5 - .../node_modules/make-error/README.md | 112 - .../make-error/dist/make-error.js | 1 - .../node_modules/make-error/index.d.ts | 47 - .../node_modules/make-error/index.js | 151 - .../node_modules/make-error/package.json | 62 - .../node_modules/makeerror/.travis.yml | 3 - .../node_modules/makeerror/lib/makeerror.js | 87 - .../node_modules/makeerror/license | 28 - .../node_modules/makeerror/package.json | 21 - .../node_modules/makeerror/readme.md | 77 - .../node_modules/merge-stream/LICENSE | 21 - .../node_modules/merge-stream/README.md | 78 - .../node_modules/merge-stream/index.js | 41 - .../node_modules/merge-stream/package.json | 19 - .../node_modules/mimic-fn/index.d.ts | 54 - .../node_modules/mimic-fn/index.js | 13 - .../risk-engine/node_modules/mimic-fn/license | 9 - .../node_modules/mimic-fn/package.json | 42 - .../node_modules/mimic-fn/readme.md | 69 - .../node_modules/mnemonist/CHANGELOG.md | 305 - .../node_modules/mnemonist/LICENSE.txt | 21 - .../node_modules/mnemonist/README.md | 112 - .../node_modules/mnemonist/bi-map.d.ts | 46 - .../node_modules/mnemonist/bi-map.js | 195 - .../node_modules/mnemonist/bit-set.d.ts | 29 - .../node_modules/mnemonist/bit-set.js | 379 - .../node_modules/mnemonist/bit-vector.d.ts | 42 - .../node_modules/mnemonist/bit-vector.js | 550 - .../node_modules/mnemonist/bk-tree.d.ts | 24 - .../node_modules/mnemonist/bk-tree.js | 180 - .../node_modules/mnemonist/bloom-filter.d.ts | 29 - .../node_modules/mnemonist/bloom-filter.js | 186 - .../mnemonist/circular-buffer.d.ts | 34 - .../node_modules/mnemonist/circular-buffer.js | 131 - .../mnemonist/critbit-tree-map.js | 515 - .../node_modules/mnemonist/default-map.d.ts | 29 - .../node_modules/mnemonist/default-map.js | 162 - .../mnemonist/default-weak-map.d.ts | 18 - .../mnemonist/default-weak-map.js | 108 - .../mnemonist/fibonacci-heap.d.ts | 65 - .../node_modules/mnemonist/fibonacci-heap.js | 320 - .../mnemonist/fixed-critbit-tree-map.js | 427 - .../node_modules/mnemonist/fixed-deque.d.ts | 34 - .../node_modules/mnemonist/fixed-deque.js | 351 - .../mnemonist/fixed-reverse-heap.d.ts | 25 - .../mnemonist/fixed-reverse-heap.js | 209 - .../node_modules/mnemonist/fixed-stack.d.ts | 36 - .../node_modules/mnemonist/fixed-stack.js | 242 - .../node_modules/mnemonist/fuzzy-map.d.ts | 33 - .../node_modules/mnemonist/fuzzy-map.js | 185 - .../mnemonist/fuzzy-multi-map.d.ts | 36 - .../node_modules/mnemonist/fuzzy-multi-map.js | 196 - .../mnemonist/hashed-array-tree.d.ts | 32 - .../mnemonist/hashed-array-tree.js | 209 - .../node_modules/mnemonist/heap.d.ts | 84 - .../node_modules/mnemonist/heap.js | 576 - .../node_modules/mnemonist/index.d.ts | 46 - .../node_modules/mnemonist/index.js | 56 - .../mnemonist/inverted-index.d.ts | 33 - .../node_modules/mnemonist/inverted-index.js | 249 - .../node_modules/mnemonist/kd-tree.d.ts | 25 - .../node_modules/mnemonist/kd-tree.js | 447 - .../node_modules/mnemonist/linked-list.d.ts | 29 - .../node_modules/mnemonist/linked-list.js | 261 - .../node_modules/mnemonist/lru-cache.d.ts | 43 - .../node_modules/mnemonist/lru-cache.js | 433 - .../node_modules/mnemonist/lru-map.d.ts | 43 - .../node_modules/mnemonist/lru-map.js | 258 - .../node_modules/mnemonist/multi-array.js | 447 - .../node_modules/mnemonist/multi-map.d.ts | 47 - .../node_modules/mnemonist/multi-map.js | 408 - .../node_modules/mnemonist/multi-set.d.ts | 37 - .../node_modules/mnemonist/multi-set.js | 440 - .../node_modules/mnemonist/package.json | 119 - .../mnemonist/passjoin-index.d.ts | 54 - .../node_modules/mnemonist/passjoin-index.js | 518 - .../node_modules/mnemonist/queue.d.ts | 27 - .../node_modules/mnemonist/queue.js | 215 - .../mnemonist/semi-dynamic-trie.js | 251 - .../node_modules/mnemonist/set.d.ts | 18 - .../risk-engine/node_modules/mnemonist/set.js | 356 - .../mnemonist/sort/insertion.d.ts | 4 - .../node_modules/mnemonist/sort/insertion.js | 50 - .../node_modules/mnemonist/sort/quick.d.ts | 4 - .../node_modules/mnemonist/sort/quick.js | 116 - .../node_modules/mnemonist/sparse-map.d.ts | 26 - .../node_modules/mnemonist/sparse-map.js | 243 - .../mnemonist/sparse-queue-set.d.ts | 24 - .../mnemonist/sparse-queue-set.js | 218 - .../node_modules/mnemonist/sparse-set.d.ts | 23 - .../node_modules/mnemonist/sparse-set.js | 168 - .../node_modules/mnemonist/stack.d.ts | 27 - .../node_modules/mnemonist/stack.js | 210 - .../mnemonist/static-disjoint-set.d.ts | 23 - .../mnemonist/static-disjoint-set.js | 195 - .../mnemonist/static-interval-tree.d.ts | 24 - .../mnemonist/static-interval-tree.js | 387 - .../node_modules/mnemonist/suffix-array.d.ts | 37 - .../node_modules/mnemonist/suffix-array.js | 352 - .../node_modules/mnemonist/symspell.d.ts | 33 - .../node_modules/mnemonist/symspell.js | 547 - .../node_modules/mnemonist/trie-map.d.ts | 30 - .../node_modules/mnemonist/trie-map.js | 477 - .../node_modules/mnemonist/trie.d.ts | 26 - .../node_modules/mnemonist/trie.js | 167 - .../mnemonist/utils/binary-search.js | 216 - .../node_modules/mnemonist/utils/bitwise.js | 109 - .../mnemonist/utils/comparators.js | 79 - .../mnemonist/utils/hash-tables.js | 107 - .../node_modules/mnemonist/utils/iterables.js | 93 - .../node_modules/mnemonist/utils/merge.js | 563 - .../mnemonist/utils/murmurhash3.js | 87 - .../mnemonist/utils/typed-arrays.js | 187 - .../node_modules/mnemonist/utils/types.d.ts | 16 - .../node_modules/mnemonist/vector.d.ts | 81 - .../node_modules/mnemonist/vector.js | 373 - .../node_modules/mnemonist/vp-tree.d.ts | 27 - .../node_modules/mnemonist/vp-tree.js | 367 - .../node_modules/neo-async/LICENSE | 22 - .../node_modules/neo-async/README.md | 273 - .../risk-engine/node_modules/neo-async/all.js | 3 - .../node_modules/neo-async/allLimit.js | 3 - .../node_modules/neo-async/allSeries.js | 3 - .../node_modules/neo-async/angelFall.js | 3 - .../risk-engine/node_modules/neo-async/any.js | 3 - .../node_modules/neo-async/anyLimit.js | 3 - .../node_modules/neo-async/anySeries.js | 3 - .../node_modules/neo-async/apply.js | 3 - .../node_modules/neo-async/applyEach.js | 3 - .../node_modules/neo-async/applyEachSeries.js | 3 - .../node_modules/neo-async/async.js | 9184 ---------- .../node_modules/neo-async/async.min.js | 80 - .../node_modules/neo-async/asyncify.js | 3 - .../node_modules/neo-async/auto.js | 3 - .../node_modules/neo-async/autoInject.js | 3 - .../node_modules/neo-async/cargo.js | 3 - .../node_modules/neo-async/compose.js | 3 - .../node_modules/neo-async/concat.js | 3 - .../node_modules/neo-async/concatLimit.js | 3 - .../node_modules/neo-async/concatSeries.js | 3 - .../node_modules/neo-async/constant.js | 3 - .../node_modules/neo-async/createLogger.js | 3 - .../node_modules/neo-async/detect.js | 3 - .../node_modules/neo-async/detectLimit.js | 3 - .../node_modules/neo-async/detectSeries.js | 3 - .../risk-engine/node_modules/neo-async/dir.js | 3 - .../node_modules/neo-async/doDuring.js | 3 - .../node_modules/neo-async/doUntil.js | 3 - .../node_modules/neo-async/doWhilst.js | 3 - .../node_modules/neo-async/during.js | 3 - .../node_modules/neo-async/each.js | 3 - .../node_modules/neo-async/eachLimit.js | 3 - .../node_modules/neo-async/eachOf.js | 3 - .../node_modules/neo-async/eachOfLimit.js | 3 - .../node_modules/neo-async/eachOfSeries.js | 3 - .../node_modules/neo-async/eachSeries.js | 3 - .../node_modules/neo-async/ensureAsync.js | 3 - .../node_modules/neo-async/every.js | 3 - .../node_modules/neo-async/everyLimit.js | 3 - .../node_modules/neo-async/everySeries.js | 3 - .../node_modules/neo-async/fast.js | 3 - .../node_modules/neo-async/filter.js | 3 - .../node_modules/neo-async/filterLimit.js | 3 - .../node_modules/neo-async/filterSeries.js | 3 - .../node_modules/neo-async/find.js | 3 - .../node_modules/neo-async/findLimit.js | 3 - .../node_modules/neo-async/findSeries.js | 3 - .../node_modules/neo-async/foldl.js | 3 - .../node_modules/neo-async/foldr.js | 3 - .../node_modules/neo-async/forEach.js | 3 - .../node_modules/neo-async/forEachLimit.js | 3 - .../node_modules/neo-async/forEachOf.js | 3 - .../node_modules/neo-async/forEachOfLimit.js | 3 - .../node_modules/neo-async/forEachOfSeries.js | 3 - .../node_modules/neo-async/forEachSeries.js | 3 - .../node_modules/neo-async/forever.js | 3 - .../node_modules/neo-async/groupBy.js | 3 - .../node_modules/neo-async/groupByLimit.js | 3 - .../node_modules/neo-async/groupBySeries.js | 3 - .../node_modules/neo-async/inject.js | 3 - .../node_modules/neo-async/iterator.js | 3 - .../risk-engine/node_modules/neo-async/log.js | 3 - .../risk-engine/node_modules/neo-async/map.js | 3 - .../node_modules/neo-async/mapLimit.js | 3 - .../node_modules/neo-async/mapSeries.js | 3 - .../node_modules/neo-async/mapValues.js | 3 - .../node_modules/neo-async/mapValuesLimit.js | 3 - .../node_modules/neo-async/mapValuesSeries.js | 3 - .../node_modules/neo-async/memoize.js | 3 - .../node_modules/neo-async/nextTick.js | 3 - .../node_modules/neo-async/omit.js | 3 - .../node_modules/neo-async/omitLimit.js | 3 - .../node_modules/neo-async/omitSeries.js | 3 - .../node_modules/neo-async/package.json | 57 - .../node_modules/neo-async/parallel.js | 3 - .../node_modules/neo-async/parallelLimit.js | 3 - .../node_modules/neo-async/pick.js | 3 - .../node_modules/neo-async/pickLimit.js | 3 - .../node_modules/neo-async/pickSeries.js | 3 - .../node_modules/neo-async/priorityQueue.js | 3 - .../node_modules/neo-async/queue.js | 3 - .../node_modules/neo-async/race.js | 3 - .../node_modules/neo-async/reduce.js | 3 - .../node_modules/neo-async/reduceRight.js | 3 - .../node_modules/neo-async/reflect.js | 3 - .../node_modules/neo-async/reflectAll.js | 3 - .../node_modules/neo-async/reject.js | 3 - .../node_modules/neo-async/rejectLimit.js | 3 - .../node_modules/neo-async/rejectSeries.js | 3 - .../node_modules/neo-async/retry.js | 3 - .../node_modules/neo-async/retryable.js | 3 - .../node_modules/neo-async/safe.js | 3 - .../node_modules/neo-async/select.js | 3 - .../node_modules/neo-async/selectLimit.js | 3 - .../node_modules/neo-async/selectSeries.js | 3 - .../risk-engine/node_modules/neo-async/seq.js | 3 - .../node_modules/neo-async/series.js | 3 - .../node_modules/neo-async/setImmediate.js | 3 - .../node_modules/neo-async/some.js | 3 - .../node_modules/neo-async/someLimit.js | 3 - .../node_modules/neo-async/someSeries.js | 3 - .../node_modules/neo-async/sortBy.js | 3 - .../node_modules/neo-async/sortByLimit.js | 3 - .../node_modules/neo-async/sortBySeries.js | 3 - .../node_modules/neo-async/timeout.js | 3 - .../node_modules/neo-async/times.js | 3 - .../node_modules/neo-async/timesLimit.js | 3 - .../node_modules/neo-async/timesSeries.js | 3 - .../node_modules/neo-async/transform.js | 3 - .../node_modules/neo-async/transformLimit.js | 3 - .../node_modules/neo-async/transformSeries.js | 3 - .../node_modules/neo-async/tryEach.js | 3 - .../node_modules/neo-async/unmemoize.js | 3 - .../node_modules/neo-async/until.js | 3 - .../node_modules/neo-async/waterfall.js | 3 - .../node_modules/neo-async/whilst.js | 3 - .../node_modules/neo-async/wrapSync.js | 3 - .../node_modules/node-int64/.npmignore | 3 - .../node_modules/node-int64/Int64.js | 268 - .../node_modules/node-int64/LICENSE | 19 - .../node_modules/node-int64/README.md | 78 - .../node_modules/node-int64/package.json | 27 - .../node_modules/node-int64/test.js | 120 - .../node_modules/node-releases/LICENSE | 21 - .../node_modules/node-releases/README.md | 12 - .../node-releases/data/processed/envs.json | 1 - .../release-schedule/release-schedule.json | 1 - .../node_modules/node-releases/package.json | 22 - .../node_modules/normalize-path/LICENSE | 21 - .../node_modules/normalize-path/README.md | 127 - .../node_modules/normalize-path/index.js | 35 - .../node_modules/normalize-path/package.json | 77 - .../node_modules/npm-run-path/index.d.ts | 89 - .../node_modules/npm-run-path/index.js | 47 - .../node_modules/npm-run-path/license | 9 - .../node_modules/npm-run-path/package.json | 44 - .../node_modules/npm-run-path/readme.md | 115 - .../node_modules/obliterator/LICENSE.txt | 21 - .../node_modules/obliterator/README.md | 321 - .../node_modules/obliterator/chain.d.ts | 3 - .../node_modules/obliterator/chain.js | 39 - .../obliterator/combinations.d.ts | 3 - .../node_modules/obliterator/combinations.js | 76 - .../node_modules/obliterator/consume.d.ts | 1 - .../node_modules/obliterator/consume.js | 32 - .../node_modules/obliterator/filter.d.ts | 5 - .../node_modules/obliterator/filter.js | 28 - .../node_modules/obliterator/foreach.d.ts | 1 - .../node_modules/obliterator/foreach.js | 156 - .../node_modules/obliterator/index.d.ts | 14 - .../node_modules/obliterator/index.js | 22 - .../node_modules/obliterator/iterator.d.ts | 19 - .../node_modules/obliterator/iterator.js | 104 - .../node_modules/obliterator/map.d.ts | 5 - .../node_modules/obliterator/map.js | 27 - .../node_modules/obliterator/match.d.ts | 3 - .../node_modules/obliterator/match.js | 42 - .../node_modules/obliterator/package.json | 45 - .../obliterator/permutations.d.ts | 3 - .../node_modules/obliterator/permutations.js | 96 - .../node_modules/obliterator/power-set.d.ts | 3 - .../node_modules/obliterator/power-set.js | 28 - .../node_modules/obliterator/range.d.ts | 5 - .../node_modules/obliterator/range.js | 45 - .../node_modules/obliterator/split.d.ts | 3 - .../node_modules/obliterator/split.js | 68 - .../node_modules/obliterator/take-into.d.ts | 5 - .../node_modules/obliterator/take-into.js | 40 - .../node_modules/obliterator/take.d.ts | 3 - .../node_modules/obliterator/take.js | 40 - .../node_modules/onetime/index.d.ts | 64 - .../risk-engine/node_modules/onetime/index.js | 44 - .../risk-engine/node_modules/onetime/license | 9 - .../node_modules/onetime/package.json | 43 - .../node_modules/onetime/readme.md | 94 - .../node_modules/p-locate/index.d.ts | 64 - .../node_modules/p-locate/index.js | 52 - .../risk-engine/node_modules/p-locate/license | 9 - .../p-locate/node_modules/p-limit/index.d.ts | 38 - .../p-locate/node_modules/p-limit/index.js | 57 - .../p-locate/node_modules/p-limit/license | 9 - .../node_modules/p-limit/package.json | 52 - .../p-locate/node_modules/p-limit/readme.md | 101 - .../node_modules/p-locate/package.json | 53 - .../node_modules/p-locate/readme.md | 90 - .../risk-engine/node_modules/p-try/index.d.ts | 39 - .../risk-engine/node_modules/p-try/index.js | 9 - .../risk-engine/node_modules/p-try/license | 9 - .../node_modules/p-try/package.json | 42 - .../risk-engine/node_modules/p-try/readme.md | 58 - .../node_modules/parse-json/index.js | 54 - .../node_modules/parse-json/license | 9 - .../node_modules/parse-json/package.json | 45 - .../node_modules/parse-json/readme.md | 119 - .../node_modules/picocolors/LICENSE | 15 - .../node_modules/picocolors/README.md | 21 - .../node_modules/picocolors/package.json | 25 - .../picocolors/picocolors.browser.js | 4 - .../node_modules/picocolors/picocolors.d.ts | 5 - .../node_modules/picocolors/picocolors.js | 75 - .../node_modules/picocolors/types.d.ts | 51 - .../risk-engine/node_modules/pirates/LICENSE | 21 - .../node_modules/pirates/README.md | 73 - .../node_modules/pirates/index.d.ts | 82 - .../node_modules/pirates/lib/index.js | 155 - .../node_modules/pirates/package.json | 43 - .../node_modules/pkg-dir/index.d.ts | 44 - .../risk-engine/node_modules/pkg-dir/index.js | 17 - .../risk-engine/node_modules/pkg-dir/license | 9 - .../node_modules/pkg-dir/package.json | 56 - .../node_modules/pkg-dir/readme.md | 66 - .../node_modules/pretty-format/LICENSE | 21 - .../node_modules/pretty-format/README.md | 463 - .../pretty-format/build/collections.js | 180 - .../pretty-format/build/index.d.ts | 163 - .../node_modules/pretty-format/build/index.js | 478 - .../build/plugins/AsymmetricMatcher.js | 89 - .../build/plugins/DOMCollection.js | 67 - .../pretty-format/build/plugins/DOMElement.js | 101 - .../pretty-format/build/plugins/Immutable.js | 217 - .../build/plugins/ReactElement.js | 143 - .../build/plugins/ReactTestComponent.js | 66 - .../build/plugins/lib/escapeHTML.js | 16 - .../pretty-format/build/plugins/lib/markup.js | 113 - .../node_modules/pretty-format/build/types.js | 1 - .../node_modules/ansi-styles/index.d.ts | 167 - .../node_modules/ansi-styles/index.js | 164 - .../node_modules/ansi-styles/license | 9 - .../node_modules/ansi-styles/package.json | 52 - .../node_modules/ansi-styles/readme.md | 144 - .../node_modules/pretty-format/package.json | 43 - .../prompts/dist/dateparts/datepart.js | 39 - .../prompts/dist/dateparts/day.js | 35 - .../prompts/dist/dateparts/hours.js | 30 - .../prompts/dist/dateparts/index.js | 13 - .../prompts/dist/dateparts/meridiem.js | 25 - .../prompts/dist/dateparts/milliseconds.js | 28 - .../prompts/dist/dateparts/minutes.js | 29 - .../prompts/dist/dateparts/month.js | 31 - .../prompts/dist/dateparts/seconds.js | 29 - .../prompts/dist/dateparts/year.js | 29 - .../prompts/dist/elements/autocomplete.js | 285 - .../dist/elements/autocompleteMultiselect.js | 201 - .../prompts/dist/elements/confirm.js | 93 - .../prompts/dist/elements/date.js | 250 - .../prompts/dist/elements/index.js | 13 - .../prompts/dist/elements/multiselect.js | 289 - .../prompts/dist/elements/number.js | 250 - .../prompts/dist/elements/prompt.js | 82 - .../prompts/dist/elements/select.js | 190 - .../prompts/dist/elements/text.js | 245 - .../prompts/dist/elements/toggle.js | 124 - .../node_modules/prompts/dist/index.js | 154 - .../node_modules/prompts/dist/prompts.js | 222 - .../node_modules/prompts/dist/util/action.js | 38 - .../node_modules/prompts/dist/util/clear.js | 42 - .../prompts/dist/util/entriesToDisplay.js | 21 - .../node_modules/prompts/dist/util/figures.js | 32 - .../node_modules/prompts/dist/util/index.js | 12 - .../node_modules/prompts/dist/util/lines.js | 14 - .../node_modules/prompts/dist/util/strip.js | 7 - .../node_modules/prompts/dist/util/style.js | 51 - .../node_modules/prompts/dist/util/wrap.js | 16 - .../risk-engine/node_modules/prompts/index.js | 14 - .../prompts/lib/dateparts/datepart.js | 35 - .../node_modules/prompts/lib/dateparts/day.js | 42 - .../prompts/lib/dateparts/hours.js | 30 - .../prompts/lib/dateparts/index.js | 13 - .../prompts/lib/dateparts/meridiem.js | 24 - .../prompts/lib/dateparts/milliseconds.js | 28 - .../prompts/lib/dateparts/minutes.js | 28 - .../prompts/lib/dateparts/month.js | 33 - .../prompts/lib/dateparts/seconds.js | 28 - .../prompts/lib/dateparts/year.js | 28 - .../prompts/lib/elements/autocomplete.js | 264 - .../lib/elements/autocompleteMultiselect.js | 194 - .../prompts/lib/elements/confirm.js | 89 - .../node_modules/prompts/lib/elements/date.js | 209 - .../prompts/lib/elements/index.js | 13 - .../prompts/lib/elements/multiselect.js | 271 - .../prompts/lib/elements/number.js | 213 - .../prompts/lib/elements/prompt.js | 68 - .../prompts/lib/elements/select.js | 175 - .../node_modules/prompts/lib/elements/text.js | 208 - .../prompts/lib/elements/toggle.js | 118 - .../node_modules/prompts/lib/index.js | 98 - .../node_modules/prompts/lib/prompts.js | 206 - .../node_modules/prompts/lib/util/action.js | 39 - .../node_modules/prompts/lib/util/clear.js | 22 - .../prompts/lib/util/entriesToDisplay.js | 21 - .../node_modules/prompts/lib/util/figures.js | 33 - .../node_modules/prompts/lib/util/index.js | 12 - .../node_modules/prompts/lib/util/lines.js | 15 - .../node_modules/prompts/lib/util/strip.js | 11 - .../node_modules/prompts/lib/util/style.js | 40 - .../node_modules/prompts/lib/util/wrap.js | 27 - .../risk-engine/node_modules/prompts/license | 21 - .../node_modules/prompts/package.json | 53 - .../node_modules/prompts/readme.md | 882 - .../node_modules/pure-rand/CHANGELOG.md | 94 - .../node_modules/pure-rand/LICENSE | 21 - .../node_modules/pure-rand/README.md | 208 - .../lib/distribution/Distribution.js | 2 - .../UniformArrayIntDistribution.js | 15 - .../distribution/UniformBigIntDistribution.js | 15 - .../distribution/UniformIntDistribution.js | 15 - .../UnsafeUniformArrayIntDistribution.js | 12 - .../UnsafeUniformBigIntDistribution.js | 28 - .../UnsafeUniformIntDistribution.js | 34 - .../lib/distribution/internals/ArrayInt.js | 141 - ...safeUniformArrayIntDistributionInternal.js | 25 - .../UnsafeUniformIntDistributionInternal.js | 12 - .../lib/esm/distribution/Distribution.js | 1 - .../UniformArrayIntDistribution.js | 12 - .../distribution/UniformBigIntDistribution.js | 12 - .../distribution/UniformIntDistribution.js | 12 - .../UnsafeUniformArrayIntDistribution.js | 8 - .../UnsafeUniformBigIntDistribution.js | 24 - .../UnsafeUniformIntDistribution.js | 30 - .../esm/distribution/internals/ArrayInt.js | 132 - ...safeUniformArrayIntDistributionInternal.js | 21 - .../UnsafeUniformIntDistributionInternal.js | 8 - .../lib/esm/generator/LinearCongruential.js | 47 - .../lib/esm/generator/MersenneTwister.js | 107 - .../lib/esm/generator/RandomGenerator.js | 22 - .../pure-rand/lib/esm/generator/XorShift.js | 69 - .../pure-rand/lib/esm/generator/XoroShiro.js | 69 - .../pure-rand/lib/esm/package.json | 3 - .../pure-rand/lib/esm/pure-rand-default.js | 15 - .../pure-rand/lib/esm/pure-rand.js | 3 - .../esm/types/distribution/Distribution.d.ts | 2 - .../UniformArrayIntDistribution.d.ts | 6 - .../UniformBigIntDistribution.d.ts | 5 - .../distribution/UniformIntDistribution.d.ts | 5 - .../UnsafeUniformArrayIntDistribution.d.ts | 3 - .../UnsafeUniformBigIntDistribution.d.ts | 2 - .../UnsafeUniformIntDistribution.d.ts | 2 - .../distribution/internals/ArrayInt.d.ts | 13 - ...feUniformArrayIntDistributionInternal.d.ts | 3 - .../UnsafeUniformIntDistributionInternal.d.ts | 2 - .../types/generator/LinearCongruential.d.ts | 6 - .../esm/types/generator/MersenneTwister.d.ts | 6 - .../esm/types/generator/RandomGenerator.d.ts | 12 - .../lib/esm/types/generator/XorShift.d.ts | 6 - .../lib/esm/types/generator/XoroShiro.d.ts | 6 - .../lib/esm/types/pure-rand-default.d.ts | 16 - .../pure-rand/lib/esm/types/pure-rand.d.ts | 3 - .../lib/generator/LinearCongruential.js | 50 - .../lib/generator/MersenneTwister.js | 109 - .../lib/generator/RandomGenerator.js | 29 - .../pure-rand/lib/generator/XorShift.js | 72 - .../pure-rand/lib/generator/XoroShiro.js | 72 - .../pure-rand/lib/pure-rand-default.js | 34 - .../node_modules/pure-rand/lib/pure-rand.js | 19 - .../lib/types/distribution/Distribution.d.ts | 2 - .../UniformArrayIntDistribution.d.ts | 6 - .../UniformBigIntDistribution.d.ts | 5 - .../distribution/UniformIntDistribution.d.ts | 5 - .../UnsafeUniformArrayIntDistribution.d.ts | 3 - .../UnsafeUniformBigIntDistribution.d.ts | 2 - .../UnsafeUniformIntDistribution.d.ts | 2 - .../distribution/internals/ArrayInt.d.ts | 13 - ...feUniformArrayIntDistributionInternal.d.ts | 3 - .../UnsafeUniformIntDistributionInternal.d.ts | 2 - .../types/generator/LinearCongruential.d.ts | 6 - .../lib/types/generator/MersenneTwister.d.ts | 6 - .../lib/types/generator/RandomGenerator.d.ts | 12 - .../lib/types/generator/XorShift.d.ts | 6 - .../lib/types/generator/XoroShiro.d.ts | 6 - .../lib/types/pure-rand-default.d.ts | 16 - .../pure-rand/lib/types/pure-rand.d.ts | 3 - .../node_modules/pure-rand/package.json | 85 - .../risk-engine/node_modules/react-is/LICENSE | 21 - .../node_modules/react-is/README.md | 104 - .../react-is/cjs/react-is.development.js | 221 - .../react-is/cjs/react-is.production.min.js | 14 - .../node_modules/react-is/index.js | 7 - .../node_modules/react-is/package.json | 26 - .../react-is/umd/react-is.development.js | 220 - .../react-is/umd/react-is.production.min.js | 15 - .../node_modules/require-directory/.jshintrc | 67 - .../node_modules/require-directory/.npmignore | 1 - .../require-directory/.travis.yml | 3 - .../node_modules/require-directory/LICENSE | 22 - .../require-directory/README.markdown | 184 - .../node_modules/require-directory/index.js | 86 - .../require-directory/package.json | 40 - .../node_modules/resolve-cwd/index.d.ts | 48 - .../node_modules/resolve-cwd/index.js | 5 - .../node_modules/resolve-cwd/license | 9 - .../node_modules/resolve-cwd/package.json | 43 - .../node_modules/resolve-cwd/readme.md | 58 - .../node_modules/resolve-from/index.d.ts | 31 - .../node_modules/resolve-from/index.js | 47 - .../node_modules/resolve-from/license | 9 - .../node_modules/resolve-from/package.json | 36 - .../node_modules/resolve-from/readme.md | 72 - .../resolve.exports/dist/index.js | 1 - .../resolve.exports/dist/index.mjs | 1 - .../node_modules/resolve.exports/index.d.ts | 100 - .../node_modules/resolve.exports/license | 21 - .../node_modules/resolve.exports/package.json | 50 - .../node_modules/resolve.exports/readme.md | 458 - .../node_modules/resolve/.editorconfig | 37 - .../node_modules/resolve/.eslintrc | 65 - .../node_modules/resolve/.github/FUNDING.yml | 12 - .../.github/INCIDENT_RESPONSE_PROCESS.md | 119 - .../resolve/.github/THREAT_MODEL.md | 74 - .../risk-engine/node_modules/resolve/LICENSE | 21 - .../node_modules/resolve/SECURITY.md | 11 - .../risk-engine/node_modules/resolve/async.js | 3 - .../node_modules/resolve/bin/resolve | 50 - .../node_modules/resolve/example/async.js | 5 - .../node_modules/resolve/example/sync.js | 3 - .../risk-engine/node_modules/resolve/index.js | 6 - .../node_modules/resolve/lib/async.js | 333 - .../node_modules/resolve/lib/caller.js | 8 - .../node_modules/resolve/lib/core.js | 12 - .../node_modules/resolve/lib/core.json | 162 - .../node_modules/resolve/lib/homedir.js | 24 - .../node_modules/resolve/lib/is-core.js | 5 - .../resolve/lib/node-modules-paths.js | 45 - .../resolve/lib/normalize-options.js | 10 - .../node_modules/resolve/lib/sync.js | 212 - .../node_modules/resolve/package.json | 75 - .../node_modules/resolve/readme.markdown | 301 - .../risk-engine/node_modules/resolve/sync.js | 3 - .../node_modules/resolve/test/core.js | 88 - .../node_modules/resolve/test/dotdot.js | 29 - .../resolve/test/dotdot/abc/index.js | 2 - .../node_modules/resolve/test/dotdot/index.js | 1 - .../resolve/test/faulty_basedir.js | 29 - .../node_modules/resolve/test/filter.js | 34 - .../node_modules/resolve/test/filter_sync.js | 33 - .../node_modules/resolve/test/home_paths.js | 127 - .../resolve/test/home_paths_sync.js | 114 - .../node_modules/resolve/test/mock.js | 315 - .../node_modules/resolve/test/mock_sync.js | 214 - .../node_modules/resolve/test/module_dir.js | 56 - .../test/module_dir/xmodules/aaa/index.js | 1 - .../test/module_dir/ymodules/aaa/index.js | 1 - .../test/module_dir/zmodules/bbb/main.js | 1 - .../test/module_dir/zmodules/bbb/package.json | 3 - .../resolve/test/node-modules-paths.js | 143 - .../node_modules/resolve/test/node_path.js | 70 - .../resolve/test/node_path/x/aaa/index.js | 1 - .../resolve/test/node_path/x/ccc/index.js | 1 - .../resolve/test/node_path/y/bbb/index.js | 1 - .../resolve/test/node_path/y/ccc/index.js | 1 - .../node_modules/resolve/test/nonstring.js | 9 - .../node_modules/resolve/test/pathfilter.js | 75 - .../resolve/test/pathfilter/deep_ref/main.js | 0 .../node_modules/resolve/test/precedence.js | 23 - .../resolve/test/precedence/aaa.js | 1 - .../resolve/test/precedence/aaa/index.js | 1 - .../resolve/test/precedence/aaa/main.js | 1 - .../resolve/test/precedence/bbb.js | 1 - .../resolve/test/precedence/bbb/main.js | 1 - .../node_modules/resolve/test/resolver.js | 597 - .../resolve/test/resolver/baz/doom.js | 0 .../resolve/test/resolver/baz/package.json | 4 - .../resolve/test/resolver/baz/quux.js | 1 - .../resolve/test/resolver/browser_field/a.js | 0 .../resolve/test/resolver/browser_field/b.js | 0 .../test/resolver/browser_field/package.json | 5 - .../resolve/test/resolver/cup.coffee | 1 - .../resolve/test/resolver/dot_main/index.js | 1 - .../test/resolver/dot_main/package.json | 3 - .../test/resolver/dot_slash_main/index.js | 1 - .../test/resolver/dot_slash_main/package.json | 3 - .../resolve/test/resolver/false_main/index.js | 0 .../test/resolver/false_main/package.json | 4 - .../node_modules/resolve/test/resolver/foo.js | 1 - .../test/resolver/incorrect_main/index.js | 2 - .../test/resolver/incorrect_main/package.json | 3 - .../test/resolver/invalid_main/package.json | 7 - .../resolve/test/resolver/mug.coffee | 0 .../node_modules/resolve/test/resolver/mug.js | 0 .../test/resolver/multirepo/lerna.json | 6 - .../test/resolver/multirepo/package.json | 20 - .../multirepo/packages/package-a/index.js | 35 - .../multirepo/packages/package-a/package.json | 14 - .../multirepo/packages/package-b/index.js | 0 .../multirepo/packages/package-b/package.json | 14 - .../resolver/nested_symlinks/mylib/async.js | 26 - .../nested_symlinks/mylib/package.json | 15 - .../resolver/nested_symlinks/mylib/sync.js | 12 - .../test/resolver/other_path/lib/other-lib.js | 0 .../resolve/test/resolver/other_path/root.js | 0 .../resolve/test/resolver/quux/foo/index.js | 1 - .../resolve/test/resolver/same_names/foo.js | 1 - .../test/resolver/same_names/foo/index.js | 1 - .../resolver/symlinked/_/node_modules/foo.js | 0 .../symlinked/_/symlink_target/.gitkeep | 0 .../test/resolver/symlinked/package/bar.js | 1 - .../resolver/symlinked/package/package.json | 3 - .../test/resolver/without_basedir/main.js | 5 - .../resolve/test/resolver_sync.js | 730 - .../resolve/test/shadowed_core.js | 54 - .../shadowed_core/node_modules/util/index.js | 0 .../node_modules/resolve/test/subdirs.js | 13 - .../node_modules/resolve/test/symlinks.js | 176 - .../risk-engine/node_modules/semver/LICENSE | 15 - .../risk-engine/node_modules/semver/README.md | 443 - .../node_modules/semver/bin/semver.js | 174 - .../node_modules/semver/package.json | 38 - .../risk-engine/node_modules/semver/range.bnf | 16 - .../risk-engine/node_modules/semver/semver.js | 1643 -- .../node_modules/signal-exit/LICENSE.txt | 16 - .../node_modules/signal-exit/README.md | 39 - .../node_modules/signal-exit/index.js | 202 - .../node_modules/signal-exit/package.json | 38 - .../node_modules/signal-exit/signals.js | 53 - .../node_modules/sisteransi/license | 21 - .../node_modules/sisteransi/package.json | 34 - .../node_modules/sisteransi/readme.md | 113 - .../node_modules/sisteransi/src/index.js | 58 - .../sisteransi/src/sisteransi.d.ts | 35 - .../source-map-support/LICENSE.md | 21 - .../node_modules/source-map-support/README.md | 284 - .../browser-source-map-support.js | 113 - .../source-map-support/package.json | 31 - .../source-map-support/register.js | 1 - .../source-map-support/source-map-support.js | 567 - .../node_modules/source-map/CHANGELOG.md | 301 - .../node_modules/source-map/LICENSE | 28 - .../node_modules/source-map/README.md | 742 - .../source-map/dist/source-map.debug.js | 3234 ---- .../source-map/dist/source-map.js | 3233 ---- .../source-map/dist/source-map.min.js | 2 - .../source-map/dist/source-map.min.js.map | 1 - .../node_modules/source-map/lib/array-set.js | 121 - .../node_modules/source-map/lib/base64-vlq.js | 140 - .../node_modules/source-map/lib/base64.js | 67 - .../source-map/lib/binary-search.js | 111 - .../source-map/lib/mapping-list.js | 79 - .../node_modules/source-map/lib/quick-sort.js | 114 - .../source-map/lib/source-map-consumer.js | 1145 -- .../source-map/lib/source-map-generator.js | 425 - .../source-map/lib/source-node.js | 413 - .../node_modules/source-map/lib/util.js | 488 - .../node_modules/source-map/package.json | 73 - .../node_modules/source-map/source-map.d.ts | 98 - .../node_modules/source-map/source-map.js | 8 - .../node_modules/sprintf-js/.npmignore | 1 - .../node_modules/sprintf-js/LICENSE | 24 - .../node_modules/sprintf-js/README.md | 88 - .../node_modules/sprintf-js/bower.json | 14 - .../node_modules/sprintf-js/demo/angular.html | 20 - .../sprintf-js/dist/angular-sprintf.min.js | 4 - .../dist/angular-sprintf.min.js.map | 1 - .../sprintf-js/dist/angular-sprintf.min.map | 1 - .../sprintf-js/dist/sprintf.min.js | 4 - .../sprintf-js/dist/sprintf.min.js.map | 1 - .../sprintf-js/dist/sprintf.min.map | 1 - .../node_modules/sprintf-js/gruntfile.js | 36 - .../node_modules/sprintf-js/package.json | 22 - .../sprintf-js/src/angular-sprintf.js | 18 - .../node_modules/sprintf-js/src/sprintf.js | 208 - .../node_modules/sprintf-js/test/test.js | 82 - .../node_modules/stack-utils/LICENSE.md | 21 - .../node_modules/stack-utils/index.js | 344 - .../node_modules/stack-utils/package.json | 39 - .../node_modules/stack-utils/readme.md | 143 - .../node_modules/string-length/index.d.ts | 22 - .../node_modules/string-length/index.js | 19 - .../node_modules/string-length/license | 9 - .../node_modules/string-length/package.json | 45 - .../node_modules/string-length/readme.md | 43 - .../node_modules/string-width/index.d.ts | 29 - .../node_modules/string-width/index.js | 47 - .../node_modules/string-width/license | 9 - .../node_modules/string-width/package.json | 56 - .../node_modules/string-width/readme.md | 50 - .../node_modules/strip-bom/index.d.ts | 14 - .../node_modules/strip-bom/index.js | 15 - .../node_modules/strip-bom/license | 9 - .../node_modules/strip-bom/package.json | 42 - .../node_modules/strip-bom/readme.md | 54 - .../node_modules/strip-final-newline/index.js | 16 - .../node_modules/strip-final-newline/license | 9 - .../strip-final-newline/package.json | 40 - .../strip-final-newline/readme.md | 30 - .../node_modules/test-exclude/CHANGELOG.md | 352 - .../node_modules/test-exclude/LICENSE.txt | 14 - .../node_modules/test-exclude/README.md | 96 - .../node_modules/test-exclude/index.js | 161 - .../test-exclude/is-outside-dir-posix.js | 7 - .../test-exclude/is-outside-dir-win32.js | 10 - .../test-exclude/is-outside-dir.js | 7 - .../node_modules/test-exclude/package.json | 45 - .../risk-engine/node_modules/tmpl/lib/tmpl.js | 17 - lambdas/risk-engine/node_modules/tmpl/license | 28 - .../node_modules/tmpl/package.json | 19 - .../risk-engine/node_modules/tmpl/readme.md | 10 - .../node_modules/ts-jest/.lintstagedrc | 4 - .../node_modules/ts-jest/.ts-jest-digest | 1 - .../node_modules/ts-jest/CHANGELOG.md | 2025 --- .../node_modules/ts-jest/CONTRIBUTING.md | 121 - .../node_modules/ts-jest/LICENSE.md | 21 - .../node_modules/ts-jest/README.md | 74 - .../node_modules/ts-jest/TROUBLESHOOTING.md | 3 - .../risk-engine/node_modules/ts-jest/cli.js | 3 - .../ts-jest/dist/cli/config/init.d.ts | 6 - .../ts-jest/dist/cli/config/init.js | 139 - .../ts-jest/dist/cli/config/migrate.d.ts | 1 - .../ts-jest/dist/cli/config/migrate.js | 177 - .../node_modules/ts-jest/dist/cli/help.d.ts | 1 - .../node_modules/ts-jest/dist/cli/help.js | 25 - .../ts-jest/dist/cli/helpers/presets.d.ts | 1 - .../ts-jest/dist/cli/helpers/presets.js | 41 - .../node_modules/ts-jest/dist/cli/index.d.ts | 1 - .../node_modules/ts-jest/dist/cli/index.js | 63 - .../ts-jest/dist/config/index.d.ts | 2 - .../node_modules/ts-jest/dist/config/index.js | 18 - .../config/paths-to-module-name-mapper.d.ts | 9 - .../config/paths-to-module-name-mapper.js | 52 - .../ts-jest/dist/config/types.d.ts | 2 - .../node_modules/ts-jest/dist/config/types.js | 2 - .../node_modules/ts-jest/dist/constants.d.ts | 13 - .../node_modules/ts-jest/dist/constants.js | 22 - .../node_modules/ts-jest/dist/index.d.ts | 15 - .../node_modules/ts-jest/dist/index.js | 31 - .../dist/legacy/compiler/compiler-utils.d.ts | 8 - .../dist/legacy/compiler/compiler-utils.js | 32 - .../ts-jest/dist/legacy/compiler/index.d.ts | 2 - .../ts-jest/dist/legacy/compiler/index.js | 18 - .../dist/legacy/compiler/ts-compiler.d.ts | 27 - .../dist/legacy/compiler/ts-compiler.js | 434 - .../legacy/compiler/ts-jest-compiler.d.ts | 8 - .../dist/legacy/compiler/ts-jest-compiler.js | 18 - .../dist/legacy/config/config-set.d.ts | 36 - .../ts-jest/dist/legacy/config/config-set.js | 622 - .../ts-jest/dist/legacy/index.d.ts | 6 - .../node_modules/ts-jest/dist/legacy/index.js | 6 - .../dist/legacy/ts-jest-transformer.d.ts | 28 - .../dist/legacy/ts-jest-transformer.js | 293 - .../ts-jest/dist/presets/all-presets.d.ts | 15 - .../ts-jest/dist/presets/all-presets.js | 42 - .../dist/presets/create-jest-preset.d.ts | 18 - .../dist/presets/create-jest-preset.js | 180 - .../ts-jest/dist/raw-compiler-options.d.ts | 556 - .../ts-jest/dist/raw-compiler-options.js | 2 - .../ts-jest/dist/transformers/hoist-jest.d.ts | 9 - .../ts-jest/dist/transformers/hoist-jest.js | 111 - .../typescript/transpile-module.d.ts | 8 - .../typescript/transpile-module.js | 174 - .../node_modules/ts-jest/dist/types.d.ts | 282 - .../node_modules/ts-jest/dist/types.js | 3 - .../ts-jest/dist/utils/backports.d.ts | 1 - .../ts-jest/dist/utils/backports.js | 118 - .../ts-jest/dist/utils/diagnostics.d.ts | 5 - .../ts-jest/dist/utils/diagnostics.js | 8 - .../dist/utils/get-package-version.d.ts | 1 - .../ts-jest/dist/utils/get-package-version.js | 14 - .../ts-jest/dist/utils/importer.d.ts | 1 - .../ts-jest/dist/utils/importer.js | 146 - .../ts-jest/dist/utils/index.d.ts | 4 - .../node_modules/ts-jest/dist/utils/index.js | 20 - .../node_modules/ts-jest/dist/utils/json.d.ts | 2 - .../node_modules/ts-jest/dist/utils/json.js | 16 - .../ts-jest/dist/utils/jsonable-value.d.ts | 10 - .../ts-jest/dist/utils/jsonable-value.js | 29 - .../ts-jest/dist/utils/logger.d.ts | 1 - .../node_modules/ts-jest/dist/utils/logger.js | 20 - .../ts-jest/dist/utils/memoize.d.ts | 1 - .../ts-jest/dist/utils/memoize.js | 60 - .../ts-jest/dist/utils/messages.d.ts | 1 - .../ts-jest/dist/utils/messages.js | 21 - .../ts-jest/dist/utils/normalize-slashes.d.ts | 1 - .../ts-jest/dist/utils/normalize-slashes.js | 9 - .../node_modules/ts-jest/dist/utils/sha1.d.ts | 1 - .../node_modules/ts-jest/dist/utils/sha1.js | 38 - .../ts-jest/dist/utils/ts-error.d.ts | 1 - .../ts-jest/dist/utils/ts-error.js | 37 - .../node_modules/ts-jest/jest-preset.js | 1 - .../node_modules/ts-jest/legacy.js | 1 - .../ts-jest/node_modules/.bin/semver | 1 - .../ts-jest/node_modules/semver/LICENSE | 15 - .../ts-jest/node_modules/semver/README.md | 665 - .../ts-jest/node_modules/semver/bin/semver.js | 191 - .../node_modules/semver/classes/comparator.js | 143 - .../node_modules/semver/classes/index.js | 7 - .../node_modules/semver/classes/range.js | 557 - .../node_modules/semver/classes/semver.js | 333 - .../node_modules/semver/functions/clean.js | 8 - .../node_modules/semver/functions/cmp.js | 54 - .../node_modules/semver/functions/coerce.js | 62 - .../semver/functions/compare-build.js | 9 - .../semver/functions/compare-loose.js | 5 - .../node_modules/semver/functions/compare.js | 7 - .../node_modules/semver/functions/diff.js | 60 - .../node_modules/semver/functions/eq.js | 5 - .../node_modules/semver/functions/gt.js | 5 - .../node_modules/semver/functions/gte.js | 5 - .../node_modules/semver/functions/inc.js | 21 - .../node_modules/semver/functions/lt.js | 5 - .../node_modules/semver/functions/lte.js | 5 - .../node_modules/semver/functions/major.js | 5 - .../node_modules/semver/functions/minor.js | 5 - .../node_modules/semver/functions/neq.js | 5 - .../node_modules/semver/functions/parse.js | 18 - .../node_modules/semver/functions/patch.js | 5 - .../semver/functions/prerelease.js | 8 - .../node_modules/semver/functions/rcompare.js | 5 - .../node_modules/semver/functions/rsort.js | 5 - .../semver/functions/satisfies.js | 12 - .../node_modules/semver/functions/sort.js | 5 - .../node_modules/semver/functions/valid.js | 8 - .../ts-jest/node_modules/semver/index.js | 91 - .../node_modules/semver/internal/constants.js | 37 - .../node_modules/semver/internal/debug.js | 11 - .../semver/internal/identifiers.js | 29 - .../node_modules/semver/internal/lrucache.js | 42 - .../semver/internal/parse-options.js | 17 - .../node_modules/semver/internal/re.js | 223 - .../ts-jest/node_modules/semver/package.json | 78 - .../ts-jest/node_modules/semver/preload.js | 4 - .../ts-jest/node_modules/semver/range.bnf | 16 - .../ts-jest/node_modules/semver/ranges/gtr.js | 6 - .../node_modules/semver/ranges/intersects.js | 9 - .../ts-jest/node_modules/semver/ranges/ltr.js | 6 - .../semver/ranges/max-satisfying.js | 27 - .../semver/ranges/min-satisfying.js | 26 - .../node_modules/semver/ranges/min-version.js | 63 - .../node_modules/semver/ranges/outside.js | 82 - .../node_modules/semver/ranges/simplify.js | 49 - .../node_modules/semver/ranges/subset.js | 249 - .../semver/ranges/to-comparators.js | 10 - .../node_modules/semver/ranges/valid.js | 13 - .../ts-jest/node_modules/type-fest/index.d.ts | 178 - .../node_modules/type-fest/license-cc0 | 121 - .../node_modules/type-fest/license-mit | 9 - .../node_modules/type-fest/package.json | 91 - .../ts-jest/node_modules/type-fest/readme.md | 1060 -- .../type-fest/source/all-union-fields.d.ts | 88 - .../node_modules/type-fest/source/and.d.ts | 25 - .../type-fest/source/array-indices.d.ts | 23 - .../type-fest/source/array-slice.d.ts | 109 - .../type-fest/source/array-splice.d.ts | 99 - .../type-fest/source/array-tail.d.ts | 76 - .../type-fest/source/array-values.d.ts | 22 - .../type-fest/source/arrayable.d.ts | 29 - .../type-fest/source/async-return-type.d.ts | 23 - .../type-fest/source/asyncify.d.ts | 32 - .../node_modules/type-fest/source/basic.d.ts | 68 - .../type-fest/source/camel-case.d.ts | 89 - .../source/camel-cased-properties-deep.d.ts | 97 - .../source/camel-cased-properties.d.ts | 43 - .../type-fest/source/conditional-except.d.ts | 45 - .../type-fest/source/conditional-keys.d.ts | 47 - .../source/conditional-pick-deep.d.ts | 118 - .../type-fest/source/conditional-pick.d.ts | 44 - .../source/conditional-simplify.d.ts | 32 - .../type-fest/source/delimiter-case.d.ts | 78 - .../delimiter-cased-properties-deep.d.ts | 106 - .../source/delimiter-cased-properties.d.ts | 46 - .../type-fest/source/distributed-omit.d.ts | 89 - .../type-fest/source/distributed-pick.d.ts | 85 - .../type-fest/source/empty-object.d.ts | 46 - .../type-fest/source/enforce-optional.d.ts | 47 - .../type-fest/source/entries.d.ts | 62 - .../node_modules/type-fest/source/entry.d.ts | 65 - .../node_modules/type-fest/source/exact.d.ts | 68 - .../node_modules/type-fest/source/except.d.ts | 108 - .../type-fest/source/find-global-type.d.ts | 64 - .../type-fest/source/fixed-length-array.d.ts | 43 - .../node_modules/type-fest/source/get.d.ts | 219 - .../type-fest/source/global-this.d.ts | 21 - .../source/greater-than-or-equal.d.ts | 22 - .../type-fest/source/greater-than.d.ts | 56 - .../type-fest/source/has-optional-keys.d.ts | 21 - .../type-fest/source/has-readonly-keys.d.ts | 21 - .../type-fest/source/has-required-keys.d.ts | 59 - .../type-fest/source/has-writable-keys.d.ts | 21 - .../node_modules/type-fest/source/if-any.d.ts | 24 - .../type-fest/source/if-empty-object.d.ts | 26 - .../type-fest/source/if-never.d.ts | 24 - .../type-fest/source/if-null.d.ts | 24 - .../type-fest/source/if-unknown.d.ts | 24 - .../type-fest/source/includes.d.ts | 22 - .../type-fest/source/int-closed-range.d.ts | 35 - .../type-fest/source/int-range.d.ts | 55 - .../type-fest/source/internal/array.d.ts | 126 - .../type-fest/source/internal/characters.d.ts | 67 - .../type-fest/source/internal/index.d.ts | 8 - .../type-fest/source/internal/keys.d.ts | 97 - .../type-fest/source/internal/numeric.d.ts | 118 - .../type-fest/source/internal/object.d.ts | 236 - .../type-fest/source/internal/string.d.ts | 210 - .../type-fest/source/internal/tuple.d.ts | 90 - .../type-fest/source/internal/type.d.ts | 139 - .../type-fest/source/invariant-of.d.ts | 76 - .../node_modules/type-fest/source/is-any.d.ts | 33 - .../type-fest/source/is-equal.d.ts | 31 - .../type-fest/source/is-float.d.ts | 41 - .../type-fest/source/is-integer.d.ts | 58 - .../type-fest/source/is-literal.d.ts | 296 - .../type-fest/source/is-never.d.ts | 42 - .../type-fest/source/is-null.d.ts | 20 - .../type-fest/source/is-tuple.d.ts | 89 - .../type-fest/source/is-unknown.d.ts | 52 - .../type-fest/source/iterable-element.d.ts | 64 - .../node_modules/type-fest/source/join.d.ts | 68 - .../type-fest/source/jsonifiable.d.ts | 37 - .../type-fest/source/jsonify.d.ts | 122 - .../type-fest/source/kebab-case.d.ts | 44 - .../source/kebab-cased-properties-deep.d.ts | 63 - .../source/kebab-cased-properties.d.ts | 40 - .../type-fest/source/keys-of-union.d.ts | 42 - .../type-fest/source/last-array-element.d.ts | 38 - .../type-fest/source/less-than-or-equal.d.ts | 22 - .../type-fest/source/less-than.d.ts | 26 - .../source/literal-to-primitive-deep.d.ts | 36 - .../source/literal-to-primitive.d.ts | 36 - .../type-fest/source/literal-union.d.ts | 37 - .../type-fest/source/merge-deep.d.ts | 486 - .../type-fest/source/merge-exclusive.d.ts | 41 - .../node_modules/type-fest/source/merge.d.ts | 48 - .../source/multidimensional-array.d.ts | 44 - .../multidimensional-readonly-array.d.ts | 48 - .../type-fest/source/non-empty-object.d.ts | 35 - .../type-fest/source/non-empty-string.d.ts | 28 - .../type-fest/source/non-empty-tuple.d.ts | 21 - .../type-fest/source/numeric.d.ts | 222 - .../type-fest/source/observable-like.d.ts | 63 - .../type-fest/source/omit-deep.d.ts | 167 - .../source/omit-index-signature.d.ts | 95 - .../node_modules/type-fest/source/opaque.d.ts | 1 - .../type-fest/source/optional-keys-of.d.ts | 39 - .../node_modules/type-fest/source/or.d.ts | 25 - .../type-fest/source/override-properties.d.ts | 36 - .../type-fest/source/package-json.d.ts | 676 - .../type-fest/source/partial-deep.d.ts | 151 - .../source/partial-on-undefined-deep.d.ts | 78 - .../type-fest/source/pascal-case.d.ts | 42 - .../source/pascal-cased-properties-deep.d.ts | 62 - .../source/pascal-cased-properties.d.ts | 36 - .../node_modules/type-fest/source/paths.d.ts | 262 - .../type-fest/source/pick-deep.d.ts | 149 - .../source/pick-index-signature.d.ts | 50 - .../type-fest/source/primitive.d.ts | 13 - .../type-fest/source/promisable.d.ts | 25 - .../type-fest/source/readonly-deep.d.ts | 81 - .../type-fest/source/readonly-keys-of.d.ts | 30 - .../type-fest/source/readonly-tuple.d.ts | 41 - .../type-fest/source/replace.d.ts | 85 - .../type-fest/source/require-all-or-none.d.ts | 51 - .../source/require-at-least-one.d.ts | 47 - .../type-fest/source/require-exactly-one.d.ts | 45 - .../type-fest/source/require-one-or-none.d.ts | 46 - .../type-fest/source/required-deep.d.ts | 78 - .../type-fest/source/required-keys-of.d.ts | 30 - .../node_modules/type-fest/source/schema.d.ts | 114 - .../source/screaming-snake-case.d.ts | 28 - .../type-fest/source/set-field-type.d.ts | 65 - .../source/set-non-nullable-deep.d.ts | 83 - .../type-fest/source/set-non-nullable.d.ts | 39 - .../type-fest/source/set-optional.d.ts | 38 - .../type-fest/source/set-parameter-type.d.ts | 117 - .../type-fest/source/set-readonly.d.ts | 39 - .../type-fest/source/set-required-deep.d.ts | 68 - .../type-fest/source/set-required.d.ts | 70 - .../type-fest/source/set-return-type.d.ts | 29 - .../source/shared-union-fields-deep.d.ts | 178 - .../type-fest/source/shared-union-fields.d.ts | 76 - .../type-fest/source/simplify-deep.d.ts | 115 - .../type-fest/source/simplify.d.ts | 58 - .../type-fest/source/single-key-object.d.ts | 29 - .../type-fest/source/snake-case.d.ts | 45 - .../source/snake-cased-properties-deep.d.ts | 63 - .../source/snake-cased-properties.d.ts | 40 - .../node_modules/type-fest/source/split.d.ts | 88 - .../node_modules/type-fest/source/spread.d.ts | 84 - .../type-fest/source/string-key-of.d.ts | 25 - .../type-fest/source/string-repeat.d.ts | 47 - .../type-fest/source/string-slice.d.ts | 37 - .../type-fest/source/stringified.d.ts | 23 - .../source/structured-cloneable.d.ts | 92 - .../type-fest/source/subtract.d.ts | 83 - .../node_modules/type-fest/source/sum.d.ts | 78 - .../type-fest/source/tagged-union.d.ts | 51 - .../node_modules/type-fest/source/tagged.d.ts | 256 - .../node_modules/type-fest/source/trim.d.ts | 27 - .../type-fest/source/tsconfig-json.d.ts | 1294 -- .../type-fest/source/tuple-to-object.d.ts | 42 - .../type-fest/source/tuple-to-union.d.ts | 51 - .../type-fest/source/typed-array.d.ts | 17 - .../source/undefined-on-partial-deep.d.ts | 80 - .../source/union-to-intersection.d.ts | 61 - .../type-fest/source/union-to-tuple.d.ts | 56 - .../type-fest/source/unknown-array.d.ts | 25 - .../type-fest/source/unknown-map.d.ts | 24 - .../type-fest/source/unknown-record.d.ts | 31 - .../type-fest/source/unknown-set.d.ts | 24 - .../type-fest/source/value-of.d.ts | 42 - .../node_modules/type-fest/source/words.d.ts | 118 - .../type-fest/source/writable-deep.d.ts | 83 - .../type-fest/source/writable-keys-of.d.ts | 33 - .../type-fest/source/writable.d.ts | 68 - .../node_modules/ts-jest/package.json | 144 - .../node_modules/ts-jest/preprocessor.js | 7 - .../presets/default-esm-legacy/jest-preset.js | 1 - .../presets/default-esm/jest-preset.js | 1 - .../presets/default-legacy/jest-preset.js | 1 - .../ts-jest/presets/default/jest-preset.js | 1 - .../node_modules/ts-jest/presets/index.d.ts | 3 - .../node_modules/ts-jest/presets/index.js | 3 - .../js-with-babel-esm-legacy/jest-preset.js | 1 - .../presets/js-with-babel-esm/jest-preset.js | 1 - .../js-with-babel-legacy/jest-preset.js | 1 - .../presets/js-with-babel/jest-preset.js | 1 - .../js-with-ts-esm-legacy/jest-preset.js | 1 - .../presets/js-with-ts-esm/jest-preset.js | 1 - .../presets/js-with-ts-legacy/jest-preset.js | 1 - .../ts-jest/presets/js-with-ts/jest-preset.js | 1 - .../node_modules/ts-jest/tsconfig.base.json | 20 - .../node_modules/type-detect/LICENSE | 19 - .../node_modules/type-detect/README.md | 228 - .../node_modules/type-detect/index.js | 378 - .../node_modules/type-detect/package.json | 1 - .../node_modules/type-detect/type-detect.js | 388 - .../node_modules/type-fest/base.d.ts | 39 - .../node_modules/type-fest/index.d.ts | 2 - .../node_modules/type-fest/license | 9 - .../node_modules/type-fest/package.json | 58 - .../node_modules/type-fest/readme.md | 760 - .../type-fest/source/async-return-type.d.ts | 23 - .../type-fest/source/asyncify.d.ts | 31 - .../node_modules/type-fest/source/basic.d.ts | 51 - .../type-fest/source/conditional-except.d.ts | 43 - .../type-fest/source/conditional-keys.d.ts | 43 - .../type-fest/source/conditional-pick.d.ts | 42 - .../type-fest/source/entries.d.ts | 57 - .../node_modules/type-fest/source/entry.d.ts | 60 - .../node_modules/type-fest/source/except.d.ts | 22 - .../type-fest/source/fixed-length-array.d.ts | 38 - .../type-fest/source/iterable-element.d.ts | 46 - .../type-fest/source/literal-union.d.ts | 33 - .../type-fest/source/merge-exclusive.d.ts | 39 - .../node_modules/type-fest/source/merge.d.ts | 25 - .../type-fest/source/mutable.d.ts | 38 - .../node_modules/type-fest/source/opaque.d.ts | 65 - .../type-fest/source/package-json.d.ts | 611 - .../type-fest/source/partial-deep.d.ts | 72 - .../type-fest/source/promisable.d.ts | 23 - .../type-fest/source/promise-value.d.ts | 27 - .../type-fest/source/readonly-deep.d.ts | 59 - .../source/require-at-least-one.d.ts | 33 - .../type-fest/source/require-exactly-one.d.ts | 35 - .../type-fest/source/set-optional.d.ts | 33 - .../type-fest/source/set-required.d.ts | 33 - .../type-fest/source/set-return-type.d.ts | 29 - .../type-fest/source/simplify.d.ts | 4 - .../type-fest/source/stringified.d.ts | 21 - .../type-fest/source/tsconfig-json.d.ts | 870 - .../type-fest/source/typed-array.d.ts | 15 - .../source/union-to-intersection.d.ts | 58 - .../type-fest/source/utilities.d.ts | 5 - .../type-fest/source/value-of.d.ts | 40 - .../type-fest/ts41/camel-case.d.ts | 64 - .../type-fest/ts41/delimiter-case.d.ts | 85 - .../node_modules/type-fest/ts41/get.d.ts | 131 - .../node_modules/type-fest/ts41/index.d.ts | 10 - .../type-fest/ts41/kebab-case.d.ts | 36 - .../type-fest/ts41/pascal-case.d.ts | 36 - .../type-fest/ts41/snake-case.d.ts | 35 - .../type-fest/ts41/utilities.d.ts | 8 - .../node_modules/uglify-js/LICENSE | 29 - .../node_modules/uglify-js/README.md | 1479 -- .../node_modules/uglify-js/bin/uglifyjs | 624 - .../node_modules/uglify-js/lib/ast.js | 2357 --- .../node_modules/uglify-js/lib/compress.js | 14650 ---------------- .../node_modules/uglify-js/lib/minify.js | 278 - .../node_modules/uglify-js/lib/mozilla-ast.js | 1338 -- .../node_modules/uglify-js/lib/output.js | 1983 --- .../node_modules/uglify-js/lib/parse.js | 2589 --- .../node_modules/uglify-js/lib/propmangle.js | 328 - .../node_modules/uglify-js/lib/scope.js | 883 - .../node_modules/uglify-js/lib/sourcemap.js | 195 - .../node_modules/uglify-js/lib/transform.js | 250 - .../node_modules/uglify-js/lib/utils.js | 300 - .../node_modules/uglify-js/package.json | 56 - .../uglify-js/tools/domprops.html | 456 - .../uglify-js/tools/domprops.json | 8327 --------- .../node_modules/uglify-js/tools/exports.js | 8 - .../node_modules/uglify-js/tools/node.js | 115 - .../node_modules/uglify-js/tools/tty.js | 22 - .../update-browserslist-db/LICENSE | 20 - .../update-browserslist-db/README.md | 30 - .../check-npm-version.js | 17 - .../update-browserslist-db/cli.js | 42 - .../update-browserslist-db/index.d.ts | 6 - .../update-browserslist-db/index.js | 347 - .../update-browserslist-db/package.json | 40 - .../update-browserslist-db/utils.js | 25 - .../node_modules/v8-to-istanbul/CHANGELOG.md | 445 - .../node_modules/v8-to-istanbul/LICENSE.txt | 14 - .../node_modules/v8-to-istanbul/README.md | 88 - .../node_modules/v8-to-istanbul/index.d.ts | 25 - .../node_modules/v8-to-istanbul/index.js | 5 - .../node_modules/v8-to-istanbul/lib/branch.js | 28 - .../v8-to-istanbul/lib/function.js | 29 - .../node_modules/v8-to-istanbul/lib/line.js | 34 - .../node_modules/v8-to-istanbul/lib/range.js | 35 - .../node_modules/v8-to-istanbul/lib/source.js | 254 - .../v8-to-istanbul/lib/v8-to-istanbul.js | 323 - .../node_modules/v8-to-istanbul/package.json | 49 - .../node_modules/walker/.travis.yml | 3 - .../risk-engine/node_modules/walker/LICENSE | 13 - .../node_modules/walker/lib/walker.js | 111 - .../node_modules/walker/package.json | 27 - .../risk-engine/node_modules/walker/readme.md | 52 - .../risk-engine/node_modules/wordwrap/LICENSE | 18 - .../node_modules/wordwrap/README.markdown | 70 - .../node_modules/wordwrap/example/center.js | 10 - .../node_modules/wordwrap/example/meat.js | 3 - .../node_modules/wordwrap/index.js | 76 - .../node_modules/wordwrap/package.json | 34 - .../node_modules/wordwrap/test/break.js | 32 - .../node_modules/wordwrap/test/idleness.txt | 63 - .../node_modules/wordwrap/test/wrap.js | 33 - .../node_modules/wrap-ansi/index.js | 216 - .../node_modules/wrap-ansi/license | 9 - .../node_modules/wrap-ansi/package.json | 62 - .../node_modules/wrap-ansi/readme.md | 91 - .../node_modules/write-file-atomic/LICENSE.md | 6 - .../node_modules/write-file-atomic/README.md | 91 - .../write-file-atomic/lib/index.js | 267 - .../write-file-atomic/package.json | 55 - .../node_modules/y18n/CHANGELOG.md | 100 - lambdas/risk-engine/node_modules/y18n/LICENSE | 13 - .../risk-engine/node_modules/y18n/README.md | 127 - .../node_modules/y18n/build/index.cjs | 203 - .../node_modules/y18n/build/lib/cjs.js | 6 - .../node_modules/y18n/build/lib/index.js | 174 - .../y18n/build/lib/platform-shims/node.js | 19 - .../risk-engine/node_modules/y18n/index.mjs | 8 - .../node_modules/y18n/package.json | 70 - .../risk-engine/node_modules/yallist/LICENSE | 15 - .../node_modules/yallist/README.md | 204 - .../node_modules/yallist/iterator.js | 8 - .../node_modules/yallist/package.json | 29 - .../node_modules/yallist/yallist.js | 426 - .../node_modules/yargs-parser/CHANGELOG.md | 308 - .../node_modules/yargs-parser/LICENSE.txt | 14 - .../node_modules/yargs-parser/README.md | 518 - .../node_modules/yargs-parser/browser.js | 29 - .../node_modules/yargs-parser/build/index.cjs | 1050 -- .../yargs-parser/build/lib/index.js | 62 - .../yargs-parser/build/lib/string-utils.js | 65 - .../build/lib/tokenize-arg-string.js | 40 - .../build/lib/yargs-parser-types.js | 12 - .../yargs-parser/build/lib/yargs-parser.js | 1045 -- .../node_modules/yargs-parser/package.json | 92 - .../risk-engine/node_modules/yargs/LICENSE | 21 - .../risk-engine/node_modules/yargs/README.md | 204 - .../node_modules/yargs/browser.d.ts | 5 - .../node_modules/yargs/browser.mjs | 7 - .../node_modules/yargs/build/index.cjs | 1 - .../node_modules/yargs/build/lib/argsert.js | 62 - .../node_modules/yargs/build/lib/command.js | 449 - .../yargs/build/lib/completion-templates.js | 48 - .../yargs/build/lib/completion.js | 243 - .../yargs/build/lib/middleware.js | 88 - .../yargs/build/lib/parse-command.js | 32 - .../yargs/build/lib/typings/common-types.js | 9 - .../build/lib/typings/yargs-parser-types.js | 1 - .../node_modules/yargs/build/lib/usage.js | 584 - .../yargs/build/lib/utils/apply-extends.js | 59 - .../yargs/build/lib/utils/is-promise.js | 5 - .../yargs/build/lib/utils/levenshtein.js | 34 - .../build/lib/utils/maybe-async-result.js | 17 - .../yargs/build/lib/utils/obj-filter.js | 10 - .../yargs/build/lib/utils/process-argv.js | 17 - .../yargs/build/lib/utils/set-blocking.js | 12 - .../yargs/build/lib/utils/which-module.js | 10 - .../yargs/build/lib/validation.js | 305 - .../yargs/build/lib/yargs-factory.js | 1512 -- .../node_modules/yargs/build/lib/yerror.js | 9 - .../node_modules/yargs/helpers/helpers.mjs | 10 - .../node_modules/yargs/helpers/index.js | 14 - .../node_modules/yargs/helpers/package.json | 3 - .../risk-engine/node_modules/yargs/index.cjs | 53 - .../risk-engine/node_modules/yargs/index.mjs | 8 - .../yargs/lib/platform-shims/browser.mjs | 95 - .../yargs/lib/platform-shims/esm.mjs | 73 - .../node_modules/yargs/locales/be.json | 46 - .../node_modules/yargs/locales/cs.json | 51 - .../node_modules/yargs/locales/de.json | 46 - .../node_modules/yargs/locales/en.json | 55 - .../node_modules/yargs/locales/es.json | 46 - .../node_modules/yargs/locales/fi.json | 49 - .../node_modules/yargs/locales/fr.json | 53 - .../node_modules/yargs/locales/hi.json | 49 - .../node_modules/yargs/locales/hu.json | 46 - .../node_modules/yargs/locales/id.json | 50 - .../node_modules/yargs/locales/it.json | 46 - .../node_modules/yargs/locales/ja.json | 51 - .../node_modules/yargs/locales/ko.json | 49 - .../node_modules/yargs/locales/nb.json | 44 - .../node_modules/yargs/locales/nl.json | 49 - .../node_modules/yargs/locales/nn.json | 44 - .../node_modules/yargs/locales/pirate.json | 13 - .../node_modules/yargs/locales/pl.json | 49 - .../node_modules/yargs/locales/pt.json | 45 - .../node_modules/yargs/locales/pt_BR.json | 48 - .../node_modules/yargs/locales/ru.json | 51 - .../node_modules/yargs/locales/th.json | 46 - .../node_modules/yargs/locales/tr.json | 48 - .../node_modules/yargs/locales/uk_UA.json | 51 - .../node_modules/yargs/locales/uz.json | 52 - .../node_modules/yargs/locales/zh_CN.json | 48 - .../node_modules/yargs/locales/zh_TW.json | 51 - .../node_modules/yargs/package.json | 123 - lambdas/risk-engine/node_modules/yargs/yargs | 9 - .../risk-engine/node_modules/yargs/yargs.mjs | 10 - lambdas/risk-engine/package-lock.json | 5446 ------ package-lock.json | 11709 ++++++------ package.json | 3 +- packages/risk-engine/jest.config.js | 6 + .../risk-engine/package.json | 15 +- .../risk-engine/src}/compliance-engine.ts | 0 .../risk-engine/src}/compliance-rules.ts | 0 .../risk-engine/src}/compliance-types.ts | 0 .../risk-engine/src}/index.ts | 0 .../risk-engine/src}/rules.test.ts | 0 .../risk-engine/src}/rules.ts | 0 .../risk-engine/src}/runner.ts | 0 .../risk-engine/src}/scoring.test.ts | 0 .../risk-engine/src}/scoring.ts | 0 .../risk-engine/src}/types.test.ts | 0 .../risk-engine/src}/types.ts | 0 .../risk-engine/tsconfig.json | 8 +- 6284 files changed, 5746 insertions(+), 538503 deletions(-) delete mode 100644 lambdas/risk-engine/dist/index.d.ts delete mode 100644 lambdas/risk-engine/dist/index.d.ts.map delete mode 100644 lambdas/risk-engine/dist/index.js delete mode 100644 lambdas/risk-engine/dist/index.js.map delete mode 100644 lambdas/risk-engine/dist/rules.d.ts delete mode 100644 lambdas/risk-engine/dist/rules.d.ts.map delete mode 100644 lambdas/risk-engine/dist/rules.js delete mode 100644 lambdas/risk-engine/dist/rules.js.map delete mode 100644 lambdas/risk-engine/dist/rules.test.d.ts delete mode 100644 lambdas/risk-engine/dist/rules.test.d.ts.map delete mode 100644 lambdas/risk-engine/dist/rules.test.js delete mode 100644 lambdas/risk-engine/dist/rules.test.js.map delete mode 100644 lambdas/risk-engine/dist/runner.d.ts delete mode 100644 lambdas/risk-engine/dist/runner.d.ts.map delete mode 100644 lambdas/risk-engine/dist/runner.js delete mode 100644 lambdas/risk-engine/dist/runner.js.map delete mode 100644 lambdas/risk-engine/dist/scoring.d.ts delete mode 100644 lambdas/risk-engine/dist/scoring.d.ts.map delete mode 100644 lambdas/risk-engine/dist/scoring.js delete mode 100644 lambdas/risk-engine/dist/scoring.js.map delete mode 100644 lambdas/risk-engine/dist/scoring.test.d.ts delete mode 100644 lambdas/risk-engine/dist/scoring.test.d.ts.map delete mode 100644 lambdas/risk-engine/dist/scoring.test.js delete mode 100644 lambdas/risk-engine/dist/scoring.test.js.map delete mode 100644 lambdas/risk-engine/dist/types.d.ts delete mode 100644 lambdas/risk-engine/dist/types.d.ts.map delete mode 100644 lambdas/risk-engine/dist/types.js delete mode 100644 lambdas/risk-engine/dist/types.js.map delete mode 100644 lambdas/risk-engine/dist/types.test.d.ts delete mode 100644 lambdas/risk-engine/dist/types.test.d.ts.map delete mode 100644 lambdas/risk-engine/dist/types.test.js delete mode 100644 lambdas/risk-engine/dist/types.test.js.map delete mode 100644 lambdas/risk-engine/jest.config.js delete mode 120000 lambdas/risk-engine/node_modules/.bin/baseline-browser-mapping delete mode 120000 lambdas/risk-engine/node_modules/.bin/browserslist delete mode 120000 lambdas/risk-engine/node_modules/.bin/create-jest delete mode 120000 lambdas/risk-engine/node_modules/.bin/esparse delete mode 120000 lambdas/risk-engine/node_modules/.bin/esvalidate delete mode 120000 lambdas/risk-engine/node_modules/.bin/handlebars delete mode 120000 lambdas/risk-engine/node_modules/.bin/import-local-fixture delete mode 120000 lambdas/risk-engine/node_modules/.bin/jest delete mode 120000 lambdas/risk-engine/node_modules/.bin/js-yaml delete mode 120000 lambdas/risk-engine/node_modules/.bin/jsesc delete mode 120000 lambdas/risk-engine/node_modules/.bin/json5 delete mode 120000 lambdas/risk-engine/node_modules/.bin/parser delete mode 120000 lambdas/risk-engine/node_modules/.bin/resolve delete mode 120000 lambdas/risk-engine/node_modules/.bin/semver delete mode 120000 lambdas/risk-engine/node_modules/.bin/ts-jest delete mode 120000 lambdas/risk-engine/node_modules/.bin/uglifyjs delete mode 120000 lambdas/risk-engine/node_modules/.bin/update-browserslist-db delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/README.md delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/auth/httpAuthSchemeProvider.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/endpoint/endpointResolver.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/endpoint/ruleset.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/models/DynamoDBServiceException.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/models/errors.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.native.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.shared.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/schemas/schemas_0.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDB.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDBClient.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthExtensionConfiguration.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchExecuteStatementCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchGetItemCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchWriteItemCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/CreateBackupCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/CreateGlobalTableCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/CreateTableCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteBackupCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteItemCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteResourcePolicyCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteTableCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeBackupCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeContinuousBackupsCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeContributorInsightsCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeEndpointsCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeExportCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeGlobalTableCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeGlobalTableSettingsCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeImportCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeLimitsCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeTableCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeTimeToLiveCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DisableKinesisStreamingDestinationCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/EnableKinesisStreamingDestinationCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ExecuteStatementCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ExecuteTransactionCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ExportTableToPointInTimeCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/GetItemCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/GetResourcePolicyCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ImportTableCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListBackupsCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListContributorInsightsCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListExportsCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListGlobalTablesCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListImportsCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListTablesCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListTagsOfResourceCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/PutItemCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/PutResourcePolicyCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/QueryCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/RestoreTableFromBackupCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/RestoreTableToPointInTimeCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ScanCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TagResourceCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TransactGetItemsCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TransactWriteItemsCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UntagResourceCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateContinuousBackupsCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateContributorInsightsCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateGlobalTableCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateGlobalTableSettingsCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateItemCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateTableCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateTimeToLiveCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/EndpointParameters.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/endpointResolver.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/extensionConfiguration.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/DynamoDBServiceException.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/enums.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/errors.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_0.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/Interfaces.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListContributorInsightsPaginator.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListExportsPaginator.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListImportsPaginator.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListTablesPaginator.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/QueryPaginator.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ScanPaginator.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.native.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.shared.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeExtensions.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/schemas/schemas_0.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForContributorInsightsEnabled.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForExportCompleted.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForImportCompleted.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForKinesisStreamingDestinationActive.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForTableExists.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForTableNotExists.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDB.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDBClient.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/auth/httpAuthExtensionConfiguration.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/auth/httpAuthSchemeProvider.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchExecuteStatementCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchGetItemCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchWriteItemCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateBackupCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateGlobalTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteBackupCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteItemCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteResourcePolicyCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeBackupCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContinuousBackupsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContributorInsightsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeEndpointsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeExportCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeImportCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeLimitsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTimeToLiveCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteStatementCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExportTableToPointInTimeCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetItemCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetResourcePolicyCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ImportTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListBackupsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListContributorInsightsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListExportsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListGlobalTablesCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListImportsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListTablesCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListTagsOfResourceCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutItemCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutResourcePolicyCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/QueryCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableFromBackupCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ScanCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TagResourceCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactGetItemsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactWriteItemsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UntagResourceCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContinuousBackupsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContributorInsightsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateItemCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTimeToLiveCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/EndpointParameters.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/endpointResolver.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/ruleset.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/extensionConfiguration.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/DynamoDBServiceException.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/enums.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/errors.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/Interfaces.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListContributorInsightsPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListExportsPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListImportsPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListTablesPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/QueryPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ScanPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.native.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.shared.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeExtensions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/schemas/schemas_0.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/DynamoDB.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/DynamoDBClient.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/CreateBackupCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/CreateTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteItemCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeExportCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeImportCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/GetItemCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ImportTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListBackupsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListExportsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListImportsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListTablesCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/PutItemCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/QueryCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ScanCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TagResourceCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UntagResourceCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateItemCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateTableCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/EndpointParameters.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/endpointResolver.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/ruleset.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/extensionConfiguration.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/DynamoDBServiceException.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/enums.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/errors.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_0.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/Interfaces.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/QueryPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ScanPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.native.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.shared.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeExtensions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/schemas/schemas_0.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForContributorInsightsEnabled.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForExportCompleted.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForImportCompleted.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForKinesisStreamingDestinationActive.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForTableExists.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForContributorInsightsEnabled.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForExportCompleted.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForImportCompleted.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForKinesisStreamingDestinationActive.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForTableExists.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForTableNotExists.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/package.json delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/README.md delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-es/codec/DynamoDBJsonCodec.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/codec/DynamoDBJsonCodec.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/ts3.4/codec/DynamoDBJsonCodec.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/package.json delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/README.md delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-es/Endpoint.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-es/EndpointCache.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/Endpoint.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/EndpointCache.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/ts3.4/Endpoint.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/ts3.4/EndpointCache.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/package.json delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/README.md delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/DynamoDBDocument.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/DynamoDBDocumentClient.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/baseCommand/DynamoDBDocumentClientCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/BatchExecuteStatementCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/BatchGetCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/BatchWriteCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/DeleteCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/ExecuteStatementCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/ExecuteTransactionCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/GetCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/PutCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/QueryCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/ScanCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/TransactGetCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/TransactWriteCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/UpdateCommand.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/utils.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/Interfaces.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/QueryPaginator.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/ScanPaginator.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/DynamoDBDocument.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/DynamoDBDocumentClient.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/baseCommand/DynamoDBDocumentClientCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/BatchExecuteStatementCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/BatchGetCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/BatchWriteCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/DeleteCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/ExecuteStatementCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/GetCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/PutCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/QueryCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/ScanCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/TransactGetCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/TransactWriteCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/UpdateCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/utils.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/Interfaces.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/QueryPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/ScanPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/DynamoDBDocument.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/DynamoDBDocumentClient.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/baseCommand/DynamoDBDocumentClientCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/BatchGetCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/BatchWriteCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/DeleteCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/GetCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/PutCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/QueryCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/ScanCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/TransactGetCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/TransactWriteCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/UpdateCommand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/utils.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/Interfaces.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/QueryPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/ScanPaginator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/package.json delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/README.md delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/configurations.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/endpointDiscoveryMiddleware.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/getCacheKey.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/getEndpointDiscoveryPlugin.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/resolveEndpointDiscoveryConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/updateDiscoveredEndpointInCache.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/configurations.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/endpointDiscoveryMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/getCacheKey.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/getEndpointDiscoveryPlugin.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/resolveEndpointDiscoveryConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/configurations.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/endpointDiscoveryMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/getCacheKey.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/getEndpointDiscoveryPlugin.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/resolveEndpointDiscoveryConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/updateDiscoveredEndpointInCache.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/updateDiscoveredEndpointInCache.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/package.json delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/README.md delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/package.json delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/README.md delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/loggerMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/package.json delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/README.md delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/configuration.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/getRecursionDetectionPlugin.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.native.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/configuration.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/getRecursionDetectionPlugin.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.native.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/package.json delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/README.md delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/constants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/constants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/package.json delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/README.md delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.native.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.native.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/awsRegionConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.native.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/extensions/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/awsRegionConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.native.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/package.json delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/README.md delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/NumberValue.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/convertToAttr.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/convertToNative.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/marshall.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/models.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/unmarshall.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/NumberValue.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/convertToAttr.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/convertToNative.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/marshall.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/models.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/NumberValue.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/convertToAttr.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/convertToNative.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/marshall.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/models.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/unmarshall.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/unmarshall.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/package.json delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/README.md delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/package.json delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/README.md delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/configurations.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/configurations.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/configurations.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/configurations.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/package.json delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/README.md delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/crt-availability.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/is-crt-available.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getRuntimeUserAgentPair.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/crt-availability.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getRuntimeUserAgentPair.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/is-crt-available.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/code-frame/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/code-frame/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/code-frame/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/code-frame/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/code-frame/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/compat-data/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/compat-data/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/compat-data/corejs2-built-ins.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/compat-data/corejs3-shipped-proposals.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/compat-data/data/corejs2-built-ins.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/compat-data/data/native-modules.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/compat-data/data/overlapping-plugins.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/compat-data/data/plugin-bugfixes.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/compat-data/data/plugins.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/compat-data/native-modules.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/compat-data/overlapping-plugins.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/compat-data/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/compat-data/plugin-bugfixes.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/compat-data/plugins.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/cache-contexts.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/cache-contexts.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/caching.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/caching.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/config-chain.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/config-chain.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/config-descriptors.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/config-descriptors.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/configuration.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/configuration.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/import.cjs delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/import.cjs.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index-browser.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index-browser.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/module-types.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/module-types.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/package.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/package.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/plugins.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/plugins.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/types.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/types.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/utils.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/files/utils.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/full.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/full.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/config-api.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/config-api.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/deep-array.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/deep-array.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/environment.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/environment.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/item.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/item.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/partial.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/partial.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/pattern-to-regex.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/pattern-to-regex.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/plugin.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/plugin.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/printer.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/printer.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets-browser.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets-browser.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/util.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/util.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/option-assertions.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/option-assertions.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/options.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/options.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/plugins.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/plugins.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/removed.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/removed.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/errors/config-error.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/errors/config-error.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/async.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/async.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/fs.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/fs.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/functional.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/functional.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/parse.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/parse.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/parser/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/parser/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/tools/build-external-helpers.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/tools/build-external-helpers.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transform-ast.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transform-ast.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transform-file-browser.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transform-file-browser.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transform-file.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transform-file.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transform.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transform.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/file.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/file.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/generate.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/generate.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/merge-map.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/merge-map.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-file.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-file.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-opts.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-opts.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/plugin-pass.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/plugin-pass.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/util/clone-deep.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/transformation/util/clone-deep.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/vendor/import-meta-resolve.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/lib/vendor/import-meta-resolve.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/src/config/files/index-browser.ts delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/src/config/files/index.ts delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/src/config/resolve-targets-browser.ts delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/src/config/resolve-targets.ts delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/src/transform-file-browser.ts delete mode 100644 lambdas/risk-engine/node_modules/@babel/core/src/transform-file.ts delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/buffer.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/buffer.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/base.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/base.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/classes.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/classes.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/deprecated.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/deprecated.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/expressions.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/expressions.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/flow.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/flow.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/jsx.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/jsx.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/methods.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/methods.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/modules.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/modules.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/statements.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/statements.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/template-literals.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/template-literals.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/types.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/types.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/typescript.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/generators/typescript.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/node/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/node/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/node/parentheses.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/node/parentheses.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/nodes.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/nodes.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/printer.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/printer.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/source-map.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/source-map.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/token-map.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/lib/token-map.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/generator/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/lib/debug.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/lib/debug.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/lib/filter-items.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/lib/filter-items.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/lib/options.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/lib/options.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/lib/pretty.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/lib/pretty.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/lib/targets.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/lib/targets.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/lib/utils.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/lib/utils.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-compilation-targets/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-globals/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-globals/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-globals/data/browser-upper.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-globals/data/builtin-lower.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-globals/data/builtin-upper.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-globals/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-imports/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-imports/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-imports/lib/import-builder.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-imports/lib/import-builder.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-imports/lib/import-injector.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-imports/lib/import-injector.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-imports/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-imports/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-imports/lib/is-module.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-imports/lib/is-module.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-imports/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/lib/get-module-name.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/lib/get-module-name.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-module-transforms/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-plugin-utils/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-plugin-utils/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-plugin-utils/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-plugin-utils/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-plugin-utils/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-string-parser/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-string-parser/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-string-parser/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-string-parser/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-string-parser/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-identifier/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-identifier/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-identifier/lib/identifier.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-identifier/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-identifier/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-identifier/lib/keyword.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-identifier/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-option/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-option/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-option/lib/find-suggestion.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-option/lib/find-suggestion.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-option/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-option/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-option/lib/validator.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-option/lib/validator.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helper-validator-option/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers-generated.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers-generated.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/AwaitValue.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/AwaitValue.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/OverloadYield.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/OverloadYield.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/applyDecoratedDescriptor.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/applyDecs.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/applyDecs.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/applyDecs2203.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/applyDecs2203R.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/applyDecs2301.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/applyDecs2305.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/applyDecs2311.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/applyDecs2311.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/arrayLikeToArray.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/arrayLikeToArray.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/arrayWithHoles.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/arrayWithoutHoles.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/assertClassBrand.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/assertClassBrand.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/assertThisInitialized.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/assertThisInitialized.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/asyncGeneratorDelegate.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/asyncIterator.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/asyncIterator.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/asyncToGenerator.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/awaitAsyncGenerator.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/callSuper.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/callSuper.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/checkInRHS.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/checkInRHS.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/checkPrivateRedeclaration.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/checkPrivateRedeclaration.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorGet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorSet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classCallCheck.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classCallCheck.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticAccess.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classCheckPrivateStaticFieldDescriptor.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classExtractFieldDescriptor.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classNameTDZError.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classNameTDZError.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldDestructureSet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet2.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldGet2.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldInitSpec.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldInitSpec.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseBase.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldLooseKey.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet2.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateFieldSet2.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateGetter.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateGetter.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateMethodGet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateMethodGet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateMethodInitSpec.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateMethodSet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateSetter.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classPrivateSetter.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldDestructureSet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldDestructureSet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecGet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classStaticPrivateFieldSpecSet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodGet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/classStaticPrivateMethodSet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/construct.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/construct.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/createClass.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/createClass.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelper.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/createForOfIteratorHelperLoose.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/createSuper.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/createSuper.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/decorate.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/decorate.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/defaults.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/defaults.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/defineAccessor.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/defineAccessor.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/defineEnumerableProperties.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/defineProperty.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/defineProperty.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/dispose.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/dispose.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/extends.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/extends.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/get.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/get.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/getPrototypeOf.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/identity.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/identity.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/importDeferProxy.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/inherits.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/inherits.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/inheritsLoose.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/inheritsLoose.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/initializerDefineProperty.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/initializerWarningHelper.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/instanceof.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/instanceof.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/interopRequireDefault.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/interopRequireWildcard.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/isNativeFunction.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/iterableToArray.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/iterableToArray.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/iterableToArrayLimit.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/jsx.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/jsx.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/newArrowCheck.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/newArrowCheck.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/nonIterableRest.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/nonIterableRest.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/nonIterableSpread.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/nullishReceiverError.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/objectDestructuringEmpty.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/objectSpread.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/objectSpread.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/objectSpread2.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/objectSpread2.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/objectWithoutProperties.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/objectWithoutPropertiesLoose.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/possibleConstructorReturn.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/readOnlyError.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/readOnlyError.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regenerator.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regenerator.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regeneratorAsync.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regeneratorAsync.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regeneratorAsyncGen.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regeneratorAsyncGen.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regeneratorAsyncIterator.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regeneratorAsyncIterator.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regeneratorDefine.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regeneratorDefine.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regeneratorKeys.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regeneratorKeys.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regeneratorRuntime.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regeneratorValues.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/regeneratorValues.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/set.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/set.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/setFunctionName.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/setFunctionName.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/setPrototypeOf.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/setPrototypeOf.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/skipFirstGeneratorNext.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/slicedToArray.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/slicedToArray.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/superPropBase.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/superPropBase.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/superPropGet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/superPropGet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/superPropSet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/superPropSet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteral.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/taggedTemplateLiteralLoose.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/tdz.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/tdz.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/temporalRef.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/temporalRef.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/temporalUndefined.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/temporalUndefined.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/toArray.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/toArray.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/toConsumableArray.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/toConsumableArray.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/toPrimitive.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/toPrimitive.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/toPropertyKey.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/toSetter.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/toSetter.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/tsRewriteRelativeImportExtensions.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/tsRewriteRelativeImportExtensions.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/typeof.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/typeof.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/using.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/using.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/usingCtx.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/usingCtx.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/wrapAsyncGenerator.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/wrapAsyncGenerator.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/wrapNativeSuper.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/wrapRegExp.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/writeOnlyError.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/helpers/writeOnlyError.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/helpers/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/parser/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/parser/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/parser/README.md delete mode 100755 lambdas/risk-engine/node_modules/@babel/parser/bin/babel-parser.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/parser/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/parser/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/parser/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/parser/typings/babel-parser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-async-generators/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-async-generators/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-async-generators/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-async-generators/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-bigint/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-bigint/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-bigint/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-bigint/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-class-properties/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-class-properties/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-class-properties/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-class-properties/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-class-static-block/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-class-static-block/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-class-static-block/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-class-static-block/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-import-attributes/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-import-attributes/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-import-attributes/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-import-attributes/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-import-meta/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-import-meta/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-import-meta/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-import-meta/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-json-strings/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-json-strings/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-json-strings/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-json-strings/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-jsx/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-jsx/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-jsx/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-jsx/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-jsx/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-logical-assignment-operators/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-logical-assignment-operators/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-logical-assignment-operators/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-logical-assignment-operators/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-nullish-coalescing-operator/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-numeric-separator/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-numeric-separator/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-numeric-separator/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-numeric-separator/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-object-rest-spread/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-object-rest-spread/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-object-rest-spread/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-object-rest-spread/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-optional-catch-binding/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-optional-catch-binding/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-optional-catch-binding/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-optional-catch-binding/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-optional-chaining/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-optional-chaining/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-optional-chaining/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-optional-chaining/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-private-property-in-object/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-private-property-in-object/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-private-property-in-object/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-private-property-in-object/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-top-level-await/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-top-level-await/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-top-level-await/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-top-level-await/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-typescript/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-typescript/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-typescript/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-typescript/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/plugin-syntax-typescript/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/builder.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/builder.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/formatters.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/formatters.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/literal.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/literal.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/options.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/options.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/parse.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/parse.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/populate.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/populate.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/string.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/lib/string.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/template/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/cache.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/cache.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/context.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/context.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/hub.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/hub.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/ancestry.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/ancestry.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/comments.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/comments.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/context.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/context.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/conversion.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/conversion.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/evaluation.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/evaluation.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/family.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/family.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/inference/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/inference/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/inference/inferers.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/inference/inferers.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/inference/util.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/inference/util.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/introspection.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/introspection.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/lib/hoister.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/lib/hoister.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/lib/virtual-types.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/lib/virtual-types.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/modification.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/modification.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/removal.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/removal.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/replacement.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/path/replacement.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/scope/binding.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/scope/binding.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/scope/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/scope/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/scope/lib/renamer.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/scope/lib/renamer.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/scope/traverseForScope.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/scope/traverseForScope.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/traverse-node.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/traverse-node.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/types.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/types.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/visitors.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/lib/visitors.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/package.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/traverse/tsconfig.overrides.json delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/README.md delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/asserts/assertNode.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/asserts/assertNode.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/asserts/generated/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/asserts/generated/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/ast-types/generated/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/ast-types/generated/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/generated/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/generated/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/generated/lowercase.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/generated/lowercase.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/generated/uppercase.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/generated/uppercase.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/productions.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/productions.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/react/buildChildren.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/react/buildChildren.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/validateNode.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/builders/validateNode.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/clone/clone.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/clone/clone.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/clone/cloneDeep.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/clone/cloneDeep.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/clone/cloneNode.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/clone/cloneNode.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/comments/addComment.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/comments/addComment.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/comments/addComments.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/comments/addComments.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/comments/inheritInnerComments.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/comments/inheritLeadingComments.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/comments/inheritTrailingComments.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/comments/inheritsComments.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/comments/inheritsComments.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/comments/removeComments.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/comments/removeComments.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/constants/generated/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/constants/generated/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/constants/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/constants/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/ensureBlock.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/ensureBlock.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toBlock.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toBlock.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toComputedKey.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toComputedKey.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toExpression.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toExpression.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toIdentifier.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toIdentifier.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toKeyAlias.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toKeyAlias.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toSequenceExpression.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toStatement.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/toStatement.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/valueToNode.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/converters/valueToNode.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/core.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/core.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/deprecated-aliases.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/experimental.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/experimental.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/flow.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/flow.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/jsx.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/jsx.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/misc.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/misc.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/placeholders.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/placeholders.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/typescript.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/typescript.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/utils.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/definitions/utils.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/index-legacy.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/index.js.flow delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/modifications/inherits.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/modifications/inherits.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/modifications/removeProperties.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/modifications/removeProperties.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/retrievers/getFunctionName.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/traverse/traverse.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/traverse/traverse.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/traverse/traverseFast.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/traverse/traverseFast.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/utils/deprecationWarning.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/utils/deprecationWarning.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/utils/inherit.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/utils/inherit.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/utils/shallowEqual.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/utils/shallowEqual.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/generated/index.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/generated/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/is.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/is.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isBinding.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isBinding.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isBlockScoped.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isBlockScoped.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isImmutable.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isImmutable.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isLet.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isLet.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isNode.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isNode.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isNodesEquivalent.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isPlaceholderType.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isReferenced.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isReferenced.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isScope.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isScope.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isSpecifierDefault.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isType.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isType.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isValidES3Identifier.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isValidIdentifier.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isVar.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/isVar.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/matchesPattern.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/matchesPattern.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/react/isCompatTag.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/react/isReactComponent.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/validate.js delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/lib/validators/validate.js.map delete mode 100644 lambdas/risk-engine/node_modules/@babel/types/package.json delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/.editorconfig delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/.gitattributes delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/LICENSE.md delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/LICENSE.txt delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/README.md delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/LICENSE.md delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/README.md delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/_src/ascii.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/_src/clone.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/_src/compare.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/_src/index.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/_src/merge.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/_src/normalize.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/_src/range-tree.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/_src/types.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/ascii.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/ascii.js delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/ascii.mjs delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/clone.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/clone.js delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/clone.mjs delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/compare.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/compare.js delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/compare.mjs delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/index.mjs delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/merge.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/merge.js delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/merge.mjs delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/normalize.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/normalize.js delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/normalize.mjs delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/package.json delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/range-tree.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/range-tree.js delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/range-tree.mjs delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/tsconfig.json delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/types.js delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/dist/lib/types.mjs delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/gulpfile.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/package.json delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/src/lib/ascii.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/src/lib/clone.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/src/lib/compare.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/src/lib/index.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/src/lib/merge.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/src/lib/normalize.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/src/lib/range-tree.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/src/lib/types.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/src/test/merge.spec.ts delete mode 100644 lambdas/risk-engine/node_modules/@bcoe/v8-coverage/tsconfig.json delete mode 100644 lambdas/risk-engine/node_modules/@istanbuljs/load-nyc-config/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/@istanbuljs/load-nyc-config/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@istanbuljs/load-nyc-config/README.md delete mode 100644 lambdas/risk-engine/node_modules/@istanbuljs/load-nyc-config/index.js delete mode 100644 lambdas/risk-engine/node_modules/@istanbuljs/load-nyc-config/load-esm.js delete mode 100644 lambdas/risk-engine/node_modules/@istanbuljs/load-nyc-config/package.json delete mode 100644 lambdas/risk-engine/node_modules/@istanbuljs/schema/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/@istanbuljs/schema/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@istanbuljs/schema/README.md delete mode 100644 lambdas/risk-engine/node_modules/@istanbuljs/schema/default-exclude.js delete mode 100644 lambdas/risk-engine/node_modules/@istanbuljs/schema/default-extension.js delete mode 100644 lambdas/risk-engine/node_modules/@istanbuljs/schema/index.js delete mode 100644 lambdas/risk-engine/node_modules/@istanbuljs/schema/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jest/console/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jest/console/build/BufferedConsole.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/console/build/CustomConsole.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/console/build/NullConsole.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/console/build/getConsoleOutput.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/console/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jest/console/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/console/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/console/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/README.md delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/FailedTestsCache.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/FailedTestsInteractiveMode.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/ReporterDispatcher.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/SearchSource.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/SnapshotInteractiveMode.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/TestNamePatternPrompt.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/TestPathPatternPrompt.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/TestScheduler.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/cli/index.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/collectHandles.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/getChangedFilesPromise.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/getConfigsOfProjectsToRun.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/getNoTestFound.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/getNoTestFoundFailed.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/getNoTestFoundVerbose.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/getNoTestsFoundMessage.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/getProjectDisplayName.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/getProjectNamesMissingWarning.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/getSelectProjectsMessage.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/lib/activeFiltersMessage.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/lib/createContext.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/lib/handleDeprecationWarnings.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/lib/isValidPath.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/lib/logDebugMessages.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/lib/updateGlobalConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/lib/watchPluginsHelpers.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/plugins/FailedTestsInteractive.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/plugins/Quit.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/plugins/TestNamePattern.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/plugins/TestPathPattern.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/plugins/UpdateSnapshots.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/plugins/UpdateSnapshotsInteractive.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/runGlobalHook.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/runJest.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/testSchedulerHelper.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/version.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/build/watch.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/core/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jest/environment/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jest/environment/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jest/environment/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/environment/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jest/expect-utils/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jest/expect-utils/README.md delete mode 100644 lambdas/risk-engine/node_modules/@jest/expect-utils/build/immutableUtils.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/expect-utils/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jest/expect-utils/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/expect-utils/build/jasmineUtils.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/expect-utils/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/expect-utils/build/utils.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/expect-utils/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jest/expect/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jest/expect/README.md delete mode 100644 lambdas/risk-engine/node_modules/@jest/expect/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jest/expect/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/expect/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/expect/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jest/fake-timers/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jest/fake-timers/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jest/fake-timers/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/fake-timers/build/legacyFakeTimers.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/fake-timers/build/modernFakeTimers.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/fake-timers/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jest/globals/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jest/globals/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jest/globals/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/globals/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/assets/jest_logo.png delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/BaseReporter.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/CoverageReporter.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/CoverageWorker.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/DefaultReporter.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/GitHubActionsReporter.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/NotifyReporter.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/Status.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/SummaryReporter.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/VerboseReporter.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/formatTestPath.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/generateEmptyCoverage.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/getResultHeader.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/getSnapshotStatus.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/getSnapshotSummary.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/getSummary.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/getWatermarks.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/printDisplayName.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/relativePath.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/trimAndFormatPath.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/build/wrapAnsiString.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/reporters/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jest/schemas/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jest/schemas/README.md delete mode 100644 lambdas/risk-engine/node_modules/@jest/schemas/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jest/schemas/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/schemas/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jest/source-map/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jest/source-map/build/getCallsite.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/source-map/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jest/source-map/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/source-map/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/source-map/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jest/test-result/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jest/test-result/build/formatTestResults.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/test-result/build/helpers.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/test-result/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jest/test-result/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/test-result/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/test-result/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jest/test-sequencer/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jest/test-sequencer/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jest/test-sequencer/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/test-sequencer/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jest/transform/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jest/transform/build/ScriptTransformer.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/transform/build/enhanceUnexpectedTokenMessage.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/transform/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jest/transform/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/transform/build/runtimeErrorsAndWarnings.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/transform/build/shouldInstrument.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/transform/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/transform/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jest/types/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jest/types/README.md delete mode 100644 lambdas/risk-engine/node_modules/@jest/types/build/Circus.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/types/build/Config.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/types/build/Global.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/types/build/TestResult.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/types/build/Transform.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/types/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jest/types/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/@jest/types/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/README.md delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/dist/types/set-array.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/src/gen-mapping.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/src/set-array.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/src/sourcemap-segment.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/src/types.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/set-array.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/set-array.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/types.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/types.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/types.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/gen-mapping/types/types.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/README.md delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/dist/remapping.mjs delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/dist/remapping.mjs.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/dist/remapping.umd.js delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/dist/remapping.umd.js.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/src/build-source-map-tree.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/src/remapping.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/src/source-map-tree.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/src/source-map.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/src/types.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/build-source-map-tree.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/build-source-map-tree.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/build-source-map-tree.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/build-source-map-tree.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/remapping.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/remapping.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/remapping.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/remapping.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/source-map-tree.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/source-map-tree.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/source-map-tree.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/source-map-tree.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/source-map.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/source-map.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/source-map.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/source-map.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/types.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/types.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/types.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/remapping/types/types.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/resolve-uri/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/resolve-uri/README.md delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/resolve-uri/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/README.md delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/src/scopes.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/src/sourcemap-codec.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/src/strings.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/src/vlq.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/strings.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/strings.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/README.md delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/package.json delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/src/binary-search.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/src/by-source.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/src/flatten-map.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/src/resolve.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/src/sort.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/src/sourcemap-segment.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/src/strip-filename.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/src/trace-mapping.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/src/types.ts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/binary-search.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/binary-search.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/by-source.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/by-source.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/by-source.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/by-source.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/resolve.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/resolve.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/sort.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/sort.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/sort.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/sort.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/types.d.cts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/types.d.cts.map delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/types.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@jridgewell/trace-mapping/types/types.d.mts.map delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/compiler/compiler.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/compiler/compiler.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/compiler/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/compiler/index.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/errors/errors.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/errors/errors.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/errors/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/errors/index.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/license delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/package.json delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/readme.md delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/system/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/system/index.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/system/system.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/system/system.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/typebox.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/typebox.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/cast.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/cast.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/check.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/check.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/clone.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/clone.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/convert.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/convert.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/create.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/create.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/delta.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/delta.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/equal.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/equal.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/hash.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/hash.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/index.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/is.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/is.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/mutate.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/mutate.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/pointer.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/pointer.js delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/value.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinclair/typebox/value/value.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/README.md delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/called-in-order.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/called-in-order.test.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/class-name.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/class-name.test.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/deprecated.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/deprecated.test.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/every.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/every.test.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/function-name.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/function-name.test.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/global.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/global.test.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/index.test.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/order-by-first-call.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/order-by-first-call.test.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/prototypes/README.md delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/prototypes/array.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/prototypes/copy-prototype-methods.test.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/prototypes/function.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/prototypes/index.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/prototypes/index.test.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/prototypes/map.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/prototypes/object.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/prototypes/set.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/prototypes/string.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/prototypes/throws-on-proto.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/type-of.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/type-of.test.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/value-to-string.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/lib/value-to-string.test.js delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/package.json delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/called-in-order.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/class-name.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/deprecated.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/every.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/function-name.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/global.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/order-by-first-call.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/prototypes/array.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/prototypes/copy-prototype-methods.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/prototypes/function.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/prototypes/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/prototypes/map.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/prototypes/object.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/prototypes/set.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/prototypes/string.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/prototypes/throws-on-proto.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/type-of.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/commons/types/value-to-string.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/fake-timers/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/fake-timers/README.md delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/fake-timers/package.json delete mode 100644 lambdas/risk-engine/node_modules/@sinonjs/fake-timers/src/fake-timers-src.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/abort-controller/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/abort-controller/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/abort-controller/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/abort-controller/dist-es/AbortController.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/abort-controller/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/abort-controller/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/abort-controller/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/utils/getEndpointFromRegion.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionConfig/checkRegion.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionConfig/config.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionConfig/getRealRegion.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionConfig/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionConfig/isFipsRegion.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionInfo/EndpointVariant.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionInfo/EndpointVariantTag.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionInfo/PartitionHash.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionInfo/RegionHash.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionInfo/getHostnameFromVariants.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionInfo/getRegionInfo.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedHostname.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedPartition.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedSigningRegion.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-es/regionInfo/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveCustomEndpointsConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/resolveEndpointsConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/utils/getEndpointFromRegion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionConfig/checkRegion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionConfig/config.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionConfig/getRealRegion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionConfig/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionConfig/isFipsRegion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariant.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionInfo/EndpointVariantTag.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionInfo/PartitionHash.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionInfo/RegionHash.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionInfo/getHostnameFromVariants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionInfo/getRegionInfo.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedHostname.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedPartition.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionInfo/getResolvedSigningRegion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/regionInfo/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/resolveEndpointsConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/utils/getEndpointFromRegion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/checkRegion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/config.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariant.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/EndpointVariantTag.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/PartitionHash.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/RegionHash.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getHostnameFromVariants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getRegionInfo.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedHostname.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedPartition.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/getResolvedSigningRegion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/dist-types/ts3.4/regionInfo/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/config-resolver/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/hash-node/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/hash-node/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/hash-node/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/hash-node/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/hash-node/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/hash-node/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/hash-node/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/invalid-dependency/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/invalid-dependency/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/invalid-dependency/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/invalid-dependency/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/invalid-dependency/dist-es/invalidFunction.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/invalid-dependency/dist-es/invalidProvider.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/invalid-dependency/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/invalid-dependency/dist-types/invalidFunction.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/invalid-dependency/dist-types/invalidProvider.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidFunction.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/invalid-dependency/dist-types/ts3.4/invalidProvider.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/invalid-dependency/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/is-array-buffer/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/is-array-buffer/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/is-array-buffer/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/is-array-buffer/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/is-array-buffer/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-content-length/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-content-length/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-content-length/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-content-length/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-content-length/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-content-length/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-content-length/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointUrlConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-es/types.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/createConfigValueProvider.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointFromInstructions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/getEndpointUrlConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/endpointMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/getEndpointPlugin.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/service-customizations/s3.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointFromInstructions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/getEndpointUrlConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/endpointMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/getEndpointPlugin.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/service-customizations/s3.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/dist-types/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-endpoint/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-es/AdaptiveRetryStrategy.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-es/configurations.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-es/defaultRetryQuota.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-es/delayDecider.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-es/omitRetryHeadersMiddleware.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-es/retryDecider.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-es/types.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-es/util.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/StandardRetryStrategy.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/defaultRetryQuota.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/delayDecider.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/isStreamingPayload/isStreamingPayload.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/omitRetryHeadersMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/retryMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/ts3.4/defaultRetryQuota.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/ts3.4/delayDecider.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/ts3.4/isStreamingPayload/isStreamingPayload.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/ts3.4/omitRetryHeadersMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/ts3.4/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/ts3.4/util.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/dist-types/util.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-retry/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-serde/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-stack/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-stack/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-stack/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-stack/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-stack/dist-es/types.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-stack/dist-types/MiddlewareStack.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-stack/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-stack/dist-types/ts3.4/MiddlewareStack.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-stack/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-stack/dist-types/ts3.4/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-stack/dist-types/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/middleware-stack/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-es/configLoader.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-es/fromEnv.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-es/fromStatic.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-es/getSelectorName.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-types/configLoader.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-types/fromEnv.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-types/fromSharedConfigFiles.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-types/fromStatic.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-types/getSelectorName.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-types/ts3.4/configLoader.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromEnv.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromSharedConfigFiles.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-types/ts3.4/fromStatic.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-types/ts3.4/getSelectorName.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/node-config-provider/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-es/ProviderError.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-es/chain.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-es/fromStatic.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-es/memoize.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-types/chain.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-types/memoize.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/property-provider/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-es/Field.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-es/Fields.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-es/extensions/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-es/httpHandler.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-es/httpRequest.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-es/httpResponse.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-es/types.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/Field.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/dist-types/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/protocol-http/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/querystring-parser/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/querystring-parser/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/querystring-parser/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/querystring-parser/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/querystring-parser/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/querystring-parser/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/querystring-parser/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/service-error-classification/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/service-error-classification/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/service-error-classification/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/service-error-classification/dist-es/constants.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/service-error-classification/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/service-error-classification/dist-types/constants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/service-error-classification/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/service-error-classification/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/constants.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/externalDataInterceptor.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigData.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/getConfigFilepath.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/mergeConfigFiles.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/parseKnownFiles.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/readFile.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/constants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/externalDataInterceptor.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigData.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/getConfigFilepath.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/getCredentialsFilepath.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/getHomeDir.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/getProfileName.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFilepath.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/getSSOTokenFromFile.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/getSsoSessionData.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/loadSsoSessionData.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/mergeConfigFiles.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/parseIni.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/parseKnownFiles.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/readFile.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/constants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/externalDataInterceptor.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigData.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getConfigFilepath.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getCredentialsFilepath.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getHomeDir.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getProfileName.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFilepath.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSSOTokenFromFile.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/getSsoSessionData.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/loadSsoSessionData.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/mergeConfigFiles.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseIni.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/parseKnownFiles.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/readFile.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/ts3.4/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/dist-types/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/shared-ini-file-loader/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/NoOpLogger.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/client.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/command.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/constants.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/default-error-handler.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/defaults-mode.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/exceptions.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/extensions/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/get-array-if-single-item.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/get-value-from-text-node.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/is-serializable-header-value.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/object-mapping.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/resolve-path.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/ser-utils.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-es/serde-json.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/NoOpLogger.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/client.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/command.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/constants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/default-error-handler.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/defaults-mode.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/exceptions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/get-array-if-single-item.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/get-value-from-text-node.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/is-serializable-header-value.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/object-mapping.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/schemaLogFilter.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ser-utils.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/serde-json.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/NoOpLogger.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/constants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/default-error-handler.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/defaults-mode.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/emitWarningIfUnsupportedVersion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/exceptions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-array-if-single-item.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/get-value-from-text-node.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/is-serializable-header-value.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/object-mapping.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/schemaLogFilter.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/ser-utils.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/dist-types/ts3.4/serde-json.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/smithy-client/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/url-parser/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/url-parser/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/url-parser/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/url-parser/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/url-parser/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/url-parser/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/url-parser/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-cjs/fromBase64.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-cjs/toBase64.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-es/constants.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-es/fromBase64.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-es/toBase64.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-types/constants.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-types/fromBase64.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-types/fromBase64.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-types/toBase64.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-types/toBase64.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-base64/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-browser/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-browser/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-browser/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-browser/dist-es/calculateBodyLength.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-browser/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-browser/dist-types/calculateBodyLength.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-browser/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/calculateBodyLength.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-browser/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-browser/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-node/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-node/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-node/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-node/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-node/dist-types/calculateBodyLength.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-node/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-node/dist-types/ts3.4/calculateBodyLength.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-node/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-body-length-node/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-buffer-from/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-buffer-from/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-buffer-from/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-buffer-from/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-buffer-from/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/dist-es/booleanSelector.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/dist-es/numberSelector.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/dist-es/types.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/dist-types/booleanSelector.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/dist-types/numberSelector.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/dist-types/ts3.4/booleanSelector.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/dist-types/ts3.4/numberSelector.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/dist-types/ts3.4/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/dist-types/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-config-provider/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/constants.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/resolveDefaultsModeConfig.native.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-es/constants.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.native.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-types/constants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-types/resolveDefaultsModeConfig.native.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/constants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/dist-types/ts3.4/resolveDefaultsModeConfig.native.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-browser/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/dist-es/constants.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/dist-es/defaultsModeConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/dist-es/resolveDefaultsModeConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/dist-types/constants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/dist-types/defaultsModeConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/dist-types/resolveDefaultsModeConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/constants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/defaultsModeConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/dist-types/ts3.4/resolveDefaultsModeConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-defaults-mode-node/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/cache/EndpointCache.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/debug/debugId.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/debug/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/debug/toDebugString.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/getEndpointUrlConfig.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/lib/booleanEquals.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/lib/getAttr.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/lib/getAttrPathList.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/lib/isIpAddress.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/lib/isSet.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/lib/isValidHostLabel.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/lib/not.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/lib/parseURL.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/lib/stringEquals.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/lib/uriEncode.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/resolveEndpoint.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/types/EndpointError.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/types/EndpointFunctions.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/types/EndpointRuleObject.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/types/ErrorRuleObject.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/types/RuleSetObject.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/types/TreeRuleObject.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/types/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/types/shared.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/callFunction.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/customEndpointFunctions.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateErrorRule.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateRules.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTemplate.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTreeRule.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointHeaders.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperties.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointProperty.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/getEndpointUrl.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/getReferenceValue.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-es/utils/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/cache/EndpointCache.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/debug/debugId.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/debug/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/debug/toDebugString.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/getEndpointUrlConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/lib/booleanEquals.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/lib/getAttr.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/lib/getAttrPathList.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/lib/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/lib/isIpAddress.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/lib/isSet.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/lib/isValidHostLabel.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/lib/not.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/lib/parseURL.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/lib/stringEquals.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/lib/substring.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/lib/uriEncode.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/resolveEndpoint.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/cache/EndpointCache.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/debugId.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/debug/toDebugString.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/getEndpointUrlConfig.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/booleanEquals.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttr.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/getAttrPathList.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isSet.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/isValidHostLabel.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/not.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/parseURL.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/stringEquals.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/substring.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/lib/uriEncode.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointFunctions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/types/shared.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/callFunction.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/customEndpointFunctions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/endpointFunctions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateCondition.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateConditions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateEndpointRule.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateErrorRule.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateExpression.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateRules.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTemplate.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/evaluateTreeRule.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointHeaders.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperties.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointProperty.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getEndpointUrl.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/getReferenceValue.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/ts3.4/utils/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/types/EndpointError.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/types/EndpointFunctions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/types/EndpointRuleObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/types/ErrorRuleObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/types/RuleSetObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/types/TreeRuleObject.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/types/shared.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/callFunction.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/customEndpointFunctions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/endpointFunctions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateCondition.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateConditions.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateEndpointRule.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateErrorRule.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateExpression.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateRules.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTemplate.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/evaluateTreeRule.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointHeaders.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperties.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointProperty.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/getEndpointUrl.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/getReferenceValue.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/dist-types/utils/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-endpoints/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-hex-encoding/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-hex-encoding/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-hex-encoding/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-hex-encoding/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-hex-encoding/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-hex-encoding/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-hex-encoding/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-middleware/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-middleware/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-middleware/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-middleware/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-middleware/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-middleware/dist-types/normalizeProvider.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-middleware/dist-types/ts3.4/normalizeProvider.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-middleware/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-es/config.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-es/constants.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-es/types.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/AdaptiveRetryStrategy.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/ConfiguredRetryStrategy.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/StandardRetryStrategy.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/config.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/constants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/defaultRetryBackoffStrategy.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/defaultRetryToken.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/ts3.4/AdaptiveRetryStrategy.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/ts3.4/ConfiguredRetryStrategy.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/ts3.4/StandardRetryStrategy.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/ts3.4/config.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/ts3.4/constants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryBackoffStrategy.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/ts3.4/defaultRetryToken.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/ts3.4/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/dist-types/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-retry/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/headStream.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/splitStream.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/ByteArrayCollector.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/blob/Uint8ArrayBlobAdapter.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/createBufferedReadableStream.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/headStream.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/headStream.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/splitStream.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/splitStream.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-es/stream-type-check.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ByteArrayCollector.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/blob/Uint8ArrayBlobAdapter.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/createBufferedReadableStream.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/headStream.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/headStream.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/splitStream.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/ByteArrayCollector.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/blob/Uint8ArrayBlobAdapter.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-stream/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-es/toUtf8.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-utf8/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-es/circularReplacer.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-es/createWaiter.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-es/poller.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-es/utils/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-es/utils/sleep.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-es/utils/validate.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-es/waiter.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/circularReplacer.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/createWaiter.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/poller.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/ts3.4/circularReplacer.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/ts3.4/createWaiter.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/ts3.4/poller.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/sleep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/ts3.4/utils/validate.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/ts3.4/waiter.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/utils/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/utils/sleep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/utils/validate.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/dist-types/waiter.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/util-waiter/package.json delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/README.md delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-cjs/randomUUID.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-cjs/randomUUID.native.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-es/index.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-es/randomUUID.browser.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-es/randomUUID.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-es/randomUUID.native.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-es/v4.js delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-types/randomUUID.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-types/randomUUID.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-types/randomUUID.native.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-types/ts3.4/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.native.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-types/ts3.4/v4.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/dist-types/v4.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@smithy/uuid/package.json delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/README.md delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/common/api-gateway.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/common/cloudfront.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/handler.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/package.json delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/alb.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/amplify-resolver.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/api-gateway-authorizer.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/appsync-resolver.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/autoscaling.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cdk-custom-resource.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cloudformation-custom-resource.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cloudfront-request.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cloudfront-response.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cloudwatch-alarm.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cloudwatch-events.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cloudwatch-logs.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/codebuild-cloudwatch-state.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/codecommit.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-action.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-pipeline.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-stage.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/codepipeline.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/_common.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/create-auth-challenge.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-email-sender.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-message.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-sms-sender.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/define-auth-challenge.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/inbound-federation.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-authentication.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-confirmation.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-authentication.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-signup.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation-v2.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation-v3.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/user-migration.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/verify-auth-challenge-response.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/connect-contact-flow.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/dynamodb-stream.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/eventbridge.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/guard-duty-event-notification.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/iot-authorizer.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/iot.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/kinesis-firehose-transformation.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/kinesis-stream.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/lambda-function-url.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/lex-v2.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/lex.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/msk.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/s3-batch.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/s3-event-notification.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/s3.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/secretsmanager.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/self-managed-kafka.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/ses.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/sns.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/sqs.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/aws-lambda/trigger/transfer-family-authorizer.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__core/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__core/README.md delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__core/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__core/package.json delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__generator/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__generator/README.md delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__generator/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__generator/package.json delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__template/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__template/README.md delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__template/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__template/package.json delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__traverse/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__traverse/README.md delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__traverse/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/babel__traverse/package.json delete mode 100644 lambdas/risk-engine/node_modules/@types/graceful-fs/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@types/graceful-fs/README.md delete mode 100644 lambdas/risk-engine/node_modules/@types/graceful-fs/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/graceful-fs/package.json delete mode 100644 lambdas/risk-engine/node_modules/@types/istanbul-lib-coverage/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@types/istanbul-lib-coverage/README.md delete mode 100644 lambdas/risk-engine/node_modules/@types/istanbul-lib-coverage/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/istanbul-lib-coverage/package.json delete mode 100644 lambdas/risk-engine/node_modules/@types/istanbul-lib-report/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@types/istanbul-lib-report/README.md delete mode 100644 lambdas/risk-engine/node_modules/@types/istanbul-lib-report/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/istanbul-lib-report/package.json delete mode 100644 lambdas/risk-engine/node_modules/@types/istanbul-reports/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@types/istanbul-reports/README.md delete mode 100644 lambdas/risk-engine/node_modules/@types/istanbul-reports/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/istanbul-reports/package.json delete mode 100644 lambdas/risk-engine/node_modules/@types/jest/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@types/jest/README.md delete mode 100644 lambdas/risk-engine/node_modules/@types/jest/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/jest/package.json delete mode 100644 lambdas/risk-engine/node_modules/@types/stack-utils/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@types/stack-utils/README.md delete mode 100644 lambdas/risk-engine/node_modules/@types/stack-utils/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/stack-utils/package.json delete mode 100644 lambdas/risk-engine/node_modules/@types/yargs-parser/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@types/yargs-parser/README.md delete mode 100644 lambdas/risk-engine/node_modules/@types/yargs-parser/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/yargs-parser/package.json delete mode 100644 lambdas/risk-engine/node_modules/@types/yargs/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/@types/yargs/README.md delete mode 100644 lambdas/risk-engine/node_modules/@types/yargs/helpers.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@types/yargs/helpers.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/yargs/index.d.mts delete mode 100644 lambdas/risk-engine/node_modules/@types/yargs/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/@types/yargs/package.json delete mode 100644 lambdas/risk-engine/node_modules/@types/yargs/yargs.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ansi-escapes/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ansi-escapes/index.js delete mode 100644 lambdas/risk-engine/node_modules/ansi-escapes/license delete mode 100644 lambdas/risk-engine/node_modules/ansi-escapes/package.json delete mode 100644 lambdas/risk-engine/node_modules/ansi-escapes/readme.md delete mode 100644 lambdas/risk-engine/node_modules/anymatch/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/anymatch/README.md delete mode 100644 lambdas/risk-engine/node_modules/anymatch/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/anymatch/index.js delete mode 100644 lambdas/risk-engine/node_modules/anymatch/package.json delete mode 100644 lambdas/risk-engine/node_modules/argparse/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/argparse/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/argparse/README.md delete mode 100644 lambdas/risk-engine/node_modules/argparse/index.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/action.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/action/append.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/action/append/constant.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/action/count.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/action/help.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/action/store.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/action/store/constant.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/action/store/false.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/action/store/true.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/action/subparsers.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/action/version.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/action_container.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/argparse.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/argument/error.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/argument/exclusive.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/argument/group.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/argument_parser.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/const.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/help/added_formatters.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/help/formatter.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/namespace.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/lib/utils.js delete mode 100644 lambdas/risk-engine/node_modules/argparse/package.json delete mode 100644 lambdas/risk-engine/node_modules/babel-jest/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/babel-jest/README.md delete mode 100644 lambdas/risk-engine/node_modules/babel-jest/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/babel-jest/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/babel-jest/build/loadBabelConfig.js delete mode 100644 lambdas/risk-engine/node_modules/babel-jest/package.json delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/README.md delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/lib/load-nyc-config-sync.js delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument/README.md delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument/package.json delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument/src/constants.js delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument/src/index.js delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument/src/instrumenter.js delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument/src/read-coverage.js delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument/src/source-coverage.js delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument/src/visitor.js delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-istanbul/package.json delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-jest-hoist/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-jest-hoist/README.md delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-jest-hoist/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-jest-hoist/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/babel-plugin-jest-hoist/package.json delete mode 100644 lambdas/risk-engine/node_modules/babel-preset-current-node-syntax/.github/FUNDING.yml delete mode 100644 lambdas/risk-engine/node_modules/babel-preset-current-node-syntax/.github/workflows/nodejs.yml delete mode 100644 lambdas/risk-engine/node_modules/babel-preset-current-node-syntax/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/babel-preset-current-node-syntax/README.md delete mode 100644 lambdas/risk-engine/node_modules/babel-preset-current-node-syntax/package.json delete mode 100644 lambdas/risk-engine/node_modules/babel-preset-current-node-syntax/src/index.js delete mode 100644 lambdas/risk-engine/node_modules/babel-preset-jest/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/babel-preset-jest/README.md delete mode 100644 lambdas/risk-engine/node_modules/babel-preset-jest/index.js delete mode 100644 lambdas/risk-engine/node_modules/babel-preset-jest/package.json delete mode 100644 lambdas/risk-engine/node_modules/baseline-browser-mapping/LICENSE.txt delete mode 100644 lambdas/risk-engine/node_modules/baseline-browser-mapping/README.md delete mode 100755 lambdas/risk-engine/node_modules/baseline-browser-mapping/dist/cli.cjs delete mode 100644 lambdas/risk-engine/node_modules/baseline-browser-mapping/dist/index.cjs delete mode 100644 lambdas/risk-engine/node_modules/baseline-browser-mapping/dist/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/baseline-browser-mapping/dist/index.js delete mode 100644 lambdas/risk-engine/node_modules/baseline-browser-mapping/package.json delete mode 100644 lambdas/risk-engine/node_modules/browserslist/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/browserslist/README.md delete mode 100644 lambdas/risk-engine/node_modules/browserslist/browser.js delete mode 100755 lambdas/risk-engine/node_modules/browserslist/cli.js delete mode 100644 lambdas/risk-engine/node_modules/browserslist/error.d.ts delete mode 100644 lambdas/risk-engine/node_modules/browserslist/error.js delete mode 100644 lambdas/risk-engine/node_modules/browserslist/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/browserslist/index.js delete mode 100644 lambdas/risk-engine/node_modules/browserslist/node.js delete mode 100644 lambdas/risk-engine/node_modules/browserslist/package.json delete mode 100644 lambdas/risk-engine/node_modules/browserslist/parse.js delete mode 100755 lambdas/risk-engine/node_modules/bs-logger/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/LICENSE delete mode 100755 lambdas/risk-engine/node_modules/bs-logger/README.md delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/index.js delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/logger/context.d.ts delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/logger/context.js delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/logger/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/logger/index.js delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/logger/level.d.ts delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/logger/level.js delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/logger/message.d.ts delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/logger/message.js delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/logger/root.d.ts delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/logger/root.js delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/logger/target.d.ts delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/logger/target.js delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/testing/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/testing/index.js delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/testing/target-mock.d.ts delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/testing/target-mock.js delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/utils/cache-getters.d.ts delete mode 100644 lambdas/risk-engine/node_modules/bs-logger/dist/utils/cache-getters.js delete mode 100755 lambdas/risk-engine/node_modules/bs-logger/package.json delete mode 100644 lambdas/risk-engine/node_modules/bser/README.md delete mode 100644 lambdas/risk-engine/node_modules/bser/index.js delete mode 100644 lambdas/risk-engine/node_modules/bser/package.json delete mode 100644 lambdas/risk-engine/node_modules/buffer-from/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/buffer-from/index.js delete mode 100644 lambdas/risk-engine/node_modules/buffer-from/package.json delete mode 100644 lambdas/risk-engine/node_modules/buffer-from/readme.md delete mode 100644 lambdas/risk-engine/node_modules/camelcase/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/camelcase/index.js delete mode 100644 lambdas/risk-engine/node_modules/camelcase/license delete mode 100644 lambdas/risk-engine/node_modules/camelcase/package.json delete mode 100644 lambdas/risk-engine/node_modules/camelcase/readme.md delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/README.md delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/agents.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/browserVersions.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/browsers.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/aac.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/abortcontroller.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/ac3-ec3.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/accelerometer.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/addeventlistener.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/alternate-stylesheet.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/ambient-light.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/apng.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/array-find-index.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/array-find.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/array-flat.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/array-includes.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/arrow-functions.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/asmjs.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/async-clipboard.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/async-functions.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/atob-btoa.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/audio-api.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/audio.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/audiotracks.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/autofocus.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/auxclick.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/av1.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/avif.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/background-attachment.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/background-clip-text.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/background-img-opts.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/background-position-x-y.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/background-repeat-round-space.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/background-sync.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/battery-status.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/beacon.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/beforeafterprint.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/bigint.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/blobbuilder.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/bloburls.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/border-image.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/border-radius.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/broadcastchannel.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/brotli.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/calc.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/canvas-blending.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/canvas-text.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/canvas.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/ch-unit.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/chacha20-poly1305.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/channel-messaging.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/childnode-remove.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/classlist.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/clipboard.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/colr-v1.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/colr.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/comparedocumentposition.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/console-basic.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/console-time.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/const.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/constraint-validation.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/contenteditable.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/cookie-store-api.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/cors.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/createimagebitmap.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/credential-management.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/cryptography.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-all.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-anchor-positioning.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-animation.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-any-link.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-appearance.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-at-counter-style.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-autofill.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-backdrop-filter.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-background-offsets.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-boxshadow.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-canvas.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-caret-color.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-cascade-layers.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-cascade-scope.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-case-insensitive.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-clip-path.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-color-adjust.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-color-function.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-conic-gradients.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-container-queries-style.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-container-queries.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-container-query-units.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-containment.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-content-visibility.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-counters.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-crisp-edges.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-cross-fade.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-default-pseudo.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-deviceadaptation.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-dir-pseudo.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-display-contents.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-element-function.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-env-function.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-exclusions.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-featurequeries.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-file-selector-button.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-filter-function.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-filters.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-first-letter.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-first-line.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-fixed.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-focus-visible.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-focus-within.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-font-palette.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-font-stretch.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-gencontent.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-gradients.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-grid-animation.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-grid-lanes.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-grid.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-has.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-hyphens.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-if.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-image-orientation.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-image-set.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-in-out-of-range.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-initial-letter.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-initial-value.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-lch-lab.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-letter-spacing.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-line-clamp.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-logical-props.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-marker-pseudo.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-masks.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-matches-pseudo.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-math-functions.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-media-interaction.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-media-range-syntax.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-media-resolution.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-media-scripting.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-mediaqueries.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-mixblendmode.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-module-scripts.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-motion-paths.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-namespaces.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-nesting.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-not-sel-list.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-nth-child-of.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-opacity.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-optional-pseudo.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-overflow-anchor.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-overflow-overlay.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-overflow.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-page-break.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-paged-media.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-paint-api.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-placeholder-shown.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-placeholder.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-print-color-adjust.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-read-only-write.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-rebeccapurple.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-reflections.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-regions.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-relative-colors.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-repeating-gradients.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-resize.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-revert-value.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-rrggbbaa.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-scroll-behavior.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-scrollbar.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-sel2.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-sel3.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-selection.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-shapes.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-snappoints.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-sticky.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-subgrid.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-supports-api.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-table.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-text-align-last.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-text-box-trim.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-text-indent.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-text-justify.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-text-orientation.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-text-spacing.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-textshadow.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-touch-action.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-transitions.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-unicode-bidi.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-unset-value.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-variables.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-when-else.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-widows-orphans.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-width-stretch.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-writing-mode.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css-zoom.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css3-attr.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css3-boxsizing.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css3-colors.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css3-cursors-grab.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css3-cursors-newer.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css3-cursors.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/css3-tabsize.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/currentcolor.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/custom-elements.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/custom-elementsv1.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/customevent.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/customizable-select.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/datalist.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/dataset.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/datauri.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/decorators.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/details.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/deviceorientation.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/devicepixelratio.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/dialog.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/dispatchevent.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/dnssec.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/do-not-track.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/document-currentscript.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/document-execcommand.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/document-policy.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/document-scrollingelement.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/documenthead.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/dom-manip-convenience.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/dom-range.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/domcontentloaded.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/dommatrix.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/download.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/dragndrop.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/element-closest.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/element-from-point.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/element-scroll-methods.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/eme.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/eot.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/es5.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/es6-class.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/es6-generators.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/es6-module.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/es6-number.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/es6-string-includes.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/es6.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/eventsource.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/extended-system-fonts.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/feature-policy.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/fetch.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/fieldset-disabled.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/fileapi.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/filereader.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/filereadersync.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/filesystem.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/flac.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/flexbox-gap.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/flexbox.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/flow-root.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/focusin-focusout-events.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/font-family-system-ui.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/font-feature.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/font-kerning.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/font-loading.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/font-size-adjust.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/font-smooth.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/font-unicode-range.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/font-variant-alternates.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/font-variant-numeric.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/fontface.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/form-attribute.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/form-submit-attributes.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/form-validation.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/forms.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/fullscreen.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/gamepad.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/geolocation.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/getboundingclientrect.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/getcomputedstyle.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/getelementsbyclassname.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/getrandomvalues.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/gyroscope.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/hardwareconcurrency.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/hashchange.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/heif.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/hevc.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/hidden.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/high-resolution-time.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/history.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/html-media-capture.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/html5semantic.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/http-live-streaming.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/http2.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/http3.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/iframe-sandbox.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/iframe-seamless.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/iframe-srcdoc.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/imagecapture.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/ime.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/import-maps.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/imports.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/indexeddb.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/indexeddb2.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/inline-block.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/innertext.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-color.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-datetime.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-email-tel-url.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-event.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-file-accept.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-file-directory.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-file-multiple.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-inputmode.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-minlength.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-number.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-pattern.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-placeholder.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-range.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-search.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/input-selection.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/insert-adjacent.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/insertadjacenthtml.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/internationalization.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/intersectionobserver.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/intl-pluralrules.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/intrinsic-width.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/jpeg2000.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/jpegxl.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/jpegxr.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/json.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/keyboardevent-code.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/keyboardevent-key.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/keyboardevent-location.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/keyboardevent-which.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/lazyload.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/let.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/link-icon-png.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/link-icon-svg.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/link-rel-preconnect.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/link-rel-prefetch.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/link-rel-preload.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/link-rel-prerender.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/loading-lazy-attr.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/loading-lazy-media.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/localecompare.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/magnetometer.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/matchesselector.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/matchmedia.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mathml.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/maxlength.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/media-fragments.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mediarecorder.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mediasource.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/menu.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/meta-theme-color.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/meter.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/midi.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/minmaxwh.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mp3.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mpeg-dash.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mpeg4.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/multibackgrounds.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/multicolumn.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mutation-events.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/mutationobserver.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/namevalue-storage.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/native-filesystem-api.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/nav-timing.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/netinfo.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/notifications.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/object-entries.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/object-fit.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/object-observe.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/object-values.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/objectrtc.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/offline-apps.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/offscreencanvas.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/ogg-vorbis.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/ogv.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/ol-reversed.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/once-event-listener.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/online-status.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/opus.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/orientation-sensor.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/outline.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/pad-start-end.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/page-transition-events.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/pagevisibility.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/passive-event-listener.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/passkeys.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/passwordrules.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/path2d.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/payment-request.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/pdf-viewer.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/permissions-api.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/permissions-policy.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/picture-in-picture.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/picture.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/ping.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/png-alpha.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/pointer-events.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/pointer.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/pointerlock.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/portals.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/prefers-color-scheme.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/progress.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/promise-finally.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/promises.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/proximity.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/proxy.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/publickeypinning.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/push-api.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/queryselector.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/readonly-attr.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/referrer-policy.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/registerprotocolhandler.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/rel-noopener.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/rel-noreferrer.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/rellist.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/rem.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/requestanimationframe.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/requestidlecallback.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/resizeobserver.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/resource-timing.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/rest-parameters.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/rtcpeerconnection.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/ruby.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/run-in.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/screen-orientation.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/script-async.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/script-defer.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/scrollintoview.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/sdch.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/selection-api.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/server-timing.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/serviceworkers.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/setimmediate.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/shadowdom.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/shadowdomv1.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/sharedarraybuffer.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/sharedworkers.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/sni.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/spdy.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/speech-recognition.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/speech-synthesis.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/spellcheck-attribute.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/sql-storage.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/srcset.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/stream.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/streams.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/stricttransportsecurity.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/style-scoped.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/subresource-bundling.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/subresource-integrity.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/svg-css.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/svg-filters.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/svg-fonts.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/svg-fragment.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/svg-html.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/svg-html5.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/svg-img.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/svg-smil.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/svg.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/sxg.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/tabindex-attr.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/template-literals.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/template.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/temporal.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/testfeat.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/text-decoration.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/text-emphasis.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/text-overflow.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/text-size-adjust.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/text-stroke.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/textcontent.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/textencoder.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/tls1-1.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/tls1-2.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/tls1-3.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/touch.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/transforms2d.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/transforms3d.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/trusted-types.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/ttf.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/typedarrays.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/u2f.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/unhandledrejection.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/url.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/urlsearchparams.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/use-strict.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/user-select-none.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/user-timing.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/variable-fonts.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/vector-effect.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/vibration.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/video.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/videotracks.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/view-transitions.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/viewport-unit-variants.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/viewport-units.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wai-aria.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wake-lock.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wasm-bigint.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wasm-extended-const.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wasm-gc.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wasm-multi-memory.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wasm-multi-value.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wasm-reference-types.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wasm-signext.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wasm-simd.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wasm-tail-calls.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wasm-threads.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wasm.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wav.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wbr-element.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/web-animation.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/web-app-manifest.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/web-bluetooth.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/web-serial.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/web-share.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webauthn.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webcodecs.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webgl.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webgl2.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webgpu.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webhid.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webkit-user-drag.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webm.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webnfc.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webp.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/websockets.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webtransport.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webusb.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webvr.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webvtt.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webworkers.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/webxr.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/will-change.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/woff.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/woff2.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/word-break.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/wordwrap.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/x-doc-messaging.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/x-frame-options.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/xhr2.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/xhtml.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/xhtmlsmil.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/xml-serializer.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/features/zstd.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/AD.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/AE.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/AF.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/AG.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/AI.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/AL.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/AM.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/AO.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/AR.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/AS.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/AT.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/AU.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/AW.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/AX.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/AZ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BA.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BB.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BD.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BE.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BF.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BG.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BH.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BI.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BJ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BM.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BN.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BO.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BR.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BS.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BT.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BW.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BY.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/BZ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CA.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CD.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CF.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CG.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CH.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CI.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CK.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CL.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CM.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CN.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CO.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CR.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CU.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CV.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CX.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CY.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/CZ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/DE.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/DJ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/DK.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/DM.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/DO.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/DZ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/EC.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/EE.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/EG.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/ER.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/ES.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/ET.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/FI.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/FJ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/FK.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/FM.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/FO.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/FR.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GA.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GB.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GD.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GE.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GF.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GG.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GH.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GI.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GL.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GM.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GN.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GP.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GQ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GR.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GT.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GU.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GW.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/GY.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/HK.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/HN.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/HR.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/HT.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/HU.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/ID.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/IE.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/IL.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/IM.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/IN.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/IQ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/IR.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/IS.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/IT.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/JE.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/JM.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/JO.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/JP.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/KE.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/KG.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/KH.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/KI.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/KM.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/KN.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/KP.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/KR.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/KW.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/KY.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/KZ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/LA.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/LB.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/LC.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/LI.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/LK.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/LR.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/LS.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/LT.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/LU.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/LV.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/LY.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MA.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MC.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MD.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/ME.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MG.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MH.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MK.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/ML.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MM.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MN.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MO.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MP.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MQ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MR.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MS.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MT.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MU.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MV.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MW.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MX.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MY.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/MZ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/NA.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/NC.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/NE.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/NF.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/NG.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/NI.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/NL.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/NO.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/NP.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/NR.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/NU.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/NZ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/OM.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/PA.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/PE.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/PF.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/PG.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/PH.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/PK.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/PL.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/PM.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/PN.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/PR.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/PS.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/PT.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/PW.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/PY.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/QA.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/RE.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/RO.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/RS.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/RU.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/RW.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SA.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SB.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SC.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SD.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SE.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SG.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SH.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SI.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SK.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SL.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SM.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SN.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SO.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SR.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/ST.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SV.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SY.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/SZ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/TC.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/TD.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/TG.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/TH.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/TJ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/TL.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/TM.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/TN.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/TO.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/TR.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/TT.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/TV.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/TW.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/TZ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/UA.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/UG.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/US.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/UY.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/UZ.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/VA.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/VC.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/VE.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/VG.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/VI.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/VN.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/VU.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/WF.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/WS.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/YE.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/YT.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/ZA.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/ZM.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/ZW.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/alt-af.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/alt-an.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/alt-as.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/alt-eu.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/alt-na.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/alt-oc.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/alt-sa.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/data/regions/alt-ww.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/dist/lib/statuses.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/dist/lib/supported.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/dist/unpacker/agents.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/dist/unpacker/browserVersions.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/dist/unpacker/browsers.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/dist/unpacker/feature.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/dist/unpacker/features.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/dist/unpacker/index.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/dist/unpacker/region.js delete mode 100644 lambdas/risk-engine/node_modules/caniuse-lite/package.json delete mode 100644 lambdas/risk-engine/node_modules/char-regex/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/char-regex/README.md delete mode 100644 lambdas/risk-engine/node_modules/char-regex/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/char-regex/index.js delete mode 100644 lambdas/risk-engine/node_modules/char-regex/package.json delete mode 100644 lambdas/risk-engine/node_modules/ci-info/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/ci-info/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/ci-info/README.md delete mode 100644 lambdas/risk-engine/node_modules/ci-info/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ci-info/index.js delete mode 100644 lambdas/risk-engine/node_modules/ci-info/package.json delete mode 100644 lambdas/risk-engine/node_modules/ci-info/vendors.json delete mode 100755 lambdas/risk-engine/node_modules/cjs-module-lexer/LICENSE delete mode 100755 lambdas/risk-engine/node_modules/cjs-module-lexer/README.md delete mode 100644 lambdas/risk-engine/node_modules/cjs-module-lexer/dist/lexer.js delete mode 100644 lambdas/risk-engine/node_modules/cjs-module-lexer/dist/lexer.mjs delete mode 100755 lambdas/risk-engine/node_modules/cjs-module-lexer/lexer.d.ts delete mode 100755 lambdas/risk-engine/node_modules/cjs-module-lexer/lexer.js delete mode 100755 lambdas/risk-engine/node_modules/cjs-module-lexer/package.json delete mode 100644 lambdas/risk-engine/node_modules/cliui/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/cliui/LICENSE.txt delete mode 100644 lambdas/risk-engine/node_modules/cliui/README.md delete mode 100644 lambdas/risk-engine/node_modules/cliui/build/index.cjs delete mode 100644 lambdas/risk-engine/node_modules/cliui/build/index.d.cts delete mode 100644 lambdas/risk-engine/node_modules/cliui/build/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/cliui/build/lib/string-utils.js delete mode 100644 lambdas/risk-engine/node_modules/cliui/index.mjs delete mode 100644 lambdas/risk-engine/node_modules/cliui/package.json delete mode 100644 lambdas/risk-engine/node_modules/co/History.md delete mode 100644 lambdas/risk-engine/node_modules/co/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/co/Readme.md delete mode 100644 lambdas/risk-engine/node_modules/co/index.js delete mode 100644 lambdas/risk-engine/node_modules/co/package.json delete mode 100644 lambdas/risk-engine/node_modules/collect-v8-coverage/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/collect-v8-coverage/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/collect-v8-coverage/README.md delete mode 100644 lambdas/risk-engine/node_modules/collect-v8-coverage/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/collect-v8-coverage/index.js delete mode 100644 lambdas/risk-engine/node_modules/collect-v8-coverage/package.json delete mode 100644 lambdas/risk-engine/node_modules/convert-source-map/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/convert-source-map/README.md delete mode 100644 lambdas/risk-engine/node_modules/convert-source-map/index.js delete mode 100644 lambdas/risk-engine/node_modules/convert-source-map/package.json delete mode 100644 lambdas/risk-engine/node_modules/create-jest/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/create-jest/README.md delete mode 100755 lambdas/risk-engine/node_modules/create-jest/bin/create-jest.js delete mode 100644 lambdas/risk-engine/node_modules/create-jest/build/errors.js delete mode 100644 lambdas/risk-engine/node_modules/create-jest/build/generateConfigFile.js delete mode 100644 lambdas/risk-engine/node_modules/create-jest/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/create-jest/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/create-jest/build/modifyPackageJson.js delete mode 100644 lambdas/risk-engine/node_modules/create-jest/build/questions.js delete mode 100644 lambdas/risk-engine/node_modules/create-jest/build/runCreate.js delete mode 100644 lambdas/risk-engine/node_modules/create-jest/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/create-jest/package.json delete mode 100644 lambdas/risk-engine/node_modules/dedent/LICENSE.md delete mode 100644 lambdas/risk-engine/node_modules/dedent/README.md delete mode 100644 lambdas/risk-engine/node_modules/dedent/dist/dedent.d.mts delete mode 100644 lambdas/risk-engine/node_modules/dedent/dist/dedent.d.ts delete mode 100644 lambdas/risk-engine/node_modules/dedent/dist/dedent.js delete mode 100644 lambdas/risk-engine/node_modules/dedent/dist/dedent.mjs delete mode 100644 lambdas/risk-engine/node_modules/dedent/macro.js delete mode 100644 lambdas/risk-engine/node_modules/dedent/package.json delete mode 100644 lambdas/risk-engine/node_modules/deepmerge/.editorconfig delete mode 100644 lambdas/risk-engine/node_modules/deepmerge/.eslintcache delete mode 100644 lambdas/risk-engine/node_modules/deepmerge/changelog.md delete mode 100644 lambdas/risk-engine/node_modules/deepmerge/dist/cjs.js delete mode 100644 lambdas/risk-engine/node_modules/deepmerge/dist/umd.js delete mode 100644 lambdas/risk-engine/node_modules/deepmerge/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/deepmerge/index.js delete mode 100644 lambdas/risk-engine/node_modules/deepmerge/license.txt delete mode 100644 lambdas/risk-engine/node_modules/deepmerge/package.json delete mode 100644 lambdas/risk-engine/node_modules/deepmerge/readme.md delete mode 100644 lambdas/risk-engine/node_modules/deepmerge/rollup.config.js delete mode 100644 lambdas/risk-engine/node_modules/detect-newline/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/detect-newline/index.js delete mode 100644 lambdas/risk-engine/node_modules/detect-newline/license delete mode 100644 lambdas/risk-engine/node_modules/detect-newline/package.json delete mode 100644 lambdas/risk-engine/node_modules/detect-newline/readme.md delete mode 100644 lambdas/risk-engine/node_modules/diff-sequences/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/diff-sequences/README.md delete mode 100644 lambdas/risk-engine/node_modules/diff-sequences/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/diff-sequences/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/diff-sequences/package.json delete mode 100644 lambdas/risk-engine/node_modules/electron-to-chromium/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/electron-to-chromium/README.md delete mode 100644 lambdas/risk-engine/node_modules/electron-to-chromium/chromium-versions.js delete mode 100644 lambdas/risk-engine/node_modules/electron-to-chromium/chromium-versions.json delete mode 100644 lambdas/risk-engine/node_modules/electron-to-chromium/full-chromium-versions.js delete mode 100644 lambdas/risk-engine/node_modules/electron-to-chromium/full-chromium-versions.json delete mode 100644 lambdas/risk-engine/node_modules/electron-to-chromium/full-versions.js delete mode 100644 lambdas/risk-engine/node_modules/electron-to-chromium/full-versions.json delete mode 100644 lambdas/risk-engine/node_modules/electron-to-chromium/index.js delete mode 100644 lambdas/risk-engine/node_modules/electron-to-chromium/package.json delete mode 100644 lambdas/risk-engine/node_modules/electron-to-chromium/versions.js delete mode 100644 lambdas/risk-engine/node_modules/electron-to-chromium/versions.json delete mode 100644 lambdas/risk-engine/node_modules/emittery/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/emittery/index.js delete mode 100644 lambdas/risk-engine/node_modules/emittery/license delete mode 100644 lambdas/risk-engine/node_modules/emittery/maps.js delete mode 100644 lambdas/risk-engine/node_modules/emittery/package.json delete mode 100644 lambdas/risk-engine/node_modules/emittery/readme.md delete mode 100644 lambdas/risk-engine/node_modules/emoji-regex/LICENSE-MIT.txt delete mode 100644 lambdas/risk-engine/node_modules/emoji-regex/README.md delete mode 100644 lambdas/risk-engine/node_modules/emoji-regex/es2015/index.js delete mode 100644 lambdas/risk-engine/node_modules/emoji-regex/es2015/text.js delete mode 100644 lambdas/risk-engine/node_modules/emoji-regex/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/emoji-regex/index.js delete mode 100644 lambdas/risk-engine/node_modules/emoji-regex/package.json delete mode 100644 lambdas/risk-engine/node_modules/emoji-regex/text.js delete mode 100644 lambdas/risk-engine/node_modules/error-ex/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/error-ex/README.md delete mode 100644 lambdas/risk-engine/node_modules/error-ex/index.js delete mode 100644 lambdas/risk-engine/node_modules/error-ex/package.json delete mode 100644 lambdas/risk-engine/node_modules/escalade/dist/index.js delete mode 100644 lambdas/risk-engine/node_modules/escalade/dist/index.mjs delete mode 100644 lambdas/risk-engine/node_modules/escalade/index.d.mts delete mode 100644 lambdas/risk-engine/node_modules/escalade/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/escalade/license delete mode 100644 lambdas/risk-engine/node_modules/escalade/package.json delete mode 100644 lambdas/risk-engine/node_modules/escalade/readme.md delete mode 100644 lambdas/risk-engine/node_modules/escalade/sync/index.d.mts delete mode 100644 lambdas/risk-engine/node_modules/escalade/sync/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/escalade/sync/index.js delete mode 100644 lambdas/risk-engine/node_modules/escalade/sync/index.mjs delete mode 100644 lambdas/risk-engine/node_modules/escape-string-regexp/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/escape-string-regexp/index.js delete mode 100644 lambdas/risk-engine/node_modules/escape-string-regexp/license delete mode 100644 lambdas/risk-engine/node_modules/escape-string-regexp/package.json delete mode 100644 lambdas/risk-engine/node_modules/escape-string-regexp/readme.md delete mode 100644 lambdas/risk-engine/node_modules/esprima/ChangeLog delete mode 100644 lambdas/risk-engine/node_modules/esprima/LICENSE.BSD delete mode 100644 lambdas/risk-engine/node_modules/esprima/README.md delete mode 100755 lambdas/risk-engine/node_modules/esprima/bin/esparse.js delete mode 100755 lambdas/risk-engine/node_modules/esprima/bin/esvalidate.js delete mode 100644 lambdas/risk-engine/node_modules/esprima/dist/esprima.js delete mode 100644 lambdas/risk-engine/node_modules/esprima/package.json delete mode 100644 lambdas/risk-engine/node_modules/execa/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/execa/index.js delete mode 100644 lambdas/risk-engine/node_modules/execa/lib/command.js delete mode 100644 lambdas/risk-engine/node_modules/execa/lib/error.js delete mode 100644 lambdas/risk-engine/node_modules/execa/lib/kill.js delete mode 100644 lambdas/risk-engine/node_modules/execa/lib/promise.js delete mode 100644 lambdas/risk-engine/node_modules/execa/lib/stdio.js delete mode 100644 lambdas/risk-engine/node_modules/execa/lib/stream.js delete mode 100644 lambdas/risk-engine/node_modules/execa/license delete mode 100644 lambdas/risk-engine/node_modules/execa/package.json delete mode 100644 lambdas/risk-engine/node_modules/execa/readme.md delete mode 100644 lambdas/risk-engine/node_modules/exit/.jshintrc delete mode 100644 lambdas/risk-engine/node_modules/exit/.npmignore delete mode 100644 lambdas/risk-engine/node_modules/exit/.travis.yml delete mode 100644 lambdas/risk-engine/node_modules/exit/Gruntfile.js delete mode 100644 lambdas/risk-engine/node_modules/exit/LICENSE-MIT delete mode 100644 lambdas/risk-engine/node_modules/exit/README.md delete mode 100644 lambdas/risk-engine/node_modules/exit/lib/exit.js delete mode 100644 lambdas/risk-engine/node_modules/exit/package.json delete mode 100644 lambdas/risk-engine/node_modules/exit/test/exit_test.js delete mode 100644 lambdas/risk-engine/node_modules/exit/test/fixtures/10-stderr.txt delete mode 100644 lambdas/risk-engine/node_modules/exit/test/fixtures/10-stdout-stderr.txt delete mode 100644 lambdas/risk-engine/node_modules/exit/test/fixtures/10-stdout.txt delete mode 100644 lambdas/risk-engine/node_modules/exit/test/fixtures/100-stderr.txt delete mode 100644 lambdas/risk-engine/node_modules/exit/test/fixtures/100-stdout-stderr.txt delete mode 100644 lambdas/risk-engine/node_modules/exit/test/fixtures/100-stdout.txt delete mode 100644 lambdas/risk-engine/node_modules/exit/test/fixtures/1000-stderr.txt delete mode 100644 lambdas/risk-engine/node_modules/exit/test/fixtures/1000-stdout-stderr.txt delete mode 100644 lambdas/risk-engine/node_modules/exit/test/fixtures/1000-stdout.txt delete mode 100755 lambdas/risk-engine/node_modules/exit/test/fixtures/create-files.sh delete mode 100644 lambdas/risk-engine/node_modules/exit/test/fixtures/log-broken.js delete mode 100644 lambdas/risk-engine/node_modules/exit/test/fixtures/log.js delete mode 100644 lambdas/risk-engine/node_modules/expect/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/expect/README.md delete mode 100644 lambdas/risk-engine/node_modules/expect/build/asymmetricMatchers.js delete mode 100644 lambdas/risk-engine/node_modules/expect/build/extractExpectedAssertionsErrors.js delete mode 100644 lambdas/risk-engine/node_modules/expect/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/expect/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/expect/build/jestMatchersObject.js delete mode 100644 lambdas/risk-engine/node_modules/expect/build/matchers.js delete mode 100644 lambdas/risk-engine/node_modules/expect/build/print.js delete mode 100644 lambdas/risk-engine/node_modules/expect/build/spyMatchers.js delete mode 100644 lambdas/risk-engine/node_modules/expect/build/toThrowMatchers.js delete mode 100644 lambdas/risk-engine/node_modules/expect/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/expect/package.json delete mode 100644 lambdas/risk-engine/node_modules/fb-watchman/README.md delete mode 100644 lambdas/risk-engine/node_modules/fb-watchman/index.js delete mode 100644 lambdas/risk-engine/node_modules/fb-watchman/package.json delete mode 100644 lambdas/risk-engine/node_modules/find-up/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/find-up/index.js delete mode 100644 lambdas/risk-engine/node_modules/find-up/license delete mode 100644 lambdas/risk-engine/node_modules/find-up/package.json delete mode 100644 lambdas/risk-engine/node_modules/find-up/readme.md delete mode 100644 lambdas/risk-engine/node_modules/gensync/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/gensync/README.md delete mode 100644 lambdas/risk-engine/node_modules/gensync/index.js delete mode 100644 lambdas/risk-engine/node_modules/gensync/index.js.flow delete mode 100644 lambdas/risk-engine/node_modules/gensync/package.json delete mode 100644 lambdas/risk-engine/node_modules/gensync/test/.babelrc delete mode 100644 lambdas/risk-engine/node_modules/gensync/test/index.test.js delete mode 100644 lambdas/risk-engine/node_modules/get-caller-file/LICENSE.md delete mode 100644 lambdas/risk-engine/node_modules/get-caller-file/README.md delete mode 100644 lambdas/risk-engine/node_modules/get-caller-file/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/get-caller-file/index.js delete mode 100644 lambdas/risk-engine/node_modules/get-caller-file/index.js.map delete mode 100644 lambdas/risk-engine/node_modules/get-caller-file/package.json delete mode 100644 lambdas/risk-engine/node_modules/get-package-type/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/get-package-type/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/get-package-type/README.md delete mode 100644 lambdas/risk-engine/node_modules/get-package-type/async.cjs delete mode 100644 lambdas/risk-engine/node_modules/get-package-type/cache.cjs delete mode 100644 lambdas/risk-engine/node_modules/get-package-type/index.cjs delete mode 100644 lambdas/risk-engine/node_modules/get-package-type/is-node-modules.cjs delete mode 100644 lambdas/risk-engine/node_modules/get-package-type/package.json delete mode 100644 lambdas/risk-engine/node_modules/get-package-type/sync.cjs delete mode 100644 lambdas/risk-engine/node_modules/get-stream/buffer-stream.js delete mode 100644 lambdas/risk-engine/node_modules/get-stream/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/get-stream/index.js delete mode 100644 lambdas/risk-engine/node_modules/get-stream/license delete mode 100644 lambdas/risk-engine/node_modules/get-stream/package.json delete mode 100644 lambdas/risk-engine/node_modules/get-stream/readme.md delete mode 100644 lambdas/risk-engine/node_modules/graceful-fs/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/graceful-fs/README.md delete mode 100644 lambdas/risk-engine/node_modules/graceful-fs/clone.js delete mode 100644 lambdas/risk-engine/node_modules/graceful-fs/graceful-fs.js delete mode 100644 lambdas/risk-engine/node_modules/graceful-fs/legacy-streams.js delete mode 100644 lambdas/risk-engine/node_modules/graceful-fs/package.json delete mode 100644 lambdas/risk-engine/node_modules/graceful-fs/polyfills.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/handlebars/README.markdown delete mode 100644 lambdas/risk-engine/node_modules/handlebars/bin/.eslintrc.js delete mode 100755 lambdas/risk-engine/node_modules/handlebars/bin/handlebars delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars.runtime.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/base.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/compiler/ast.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/compiler/base.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/compiler/code-gen.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/compiler/compiler.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/compiler/helpers.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/compiler/javascript-compiler.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/compiler/parser.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/compiler/printer.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/compiler/visitor.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/compiler/whitespace-control.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/decorators.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/decorators/inline.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/exception.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/helpers.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/helpers/block-helper-missing.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/helpers/each.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/helpers/helper-missing.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/helpers/if.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/helpers/log.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/helpers/lookup.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/helpers/with.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/internal/proto-access.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/internal/wrapHelper.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/logger.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/no-conflict.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/runtime.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/safe-string.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/handlebars/utils.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/amd/precompiler.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars.runtime.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/base.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/compiler/ast.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/compiler/base.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/compiler/code-gen.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/compiler/helpers.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/compiler/parser.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/compiler/printer.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/compiler/visitor.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/compiler/whitespace-control.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/decorators.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/decorators/inline.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/exception.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/helpers.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/helpers/block-helper-missing.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/helpers/each.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/helpers/helper-missing.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/helpers/if.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/helpers/log.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/helpers/lookup.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/helpers/with.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/internal/proto-access.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/internal/wrapHelper.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/logger.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/no-conflict.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/runtime.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/safe-string.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/handlebars/utils.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/cjs/precompiler.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/handlebars.amd.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/handlebars.amd.min.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/handlebars.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/handlebars.min.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/handlebars.runtime.amd.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/handlebars.runtime.amd.min.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/handlebars.runtime.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/dist/handlebars.runtime.min.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/.eslintrc.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars.runtime.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/base.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/compiler/ast.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/compiler/base.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/compiler/code-gen.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/compiler/compiler.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/compiler/helpers.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/compiler/javascript-compiler.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/compiler/parser.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/compiler/printer.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/compiler/visitor.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/compiler/whitespace-control.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/decorators.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/decorators/inline.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/exception.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/helpers.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/helpers/block-helper-missing.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/helpers/each.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/helpers/helper-missing.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/helpers/if.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/helpers/log.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/helpers/lookup.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/helpers/with.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/internal/proto-access.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/internal/wrapHelper.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/logger.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/no-conflict.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/runtime.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/safe-string.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/handlebars/utils.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/lib/precompiler.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/package.json delete mode 100644 lambdas/risk-engine/node_modules/handlebars/release-notes.md delete mode 100644 lambdas/risk-engine/node_modules/handlebars/runtime.d.ts delete mode 100644 lambdas/risk-engine/node_modules/handlebars/runtime.js delete mode 100644 lambdas/risk-engine/node_modules/handlebars/types/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/html-escaper/LICENSE.txt delete mode 100644 lambdas/risk-engine/node_modules/html-escaper/README.md delete mode 100644 lambdas/risk-engine/node_modules/html-escaper/cjs/index.js delete mode 100644 lambdas/risk-engine/node_modules/html-escaper/cjs/package.json delete mode 100644 lambdas/risk-engine/node_modules/html-escaper/esm/index.js delete mode 100644 lambdas/risk-engine/node_modules/html-escaper/index.js delete mode 100644 lambdas/risk-engine/node_modules/html-escaper/min.js delete mode 100644 lambdas/risk-engine/node_modules/html-escaper/package.json delete mode 100644 lambdas/risk-engine/node_modules/html-escaper/test/index.js delete mode 100644 lambdas/risk-engine/node_modules/html-escaper/test/package.json delete mode 100644 lambdas/risk-engine/node_modules/human-signals/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/human-signals/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/human-signals/README.md delete mode 100644 lambdas/risk-engine/node_modules/human-signals/build/src/core.js delete mode 100644 lambdas/risk-engine/node_modules/human-signals/build/src/core.js.map delete mode 100644 lambdas/risk-engine/node_modules/human-signals/build/src/main.d.ts delete mode 100644 lambdas/risk-engine/node_modules/human-signals/build/src/main.js delete mode 100644 lambdas/risk-engine/node_modules/human-signals/build/src/main.js.map delete mode 100644 lambdas/risk-engine/node_modules/human-signals/build/src/realtime.js delete mode 100644 lambdas/risk-engine/node_modules/human-signals/build/src/realtime.js.map delete mode 100644 lambdas/risk-engine/node_modules/human-signals/build/src/signals.js delete mode 100644 lambdas/risk-engine/node_modules/human-signals/build/src/signals.js.map delete mode 100644 lambdas/risk-engine/node_modules/human-signals/package.json delete mode 100755 lambdas/risk-engine/node_modules/import-local/fixtures/cli.js delete mode 100644 lambdas/risk-engine/node_modules/import-local/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/import-local/index.js delete mode 100644 lambdas/risk-engine/node_modules/import-local/license delete mode 100644 lambdas/risk-engine/node_modules/import-local/package.json delete mode 100644 lambdas/risk-engine/node_modules/import-local/readme.md delete mode 100644 lambdas/risk-engine/node_modules/is-arrayish/.editorconfig delete mode 100644 lambdas/risk-engine/node_modules/is-arrayish/.istanbul.yml delete mode 100644 lambdas/risk-engine/node_modules/is-arrayish/.npmignore delete mode 100644 lambdas/risk-engine/node_modules/is-arrayish/.travis.yml delete mode 100644 lambdas/risk-engine/node_modules/is-arrayish/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/is-arrayish/README.md delete mode 100644 lambdas/risk-engine/node_modules/is-arrayish/index.js delete mode 100644 lambdas/risk-engine/node_modules/is-arrayish/package.json delete mode 100644 lambdas/risk-engine/node_modules/is-generator-fn/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/is-generator-fn/index.js delete mode 100644 lambdas/risk-engine/node_modules/is-generator-fn/license delete mode 100644 lambdas/risk-engine/node_modules/is-generator-fn/package.json delete mode 100644 lambdas/risk-engine/node_modules/is-generator-fn/readme.md delete mode 100644 lambdas/risk-engine/node_modules/is-stream/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/is-stream/index.js delete mode 100644 lambdas/risk-engine/node_modules/is-stream/license delete mode 100644 lambdas/risk-engine/node_modules/is-stream/package.json delete mode 100644 lambdas/risk-engine/node_modules/is-stream/readme.md delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-coverage/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-coverage/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-coverage/README.md delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-coverage/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/coverage-map.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/coverage-summary.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/data-properties.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/file-coverage.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/percent.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-coverage/package.json delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/README.md delete mode 120000 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/.bin/semver delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/README.md delete mode 100755 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/bin/semver.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/comparator.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/range.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/semver.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/clean.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/cmp.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/coerce.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/compare-build.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/compare-loose.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/compare.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/diff.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/eq.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/gt.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/gte.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/inc.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/lt.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/lte.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/major.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/minor.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/neq.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/parse.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/patch.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/prerelease.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/rcompare.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/rsort.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/satisfies.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/sort.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/valid.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/constants.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/debug.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/identifiers.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/lrucache.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/parse-options.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/re.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/package.json delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/preload.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/range.bnf delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/gtr.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/intersects.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/ltr.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/max-satisfying.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/min-satisfying.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/min-version.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/outside.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/simplify.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/subset.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/to-comparators.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/valid.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/package.json delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/constants.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/instrumenter.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/read-coverage.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/source-coverage.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/visitor.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-report/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-report/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-report/README.md delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-report/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-report/lib/context.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-report/lib/file-writer.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-report/lib/path.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-report/lib/report-base.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-report/lib/summarizer-factory.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-report/lib/tree.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-report/lib/watermarks.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-report/lib/xml-writer.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-report/package.json delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-source-maps/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-source-maps/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-source-maps/README.md delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-source-maps/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/get-mapping.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/map-store.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/mapped.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/pathutils.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/transform-utils.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/transformer.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-lib-source-maps/package.json delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/README.md delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/clover/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/cobertura/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/.babelrc delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/assets/bundle.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/assets/sort-arrow-sprite.png delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/assets/spa.css delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/src/fileBreadcrumbs.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/src/filterToggle.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/src/flattenToggle.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/src/getChildData.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/src/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/src/routing.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/src/summaryHeader.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/src/summaryTableHeader.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/src/summaryTableLine.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/webpack.config.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html/annotator.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html/assets/base.css delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html/assets/block-navigation.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html/assets/favicon.png delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html/assets/sort-arrow-sprite.png delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html/assets/sorter.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html/assets/vendor/prettify.css delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html/assets/vendor/prettify.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/html/insertion-text.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/json-summary/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/json/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/lcov/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/lcovonly/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/none/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/teamcity/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/text-lcov/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/text-summary/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/lib/text/index.js delete mode 100644 lambdas/risk-engine/node_modules/istanbul-reports/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-changed-files/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-changed-files/README.md delete mode 100644 lambdas/risk-engine/node_modules/jest-changed-files/build/git.js delete mode 100644 lambdas/risk-engine/node_modules/jest-changed-files/build/hg.js delete mode 100644 lambdas/risk-engine/node_modules/jest-changed-files/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-changed-files/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-changed-files/build/sl.js delete mode 100644 lambdas/risk-engine/node_modules/jest-changed-files/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/jest-changed-files/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/README.md delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/build/eventHandler.js delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/build/formatNodeAssertErrors.js delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/build/globalErrorHandlers.js delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/build/run.js delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/build/shuffleArray.js delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/build/state.js delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/build/testCaseReportHandler.js delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/build/utils.js delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-circus/runner.js delete mode 100644 lambdas/risk-engine/node_modules/jest-cli/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-cli/README.md delete mode 100755 lambdas/risk-engine/node_modules/jest-cli/bin/jest.js delete mode 100644 lambdas/risk-engine/node_modules/jest-cli/build/args.js delete mode 100644 lambdas/risk-engine/node_modules/jest-cli/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-cli/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-cli/build/run.js delete mode 100644 lambdas/risk-engine/node_modules/jest-cli/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-config/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/Defaults.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/Deprecated.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/Descriptions.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/ReporterValidationErrors.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/ValidConfig.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/color.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/constants.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/getCacheDirectory.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/getMaxWorkers.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/normalize.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/parseShardPair.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/readConfigFileAndSetRootDir.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/resolveConfigPath.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/setFromArgv.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/stringToBytes.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/utils.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/build/validatePattern.js delete mode 100644 lambdas/risk-engine/node_modules/jest-config/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-diff/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-diff/README.md delete mode 100644 lambdas/risk-engine/node_modules/jest-diff/build/cleanupSemantic.js delete mode 100644 lambdas/risk-engine/node_modules/jest-diff/build/constants.js delete mode 100644 lambdas/risk-engine/node_modules/jest-diff/build/diffLines.js delete mode 100644 lambdas/risk-engine/node_modules/jest-diff/build/diffStrings.js delete mode 100644 lambdas/risk-engine/node_modules/jest-diff/build/getAlignedDiffs.js delete mode 100644 lambdas/risk-engine/node_modules/jest-diff/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-diff/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-diff/build/joinAlignedDiffs.js delete mode 100644 lambdas/risk-engine/node_modules/jest-diff/build/normalizeDiffOptions.js delete mode 100644 lambdas/risk-engine/node_modules/jest-diff/build/printDiffs.js delete mode 100644 lambdas/risk-engine/node_modules/jest-diff/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/jest-diff/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-docblock/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-docblock/README.md delete mode 100644 lambdas/risk-engine/node_modules/jest-docblock/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-docblock/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-docblock/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-each/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-each/README.md delete mode 100644 lambdas/risk-engine/node_modules/jest-each/build/bind.js delete mode 100644 lambdas/risk-engine/node_modules/jest-each/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-each/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-each/build/table/array.js delete mode 100644 lambdas/risk-engine/node_modules/jest-each/build/table/interpolation.js delete mode 100644 lambdas/risk-engine/node_modules/jest-each/build/table/template.js delete mode 100644 lambdas/risk-engine/node_modules/jest-each/build/validation.js delete mode 100644 lambdas/risk-engine/node_modules/jest-each/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-environment-node/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-environment-node/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-environment-node/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-environment-node/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-get-type/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-get-type/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-get-type/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-get-type/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/HasteFS.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/ModuleMap.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/blacklist.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/constants.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/crawlers/node.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/crawlers/watchman.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/getMockName.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/lib/dependencyExtractor.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/lib/fast_path.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/lib/getPlatformExtension.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/lib/isWatchmanInstalled.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/lib/normalizePathSep.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/watchers/FSEventsWatcher.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/watchers/NodeWatcher.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/watchers/RecrawlWarning.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/watchers/WatchmanWatcher.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/watchers/common.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/build/worker.js delete mode 100644 lambdas/risk-engine/node_modules/jest-haste-map/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-leak-detector/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-leak-detector/README.md delete mode 100644 lambdas/risk-engine/node_modules/jest-leak-detector/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-leak-detector/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-leak-detector/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-matcher-utils/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-matcher-utils/README.md delete mode 100644 lambdas/risk-engine/node_modules/jest-matcher-utils/build/Replaceable.js delete mode 100644 lambdas/risk-engine/node_modules/jest-matcher-utils/build/deepCyclicCopyReplaceable.js delete mode 100644 lambdas/risk-engine/node_modules/jest-matcher-utils/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-matcher-utils/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-matcher-utils/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-message-util/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-message-util/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-message-util/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-message-util/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/jest-message-util/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-mock/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-mock/README.md delete mode 100644 lambdas/risk-engine/node_modules/jest-mock/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-mock/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-mock/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-pnp-resolver/README.md delete mode 100644 lambdas/risk-engine/node_modules/jest-pnp-resolver/createRequire.js delete mode 100644 lambdas/risk-engine/node_modules/jest-pnp-resolver/getDefaultResolver.js delete mode 100644 lambdas/risk-engine/node_modules/jest-pnp-resolver/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-pnp-resolver/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-pnp-resolver/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-regex-util/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-regex-util/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-regex-util/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-regex-util/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve-dependencies/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve-dependencies/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve-dependencies/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve-dependencies/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve/build/ModuleNotFoundError.js delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve/build/defaultResolver.js delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve/build/fileWalkers.js delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve/build/isBuiltinModule.js delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve/build/nodeModulesPaths.js delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve/build/resolver.js delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve/build/shouldLoadAsEsm.js delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve/build/utils.js delete mode 100644 lambdas/risk-engine/node_modules/jest-resolve/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-runner/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-runner/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-runner/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-runner/build/runTest.js delete mode 100644 lambdas/risk-engine/node_modules/jest-runner/build/testWorker.js delete mode 100644 lambdas/risk-engine/node_modules/jest-runner/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/jest-runner/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-runtime/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-runtime/build/helpers.js delete mode 100644 lambdas/risk-engine/node_modules/jest-runtime/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-runtime/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-runtime/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/build/InlineSnapshots.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/build/SnapshotResolver.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/build/State.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/build/colors.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/build/dedentLines.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/build/mockSerializer.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/build/plugins.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/build/printSnapshot.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/build/utils.js delete mode 120000 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/.bin/semver delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/README.md delete mode 100755 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/bin/semver.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/classes/comparator.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/classes/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/classes/range.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/classes/semver.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/clean.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/cmp.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/coerce.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/compare-build.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/compare-loose.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/compare.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/diff.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/eq.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/gt.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/gte.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/inc.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/lt.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/lte.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/major.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/minor.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/neq.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/parse.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/patch.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/prerelease.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/rcompare.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/rsort.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/satisfies.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/sort.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/functions/valid.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/internal/constants.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/internal/debug.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/internal/identifiers.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/internal/lrucache.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/internal/parse-options.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/internal/re.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/preload.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/range.bnf delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/ranges/gtr.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/ranges/intersects.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/ranges/ltr.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/ranges/max-satisfying.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/ranges/min-satisfying.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/ranges/min-version.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/ranges/outside.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/ranges/simplify.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/ranges/subset.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/ranges/to-comparators.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/node_modules/semver/ranges/valid.js delete mode 100644 lambdas/risk-engine/node_modules/jest-snapshot/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-util/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-util/Readme.md delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/ErrorWithStack.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/clearLine.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/convertDescriptorToString.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/createDirectory.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/createProcessObject.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/deepCyclicCopy.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/formatTime.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/globsToMatcher.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/installCommonGlobals.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/interopRequireDefault.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/invariant.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/isInteractive.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/isNonNullable.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/isPromise.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/pluralize.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/preRunMessage.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/replacePathSepForGlob.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/requireOrImportModule.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/setGlobal.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/specialChars.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/testPathPatternToRegExp.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/build/tryRealpath.js delete mode 100644 lambdas/risk-engine/node_modules/jest-util/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/README.md delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/build/condition.js delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/build/defaultConfig.js delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/build/deprecated.js delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/build/errors.js delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/build/exampleConfig.js delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/build/utils.js delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/build/validate.js delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/build/validateCLIOptions.js delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/build/warnings.js delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/node_modules/camelcase/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/node_modules/camelcase/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/node_modules/camelcase/license delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/node_modules/camelcase/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/node_modules/camelcase/readme.md delete mode 100644 lambdas/risk-engine/node_modules/jest-validate/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-watcher/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-watcher/build/BaseWatchPlugin.js delete mode 100644 lambdas/risk-engine/node_modules/jest-watcher/build/JestHooks.js delete mode 100644 lambdas/risk-engine/node_modules/jest-watcher/build/PatternPrompt.js delete mode 100644 lambdas/risk-engine/node_modules/jest-watcher/build/TestWatcher.js delete mode 100644 lambdas/risk-engine/node_modules/jest-watcher/build/constants.js delete mode 100644 lambdas/risk-engine/node_modules/jest-watcher/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-watcher/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-watcher/build/lib/Prompt.js delete mode 100644 lambdas/risk-engine/node_modules/jest-watcher/build/lib/colorize.js delete mode 100644 lambdas/risk-engine/node_modules/jest-watcher/build/lib/formatTestNameByPattern.js delete mode 100644 lambdas/risk-engine/node_modules/jest-watcher/build/lib/patternModeHelpers.js delete mode 100644 lambdas/risk-engine/node_modules/jest-watcher/build/lib/scroll.js delete mode 100644 lambdas/risk-engine/node_modules/jest-watcher/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/jest-watcher/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/README.md delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/build/Farm.js delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/build/FifoQueue.js delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/build/PriorityQueue.js delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/build/WorkerPool.js delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/build/base/BaseWorkerPool.js delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/build/workers/ChildProcessWorker.js delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/build/workers/NodeThreadsWorker.js delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/build/workers/WorkerAbstract.js delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/build/workers/messageParent.js delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/build/workers/processChild.js delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/build/workers/threadChild.js delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/node_modules/supports-color/browser.js delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/node_modules/supports-color/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/node_modules/supports-color/license delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/node_modules/supports-color/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/node_modules/supports-color/readme.md delete mode 100644 lambdas/risk-engine/node_modules/jest-worker/package.json delete mode 100644 lambdas/risk-engine/node_modules/jest/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/jest/README.md delete mode 100755 lambdas/risk-engine/node_modules/jest/bin/jest.js delete mode 100644 lambdas/risk-engine/node_modules/jest/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/jest/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/jest/package.json delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/README.md delete mode 100755 lambdas/risk-engine/node_modules/js-yaml/bin/js-yaml.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/dist/js-yaml.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/dist/js-yaml.min.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/index.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/common.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/dumper.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/exception.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/loader.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/mark.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/schema.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/schema/core.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/schema/default_full.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/schema/json.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/binary.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/bool.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/float.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/int.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/js/function.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/map.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/merge.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/null.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/omap.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/pairs.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/seq.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/set.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/str.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/lib/js-yaml/type/timestamp.js delete mode 100644 lambdas/risk-engine/node_modules/js-yaml/package.json delete mode 100644 lambdas/risk-engine/node_modules/jsesc/LICENSE-MIT.txt delete mode 100644 lambdas/risk-engine/node_modules/jsesc/README.md delete mode 100755 lambdas/risk-engine/node_modules/jsesc/bin/jsesc delete mode 100644 lambdas/risk-engine/node_modules/jsesc/jsesc.js delete mode 100644 lambdas/risk-engine/node_modules/jsesc/man/jsesc.1 delete mode 100644 lambdas/risk-engine/node_modules/jsesc/package.json delete mode 100644 lambdas/risk-engine/node_modules/json-parse-even-better-errors/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/json-parse-even-better-errors/LICENSE.md delete mode 100644 lambdas/risk-engine/node_modules/json-parse-even-better-errors/README.md delete mode 100644 lambdas/risk-engine/node_modules/json-parse-even-better-errors/index.js delete mode 100644 lambdas/risk-engine/node_modules/json-parse-even-better-errors/package.json delete mode 100644 lambdas/risk-engine/node_modules/json5/LICENSE.md delete mode 100644 lambdas/risk-engine/node_modules/json5/README.md delete mode 100644 lambdas/risk-engine/node_modules/json5/dist/index.js delete mode 100644 lambdas/risk-engine/node_modules/json5/dist/index.min.js delete mode 100644 lambdas/risk-engine/node_modules/json5/dist/index.min.mjs delete mode 100644 lambdas/risk-engine/node_modules/json5/dist/index.mjs delete mode 100755 lambdas/risk-engine/node_modules/json5/lib/cli.js delete mode 100644 lambdas/risk-engine/node_modules/json5/lib/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/json5/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/json5/lib/parse.d.ts delete mode 100644 lambdas/risk-engine/node_modules/json5/lib/parse.js delete mode 100644 lambdas/risk-engine/node_modules/json5/lib/register.js delete mode 100644 lambdas/risk-engine/node_modules/json5/lib/require.js delete mode 100644 lambdas/risk-engine/node_modules/json5/lib/stringify.d.ts delete mode 100644 lambdas/risk-engine/node_modules/json5/lib/stringify.js delete mode 100644 lambdas/risk-engine/node_modules/json5/lib/unicode.d.ts delete mode 100644 lambdas/risk-engine/node_modules/json5/lib/unicode.js delete mode 100644 lambdas/risk-engine/node_modules/json5/lib/util.d.ts delete mode 100644 lambdas/risk-engine/node_modules/json5/lib/util.js delete mode 100644 lambdas/risk-engine/node_modules/json5/package.json delete mode 100644 lambdas/risk-engine/node_modules/kleur/index.js delete mode 100644 lambdas/risk-engine/node_modules/kleur/kleur.d.ts delete mode 100644 lambdas/risk-engine/node_modules/kleur/license delete mode 100644 lambdas/risk-engine/node_modules/kleur/package.json delete mode 100644 lambdas/risk-engine/node_modules/kleur/readme.md delete mode 100644 lambdas/risk-engine/node_modules/leven/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/leven/index.js delete mode 100644 lambdas/risk-engine/node_modules/leven/license delete mode 100644 lambdas/risk-engine/node_modules/leven/package.json delete mode 100644 lambdas/risk-engine/node_modules/leven/readme.md delete mode 100644 lambdas/risk-engine/node_modules/lines-and-columns/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/lines-and-columns/README.md delete mode 100644 lambdas/risk-engine/node_modules/lines-and-columns/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/lines-and-columns/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/lines-and-columns/package.json delete mode 100644 lambdas/risk-engine/node_modules/locate-path/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/locate-path/index.js delete mode 100644 lambdas/risk-engine/node_modules/locate-path/license delete mode 100644 lambdas/risk-engine/node_modules/locate-path/package.json delete mode 100644 lambdas/risk-engine/node_modules/locate-path/readme.md delete mode 100644 lambdas/risk-engine/node_modules/lodash.memoize/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/lodash.memoize/README.md delete mode 100644 lambdas/risk-engine/node_modules/lodash.memoize/index.js delete mode 100644 lambdas/risk-engine/node_modules/lodash.memoize/package.json delete mode 100644 lambdas/risk-engine/node_modules/lru-cache/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/lru-cache/README.md delete mode 100644 lambdas/risk-engine/node_modules/lru-cache/index.js delete mode 100644 lambdas/risk-engine/node_modules/lru-cache/package.json delete mode 100644 lambdas/risk-engine/node_modules/make-dir/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/make-dir/index.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/license delete mode 120000 lambdas/risk-engine/node_modules/make-dir/node_modules/.bin/semver delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/README.md delete mode 100755 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/bin/semver.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/classes/comparator.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/classes/index.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/classes/range.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/classes/semver.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/clean.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/cmp.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/coerce.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/compare-build.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/compare-loose.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/compare.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/diff.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/eq.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/gt.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/gte.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/inc.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/lt.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/lte.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/major.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/minor.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/neq.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/parse.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/patch.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/prerelease.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/rcompare.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/rsort.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/satisfies.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/sort.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/functions/valid.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/index.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/internal/constants.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/internal/debug.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/internal/identifiers.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/internal/lrucache.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/internal/parse-options.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/internal/re.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/package.json delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/preload.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/range.bnf delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/ranges/gtr.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/ranges/intersects.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/ranges/ltr.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/ranges/max-satisfying.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/ranges/min-satisfying.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/ranges/min-version.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/ranges/outside.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/ranges/simplify.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/ranges/subset.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/ranges/to-comparators.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/node_modules/semver/ranges/valid.js delete mode 100644 lambdas/risk-engine/node_modules/make-dir/package.json delete mode 100644 lambdas/risk-engine/node_modules/make-dir/readme.md delete mode 100644 lambdas/risk-engine/node_modules/make-error/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/make-error/README.md delete mode 100644 lambdas/risk-engine/node_modules/make-error/dist/make-error.js delete mode 100644 lambdas/risk-engine/node_modules/make-error/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/make-error/index.js delete mode 100644 lambdas/risk-engine/node_modules/make-error/package.json delete mode 100644 lambdas/risk-engine/node_modules/makeerror/.travis.yml delete mode 100644 lambdas/risk-engine/node_modules/makeerror/lib/makeerror.js delete mode 100644 lambdas/risk-engine/node_modules/makeerror/license delete mode 100644 lambdas/risk-engine/node_modules/makeerror/package.json delete mode 100644 lambdas/risk-engine/node_modules/makeerror/readme.md delete mode 100644 lambdas/risk-engine/node_modules/merge-stream/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/merge-stream/README.md delete mode 100644 lambdas/risk-engine/node_modules/merge-stream/index.js delete mode 100644 lambdas/risk-engine/node_modules/merge-stream/package.json delete mode 100644 lambdas/risk-engine/node_modules/mimic-fn/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mimic-fn/index.js delete mode 100644 lambdas/risk-engine/node_modules/mimic-fn/license delete mode 100644 lambdas/risk-engine/node_modules/mimic-fn/package.json delete mode 100644 lambdas/risk-engine/node_modules/mimic-fn/readme.md delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/LICENSE.txt delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/README.md delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/bi-map.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/bi-map.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/bit-set.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/bit-set.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/bit-vector.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/bit-vector.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/bk-tree.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/bk-tree.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/bloom-filter.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/bloom-filter.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/circular-buffer.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/circular-buffer.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/critbit-tree-map.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/default-map.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/default-map.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/default-weak-map.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/default-weak-map.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/fibonacci-heap.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/fibonacci-heap.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/fixed-critbit-tree-map.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/fixed-deque.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/fixed-deque.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/fixed-reverse-heap.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/fixed-reverse-heap.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/fixed-stack.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/fixed-stack.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/fuzzy-map.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/fuzzy-map.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/fuzzy-multi-map.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/fuzzy-multi-map.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/hashed-array-tree.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/hashed-array-tree.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/heap.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/heap.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/index.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/inverted-index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/inverted-index.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/kd-tree.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/kd-tree.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/linked-list.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/linked-list.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/lru-cache.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/lru-cache.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/lru-map.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/lru-map.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/multi-array.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/multi-map.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/multi-map.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/multi-set.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/multi-set.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/package.json delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/passjoin-index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/passjoin-index.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/queue.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/queue.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/semi-dynamic-trie.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/set.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/set.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/sort/insertion.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/sort/insertion.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/sort/quick.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/sort/quick.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/sparse-map.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/sparse-map.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/sparse-queue-set.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/sparse-queue-set.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/sparse-set.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/sparse-set.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/stack.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/stack.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/static-disjoint-set.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/static-disjoint-set.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/static-interval-tree.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/static-interval-tree.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/suffix-array.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/suffix-array.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/symspell.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/symspell.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/trie-map.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/trie-map.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/trie.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/trie.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/utils/binary-search.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/utils/bitwise.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/utils/comparators.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/utils/hash-tables.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/utils/iterables.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/utils/merge.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/utils/murmurhash3.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/utils/typed-arrays.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/utils/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/vector.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/vector.js delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/vp-tree.d.ts delete mode 100644 lambdas/risk-engine/node_modules/mnemonist/vp-tree.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/neo-async/README.md delete mode 100644 lambdas/risk-engine/node_modules/neo-async/all.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/allLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/allSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/angelFall.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/any.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/anyLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/anySeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/apply.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/applyEach.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/applyEachSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/async.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/async.min.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/asyncify.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/auto.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/autoInject.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/cargo.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/compose.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/concat.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/concatLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/concatSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/constant.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/createLogger.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/detect.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/detectLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/detectSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/dir.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/doDuring.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/doUntil.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/doWhilst.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/during.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/each.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/eachLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/eachOf.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/eachOfLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/eachOfSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/eachSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/ensureAsync.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/every.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/everyLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/everySeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/fast.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/filter.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/filterLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/filterSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/find.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/findLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/findSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/foldl.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/foldr.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/forEach.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/forEachLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/forEachOf.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/forEachOfLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/forEachOfSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/forEachSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/forever.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/groupBy.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/groupByLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/groupBySeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/inject.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/iterator.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/log.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/map.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/mapLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/mapSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/mapValues.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/mapValuesLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/mapValuesSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/memoize.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/nextTick.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/omit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/omitLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/omitSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/package.json delete mode 100644 lambdas/risk-engine/node_modules/neo-async/parallel.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/parallelLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/pick.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/pickLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/pickSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/priorityQueue.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/queue.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/race.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/reduce.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/reduceRight.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/reflect.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/reflectAll.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/reject.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/rejectLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/rejectSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/retry.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/retryable.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/safe.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/select.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/selectLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/selectSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/seq.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/series.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/setImmediate.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/some.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/someLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/someSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/sortBy.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/sortByLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/sortBySeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/timeout.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/times.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/timesLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/timesSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/transform.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/transformLimit.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/transformSeries.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/tryEach.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/unmemoize.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/until.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/waterfall.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/whilst.js delete mode 100644 lambdas/risk-engine/node_modules/neo-async/wrapSync.js delete mode 100644 lambdas/risk-engine/node_modules/node-int64/.npmignore delete mode 100644 lambdas/risk-engine/node_modules/node-int64/Int64.js delete mode 100644 lambdas/risk-engine/node_modules/node-int64/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/node-int64/README.md delete mode 100644 lambdas/risk-engine/node_modules/node-int64/package.json delete mode 100644 lambdas/risk-engine/node_modules/node-int64/test.js delete mode 100644 lambdas/risk-engine/node_modules/node-releases/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/node-releases/README.md delete mode 100644 lambdas/risk-engine/node_modules/node-releases/data/processed/envs.json delete mode 100644 lambdas/risk-engine/node_modules/node-releases/data/release-schedule/release-schedule.json delete mode 100644 lambdas/risk-engine/node_modules/node-releases/package.json delete mode 100644 lambdas/risk-engine/node_modules/normalize-path/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/normalize-path/README.md delete mode 100644 lambdas/risk-engine/node_modules/normalize-path/index.js delete mode 100644 lambdas/risk-engine/node_modules/normalize-path/package.json delete mode 100644 lambdas/risk-engine/node_modules/npm-run-path/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/npm-run-path/index.js delete mode 100644 lambdas/risk-engine/node_modules/npm-run-path/license delete mode 100644 lambdas/risk-engine/node_modules/npm-run-path/package.json delete mode 100644 lambdas/risk-engine/node_modules/npm-run-path/readme.md delete mode 100644 lambdas/risk-engine/node_modules/obliterator/LICENSE.txt delete mode 100644 lambdas/risk-engine/node_modules/obliterator/README.md delete mode 100644 lambdas/risk-engine/node_modules/obliterator/chain.d.ts delete mode 100644 lambdas/risk-engine/node_modules/obliterator/chain.js delete mode 100644 lambdas/risk-engine/node_modules/obliterator/combinations.d.ts delete mode 100644 lambdas/risk-engine/node_modules/obliterator/combinations.js delete mode 100644 lambdas/risk-engine/node_modules/obliterator/consume.d.ts delete mode 100644 lambdas/risk-engine/node_modules/obliterator/consume.js delete mode 100644 lambdas/risk-engine/node_modules/obliterator/filter.d.ts delete mode 100644 lambdas/risk-engine/node_modules/obliterator/filter.js delete mode 100644 lambdas/risk-engine/node_modules/obliterator/foreach.d.ts delete mode 100644 lambdas/risk-engine/node_modules/obliterator/foreach.js delete mode 100644 lambdas/risk-engine/node_modules/obliterator/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/obliterator/index.js delete mode 100644 lambdas/risk-engine/node_modules/obliterator/iterator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/obliterator/iterator.js delete mode 100644 lambdas/risk-engine/node_modules/obliterator/map.d.ts delete mode 100644 lambdas/risk-engine/node_modules/obliterator/map.js delete mode 100644 lambdas/risk-engine/node_modules/obliterator/match.d.ts delete mode 100644 lambdas/risk-engine/node_modules/obliterator/match.js delete mode 100644 lambdas/risk-engine/node_modules/obliterator/package.json delete mode 100644 lambdas/risk-engine/node_modules/obliterator/permutations.d.ts delete mode 100644 lambdas/risk-engine/node_modules/obliterator/permutations.js delete mode 100644 lambdas/risk-engine/node_modules/obliterator/power-set.d.ts delete mode 100644 lambdas/risk-engine/node_modules/obliterator/power-set.js delete mode 100644 lambdas/risk-engine/node_modules/obliterator/range.d.ts delete mode 100644 lambdas/risk-engine/node_modules/obliterator/range.js delete mode 100644 lambdas/risk-engine/node_modules/obliterator/split.d.ts delete mode 100644 lambdas/risk-engine/node_modules/obliterator/split.js delete mode 100644 lambdas/risk-engine/node_modules/obliterator/take-into.d.ts delete mode 100644 lambdas/risk-engine/node_modules/obliterator/take-into.js delete mode 100644 lambdas/risk-engine/node_modules/obliterator/take.d.ts delete mode 100644 lambdas/risk-engine/node_modules/obliterator/take.js delete mode 100644 lambdas/risk-engine/node_modules/onetime/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/onetime/index.js delete mode 100644 lambdas/risk-engine/node_modules/onetime/license delete mode 100644 lambdas/risk-engine/node_modules/onetime/package.json delete mode 100644 lambdas/risk-engine/node_modules/onetime/readme.md delete mode 100644 lambdas/risk-engine/node_modules/p-locate/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/p-locate/index.js delete mode 100644 lambdas/risk-engine/node_modules/p-locate/license delete mode 100644 lambdas/risk-engine/node_modules/p-locate/node_modules/p-limit/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/p-locate/node_modules/p-limit/index.js delete mode 100644 lambdas/risk-engine/node_modules/p-locate/node_modules/p-limit/license delete mode 100644 lambdas/risk-engine/node_modules/p-locate/node_modules/p-limit/package.json delete mode 100644 lambdas/risk-engine/node_modules/p-locate/node_modules/p-limit/readme.md delete mode 100644 lambdas/risk-engine/node_modules/p-locate/package.json delete mode 100644 lambdas/risk-engine/node_modules/p-locate/readme.md delete mode 100644 lambdas/risk-engine/node_modules/p-try/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/p-try/index.js delete mode 100644 lambdas/risk-engine/node_modules/p-try/license delete mode 100644 lambdas/risk-engine/node_modules/p-try/package.json delete mode 100644 lambdas/risk-engine/node_modules/p-try/readme.md delete mode 100644 lambdas/risk-engine/node_modules/parse-json/index.js delete mode 100644 lambdas/risk-engine/node_modules/parse-json/license delete mode 100644 lambdas/risk-engine/node_modules/parse-json/package.json delete mode 100644 lambdas/risk-engine/node_modules/parse-json/readme.md delete mode 100644 lambdas/risk-engine/node_modules/picocolors/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/picocolors/README.md delete mode 100644 lambdas/risk-engine/node_modules/picocolors/package.json delete mode 100644 lambdas/risk-engine/node_modules/picocolors/picocolors.browser.js delete mode 100644 lambdas/risk-engine/node_modules/picocolors/picocolors.d.ts delete mode 100644 lambdas/risk-engine/node_modules/picocolors/picocolors.js delete mode 100644 lambdas/risk-engine/node_modules/picocolors/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pirates/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/pirates/README.md delete mode 100644 lambdas/risk-engine/node_modules/pirates/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pirates/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/pirates/package.json delete mode 100644 lambdas/risk-engine/node_modules/pkg-dir/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pkg-dir/index.js delete mode 100644 lambdas/risk-engine/node_modules/pkg-dir/license delete mode 100644 lambdas/risk-engine/node_modules/pkg-dir/package.json delete mode 100644 lambdas/risk-engine/node_modules/pkg-dir/readme.md delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/LICENSE delete mode 100755 lambdas/risk-engine/node_modules/pretty-format/README.md delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/build/collections.js delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/build/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/build/index.js delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/build/plugins/DOMCollection.js delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/build/plugins/DOMElement.js delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/build/plugins/Immutable.js delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/build/plugins/ReactElement.js delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/build/plugins/ReactTestComponent.js delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/build/plugins/lib/escapeHTML.js delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/build/plugins/lib/markup.js delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/build/types.js delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/node_modules/ansi-styles/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/node_modules/ansi-styles/index.js delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/node_modules/ansi-styles/license delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/node_modules/ansi-styles/package.json delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/node_modules/ansi-styles/readme.md delete mode 100644 lambdas/risk-engine/node_modules/pretty-format/package.json delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/dateparts/datepart.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/dateparts/day.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/dateparts/hours.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/dateparts/index.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/dateparts/meridiem.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/dateparts/milliseconds.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/dateparts/minutes.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/dateparts/month.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/dateparts/seconds.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/dateparts/year.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/elements/autocomplete.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/elements/autocompleteMultiselect.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/elements/confirm.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/elements/date.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/elements/index.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/elements/multiselect.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/elements/number.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/elements/prompt.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/elements/select.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/elements/text.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/elements/toggle.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/index.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/prompts.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/util/action.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/util/clear.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/util/entriesToDisplay.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/util/figures.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/util/index.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/util/lines.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/util/strip.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/util/style.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/dist/util/wrap.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/index.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/dateparts/datepart.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/dateparts/day.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/dateparts/hours.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/dateparts/index.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/dateparts/meridiem.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/dateparts/milliseconds.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/dateparts/minutes.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/dateparts/month.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/dateparts/seconds.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/dateparts/year.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/elements/autocomplete.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/elements/autocompleteMultiselect.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/elements/confirm.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/elements/date.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/elements/index.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/elements/multiselect.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/elements/number.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/elements/prompt.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/elements/select.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/elements/text.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/elements/toggle.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/prompts.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/util/action.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/util/clear.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/util/entriesToDisplay.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/util/figures.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/util/index.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/util/lines.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/util/strip.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/util/style.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/lib/util/wrap.js delete mode 100644 lambdas/risk-engine/node_modules/prompts/license delete mode 100644 lambdas/risk-engine/node_modules/prompts/package.json delete mode 100755 lambdas/risk-engine/node_modules/prompts/readme.md delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/README.md delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/distribution/Distribution.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/distribution/UniformArrayIntDistribution.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/distribution/UniformBigIntDistribution.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/distribution/UniformIntDistribution.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/distribution/UnsafeUniformArrayIntDistribution.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/distribution/UnsafeUniformBigIntDistribution.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/distribution/UnsafeUniformIntDistribution.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/distribution/internals/ArrayInt.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/distribution/internals/UnsafeUniformArrayIntDistributionInternal.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/distribution/internals/UnsafeUniformIntDistributionInternal.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/distribution/Distribution.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/distribution/UniformArrayIntDistribution.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/distribution/UniformBigIntDistribution.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/distribution/UniformIntDistribution.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformArrayIntDistribution.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformBigIntDistribution.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/distribution/UnsafeUniformIntDistribution.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/distribution/internals/ArrayInt.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/distribution/internals/UnsafeUniformArrayIntDistributionInternal.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/distribution/internals/UnsafeUniformIntDistributionInternal.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/generator/LinearCongruential.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/generator/MersenneTwister.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/generator/RandomGenerator.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/generator/XorShift.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/generator/XoroShiro.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/package.json delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/pure-rand-default.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/pure-rand.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/distribution/Distribution.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/distribution/UniformArrayIntDistribution.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/distribution/UniformBigIntDistribution.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/distribution/UniformIntDistribution.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/distribution/UnsafeUniformArrayIntDistribution.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/distribution/UnsafeUniformBigIntDistribution.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/distribution/UnsafeUniformIntDistribution.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/distribution/internals/ArrayInt.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/distribution/internals/UnsafeUniformArrayIntDistributionInternal.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/distribution/internals/UnsafeUniformIntDistributionInternal.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/generator/LinearCongruential.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/generator/MersenneTwister.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/generator/RandomGenerator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/generator/XorShift.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/generator/XoroShiro.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/pure-rand-default.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/esm/types/pure-rand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/generator/LinearCongruential.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/generator/MersenneTwister.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/generator/RandomGenerator.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/generator/XorShift.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/generator/XoroShiro.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/pure-rand-default.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/pure-rand.js delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/distribution/Distribution.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/distribution/UniformArrayIntDistribution.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/distribution/UniformBigIntDistribution.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/distribution/UniformIntDistribution.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/distribution/UnsafeUniformArrayIntDistribution.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/distribution/UnsafeUniformBigIntDistribution.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/distribution/UnsafeUniformIntDistribution.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/distribution/internals/ArrayInt.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/distribution/internals/UnsafeUniformArrayIntDistributionInternal.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/distribution/internals/UnsafeUniformIntDistributionInternal.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/generator/LinearCongruential.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/generator/MersenneTwister.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/generator/RandomGenerator.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/generator/XorShift.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/generator/XoroShiro.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/pure-rand-default.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/lib/types/pure-rand.d.ts delete mode 100644 lambdas/risk-engine/node_modules/pure-rand/package.json delete mode 100644 lambdas/risk-engine/node_modules/react-is/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/react-is/README.md delete mode 100644 lambdas/risk-engine/node_modules/react-is/cjs/react-is.development.js delete mode 100644 lambdas/risk-engine/node_modules/react-is/cjs/react-is.production.min.js delete mode 100644 lambdas/risk-engine/node_modules/react-is/index.js delete mode 100644 lambdas/risk-engine/node_modules/react-is/package.json delete mode 100644 lambdas/risk-engine/node_modules/react-is/umd/react-is.development.js delete mode 100644 lambdas/risk-engine/node_modules/react-is/umd/react-is.production.min.js delete mode 100644 lambdas/risk-engine/node_modules/require-directory/.jshintrc delete mode 100644 lambdas/risk-engine/node_modules/require-directory/.npmignore delete mode 100644 lambdas/risk-engine/node_modules/require-directory/.travis.yml delete mode 100644 lambdas/risk-engine/node_modules/require-directory/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/require-directory/README.markdown delete mode 100644 lambdas/risk-engine/node_modules/require-directory/index.js delete mode 100644 lambdas/risk-engine/node_modules/require-directory/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve-cwd/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/resolve-cwd/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve-cwd/license delete mode 100644 lambdas/risk-engine/node_modules/resolve-cwd/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve-cwd/readme.md delete mode 100644 lambdas/risk-engine/node_modules/resolve-from/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/resolve-from/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve-from/license delete mode 100644 lambdas/risk-engine/node_modules/resolve-from/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve-from/readme.md delete mode 100644 lambdas/risk-engine/node_modules/resolve.exports/dist/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve.exports/dist/index.mjs delete mode 100644 lambdas/risk-engine/node_modules/resolve.exports/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/resolve.exports/license delete mode 100644 lambdas/risk-engine/node_modules/resolve.exports/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve.exports/readme.md delete mode 100644 lambdas/risk-engine/node_modules/resolve/.editorconfig delete mode 100644 lambdas/risk-engine/node_modules/resolve/.eslintrc delete mode 100644 lambdas/risk-engine/node_modules/resolve/.github/FUNDING.yml delete mode 100644 lambdas/risk-engine/node_modules/resolve/.github/INCIDENT_RESPONSE_PROCESS.md delete mode 100644 lambdas/risk-engine/node_modules/resolve/.github/THREAT_MODEL.md delete mode 100644 lambdas/risk-engine/node_modules/resolve/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/resolve/SECURITY.md delete mode 100644 lambdas/risk-engine/node_modules/resolve/async.js delete mode 100755 lambdas/risk-engine/node_modules/resolve/bin/resolve delete mode 100644 lambdas/risk-engine/node_modules/resolve/example/async.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/example/sync.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/lib/async.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/lib/caller.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/lib/core.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/lib/core.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/lib/homedir.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/lib/is-core.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/lib/node-modules-paths.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/lib/normalize-options.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/lib/sync.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/readme.markdown delete mode 100644 lambdas/risk-engine/node_modules/resolve/sync.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/core.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/dotdot.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/dotdot/abc/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/dotdot/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/faulty_basedir.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/filter.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/filter_sync.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/home_paths.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/home_paths_sync.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/mock.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/mock_sync.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/module_dir.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/module_dir/xmodules/aaa/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/module_dir/ymodules/aaa/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/module_dir/zmodules/bbb/main.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/module_dir/zmodules/bbb/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/node-modules-paths.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/node_path.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/node_path/x/aaa/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/node_path/x/ccc/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/node_path/y/bbb/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/node_path/y/ccc/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/nonstring.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/pathfilter.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/pathfilter/deep_ref/main.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/precedence.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/precedence/aaa.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/precedence/aaa/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/precedence/aaa/main.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/precedence/bbb.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/precedence/bbb/main.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/baz/doom.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/baz/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/baz/quux.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/browser_field/a.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/browser_field/b.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/browser_field/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/cup.coffee delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/dot_main/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/dot_main/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/dot_slash_main/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/dot_slash_main/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/false_main/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/false_main/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/foo.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/incorrect_main/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/incorrect_main/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/invalid_main/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/mug.coffee delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/mug.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/multirepo/lerna.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/multirepo/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/other_path/lib/other-lib.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/other_path/root.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/quux/foo/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/same_names/foo.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/same_names/foo/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/symlinked/package/bar.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/symlinked/package/package.json delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver/without_basedir/main.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/resolver_sync.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/shadowed_core.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/shadowed_core/node_modules/util/index.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/subdirs.js delete mode 100644 lambdas/risk-engine/node_modules/resolve/test/symlinks.js delete mode 100644 lambdas/risk-engine/node_modules/semver/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/semver/README.md delete mode 100755 lambdas/risk-engine/node_modules/semver/bin/semver.js delete mode 100644 lambdas/risk-engine/node_modules/semver/package.json delete mode 100644 lambdas/risk-engine/node_modules/semver/range.bnf delete mode 100644 lambdas/risk-engine/node_modules/semver/semver.js delete mode 100644 lambdas/risk-engine/node_modules/signal-exit/LICENSE.txt delete mode 100644 lambdas/risk-engine/node_modules/signal-exit/README.md delete mode 100644 lambdas/risk-engine/node_modules/signal-exit/index.js delete mode 100644 lambdas/risk-engine/node_modules/signal-exit/package.json delete mode 100644 lambdas/risk-engine/node_modules/signal-exit/signals.js delete mode 100644 lambdas/risk-engine/node_modules/sisteransi/license delete mode 100755 lambdas/risk-engine/node_modules/sisteransi/package.json delete mode 100755 lambdas/risk-engine/node_modules/sisteransi/readme.md delete mode 100644 lambdas/risk-engine/node_modules/sisteransi/src/index.js delete mode 100644 lambdas/risk-engine/node_modules/sisteransi/src/sisteransi.d.ts delete mode 100644 lambdas/risk-engine/node_modules/source-map-support/LICENSE.md delete mode 100644 lambdas/risk-engine/node_modules/source-map-support/README.md delete mode 100644 lambdas/risk-engine/node_modules/source-map-support/browser-source-map-support.js delete mode 100644 lambdas/risk-engine/node_modules/source-map-support/package.json delete mode 100644 lambdas/risk-engine/node_modules/source-map-support/register.js delete mode 100644 lambdas/risk-engine/node_modules/source-map-support/source-map-support.js delete mode 100644 lambdas/risk-engine/node_modules/source-map/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/source-map/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/source-map/README.md delete mode 100644 lambdas/risk-engine/node_modules/source-map/dist/source-map.debug.js delete mode 100644 lambdas/risk-engine/node_modules/source-map/dist/source-map.js delete mode 100644 lambdas/risk-engine/node_modules/source-map/dist/source-map.min.js delete mode 100644 lambdas/risk-engine/node_modules/source-map/dist/source-map.min.js.map delete mode 100644 lambdas/risk-engine/node_modules/source-map/lib/array-set.js delete mode 100644 lambdas/risk-engine/node_modules/source-map/lib/base64-vlq.js delete mode 100644 lambdas/risk-engine/node_modules/source-map/lib/base64.js delete mode 100644 lambdas/risk-engine/node_modules/source-map/lib/binary-search.js delete mode 100644 lambdas/risk-engine/node_modules/source-map/lib/mapping-list.js delete mode 100644 lambdas/risk-engine/node_modules/source-map/lib/quick-sort.js delete mode 100644 lambdas/risk-engine/node_modules/source-map/lib/source-map-consumer.js delete mode 100644 lambdas/risk-engine/node_modules/source-map/lib/source-map-generator.js delete mode 100644 lambdas/risk-engine/node_modules/source-map/lib/source-node.js delete mode 100644 lambdas/risk-engine/node_modules/source-map/lib/util.js delete mode 100644 lambdas/risk-engine/node_modules/source-map/package.json delete mode 100644 lambdas/risk-engine/node_modules/source-map/source-map.d.ts delete mode 100644 lambdas/risk-engine/node_modules/source-map/source-map.js delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/.npmignore delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/README.md delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/bower.json delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/demo/angular.html delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/dist/angular-sprintf.min.js delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/dist/angular-sprintf.min.js.map delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/dist/angular-sprintf.min.map delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/dist/sprintf.min.js delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/dist/sprintf.min.js.map delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/dist/sprintf.min.map delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/gruntfile.js delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/package.json delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/src/angular-sprintf.js delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/src/sprintf.js delete mode 100644 lambdas/risk-engine/node_modules/sprintf-js/test/test.js delete mode 100644 lambdas/risk-engine/node_modules/stack-utils/LICENSE.md delete mode 100644 lambdas/risk-engine/node_modules/stack-utils/index.js delete mode 100644 lambdas/risk-engine/node_modules/stack-utils/package.json delete mode 100644 lambdas/risk-engine/node_modules/stack-utils/readme.md delete mode 100644 lambdas/risk-engine/node_modules/string-length/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/string-length/index.js delete mode 100644 lambdas/risk-engine/node_modules/string-length/license delete mode 100644 lambdas/risk-engine/node_modules/string-length/package.json delete mode 100644 lambdas/risk-engine/node_modules/string-length/readme.md delete mode 100644 lambdas/risk-engine/node_modules/string-width/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/string-width/index.js delete mode 100644 lambdas/risk-engine/node_modules/string-width/license delete mode 100644 lambdas/risk-engine/node_modules/string-width/package.json delete mode 100644 lambdas/risk-engine/node_modules/string-width/readme.md delete mode 100644 lambdas/risk-engine/node_modules/strip-bom/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/strip-bom/index.js delete mode 100644 lambdas/risk-engine/node_modules/strip-bom/license delete mode 100644 lambdas/risk-engine/node_modules/strip-bom/package.json delete mode 100644 lambdas/risk-engine/node_modules/strip-bom/readme.md delete mode 100644 lambdas/risk-engine/node_modules/strip-final-newline/index.js delete mode 100644 lambdas/risk-engine/node_modules/strip-final-newline/license delete mode 100644 lambdas/risk-engine/node_modules/strip-final-newline/package.json delete mode 100644 lambdas/risk-engine/node_modules/strip-final-newline/readme.md delete mode 100644 lambdas/risk-engine/node_modules/test-exclude/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/test-exclude/LICENSE.txt delete mode 100644 lambdas/risk-engine/node_modules/test-exclude/README.md delete mode 100644 lambdas/risk-engine/node_modules/test-exclude/index.js delete mode 100644 lambdas/risk-engine/node_modules/test-exclude/is-outside-dir-posix.js delete mode 100644 lambdas/risk-engine/node_modules/test-exclude/is-outside-dir-win32.js delete mode 100644 lambdas/risk-engine/node_modules/test-exclude/is-outside-dir.js delete mode 100644 lambdas/risk-engine/node_modules/test-exclude/package.json delete mode 100644 lambdas/risk-engine/node_modules/tmpl/lib/tmpl.js delete mode 100644 lambdas/risk-engine/node_modules/tmpl/license delete mode 100644 lambdas/risk-engine/node_modules/tmpl/package.json delete mode 100644 lambdas/risk-engine/node_modules/tmpl/readme.md delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/.lintstagedrc delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/.ts-jest-digest delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/CONTRIBUTING.md delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/LICENSE.md delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/README.md delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/TROUBLESHOOTING.md delete mode 100755 lambdas/risk-engine/node_modules/ts-jest/cli.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/cli/config/init.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/cli/config/init.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/cli/config/migrate.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/cli/config/migrate.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/cli/help.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/cli/help.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/cli/helpers/presets.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/cli/helpers/presets.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/cli/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/cli/index.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/config/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/config/index.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/config/paths-to-module-name-mapper.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/config/paths-to-module-name-mapper.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/config/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/config/types.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/constants.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/constants.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/index.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/legacy/compiler/compiler-utils.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/legacy/compiler/compiler-utils.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/legacy/compiler/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/legacy/compiler/index.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/legacy/compiler/ts-compiler.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/legacy/compiler/ts-compiler.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/legacy/compiler/ts-jest-compiler.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/legacy/compiler/ts-jest-compiler.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/legacy/config/config-set.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/legacy/config/config-set.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/legacy/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/legacy/index.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/legacy/ts-jest-transformer.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/legacy/ts-jest-transformer.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/presets/all-presets.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/presets/all-presets.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/presets/create-jest-preset.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/presets/create-jest-preset.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/raw-compiler-options.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/raw-compiler-options.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/transformers/hoist-jest.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/transformers/hoist-jest.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/transpilers/typescript/transpile-module.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/transpilers/typescript/transpile-module.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/types.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/types.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/backports.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/backports.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/diagnostics.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/diagnostics.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/get-package-version.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/get-package-version.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/importer.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/importer.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/index.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/json.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/json.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/jsonable-value.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/jsonable-value.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/logger.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/logger.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/memoize.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/memoize.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/messages.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/messages.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/normalize-slashes.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/normalize-slashes.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/sha1.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/sha1.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/ts-error.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/dist/utils/ts-error.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/jest-preset.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/legacy.js delete mode 120000 lambdas/risk-engine/node_modules/ts-jest/node_modules/.bin/semver delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/README.md delete mode 100755 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/bin/semver.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/classes/comparator.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/classes/index.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/classes/range.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/classes/semver.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/clean.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/cmp.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/coerce.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/compare-build.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/compare-loose.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/compare.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/diff.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/eq.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/gt.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/gte.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/inc.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/lt.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/lte.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/major.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/minor.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/neq.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/parse.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/patch.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/prerelease.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/rcompare.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/rsort.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/satisfies.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/sort.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/functions/valid.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/index.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/internal/constants.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/internal/debug.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/internal/identifiers.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/internal/lrucache.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/internal/parse-options.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/internal/re.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/package.json delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/preload.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/range.bnf delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/ranges/gtr.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/ranges/intersects.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/ranges/ltr.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/ranges/max-satisfying.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/ranges/min-satisfying.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/ranges/min-version.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/ranges/outside.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/ranges/simplify.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/ranges/subset.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/ranges/to-comparators.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/semver/ranges/valid.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/license-cc0 delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/license-mit delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/package.json delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/readme.md delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/all-union-fields.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/and.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/array-indices.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/array-slice.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/array-splice.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/array-tail.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/array-values.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/arrayable.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/async-return-type.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/asyncify.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/basic.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/camel-case.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/camel-cased-properties-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/camel-cased-properties.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/conditional-except.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/conditional-keys.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/conditional-pick-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/conditional-pick.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/conditional-simplify.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/delimiter-case.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/delimiter-cased-properties.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/distributed-omit.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/distributed-pick.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/empty-object.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/enforce-optional.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/entries.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/entry.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/exact.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/except.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/find-global-type.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/fixed-length-array.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/get.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/global-this.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/greater-than-or-equal.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/greater-than.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/has-optional-keys.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/has-readonly-keys.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/has-required-keys.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/has-writable-keys.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/if-any.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/if-empty-object.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/if-never.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/if-null.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/if-unknown.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/includes.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/int-closed-range.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/int-range.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/internal/array.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/internal/characters.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/internal/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/internal/keys.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/internal/numeric.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/internal/object.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/internal/string.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/internal/tuple.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/internal/type.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/invariant-of.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/is-any.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/is-equal.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/is-float.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/is-integer.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/is-literal.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/is-never.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/is-null.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/is-tuple.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/is-unknown.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/iterable-element.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/join.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/jsonifiable.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/jsonify.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/kebab-case.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/kebab-cased-properties.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/keys-of-union.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/last-array-element.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/less-than-or-equal.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/less-than.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/literal-to-primitive-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/literal-to-primitive.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/literal-union.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/merge-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/merge-exclusive.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/merge.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/multidimensional-array.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/multidimensional-readonly-array.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/non-empty-object.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/non-empty-string.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/non-empty-tuple.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/numeric.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/observable-like.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/omit-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/omit-index-signature.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/opaque.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/optional-keys-of.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/or.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/override-properties.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/package-json.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/partial-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/partial-on-undefined-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/pascal-case.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/pascal-cased-properties.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/paths.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/pick-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/pick-index-signature.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/primitive.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/promisable.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/readonly-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/readonly-keys-of.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/readonly-tuple.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/replace.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/require-all-or-none.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/require-at-least-one.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/require-exactly-one.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/require-one-or-none.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/required-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/required-keys-of.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/schema.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/screaming-snake-case.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/set-field-type.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/set-non-nullable-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/set-non-nullable.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/set-optional.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/set-parameter-type.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/set-readonly.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/set-required-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/set-required.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/set-return-type.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/shared-union-fields-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/shared-union-fields.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/simplify-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/simplify.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/single-key-object.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/snake-case.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/snake-cased-properties-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/snake-cased-properties.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/split.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/spread.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/string-key-of.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/string-repeat.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/string-slice.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/stringified.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/structured-cloneable.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/subtract.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/sum.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/tagged-union.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/tagged.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/trim.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/tsconfig-json.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/tuple-to-object.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/tuple-to-union.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/typed-array.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/undefined-on-partial-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/union-to-intersection.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/union-to-tuple.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/unknown-array.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/unknown-map.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/unknown-record.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/unknown-set.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/value-of.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/words.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/writable-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/writable-keys-of.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/node_modules/type-fest/source/writable.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/package.json delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/preprocessor.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/presets/default-esm-legacy/jest-preset.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/presets/default-esm/jest-preset.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/presets/default-legacy/jest-preset.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/presets/default/jest-preset.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/presets/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/presets/index.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/presets/js-with-babel-esm-legacy/jest-preset.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/presets/js-with-babel-esm/jest-preset.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/presets/js-with-babel-legacy/jest-preset.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/presets/js-with-babel/jest-preset.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/presets/js-with-ts-esm-legacy/jest-preset.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/presets/js-with-ts-esm/jest-preset.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/presets/js-with-ts-legacy/jest-preset.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/presets/js-with-ts/jest-preset.js delete mode 100644 lambdas/risk-engine/node_modules/ts-jest/tsconfig.base.json delete mode 100644 lambdas/risk-engine/node_modules/type-detect/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/type-detect/README.md delete mode 100644 lambdas/risk-engine/node_modules/type-detect/index.js delete mode 100644 lambdas/risk-engine/node_modules/type-detect/package.json delete mode 100644 lambdas/risk-engine/node_modules/type-detect/type-detect.js delete mode 100644 lambdas/risk-engine/node_modules/type-fest/base.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/license delete mode 100644 lambdas/risk-engine/node_modules/type-fest/package.json delete mode 100644 lambdas/risk-engine/node_modules/type-fest/readme.md delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/async-return-type.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/asyncify.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/basic.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/conditional-except.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/conditional-keys.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/conditional-pick.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/entries.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/entry.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/except.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/fixed-length-array.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/iterable-element.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/literal-union.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/merge-exclusive.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/merge.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/mutable.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/opaque.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/package-json.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/partial-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/promisable.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/promise-value.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/readonly-deep.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/require-at-least-one.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/require-exactly-one.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/set-optional.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/set-required.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/set-return-type.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/simplify.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/stringified.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/tsconfig-json.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/typed-array.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/union-to-intersection.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/utilities.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/source/value-of.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/ts41/camel-case.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/ts41/delimiter-case.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/ts41/get.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/ts41/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/ts41/kebab-case.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/ts41/pascal-case.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/ts41/snake-case.d.ts delete mode 100644 lambdas/risk-engine/node_modules/type-fest/ts41/utilities.d.ts delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/README.md delete mode 100755 lambdas/risk-engine/node_modules/uglify-js/bin/uglifyjs delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/lib/ast.js delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/lib/compress.js delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/lib/minify.js delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/lib/mozilla-ast.js delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/lib/output.js delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/lib/parse.js delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/lib/propmangle.js delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/lib/scope.js delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/lib/sourcemap.js delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/lib/transform.js delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/lib/utils.js delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/package.json delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/tools/domprops.html delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/tools/domprops.json delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/tools/exports.js delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/tools/node.js delete mode 100644 lambdas/risk-engine/node_modules/uglify-js/tools/tty.js delete mode 100644 lambdas/risk-engine/node_modules/update-browserslist-db/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/update-browserslist-db/README.md delete mode 100644 lambdas/risk-engine/node_modules/update-browserslist-db/check-npm-version.js delete mode 100755 lambdas/risk-engine/node_modules/update-browserslist-db/cli.js delete mode 100644 lambdas/risk-engine/node_modules/update-browserslist-db/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/update-browserslist-db/index.js delete mode 100644 lambdas/risk-engine/node_modules/update-browserslist-db/package.json delete mode 100644 lambdas/risk-engine/node_modules/update-browserslist-db/utils.js delete mode 100644 lambdas/risk-engine/node_modules/v8-to-istanbul/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/v8-to-istanbul/LICENSE.txt delete mode 100644 lambdas/risk-engine/node_modules/v8-to-istanbul/README.md delete mode 100644 lambdas/risk-engine/node_modules/v8-to-istanbul/index.d.ts delete mode 100644 lambdas/risk-engine/node_modules/v8-to-istanbul/index.js delete mode 100644 lambdas/risk-engine/node_modules/v8-to-istanbul/lib/branch.js delete mode 100644 lambdas/risk-engine/node_modules/v8-to-istanbul/lib/function.js delete mode 100644 lambdas/risk-engine/node_modules/v8-to-istanbul/lib/line.js delete mode 100644 lambdas/risk-engine/node_modules/v8-to-istanbul/lib/range.js delete mode 100644 lambdas/risk-engine/node_modules/v8-to-istanbul/lib/source.js delete mode 100644 lambdas/risk-engine/node_modules/v8-to-istanbul/lib/v8-to-istanbul.js delete mode 100644 lambdas/risk-engine/node_modules/v8-to-istanbul/package.json delete mode 100644 lambdas/risk-engine/node_modules/walker/.travis.yml delete mode 100644 lambdas/risk-engine/node_modules/walker/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/walker/lib/walker.js delete mode 100644 lambdas/risk-engine/node_modules/walker/package.json delete mode 100644 lambdas/risk-engine/node_modules/walker/readme.md delete mode 100644 lambdas/risk-engine/node_modules/wordwrap/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/wordwrap/README.markdown delete mode 100644 lambdas/risk-engine/node_modules/wordwrap/example/center.js delete mode 100644 lambdas/risk-engine/node_modules/wordwrap/example/meat.js delete mode 100644 lambdas/risk-engine/node_modules/wordwrap/index.js delete mode 100644 lambdas/risk-engine/node_modules/wordwrap/package.json delete mode 100644 lambdas/risk-engine/node_modules/wordwrap/test/break.js delete mode 100644 lambdas/risk-engine/node_modules/wordwrap/test/idleness.txt delete mode 100644 lambdas/risk-engine/node_modules/wordwrap/test/wrap.js delete mode 100755 lambdas/risk-engine/node_modules/wrap-ansi/index.js delete mode 100644 lambdas/risk-engine/node_modules/wrap-ansi/license delete mode 100644 lambdas/risk-engine/node_modules/wrap-ansi/package.json delete mode 100644 lambdas/risk-engine/node_modules/wrap-ansi/readme.md delete mode 100644 lambdas/risk-engine/node_modules/write-file-atomic/LICENSE.md delete mode 100644 lambdas/risk-engine/node_modules/write-file-atomic/README.md delete mode 100644 lambdas/risk-engine/node_modules/write-file-atomic/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/write-file-atomic/package.json delete mode 100644 lambdas/risk-engine/node_modules/y18n/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/y18n/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/y18n/README.md delete mode 100644 lambdas/risk-engine/node_modules/y18n/build/index.cjs delete mode 100644 lambdas/risk-engine/node_modules/y18n/build/lib/cjs.js delete mode 100644 lambdas/risk-engine/node_modules/y18n/build/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/y18n/build/lib/platform-shims/node.js delete mode 100644 lambdas/risk-engine/node_modules/y18n/index.mjs delete mode 100644 lambdas/risk-engine/node_modules/y18n/package.json delete mode 100644 lambdas/risk-engine/node_modules/yallist/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/yallist/README.md delete mode 100644 lambdas/risk-engine/node_modules/yallist/iterator.js delete mode 100644 lambdas/risk-engine/node_modules/yallist/package.json delete mode 100644 lambdas/risk-engine/node_modules/yallist/yallist.js delete mode 100644 lambdas/risk-engine/node_modules/yargs-parser/CHANGELOG.md delete mode 100644 lambdas/risk-engine/node_modules/yargs-parser/LICENSE.txt delete mode 100644 lambdas/risk-engine/node_modules/yargs-parser/README.md delete mode 100644 lambdas/risk-engine/node_modules/yargs-parser/browser.js delete mode 100644 lambdas/risk-engine/node_modules/yargs-parser/build/index.cjs delete mode 100644 lambdas/risk-engine/node_modules/yargs-parser/build/lib/index.js delete mode 100644 lambdas/risk-engine/node_modules/yargs-parser/build/lib/string-utils.js delete mode 100644 lambdas/risk-engine/node_modules/yargs-parser/build/lib/tokenize-arg-string.js delete mode 100644 lambdas/risk-engine/node_modules/yargs-parser/build/lib/yargs-parser-types.js delete mode 100644 lambdas/risk-engine/node_modules/yargs-parser/build/lib/yargs-parser.js delete mode 100644 lambdas/risk-engine/node_modules/yargs-parser/package.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/LICENSE delete mode 100644 lambdas/risk-engine/node_modules/yargs/README.md delete mode 100644 lambdas/risk-engine/node_modules/yargs/browser.d.ts delete mode 100644 lambdas/risk-engine/node_modules/yargs/browser.mjs delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/index.cjs delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/argsert.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/command.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/completion-templates.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/completion.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/middleware.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/parse-command.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/typings/common-types.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/typings/yargs-parser-types.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/usage.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/utils/apply-extends.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/utils/is-promise.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/utils/levenshtein.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/utils/maybe-async-result.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/utils/obj-filter.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/utils/process-argv.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/utils/set-blocking.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/utils/which-module.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/validation.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/yargs-factory.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/build/lib/yerror.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/helpers/helpers.mjs delete mode 100644 lambdas/risk-engine/node_modules/yargs/helpers/index.js delete mode 100644 lambdas/risk-engine/node_modules/yargs/helpers/package.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/index.cjs delete mode 100644 lambdas/risk-engine/node_modules/yargs/index.mjs delete mode 100644 lambdas/risk-engine/node_modules/yargs/lib/platform-shims/browser.mjs delete mode 100644 lambdas/risk-engine/node_modules/yargs/lib/platform-shims/esm.mjs delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/be.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/cs.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/de.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/en.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/es.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/fi.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/fr.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/hi.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/hu.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/id.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/it.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/ja.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/ko.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/nb.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/nl.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/nn.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/pirate.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/pl.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/pt.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/pt_BR.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/ru.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/th.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/tr.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/uk_UA.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/uz.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/zh_CN.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/locales/zh_TW.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/package.json delete mode 100644 lambdas/risk-engine/node_modules/yargs/yargs delete mode 100644 lambdas/risk-engine/node_modules/yargs/yargs.mjs delete mode 100644 lambdas/risk-engine/package-lock.json create mode 100644 packages/risk-engine/jest.config.js rename {lambdas => packages}/risk-engine/package.json (70%) rename {lambdas/risk-engine => packages/risk-engine/src}/compliance-engine.ts (100%) rename {lambdas/risk-engine => packages/risk-engine/src}/compliance-rules.ts (100%) rename {lambdas/risk-engine => packages/risk-engine/src}/compliance-types.ts (100%) rename {lambdas/risk-engine => packages/risk-engine/src}/index.ts (100%) rename {lambdas/risk-engine => packages/risk-engine/src}/rules.test.ts (100%) rename {lambdas/risk-engine => packages/risk-engine/src}/rules.ts (100%) rename {lambdas/risk-engine => packages/risk-engine/src}/runner.ts (100%) rename {lambdas/risk-engine => packages/risk-engine/src}/scoring.test.ts (100%) rename {lambdas/risk-engine => packages/risk-engine/src}/scoring.ts (100%) rename {lambdas/risk-engine => packages/risk-engine/src}/types.test.ts (100%) rename {lambdas/risk-engine => packages/risk-engine/src}/types.ts (100%) rename {lambdas => packages}/risk-engine/tsconfig.json (76%) diff --git a/README.md b/README.md index c7549e26..61159cc5 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ docker build -t security-graph-api:latest . docker push 123456789012.dkr.ecr.us-east-1.amazonaws.com/security-graph-api:v1.0.0 # Rule Runner (reuses risk-engine) -cd ../lambdas/risk-engine +cd ../packages/risk-engine npm install npm run build docker build -t security-graph-rule-runner:latest . @@ -283,7 +283,8 @@ khalifa/ │ ├── list-accounts/ # Lists org accounts │ ├── collector/ # Collects AWS resources (30 services) │ ├── graph-writer/ # Writes to Neptune -│ ├── incremental-collector/ # Event-driven updates +│ └── incremental-collector/ # Event-driven updates +├── packages/ │ └── risk-engine/ # Risk, attack-path, and compliance engine │ ├── types.ts # Rule/Issue schemas │ ├── rules.ts # Gremlin risk rules (10) diff --git a/cdk/lib/khalifa-stack.ts b/cdk/lib/khalifa-stack.ts index e8c54a2b..f7a60a41 100644 --- a/cdk/lib/khalifa-stack.ts +++ b/cdk/lib/khalifa-stack.ts @@ -297,7 +297,7 @@ export class SecurityGraphIngestionStack extends cdk.Stack { const riskEngineFn = new lambda.Function(this, 'RiskEngineFn', { runtime: lambda.Runtime.NODEJS_20_X, handler: 'index.handler', - code: lambda.Code.fromAsset('../lambdas/risk-engine'), + code: lambda.Code.fromAsset('../packages/risk-engine'), role: lambdaExecutionRole, timeout: cdk.Duration.minutes(15), memorySize: 512, diff --git a/lambdas/risk-engine/dist/index.d.ts b/lambdas/risk-engine/dist/index.d.ts deleted file mode 100644 index 649c60f7..00000000 --- a/lambdas/risk-engine/dist/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -declare function runSingleRuleExample(): Promise; -declare function computeRiskScoreExample(): Promise; -declare function resolveStaleIssuesExample(): Promise; -declare function demonstratePeriodicRunner(): Promise; -export { runSingleRuleExample, computeRiskScoreExample, resolveStaleIssuesExample, demonstratePeriodicRunner, }; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/index.d.ts.map b/lambdas/risk-engine/dist/index.d.ts.map deleted file mode 100644 index cf705558..00000000 --- a/lambdas/risk-engine/dist/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAeA,iBAAe,oBAAoB,kBAkClC;AAED,iBAAe,uBAAuB,kBA8CrC;AAED,iBAAe,yBAAyB,kBASvC;AAED,iBAAe,yBAAyB,kBAsCvC;AA6ED,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,GAC1B,CAAC"} \ No newline at end of file diff --git a/lambdas/risk-engine/dist/index.js b/lambdas/risk-engine/dist/index.js deleted file mode 100644 index 5732a856..00000000 --- a/lambdas/risk-engine/dist/index.js +++ /dev/null @@ -1,220 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.runSingleRuleExample = runSingleRuleExample; -exports.computeRiskScoreExample = computeRiskScoreExample; -exports.resolveStaleIssuesExample = resolveStaleIssuesExample; -exports.demonstratePeriodicRunner = demonstratePeriodicRunner; -const runner_1 = require("./runner"); -const rules_1 = require("./rules"); -const scoring_1 = require("./scoring"); -const compliance_engine_1 = require("./compliance-engine"); -const NEPTUNE_ENDPOINT = process.env.NEPTUNE_ENDPOINT || 'wss://neptune-cluster.us-east-1.amazonaws.com:8182/gremlin'; -const ISSUES_TABLE = process.env.ISSUES_TABLE || 'SecurityIssues'; -async function runSingleRuleExample() { - console.log('=== Running Single Rule Example ===\n'); - const rule = (0, rules_1.getRuleById)('RULE-001'); - if (!rule) { - console.error('Rule not found'); - return; - } - console.log(`Executing rule: ${rule.name}`); - console.log(`Gremlin query:\n${rule.gremlinQueryTemplate}\n`); - const runner = new runner_1.RiskRuleRunner(NEPTUNE_ENDPOINT); - try { - await runner.initialize(); - console.log('Connected to Neptune\n'); - const result = await runner.runRule(rule); - console.log('Execution Results:'); - console.log(` Rule ID: ${result.ruleId}`); - console.log(` Execution time: ${result.executionTime}ms`); - console.log(` Issues created: ${result.issuesCreated}`); - console.log(` Issues resolved: ${result.issuesResolved}`); - if (result.errors && result.errors.length > 0) { - console.log(` Errors: ${result.errors.join(', ')}`); - } - } - catch (error) { - console.error('Error executing rule:', error); - } - finally { - await runner.shutdown(); - } -} -async function computeRiskScoreExample() { - console.log('\n=== Risk Scoring Example ===\n'); - const testInputs = [ - { - cvss: { - baseScore: 9.8, - exploitabilitySubScore: 3.9, - impactSubScore: 5.9, - vectorString: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H', - }, - exploitabilityFlags: { hasExploit: true, hasPublicExploit: true, malwareAvailable: false }, - exposureLevel: 'internet', - identityBlastRadius: { type: 'admin', scope: 1 }, - dataClassification: 'restricted', - environment: 'prod', - isCrownJewel: false, - attackPathLength: 3, - }, - { - exposureLevel: 'internal', - dataClassification: 'internal', - environment: 'dev', - isCrownJewel: false, - }, - { - cvss: { - baseScore: 7.5, - exploitabilitySubScore: 2.5, - impactSubScore: 5.9, - vectorString: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H', - }, - exposureLevel: 'cross-account', - dataClassification: 'secret', - environment: 'prod', - isCrownJewel: true, - attackPathLength: 2, - }, - ]; - for (let i = 0; i < testInputs.length; i++) { - const result = (0, scoring_1.computeRiskScore)(testInputs[i]); - console.log(`Input ${i + 1}:`, JSON.stringify(testInputs[i], null, 2)); - console.log(`Result ${i + 1}:`, JSON.stringify(result, null, 2)); - console.log(''); - } -} -async function resolveStaleIssuesExample() { - console.log('\n=== Resolve Stale Issues Example ===\n'); - try { - const resolvedCount = await (0, runner_1.resolveStaleIssues)(NEPTUNE_ENDPOINT); - console.log(`Resolved ${resolvedCount} stale issues`); - } - catch (error) { - console.error('Error resolving stale issues:', error); - } -} -async function demonstratePeriodicRunner() { - console.log('\n=== Periodic Rule Runner Service ===\n'); - async function runScheduledJob() { - console.log(`[${new Date().toISOString()}] Starting scheduled risk assessment...`); - const runner = new runner_1.RiskRuleRunner(NEPTUNE_ENDPOINT); - try { - await runner.initialize(); - const results = await runner.runAllRules(); - let totalIssuesCreated = 0; - let totalIssuesResolved = 0; - for (const result of results) { - totalIssuesCreated += result.issuesCreated; - totalIssuesResolved += result.issuesResolved; - console.log(`Rule ${result.ruleId}: ${result.issuesCreated} created, ${result.issuesResolved} resolved`); - } - console.log(`\nTotal: ${totalIssuesCreated} issues created, ${totalIssuesResolved} resolved`); - } - catch (error) { - console.error('Error in scheduled job:', error); - } - finally { - await runner.shutdown(); - } - } - console.log('Demonstrating periodic runner (one execution):'); - await runScheduledJob(); - console.log('\nTo run periodically, use:'); - console.log(' setInterval(runScheduledJob, 5 * 60 * 1000); // every 5 minutes'); -} -async function runComplianceAssessment() { - console.log('\n=== Compliance Assessment ===\n'); - const gremlin = await Promise.resolve().then(() => __importStar(require('gremlin'))); - const Gremlin = gremlin.default || gremlin; - const client = new Gremlin.driver.Client(NEPTUNE_ENDPOINT, { - traversalSource: 'g', - connectTimeout: 30000, - }); - const neptuneClient = { - async executeQuery(query) { - const result = await client.submit(query); - const items = []; - // eslint-disable-next-line no-constant-condition - while (true) { - const item = await result.next(); - if (!item) - break; - items.push(item); - } - return items; - }, - }; - const { DynamoDBEvidenceStore } = await Promise.resolve().then(() => __importStar(require('./compliance-engine'))); - const evidenceStore = new DynamoDBEvidenceStore(); - const engine = new compliance_engine_1.ComplianceEngine(neptuneClient, evidenceStore); - try { - console.log('Running CIS AWS Foundations assessment...'); - const cisReport = await engine.runAssessment('CIS_AWS_FOUNDATIONS'); - console.log(`CIS: ${cisReport.summary.passed}/${cisReport.summary.totalControls} passed, ${cisReport.summary.coveragePercent}% coverage`); - console.log('Running SOC2 assessment...'); - const soc2Report = await engine.runAssessment('SOC2'); - console.log(`SOC2: ${soc2Report.summary.passed}/${soc2Report.summary.totalControls} passed, ${soc2Report.summary.coveragePercent}% coverage`); - console.log('Running ISO27001 assessment...'); - const isoReport = await engine.runAssessment('ISO27001'); - console.log(`ISO27001: ${isoReport.summary.passed}/${isoReport.summary.totalControls} passed, ${isoReport.summary.coveragePercent}% coverage`); - } - catch (error) { - console.error('Error in compliance assessment:', error); - } - finally { - await client.close(); - } -} -async function main() { - console.log('========================================'); - console.log('Risk and Attack-Path Engine'); - console.log('========================================\n'); - console.log(`Configuration:`); - console.log(` Neptune: ${NEPTUNE_ENDPOINT}`); - console.log(` Issues Table: ${ISSUES_TABLE}`); - console.log(` Available Rules: ${rules_1.riskRules.length}`); - console.log(`\n`); - await runSingleRuleExample(); - await computeRiskScoreExample(); - await demonstratePeriodicRunner(); - console.log('\n=== Examples Complete ==='); -} -if (require.main === module) { - main().catch(console.error); -} -//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/index.js.map b/lambdas/risk-engine/dist/index.js.map deleted file mode 100644 index 02d7888e..00000000 --- a/lambdas/risk-engine/dist/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkOE,oDAAoB;AACpB,0DAAuB;AACvB,8DAAyB;AACzB,8DAAyB;AArO3B,qCAA8D;AAC9D,mCAAiD;AACjD,uCAA6C;AAG7C,2DAI6B;AAE7B,MAAM,gBAAgB,GACpB,OAAO,CAAC,GAAG,CAAC,gBAAgB,IAAI,4DAA4D,CAAC;AAC/F,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,gBAAgB,CAAC;AAElE,KAAK,UAAU,oBAAoB;IACjC,OAAO,CAAC,GAAG,CAAC,uCAAuC,CAAC,CAAC;IAErD,MAAM,IAAI,GAAG,IAAA,mBAAW,EAAC,UAAU,CAAC,CAAC;IACrC,IAAI,CAAC,IAAI,EAAE,CAAC;QACV,OAAO,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;QAChC,OAAO;IACT,CAAC;IAED,OAAO,CAAC,GAAG,CAAC,mBAAmB,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IAC5C,OAAO,CAAC,GAAG,CAAC,mBAAmB,IAAI,CAAC,oBAAoB,IAAI,CAAC,CAAC;IAE9D,MAAM,MAAM,GAAG,IAAI,uBAAc,CAAC,gBAAgB,CAAC,CAAC;IAEpD,IAAI,CAAC;QACH,MAAM,MAAM,CAAC,UAAU,EAAE,CAAC;QAC1B,OAAO,CAAC,GAAG,CAAC,wBAA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AAC,CAAC;IAC9C,OAAO,CAAC,GAAG,CAAC,mBAAmB,YAAY,EAAE,CAAC,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,sBAAsB,iBAAS,CAAC,MAAM,EAAE,CAAC,CAAC;IACtD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAElB,MAAM,oBAAoB,EAAE,CAAC;IAC7B,MAAM,uBAAuB,EAAE,CAAC;IAChC,MAAM,yBAAyB,EAAE,CAAC;IAElC,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,CAAC;AAC7C,CAAC;AAED,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;IAC5B,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9B,CAAC"} \ No newline at end of file diff --git a/lambdas/risk-engine/dist/rules.d.ts b/lambdas/risk-engine/dist/rules.d.ts deleted file mode 100644 index 4bfeb8e6..00000000 --- a/lambdas/risk-engine/dist/rules.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { RiskRule } from './types'; -export declare const riskRules: RiskRule[]; -export declare function getEnabledRules(): RiskRule[]; -export declare function getRuleById(id: string): RiskRule | undefined; -//# sourceMappingURL=rules.d.ts.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/rules.d.ts.map b/lambdas/risk-engine/dist/rules.d.ts.map deleted file mode 100644 index 191b7962..00000000 --- a/lambdas/risk-engine/dist/rules.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAc,MAAM,SAAS,CAAC;AAUpD,eAAO,MAAM,SAAS,EAAE,QAAQ,EAsR/B,CAAC;AAEF,wBAAgB,eAAe,IAAI,QAAQ,EAAE,CAE5C;AAED,wBAAgB,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAE5D"} \ No newline at end of file diff --git a/lambdas/risk-engine/dist/rules.js b/lambdas/risk-engine/dist/rules.js deleted file mode 100644 index dc0ef641..00000000 --- a/lambdas/risk-engine/dist/rules.js +++ /dev/null @@ -1,289 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.riskRules = void 0; -exports.getEnabledRules = getEnabledRules; -exports.getRuleById = getRuleById; -const baseRiskFactors = [ - { name: 'cvss', weight: 0.25, value: 0 }, - { name: 'exposure', weight: 0.2, value: 0 }, - { name: 'identity', weight: 0.2, value: 0 }, - { name: 'dataClassification', weight: 0.2, value: 0 }, - { name: 'environment', weight: 0.15, value: 0 }, -]; -exports.riskRules = [ - { - id: 'RULE-001', - name: 'Internet-Exposed EC2 with High-Privilege IAM Role to Restricted S3', - description: 'Detects EC2 instances exposed to the internet that have IAM roles allowing access to S3 buckets tagged data_classification=restricted', - severityHint: 'critical', - riskFactors: [...baseRiskFactors], - gremlinQueryTemplate: ` - g.V().has('label', 'EC2Instance') - .has('isInternetExposed', true) - .as('ec2') - .out('HAS_IAM_ROLE') - .as('iamRole') - .out('ALLOWS_ACCESS_TO') - .has('label', 'S3Bucket') - .has('data_classification', 'restricted') - .as('s3Bucket') - .path() - .by(valueMap(true)) - `, - ownerTeam: 'cloud-security', - enabled: true, - autoTicketConfig: { - enabled: true, - projectKey: 'SEC', - priority: 'P1', - }, - }, - { - id: 'RULE-002', - name: 'Security Groups with 0.0.0.0/0 on SSH/RDP', - description: 'Detects security groups that allow unrestricted SSH (port 22) or RDP (port 3389) access', - severityHint: 'high', - riskFactors: [...baseRiskFactors], - gremlinQueryTemplate: ` - g.V().has('label', 'SecurityGroup') - .as('sg') - .out('ALLOWS_INGRESS') - .has('protocol', within('tcp', 'all')) - .has('portRange', within(22, 3389)) - .has('cidrBlock', '0.0.0.0/0') - .in_('ATTACHED_TO') - .has('label', 'EC2Instance') - .as('ec2') - .path() - .by(valueMap(true)) - `, - ownerTeam: 'network-security', - enabled: true, - autoTicketConfig: { - enabled: true, - projectKey: 'SEC', - priority: 'P2', - }, - }, - { - id: 'RULE-003', - name: 'Container Images with Critical CVEs on Internet-Exposed Workloads', - description: 'Detects container images with critical severity CVEs running on pods or instances exposed to the internet', - severityHint: 'critical', - riskFactors: [...baseRiskFactors], - gremlinQueryTemplate: ` - g.V().has('label', 'ContainerImage') - .as('image') - .out('HAS_CVE') - .has('severity', 'CRITICAL') - .has('cvssBaseScore', gte(9.0)) - .as('cve') - .in_('RUNS_ON') - .has('label', within('EC2Instance', 'KubernetesPod')) - .has('isInternetExposed', true) - .as('workload') - .path() - .by(valueMap(true)) - `, - ownerTeam: 'container-security', - enabled: true, - autoTicketConfig: { - enabled: true, - projectKey: 'SEC', - priority: 'P1', - }, - }, - { - id: 'RULE-004', - name: 'Over-Privileged IAM Roles with Internet-Reachable Workloads', - description: 'Detects IAM roles with excessive permissions (many ALLOWS_ACCESS_TO edges) attached to internet-reachable EC2 or Lambda', - severityHint: 'high', - riskFactors: [...baseRiskFactors], - gremlinQueryTemplate: ` - g.V().has('label', 'IAMRole') - .as('role') - .out('ALLOWS_ACCESS_TO') - .count() - .as('permissionCount') - .filter(gt(50)) - .in_('HAS_IAM_ROLE') - .has('label', within('EC2Instance', 'Lambda')) - .has('isInternetExposed', true) - .as('workload') - .path() - .by(valueMap(true)) - `, - ownerTeam: 'iam-security', - enabled: true, - autoTicketConfig: { - enabled: false, - }, - }, - { - id: 'RULE-005', - name: 'Crown Jewel Attack Path from Internet', - description: 'Detects attack paths of length <= N from special Internet node to nodes tagged crown_jewel=true', - severityHint: 'critical', - riskFactors: [...baseRiskFactors], - gremlinQueryTemplate: ` - g.V().has('label', 'Internet') - .as('start') - .repeat( - out().simplePath() - ).times(4) - .until( - has('crown_jewel', true) - ) - .has('crown_jewel', true) - .as('target') - .path() - .by(valueMap(true)) - `, - ownerTeam: 'red-team', - enabled: true, - autoTicketConfig: { - enabled: true, - projectKey: 'SEC', - priority: 'P0', - }, - }, - { - id: 'RULE-006', - name: 'Cross-Account IAM Trust with Admin Privileges', - description: 'Detects IAM roles with cross-account trust relationships that grant administrative privileges', - severityHint: 'critical', - riskFactors: [...baseRiskFactors], - gremlinQueryTemplate: ` - g.V().has('label', 'IAMRole') - .as('role') - .out('TRUSTS') - .has('label', 'AWSAccount') - .where(neq(__.in('BELONGS_TO'))) - .as('trustedAccount') - .in_('HAS_IAM_ROLE') - .out('ALLOWS_ACCESS_TO') - .out('CONTAINS') - .has('label', 'IAMPolicy') - .has('isAdminPolicy', true) - .as('policy') - .path() - .by(valueMap(true)) - `, - ownerTeam: 'iam-security', - enabled: true, - autoTicketConfig: { - enabled: true, - projectKey: 'SEC', - priority: 'P1', - }, - }, - { - id: 'RULE-007', - name: 'Public S3 Buckets with Sensitive Data', - description: 'Detects S3 buckets with public access that contain data_classification=restricted or secret', - severityHint: 'critical', - riskFactors: [...baseRiskFactors], - gremlinQueryTemplate: ` - g.V().has('label', 'S3Bucket') - .has('isPubliclyAccessible', true) - .as('bucket') - .out('STORES') - .has('data_classification', within('restricted', 'secret')) - .as('data') - .path() - .by(valueMap(true)) - `, - ownerTeam: 'data-security', - enabled: true, - autoTicketConfig: { - enabled: true, - projectKey: 'SEC', - priority: 'P1', - }, - }, - { - id: 'RULE-008', - name: 'RDS with Public Access and Sensitive Data', - description: 'Detects RDS instances exposed to the internet containing databases tagged with sensitive data', - severityHint: 'critical', - riskFactors: [...baseRiskFactors], - gremlinQueryTemplate: ` - g.V().has('label', 'RDSInstance') - .has('isPubliclyAccessible', true) - .as('rds') - .out('CONTAINS') - .has('label', 'Database') - .has('data_classification', within('restricted', 'secret')) - .as('db') - .path() - .by(valueMap(true)) - `, - ownerTeam: 'data-security', - enabled: true, - autoTicketConfig: { - enabled: true, - projectKey: 'SEC', - priority: 'P1', - }, - }, - { - id: 'RULE-009', - name: 'Lambda with VPC and Internet Gateway to Sensitive Resources', - description: 'Detects Lambda functions in VPCs with internet access that can reach sensitive S3 or DynamoDB', - severityHint: 'medium', - riskFactors: [...baseRiskFactors], - gremlinQueryTemplate: ` - g.V().has('label', 'Lambda') - .has('isInVpc', true) - .has('hasInternetAccess', true) - .as('lambda') - .out('ALLOWS_ACCESS_TO') - .has('label', within('S3Bucket', 'DynamoDBTable')) - .has('data_classification', within('internal', 'restricted', 'secret')) - .as('resource') - .path() - .by(valueMap(true)) - `, - ownerTeam: 'app-security', - enabled: true, - autoTicketConfig: { - enabled: false, - }, - }, - { - id: 'RULE-010', - name: 'Secrets Manager Secrets with Overly Permissive IAM', - description: 'Detects AWS Secrets Manager secrets accessible by broad IAM policies', - severityHint: 'high', - riskFactors: [...baseRiskFactors], - gremlinQueryTemplate: ` - g.V().has('label', 'Secret') - .has('secretType', 'database') - .as('secret') - .in_('ALLOWS_ACCESS_TO') - .has('label', 'IAMPolicy') - .as('policy') - .out('CONTAINS') - .has('label', 'IAMStatement') - .has('effect', 'Allow') - .has('resource', contains('*')) - .as('statement') - .path() - .by(valueMap(true)) - `, - ownerTeam: 'iam-security', - enabled: true, - autoTicketConfig: { - enabled: true, - projectKey: 'SEC', - priority: 'P2', - }, - }, -]; -function getEnabledRules() { - return exports.riskRules.filter((rule) => rule.enabled); -} -function getRuleById(id) { - return exports.riskRules.find((rule) => rule.id === id); -} -//# sourceMappingURL=rules.js.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/rules.js.map b/lambdas/risk-engine/dist/rules.js.map deleted file mode 100644 index fc3d9694..00000000 --- a/lambdas/risk-engine/dist/rules.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"rules.js","sourceRoot":"","sources":["../rules.ts"],"names":[],"mappings":";;;AAkSA,0CAEC;AAED,kCAEC;AAtSD,MAAM,eAAe,GAAiB;IACpC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,EAAE;IACxC,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE;IAC3C,EA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WAAW,CAAC,EAAU;IACpC,OAAO,iBAAS,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;AAClD,CAAC"} \ No newline at end of file diff --git a/lambdas/risk-engine/dist/rules.test.d.ts b/lambdas/risk-engine/dist/rules.test.d.ts deleted file mode 100644 index 908df8aa..00000000 --- a/lambdas/risk-engine/dist/rules.test.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=rules.test.d.ts.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/rules.test.d.ts.map b/lambdas/risk-engine/dist/rules.test.d.ts.map deleted file mode 100644 index 3141d04f..00000000 --- a/lambdas/risk-engine/dist/rules.test.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"rules.test.d.ts","sourceRoot":"","sources":["../rules.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lambdas/risk-engine/dist/rules.test.js b/lambdas/risk-engine/dist/rules.test.js deleted file mode 100644 index 37b5103c..00000000 --- a/lambdas/risk-engine/dist/rules.test.js +++ /dev/null @@ -1,130 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const rules_1 = require("./rules"); -describe('riskRules', () => { - test('should have at least 5 rules', () => { - expect(rules_1.riskRules.length).toBeGreaterThanOrEqual(5); - }); - test('should have exactly 10 rules', () => { - expect(rules_1.riskRules.length).toBe(10); - }); - test('each rule should have required fields', () => { - for (const rule of rules_1.riskRules) { - expect(rule.id).toBeDefined(); - expect(rule.name).toBeDefined(); - expect(rule.description).toBeDefined(); - expect(rule.severityHint).toBeDefined(); - expect(rule.gremlinQueryTemplate).toBeDefined(); - expect(rule.ownerTeam).toBeDefined(); - expect(rule.enabled).toBeDefined(); - expect(rule.riskFactors).toBeDefined(); - } - }); - test('each rule should have a valid severity hint', () => { - const validSeverities = ['critical', 'high', 'medium', 'low']; - for (const rule of rules_1.riskRules) { - expect(validSeverities).toContain(rule.severityHint); - } - }); - test('each rule should have non-empty gremlin query', () => { - for (const rule of rules_1.riskRules) { - expect(rule.gremlinQueryTemplate.trim().length).toBeGreaterThan(0); - } - }); -}); -describe('getEnabledRules', () => { - test('should return only enabled rules', () => { - const enabledRules = (0, rules_1.getEnabledRules)(); - for (const rule of enabledRules) { - expect(rule.enabled).toBe(true); - } - }); - test('should return all rules when all enabled', () => { - const enabledRules = (0, rules_1.getEnabledRules)(); - expect(enabledRules.length).toBe(rules_1.riskRules.length); - }); -}); -describe('getRuleById', () => { - test('should return rule by valid ID', () => { - const rule = (0, rules_1.getRuleById)('RULE-001'); - expect(rule).toBeDefined(); - expect(rule?.id).toBe('RULE-001'); - }); - test('should return undefined for invalid ID', () => { - const rule = (0, rules_1.getRuleById)('RULE-999'); - expect(rule).toBeUndefined(); - }); - test('should find internet-exposed EC2 rule', () => { - const rule = (0, rules_1.getRuleById)('RULE-001'); - expect(rule?.name).toContain('Internet-Exposed EC2'); - expect(rule?.gremlinQueryTemplate).toContain('EC2Instance'); - expect(rule?.gremlinQueryTemplate).toContain('data_classification'); - }); - test('should find security group SSH/RDP rule', () => { - const rule = (0, rules_1.getRuleById)('RULE-002'); - expect(rule?.name).toContain('SSH'); - expect(rule?.gremlinQueryTemplate).toContain('0.0.0.0/0'); - }); - test('should find container CVE rule', () => { - const rule = (0, rules_1.getRuleById)('RULE-003'); - expect(rule?.name).toContain('Container'); - expect(rule?.gremlinQueryTemplate).toContain('ContainerImage'); - expect(rule?.gremlinQueryTemplate).toContain('HAS_CVE'); - }); - test('should find over-privileged IAM rule', () => { - const rule = (0, rules_1.getRuleById)('RULE-004'); - expect(rule?.name).toContain('IAM'); - expect(rule?.gremlinQueryTemplate).toContain('ALLOWS_ACCESS_TO'); - }); - test('should find crown jewel attack path rule', () => { - const rule = (0, rules_1.getRuleById)('RULE-005'); - expect(rule?.name).toContain('Crown Jewel'); - expect(rule?.gremlinQueryTemplate).toContain('crown_jewel'); - }); - test('should find cross-account IAM trust rule', () => { - const rule = (0, rules_1.getRuleById)('RULE-006'); - expect(rule?.name).toContain('Cross-Account'); - expect(rule?.gremlinQueryTemplate).toContain('TRUSTS'); - }); - test('should find public S3 bucket rule', () => { - const rule = (0, rules_1.getRuleById)('RULE-007'); - expect(rule?.name).toContain('S3'); - expect(rule?.gremlinQueryTemplate).toContain('isPubliclyAccessible'); - }); - test('should find RDS public access rule', () => { - const rule = (0, rules_1.getRuleById)('RULE-008'); - expect(rule?.name).toContain('RDS'); - expect(rule?.gremlinQueryTemplate).toContain('RDSInstance'); - }); - test('should find Lambda VPC rule', () => { - const rule = (0, rules_1.getRuleById)('RULE-009'); - expect(rule?.name).toContain('Lambda'); - expect(rule?.gremlinQueryTemplate).toContain('Lambda'); - }); - test('should find Secrets Manager rule', () => { - const rule = (0, rules_1.getRuleById)('RULE-010'); - expect(rule?.name).toContain('Secrets'); - expect(rule?.gremlinQueryTemplate).toContain('Secret'); - }); -}); -describe('Rule gremlin queries', () => { - test('RULE-001 should query for restricted S3 access', () => { - const rule = (0, rules_1.getRuleById)('RULE-001'); - expect(rule?.gremlinQueryTemplate).toContain('restricted'); - }); - test('RULE-002 should query for SSH and RDP ports', () => { - const rule = (0, rules_1.getRuleById)('RULE-002'); - expect(rule?.gremlinQueryTemplate).toContain('22'); - expect(rule?.gremlinQueryTemplate).toContain('3389'); - }); - test('RULE-003 should query for CRITICAL CVEs', () => { - const rule = (0, rules_1.getRuleById)('RULE-003'); - expect(rule?.gremlinQueryTemplate).toContain('CRITICAL'); - expect(rule?.gremlinQueryTemplate).toContain('9.0'); - }); - test('RULE-004 should have threshold for permission count', () => { - const rule = (0, rules_1.getRuleById)('RULE-004'); - expect(rule?.gremlinQueryTemplate).toContain('gt(50)'); - }); -}); -//# sourceMappingURL=rules.test.js.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/rules.test.js.map b/lambdas/risk-engine/dist/rules.test.js.map deleted file mode 100644 index 5bd083fa..00000000 --- a/lambdas/risk-eng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AC,UAAU,CAAC,CAAC;QACrC,MAAM,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QACnD,MAAM,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,yCAAyC,EAAE,GAAG,EAAE;QACnD,MAAM,IAAI,GAAG,IAAA,mBAAW,EAAC,UAAU,CAAC,CAAC;QACrC,MAAM,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QACzD,MAAM,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,qDAAqD,EAAE,GAAG,EAAE;QAC/D,MAAM,IAAI,GAAG,IAAA,mBAAW,EAAC,UAAU,CAAC,CAAC;QACrC,MAAM,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;IACzD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lambdas/risk-engine/dist/runner.d.ts b/lambdas/risk-engine/dist/runner.d.ts deleted file mode 100644 index a1610438..00000000 --- a/lambdas/risk-engine/dist/runner.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import type { RiskRule, RuleExecutionResult } from './types'; -export declare class RiskRuleRunner { - private neptuneClient; - private issueStore; - constructor(neptuneEndpoint: string); - initialize(): Promise; - shutdown(): Promise; - runRule(rule: RiskRule): Promise; - runAllRules(): Promise; - private extractPathFromMatch; - private extractProperties; - private extractResourcesFromPath; - private createIssueFromMatch; - private buildRiskInput; -} -export declare function resolveStaleIssues(neptuneEndpoint: string): Promise; -//# sourceMappingURL=runner.d.ts.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/runner.d.ts.map b/lambdas/risk-engine/dist/runner.d.ts.map deleted file mode 100644 index f5b3fc2e..00000000 --- a/lambdas/risk-engine/dist/runner.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"runner.d.ts","sourceRoot":"","sources":["../runner.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EACV,QAAQ,EAGR,mBAAmB,EAGpB,MAAM,SAAS,CAAC;AAsIjB,qBAAa,cAAc;IACzB,OAAO,CAAC,aAAa,CAAgB;IACrC,OAAO,CAAC,UAAU,CAAqB;gBAE3B,eAAe,EAAE,MAAM;IAK7B,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3B,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAIzB,OAAO,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAqDrD,WAAW,IAAI,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAYnD,OAAO,CAAC,oBAAoB;IAoB5B,OAAO,CAAC,iBAAiB;IAazB,OAAO,CAAC,wBAAwB;YAYlB,oBAAoB;IA0ClC,OAAO,CAAC,cAAc;CAuCvB;AAED,wBAAsB,kBAAkB,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAgBjF"} \ No newline at end of file diff --git a/lambdas/risk-engine/dist/runner.js b/lambdas/risk-engine/dist/runner.js deleted file mode 100644 index 5973476d..00000000 --- a/lambdas/risk-engine/dist/runner.js +++ /dev/null @@ -1,322 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.RiskRuleRunner = void 0; -exports.resolveStaleIssues = resolveStaleIssues; -const client_dynamodb_1 = require("@aws-sdk/client-dynamodb"); -const lib_dynamodb_1 = require("@aws-sdk/lib-dynamodb"); -const util_dynamodb_1 = require("@aws-sdk/util-dynamodb"); -const rules_1 = require("./rules"); -const scoring_1 = require("./scoring"); -const MAX_PAGINATION_BATCH = 100; -const ISSUES_TABLE = process.env.ISSUES_TABLE || 'SecurityIssues'; -class GremlinNeptuneClient { - constructor(endpoint) { - this.endpoint = endpoint; - } - async connect() { - const Gremlin = await Promise.resolve().then(() => __importStar(require('gremlin'))); - this.client = new Gremlin.driver.DriverRemoteConnection(`wss://${this.endpoint}/gremlin`, { - traversalSource: 'g', - }); - } - async close() { - if (this.client) { - await this.client.close(); - } - } - async executeQuery(query, bindings = {}) { - const results = []; - let hasMore = true; - while (hasMore) { - const cursor = await this.client.submit(query, bindings); - const batch = []; - // eslint-disable-next-line no-constant-condition - while (true) { - const item = await cursor.next(); - if (!item) - break; - batch.push(item); - } - results.push(...batch); - if (batch.length < MAX_PAGINATION_BATCH) { - hasMore = false; - } - } - return results; - } -} -class DynamoDBIssueStore { - constructor() { - const client = new client_dynamodb_1.DynamoDBClient({ region: process.env.AWS_REGION || 'us-east-1' }); - this.docClient = lib_dynamodb_1.DynamoDBDocumentClient.from(client); - } - generateIssueId(ruleId, resourceIds) { - const resourceSet = resourceIds.slice(0, 3).sort().join('|'); - const hash = Buffer.from(`${ruleId}:${resourceSet}`).toString('base64').slice(0, 16); - return `${ruleId}-${hash}`; - } - async getIssue(issueId) { - const result = await this.docClient.send(new client_dynamodb_1.GetItemCommand({ - TableName: ISSUES_TABLE, - Key: { id: { S: issueId } }, - })); - if (!result.Item) - return null; - return (0, util_dynamodb_1.unmarshall)(result.Item); - } - async getIssueByRuleAndResources(ruleId, resourceIds) { - const issueId = this.generateIssueId(ruleId, resourceIds); - return this.getIssue(issueId); - } - async upsertIssue(issue) { - await this.docClient.send(new client_dynamodb_1.PutItemCommand({ - TableName: ISSUES_TABLE, - Item: (0, util_dynamodb_1.marshall)(issue), - ConditionExpression: 'attribute_not_exists(id)', - })); - } - async updateIssueStatus(issueId, status) { - await this.docClient.send(new client_dynamodb_1.UpdateItemCommand({ - TableName: ISSUES_TABLE, - Key: { id: { S: issueId } }, - UpdateExpression: 'SET #status = :status, updatedAt = :updatedAt', - ExpressionAttributeNames: { '#status': 'status' }, - ExpressionAttributeValues: { - ':status': { S: status }, - ':updatedAt': { S: new Date().toISOString() }, - }, - })); - } - async getOpenIssuesByRule(ruleId) { - const result = await this.docClient.send(new client_dynamodb_1.QueryCommand({ - TableName: ISSUES_TABLE, - IndexName: 'RuleIdIndex', - KeyConditionExpression: 'ruleId = :ruleId', - FilterExpression: '#status = :status', - ExpressionAttributeNames: { '#status': 'status' }, - ExpressionAttributeValues: { - ':ruleId': { S: ruleId }, - ':status': { S: 'open' }, - }, - })); - if (!result.Items) - return []; - return result.Items.map((item) => (0, util_dynamodb_1.unmarshall)(item)); - } -} -class RiskRuleRunner { - constructor(neptuneEndpoint) { - this.neptuneClient = new GremlinNeptuneClient(neptuneEndpoint); - this.issueStore = new DynamoDBIssueStore(); - } - async initialize() { - await this.neptuneClient.connect(); - } - async shutdown() { - await this.neptuneClient.close(); - } - async runRule(rule) { - const startTime = Date.now(); - const errors = []; - let issuesCreated = 0; - let issuesResolved = 0; - try { - const results = await this.neptuneClient.executeQuery(rule.gremlinQueryTemplate); - const activeIssueIds = new Set(); - for (const match of results) { - const path = this.extractPathFromMatch(match); - const resources = this.extractResourcesFromPath(path); - if (resources.length === 0) - continue; - const existingIssue = await this.issueStore.getIssueByRuleAndResources(rule.id, resources.map((r) => r.resourceId)); - if (existingIssue) { - activeIssueIds.add(existingIssue.id); - } - else { - const issue = await this.createIssueFromMatch(rule, path, resources); - await this.issueStore.upsertIssue(issue); - issuesCreated++; - activeIssueIds.add(issue.id); - } - } - const openIssues = await this.issueStore.getOpenIssuesByRule(rule.id); - for (const issue of openIssues) { - if (!activeIssueIds.has(issue.id)) { - await this.issueStore.updateIssueStatus(issue.id, 'resolved'); - issuesResolved++; - } - } - } - catch (error) { - errors.push(error instanceof Error ? error.message : String(error)); - } - return { - ruleId: rule.id, - executionTime: Date.now() - startTime, - matches: [], - issuesCreated, - issuesResolved, - errors: errors.length > 0 ? errors : undefined, - }; - } - async runAllRules() { - const rules = (0, rules_1.getEnabledRules)(); - const results = []; - for (const rule of rules) { - const result = await this.runRule(rule); - results.push(result); - } - return results; - } - extractPathFromMatch(match) { - if (match.objects) { - return match.objects.map((obj) => ({ - id: obj.id?.value || obj.id, - label: obj.label, - properties: this.extractProperties(obj), - })); - } - if (Array.isArray(match)) { - return match.map((item) => ({ - id: item?.id?.value || item?.id, - label: item?.label || 'unknown', - properties: this.extractProperties(item), - })); - } - return []; - } - extractProperties(obj) { - if (!obj) - return {}; - const properties = {}; - for (const [key, value] of Object.entries(obj)) { - if (key !== 'id' && key !== 'label') { - const val = value; - properties[key] = val?.value ?? val; - } - } - return properties; - } - extractResourcesFromPath(path) { - return path - .filter((v) => v.label && !['Internet', 'IAMRole', 'IAMPolicy'].includes(v.label)) - .map((v) => ({ - resourceId: v.id, - resourceType: v.label, - resourceName: v.properties?.name || v.properties?.Name, - })); - } - async createIssueFromMatch(rule, path, resources) { - const now = new Date().toISOString(); - const riskInput = this.buildRiskInput(rule, path, resources); - const scoreResult = (0, scoring_1.computeRiskScore)(riskInput); - const pathSegments = path.slice(0, -1).map((from, i) => ({ - from: from.id, - to: path[i + 1].id, - edgeType: path[i + 1].label, - })); - return { - id: this.issueStore.generateIssueId(rule.id, resources.map((r) => r.resourceId)), - ruleId: rule.id, - resourcesInvolved: resources.map((r) => ({ - resourceId: r.resourceId, - resourceType: r.resourceType, - resourceName: r.resourceName, - })), - pathSummary: pathSegments, - riskScore: scoreResult.score, - severity: scoreResult.severity, - status: 'open', - createdAt: now, - updatedAt: now, - owningTeam: rule.ownerTeam, - remediationHint: (0, scoring_1.getRemediationHint)(rule.id, {}), - metadata: { - scoringFactors: scoreResult.factors, - ruleName: rule.name, - }, - }; - } - buildRiskInput(rule, path, resources) { - let exposureLevel = 'internal'; - let dataClassification = 'public'; - let environment = 'dev'; - let isCrownJewel = false; - const attackPathLength = path.length; - for (const v of path) { - if (v.properties?.isInternetExposed === true) { - exposureLevel = 'internet'; - } - if (v.properties?.data_classification === 'restricted' || - v.properties?.data_classification === 'secret') { - dataClassification = v.properties.data_classification; - } - if (v.properties?.crown_jewel === true) { - isCrownJewel = true; - } - if (v.properties?.env === 'prod') { - environment = 'prod'; - } - else if (v.properties?.env === 'staging' && environment !== 'prod') { - environment = 'staging'; - } - } - return { - exposureLevel, - dataClassification, - environment, - isCrownJewel, - attackPathLength, - }; - } -} -exports.RiskRuleRunner = RiskRuleRunner; -async function resolveStaleIssues(neptuneEndpoint) { - const runner = new RiskRuleRunner(neptuneEndpoint); - await runner.initialize(); - let resolvedCount = 0; - try { - for (const rule of (0, rules_1.getEnabledRules)()) { - const result = await runner.runRule(rule); - resolvedCount += result.issuesResolved; - } - } - finally { - await runner.shutdown(); - } - return resolvedCount; -} -//# sourceMappingURL=runner.js.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/runner.js.map b/lambdas/risk-engine/dist/runner.js.map deleted file mode 100644 index cb382cf9..00000000 --- a/lambdas/risk-engine/dist/runner.js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CAAC,UAAU,EAAE,CAAC;IAE1B,IAAI,aAAa,GAAG,CAAC,CAAC;IAEtB,IAAI,CAAC;QACH,KAAK,MAAM,IAAI,IAAI,IAAA,uBAAe,GAAE,EAAE,CAAC;YACrC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YAC1C,aAAa,IAAI,MAAM,CAAC,cAAc,CAAC;QACzC,CAAC;IACH,CAAC;YAAS,CAAC;QACT,MAAM,MAAM,CAAC,QAAQ,EAAE,CAAC;IAC1B,CAAC;IAED,OAAO,aAAa,CAAC;AACvB,CAAC"} \ No newline at end of file diff --git a/lambdas/risk-engine/dist/scoring.d.ts b/lambdas/risk-engine/dist/scoring.d.ts deleted file mode 100644 index 0f1070b4..00000000 --- a/lambdas/risk-engine/dist/scoring.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import type { RiskScoreInput, RiskScoreOutput } from './types'; -export declare function computeRiskScore(input: RiskScoreInput): RiskScoreOutput; -export declare function extractResourcesFromPath(path: any[]): { - resourceIds: string[]; - resourceTypes: string[]; -}; -export declare function calculatePathSummary(path: any[]): { - segments: { - from: string; - to: string; - edgeType: string; - }[]; -}; -export declare function getRemediationHint(ruleId: string, context: Record): string; -//# sourceMappingURL=scoring.d.ts.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/scoring.d.ts.map b/lambdas/risk-engine/dist/scoring.d.ts.map deleted file mode 100644 index f6d0cb7c..00000000 --- a/lambdas/risk-engine/dist/scoring.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"scoring.d.ts","sourceRoot":"","sources":["../scoring.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EAKhB,MAAM,SAAS,CAAC;AAmCjB,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,GAAG,eAAe,CAgEvE;AASD,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG;IACrD,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB,CAYA;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG;IACjD,QAAQ,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC5D,CAiBA;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CA4BvF"} \ No newline at end of file diff --git a/lambdas/risk-engine/dist/scoring.js b/lambdas/risk-engine/dist/scoring.js deleted file mode 100644 index 7399a252..00000000 --- a/lambdas/risk-engine/dist/scoring.js +++ /dev/null @@ -1,142 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.computeRiskScore = computeRiskScore; -exports.extractResourcesFromPath = extractResourcesFromPath; -exports.calculatePathSummary = calculatePathSummary; -exports.getRemediationHint = getRemediationHint; -const EXPOSURE_WEIGHTS = { - internet: 1.0, - 'cross-account': 0.7, - internal: 0.3, -}; -const DATA_CLASSIFICATION_WEIGHTS = { - secret: 1.0, - restricted: 0.8, - internal: 0.5, - public: 0.1, -}; -const ENVIRONMENT_WEIGHTS = { - prod: 1.0, - staging: 0.6, - dev: 0.3, -}; -const IDENTITY_BLAST_RADIUS_WEIGHTS = { - admin: 1.0, - wildcard: 0.9, - 'cross-account': 0.7, - 'service-linked': 0.4, -}; -const SEVERITY_THRESHOLDS = { - critical: 80, - high: 60, - medium: 40, - low: 20, -}; -function computeRiskScore(input) { - let cvssContribution = 0; - let exposureContribution = 0; - let identityContribution = 0; - let dataClassificationContribution = 0; - let environmentContribution = 0; - let crownJewelContribution = 0; - if (input.cvss) { - cvssContribution = input.cvss.baseScore * 10 * 0.25; - } - if (input.exploitabilityFlags) { - const { hasExploit, hasPublicExploit, malwareAvailable } = input.exploitabilityFlags; - if (hasPublicExploit) - cvssContribution *= 1.5; - else if (hasExploit) - cvssContribution *= 1.25; - if (malwareAvailable) - cvssContribution *= 1.3; - } - exposureContribution = EXPOSURE_WEIGHTS[input.exposureLevel] * 100 * 0.2; - if (input.identityBlastRadius) { - const blastWeight = IDENTITY_BLAST_RADIUS_WEIGHTS[input.identityBlastRadius.type]; - identityContribution = blastWeight * input.identityBlastRadius.scope * 100 * 0.2; - } - dataClassificationContribution = - DATA_CLASSIFICATION_WEIGHTS[input.dataClassification] * 100 * 0.2; - environmentContribution = ENVIRONMENT_WEIGHTS[input.environment] * 100 * 0.15; - if (input.isCrownJewel) { - crownJewelContribution = 50; - } - if (input.attackPathLength !== undefined) { - const pathPenalty = Math.max(0, (6 - input.attackPathLength) * 10); - crownJewelContribution += pathPenalty; - } - const totalScore = Math.min(100, cvssContribution + - exposureContribution + - identityContribution + - dataClassificationContribution + - environmentContribution + - crownJewelContribution); - const severity = mapScoreToSeverity(totalScore); - return { - score: Math.round(totalScore * 10) / 10, - severity, - factors: { - cvssContribution: Math.round(cvssContribution * 10) / 10, - exposureContribution: Math.round(exposureContribution * 10) / 10, - identityContribution: Math.round(identityContribution * 10) / 10, - dataClassificationContribution: Math.round(dataClassificationContribution * 10) / 10, - environmentContribution: Math.round(environmentContribution * 10) / 10, - crownJewelContribution: Math.round(crownJewelContribution * 10) / 10, - }, - }; -} -function mapScoreToSeverity(score) { - if (score >= SEVERITY_THRESHOLDS.critical) - return 'critical'; - if (score >= SEVERITY_THRESHOLDS.high) - return 'high'; - if (score >= SEVERITY_THRESHOLDS.medium) - return 'medium'; - return 'low'; -} -function extractResourcesFromPath(path) { - const resourceIds = []; - const resourceTypes = []; - for (const item of path) { - if (item && typeof item === 'object') { - if (item.id) - resourceIds.push(item.id); - if (item.label) - resourceTypes.push(item.label); - } - } - return { resourceIds: [...new Set(resourceIds)], resourceTypes: [...new Set(resourceTypes)] }; -} -function calculatePathSummary(path) { - const segments = []; - for (let i = 0; i < path.length - 1; i++) { - const fromNode = path[i]; - const toNode = path[i + 1]; - if (fromNode && toNode && fromNode.id && toNode.id) { - segments.push({ - from: fromNode.id, - to: toNode.id, - edgeType: toNode.label || 'unknown', - }); - } - } - return { segments }; -} -function getRemediationHint(ruleId, context) { - const hints = { - 'RULE-001': 'Restrict IAM role permissions to specific S3 buckets, enable VPC endpoints for S3 access, or move sensitive data to private buckets.', - 'RULE-002': 'Restrict SSH/RDP access to specific IP ranges or VPN endpoints. Implement bastion hosts for administrative access.', - 'RULE-003': 'Update container images to latest patches, scan for CVEs in CI/CD pipeline, or remove internet exposure from workloads.', - 'RULE-004': 'Review IAM role permissions using AWS IAM Access Analyzer, implement least-privilege permissions, and remove unnecessary access.', - 'RULE-005': 'Implement additional network segmentation, add monitoring/alerts on crown jewel resources, and review trust relationships.', - 'RULE-006': 'Remove cross-account trust relationships unless strictly required, implement AWS Organizations service control policies.', - 'RULE-007': 'Enable S3 block public access, review bucket policies, and move sensitive data to restricted buckets.', - 'RULE-008': 'Disable public access on RDS instances, implement VPC endpoints, and review security group rules.', - 'RULE-009': 'Review Lambda execution role permissions, implement VPC endpoints without internet access, and use private subnets.', - 'RULE-010': 'Restrict IAM policy statements to specific secrets, implement resource-based policies, and enable secret rotation.', - }; - return (hints[ruleId] || - 'Review and remediate the identified security issue according to best practices.'); -} -//# sourceMappingURL=scoring.js.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/scoring.js.map b/lambdas/risk-engine/dist/scoring.js.map deleted file mode 100644 index 3b25902c..00000000 --- a/lambdas/risk-engine/dist/scoring.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"scoring.js","sourceRoot":"","sources":["../scoring.ts"],"names":[],"mappings":";;AA0CA,4CAgEC;AASD,4DAeC;AAED,oDAmBC;AAED,gDA4BC;AA5KD,MAAM,gBAAgB,GAAkC;IACtD,QAAQ,EAAE,GAAG;IACb,eAAe,EAAE,GAAG;IACpB,QAAQ,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d.ts deleted file mode 100644 index 39403d72..00000000 --- a/lambdas/risk-engine/dist/scoring.test.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=scoring.test.d.ts.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/scoring.test.d.ts.map b/lambdas/risk-engine/dist/scoring.test.d.ts.map deleted file mode 100644 index 0a03829c..00000000 --- a/lambdas/risk-engine/dist/scoring.test.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"scoring.test.d.ts","sourceRoot":"","sources":["../scoring.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lambdas/risk-engine/dist/scoring.test.js b/lambdas/risk-engine/dist/scoring.test.js deleted file mode 100644 index f3f40957..00000000 --- a/lambdas/risk-engine/dist/scoring.test.js +++ /dev/null @@ -1,170 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const scoring_1 = require("./scoring"); -describe('computeRiskScore', () => { - const baseInput = { - exposureLevel: 'internal', - dataClassification: 'public', - environment: 'dev', - isCrownJewel: false, - }; - test('should return low severity for minimal risk input', () => { - const result = (0, scoring_1.computeRiskScore)(baseInput); - expect(result.severity).toBe('low'); - expect(result.score).toBeLessThan(20); - }); - test('should return critical severity for high risk input', () => { - const input = { - cvss: { - baseScore: 9.8, - exploitabilitySubScore: 3.9, - impactSubScore: 5.9, - vectorString: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H', - }, - exploitabilityFlags: { hasExploit: true, hasPublicExploit: true, malwareAvailable: false }, - exposureLevel: 'internet', - identityBlastRadius: { type: 'admin', scope: 1 }, - dataClassification: 'restricted', - environment: 'prod', - isCrownJewel: true, - attackPathLength: 2, - }; - const result = (0, scoring_1.computeRiskScore)(input); - expect(result.severity).toBe('critical'); - expect(result.score).toBeGreaterThanOrEqual(80); - }); - test('should return high severity for medium-high risk input', () => { - const input = { - cvss: { - baseScore: 7.5, - exploitabilitySubScore: 2.5, - impactSubScore: 5.9, - vectorString: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H', - }, - exposureLevel: 'cross-account', - dataClassification: 'secret', - environment: 'prod', - isCrownJewel: true, - attackPathLength: 2, - }; - const result = (0, scoring_1.computeRiskScore)(input); - expect(result.severity).toBe('critical'); - expect(result.score).toBeGreaterThanOrEqual(60); - }); - test('should apply crown jewel bonus', () => { - const withCrownJewel = (0, scoring_1.computeRiskScore)({ ...baseInput, isCrownJewel: true }); - const withoutCrownJewel = (0, scoring_1.computeRiskScore)({ ...baseInput, isCrownJewel: false }); - expect(withCrownJewel.score).toBeGreaterThan(withoutCrownJewel.score); - }); - test('should apply environment weights correctly', () => { - const prodInput = (0, scoring_1.computeRiskScore)({ ...baseInput, environment: 'prod' }); - const devInput = (0, scoring_1.computeRiskScore)({ ...baseInput, environment: 'dev' }); - expect(prodInput.score).toBeGreaterThan(devInput.score); - }); - test('should apply data classification weights correctly', () => { - const restrictedInput = (0, scoring_1.computeRiskScore)({ ...baseInput, dataClassification: 'restricted' }); - const publicInput = (0, scoring_1.computeRiskScore)({ ...baseInput, dataClassification: 'public' }); - expect(restrictedInput.score).toBeGreaterThan(publicInput.score); - }); - test('should apply exposure level weights correctly', () => { - const internetInput = (0, scoring_1.computeRiskScore)({ ...baseInput, exposureLevel: 'internet' }); - const internalInput = (0, scoring_1.computeRiskScore)({ ...baseInput, exposureLevel: 'internal' }); - expect(internetInput.score).toBeGreaterThan(internalInput.score); - }); - test('should apply identity blast radius correctly', () => { - const adminInput = (0, scoring_1.computeRiskScore)({ - ...baseInput, - identityBlastRadius: { type: 'admin', scope: 1 }, - }); - const noIdentityInput = (0, scoring_1.computeRiskScore)({ ...baseInput }); - expect(adminInput.score).toBeGreaterThan(noIdentityInput.score); - }); - test('should return all factor contributions', () => { - const input = { - cvss: { - baseScore: 9.0, - exploitabilitySubScore: 3.0, - impactSubScore: 5.0, - vectorString: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H', - }, - exposureLevel: 'internet', - dataClassification: 'secret', - environment: 'prod', - isCrownJewel: true, - }; - const result = (0, scoring_1.computeRiskScore)(input); - expect(result.factors).toHaveProperty('cvssContribution'); - expect(result.factors).toHaveProperty('exposureContribution'); - expect(result.factors).toHaveProperty('dataClassificationContribution'); - expect(result.factors).toHaveProperty('environmentContribution'); - }); - test('should handle missing optional fields', () => { - const result = (0, scoring_1.computeRiskScore)({ - exposureLevel: 'internal', - dataClassification: 'public', - environment: 'dev', - isCrownJewel: false, - }); - expect(result.score).toBeDefined(); - expect(result.severity).toBeDefined(); - }); -}); -describe('getRemediationHint', () => { - test('should return specific hint for RULE-001', () => { - const hint = (0, scoring_1.getRemediationHint)('RULE-001', {}); - expect(hint).toContain('IAM role'); - }); - test('should return specific hint for RULE-002', () => { - const hint = (0, scoring_1.getRemediationHint)('RULE-002', {}); - expect(hint).toContain('SSH'); - }); - test('should return default hint for unknown rule', () => { - const hint = (0, scoring_1.getRemediationHint)('RULE-999', {}); - expect(hint).toContain('best practices'); - }); -}); -describe('extractResourcesFromPath', () => { - test('should extract resource IDs from path', () => { - const path = [ - { id: 'ec2-1', label: 'EC2Instance', properties: {} }, - { id: 'role-1', label: 'IAMRole', properties: {} }, - { id: 's3-1', label: 'S3Bucket', properties: {} }, - ]; - const result = (0, scoring_1.extractResourcesFromPath)(path); - expect(result.resourceIds).toContain('ec2-1'); - expect(result.resourceIds).toContain('s3-1'); - expect(result.resourceIds).toContain('role-1'); - }); - test('should return unique resource IDs', () => { - const path = [ - { id: 'ec2-1', label: 'EC2Instance', properties: {} }, - { id: 'ec2-1', label: 'EC2Instance', properties: {} }, - ]; - const result = (0, scoring_1.extractResourcesFromPath)(path); - expect(result.resourceIds.length).toBe(1); - }); - test('should return empty arrays for empty path', () => { - const result = (0, scoring_1.extractResourcesFromPath)([]); - expect(result.resourceIds).toEqual([]); - expect(result.resourceTypes).toEqual([]); - }); -}); -describe('calculatePathSummary', () => { - test('should calculate path segments correctly', () => { - const path = [ - { id: 'ec2-1', label: 'EC2Instance', properties: {} }, - { id: 'role-1', label: 'IAMRole', properties: {} }, - { id: 's3-1', label: 'S3Bucket', properties: {} }, - ]; - const result = (0, scoring_1.calculatePathSummary)(path); - expect(result.segments).toHaveLength(2); - expect(result.segments[0]).toEqual({ from: 'ec2-1', to: 'role-1', edgeType: 'IAMRole' }); - expect(result.segments[1]).toEqual({ from: 'role-1', to: 's3-1', edgeType: 'S3Bucket' }); - }); - test('should return empty segments for path with less than 2 nodes', () => { - const path = [{ id: 'ec2-1', label: 'EC2Instance', properties: {} }]; - const result = (0, scoring_1.calculatePathSummary)(path); - expect(result.segments).toHaveLength(0); - }); -}); -//# sourceMappingURL=scoring.test.js.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/scoring.test.js.map b/lambdas/risk-engine/dist/scoring.test.js.map deleted file mode 100644 index e69ca10b..00000000 --- a/lambdas/risk-engine/dist/scoring.test.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"scoring.test.js","sourceRoot":"","sources":["../scoring.test.ts"],"names":[],"mappings":";;AAAA,uCAKmB;AAGnB,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAChC,MAAM,SAAS,GAAmB;QAChC,aAAa,EAAE,UAAU;QACzB,kBAAkB,EAAE,QAAQ;QAC5B,WAAW,EAAE,KAAK;QAClB,YAAY,EAAE,KAAK;KACpB,CAAC;IAEF,IAAI,CAAC,mDAAmD,EAAE,GAAG,EAAE;QAC7D,MAAM,MAAM,GAAG,IAAA,0BAAgB,EAAC,SAAS,CAAC,CAAC;QAC3C,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACpC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IACxC,CAAC,CAAC,CAAC;IAEH,IAAI,CAAC,qDAAqD,EAAE,GAAG,EAAE;QAC/D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IAAI,GAAG,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CAAC;QACrE,MAAM,MAAM,GAAG,IAAA,8BAAoB,EAAC,IAAI,CAAC,CAAC;QAC1C,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IAC1C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lambdas/risk-engine/dist/types.d.ts b/lambdas/risk-engine/dist/types.d.ts deleted file mode 100644 index 2b2c3779..00000000 --- a/lambdas/risk-engine/dist/types.d.ts +++ /dev/null @@ -1,115 +0,0 @@ -export type Severity = 'critical' | 'high' | 'medium' | 'low'; -export type IssueStatus = 'open' | 'resolved' | 'suppressed'; -export type ExposureLevel = 'internet' | 'cross-account' | 'internal'; -export type DataClassification = 'public' | 'internal' | 'restricted' | 'secret'; -export type Environment = 'prod' | 'staging' | 'dev'; -export interface RiskFactor { - name: string; - weight: number; - value: number; -} -export interface AutoTicketConfig { - enabled: boolean; - projectKey?: string; - assignee?: string; - priority?: string; -} -export interface RiskRule { - id: string; - name: string; - description: string; - severityHint: Severity; - riskFactors: RiskFactor[]; - gremlinQueryTemplate: string; - ownerTeam: string; - enabled: boolean; - autoTicketConfig: AutoTicketConfig; -} -export interface ResourceInvolved { - resourceId: string; - resourceType: string; - resourceName?: string; - accountId?: string; - region?: string; -} -export interface PathSegment { - from: string; - to: string; - edgeType: string; - label?: string; -} -export interface Issue { - id: string; - ruleId: string; - resourcesInvolved: ResourceInvolved[]; - pathSummary: PathSegment[]; - riskScore: number; - severity: Severity; - status: IssueStatus; - createdAt: string; - updatedAt: string; - owningTeam: string; - remediationHint: string; - metadata: Record; -} -export interface RuleExecutionResult { - ruleId: string; - executionTime: number; - matches: any[]; - issuesCreated: number; - issuesResolved: number; - errors?: string[]; -} -export interface GremlinQueryResult { - vertices: GraphVertex[]; - edges: GraphEdge[]; -} -export interface GraphVertex { - id: string; - label: string; - properties: Record; -} -export interface GraphEdge { - id: string; - label: string; - from: string; - to: string; - properties?: Record; -} -export interface CvssScore { - baseScore: number; - exploitabilitySubScore: number; - impactSubScore: number; - vectorString: string; -} -export interface IdentityBlastRadius { - type: 'admin' | 'wildcard' | 'cross-account' | 'service-linked'; - scope: number; -} -export interface RiskScoreInput { - cvss?: CvssScore; - exploitabilityFlags?: { - hasExploit: boolean; - hasPublicExploit: boolean; - malwareAvailable: boolean; - }; - exposureLevel: ExposureLevel; - identityBlastRadius?: IdentityBlastRadius; - dataClassification: DataClassification; - environment: Environment; - attackPathLength?: number; - isCrownJewel: boolean; -} -export interface RiskScoreOutput { - score: number; - severity: Severity; - factors: { - cvssContribution: number; - exposureContribution: number; - identityContribution: number; - dataClassificationContribution: number; - environmentContribution: number; - crownJewelContribution: number; - }; -} -//# sourceMappingURL=types.d.ts.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/types.d.ts.map b/lambdas/risk-engine/dist/types.d.ts.map deleted file mode 100644 index 7bfae21f..00000000 --- a/lambdas/risk-engine/dist/types.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;AAC9D,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,YAAY,CAAC;AAC7D,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,eAAe,GAAG,UAAU,CAAC;AACtE,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,UAAU,GAAG,YAAY,GAAG,QAAQ,CAAC;AACjF,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,KAAK,CAAC;AAErD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,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gB,EAAE,OAAO,CAAC;KAC3B,CAAC;IACF,aAAa,EAAE,aAAa,CAAC;IAC7B,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,WAAW,EAAE,WAAW,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE;QACP,gBAAgB,EAAE,MAAM,CAAC;QACzB,oBAAoB,EAAE,MAAM,CAAC;QAC7B,oBAAoB,EAAE,MAAM,CAAC;QAC7B,8BAA8B,EAAE,MAAM,CAAC;QACvC,uBAAuB,EAAE,MAAM,CAAC;QAChC,sBAAsB,EAAE,MAAM,CAAC;KAChC,CAAC;CACH"} \ No newline at end of file diff --git a/lambdas/risk-engine/dist/types.js b/lambdas/risk-engine/dist/types.js deleted file mode 100644 index 11e638d1..00000000 --- a/lambdas/risk-engine/dist/types.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -//# sourceMappingURL=types.js.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/types.js.map b/lambdas/risk-engine/dist/types.js.map deleted file mode 100644 index 79402c96..00000000 --- a/lambdas/risk-engine/dist/types.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.js","sourceRoot":"","sources":["../types.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lambdas/risk-engine/dist/types.test.d.ts b/lambdas/risk-engine/dist/types.test.d.ts deleted file mode 100644 index 961011cf..00000000 --- a/lambdas/risk-engine/dist/types.test.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export {}; -//# sourceMappingURL=types.test.d.ts.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/types.test.d.ts.map b/lambdas/risk-engine/dist/types.test.d.ts.map deleted file mode 100644 index b495d78e..00000000 --- a/lambdas/risk-engine/dist/types.test.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.test.d.ts","sourceRoot":"","sources":["../types.test.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/lambdas/risk-engine/dist/types.test.js b/lambdas/risk-engine/dist/types.test.js deleted file mode 100644 index 2cd965d8..00000000 --- a/lambdas/risk-engine/dist/types.test.js +++ /dev/null @@ -1,215 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -describe('Types', () => { - describe('Severity type', () => { - test('should accept valid severity values', () => { - const severities = ['critical', 'high', 'medium', 'low']; - for (const severity of severities) { - expect(severity).toBeDefined(); - } - }); - }); - describe('IssueStatus type', () => { - test('should accept valid issue status values', () => { - const statuses = ['open', 'resolved', 'suppressed']; - for (const status of statuses) { - expect(status).toBeDefined(); - } - }); - }); - describe('ExposureLevel type', () => { - test('should accept valid exposure level values', () => { - const levels = ['internet', 'cross-account', 'internal']; - for (const level of levels) { - expect(level).toBeDefined(); - } - }); - }); - describe('DataClassification type', () => { - test('should accept valid data classification values', () => { - const classifications = ['public', 'internal', 'restricted', 'secret']; - for (const classification of classifications) { - expect(classification).toBeDefined(); - } - }); - }); - describe('Environment type', () => { - test('should accept valid environment values', () => { - const environments = ['prod', 'staging', 'dev']; - for (const env of environments) { - expect(env).toBeDefined(); - } - }); - }); - describe('RiskFactor interface', () => { - test('should create valid RiskFactor object', () => { - const riskFactor = { - name: 'cvss', - weight: 0.25, - value: 9.8, - }; - expect(riskFactor.name).toBe('cvss'); - expect(riskFactor.weight).toBe(0.25); - expect(riskFactor.value).toBe(9.8); - }); - }); - describe('RiskRule interface', () => { - test('should create valid RiskRule object', () => { - const rule = { - id: 'RULE-001', - name: 'Test Rule', - description: 'Test description', - severityHint: 'high', - riskFactors: [], - gremlinQueryTemplate: 'g.V()', - ownerTeam: 'security', - enabled: true, - autoTicketConfig: { enabled: false }, - }; - expect(rule.id).toBe('RULE-001'); - expect(rule.enabled).toBe(true); - }); - }); - describe('Issue interface', () => { - test('should create valid Issue object', () => { - const issue = { - id: 'issue-001', - ruleId: 'RULE-001', - resourcesInvolved: [], - pathSummary: [], - riskScore: 85, - severity: 'high', - status: 'open', - createdAt: '2024-01-01T00:00:00Z', - updatedAt: '2024-01-01T00:00:00Z', - owningTeam: 'security', - remediationHint: 'Fix this issue', - metadata: {}, - }; - expect(issue.id).toBeDefined(); - expect(issue.riskScore).toBe(85); - expect(issue.severity).toBe('high'); - }); - }); - describe('RuleExecutionResult interface', () => { - test('should create valid RuleExecutionResult object', () => { - const result = { - ruleId: 'RULE-001', - executionTime: 1000, - matches: [], - issuesCreated: 5, - issuesResolved: 2, - }; - expect(result.ruleId).toBe('RULE-001'); - expect(result.executionTime).toBe(1000); - expect(result.issuesCreated).toBe(5); - expect(result.issuesResolved).toBe(2); - }); - test('should include errors when present', () => { - const result = { - ruleId: 'RULE-001', - executionTime: 1000, - matches: [], - issuesCreated: 0, - issuesResolved: 0, - errors: ['Error 1', 'Error 2'], - }; - expect(result.errors).toHaveLength(2); - }); - }); - describe('GraphVertex interface', () => { - test('should create valid GraphVertex object', () => { - const vertex = { - id: 'vertex-001', - label: 'EC2Instance', - properties: { name: 'test-instance' }, - }; - expect(vertex.id).toBe('vertex-001'); - expect(vertex.label).toBe('EC2Instance'); - }); - }); - describe('GraphEdge interface', () => { - test('should create valid GraphEdge object', () => { - const edge = { - id: 'edge-001', - label: 'ALLOWS_ACCESS_TO', - from: 'from-001', - to: 'to-001', - }; - expect(edge.id).toBe('edge-001'); - expect(edge.label).toBe('ALLOWS_ACCESS_TO'); - }); - }); - describe('CvssScore interface', () => { - test('should create valid CvssScore object', () => { - const cvss = { - baseScore: 9.8, - exploitabilitySubScore: 3.9, - impactSubScore: 5.9, - vectorString: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H', - }; - expect(cvss.baseScore).toBe(9.8); - expect(cvss.vectorString).toContain('CVSS:3.1'); - }); - }); - describe('IdentityBlastRadius interface', () => { - test('should create valid IdentityBlastRadius object', () => { - const blastRadius = { - type: 'admin', - scope: 10, - }; - expect(blastRadius.type).toBe('admin'); - expect(blastRadius.scope).toBe(10); - }); - }); - describe('RiskScoreInput interface', () => { - test('should create valid RiskScoreInput object', () => { - const input = { - cvss: { - baseScore: 9.0, - exploitabilitySubScore: 3.0, - impactSubScore: 5.0, - vectorString: 'test', - }, - exploitabilityFlags: { hasExploit: true, hasPublicExploit: false, malwareAvailable: false }, - exposureLevel: 'internet', - identityBlastRadius: { type: 'admin', scope: 1 }, - dataClassification: 'restricted', - environment: 'prod', - attackPathLength: 3, - isCrownJewel: true, - }; - expect(input.exposureLevel).toBe('internet'); - expect(input.isCrownJewel).toBe(true); - }); - test('should allow minimal RiskScoreInput', () => { - const input = { - exposureLevel: 'internal', - dataClassification: 'public', - environment: 'dev', - isCrownJewel: false, - }; - expect(input.exposureLevel).toBe('internal'); - }); - }); - describe('RiskScoreOutput interface', () => { - test('should create valid RiskScoreOutput object', () => { - const output = { - score: 85, - severity: 'high', - factors: { - cvssContribution: 22.5, - exposureContribution: 20, - identityContribution: 20, - dataClassificationContribution: 16, - environmentContribution: 15, - crownJewelContribution: 0, - }, - }; - expect(output.score).toBe(85); - expect(output.severity).toBe('high'); - expect(output.factors.cvssContribution).toBe(22.5); - }); - }); -}); -//# sourceMappingURL=types.test.js.map \ No newline at end of file diff --git a/lambdas/risk-engine/dist/types.test.js.map b/lambdas/risk-engine/dist/types.test.js.map deleted file mode 100644 index e03aa7f2..00000000 --- a/lambdas/risk-engine/dist/types.test.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"types.test.js","sourceRoot":"","sources":["../types.test.ts"],"names":[],"mappings":";;AAkBA,QAAQ,CAAC,OAAO,EAAE,GAAG,EAAE;IACrB,QAAQ,CAAC,eAAe,EAAE,GAAG,EAAE;QAC7B,IAAI,CAAC,qCAAqC,EAAE,GAAG,EA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B,EAAE,EAAE;oBAC3B,sBAAsB,EAAE,CAAC;iBAC1B;aACF,CAAC;YACF,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YAC9B,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACrC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lambdas/risk-engine/jest.config.js b/lambdas/risk-engine/jest.config.js deleted file mode 100644 index 525ca8cf..00000000 --- a/lambdas/risk-engine/jest.config.js +++ /dev/null @@ -1,9 +0,0 @@ -module.exports = { - preset: 'ts-jest', - testEnvironment: 'node', - roots: [''], - testMatch: ['**/*.test.ts'], - moduleFileExtensions: ['ts', 'js', 'json'], - collectCoverageFrom: ['*.ts', '!*.test.ts'], - coverageDirectory: 'coverage', -}; diff --git a/lambdas/risk-engine/node_modules/.bin/baseline-browser-mapping b/lambdas/risk-engine/node_modules/.bin/baseline-browser-mapping deleted file mode 120000 index 8e9a12d9..00000000 --- a/lambdas/risk-engine/node_modules/.bin/baseline-browser-mapping +++ /dev/null @@ -1 +0,0 @@ -../baseline-browser-mapping/dist/cli.cjs \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/browserslist b/lambdas/risk-engine/node_modules/.bin/browserslist deleted file mode 120000 index 3cd991b2..00000000 --- a/lambdas/risk-engine/node_modules/.bin/browserslist +++ /dev/null @@ -1 +0,0 @@ -../browserslist/cli.js \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/create-jest b/lambdas/risk-engine/node_modules/.bin/create-jest deleted file mode 120000 index 8d6301e0..00000000 --- a/lambdas/risk-engine/node_modules/.bin/create-jest +++ /dev/null @@ -1 +0,0 @@ -../create-jest/bin/create-jest.js \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/esparse b/lambdas/risk-engine/node_modules/.bin/esparse deleted file mode 120000 index 7423b18b..00000000 --- a/lambdas/risk-engine/node_modules/.bin/esparse +++ /dev/null @@ -1 +0,0 @@ -../esprima/bin/esparse.js \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/esvalidate b/lambdas/risk-engine/node_modules/.bin/esvalidate deleted file mode 120000 index 16069eff..00000000 --- a/lambdas/risk-engine/node_modules/.bin/esvalidate +++ /dev/null @@ -1 +0,0 @@ -../esprima/bin/esvalidate.js \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/handlebars b/lambdas/risk-engine/node_modules/.bin/handlebars deleted file mode 120000 index fb7d090f..00000000 --- a/lambdas/risk-engine/node_modules/.bin/handlebars +++ /dev/null @@ -1 +0,0 @@ -../handlebars/bin/handlebars \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/import-local-fixture b/lambdas/risk-engine/node_modules/.bin/import-local-fixture deleted file mode 120000 index ff4b1048..00000000 --- a/lambdas/risk-engine/node_modules/.bin/import-local-fixture +++ /dev/null @@ -1 +0,0 @@ -../import-local/fixtures/cli.js \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/jest b/lambdas/risk-engine/node_modules/.bin/jest deleted file mode 120000 index 61c18615..00000000 --- a/lambdas/risk-engine/node_modules/.bin/jest +++ /dev/null @@ -1 +0,0 @@ -../jest/bin/jest.js \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/js-yaml b/lambdas/risk-engine/node_modules/.bin/js-yaml deleted file mode 120000 index 9dbd010d..00000000 --- a/lambdas/risk-engine/node_modules/.bin/js-yaml +++ /dev/null @@ -1 +0,0 @@ -../js-yaml/bin/js-yaml.js \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/jsesc b/lambdas/risk-engine/node_modules/.bin/jsesc deleted file mode 120000 index 7237604c..00000000 --- a/lambdas/risk-engine/node_modules/.bin/jsesc +++ /dev/null @@ -1 +0,0 @@ -../jsesc/bin/jsesc \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/json5 b/lambdas/risk-engine/node_modules/.bin/json5 deleted file mode 120000 index 217f3798..00000000 --- a/lambdas/risk-engine/node_modules/.bin/json5 +++ /dev/null @@ -1 +0,0 @@ -../json5/lib/cli.js \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/parser b/lambdas/risk-engine/node_modules/.bin/parser deleted file mode 120000 index ce7bf97e..00000000 --- a/lambdas/risk-engine/node_modules/.bin/parser +++ /dev/null @@ -1 +0,0 @@ -../@babel/parser/bin/babel-parser.js \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/resolve b/lambdas/risk-engine/node_modules/.bin/resolve deleted file mode 120000 index b6afda6c..00000000 --- a/lambdas/risk-engine/node_modules/.bin/resolve +++ /dev/null @@ -1 +0,0 @@ -../resolve/bin/resolve \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/semver b/lambdas/risk-engine/node_modules/.bin/semver deleted file mode 120000 index 5aaadf42..00000000 --- a/lambdas/risk-engine/node_modules/.bin/semver +++ /dev/null @@ -1 +0,0 @@ -../semver/bin/semver.js \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/ts-jest b/lambdas/risk-engine/node_modules/.bin/ts-jest deleted file mode 120000 index 0f8a26ec..00000000 --- a/lambdas/risk-engine/node_modules/.bin/ts-jest +++ /dev/null @@ -1 +0,0 @@ -../ts-jest/cli.js \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/uglifyjs b/lambdas/risk-engine/node_modules/.bin/uglifyjs deleted file mode 120000 index fef3468b..00000000 --- a/lambdas/risk-engine/node_modules/.bin/uglifyjs +++ /dev/null @@ -1 +0,0 @@ -../uglify-js/bin/uglifyjs \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/.bin/update-browserslist-db b/lambdas/risk-engine/node_modules/.bin/update-browserslist-db deleted file mode 120000 index b11e16f3..00000000 --- a/lambdas/risk-engine/node_modules/.bin/update-browserslist-db +++ /dev/null @@ -1 +0,0 @@ -../update-browserslist-db/cli.js \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/LICENSE b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/LICENSE deleted file mode 100644 index dd65ae06..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/README.md b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/README.md deleted file mode 100644 index 2bd6e38e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/README.md +++ /dev/null @@ -1,596 +0,0 @@ - - -# @aws-sdk/client-dynamodb - -## Description - -AWS SDK for JavaScript DynamoDB Client for Node.js, Browser and React Native. - -Amazon DynamoDB -

Amazon DynamoDB is a fully managed NoSQL database service that provides fast -and predictable performance with seamless scalability. DynamoDB lets you -offload the administrative burdens of operating and scaling a distributed database, so -that you don't have to worry about hardware provisioning, setup and configuration, -replication, software patching, or cluster scaling.

-

With DynamoDB, you can create database tables that can store and retrieve -any amount of data, and serve any level of request traffic. You can scale up or scale -down your tables' throughput capacity without downtime or performance degradation, and -use the Amazon Web Services Management Console to monitor resource utilization and performance -metrics.

-

DynamoDB automatically spreads the data and traffic for your tables over -a sufficient number of servers to handle your throughput and storage requirements, while -maintaining consistent and fast performance. All of your data is stored on solid state -disks (SSDs) and automatically replicated across multiple Availability Zones in an -Amazon Web Services Region, providing built-in high availability and data -durability.

- -## Installing - -To install this package, use the CLI of your favorite package manager: - -- `npm install @aws-sdk/client-dynamodb` -- `yarn add @aws-sdk/client-dynamodb` -- `pnpm add @aws-sdk/client-dynamodb` - -## Getting Started - -### Import - -The AWS SDK is modulized by clients and commands. -To send a request, you only need to import the `DynamoDBClient` and -the commands you need, for example `ListBackupsCommand`: - -```js -// ES5 example -const { DynamoDBClient, ListBackupsCommand } = require("@aws-sdk/client-dynamodb"); -``` - -```ts -// ES6+ example -import { DynamoDBClient, ListBackupsCommand } from "@aws-sdk/client-dynamodb"; -``` - -### Usage - -To send a request: - -- Instantiate a client with configuration (e.g. credentials, region). - - See [docs/CLIENTS](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md) for configuration details. - - See [@aws-sdk/config](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/config/README.md) for additional options. -- Instantiate a command with input parameters. -- Call the `send` operation on the client, providing the command object as input. - -```js -const client = new DynamoDBClient({ region: "REGION" }); - -const params = { /** input parameters */ }; -const command = new ListBackupsCommand(params); -``` - -#### Async/await - -We recommend using the [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await) -operator to wait for the promise returned by send operation as follows: - -```js -// async/await. -try { - const data = await client.send(command); - // process data. -} catch (error) { - // error handling. -} finally { - // finally. -} -``` - -#### Promises - -You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining). - -```js -client - .send(command) - .then((data) => { - // process data. - }) - .catch((error) => { - // error handling. - }) - .finally(() => { - // finally. - }); -``` - -#### Aggregated client - -The aggregated client class is exported from the same package, but without the "Client" suffix. - -`DynamoDB` extends `DynamoDBClient` and additionally supports all operations, waiters, and paginators as methods. -This style may be familiar to you from the AWS SDK for JavaScript v2. - -If you are bundling the AWS SDK, we recommend using only the bare-bones client (`DynamoDBClient`). -More details are in the blog post on -[modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/). - -```ts -import { DynamoDB } from "@aws-sdk/client-dynamodb"; - -const client = new DynamoDB({ region: "REGION" }); - -// async/await. -try { - const data = await client.listBackups(params); - // process data. -} catch (error) { - // error handling. -} - -// Promises. -client - .listBackups(params) - .then((data) => { - // process data. - }) - .catch((error) => { - // error handling. - }); - -// callbacks (not recommended). -client.listBackups(params, (err, data) => { - // process err and data. -}); -``` - -### Troubleshooting - -When the service returns an exception, the error will include the exception information, -as well as response metadata (e.g. request id). - -```js -try { - const data = await client.send(command); - // process data. -} catch (error) { - const { requestId, cfId, extendedRequestId } = error.$metadata; - console.log({ requestId, cfId, extendedRequestId }); - /** - * The keys within exceptions are also parsed. - * You can access them by specifying exception names: - * if (error.name === 'SomeServiceException') { - * const value = error.specialKeyInException; - * } - */ -} -``` - -See also [docs/ERROR_HANDLING](https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/ERROR_HANDLING.md). - -## Getting Help - -Please use these community resources for getting help. -We use GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them. - -- Visit the [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html) - or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html). -- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/) - on AWS Developer Blog. -- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`. -- Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3). -- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose). - -To test your universal JavaScript code in Node.js, browser and react-native environments, -visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests). - -## Contributing - -This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-dynamodb` package is updated. -To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients). - -## License - -This SDK is distributed under the -[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0), -see LICENSE for more information. - -## Client Commands (Operations List) - -
- -BatchExecuteStatement - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/BatchExecuteStatementCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/BatchExecuteStatementCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/BatchExecuteStatementCommandOutput/) -
-
- -BatchGetItem - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/BatchGetItemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/BatchGetItemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/BatchGetItemCommandOutput/) -
-
- -BatchWriteItem - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/BatchWriteItemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/BatchWriteItemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/BatchWriteItemCommandOutput/) -
-
- -CreateBackup - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/CreateBackupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/CreateBackupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/CreateBackupCommandOutput/) -
-
- -CreateGlobalTable - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/CreateGlobalTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/CreateGlobalTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/CreateGlobalTableCommandOutput/) -
-
- -CreateTable - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/CreateTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/CreateTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/CreateTableCommandOutput/) -
-
- -DeleteBackup - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DeleteBackupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DeleteBackupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DeleteBackupCommandOutput/) -
-
- -DeleteItem - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DeleteItemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DeleteItemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DeleteItemCommandOutput/) -
-
- -DeleteResourcePolicy - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DeleteResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DeleteResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DeleteResourcePolicyCommandOutput/) -
-
- -DeleteTable - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DeleteTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DeleteTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DeleteTableCommandOutput/) -
-
- -DescribeBackup - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DescribeBackupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeBackupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeBackupCommandOutput/) -
-
- -DescribeContinuousBackups - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DescribeContinuousBackupsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeContinuousBackupsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeContinuousBackupsCommandOutput/) -
-
- -DescribeContributorInsights - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DescribeContributorInsightsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeContributorInsightsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeContributorInsightsCommandOutput/) -
-
- -DescribeEndpoints - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DescribeEndpointsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeEndpointsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeEndpointsCommandOutput/) -
-
- -DescribeExport - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DescribeExportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeExportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeExportCommandOutput/) -
-
- -DescribeGlobalTable - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DescribeGlobalTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeGlobalTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeGlobalTableCommandOutput/) -
-
- -DescribeGlobalTableSettings - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DescribeGlobalTableSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeGlobalTableSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeGlobalTableSettingsCommandOutput/) -
-
- -DescribeImport - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DescribeImportCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeImportCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeImportCommandOutput/) -
-
- -DescribeKinesisStreamingDestination - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DescribeKinesisStreamingDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeKinesisStreamingDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeKinesisStreamingDestinationCommandOutput/) -
-
- -DescribeLimits - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DescribeLimitsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeLimitsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeLimitsCommandOutput/) -
-
- -DescribeTable - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DescribeTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeTableCommandOutput/) -
-
- -DescribeTableReplicaAutoScaling - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DescribeTableReplicaAutoScalingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeTableReplicaAutoScalingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeTableReplicaAutoScalingCommandOutput/) -
-
- -DescribeTimeToLive - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DescribeTimeToLiveCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeTimeToLiveCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DescribeTimeToLiveCommandOutput/) -
-
- -DisableKinesisStreamingDestination - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/DisableKinesisStreamingDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DisableKinesisStreamingDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/DisableKinesisStreamingDestinationCommandOutput/) -
-
- -EnableKinesisStreamingDestination - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/EnableKinesisStreamingDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/EnableKinesisStreamingDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/EnableKinesisStreamingDestinationCommandOutput/) -
-
- -ExecuteStatement - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/ExecuteStatementCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ExecuteStatementCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ExecuteStatementCommandOutput/) -
-
- -ExecuteTransaction - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/ExecuteTransactionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ExecuteTransactionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ExecuteTransactionCommandOutput/) -
-
- -ExportTableToPointInTime - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/ExportTableToPointInTimeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ExportTableToPointInTimeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ExportTableToPointInTimeCommandOutput/) -
-
- -GetItem - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/GetItemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/GetItemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/GetItemCommandOutput/) -
-
- -GetResourcePolicy - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/GetResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/GetResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/GetResourcePolicyCommandOutput/) -
-
- -ImportTable - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/ImportTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ImportTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ImportTableCommandOutput/) -
-
- -ListBackups - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/ListBackupsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ListBackupsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ListBackupsCommandOutput/) -
-
- -ListContributorInsights - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/ListContributorInsightsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ListContributorInsightsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ListContributorInsightsCommandOutput/) -
-
- -ListExports - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/ListExportsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ListExportsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ListExportsCommandOutput/) -
-
- -ListGlobalTables - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/ListGlobalTablesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ListGlobalTablesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ListGlobalTablesCommandOutput/) -
-
- -ListImports - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/ListImportsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ListImportsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ListImportsCommandOutput/) -
-
- -ListTables - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/ListTablesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ListTablesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ListTablesCommandOutput/) -
-
- -ListTagsOfResource - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/ListTagsOfResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ListTagsOfResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ListTagsOfResourceCommandOutput/) -
-
- -PutItem - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/PutItemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/PutItemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/PutItemCommandOutput/) -
-
- -PutResourcePolicy - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/PutResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/PutResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/PutResourcePolicyCommandOutput/) -
-
- -Query - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/QueryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/QueryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/QueryCommandOutput/) -
-
- -RestoreTableFromBackup - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/RestoreTableFromBackupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/RestoreTableFromBackupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/RestoreTableFromBackupCommandOutput/) -
-
- -RestoreTableToPointInTime - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/RestoreTableToPointInTimeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/RestoreTableToPointInTimeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/RestoreTableToPointInTimeCommandOutput/) -
-
- -Scan - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/ScanCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ScanCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/ScanCommandOutput/) -
-
- -TagResource - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/TagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/TagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/TagResourceCommandOutput/) -
-
- -TransactGetItems - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/TransactGetItemsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/TransactGetItemsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/TransactGetItemsCommandOutput/) -
-
- -TransactWriteItems - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/TransactWriteItemsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/TransactWriteItemsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/TransactWriteItemsCommandOutput/) -
-
- -UntagResource - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UntagResourceCommandOutput/) -
-
- -UpdateContinuousBackups - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/UpdateContinuousBackupsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateContinuousBackupsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateContinuousBackupsCommandOutput/) -
-
- -UpdateContributorInsights - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/UpdateContributorInsightsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateContributorInsightsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateContributorInsightsCommandOutput/) -
-
- -UpdateGlobalTable - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/UpdateGlobalTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateGlobalTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateGlobalTableCommandOutput/) -
-
- -UpdateGlobalTableSettings - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/UpdateGlobalTableSettingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateGlobalTableSettingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateGlobalTableSettingsCommandOutput/) -
-
- -UpdateItem - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/UpdateItemCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateItemCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateItemCommandOutput/) -
-
- -UpdateKinesisStreamingDestination - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/UpdateKinesisStreamingDestinationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateKinesisStreamingDestinationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateKinesisStreamingDestinationCommandOutput/) -
-
- -UpdateTable - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/UpdateTableCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateTableCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateTableCommandOutput/) -
-
- -UpdateTableReplicaAutoScaling - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/UpdateTableReplicaAutoScalingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateTableReplicaAutoScalingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateTableReplicaAutoScalingCommandOutput/) -
-
- -UpdateTimeToLive - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dynamodb/command/UpdateTimeToLiveCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateTimeToLiveCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dynamodb/Interface/UpdateTimeToLiveCommandOutput/) -
diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/auth/httpAuthSchemeProvider.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/auth/httpAuthSchemeProvider.js deleted file mode 100644 index 4e05808e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/auth/httpAuthSchemeProvider.js +++ /dev/null @@ -1,46 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.resolveHttpAuthSchemeConfig = exports.defaultDynamoDBHttpAuthSchemeProvider = exports.defaultDynamoDBHttpAuthSchemeParametersProvider = void 0; -const core_1 = require("@aws-sdk/core"); -const util_middleware_1 = require("@smithy/util-middleware"); -const defaultDynamoDBHttpAuthSchemeParametersProvider = async (config, context, input) => { - return { - operation: (0, util_middleware_1.getSmithyContext)(context).operation, - region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => { - throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); - })(), - }; -}; -exports.defaultDynamoDBHttpAuthSchemeParametersProvider = defaultDynamoDBHttpAuthSchemeParametersProvider; -function createAwsAuthSigv4HttpAuthOption(authParameters) { - return { - schemeId: "aws.auth#sigv4", - signingProperties: { - name: "dynamodb", - region: authParameters.region, - }, - propertiesExtractor: (config, context) => ({ - signingProperties: { - config, - context, - }, - }), - }; -} -const defaultDynamoDBHttpAuthSchemeProvider = (authParameters) => { - const options = []; - switch (authParameters.operation) { - default: { - options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); - } - } - return options; -}; -exports.defaultDynamoDBHttpAuthSchemeProvider = defaultDynamoDBHttpAuthSchemeProvider; -const resolveHttpAuthSchemeConfig = (config) => { - const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config); - return Object.assign(config_0, { - authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []), - }); -}; -exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/endpoint/endpointResolver.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/endpoint/endpointResolver.js deleted file mode 100644 index 1df276cc..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/endpoint/endpointResolver.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.defaultEndpointResolver = void 0; -const util_endpoints_1 = require("@aws-sdk/util-endpoints"); -const util_endpoints_2 = require("@smithy/util-endpoints"); -const ruleset_1 = require("./ruleset"); -const cache = new util_endpoints_2.EndpointCache({ - size: 50, - params: [ - "AccountId", - "AccountIdEndpointMode", - "Endpoint", - "Region", - "ResourceArn", - "ResourceArnList", - "UseDualStack", - "UseFIPS", - ], -}); -const defaultEndpointResolver = (endpointParams, context = {}) => { - return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { - endpointParams: endpointParams, - logger: context.logger, - })); -}; -exports.defaultEndpointResolver = defaultEndpointResolver; -util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/endpoint/ruleset.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/endpoint/ruleset.js deleted file mode 100644 index f2965a01..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/endpoint/ruleset.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ruleSet = void 0; -const K = "required", L = "type", M = "rules", N = "conditions", O = "fn", P = "argv", Q = "ref", R = "assign", S = "url", T = "properties", U = "headers", V = "metricValues"; -const a = false, b = "error", c = "stringEquals", d = "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", e = "endpoint", f = "tree", g = "dynamodb", h = { [K]: false, [L]: "string" }, i = { [K]: true, "default": false, [L]: "boolean" }, j = { [O]: "isSet", [P]: [{ [Q]: "Endpoint" }] }, k = { [Q]: "Endpoint" }, l = { [O]: "isSet", [P]: [{ [Q]: "Region" }] }, m = { [Q]: "Region" }, n = { [O]: "aws.partition", [P]: [m], [R]: "PartitionResult" }, o = { [N]: [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }], [b]: "Invalid Configuration: FIPS and custom endpoint are not supported", [L]: b }, p = { [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }, q = { [N]: [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }], [b]: "Invalid Configuration: Dualstack and custom endpoint are not supported", [L]: b }, r = { [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }, s = { [e]: { [S]: "{Endpoint}", [T]: {}, [U]: {} }, [L]: e }, t = {}, u = { [O]: "booleanEquals", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "supportsFIPS"] }, true] }, v = { [O]: "booleanEquals", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "supportsDualStack"] }, true] }, w = { [N]: [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "required"] }], [M]: [{ [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [L]: b }], [L]: f }, x = { [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "name"] }, y = { [e]: { [S]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [T]: {}, [U]: {} }, [L]: e }, z = { [S]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: { [V]: ["O"] }, [U]: {} }, A = { [V]: ["O"] }, B = { [b]: "Credentials-sourced account ID parameter is invalid", [L]: b }, C = { [N]: [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "required"] }], [M]: [{ [N]: [{ [O]: "not", [P]: [p] }], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws"] }], [M]: [{ [b]: "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded", [L]: b }], [L]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition", [L]: b }], [L]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [L]: b }], [L]: f }, D = { [S]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: {} }, E = [p], F = [r], G = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "ResourceArn" }] }, { [O]: "aws.parseArn", [P]: [{ [Q]: "ResourceArn" }], [R]: "ParsedArn" }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "service"] }, g] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, false] }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, "{Region}"] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "accountId"] }, false] }], H = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "ResourceArnList" }] }, { [O]: "getAttr", [P]: [{ [Q]: "ResourceArnList" }, "[0]"], [R]: "FirstArn" }, { [O]: "aws.parseArn", [P]: [{ [Q]: "FirstArn" }], [R]: "ParsedArn" }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "service"] }, g] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, false] }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, "{Region}"] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "accountId"] }, false] }], I = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "AccountId" }] }], J = [{ [O]: "isValidHostLabel", [P]: [{ [Q]: "AccountId" }, false] }]; -const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, AccountId: h, AccountIdEndpointMode: h, ResourceArn: h, ResourceArnList: { [K]: a, [L]: "stringArray" } }, [M]: [{ [N]: [j, l, n], [M]: [o, q, { [N]: [{ [O]: c, [P]: [k, d] }], error: "Endpoint override is not supported for dual-stack endpoints. Please enable dual-stack functionality by enabling the configuration. For more details, see: https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html", [L]: b }, s], [L]: f }, { [N]: [j], [M]: [o, q, s], [L]: f }, { [N]: [l], [M]: [{ [N]: [n], [M]: [{ [N]: [{ [O]: c, [P]: [m, "local"] }], [M]: [{ [N]: E, error: "Invalid Configuration: FIPS and local endpoint are not supported", [L]: b }, { [N]: F, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [L]: b }, { endpoint: { [S]: "http://localhost:8000", [T]: { authSchemes: [{ name: "sigv4", signingName: g, signingRegion: "us-east-1" }] }, [U]: t }, [L]: e }], [L]: f }, { [N]: [p, r], [M]: [{ [N]: [u, v], [M]: [w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [L]: b }], [L]: f }, { [N]: E, [M]: [{ [N]: [u], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws-us-gov"] }], [M]: [w, y], [L]: f }, w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS is enabled but this partition does not support FIPS", [L]: b }], [L]: f }, { [N]: F, [M]: [{ [N]: [v], [M]: [{ [N]: G, endpoint: z, [L]: e }, { [N]: H, endpoint: z, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, { endpoint: { [S]: d, [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "DualStack is enabled but this partition does not support DualStack", [L]: b }], [L]: f }, { [N]: G, endpoint: D, [L]: e }, { [N]: H, endpoint: D, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, y], [L]: f }], [L]: f }, { error: "Invalid Configuration: Missing Region", [L]: b }] }; -exports.ruleSet = _data; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js deleted file mode 100644 index e60fcce1..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +++ /dev/null @@ -1,1667 +0,0 @@ -'use strict'; - -var accountIdEndpoint = require('@aws-sdk/core/account-id-endpoint'); -var middlewareEndpointDiscovery = require('@aws-sdk/middleware-endpoint-discovery'); -var middlewareHostHeader = require('@aws-sdk/middleware-host-header'); -var middlewareLogger = require('@aws-sdk/middleware-logger'); -var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection'); -var middlewareUserAgent = require('@aws-sdk/middleware-user-agent'); -var configResolver = require('@smithy/config-resolver'); -var core = require('@smithy/core'); -var schema = require('@smithy/core/schema'); -var middlewareContentLength = require('@smithy/middleware-content-length'); -var middlewareEndpoint = require('@smithy/middleware-endpoint'); -var middlewareRetry = require('@smithy/middleware-retry'); -var smithyClient = require('@smithy/smithy-client'); -var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider'); -var schemas_0 = require('./schemas/schemas_0'); -var runtimeConfig = require('./runtimeConfig'); -var regionConfigResolver = require('@aws-sdk/region-config-resolver'); -var protocolHttp = require('@smithy/protocol-http'); -var utilWaiter = require('@smithy/util-waiter'); -var errors = require('./models/errors'); -var DynamoDBServiceException = require('./models/DynamoDBServiceException'); - -const resolveClientEndpointParameters = (options) => { - return Object.assign(options, { - useDualstackEndpoint: options.useDualstackEndpoint ?? false, - useFipsEndpoint: options.useFipsEndpoint ?? false, - defaultSigningName: "dynamodb", - }); -}; -const commonParams = { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - AccountId: { type: "builtInParams", name: "accountId" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - AccountIdEndpointMode: { type: "builtInParams", name: "accountIdEndpointMode" }, -}; - -class DescribeEndpointsCommand extends smithyClient.Command - .classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeEndpoints", {}) - .n("DynamoDBClient", "DescribeEndpointsCommand") - .sc(schemas_0.DescribeEndpoints$) - .build() { -} - -const getHttpAuthExtensionConfiguration = (runtimeConfig) => { - const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; - let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; - let _credentials = runtimeConfig.credentials; - return { - setHttpAuthScheme(httpAuthScheme) { - const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); - if (index === -1) { - _httpAuthSchemes.push(httpAuthScheme); - } - else { - _httpAuthSchemes.splice(index, 1, httpAuthScheme); - } - }, - httpAuthSchemes() { - return _httpAuthSchemes; - }, - setHttpAuthSchemeProvider(httpAuthSchemeProvider) { - _httpAuthSchemeProvider = httpAuthSchemeProvider; - }, - httpAuthSchemeProvider() { - return _httpAuthSchemeProvider; - }, - setCredentials(credentials) { - _credentials = credentials; - }, - credentials() { - return _credentials; - }, - }; -}; -const resolveHttpAuthRuntimeConfig = (config) => { - return { - httpAuthSchemes: config.httpAuthSchemes(), - httpAuthSchemeProvider: config.httpAuthSchemeProvider(), - credentials: config.credentials(), - }; -}; - -const resolveRuntimeExtensions = (runtimeConfig, extensions) => { - const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); - extensions.forEach((extension) => extension.configure(extensionConfiguration)); - return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); -}; - -class DynamoDBClient extends smithyClient.Client { - config; - constructor(...[configuration]) { - const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); - super(_config_0); - this.initConfig = _config_0; - const _config_1 = resolveClientEndpointParameters(_config_0); - const _config_2 = accountIdEndpoint.resolveAccountIdEndpointModeConfig(_config_1); - const _config_3 = middlewareUserAgent.resolveUserAgentConfig(_config_2); - const _config_4 = middlewareRetry.resolveRetryConfig(_config_3); - const _config_5 = configResolver.resolveRegionConfig(_config_4); - const _config_6 = middlewareHostHeader.resolveHostHeaderConfig(_config_5); - const _config_7 = middlewareEndpoint.resolveEndpointConfig(_config_6); - const _config_8 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_7); - const _config_9 = middlewareEndpointDiscovery.resolveEndpointDiscoveryConfig(_config_8, { endpointDiscoveryCommandCtor: DescribeEndpointsCommand }); - const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []); - this.config = _config_10; - this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); - this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config)); - this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config)); - this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config)); - this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config)); - this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config)); - this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config)); - this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { - httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultDynamoDBHttpAuthSchemeParametersProvider, - identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ - "aws.auth#sigv4": config.credentials, - }), - })); - this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); - } - destroy() { - super.destroy(); - } -} - -class BatchExecuteStatementCommand extends smithyClient.Command - .classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "BatchExecuteStatement", {}) - .n("DynamoDBClient", "BatchExecuteStatementCommand") - .sc(schemas_0.BatchExecuteStatement$) - .build() { -} - -class BatchGetItemCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "BatchGetItem", {}) - .n("DynamoDBClient", "BatchGetItemCommand") - .sc(schemas_0.BatchGetItem$) - .build() { -} - -class BatchWriteItemCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "BatchWriteItem", {}) - .n("DynamoDBClient", "BatchWriteItemCommand") - .sc(schemas_0.BatchWriteItem$) - .build() { -} - -class CreateBackupCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "CreateBackup", {}) - .n("DynamoDBClient", "CreateBackupCommand") - .sc(schemas_0.CreateBackup$) - .build() { -} - -class CreateGlobalTableCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "GlobalTableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "CreateGlobalTable", {}) - .n("DynamoDBClient", "CreateGlobalTableCommand") - .sc(schemas_0.CreateGlobalTable$) - .build() { -} - -class CreateTableCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "CreateTable", {}) - .n("DynamoDBClient", "CreateTableCommand") - .sc(schemas_0.CreateTable$) - .build() { -} - -class DeleteBackupCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "BackupArn" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DeleteBackup", {}) - .n("DynamoDBClient", "DeleteBackupCommand") - .sc(schemas_0.DeleteBackup$) - .build() { -} - -class DeleteItemCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DeleteItem", {}) - .n("DynamoDBClient", "DeleteItemCommand") - .sc(schemas_0.DeleteItem$) - .build() { -} - -class DeleteResourcePolicyCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ResourceArn" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DeleteResourcePolicy", {}) - .n("DynamoDBClient", "DeleteResourcePolicyCommand") - .sc(schemas_0.DeleteResourcePolicy$) - .build() { -} - -class DeleteTableCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DeleteTable", {}) - .n("DynamoDBClient", "DeleteTableCommand") - .sc(schemas_0.DeleteTable$) - .build() { -} - -class DescribeBackupCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "BackupArn" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeBackup", {}) - .n("DynamoDBClient", "DescribeBackupCommand") - .sc(schemas_0.DescribeBackup$) - .build() { -} - -class DescribeContinuousBackupsCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeContinuousBackups", {}) - .n("DynamoDBClient", "DescribeContinuousBackupsCommand") - .sc(schemas_0.DescribeContinuousBackups$) - .build() { -} - -class DescribeContributorInsightsCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeContributorInsights", {}) - .n("DynamoDBClient", "DescribeContributorInsightsCommand") - .sc(schemas_0.DescribeContributorInsights$) - .build() { -} - -class DescribeExportCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ExportArn" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeExport", {}) - .n("DynamoDBClient", "DescribeExportCommand") - .sc(schemas_0.DescribeExport$) - .build() { -} - -class DescribeGlobalTableCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "GlobalTableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeGlobalTable", {}) - .n("DynamoDBClient", "DescribeGlobalTableCommand") - .sc(schemas_0.DescribeGlobalTable$) - .build() { -} - -class DescribeGlobalTableSettingsCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "GlobalTableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeGlobalTableSettings", {}) - .n("DynamoDBClient", "DescribeGlobalTableSettingsCommand") - .sc(schemas_0.DescribeGlobalTableSettings$) - .build() { -} - -class DescribeImportCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ImportArn" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeImport", {}) - .n("DynamoDBClient", "DescribeImportCommand") - .sc(schemas_0.DescribeImport$) - .build() { -} - -class DescribeKinesisStreamingDestinationCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeKinesisStreamingDestination", {}) - .n("DynamoDBClient", "DescribeKinesisStreamingDestinationCommand") - .sc(schemas_0.DescribeKinesisStreamingDestination$) - .build() { -} - -class DescribeLimitsCommand extends smithyClient.Command - .classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeLimits", {}) - .n("DynamoDBClient", "DescribeLimitsCommand") - .sc(schemas_0.DescribeLimits$) - .build() { -} - -class DescribeTableCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeTable", {}) - .n("DynamoDBClient", "DescribeTableCommand") - .sc(schemas_0.DescribeTable$) - .build() { -} - -class DescribeTableReplicaAutoScalingCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeTableReplicaAutoScaling", {}) - .n("DynamoDBClient", "DescribeTableReplicaAutoScalingCommand") - .sc(schemas_0.DescribeTableReplicaAutoScaling$) - .build() { -} - -class DescribeTimeToLiveCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeTimeToLive", {}) - .n("DynamoDBClient", "DescribeTimeToLiveCommand") - .sc(schemas_0.DescribeTimeToLive$) - .build() { -} - -class DisableKinesisStreamingDestinationCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DisableKinesisStreamingDestination", {}) - .n("DynamoDBClient", "DisableKinesisStreamingDestinationCommand") - .sc(schemas_0.DisableKinesisStreamingDestination$) - .build() { -} - -class EnableKinesisStreamingDestinationCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "EnableKinesisStreamingDestination", {}) - .n("DynamoDBClient", "EnableKinesisStreamingDestinationCommand") - .sc(schemas_0.EnableKinesisStreamingDestination$) - .build() { -} - -class ExecuteStatementCommand extends smithyClient.Command - .classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ExecuteStatement", {}) - .n("DynamoDBClient", "ExecuteStatementCommand") - .sc(schemas_0.ExecuteStatement$) - .build() { -} - -class ExecuteTransactionCommand extends smithyClient.Command - .classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ExecuteTransaction", {}) - .n("DynamoDBClient", "ExecuteTransactionCommand") - .sc(schemas_0.ExecuteTransaction$) - .build() { -} - -class ExportTableToPointInTimeCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableArn" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ExportTableToPointInTime", {}) - .n("DynamoDBClient", "ExportTableToPointInTimeCommand") - .sc(schemas_0.ExportTableToPointInTime$) - .build() { -} - -class GetItemCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "GetItem", {}) - .n("DynamoDBClient", "GetItemCommand") - .sc(schemas_0.GetItem$) - .build() { -} - -class GetResourcePolicyCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ResourceArn" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "GetResourcePolicy", {}) - .n("DynamoDBClient", "GetResourcePolicyCommand") - .sc(schemas_0.GetResourcePolicy$) - .build() { -} - -class ImportTableCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "operationContextParams", get: (input) => input?.TableCreationParameters?.TableName }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ImportTable", {}) - .n("DynamoDBClient", "ImportTableCommand") - .sc(schemas_0.ImportTable$) - .build() { -} - -class ListBackupsCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ListBackups", {}) - .n("DynamoDBClient", "ListBackupsCommand") - .sc(schemas_0.ListBackups$) - .build() { -} - -class ListContributorInsightsCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ListContributorInsights", {}) - .n("DynamoDBClient", "ListContributorInsightsCommand") - .sc(schemas_0.ListContributorInsights$) - .build() { -} - -class ListExportsCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableArn" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ListExports", {}) - .n("DynamoDBClient", "ListExportsCommand") - .sc(schemas_0.ListExports$) - .build() { -} - -class ListGlobalTablesCommand extends smithyClient.Command - .classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ListGlobalTables", {}) - .n("DynamoDBClient", "ListGlobalTablesCommand") - .sc(schemas_0.ListGlobalTables$) - .build() { -} - -class ListImportsCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableArn" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ListImports", {}) - .n("DynamoDBClient", "ListImportsCommand") - .sc(schemas_0.ListImports$) - .build() { -} - -class ListTablesCommand extends smithyClient.Command - .classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ListTables", {}) - .n("DynamoDBClient", "ListTablesCommand") - .sc(schemas_0.ListTables$) - .build() { -} - -class ListTagsOfResourceCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ResourceArn" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ListTagsOfResource", {}) - .n("DynamoDBClient", "ListTagsOfResourceCommand") - .sc(schemas_0.ListTagsOfResource$) - .build() { -} - -class PutItemCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "PutItem", {}) - .n("DynamoDBClient", "PutItemCommand") - .sc(schemas_0.PutItem$) - .build() { -} - -class PutResourcePolicyCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ResourceArn" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "PutResourcePolicy", {}) - .n("DynamoDBClient", "PutResourcePolicyCommand") - .sc(schemas_0.PutResourcePolicy$) - .build() { -} - -class QueryCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "Query", {}) - .n("DynamoDBClient", "QueryCommand") - .sc(schemas_0.Query$) - .build() { -} - -class RestoreTableFromBackupCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TargetTableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "RestoreTableFromBackup", {}) - .n("DynamoDBClient", "RestoreTableFromBackupCommand") - .sc(schemas_0.RestoreTableFromBackup$) - .build() { -} - -class RestoreTableToPointInTimeCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TargetTableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "RestoreTableToPointInTime", {}) - .n("DynamoDBClient", "RestoreTableToPointInTimeCommand") - .sc(schemas_0.RestoreTableToPointInTime$) - .build() { -} - -class ScanCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "Scan", {}) - .n("DynamoDBClient", "ScanCommand") - .sc(schemas_0.Scan$) - .build() { -} - -class TagResourceCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ResourceArn" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "TagResource", {}) - .n("DynamoDBClient", "TagResourceCommand") - .sc(schemas_0.TagResource$) - .build() { -} - -class TransactGetItemsCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => obj?.Get?.TableName) }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "TransactGetItems", {}) - .n("DynamoDBClient", "TransactGetItemsCommand") - .sc(schemas_0.TransactGetItems$) - .build() { -} - -class TransactWriteItemsCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => [obj?.ConditionCheck?.TableName, obj?.Put?.TableName, obj?.Delete?.TableName, obj?.Update?.TableName].filter((i) => i)).flat() }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "TransactWriteItems", {}) - .n("DynamoDBClient", "TransactWriteItemsCommand") - .sc(schemas_0.TransactWriteItems$) - .build() { -} - -class UntagResourceCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ResourceArn" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UntagResource", {}) - .n("DynamoDBClient", "UntagResourceCommand") - .sc(schemas_0.UntagResource$) - .build() { -} - -class UpdateContinuousBackupsCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateContinuousBackups", {}) - .n("DynamoDBClient", "UpdateContinuousBackupsCommand") - .sc(schemas_0.UpdateContinuousBackups$) - .build() { -} - -class UpdateContributorInsightsCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateContributorInsights", {}) - .n("DynamoDBClient", "UpdateContributorInsightsCommand") - .sc(schemas_0.UpdateContributorInsights$) - .build() { -} - -class UpdateGlobalTableCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "GlobalTableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateGlobalTable", {}) - .n("DynamoDBClient", "UpdateGlobalTableCommand") - .sc(schemas_0.UpdateGlobalTable$) - .build() { -} - -class UpdateGlobalTableSettingsCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "GlobalTableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateGlobalTableSettings", {}) - .n("DynamoDBClient", "UpdateGlobalTableSettingsCommand") - .sc(schemas_0.UpdateGlobalTableSettings$) - .build() { -} - -class UpdateItemCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateItem", {}) - .n("DynamoDBClient", "UpdateItemCommand") - .sc(schemas_0.UpdateItem$) - .build() { -} - -class UpdateKinesisStreamingDestinationCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateKinesisStreamingDestination", {}) - .n("DynamoDBClient", "UpdateKinesisStreamingDestinationCommand") - .sc(schemas_0.UpdateKinesisStreamingDestination$) - .build() { -} - -class UpdateTableCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateTable", {}) - .n("DynamoDBClient", "UpdateTableCommand") - .sc(schemas_0.UpdateTable$) - .build() { -} - -class UpdateTableReplicaAutoScalingCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateTableReplicaAutoScaling", {}) - .n("DynamoDBClient", "UpdateTableReplicaAutoScalingCommand") - .sc(schemas_0.UpdateTableReplicaAutoScaling$) - .build() { -} - -class UpdateTimeToLiveCommand extends smithyClient.Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateTimeToLive", {}) - .n("DynamoDBClient", "UpdateTimeToLiveCommand") - .sc(schemas_0.UpdateTimeToLive$) - .build() { -} - -const paginateListContributorInsights = core.createPaginator(DynamoDBClient, ListContributorInsightsCommand, "NextToken", "NextToken", "MaxResults"); - -const paginateListExports = core.createPaginator(DynamoDBClient, ListExportsCommand, "NextToken", "NextToken", "MaxResults"); - -const paginateListImports = core.createPaginator(DynamoDBClient, ListImportsCommand, "NextToken", "NextToken", "PageSize"); - -const paginateListTables = core.createPaginator(DynamoDBClient, ListTablesCommand, "ExclusiveStartTableName", "LastEvaluatedTableName", "Limit"); - -const paginateQuery = core.createPaginator(DynamoDBClient, QueryCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit"); - -const paginateScan = core.createPaginator(DynamoDBClient, ScanCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit"); - -const checkState$5 = async (client, input) => { - let reason; - try { - let result = await client.send(new DescribeContributorInsightsCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.ContributorInsightsStatus; - }; - if (returnComparator() === "ENABLED") { - return { state: utilWaiter.WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.ContributorInsightsStatus; - }; - if (returnComparator() === "FAILED") { - return { state: utilWaiter.WaiterState.FAILURE, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: utilWaiter.WaiterState.RETRY, reason }; -}; -const waitForContributorInsightsEnabled = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5); -}; -const waitUntilContributorInsightsEnabled = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5); - return utilWaiter.checkExceptions(result); -}; - -const checkState$4 = async (client, input) => { - let reason; - try { - let result = await client.send(new DescribeExportCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.ExportDescription.ExportStatus; - }; - if (returnComparator() === "COMPLETED") { - return { state: utilWaiter.WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.ExportDescription.ExportStatus; - }; - if (returnComparator() === "FAILED") { - return { state: utilWaiter.WaiterState.FAILURE, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: utilWaiter.WaiterState.RETRY, reason }; -}; -const waitForExportCompleted = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4); -}; -const waitUntilExportCompleted = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4); - return utilWaiter.checkExceptions(result); -}; - -const checkState$3 = async (client, input) => { - let reason; - try { - let result = await client.send(new DescribeImportCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.ImportTableDescription.ImportStatus; - }; - if (returnComparator() === "COMPLETED") { - return { state: utilWaiter.WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.ImportTableDescription.ImportStatus; - }; - if (returnComparator() === "FAILED") { - return { state: utilWaiter.WaiterState.FAILURE, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.ImportTableDescription.ImportStatus; - }; - if (returnComparator() === "CANCELLED") { - return { state: utilWaiter.WaiterState.FAILURE, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: utilWaiter.WaiterState.RETRY, reason }; -}; -const waitForImportCompleted = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3); -}; -const waitUntilImportCompleted = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3); - return utilWaiter.checkExceptions(result); -}; - -const checkState$2 = async (client, input) => { - let reason; - try { - let result = await client.send(new DescribeKinesisStreamingDestinationCommand(input)); - reason = result; - try { - const returnComparator = () => { - let flat_1 = [].concat(...result.KinesisDataStreamDestinations); - let projection_3 = flat_1.map((element_2) => { - return element_2.DestinationStatus; - }); - return projection_3; - }; - for (let anyStringEq_4 of returnComparator()) { - if (anyStringEq_4 == "ACTIVE") { - return { state: utilWaiter.WaiterState.SUCCESS, reason }; - } - } - } - catch (e) { } - try { - const returnComparator = () => { - let filterRes_2 = result.KinesisDataStreamDestinations.filter((element_1) => { - return (((element_1.DestinationStatus == "DISABLED") || (element_1.DestinationStatus == "ENABLE_FAILED")) && ((element_1.DestinationStatus == "ENABLE_FAILED") || (element_1.DestinationStatus == "DISABLED"))); - }); - return ((result.KinesisDataStreamDestinations.length > 0) && (filterRes_2.length == result.KinesisDataStreamDestinations.length)); - }; - if (returnComparator() == true) { - return { state: utilWaiter.WaiterState.FAILURE, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: utilWaiter.WaiterState.RETRY, reason }; -}; -const waitForKinesisStreamingDestinationActive = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2); -}; -const waitUntilKinesisStreamingDestinationActive = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2); - return utilWaiter.checkExceptions(result); -}; - -const checkState$1 = async (client, input) => { - let reason; - try { - let result = await client.send(new DescribeTableCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.Table.TableStatus; - }; - if (returnComparator() === "ACTIVE") { - return { state: utilWaiter.WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - if (exception.name && exception.name == "ResourceNotFoundException") { - return { state: utilWaiter.WaiterState.RETRY, reason }; - } - } - return { state: utilWaiter.WaiterState.RETRY, reason }; -}; -const waitForTableExists = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1); -}; -const waitUntilTableExists = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1); - return utilWaiter.checkExceptions(result); -}; - -const checkState = async (client, input) => { - let reason; - try { - let result = await client.send(new DescribeTableCommand(input)); - reason = result; - } - catch (exception) { - reason = exception; - if (exception.name && exception.name == "ResourceNotFoundException") { - return { state: utilWaiter.WaiterState.SUCCESS, reason }; - } - } - return { state: utilWaiter.WaiterState.RETRY, reason }; -}; -const waitForTableNotExists = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -const waitUntilTableNotExists = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return utilWaiter.checkExceptions(result); -}; - -const commands = { - BatchExecuteStatementCommand, - BatchGetItemCommand, - BatchWriteItemCommand, - CreateBackupCommand, - CreateGlobalTableCommand, - CreateTableCommand, - DeleteBackupCommand, - DeleteItemCommand, - DeleteResourcePolicyCommand, - DeleteTableCommand, - DescribeBackupCommand, - DescribeContinuousBackupsCommand, - DescribeContributorInsightsCommand, - DescribeEndpointsCommand, - DescribeExportCommand, - DescribeGlobalTableCommand, - DescribeGlobalTableSettingsCommand, - DescribeImportCommand, - DescribeKinesisStreamingDestinationCommand, - DescribeLimitsCommand, - DescribeTableCommand, - DescribeTableReplicaAutoScalingCommand, - DescribeTimeToLiveCommand, - DisableKinesisStreamingDestinationCommand, - EnableKinesisStreamingDestinationCommand, - ExecuteStatementCommand, - ExecuteTransactionCommand, - ExportTableToPointInTimeCommand, - GetItemCommand, - GetResourcePolicyCommand, - ImportTableCommand, - ListBackupsCommand, - ListContributorInsightsCommand, - ListExportsCommand, - ListGlobalTablesCommand, - ListImportsCommand, - ListTablesCommand, - ListTagsOfResourceCommand, - PutItemCommand, - PutResourcePolicyCommand, - QueryCommand, - RestoreTableFromBackupCommand, - RestoreTableToPointInTimeCommand, - ScanCommand, - TagResourceCommand, - TransactGetItemsCommand, - TransactWriteItemsCommand, - UntagResourceCommand, - UpdateContinuousBackupsCommand, - UpdateContributorInsightsCommand, - UpdateGlobalTableCommand, - UpdateGlobalTableSettingsCommand, - UpdateItemCommand, - UpdateKinesisStreamingDestinationCommand, - UpdateTableCommand, - UpdateTableReplicaAutoScalingCommand, - UpdateTimeToLiveCommand, -}; -const paginators = { - paginateListContributorInsights, - paginateListExports, - paginateListImports, - paginateListTables, - paginateQuery, - paginateScan, -}; -const waiters = { - waitUntilContributorInsightsEnabled, - waitUntilExportCompleted, - waitUntilImportCompleted, - waitUntilKinesisStreamingDestinationActive, - waitUntilTableExists, - waitUntilTableNotExists, -}; -class DynamoDB extends DynamoDBClient { -} -smithyClient.createAggregatedClient(commands, DynamoDB, { paginators, waiters }); - -const ApproximateCreationDateTimePrecision = { - MICROSECOND: "MICROSECOND", - MILLISECOND: "MILLISECOND", -}; -const AttributeAction = { - ADD: "ADD", - DELETE: "DELETE", - PUT: "PUT", -}; -const ScalarAttributeType = { - B: "B", - N: "N", - S: "S", -}; -const BackupStatus = { - AVAILABLE: "AVAILABLE", - CREATING: "CREATING", - DELETED: "DELETED", -}; -const BackupType = { - AWS_BACKUP: "AWS_BACKUP", - SYSTEM: "SYSTEM", - USER: "USER", -}; -const BillingMode = { - PAY_PER_REQUEST: "PAY_PER_REQUEST", - PROVISIONED: "PROVISIONED", -}; -const KeyType = { - HASH: "HASH", - RANGE: "RANGE", -}; -const ProjectionType = { - ALL: "ALL", - INCLUDE: "INCLUDE", - KEYS_ONLY: "KEYS_ONLY", -}; -const SSEType = { - AES256: "AES256", - KMS: "KMS", -}; -const SSEStatus = { - DISABLED: "DISABLED", - DISABLING: "DISABLING", - ENABLED: "ENABLED", - ENABLING: "ENABLING", - UPDATING: "UPDATING", -}; -const StreamViewType = { - KEYS_ONLY: "KEYS_ONLY", - NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES", - NEW_IMAGE: "NEW_IMAGE", - OLD_IMAGE: "OLD_IMAGE", -}; -const TimeToLiveStatus = { - DISABLED: "DISABLED", - DISABLING: "DISABLING", - ENABLED: "ENABLED", - ENABLING: "ENABLING", -}; -const BackupTypeFilter = { - ALL: "ALL", - AWS_BACKUP: "AWS_BACKUP", - SYSTEM: "SYSTEM", - USER: "USER", -}; -const ReturnConsumedCapacity = { - INDEXES: "INDEXES", - NONE: "NONE", - TOTAL: "TOTAL", -}; -const ReturnValuesOnConditionCheckFailure = { - ALL_OLD: "ALL_OLD", - NONE: "NONE", -}; -const BatchStatementErrorCodeEnum = { - AccessDenied: "AccessDenied", - ConditionalCheckFailed: "ConditionalCheckFailed", - DuplicateItem: "DuplicateItem", - InternalServerError: "InternalServerError", - ItemCollectionSizeLimitExceeded: "ItemCollectionSizeLimitExceeded", - ProvisionedThroughputExceeded: "ProvisionedThroughputExceeded", - RequestLimitExceeded: "RequestLimitExceeded", - ResourceNotFound: "ResourceNotFound", - ThrottlingError: "ThrottlingError", - TransactionConflict: "TransactionConflict", - ValidationError: "ValidationError", -}; -const ReturnItemCollectionMetrics = { - NONE: "NONE", - SIZE: "SIZE", -}; -const ComparisonOperator = { - BEGINS_WITH: "BEGINS_WITH", - BETWEEN: "BETWEEN", - CONTAINS: "CONTAINS", - EQ: "EQ", - GE: "GE", - GT: "GT", - IN: "IN", - LE: "LE", - LT: "LT", - NE: "NE", - NOT_CONTAINS: "NOT_CONTAINS", - NOT_NULL: "NOT_NULL", - NULL: "NULL", -}; -const ConditionalOperator = { - AND: "AND", - OR: "OR", -}; -const ContinuousBackupsStatus = { - DISABLED: "DISABLED", - ENABLED: "ENABLED", -}; -const PointInTimeRecoveryStatus = { - DISABLED: "DISABLED", - ENABLED: "ENABLED", -}; -const ContributorInsightsAction = { - DISABLE: "DISABLE", - ENABLE: "ENABLE", -}; -const ContributorInsightsMode = { - ACCESSED_AND_THROTTLED_KEYS: "ACCESSED_AND_THROTTLED_KEYS", - THROTTLED_KEYS: "THROTTLED_KEYS", -}; -const ContributorInsightsStatus = { - DISABLED: "DISABLED", - DISABLING: "DISABLING", - ENABLED: "ENABLED", - ENABLING: "ENABLING", - FAILED: "FAILED", -}; -const GlobalTableStatus = { - ACTIVE: "ACTIVE", - CREATING: "CREATING", - DELETING: "DELETING", - UPDATING: "UPDATING", -}; -const IndexStatus = { - ACTIVE: "ACTIVE", - CREATING: "CREATING", - DELETING: "DELETING", - UPDATING: "UPDATING", -}; -const GlobalTableSettingsReplicationMode = { - DISABLED: "DISABLED", - ENABLED: "ENABLED", - ENABLED_WITH_OVERRIDES: "ENABLED_WITH_OVERRIDES", -}; -const ReplicaStatus = { - ACTIVE: "ACTIVE", - ARCHIVED: "ARCHIVED", - ARCHIVING: "ARCHIVING", - CREATING: "CREATING", - CREATION_FAILED: "CREATION_FAILED", - DELETING: "DELETING", - INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS", - REGION_DISABLED: "REGION_DISABLED", - REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED", - UPDATING: "UPDATING", -}; -const TableClass = { - STANDARD: "STANDARD", - STANDARD_INFREQUENT_ACCESS: "STANDARD_INFREQUENT_ACCESS", -}; -const TableStatus = { - ACTIVE: "ACTIVE", - ARCHIVED: "ARCHIVED", - ARCHIVING: "ARCHIVING", - CREATING: "CREATING", - DELETING: "DELETING", - INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS", - REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED", - UPDATING: "UPDATING", -}; -const WitnessStatus = { - ACTIVE: "ACTIVE", - CREATING: "CREATING", - DELETING: "DELETING", -}; -const MultiRegionConsistency = { - EVENTUAL: "EVENTUAL", - STRONG: "STRONG", -}; -const ReturnValue = { - ALL_NEW: "ALL_NEW", - ALL_OLD: "ALL_OLD", - NONE: "NONE", - UPDATED_NEW: "UPDATED_NEW", - UPDATED_OLD: "UPDATED_OLD", -}; -const ExportFormat = { - DYNAMODB_JSON: "DYNAMODB_JSON", - ION: "ION", -}; -const ExportStatus = { - COMPLETED: "COMPLETED", - FAILED: "FAILED", - IN_PROGRESS: "IN_PROGRESS", -}; -const ExportType = { - FULL_EXPORT: "FULL_EXPORT", - INCREMENTAL_EXPORT: "INCREMENTAL_EXPORT", -}; -const ExportViewType = { - NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES", - NEW_IMAGE: "NEW_IMAGE", -}; -const S3SseAlgorithm = { - AES256: "AES256", - KMS: "KMS", -}; -const ImportStatus = { - CANCELLED: "CANCELLED", - CANCELLING: "CANCELLING", - COMPLETED: "COMPLETED", - FAILED: "FAILED", - IN_PROGRESS: "IN_PROGRESS", -}; -const InputCompressionType = { - GZIP: "GZIP", - NONE: "NONE", - ZSTD: "ZSTD", -}; -const InputFormat = { - CSV: "CSV", - DYNAMODB_JSON: "DYNAMODB_JSON", - ION: "ION", -}; -const DestinationStatus = { - ACTIVE: "ACTIVE", - DISABLED: "DISABLED", - DISABLING: "DISABLING", - ENABLE_FAILED: "ENABLE_FAILED", - ENABLING: "ENABLING", - UPDATING: "UPDATING", -}; -const Select = { - ALL_ATTRIBUTES: "ALL_ATTRIBUTES", - ALL_PROJECTED_ATTRIBUTES: "ALL_PROJECTED_ATTRIBUTES", - COUNT: "COUNT", - SPECIFIC_ATTRIBUTES: "SPECIFIC_ATTRIBUTES", -}; - -exports.$Command = smithyClient.Command; -exports.__Client = smithyClient.Client; -exports.DynamoDBServiceException = DynamoDBServiceException.DynamoDBServiceException; -exports.ApproximateCreationDateTimePrecision = ApproximateCreationDateTimePrecision; -exports.AttributeAction = AttributeAction; -exports.BackupStatus = BackupStatus; -exports.BackupType = BackupType; -exports.BackupTypeFilter = BackupTypeFilter; -exports.BatchExecuteStatementCommand = BatchExecuteStatementCommand; -exports.BatchGetItemCommand = BatchGetItemCommand; -exports.BatchStatementErrorCodeEnum = BatchStatementErrorCodeEnum; -exports.BatchWriteItemCommand = BatchWriteItemCommand; -exports.BillingMode = BillingMode; -exports.ComparisonOperator = ComparisonOperator; -exports.ConditionalOperator = ConditionalOperator; -exports.ContinuousBackupsStatus = ContinuousBackupsStatus; -exports.ContributorInsightsAction = ContributorInsightsAction; -exports.ContributorInsightsMode = ContributorInsightsMode; -exports.ContributorInsightsStatus = ContributorInsightsStatus; -exports.CreateBackupCommand = CreateBackupCommand; -exports.CreateGlobalTableCommand = CreateGlobalTableCommand; -exports.CreateTableCommand = CreateTableCommand; -exports.DeleteBackupCommand = DeleteBackupCommand; -exports.DeleteItemCommand = DeleteItemCommand; -exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand; -exports.DeleteTableCommand = DeleteTableCommand; -exports.DescribeBackupCommand = DescribeBackupCommand; -exports.DescribeContinuousBackupsCommand = DescribeContinuousBackupsCommand; -exports.DescribeContributorInsightsCommand = DescribeContributorInsightsCommand; -exports.DescribeEndpointsCommand = DescribeEndpointsCommand; -exports.DescribeExportCommand = DescribeExportCommand; -exports.DescribeGlobalTableCommand = DescribeGlobalTableCommand; -exports.DescribeGlobalTableSettingsCommand = DescribeGlobalTableSettingsCommand; -exports.DescribeImportCommand = DescribeImportCommand; -exports.DescribeKinesisStreamingDestinationCommand = DescribeKinesisStreamingDestinationCommand; -exports.DescribeLimitsCommand = DescribeLimitsCommand; -exports.DescribeTableCommand = DescribeTableCommand; -exports.DescribeTableReplicaAutoScalingCommand = DescribeTableReplicaAutoScalingCommand; -exports.DescribeTimeToLiveCommand = DescribeTimeToLiveCommand; -exports.DestinationStatus = DestinationStatus; -exports.DisableKinesisStreamingDestinationCommand = DisableKinesisStreamingDestinationCommand; -exports.DynamoDB = DynamoDB; -exports.DynamoDBClient = DynamoDBClient; -exports.EnableKinesisStreamingDestinationCommand = EnableKinesisStreamingDestinationCommand; -exports.ExecuteStatementCommand = ExecuteStatementCommand; -exports.ExecuteTransactionCommand = ExecuteTransactionCommand; -exports.ExportFormat = ExportFormat; -exports.ExportStatus = ExportStatus; -exports.ExportTableToPointInTimeCommand = ExportTableToPointInTimeCommand; -exports.ExportType = ExportType; -exports.ExportViewType = ExportViewType; -exports.GetItemCommand = GetItemCommand; -exports.GetResourcePolicyCommand = GetResourcePolicyCommand; -exports.GlobalTableSettingsReplicationMode = GlobalTableSettingsReplicationMode; -exports.GlobalTableStatus = GlobalTableStatus; -exports.ImportStatus = ImportStatus; -exports.ImportTableCommand = ImportTableCommand; -exports.IndexStatus = IndexStatus; -exports.InputCompressionType = InputCompressionType; -exports.InputFormat = InputFormat; -exports.KeyType = KeyType; -exports.ListBackupsCommand = ListBackupsCommand; -exports.ListContributorInsightsCommand = ListContributorInsightsCommand; -exports.ListExportsCommand = ListExportsCommand; -exports.ListGlobalTablesCommand = ListGlobalTablesCommand; -exports.ListImportsCommand = ListImportsCommand; -exports.ListTablesCommand = ListTablesCommand; -exports.ListTagsOfResourceCommand = ListTagsOfResourceCommand; -exports.MultiRegionConsistency = MultiRegionConsistency; -exports.PointInTimeRecoveryStatus = PointInTimeRecoveryStatus; -exports.ProjectionType = ProjectionType; -exports.PutItemCommand = PutItemCommand; -exports.PutResourcePolicyCommand = PutResourcePolicyCommand; -exports.QueryCommand = QueryCommand; -exports.ReplicaStatus = ReplicaStatus; -exports.RestoreTableFromBackupCommand = RestoreTableFromBackupCommand; -exports.RestoreTableToPointInTimeCommand = RestoreTableToPointInTimeCommand; -exports.ReturnConsumedCapacity = ReturnConsumedCapacity; -exports.ReturnItemCollectionMetrics = ReturnItemCollectionMetrics; -exports.ReturnValue = ReturnValue; -exports.ReturnValuesOnConditionCheckFailure = ReturnValuesOnConditionCheckFailure; -exports.S3SseAlgorithm = S3SseAlgorithm; -exports.SSEStatus = SSEStatus; -exports.SSEType = SSEType; -exports.ScalarAttributeType = ScalarAttributeType; -exports.ScanCommand = ScanCommand; -exports.Select = Select; -exports.StreamViewType = StreamViewType; -exports.TableClass = TableClass; -exports.TableStatus = TableStatus; -exports.TagResourceCommand = TagResourceCommand; -exports.TimeToLiveStatus = TimeToLiveStatus; -exports.TransactGetItemsCommand = TransactGetItemsCommand; -exports.TransactWriteItemsCommand = TransactWriteItemsCommand; -exports.UntagResourceCommand = UntagResourceCommand; -exports.UpdateContinuousBackupsCommand = UpdateContinuousBackupsCommand; -exports.UpdateContributorInsightsCommand = UpdateContributorInsightsCommand; -exports.UpdateGlobalTableCommand = UpdateGlobalTableCommand; -exports.UpdateGlobalTableSettingsCommand = UpdateGlobalTableSettingsCommand; -exports.UpdateItemCommand = UpdateItemCommand; -exports.UpdateKinesisStreamingDestinationCommand = UpdateKinesisStreamingDestinationCommand; -exports.UpdateTableCommand = UpdateTableCommand; -exports.UpdateTableReplicaAutoScalingCommand = UpdateTableReplicaAutoScalingCommand; -exports.UpdateTimeToLiveCommand = UpdateTimeToLiveCommand; -exports.WitnessStatus = WitnessStatus; -exports.paginateListContributorInsights = paginateListContributorInsights; -exports.paginateListExports = paginateListExports; -exports.paginateListImports = paginateListImports; -exports.paginateListTables = paginateListTables; -exports.paginateQuery = paginateQuery; -exports.paginateScan = paginateScan; -exports.waitForContributorInsightsEnabled = waitForContributorInsightsEnabled; -exports.waitForExportCompleted = waitForExportCompleted; -exports.waitForImportCompleted = waitForImportCompleted; -exports.waitForKinesisStreamingDestinationActive = waitForKinesisStreamingDestinationActive; -exports.waitForTableExists = waitForTableExists; -exports.waitForTableNotExists = waitForTableNotExists; -exports.waitUntilContributorInsightsEnabled = waitUntilContributorInsightsEnabled; -exports.waitUntilExportCompleted = waitUntilExportCompleted; -exports.waitUntilImportCompleted = waitUntilImportCompleted; -exports.waitUntilKinesisStreamingDestinationActive = waitUntilKinesisStreamingDestinationActive; -exports.waitUntilTableExists = waitUntilTableExists; -exports.waitUntilTableNotExists = waitUntilTableNotExists; -Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && - !Object.prototype.hasOwnProperty.call(exports, '__proto__') && - Object.defineProperty(exports, '__proto__', { - enumerable: true, - value: schemas_0['__proto__'] - }); - -Object.keys(schemas_0).forEach(function (k) { - if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k]; -}); -Object.prototype.hasOwnProperty.call(errors, '__proto__') && - !Object.prototype.hasOwnProperty.call(exports, '__proto__') && - Object.defineProperty(exports, '__proto__', { - enumerable: true, - value: errors['__proto__'] - }); - -Object.keys(errors).forEach(function (k) { - if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k]; -}); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/models/DynamoDBServiceException.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/models/DynamoDBServiceException.js deleted file mode 100644 index a7c3cfcd..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/models/DynamoDBServiceException.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DynamoDBServiceException = exports.__ServiceException = void 0; -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } }); -class DynamoDBServiceException extends smithy_client_1.ServiceException { - constructor(options) { - super(options); - Object.setPrototypeOf(this, DynamoDBServiceException.prototype); - } -} -exports.DynamoDBServiceException = DynamoDBServiceException; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/models/errors.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/models/errors.js deleted file mode 100644 index 3c60820c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/models/errors.js +++ /dev/null @@ -1,478 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.TransactionCanceledException = exports.ConditionalCheckFailedException = exports.IndexNotFoundException = exports.ReplicaNotFoundException = exports.ReplicaAlreadyExistsException = exports.InvalidRestoreTimeException = exports.TableAlreadyExistsException = exports.ImportConflictException = exports.PointInTimeRecoveryUnavailableException = exports.InvalidExportTimeException = exports.ExportConflictException = exports.TransactionInProgressException = exports.IdempotentParameterMismatchException = exports.DuplicateItemException = exports.ImportNotFoundException = exports.GlobalTableNotFoundException = exports.ExportNotFoundException = exports.PolicyNotFoundException = exports.TransactionConflictException = exports.ResourceInUseException = exports.GlobalTableAlreadyExistsException = exports.TableNotFoundException = exports.TableInUseException = exports.LimitExceededException = exports.ContinuousBackupsUnavailableException = exports.ReplicatedWriteConflictException = exports.ItemCollectionSizeLimitExceededException = exports.ResourceNotFoundException = exports.ProvisionedThroughputExceededException = exports.InvalidEndpointException = exports.ThrottlingException = exports.RequestLimitExceeded = exports.InternalServerError = exports.BackupNotFoundException = exports.BackupInUseException = void 0; -const DynamoDBServiceException_1 = require("./DynamoDBServiceException"); -class BackupInUseException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "BackupInUseException"; - $fault = "client"; - constructor(opts) { - super({ - name: "BackupInUseException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, BackupInUseException.prototype); - } -} -exports.BackupInUseException = BackupInUseException; -class BackupNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "BackupNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "BackupNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, BackupNotFoundException.prototype); - } -} -exports.BackupNotFoundException = BackupNotFoundException; -class InternalServerError extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "InternalServerError"; - $fault = "server"; - constructor(opts) { - super({ - name: "InternalServerError", - $fault: "server", - ...opts, - }); - Object.setPrototypeOf(this, InternalServerError.prototype); - } -} -exports.InternalServerError = InternalServerError; -class RequestLimitExceeded extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "RequestLimitExceeded"; - $fault = "client"; - ThrottlingReasons; - constructor(opts) { - super({ - name: "RequestLimitExceeded", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, RequestLimitExceeded.prototype); - this.ThrottlingReasons = opts.ThrottlingReasons; - } -} -exports.RequestLimitExceeded = RequestLimitExceeded; -class ThrottlingException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "ThrottlingException"; - $fault = "client"; - throttlingReasons; - constructor(opts) { - super({ - name: "ThrottlingException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ThrottlingException.prototype); - this.throttlingReasons = opts.throttlingReasons; - } -} -exports.ThrottlingException = ThrottlingException; -class InvalidEndpointException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "InvalidEndpointException"; - $fault = "client"; - Message; - constructor(opts) { - super({ - name: "InvalidEndpointException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, InvalidEndpointException.prototype); - this.Message = opts.Message; - } -} -exports.InvalidEndpointException = InvalidEndpointException; -class ProvisionedThroughputExceededException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "ProvisionedThroughputExceededException"; - $fault = "client"; - ThrottlingReasons; - constructor(opts) { - super({ - name: "ProvisionedThroughputExceededException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype); - this.ThrottlingReasons = opts.ThrottlingReasons; - } -} -exports.ProvisionedThroughputExceededException = ProvisionedThroughputExceededException; -class ResourceNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "ResourceNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ResourceNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ResourceNotFoundException.prototype); - } -} -exports.ResourceNotFoundException = ResourceNotFoundException; -class ItemCollectionSizeLimitExceededException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "ItemCollectionSizeLimitExceededException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ItemCollectionSizeLimitExceededException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ItemCollectionSizeLimitExceededException.prototype); - } -} -exports.ItemCollectionSizeLimitExceededException = ItemCollectionSizeLimitExceededException; -class ReplicatedWriteConflictException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "ReplicatedWriteConflictException"; - $fault = "client"; - $retryable = {}; - constructor(opts) { - super({ - name: "ReplicatedWriteConflictException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ReplicatedWriteConflictException.prototype); - } -} -exports.ReplicatedWriteConflictException = ReplicatedWriteConflictException; -class ContinuousBackupsUnavailableException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "ContinuousBackupsUnavailableException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ContinuousBackupsUnavailableException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ContinuousBackupsUnavailableException.prototype); - } -} -exports.ContinuousBackupsUnavailableException = ContinuousBackupsUnavailableException; -class LimitExceededException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "LimitExceededException"; - $fault = "client"; - constructor(opts) { - super({ - name: "LimitExceededException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, LimitExceededException.prototype); - } -} -exports.LimitExceededException = LimitExceededException; -class TableInUseException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "TableInUseException"; - $fault = "client"; - constructor(opts) { - super({ - name: "TableInUseException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, TableInUseException.prototype); - } -} -exports.TableInUseException = TableInUseException; -class TableNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "TableNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "TableNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, TableNotFoundException.prototype); - } -} -exports.TableNotFoundException = TableNotFoundException; -class GlobalTableAlreadyExistsException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "GlobalTableAlreadyExistsException"; - $fault = "client"; - constructor(opts) { - super({ - name: "GlobalTableAlreadyExistsException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, GlobalTableAlreadyExistsException.prototype); - } -} -exports.GlobalTableAlreadyExistsException = GlobalTableAlreadyExistsException; -class ResourceInUseException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "ResourceInUseException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ResourceInUseException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ResourceInUseException.prototype); - } -} -exports.ResourceInUseException = ResourceInUseException; -class TransactionConflictException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "TransactionConflictException"; - $fault = "client"; - constructor(opts) { - super({ - name: "TransactionConflictException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, TransactionConflictException.prototype); - } -} -exports.TransactionConflictException = TransactionConflictException; -class PolicyNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "PolicyNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "PolicyNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, PolicyNotFoundException.prototype); - } -} -exports.PolicyNotFoundException = PolicyNotFoundException; -class ExportNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "ExportNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ExportNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ExportNotFoundException.prototype); - } -} -exports.ExportNotFoundException = ExportNotFoundException; -class GlobalTableNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "GlobalTableNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "GlobalTableNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, GlobalTableNotFoundException.prototype); - } -} -exports.GlobalTableNotFoundException = GlobalTableNotFoundException; -class ImportNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "ImportNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ImportNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ImportNotFoundException.prototype); - } -} -exports.ImportNotFoundException = ImportNotFoundException; -class DuplicateItemException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "DuplicateItemException"; - $fault = "client"; - constructor(opts) { - super({ - name: "DuplicateItemException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, DuplicateItemException.prototype); - } -} -exports.DuplicateItemException = DuplicateItemException; -class IdempotentParameterMismatchException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "IdempotentParameterMismatchException"; - $fault = "client"; - Message; - constructor(opts) { - super({ - name: "IdempotentParameterMismatchException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype); - this.Message = opts.Message; - } -} -exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException; -class TransactionInProgressException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "TransactionInProgressException"; - $fault = "client"; - Message; - constructor(opts) { - super({ - name: "TransactionInProgressException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, TransactionInProgressException.prototype); - this.Message = opts.Message; - } -} -exports.TransactionInProgressException = TransactionInProgressException; -class ExportConflictException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "ExportConflictException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ExportConflictException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ExportConflictException.prototype); - } -} -exports.ExportConflictException = ExportConflictException; -class InvalidExportTimeException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "InvalidExportTimeException"; - $fault = "client"; - constructor(opts) { - super({ - name: "InvalidExportTimeException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, InvalidExportTimeException.prototype); - } -} -exports.InvalidExportTimeException = InvalidExportTimeException; -class PointInTimeRecoveryUnavailableException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "PointInTimeRecoveryUnavailableException"; - $fault = "client"; - constructor(opts) { - super({ - name: "PointInTimeRecoveryUnavailableException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, PointInTimeRecoveryUnavailableException.prototype); - } -} -exports.PointInTimeRecoveryUnavailableException = PointInTimeRecoveryUnavailableException; -class ImportConflictException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "ImportConflictException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ImportConflictException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ImportConflictException.prototype); - } -} -exports.ImportConflictException = ImportConflictException; -class TableAlreadyExistsException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "TableAlreadyExistsException"; - $fault = "client"; - constructor(opts) { - super({ - name: "TableAlreadyExistsException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, TableAlreadyExistsException.prototype); - } -} -exports.TableAlreadyExistsException = TableAlreadyExistsException; -class InvalidRestoreTimeException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "InvalidRestoreTimeException"; - $fault = "client"; - constructor(opts) { - super({ - name: "InvalidRestoreTimeException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, InvalidRestoreTimeException.prototype); - } -} -exports.InvalidRestoreTimeException = InvalidRestoreTimeException; -class ReplicaAlreadyExistsException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "ReplicaAlreadyExistsException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ReplicaAlreadyExistsException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ReplicaAlreadyExistsException.prototype); - } -} -exports.ReplicaAlreadyExistsException = ReplicaAlreadyExistsException; -class ReplicaNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "ReplicaNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ReplicaNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ReplicaNotFoundException.prototype); - } -} -exports.ReplicaNotFoundException = ReplicaNotFoundException; -class IndexNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "IndexNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "IndexNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, IndexNotFoundException.prototype); - } -} -exports.IndexNotFoundException = IndexNotFoundException; -class ConditionalCheckFailedException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "ConditionalCheckFailedException"; - $fault = "client"; - Item; - constructor(opts) { - super({ - name: "ConditionalCheckFailedException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype); - this.Item = opts.Item; - } -} -exports.ConditionalCheckFailedException = ConditionalCheckFailedException; -class TransactionCanceledException extends DynamoDBServiceException_1.DynamoDBServiceException { - name = "TransactionCanceledException"; - $fault = "client"; - Message; - CancellationReasons; - constructor(opts) { - super({ - name: "TransactionCanceledException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, TransactionCanceledException.prototype); - this.Message = opts.Message; - this.CancellationReasons = opts.CancellationReasons; - } -} -exports.TransactionCanceledException = TransactionCanceledException; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.browser.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.browser.js deleted file mode 100644 index d3475426..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.browser.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getRuntimeConfig = void 0; -const tslib_1 = require("tslib"); -const package_json_1 = tslib_1.__importDefault(require("../package.json")); -const sha256_browser_1 = require("@aws-crypto/sha256-browser"); -const account_id_endpoint_1 = require("@aws-sdk/core/account-id-endpoint"); -const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser"); -const config_resolver_1 = require("@smithy/config-resolver"); -const fetch_http_handler_1 = require("@smithy/fetch-http-handler"); -const invalid_dependency_1 = require("@smithy/invalid-dependency"); -const smithy_client_1 = require("@smithy/smithy-client"); -const util_body_length_browser_1 = require("@smithy/util-body-length-browser"); -const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser"); -const util_retry_1 = require("@smithy/util-retry"); -const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); -const getRuntimeConfig = (config) => { - const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config); - const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); - const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); - return { - ...clientSharedValues, - ...config, - runtime: "browser", - defaultsMode, - accountIdEndpointMode: config?.accountIdEndpointMode ?? (() => Promise.resolve(account_id_endpoint_1.DEFAULT_ACCOUNT_ID_ENDPOINT_MODE)), - bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength, - credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))), - defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), - endpointDiscoveryEnabledProvider: config?.endpointDiscoveryEnabledProvider ?? (() => Promise.resolve(undefined)), - maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS, - region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"), - requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), - retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE), - sha256: config?.sha256 ?? sha256_browser_1.Sha256, - streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)), - useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)), - }; -}; -exports.getRuntimeConfig = getRuntimeConfig; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.js deleted file mode 100644 index 2ab65e63..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.js +++ /dev/null @@ -1,57 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getRuntimeConfig = void 0; -const tslib_1 = require("tslib"); -const package_json_1 = tslib_1.__importDefault(require("../package.json")); -const core_1 = require("@aws-sdk/core"); -const account_id_endpoint_1 = require("@aws-sdk/core/account-id-endpoint"); -const credential_provider_node_1 = require("@aws-sdk/credential-provider-node"); -const middleware_endpoint_discovery_1 = require("@aws-sdk/middleware-endpoint-discovery"); -const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node"); -const config_resolver_1 = require("@smithy/config-resolver"); -const hash_node_1 = require("@smithy/hash-node"); -const middleware_retry_1 = require("@smithy/middleware-retry"); -const node_config_provider_1 = require("@smithy/node-config-provider"); -const node_http_handler_1 = require("@smithy/node-http-handler"); -const smithy_client_1 = require("@smithy/smithy-client"); -const util_body_length_node_1 = require("@smithy/util-body-length-node"); -const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node"); -const util_retry_1 = require("@smithy/util-retry"); -const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); -const getRuntimeConfig = (config) => { - (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version); - const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); - const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); - const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); - (0, core_1.emitWarningIfUnsupportedVersion)(process.version); - const loaderConfig = { - profile: config?.profile, - logger: clientSharedValues.logger, - }; - return { - ...clientSharedValues, - ...config, - runtime: "node", - defaultsMode, - accountIdEndpointMode: config?.accountIdEndpointMode ?? (0, node_config_provider_1.loadConfig)(account_id_endpoint_1.NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS, loaderConfig), - authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), - bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, - credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider, - defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), - endpointDiscoveryEnabledProvider: config?.endpointDiscoveryEnabledProvider ?? (0, node_config_provider_1.loadConfig)(middleware_endpoint_discovery_1.NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS, loaderConfig), - maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), - region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), - requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), - retryMode: config?.retryMode ?? - (0, node_config_provider_1.loadConfig)({ - ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, - default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE, - }, config), - sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), - streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), - useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), - userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), - }; -}; -exports.getRuntimeConfig = getRuntimeConfig; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.native.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.native.js deleted file mode 100644 index 34c5f8ec..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.native.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getRuntimeConfig = void 0; -const sha256_js_1 = require("@aws-crypto/sha256-js"); -const runtimeConfig_browser_1 = require("./runtimeConfig.browser"); -const getRuntimeConfig = (config) => { - const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config); - return { - ...browserDefaults, - ...config, - runtime: "react-native", - sha256: config?.sha256 ?? sha256_js_1.Sha256, - }; -}; -exports.getRuntimeConfig = getRuntimeConfig; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.shared.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.shared.js deleted file mode 100644 index 3cf80c6e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.shared.js +++ /dev/null @@ -1,46 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getRuntimeConfig = void 0; -const core_1 = require("@aws-sdk/core"); -const protocols_1 = require("@aws-sdk/core/protocols"); -const dynamodb_codec_1 = require("@aws-sdk/dynamodb-codec"); -const smithy_client_1 = require("@smithy/smithy-client"); -const url_parser_1 = require("@smithy/url-parser"); -const util_base64_1 = require("@smithy/util-base64"); -const util_utf8_1 = require("@smithy/util-utf8"); -const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider"); -const endpointResolver_1 = require("./endpoint/endpointResolver"); -const schemas_0_1 = require("./schemas/schemas_0"); -const getRuntimeConfig = (config) => { - return { - apiVersion: "2012-08-10", - base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, - base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, - disableHostPrefix: config?.disableHostPrefix ?? false, - endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, - extensions: config?.extensions ?? [], - httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultDynamoDBHttpAuthSchemeProvider, - httpAuthSchemes: config?.httpAuthSchemes ?? [ - { - schemeId: "aws.auth#sigv4", - identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), - signer: new core_1.AwsSdkSigV4Signer(), - }, - ], - logger: config?.logger ?? new smithy_client_1.NoOpLogger(), - protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol, - protocolSettings: config?.protocolSettings ?? { - defaultNamespace: "com.amazonaws.dynamodb", - errorTypeRegistries: schemas_0_1.errorTypeRegistries, - xmlNamespace: "http://dynamodb.amazonaws.com/doc/2012-08-10/", - version: "2012-08-10", - serviceTarget: "DynamoDB_20120810", - jsonCodec: new dynamodb_codec_1.DynamoDBJsonCodec(), - }, - serviceId: config?.serviceId ?? "DynamoDB", - urlParser: config?.urlParser ?? url_parser_1.parseUrl, - utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, - utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, - }; -}; -exports.getRuntimeConfig = getRuntimeConfig; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/schemas/schemas_0.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/schemas/schemas_0.js deleted file mode 100644 index 0ed12e82..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-cjs/schemas/schemas_0.js +++ /dev/null @@ -1,2391 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.BatchExecuteStatementInput$ = exports.BackupSummary$ = exports.BackupDetails$ = exports.BackupDescription$ = exports.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate$ = exports.AutoScalingTargetTrackingScalingPolicyConfigurationDescription$ = exports.AutoScalingSettingsUpdate$ = exports.AutoScalingSettingsDescription$ = exports.AutoScalingPolicyUpdate$ = exports.AutoScalingPolicyDescription$ = exports.AttributeValueUpdate$ = exports.AttributeDefinition$ = exports.ArchivalSummary$ = exports.errorTypeRegistries = exports.TransactionInProgressException$ = exports.TransactionConflictException$ = exports.TransactionCanceledException$ = exports.ThrottlingException$ = exports.TableNotFoundException$ = exports.TableInUseException$ = exports.TableAlreadyExistsException$ = exports.ResourceNotFoundException$ = exports.ResourceInUseException$ = exports.RequestLimitExceeded$ = exports.ReplicatedWriteConflictException$ = exports.ReplicaNotFoundException$ = exports.ReplicaAlreadyExistsException$ = exports.ProvisionedThroughputExceededException$ = exports.PolicyNotFoundException$ = exports.PointInTimeRecoveryUnavailableException$ = exports.LimitExceededException$ = exports.ItemCollectionSizeLimitExceededException$ = exports.InvalidRestoreTimeException$ = exports.InvalidExportTimeException$ = exports.InvalidEndpointException$ = exports.InternalServerError$ = exports.IndexNotFoundException$ = exports.ImportNotFoundException$ = exports.ImportConflictException$ = exports.IdempotentParameterMismatchException$ = exports.GlobalTableNotFoundException$ = exports.GlobalTableAlreadyExistsException$ = exports.ExportNotFoundException$ = exports.ExportConflictException$ = exports.DuplicateItemException$ = exports.ContinuousBackupsUnavailableException$ = exports.ConditionalCheckFailedException$ = exports.BackupNotFoundException$ = exports.BackupInUseException$ = exports.DynamoDBServiceException$ = void 0; -exports.DescribeExportInput$ = exports.DescribeEndpointsResponse$ = exports.DescribeEndpointsRequest$ = exports.DescribeContributorInsightsOutput$ = exports.DescribeContributorInsightsInput$ = exports.DescribeContinuousBackupsOutput$ = exports.DescribeContinuousBackupsInput$ = exports.DescribeBackupOutput$ = exports.DescribeBackupInput$ = exports.DeleteTableOutput$ = exports.DeleteTableInput$ = exports.DeleteResourcePolicyOutput$ = exports.DeleteResourcePolicyInput$ = exports.DeleteRequest$ = exports.DeleteReplicationGroupMemberAction$ = exports.DeleteReplicaAction$ = exports.DeleteItemOutput$ = exports.DeleteItemInput$ = exports.DeleteGlobalTableWitnessGroupMemberAction$ = exports.DeleteGlobalSecondaryIndexAction$ = exports.DeleteBackupOutput$ = exports.DeleteBackupInput$ = exports.Delete$ = exports.CsvOptions$ = exports.CreateTableOutput$ = exports.CreateTableInput$ = exports.CreateReplicationGroupMemberAction$ = exports.CreateReplicaAction$ = exports.CreateGlobalTableWitnessGroupMemberAction$ = exports.CreateGlobalTableOutput$ = exports.CreateGlobalTableInput$ = exports.CreateGlobalSecondaryIndexAction$ = exports.CreateBackupOutput$ = exports.CreateBackupInput$ = exports.ContributorInsightsSummary$ = exports.ContinuousBackupsDescription$ = exports.ConsumedCapacity$ = exports.ConditionCheck$ = exports.Condition$ = exports.Capacity$ = exports.CancellationReason$ = exports.BillingModeSummary$ = exports.BatchWriteItemOutput$ = exports.BatchWriteItemInput$ = exports.BatchStatementResponse$ = exports.BatchStatementRequest$ = exports.BatchStatementError$ = exports.BatchGetItemOutput$ = exports.BatchGetItemInput$ = exports.BatchExecuteStatementOutput$ = void 0; -exports.IncrementalExportSpecification$ = exports.ImportTableOutput$ = exports.ImportTableInput$ = exports.ImportTableDescription$ = exports.ImportSummary$ = exports.GlobalTableWitnessGroupUpdate$ = exports.GlobalTableWitnessDescription$ = exports.GlobalTableGlobalSecondaryIndexSettingsUpdate$ = exports.GlobalTableDescription$ = exports.GlobalTable$ = exports.GlobalSecondaryIndexWarmThroughputDescription$ = exports.GlobalSecondaryIndexUpdate$ = exports.GlobalSecondaryIndexInfo$ = exports.GlobalSecondaryIndexDescription$ = exports.GlobalSecondaryIndexAutoScalingUpdate$ = exports.GlobalSecondaryIndex$ = exports.GetResourcePolicyOutput$ = exports.GetResourcePolicyInput$ = exports.GetItemOutput$ = exports.GetItemInput$ = exports.Get$ = exports.FailureException$ = exports.ExportTableToPointInTimeOutput$ = exports.ExportTableToPointInTimeInput$ = exports.ExportSummary$ = exports.ExportDescription$ = exports.ExpectedAttributeValue$ = exports.ExecuteTransactionOutput$ = exports.ExecuteTransactionInput$ = exports.ExecuteStatementOutput$ = exports.ExecuteStatementInput$ = exports.Endpoint$ = exports.EnableKinesisStreamingConfiguration$ = exports.DescribeTimeToLiveOutput$ = exports.DescribeTimeToLiveInput$ = exports.DescribeTableReplicaAutoScalingOutput$ = exports.DescribeTableReplicaAutoScalingInput$ = exports.DescribeTableOutput$ = exports.DescribeTableInput$ = exports.DescribeLimitsOutput$ = exports.DescribeLimitsInput$ = exports.DescribeKinesisStreamingDestinationOutput$ = exports.DescribeKinesisStreamingDestinationInput$ = exports.DescribeImportOutput$ = exports.DescribeImportInput$ = exports.DescribeGlobalTableSettingsOutput$ = exports.DescribeGlobalTableSettingsInput$ = exports.DescribeGlobalTableOutput$ = exports.DescribeGlobalTableInput$ = exports.DescribeExportOutput$ = void 0; -exports.ReplicaGlobalSecondaryIndexDescription$ = exports.ReplicaGlobalSecondaryIndexAutoScalingUpdate$ = exports.ReplicaGlobalSecondaryIndexAutoScalingDescription$ = exports.ReplicaGlobalSecondaryIndex$ = exports.ReplicaDescription$ = exports.ReplicaAutoScalingUpdate$ = exports.ReplicaAutoScalingDescription$ = exports.Replica$ = exports.QueryOutput$ = exports.QueryInput$ = exports.PutResourcePolicyOutput$ = exports.PutResourcePolicyInput$ = exports.PutRequest$ = exports.PutItemOutput$ = exports.PutItemInput$ = exports.Put$ = exports.ProvisionedThroughputOverride$ = exports.ProvisionedThroughputDescription$ = exports.ProvisionedThroughput$ = exports.Projection$ = exports.PointInTimeRecoverySpecification$ = exports.PointInTimeRecoveryDescription$ = exports.ParameterizedStatement$ = exports.OnDemandThroughputOverride$ = exports.OnDemandThroughput$ = exports.LocalSecondaryIndexInfo$ = exports.LocalSecondaryIndexDescription$ = exports.LocalSecondaryIndex$ = exports.ListTagsOfResourceOutput$ = exports.ListTagsOfResourceInput$ = exports.ListTablesOutput$ = exports.ListTablesInput$ = exports.ListImportsOutput$ = exports.ListImportsInput$ = exports.ListGlobalTablesOutput$ = exports.ListGlobalTablesInput$ = exports.ListExportsOutput$ = exports.ListExportsInput$ = exports.ListContributorInsightsOutput$ = exports.ListContributorInsightsInput$ = exports.ListBackupsOutput$ = exports.ListBackupsInput$ = exports.KinesisStreamingDestinationOutput$ = exports.KinesisStreamingDestinationInput$ = exports.KinesisDataStreamDestination$ = exports.KeySchemaElement$ = exports.KeysAndAttributes$ = exports.ItemResponse$ = exports.ItemCollectionMetrics$ = exports.InputFormatOptions$ = void 0; -exports.UpdateKinesisStreamingDestinationInput$ = exports.UpdateKinesisStreamingConfiguration$ = exports.UpdateItemOutput$ = exports.UpdateItemInput$ = exports.UpdateGlobalTableSettingsOutput$ = exports.UpdateGlobalTableSettingsInput$ = exports.UpdateGlobalTableOutput$ = exports.UpdateGlobalTableInput$ = exports.UpdateGlobalSecondaryIndexAction$ = exports.UpdateContributorInsightsOutput$ = exports.UpdateContributorInsightsInput$ = exports.UpdateContinuousBackupsOutput$ = exports.UpdateContinuousBackupsInput$ = exports.Update$ = exports.UntagResourceInput$ = exports.TransactWriteItemsOutput$ = exports.TransactWriteItemsInput$ = exports.TransactWriteItem$ = exports.TransactGetItemsOutput$ = exports.TransactGetItemsInput$ = exports.TransactGetItem$ = exports.TimeToLiveSpecification$ = exports.TimeToLiveDescription$ = exports.ThrottlingReason$ = exports.TagResourceInput$ = exports.Tag$ = exports.TableWarmThroughputDescription$ = exports.TableDescription$ = exports.TableCreationParameters$ = exports.TableClassSummary$ = exports.TableAutoScalingDescription$ = exports.StreamSpecification$ = exports.SSESpecification$ = exports.SSEDescription$ = exports.SourceTableFeatureDetails$ = exports.SourceTableDetails$ = exports.ScanOutput$ = exports.ScanInput$ = exports.S3BucketSource$ = exports.RestoreTableToPointInTimeOutput$ = exports.RestoreTableToPointInTimeInput$ = exports.RestoreTableFromBackupOutput$ = exports.RestoreTableFromBackupInput$ = exports.RestoreSummary$ = exports.ReplicaUpdate$ = exports.ReplicationGroupUpdate$ = exports.ReplicaSettingsUpdate$ = exports.ReplicaSettingsDescription$ = exports.ReplicaGlobalSecondaryIndexSettingsUpdate$ = exports.ReplicaGlobalSecondaryIndexSettingsDescription$ = void 0; -exports.PutItem$ = exports.ListTagsOfResource$ = exports.ListTables$ = exports.ListImports$ = exports.ListGlobalTables$ = exports.ListExports$ = exports.ListContributorInsights$ = exports.ListBackups$ = exports.ImportTable$ = exports.GetResourcePolicy$ = exports.GetItem$ = exports.ExportTableToPointInTime$ = exports.ExecuteTransaction$ = exports.ExecuteStatement$ = exports.EnableKinesisStreamingDestination$ = exports.DisableKinesisStreamingDestination$ = exports.DescribeTimeToLive$ = exports.DescribeTableReplicaAutoScaling$ = exports.DescribeTable$ = exports.DescribeLimits$ = exports.DescribeKinesisStreamingDestination$ = exports.DescribeImport$ = exports.DescribeGlobalTableSettings$ = exports.DescribeGlobalTable$ = exports.DescribeExport$ = exports.DescribeEndpoints$ = exports.DescribeContributorInsights$ = exports.DescribeContinuousBackups$ = exports.DescribeBackup$ = exports.DeleteTable$ = exports.DeleteResourcePolicy$ = exports.DeleteItem$ = exports.DeleteBackup$ = exports.CreateTable$ = exports.CreateGlobalTable$ = exports.CreateBackup$ = exports.BatchWriteItem$ = exports.BatchGetItem$ = exports.BatchExecuteStatement$ = exports.AttributeValue$ = exports.WriteRequest$ = exports.WarmThroughput$ = exports.UpdateTimeToLiveOutput$ = exports.UpdateTimeToLiveInput$ = exports.UpdateTableReplicaAutoScalingOutput$ = exports.UpdateTableReplicaAutoScalingInput$ = exports.UpdateTableOutput$ = exports.UpdateTableInput$ = exports.UpdateReplicationGroupMemberAction$ = exports.UpdateKinesisStreamingDestinationOutput$ = void 0; -exports.UpdateTimeToLive$ = exports.UpdateTableReplicaAutoScaling$ = exports.UpdateTable$ = exports.UpdateKinesisStreamingDestination$ = exports.UpdateItem$ = exports.UpdateGlobalTableSettings$ = exports.UpdateGlobalTable$ = exports.UpdateContributorInsights$ = exports.UpdateContinuousBackups$ = exports.UntagResource$ = exports.TransactWriteItems$ = exports.TransactGetItems$ = exports.TagResource$ = exports.Scan$ = exports.RestoreTableToPointInTime$ = exports.RestoreTableFromBackup$ = exports.Query$ = exports.PutResourcePolicy$ = void 0; -const _A = "Action"; -const _ABA = "ArchivalBackupArn"; -const _ACDTP = "ApproximateCreationDateTimePrecision"; -const _AD = "AttributeDefinition"; -const _ADT = "ArchivalDateTime"; -const _ADt = "AttributeDefinitions"; -const _AM = "AttributeMap"; -const _AMRCU = "AccountMaxReadCapacityUnits"; -const _AMWCU = "AccountMaxWriteCapacityUnits"; -const _AN = "AttributeName"; -const _AR = "ArchivalReason"; -const _AS = "ArchivalSummary"; -const _ASD = "AutoScalingDisabled"; -const _ASPD = "AutoScalingPolicyDescription"; -const _ASPDL = "AutoScalingPolicyDescriptionList"; -const _ASPU = "AutoScalingPolicyUpdate"; -const _ASRA = "AutoScalingRoleArn"; -const _ASSD = "AutoScalingSettingsDescription"; -const _ASSU = "AutoScalingSettingsUpdate"; -const _ASTTSPCD = "AutoScalingTargetTrackingScalingPolicyConfigurationDescription"; -const _ASTTSPCU = "AutoScalingTargetTrackingScalingPolicyConfigurationUpdate"; -const _AT = "AttributeType"; -const _ATG = "AttributesToGet"; -const _AU = "AttributeUpdates"; -const _AV = "AttributeValue"; -const _AVL = "AttributeValueList"; -const _AVU = "AttributeValueUpdate"; -const _Ad = "Address"; -const _At = "Attributes"; -const _B = "Backfilling"; -const _BA = "BackupArn"; -const _BCDT = "BackupCreationDateTime"; -const _BD = "BackupDescription"; -const _BDa = "BackupDetails"; -const _BEDT = "BackupExpiryDateTime"; -const _BES = "BatchExecuteStatement"; -const _BESI = "BatchExecuteStatementInput"; -const _BESO = "BatchExecuteStatementOutput"; -const _BGI = "BatchGetItem"; -const _BGII = "BatchGetItemInput"; -const _BGIO = "BatchGetItemOutput"; -const _BGRM = "BatchGetResponseMap"; -const _BGRMa = "BatchGetRequestMap"; -const _BIUE = "BackupInUseException"; -const _BM = "BillingMode"; -const _BMO = "BillingModeOverride"; -const _BMS = "BillingModeSummary"; -const _BN = "BackupName"; -const _BNFE = "BackupNotFoundException"; -const _BOOL = "BOOL"; -const _BS = "BackupStatus"; -const _BSB = "BackupSizeBytes"; -const _BSBi = "BilledSizeBytes"; -const _BSE = "BatchStatementError"; -const _BSR = "BatchStatementRequest"; -const _BSRa = "BatchStatementResponse"; -const _BS_ = "BS"; -const _BSa = "BackupSummary"; -const _BSac = "BackupSummaries"; -const _BT = "BackupType"; -const _BWI = "BatchWriteItem"; -const _BWII = "BatchWriteItemInput"; -const _BWIO = "BatchWriteItemOutput"; -const _BWIRM = "BatchWriteItemRequestMap"; -const _B_ = "B"; -const _C = "Code"; -const _CB = "CreateBackup"; -const _CBD = "ContinuousBackupsDescription"; -const _CBI = "CreateBackupInput"; -const _CBO = "CreateBackupOutput"; -const _CBS = "ContinuousBackupsStatus"; -const _CBUE = "ContinuousBackupsUnavailableException"; -const _CC = "ConsumedCapacity"; -const _CCFE = "ConditionalCheckFailedException"; -const _CCM = "ConsumedCapacityMultiple"; -const _CCo = "ConditionCheck"; -const _CDT = "CreationDateTime"; -const _CE = "ConditionExpression"; -const _CGSIA = "CreateGlobalSecondaryIndexAction"; -const _CGT = "CreateGlobalTable"; -const _CGTI = "CreateGlobalTableInput"; -const _CGTO = "CreateGlobalTableOutput"; -const _CGTWGMA = "CreateGlobalTableWitnessGroupMemberAction"; -const _CIA = "ContributorInsightsAction"; -const _CIM = "ContributorInsightsMode"; -const _CIRL = "ContributorInsightsRuleList"; -const _CIS = "ContributorInsightsSummary"; -const _CISo = "ContributorInsightsStatus"; -const _CISon = "ContributorInsightsSummaries"; -const _CO = "ComparisonOperator"; -const _COo = "ConditionalOperator"; -const _COs = "CsvOptions"; -const _CPIM = "CachePeriodInMinutes"; -const _CR = "CancellationReasons"; -const _CRA = "CreateReplicaAction"; -const _CRGMA = "CreateReplicationGroupMemberAction"; -const _CRL = "CancellationReasonList"; -const _CRSRA = "ConfirmRemoveSelfResourceAccess"; -const _CRT = "ClientRequestToken"; -const _CRa = "CancellationReason"; -const _CRo = "ConsistentRead"; -const _CT = "ClientToken"; -const _CTI = "CreateTableInput"; -const _CTO = "CreateTableOutput"; -const _CTr = "CreateTable"; -const _CU = "CapacityUnits"; -const _CWLGA = "CloudWatchLogGroupArn"; -const _Ca = "Capacity"; -const _Co = "Condition"; -const _Cou = "Count"; -const _Cr = "Create"; -const _Cs = "Csv"; -const _D = "Delimiter"; -const _DB = "DeleteBackup"; -const _DBI = "DeleteBackupInput"; -const _DBIe = "DescribeBackupInput"; -const _DBO = "DeleteBackupOutput"; -const _DBOe = "DescribeBackupOutput"; -const _DBe = "DescribeBackup"; -const _DCB = "DescribeContinuousBackups"; -const _DCBI = "DescribeContinuousBackupsInput"; -const _DCBO = "DescribeContinuousBackupsOutput"; -const _DCI = "DescribeContributorInsights"; -const _DCII = "DescribeContributorInsightsInput"; -const _DCIO = "DescribeContributorInsightsOutput"; -const _DE = "DescribeEndpoints"; -const _DEI = "DescribeExportInput"; -const _DEO = "DescribeExportOutput"; -const _DER = "DescribeEndpointsRequest"; -const _DERe = "DescribeEndpointsResponse"; -const _DEe = "DescribeExport"; -const _DGSIA = "DeleteGlobalSecondaryIndexAction"; -const _DGT = "DescribeGlobalTable"; -const _DGTI = "DescribeGlobalTableInput"; -const _DGTO = "DescribeGlobalTableOutput"; -const _DGTS = "DescribeGlobalTableSettings"; -const _DGTSI = "DescribeGlobalTableSettingsInput"; -const _DGTSO = "DescribeGlobalTableSettingsOutput"; -const _DGTWGMA = "DeleteGlobalTableWitnessGroupMemberAction"; -const _DI = "DeleteItem"; -const _DIE = "DuplicateItemException"; -const _DII = "DeleteItemInput"; -const _DIIe = "DescribeImportInput"; -const _DIO = "DeleteItemOutput"; -const _DIOe = "DescribeImportOutput"; -const _DIe = "DescribeImport"; -const _DKSD = "DescribeKinesisStreamingDestination"; -const _DKSDI = "DescribeKinesisStreamingDestinationInput"; -const _DKSDO = "DescribeKinesisStreamingDestinationOutput"; -const _DKSDi = "DisableKinesisStreamingDestination"; -const _DL = "DescribeLimits"; -const _DLI = "DescribeLimitsInput"; -const _DLO = "DescribeLimitsOutput"; -const _DPE = "DeletionProtectionEnabled"; -const _DR = "DeleteRequest"; -const _DRA = "DeleteReplicaAction"; -const _DRGMA = "DeleteReplicationGroupMemberAction"; -const _DRP = "DeleteResourcePolicy"; -const _DRPI = "DeleteResourcePolicyInput"; -const _DRPO = "DeleteResourcePolicyOutput"; -const _DS = "DestinationStatus"; -const _DSD = "DestinationStatusDescription"; -const _DSI = "DisableScaleIn"; -const _DT = "DeleteTable"; -const _DTI = "DeleteTableInput"; -const _DTIe = "DescribeTableInput"; -const _DTO = "DeleteTableOutput"; -const _DTOe = "DescribeTableOutput"; -const _DTRAS = "DescribeTableReplicaAutoScaling"; -const _DTRASI = "DescribeTableReplicaAutoScalingInput"; -const _DTRASO = "DescribeTableReplicaAutoScalingOutput"; -const _DTTL = "DescribeTimeToLive"; -const _DTTLI = "DescribeTimeToLiveInput"; -const _DTTLO = "DescribeTimeToLiveOutput"; -const _DTe = "DescribeTable"; -const _De = "Delete"; -const _E = "Error"; -const _EA = "ExportArn"; -const _EAM = "ExpectedAttributeMap"; -const _EAN = "ExpressionAttributeNames"; -const _EAV = "ExpressionAttributeValues"; -const _EAVM = "ExpressionAttributeValueMap"; -const _EAVx = "ExpectedAttributeValue"; -const _EC = "ErrorCount"; -const _ECE = "ExportConflictException"; -const _ED = "ExportDescription"; -const _EDx = "ExceptionDescription"; -const _EF = "ExportFormat"; -const _EFT = "ExportFromTime"; -const _EKSC = "EnableKinesisStreamingConfiguration"; -const _EKSD = "EnableKinesisStreamingDestination"; -const _EM = "ExportManifest"; -const _EN = "ExceptionName"; -const _ENFE = "ExportNotFoundException"; -const _ERDT = "EarliestRestorableDateTime"; -const _ERI = "ExpectedRevisionId"; -const _ES = "ExportStatus"; -const _ESBA = "ExclusiveStartBackupArn"; -const _ESGTN = "ExclusiveStartGlobalTableName"; -const _ESI = "ExecuteStatementInput"; -const _ESK = "ExclusiveStartKey"; -const _ESO = "ExecuteStatementOutput"; -const _ESTN = "ExclusiveStartTableName"; -const _ESx = "ExportSummary"; -const _ESxe = "ExecuteStatement"; -const _ESxp = "ExportSummaries"; -const _ET = "EndTime"; -const _ETI = "ExecuteTransactionInput"; -const _ETO = "ExecuteTransactionOutput"; -const _ETT = "ExportToTime"; -const _ETTPIT = "ExportTableToPointInTime"; -const _ETTPITI = "ExportTableToPointInTimeInput"; -const _ETTPITO = "ExportTableToPointInTimeOutput"; -const _ETx = "ExportTime"; -const _ETxe = "ExecuteTransaction"; -const _ETxp = "ExportType"; -const _EVT = "ExportViewType"; -const _En = "Endpoints"; -const _Ena = "Enabled"; -const _End = "Endpoint"; -const _Ex = "Expected"; -const _Exi = "Exists"; -const _FC = "FailureCode"; -const _FCM = "FilterConditionMap"; -const _FE = "FailureException"; -const _FEi = "FilterExpression"; -const _FM = "FailureMessage"; -const _G = "Get"; -const _GI = "GetItem"; -const _GII = "GetItemInput"; -const _GIO = "GetItemOutput"; -const _GRP = "GetResourcePolicy"; -const _GRPI = "GetResourcePolicyInput"; -const _GRPO = "GetResourcePolicyOutput"; -const _GSI = "GlobalSecondaryIndexes"; -const _GSIASU = "GlobalSecondaryIndexAutoScalingUpdate"; -const _GSIASUL = "GlobalSecondaryIndexAutoScalingUpdateList"; -const _GSID = "GlobalSecondaryIndexDescription"; -const _GSIDL = "GlobalSecondaryIndexDescriptionList"; -const _GSII = "GlobalSecondaryIndexInfo"; -const _GSIL = "GlobalSecondaryIndexList"; -const _GSIO = "GlobalSecondaryIndexOverride"; -const _GSIU = "GlobalSecondaryIndexUpdate"; -const _GSIUL = "GlobalSecondaryIndexUpdateList"; -const _GSIUl = "GlobalSecondaryIndexUpdates"; -const _GSIWTD = "GlobalSecondaryIndexWarmThroughputDescription"; -const _GSIl = "GlobalSecondaryIndex"; -const _GT = "GlobalTable"; -const _GTA = "GlobalTableArn"; -const _GTAEE = "GlobalTableAlreadyExistsException"; -const _GTBM = "GlobalTableBillingMode"; -const _GTD = "GlobalTableDescription"; -const _GTGSISU = "GlobalTableGlobalSecondaryIndexSettingsUpdate"; -const _GTGSISUL = "GlobalTableGlobalSecondaryIndexSettingsUpdateList"; -const _GTL = "GlobalTableList"; -const _GTN = "GlobalTableName"; -const _GTNFE = "GlobalTableNotFoundException"; -const _GTPWCASSU = "GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate"; -const _GTPWCU = "GlobalTableProvisionedWriteCapacityUnits"; -const _GTS = "GlobalTableStatus"; -const _GTSA = "GlobalTableSourceArn"; -const _GTSRM = "GlobalTableSettingsReplicationMode"; -const _GTV = "GlobalTableVersion"; -const _GTW = "GlobalTableWitnesses"; -const _GTWD = "GlobalTableWitnessDescription"; -const _GTWDL = "GlobalTableWitnessDescriptionList"; -const _GTWGU = "GlobalTableWitnessGroupUpdate"; -const _GTWGUL = "GlobalTableWitnessGroupUpdateList"; -const _GTWU = "GlobalTableWitnessUpdates"; -const _GTl = "GlobalTables"; -const _HL = "HeaderList"; -const _I = "Item"; -const _IA = "ImportArn"; -const _IAn = "IndexArn"; -const _IC = "ItemCount"; -const _ICE = "ImportConflictException"; -const _ICK = "ItemCollectionKey"; -const _ICKAM = "ItemCollectionKeyAttributeMap"; -const _ICM = "ItemCollectionMetrics"; -const _ICMM = "ItemCollectionMetricsMultiple"; -const _ICMPT = "ItemCollectionMetricsPerTable"; -const _ICSLEE = "ItemCollectionSizeLimitExceededException"; -const _ICT = "InputCompressionType"; -const _IEDT = "InaccessibleEncryptionDateTime"; -const _IEE = "InvalidEndpointException"; -const _IES = "IncrementalExportSpecification"; -const _IETE = "InvalidExportTimeException"; -const _IF = "InputFormat"; -const _IFO = "InputFormatOptions"; -const _IIC = "ImportedItemCount"; -const _IL = "ItemList"; -const _IN = "IndexName"; -const _INFE = "ImportNotFoundException"; -const _INFEn = "IndexNotFoundException"; -const _IPME = "IdempotentParameterMismatchException"; -const _IR = "ItemResponse"; -const _IRL = "ItemResponseList"; -const _IRTE = "InvalidRestoreTimeException"; -const _IS = "IndexStatus"; -const _ISB = "IndexSizeBytes"; -const _ISE = "InternalServerError"; -const _ISL = "ImportSummaryList"; -const _ISm = "ImportSummary"; -const _ISmp = "ImportStatus"; -const _IT = "ImportTable"; -const _ITD = "ImportTableDescription"; -const _ITI = "ImportTableInput"; -const _ITO = "ImportTableOutput"; -const _It = "Items"; -const _K = "Key"; -const _KAA = "KeysAndAttributes"; -const _KC = "KeyConditions"; -const _KCE = "KeyConditionExpression"; -const _KDSD = "KinesisDataStreamDestinations"; -const _KDSDi = "KinesisDataStreamDestination"; -const _KL = "KeyList"; -const _KMSMKA = "KMSMasterKeyArn"; -const _KMSMKI = "KMSMasterKeyId"; -const _KS = "KeySchema"; -const _KSDI = "KinesisStreamingDestinationInput"; -const _KSDO = "KinesisStreamingDestinationOutput"; -const _KSE = "KeySchemaElement"; -const _KT = "KeyType"; -const _Ke = "Keys"; -const _L = "Limit"; -const _LAV = "ListAttributeValue"; -const _LB = "ListBackups"; -const _LBI = "ListBackupsInput"; -const _LBO = "ListBackupsOutput"; -const _LCI = "ListContributorInsights"; -const _LCII = "ListContributorInsightsInput"; -const _LCIO = "ListContributorInsightsOutput"; -const _LDDT = "LastDecreaseDateTime"; -const _LE = "ListExports"; -const _LEBA = "LastEvaluatedBackupArn"; -const _LEE = "LimitExceededException"; -const _LEGTN = "LastEvaluatedGlobalTableName"; -const _LEI = "ListExportsInput"; -const _LEK = "LastEvaluatedKey"; -const _LEO = "ListExportsOutput"; -const _LETN = "LastEvaluatedTableName"; -const _LGT = "ListGlobalTables"; -const _LGTI = "ListGlobalTablesInput"; -const _LGTO = "ListGlobalTablesOutput"; -const _LI = "ListImports"; -const _LIDT = "LastIncreaseDateTime"; -const _LII = "ListImportsInput"; -const _LIO = "ListImportsOutput"; -const _LRDT = "LatestRestorableDateTime"; -const _LSA = "LatestStreamArn"; -const _LSI = "LocalSecondaryIndexes"; -const _LSID = "LocalSecondaryIndexDescription"; -const _LSIDL = "LocalSecondaryIndexDescriptionList"; -const _LSII = "LocalSecondaryIndexInfo"; -const _LSIL = "LocalSecondaryIndexList"; -const _LSIO = "LocalSecondaryIndexOverride"; -const _LSIo = "LocalSecondaryIndex"; -const _LSL = "LatestStreamLabel"; -const _LT = "ListTables"; -const _LTI = "ListTablesInput"; -const _LTO = "ListTablesOutput"; -const _LTOR = "ListTagsOfResource"; -const _LTORI = "ListTagsOfResourceInput"; -const _LTORO = "ListTagsOfResourceOutput"; -const _LUDT = "LastUpdateDateTime"; -const _LUTPPRDT = "LastUpdateToPayPerRequestDateTime"; -const _L_ = "L"; -const _M = "Message"; -const _MAV = "MapAttributeValue"; -const _MR = "MaxResults"; -const _MRC = "MultiRegionConsistency"; -const _MRRU = "MaxReadRequestUnits"; -const _MU = "MinimumUnits"; -const _MUa = "MaximumUnits"; -const _MWRU = "MaxWriteRequestUnits"; -const _M_ = "M"; -const _N = "N"; -const _NKA = "NonKeyAttributes"; -const _NODT = "NumberOfDecreasesToday"; -const _NS = "NS"; -const _NT = "NextToken"; -const _NULL = "NULL"; -const _ODT = "OnDemandThroughput"; -const _ODTO = "OnDemandThroughputOverride"; -const _P = "Parameters"; -const _PE = "ProjectionExpression"; -const _PI = "PutItem"; -const _PIC = "ProcessedItemCount"; -const _PII = "PutItemInput"; -const _PIIAM = "PutItemInputAttributeMap"; -const _PIO = "PutItemOutput"; -const _PITRD = "PointInTimeRecoveryDescription"; -const _PITRE = "PointInTimeRecoveryEnabled"; -const _PITRS = "PointInTimeRecoveryStatus"; -const _PITRSo = "PointInTimeRecoverySpecification"; -const _PITRUE = "PointInTimeRecoveryUnavailableException"; -const _PN = "PolicyName"; -const _PNFE = "PolicyNotFoundException"; -const _PQLBR = "PartiQLBatchRequest"; -const _PQLBRa = "PartiQLBatchResponse"; -const _PR = "PutRequest"; -const _PRCASS = "ProvisionedReadCapacityAutoScalingSettings"; -const _PRCASSU = "ProvisionedReadCapacityAutoScalingSettingsUpdate"; -const _PRCASU = "ProvisionedReadCapacityAutoScalingUpdate"; -const _PRCU = "ProvisionedReadCapacityUnits"; -const _PRP = "PutResourcePolicy"; -const _PRPI = "PutResourcePolicyInput"; -const _PRPO = "PutResourcePolicyOutput"; -const _PS = "PageSize"; -const _PSB = "ProcessedSizeBytes"; -const _PSP = "PreparedStatementParameters"; -const _PSa = "ParameterizedStatement"; -const _PSar = "ParameterizedStatements"; -const _PT = "ProvisionedThroughput"; -const _PTD = "ProvisionedThroughputDescription"; -const _PTEE = "ProvisionedThroughputExceededException"; -const _PTO = "ProvisionedThroughputOverride"; -const _PTr = "ProjectionType"; -const _PWCASS = "ProvisionedWriteCapacityAutoScalingSettings"; -const _PWCASSU = "ProvisionedWriteCapacityAutoScalingSettingsUpdate"; -const _PWCASU = "ProvisionedWriteCapacityAutoScalingUpdate"; -const _PWCU = "ProvisionedWriteCapacityUnits"; -const _Po = "Policy"; -const _Pr = "Projection"; -const _Pu = "Put"; -const _Q = "Query"; -const _QF = "QueryFilter"; -const _QI = "QueryInput"; -const _QO = "QueryOutput"; -const _R = "Responses"; -const _RA = "ResourceArn"; -const _RAEE = "ReplicaAlreadyExistsException"; -const _RASD = "ReplicaAutoScalingDescription"; -const _RASDL = "ReplicaAutoScalingDescriptionList"; -const _RASU = "ReplicaAutoScalingUpdate"; -const _RASUL = "ReplicaAutoScalingUpdateList"; -const _RAe = "ReplicaArn"; -const _RBMS = "ReplicaBillingModeSummary"; -const _RCC = "ReturnConsumedCapacity"; -const _RCU = "ReadCapacityUnits"; -const _RD = "ReplicaDescription"; -const _RDL = "ReplicaDescriptionList"; -const _RDT = "RestoreDateTime"; -const _RG = "ReplicationGroup"; -const _RGSI = "ReplicaGlobalSecondaryIndex"; -const _RGSIASD = "ReplicaGlobalSecondaryIndexAutoScalingDescription"; -const _RGSIASDL = "ReplicaGlobalSecondaryIndexAutoScalingDescriptionList"; -const _RGSIASU = "ReplicaGlobalSecondaryIndexAutoScalingUpdate"; -const _RGSIASUL = "ReplicaGlobalSecondaryIndexAutoScalingUpdateList"; -const _RGSID = "ReplicaGlobalSecondaryIndexDescription"; -const _RGSIDL = "ReplicaGlobalSecondaryIndexDescriptionList"; -const _RGSIL = "ReplicaGlobalSecondaryIndexList"; -const _RGSIS = "ReplicaGlobalSecondaryIndexSettings"; -const _RGSISD = "ReplicaGlobalSecondaryIndexSettingsDescription"; -const _RGSISDL = "ReplicaGlobalSecondaryIndexSettingsDescriptionList"; -const _RGSISU = "ReplicaGlobalSecondaryIndexSettingsUpdate"; -const _RGSISUL = "ReplicaGlobalSecondaryIndexSettingsUpdateList"; -const _RGSIU = "ReplicaGlobalSecondaryIndexUpdates"; -const _RGU = "ReplicationGroupUpdate"; -const _RGUL = "ReplicationGroupUpdateList"; -const _RI = "RequestItems"; -const _RICM = "ReturnItemCollectionMetrics"; -const _RIDT = "ReplicaInaccessibleDateTime"; -const _RIP = "RestoreInProgress"; -const _RIUE = "ResourceInUseException"; -const _RIe = "RevisionId"; -const _RL = "ReplicaList"; -const _RLE = "RequestLimitExceeded"; -const _RN = "RegionName"; -const _RNFE = "ReplicaNotFoundException"; -const _RNFEe = "ResourceNotFoundException"; -const _RP = "ResourcePolicy"; -const _RPID = "RecoveryPeriodInDays"; -const _RPRCASS = "ReplicaProvisionedReadCapacityAutoScalingSettings"; -const _RPRCASSU = "ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate"; -const _RPRCASU = "ReplicaProvisionedReadCapacityAutoScalingUpdate"; -const _RPRCU = "ReplicaProvisionedReadCapacityUnits"; -const _RPWCASS = "ReplicaProvisionedWriteCapacityAutoScalingSettings"; -const _RPWCU = "ReplicaProvisionedWriteCapacityUnits"; -const _RS = "ReplicaSettings"; -const _RSD = "ReplicaStatusDescription"; -const _RSDL = "ReplicaSettingsDescriptionList"; -const _RSDe = "ReplicaSettingsDescription"; -const _RSPP = "ReplicaStatusPercentProgress"; -const _RSU = "ReplicaSettingsUpdate"; -const _RSUL = "ReplicaSettingsUpdateList"; -const _RSe = "ReplicaStatus"; -const _RSes = "RestoreSummary"; -const _RTC = "ReplicaTableClass"; -const _RTCS = "ReplicaTableClassSummary"; -const _RTFB = "RestoreTableFromBackup"; -const _RTFBI = "RestoreTableFromBackupInput"; -const _RTFBO = "RestoreTableFromBackupOutput"; -const _RTTPIT = "RestoreTableToPointInTime"; -const _RTTPITI = "RestoreTableToPointInTimeInput"; -const _RTTPITO = "RestoreTableToPointInTimeOutput"; -const _RU = "ReplicaUpdate"; -const _RUL = "ReplicaUpdateList"; -const _RUPS = "ReadUnitsPerSecond"; -const _RUe = "ReplicaUpdates"; -const _RV = "ReturnValues"; -const _RVOCCF = "ReturnValuesOnConditionCheckFailure"; -const _RWCE = "ReplicatedWriteConflictException"; -const _Re = "Replica"; -const _Rep = "Replicas"; -const _S = "Statements"; -const _SA = "StreamArn"; -const _SB = "S3Bucket"; -const _SBA = "SourceBackupArn"; -const _SBO = "S3BucketOwner"; -const _SBS = "S3BucketSource"; -const _SC = "ScannedCount"; -const _SD = "StreamDescription"; -const _SE = "StreamEnabled"; -const _SERGB = "SizeEstimateRangeGB"; -const _SF = "ScanFilter"; -const _SI = "ScanInput"; -const _SIC = "ScaleInCooldown"; -const _SICM = "SecondaryIndexesCapacityMap"; -const _SIF = "ScanIndexForward"; -const _SKP = "S3KeyPrefix"; -const _SO = "ScanOutput"; -const _SOC = "ScaleOutCooldown"; -const _SP = "ScalingPolicies"; -const _SPU = "ScalingPolicyUpdate"; -const _SPr = "S3Prefix"; -const _SS = "StreamSpecification"; -const _SSA = "S3SseAlgorithm"; -const _SSED = "SSEDescription"; -const _SSES = "SSESpecification"; -const _SSESO = "SSESpecificationOverride"; -const _SSET = "SSEType"; -const _SSKKI = "S3SseKmsKeyId"; -const _SS_ = "SS"; -const _ST = "StartTime"; -const _STA = "SourceTableArn"; -const _STD = "SourceTableDetails"; -const _STFD = "SourceTableFeatureDetails"; -const _STN = "SourceTableName"; -const _SVT = "StreamViewType"; -const _S_ = "S"; -const _Sc = "Scan"; -const _Se = "Select"; -const _Seg = "Segment"; -const _St = "Statement"; -const _Sta = "Status"; -const _T = "Table"; -const _TA = "TableArn"; -const _TAEE = "TableAlreadyExistsException"; -const _TASD = "TableAutoScalingDescription"; -const _TC = "TableClass"; -const _TCDT = "TableCreationDateTime"; -const _TCE = "TransactionCanceledException"; -const _TCEr = "TransactionConflictException"; -const _TCO = "TableClassOverride"; -const _TCP = "TableCreationParameters"; -const _TCS = "TableClassSummary"; -const _TD = "TableDescription"; -const _TE = "ThrottlingException"; -const _TGI = "TransactGetItem"; -const _TGII = "TransactGetItemsInput"; -const _TGIL = "TransactGetItemList"; -const _TGIO = "TransactGetItemsOutput"; -const _TGIr = "TransactGetItems"; -const _TI = "TableId"; -const _TIPE = "TransactionInProgressException"; -const _TIUE = "TableInUseException"; -const _TIr = "TransactItems"; -const _TK = "TagKeys"; -const _TL = "TagList"; -const _TMRCU = "TableMaxReadCapacityUnits"; -const _TMWCU = "TableMaxWriteCapacityUnits"; -const _TN = "TableName"; -const _TNFE = "TableNotFoundException"; -const _TNa = "TableNames"; -const _TR = "ThrottlingReasons"; -const _TRI = "TagResourceInput"; -const _TRL = "ThrottlingReasonList"; -const _TRLB = "TimeRangeLowerBound"; -const _TRUB = "TimeRangeUpperBound"; -const _TRa = "TagResource"; -const _TRh = "ThrottlingReason"; -const _TS = "TransactStatements"; -const _TSB = "TableSizeBytes"; -const _TSa = "TableStatus"; -const _TSo = "TotalSegments"; -const _TTLD = "TimeToLiveDescription"; -const _TTLS = "TimeToLiveStatus"; -const _TTLSi = "TimeToLiveSpecification"; -const _TTN = "TargetTableName"; -const _TTSPC = "TargetTrackingScalingPolicyConfiguration"; -const _TV = "TargetValue"; -const _TWI = "TransactWriteItem"; -const _TWII = "TransactWriteItemsInput"; -const _TWIL = "TransactWriteItemList"; -const _TWIO = "TransactWriteItemsOutput"; -const _TWIr = "TransactWriteItems"; -const _TWTD = "TableWarmThroughputDescription"; -const _Ta = "Tags"; -const _Tag = "Tag"; -const _U = "Update"; -const _UCB = "UpdateContinuousBackups"; -const _UCBI = "UpdateContinuousBackupsInput"; -const _UCBO = "UpdateContinuousBackupsOutput"; -const _UCI = "UpdateContributorInsights"; -const _UCII = "UpdateContributorInsightsInput"; -const _UCIO = "UpdateContributorInsightsOutput"; -const _UE = "UpdateExpression"; -const _UGSIA = "UpdateGlobalSecondaryIndexAction"; -const _UGT = "UpdateGlobalTable"; -const _UGTI = "UpdateGlobalTableInput"; -const _UGTO = "UpdateGlobalTableOutput"; -const _UGTS = "UpdateGlobalTableSettings"; -const _UGTSI = "UpdateGlobalTableSettingsInput"; -const _UGTSO = "UpdateGlobalTableSettingsOutput"; -const _UI = "UnprocessedItems"; -const _UII = "UpdateItemInput"; -const _UIO = "UpdateItemOutput"; -const _UIp = "UpdateItem"; -const _UK = "UnprocessedKeys"; -const _UKSC = "UpdateKinesisStreamingConfiguration"; -const _UKSD = "UpdateKinesisStreamingDestination"; -const _UKSDI = "UpdateKinesisStreamingDestinationInput"; -const _UKSDO = "UpdateKinesisStreamingDestinationOutput"; -const _ULRT = "UseLatestRestorableTime"; -const _UR = "UntagResource"; -const _URGMA = "UpdateReplicationGroupMemberAction"; -const _URI = "UntagResourceInput"; -const _UT = "UpdateTable"; -const _UTI = "UpdateTableInput"; -const _UTO = "UpdateTableOutput"; -const _UTRAS = "UpdateTableReplicaAutoScaling"; -const _UTRASI = "UpdateTableReplicaAutoScalingInput"; -const _UTRASO = "UpdateTableReplicaAutoScalingOutput"; -const _UTTL = "UpdateTimeToLive"; -const _UTTLI = "UpdateTimeToLiveInput"; -const _UTTLO = "UpdateTimeToLiveOutput"; -const _V = "Value"; -const _WCU = "WriteCapacityUnits"; -const _WR = "WriteRequest"; -const _WRr = "WriteRequests"; -const _WS = "WitnessStatus"; -const _WT = "WarmThroughput"; -const _WUPS = "WriteUnitsPerSecond"; -const _aQE = "awsQueryError"; -const _c = "client"; -const _e = "error"; -const _hE = "httpError"; -const _hH = "httpHeader"; -const _m = "message"; -const _r = "reason"; -const _re = "resource"; -const _s = "smithy.ts.sdk.synthetic.com.amazonaws.dynamodb"; -const _se = "server"; -const _tR = "throttlingReasons"; -const _xacrsra = "x-amz-confirm-remove-self-resource-access"; -const n0 = "com.amazonaws.dynamodb"; -const schema_1 = require("@smithy/core/schema"); -const DynamoDBServiceException_1 = require("../models/DynamoDBServiceException"); -const errors_1 = require("../models/errors"); -const _s_registry = schema_1.TypeRegistry.for(_s); -exports.DynamoDBServiceException$ = [-3, _s, "DynamoDBServiceException", 0, [], []]; -_s_registry.registerError(exports.DynamoDBServiceException$, DynamoDBServiceException_1.DynamoDBServiceException); -const n0_registry = schema_1.TypeRegistry.for(n0); -exports.BackupInUseException$ = [-3, n0, _BIUE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.BackupInUseException$, errors_1.BackupInUseException); -exports.BackupNotFoundException$ = [-3, n0, _BNFE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.BackupNotFoundException$, errors_1.BackupNotFoundException); -exports.ConditionalCheckFailedException$ = [-3, n0, _CCFE, - { [_e]: _c }, - [_m, _I], - [0, () => AttributeMap] -]; -n0_registry.registerError(exports.ConditionalCheckFailedException$, errors_1.ConditionalCheckFailedException); -exports.ContinuousBackupsUnavailableException$ = [-3, n0, _CBUE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.ContinuousBackupsUnavailableException$, errors_1.ContinuousBackupsUnavailableException); -exports.DuplicateItemException$ = [-3, n0, _DIE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.DuplicateItemException$, errors_1.DuplicateItemException); -exports.ExportConflictException$ = [-3, n0, _ECE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.ExportConflictException$, errors_1.ExportConflictException); -exports.ExportNotFoundException$ = [-3, n0, _ENFE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.ExportNotFoundException$, errors_1.ExportNotFoundException); -exports.GlobalTableAlreadyExistsException$ = [-3, n0, _GTAEE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.GlobalTableAlreadyExistsException$, errors_1.GlobalTableAlreadyExistsException); -exports.GlobalTableNotFoundException$ = [-3, n0, _GTNFE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.GlobalTableNotFoundException$, errors_1.GlobalTableNotFoundException); -exports.IdempotentParameterMismatchException$ = [-3, n0, _IPME, - { [_e]: _c }, - [_M], - [0] -]; -n0_registry.registerError(exports.IdempotentParameterMismatchException$, errors_1.IdempotentParameterMismatchException); -exports.ImportConflictException$ = [-3, n0, _ICE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.ImportConflictException$, errors_1.ImportConflictException); -exports.ImportNotFoundException$ = [-3, n0, _INFE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.ImportNotFoundException$, errors_1.ImportNotFoundException); -exports.IndexNotFoundException$ = [-3, n0, _INFEn, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.IndexNotFoundException$, errors_1.IndexNotFoundException); -exports.InternalServerError$ = [-3, n0, _ISE, - { [_e]: _se }, - [_m], - [0] -]; -n0_registry.registerError(exports.InternalServerError$, errors_1.InternalServerError); -exports.InvalidEndpointException$ = [-3, n0, _IEE, - { [_e]: _c, [_hE]: 421 }, - [_M], - [0] -]; -n0_registry.registerError(exports.InvalidEndpointException$, errors_1.InvalidEndpointException); -exports.InvalidExportTimeException$ = [-3, n0, _IETE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.InvalidExportTimeException$, errors_1.InvalidExportTimeException); -exports.InvalidRestoreTimeException$ = [-3, n0, _IRTE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.InvalidRestoreTimeException$, errors_1.InvalidRestoreTimeException); -exports.ItemCollectionSizeLimitExceededException$ = [-3, n0, _ICSLEE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.ItemCollectionSizeLimitExceededException$, errors_1.ItemCollectionSizeLimitExceededException); -exports.LimitExceededException$ = [-3, n0, _LEE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.LimitExceededException$, errors_1.LimitExceededException); -exports.PointInTimeRecoveryUnavailableException$ = [-3, n0, _PITRUE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.PointInTimeRecoveryUnavailableException$, errors_1.PointInTimeRecoveryUnavailableException); -exports.PolicyNotFoundException$ = [-3, n0, _PNFE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.PolicyNotFoundException$, errors_1.PolicyNotFoundException); -exports.ProvisionedThroughputExceededException$ = [-3, n0, _PTEE, - { [_e]: _c }, - [_m, _TR], - [0, () => ThrottlingReasonList] -]; -n0_registry.registerError(exports.ProvisionedThroughputExceededException$, errors_1.ProvisionedThroughputExceededException); -exports.ReplicaAlreadyExistsException$ = [-3, n0, _RAEE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.ReplicaAlreadyExistsException$, errors_1.ReplicaAlreadyExistsException); -exports.ReplicaNotFoundException$ = [-3, n0, _RNFE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.ReplicaNotFoundException$, errors_1.ReplicaNotFoundException); -exports.ReplicatedWriteConflictException$ = [-3, n0, _RWCE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.ReplicatedWriteConflictException$, errors_1.ReplicatedWriteConflictException); -exports.RequestLimitExceeded$ = [-3, n0, _RLE, - { [_e]: _c }, - [_m, _TR], - [0, () => ThrottlingReasonList] -]; -n0_registry.registerError(exports.RequestLimitExceeded$, errors_1.RequestLimitExceeded); -exports.ResourceInUseException$ = [-3, n0, _RIUE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.ResourceInUseException$, errors_1.ResourceInUseException); -exports.ResourceNotFoundException$ = [-3, n0, _RNFEe, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException); -exports.TableAlreadyExistsException$ = [-3, n0, _TAEE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.TableAlreadyExistsException$, errors_1.TableAlreadyExistsException); -exports.TableInUseException$ = [-3, n0, _TIUE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.TableInUseException$, errors_1.TableInUseException); -exports.TableNotFoundException$ = [-3, n0, _TNFE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.TableNotFoundException$, errors_1.TableNotFoundException); -exports.ThrottlingException$ = [-3, n0, _TE, - { [_aQE]: [`Throttling`, 400], [_e]: _c, [_hE]: 400 }, - [_m, _tR], - [0, () => ThrottlingReasonList] -]; -n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException); -exports.TransactionCanceledException$ = [-3, n0, _TCE, - { [_e]: _c }, - [_M, _CR], - [0, () => CancellationReasonList] -]; -n0_registry.registerError(exports.TransactionCanceledException$, errors_1.TransactionCanceledException); -exports.TransactionConflictException$ = [-3, n0, _TCEr, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(exports.TransactionConflictException$, errors_1.TransactionConflictException); -exports.TransactionInProgressException$ = [-3, n0, _TIPE, - { [_e]: _c }, - [_M], - [0] -]; -n0_registry.registerError(exports.TransactionInProgressException$, errors_1.TransactionInProgressException); -exports.errorTypeRegistries = [ - _s_registry, - n0_registry, -]; -exports.ArchivalSummary$ = [3, n0, _AS, - 0, - [_ADT, _AR, _ABA], - [4, 0, 0] -]; -exports.AttributeDefinition$ = [3, n0, _AD, - 0, - [_AN, _AT], - [0, 0], 2 -]; -exports.AttributeValueUpdate$ = [3, n0, _AVU, - 0, - [_V, _A], - [() => exports.AttributeValue$, 0] -]; -exports.AutoScalingPolicyDescription$ = [3, n0, _ASPD, - 0, - [_PN, _TTSPC], - [0, () => exports.AutoScalingTargetTrackingScalingPolicyConfigurationDescription$] -]; -exports.AutoScalingPolicyUpdate$ = [3, n0, _ASPU, - 0, - [_TTSPC, _PN], - [() => exports.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate$, 0], 1 -]; -exports.AutoScalingSettingsDescription$ = [3, n0, _ASSD, - 0, - [_MU, _MUa, _ASD, _ASRA, _SP], - [1, 1, 2, 0, () => AutoScalingPolicyDescriptionList] -]; -exports.AutoScalingSettingsUpdate$ = [3, n0, _ASSU, - 0, - [_MU, _MUa, _ASD, _ASRA, _SPU], - [1, 1, 2, 0, () => exports.AutoScalingPolicyUpdate$] -]; -exports.AutoScalingTargetTrackingScalingPolicyConfigurationDescription$ = [3, n0, _ASTTSPCD, - 0, - [_TV, _DSI, _SIC, _SOC], - [1, 2, 1, 1], 1 -]; -exports.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate$ = [3, n0, _ASTTSPCU, - 0, - [_TV, _DSI, _SIC, _SOC], - [1, 2, 1, 1], 1 -]; -exports.BackupDescription$ = [3, n0, _BD, - 0, - [_BDa, _STD, _STFD], - [() => exports.BackupDetails$, () => exports.SourceTableDetails$, () => exports.SourceTableFeatureDetails$] -]; -exports.BackupDetails$ = [3, n0, _BDa, - 0, - [_BA, _BN, _BS, _BT, _BCDT, _BSB, _BEDT], - [0, 0, 0, 0, 4, 1, 4], 5 -]; -exports.BackupSummary$ = [3, n0, _BSa, - 0, - [_TN, _TI, _TA, _BA, _BN, _BCDT, _BEDT, _BS, _BT, _BSB], - [0, 0, 0, 0, 0, 4, 4, 0, 0, 1] -]; -exports.BatchExecuteStatementInput$ = [3, n0, _BESI, - 0, - [_S, _RCC], - [() => PartiQLBatchRequest, 0], 1 -]; -exports.BatchExecuteStatementOutput$ = [3, n0, _BESO, - 0, - [_R, _CC], - [() => PartiQLBatchResponse, () => ConsumedCapacityMultiple] -]; -exports.BatchGetItemInput$ = [3, n0, _BGII, - 0, - [_RI, _RCC], - [() => BatchGetRequestMap, 0], 1 -]; -exports.BatchGetItemOutput$ = [3, n0, _BGIO, - 0, - [_R, _UK, _CC], - [() => BatchGetResponseMap, () => BatchGetRequestMap, () => ConsumedCapacityMultiple] -]; -exports.BatchStatementError$ = [3, n0, _BSE, - 0, - [_C, _M, _I], - [0, 0, () => AttributeMap] -]; -exports.BatchStatementRequest$ = [3, n0, _BSR, - 0, - [_St, _P, _CRo, _RVOCCF], - [0, () => PreparedStatementParameters, 2, 0], 1 -]; -exports.BatchStatementResponse$ = [3, n0, _BSRa, - 0, - [_E, _TN, _I], - [() => exports.BatchStatementError$, 0, () => AttributeMap] -]; -exports.BatchWriteItemInput$ = [3, n0, _BWII, - 0, - [_RI, _RCC, _RICM], - [() => BatchWriteItemRequestMap, 0, 0], 1 -]; -exports.BatchWriteItemOutput$ = [3, n0, _BWIO, - 0, - [_UI, _ICM, _CC], - [() => BatchWriteItemRequestMap, () => ItemCollectionMetricsPerTable, () => ConsumedCapacityMultiple] -]; -exports.BillingModeSummary$ = [3, n0, _BMS, - 0, - [_BM, _LUTPPRDT], - [0, 4] -]; -exports.CancellationReason$ = [3, n0, _CRa, - 0, - [_I, _C, _M], - [() => AttributeMap, 0, 0] -]; -exports.Capacity$ = [3, n0, _Ca, - 0, - [_RCU, _WCU, _CU], - [1, 1, 1] -]; -exports.Condition$ = [3, n0, _Co, - 0, - [_CO, _AVL], - [0, () => AttributeValueList], 1 -]; -exports.ConditionCheck$ = [3, n0, _CCo, - 0, - [_K, _TN, _CE, _EAN, _EAV, _RVOCCF], - [() => Key, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 3 -]; -exports.ConsumedCapacity$ = [3, n0, _CC, - 0, - [_TN, _CU, _RCU, _WCU, _T, _LSI, _GSI], - [0, 1, 1, 1, () => exports.Capacity$, () => SecondaryIndexesCapacityMap, () => SecondaryIndexesCapacityMap] -]; -exports.ContinuousBackupsDescription$ = [3, n0, _CBD, - 0, - [_CBS, _PITRD], - [0, () => exports.PointInTimeRecoveryDescription$], 1 -]; -exports.ContributorInsightsSummary$ = [3, n0, _CIS, - 0, - [_TN, _IN, _CISo, _CIM], - [0, 0, 0, 0] -]; -exports.CreateBackupInput$ = [3, n0, _CBI, - 0, - [_TN, _BN], - [0, 0], 2 -]; -exports.CreateBackupOutput$ = [3, n0, _CBO, - 0, - [_BDa], - [() => exports.BackupDetails$] -]; -exports.CreateGlobalSecondaryIndexAction$ = [3, n0, _CGSIA, - 0, - [_IN, _KS, _Pr, _PT, _ODT, _WT], - [0, () => KeySchema, () => exports.Projection$, () => exports.ProvisionedThroughput$, () => exports.OnDemandThroughput$, () => exports.WarmThroughput$], 3 -]; -exports.CreateGlobalTableInput$ = [3, n0, _CGTI, - 0, - [_GTN, _RG], - [0, () => ReplicaList], 2 -]; -exports.CreateGlobalTableOutput$ = [3, n0, _CGTO, - 0, - [_GTD], - [() => exports.GlobalTableDescription$] -]; -exports.CreateGlobalTableWitnessGroupMemberAction$ = [3, n0, _CGTWGMA, - 0, - [_RN], - [0], 1 -]; -exports.CreateReplicaAction$ = [3, n0, _CRA, - 0, - [_RN], - [0], 1 -]; -exports.CreateReplicationGroupMemberAction$ = [3, n0, _CRGMA, - 0, - [_RN, _KMSMKI, _PTO, _ODTO, _GSI, _TCO], - [0, 0, () => exports.ProvisionedThroughputOverride$, () => exports.OnDemandThroughputOverride$, () => ReplicaGlobalSecondaryIndexList, 0], 1 -]; -exports.CreateTableInput$ = [3, n0, _CTI, - 0, - [_TN, _ADt, _KS, _LSI, _GSI, _BM, _PT, _SS, _SSES, _Ta, _TC, _DPE, _WT, _RP, _ODT, _GTSA, _GTSRM], - [0, () => AttributeDefinitions, () => KeySchema, () => LocalSecondaryIndexList, () => GlobalSecondaryIndexList, 0, () => exports.ProvisionedThroughput$, () => exports.StreamSpecification$, () => exports.SSESpecification$, () => TagList, 0, 2, () => exports.WarmThroughput$, 0, () => exports.OnDemandThroughput$, 0, 0], 1 -]; -exports.CreateTableOutput$ = [3, n0, _CTO, - 0, - [_TD], - [() => exports.TableDescription$] -]; -exports.CsvOptions$ = [3, n0, _COs, - 0, - [_D, _HL], - [0, 64 | 0] -]; -exports.Delete$ = [3, n0, _De, - 0, - [_K, _TN, _CE, _EAN, _EAV, _RVOCCF], - [() => Key, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 2 -]; -exports.DeleteBackupInput$ = [3, n0, _DBI, - 0, - [_BA], - [0], 1 -]; -exports.DeleteBackupOutput$ = [3, n0, _DBO, - 0, - [_BD], - [() => exports.BackupDescription$] -]; -exports.DeleteGlobalSecondaryIndexAction$ = [3, n0, _DGSIA, - 0, - [_IN], - [0], 1 -]; -exports.DeleteGlobalTableWitnessGroupMemberAction$ = [3, n0, _DGTWGMA, - 0, - [_RN], - [0], 1 -]; -exports.DeleteItemInput$ = [3, n0, _DII, - 0, - [_TN, _K, _Ex, _COo, _RV, _RCC, _RICM, _CE, _EAN, _EAV, _RVOCCF], - [0, () => Key, () => ExpectedAttributeMap, 0, 0, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 2 -]; -exports.DeleteItemOutput$ = [3, n0, _DIO, - 0, - [_At, _CC, _ICM], - [() => AttributeMap, () => exports.ConsumedCapacity$, () => exports.ItemCollectionMetrics$] -]; -exports.DeleteReplicaAction$ = [3, n0, _DRA, - 0, - [_RN], - [0], 1 -]; -exports.DeleteReplicationGroupMemberAction$ = [3, n0, _DRGMA, - 0, - [_RN], - [0], 1 -]; -exports.DeleteRequest$ = [3, n0, _DR, - 0, - [_K], - [() => Key], 1 -]; -exports.DeleteResourcePolicyInput$ = [3, n0, _DRPI, - 0, - [_RA, _ERI], - [0, 0], 1 -]; -exports.DeleteResourcePolicyOutput$ = [3, n0, _DRPO, - 0, - [_RIe], - [0] -]; -exports.DeleteTableInput$ = [3, n0, _DTI, - 0, - [_TN], - [0], 1 -]; -exports.DeleteTableOutput$ = [3, n0, _DTO, - 0, - [_TD], - [() => exports.TableDescription$] -]; -exports.DescribeBackupInput$ = [3, n0, _DBIe, - 0, - [_BA], - [0], 1 -]; -exports.DescribeBackupOutput$ = [3, n0, _DBOe, - 0, - [_BD], - [() => exports.BackupDescription$] -]; -exports.DescribeContinuousBackupsInput$ = [3, n0, _DCBI, - 0, - [_TN], - [0], 1 -]; -exports.DescribeContinuousBackupsOutput$ = [3, n0, _DCBO, - 0, - [_CBD], - [() => exports.ContinuousBackupsDescription$] -]; -exports.DescribeContributorInsightsInput$ = [3, n0, _DCII, - 0, - [_TN, _IN], - [0, 0], 1 -]; -exports.DescribeContributorInsightsOutput$ = [3, n0, _DCIO, - 0, - [_TN, _IN, _CIRL, _CISo, _LUDT, _FE, _CIM], - [0, 0, 64 | 0, 0, 4, () => exports.FailureException$, 0] -]; -exports.DescribeEndpointsRequest$ = [3, n0, _DER, - 0, - [], - [] -]; -exports.DescribeEndpointsResponse$ = [3, n0, _DERe, - 0, - [_En], - [() => Endpoints], 1 -]; -exports.DescribeExportInput$ = [3, n0, _DEI, - 0, - [_EA], - [0], 1 -]; -exports.DescribeExportOutput$ = [3, n0, _DEO, - 0, - [_ED], - [() => exports.ExportDescription$] -]; -exports.DescribeGlobalTableInput$ = [3, n0, _DGTI, - 0, - [_GTN], - [0], 1 -]; -exports.DescribeGlobalTableOutput$ = [3, n0, _DGTO, - 0, - [_GTD], - [() => exports.GlobalTableDescription$] -]; -exports.DescribeGlobalTableSettingsInput$ = [3, n0, _DGTSI, - 0, - [_GTN], - [0], 1 -]; -exports.DescribeGlobalTableSettingsOutput$ = [3, n0, _DGTSO, - 0, - [_GTN, _RS], - [0, () => ReplicaSettingsDescriptionList] -]; -exports.DescribeImportInput$ = [3, n0, _DIIe, - 0, - [_IA], - [0], 1 -]; -exports.DescribeImportOutput$ = [3, n0, _DIOe, - 0, - [_ITD], - [() => exports.ImportTableDescription$], 1 -]; -exports.DescribeKinesisStreamingDestinationInput$ = [3, n0, _DKSDI, - 0, - [_TN], - [0], 1 -]; -exports.DescribeKinesisStreamingDestinationOutput$ = [3, n0, _DKSDO, - 0, - [_TN, _KDSD], - [0, () => KinesisDataStreamDestinations] -]; -exports.DescribeLimitsInput$ = [3, n0, _DLI, - 0, - [], - [] -]; -exports.DescribeLimitsOutput$ = [3, n0, _DLO, - 0, - [_AMRCU, _AMWCU, _TMRCU, _TMWCU], - [1, 1, 1, 1] -]; -exports.DescribeTableInput$ = [3, n0, _DTIe, - 0, - [_TN], - [0], 1 -]; -exports.DescribeTableOutput$ = [3, n0, _DTOe, - 0, - [_T], - [() => exports.TableDescription$] -]; -exports.DescribeTableReplicaAutoScalingInput$ = [3, n0, _DTRASI, - 0, - [_TN], - [0], 1 -]; -exports.DescribeTableReplicaAutoScalingOutput$ = [3, n0, _DTRASO, - 0, - [_TASD], - [() => exports.TableAutoScalingDescription$] -]; -exports.DescribeTimeToLiveInput$ = [3, n0, _DTTLI, - 0, - [_TN], - [0], 1 -]; -exports.DescribeTimeToLiveOutput$ = [3, n0, _DTTLO, - 0, - [_TTLD], - [() => exports.TimeToLiveDescription$] -]; -exports.EnableKinesisStreamingConfiguration$ = [3, n0, _EKSC, - 0, - [_ACDTP], - [0] -]; -exports.Endpoint$ = [3, n0, _End, - 0, - [_Ad, _CPIM], - [0, 1], 2 -]; -exports.ExecuteStatementInput$ = [3, n0, _ESI, - 0, - [_St, _P, _CRo, _NT, _RCC, _L, _RVOCCF], - [0, () => PreparedStatementParameters, 2, 0, 0, 1, 0], 1 -]; -exports.ExecuteStatementOutput$ = [3, n0, _ESO, - 0, - [_It, _NT, _CC, _LEK], - [() => ItemList, 0, () => exports.ConsumedCapacity$, () => Key] -]; -exports.ExecuteTransactionInput$ = [3, n0, _ETI, - 0, - [_TS, _CRT, _RCC], - [() => ParameterizedStatements, [0, 4], 0], 1 -]; -exports.ExecuteTransactionOutput$ = [3, n0, _ETO, - 0, - [_R, _CC], - [() => ItemResponseList, () => ConsumedCapacityMultiple] -]; -exports.ExpectedAttributeValue$ = [3, n0, _EAVx, - 0, - [_V, _Exi, _CO, _AVL], - [() => exports.AttributeValue$, 2, 0, () => AttributeValueList] -]; -exports.ExportDescription$ = [3, n0, _ED, - 0, - [_EA, _ES, _ST, _ET, _EM, _TA, _TI, _ETx, _CT, _SB, _SBO, _SPr, _SSA, _SSKKI, _FC, _FM, _EF, _BSBi, _IC, _ETxp, _IES], - [0, 0, 4, 4, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, () => exports.IncrementalExportSpecification$] -]; -exports.ExportSummary$ = [3, n0, _ESx, - 0, - [_EA, _ES, _ETxp], - [0, 0, 0] -]; -exports.ExportTableToPointInTimeInput$ = [3, n0, _ETTPITI, - 0, - [_TA, _SB, _ETx, _CT, _SBO, _SPr, _SSA, _SSKKI, _EF, _ETxp, _IES], - [0, 0, 4, [0, 4], 0, 0, 0, 0, 0, 0, () => exports.IncrementalExportSpecification$], 2 -]; -exports.ExportTableToPointInTimeOutput$ = [3, n0, _ETTPITO, - 0, - [_ED], - [() => exports.ExportDescription$] -]; -exports.FailureException$ = [3, n0, _FE, - 0, - [_EN, _EDx], - [0, 0] -]; -exports.Get$ = [3, n0, _G, - 0, - [_K, _TN, _PE, _EAN], - [() => Key, 0, 0, 128 | 0], 2 -]; -exports.GetItemInput$ = [3, n0, _GII, - 0, - [_TN, _K, _ATG, _CRo, _RCC, _PE, _EAN], - [0, () => Key, 64 | 0, 2, 0, 0, 128 | 0], 2 -]; -exports.GetItemOutput$ = [3, n0, _GIO, - 0, - [_I, _CC], - [() => AttributeMap, () => exports.ConsumedCapacity$] -]; -exports.GetResourcePolicyInput$ = [3, n0, _GRPI, - 0, - [_RA], - [0], 1 -]; -exports.GetResourcePolicyOutput$ = [3, n0, _GRPO, - 0, - [_Po, _RIe], - [0, 0] -]; -exports.GlobalSecondaryIndex$ = [3, n0, _GSIl, - 0, - [_IN, _KS, _Pr, _PT, _ODT, _WT], - [0, () => KeySchema, () => exports.Projection$, () => exports.ProvisionedThroughput$, () => exports.OnDemandThroughput$, () => exports.WarmThroughput$], 3 -]; -exports.GlobalSecondaryIndexAutoScalingUpdate$ = [3, n0, _GSIASU, - 0, - [_IN, _PWCASU], - [0, () => exports.AutoScalingSettingsUpdate$] -]; -exports.GlobalSecondaryIndexDescription$ = [3, n0, _GSID, - 0, - [_IN, _KS, _Pr, _IS, _B, _PT, _ISB, _IC, _IAn, _ODT, _WT], - [0, () => KeySchema, () => exports.Projection$, 0, 2, () => exports.ProvisionedThroughputDescription$, 1, 1, 0, () => exports.OnDemandThroughput$, () => exports.GlobalSecondaryIndexWarmThroughputDescription$] -]; -exports.GlobalSecondaryIndexInfo$ = [3, n0, _GSII, - 0, - [_IN, _KS, _Pr, _PT, _ODT], - [0, () => KeySchema, () => exports.Projection$, () => exports.ProvisionedThroughput$, () => exports.OnDemandThroughput$] -]; -exports.GlobalSecondaryIndexUpdate$ = [3, n0, _GSIU, - 0, - [_U, _Cr, _De], - [() => exports.UpdateGlobalSecondaryIndexAction$, () => exports.CreateGlobalSecondaryIndexAction$, () => exports.DeleteGlobalSecondaryIndexAction$] -]; -exports.GlobalSecondaryIndexWarmThroughputDescription$ = [3, n0, _GSIWTD, - 0, - [_RUPS, _WUPS, _Sta], - [1, 1, 0] -]; -exports.GlobalTable$ = [3, n0, _GT, - 0, - [_GTN, _RG], - [0, () => ReplicaList] -]; -exports.GlobalTableDescription$ = [3, n0, _GTD, - 0, - [_RG, _GTA, _CDT, _GTS, _GTN], - [() => ReplicaDescriptionList, 0, 4, 0, 0] -]; -exports.GlobalTableGlobalSecondaryIndexSettingsUpdate$ = [3, n0, _GTGSISU, - 0, - [_IN, _PWCU, _PWCASSU], - [0, 1, () => exports.AutoScalingSettingsUpdate$], 1 -]; -exports.GlobalTableWitnessDescription$ = [3, n0, _GTWD, - 0, - [_RN, _WS], - [0, 0] -]; -exports.GlobalTableWitnessGroupUpdate$ = [3, n0, _GTWGU, - 0, - [_Cr, _De], - [() => exports.CreateGlobalTableWitnessGroupMemberAction$, () => exports.DeleteGlobalTableWitnessGroupMemberAction$] -]; -exports.ImportSummary$ = [3, n0, _ISm, - 0, - [_IA, _ISmp, _TA, _SBS, _CWLGA, _IF, _ST, _ET], - [0, 0, 0, () => exports.S3BucketSource$, 0, 0, 4, 4] -]; -exports.ImportTableDescription$ = [3, n0, _ITD, - 0, - [_IA, _ISmp, _TA, _TI, _CT, _SBS, _EC, _CWLGA, _IF, _IFO, _ICT, _TCP, _ST, _ET, _PSB, _PIC, _IIC, _FC, _FM], - [0, 0, 0, 0, 0, () => exports.S3BucketSource$, 1, 0, 0, () => exports.InputFormatOptions$, 0, () => exports.TableCreationParameters$, 4, 4, 1, 1, 1, 0, 0] -]; -exports.ImportTableInput$ = [3, n0, _ITI, - 0, - [_SBS, _IF, _TCP, _CT, _IFO, _ICT], - [() => exports.S3BucketSource$, 0, () => exports.TableCreationParameters$, [0, 4], () => exports.InputFormatOptions$, 0], 3 -]; -exports.ImportTableOutput$ = [3, n0, _ITO, - 0, - [_ITD], - [() => exports.ImportTableDescription$], 1 -]; -exports.IncrementalExportSpecification$ = [3, n0, _IES, - 0, - [_EFT, _ETT, _EVT], - [4, 4, 0] -]; -exports.InputFormatOptions$ = [3, n0, _IFO, - 0, - [_Cs], - [() => exports.CsvOptions$] -]; -exports.ItemCollectionMetrics$ = [3, n0, _ICM, - 0, - [_ICK, _SERGB], - [() => ItemCollectionKeyAttributeMap, 64 | 1] -]; -exports.ItemResponse$ = [3, n0, _IR, - 0, - [_I], - [() => AttributeMap] -]; -exports.KeysAndAttributes$ = [3, n0, _KAA, - 0, - [_Ke, _ATG, _CRo, _PE, _EAN], - [() => KeyList, 64 | 0, 2, 0, 128 | 0], 1 -]; -exports.KeySchemaElement$ = [3, n0, _KSE, - 0, - [_AN, _KT], - [0, 0], 2 -]; -exports.KinesisDataStreamDestination$ = [3, n0, _KDSDi, - 0, - [_SA, _DS, _DSD, _ACDTP], - [0, 0, 0, 0] -]; -exports.KinesisStreamingDestinationInput$ = [3, n0, _KSDI, - 0, - [_TN, _SA, _EKSC], - [0, 0, () => exports.EnableKinesisStreamingConfiguration$], 2 -]; -exports.KinesisStreamingDestinationOutput$ = [3, n0, _KSDO, - 0, - [_TN, _SA, _DS, _EKSC], - [0, 0, 0, () => exports.EnableKinesisStreamingConfiguration$] -]; -exports.ListBackupsInput$ = [3, n0, _LBI, - 0, - [_TN, _L, _TRLB, _TRUB, _ESBA, _BT], - [0, 1, 4, 4, 0, 0] -]; -exports.ListBackupsOutput$ = [3, n0, _LBO, - 0, - [_BSac, _LEBA], - [() => BackupSummaries, 0] -]; -exports.ListContributorInsightsInput$ = [3, n0, _LCII, - 0, - [_TN, _NT, _MR], - [0, 0, 1] -]; -exports.ListContributorInsightsOutput$ = [3, n0, _LCIO, - 0, - [_CISon, _NT], - [() => ContributorInsightsSummaries, 0] -]; -exports.ListExportsInput$ = [3, n0, _LEI, - 0, - [_TA, _MR, _NT], - [0, 1, 0] -]; -exports.ListExportsOutput$ = [3, n0, _LEO, - 0, - [_ESxp, _NT], - [() => ExportSummaries, 0] -]; -exports.ListGlobalTablesInput$ = [3, n0, _LGTI, - 0, - [_ESGTN, _L, _RN], - [0, 1, 0] -]; -exports.ListGlobalTablesOutput$ = [3, n0, _LGTO, - 0, - [_GTl, _LEGTN], - [() => GlobalTableList, 0] -]; -exports.ListImportsInput$ = [3, n0, _LII, - 0, - [_TA, _PS, _NT], - [0, 1, 0] -]; -exports.ListImportsOutput$ = [3, n0, _LIO, - 0, - [_ISL, _NT], - [() => ImportSummaryList, 0] -]; -exports.ListTablesInput$ = [3, n0, _LTI, - 0, - [_ESTN, _L], - [0, 1] -]; -exports.ListTablesOutput$ = [3, n0, _LTO, - 0, - [_TNa, _LETN], - [64 | 0, 0] -]; -exports.ListTagsOfResourceInput$ = [3, n0, _LTORI, - 0, - [_RA, _NT], - [0, 0], 1 -]; -exports.ListTagsOfResourceOutput$ = [3, n0, _LTORO, - 0, - [_Ta, _NT], - [() => TagList, 0] -]; -exports.LocalSecondaryIndex$ = [3, n0, _LSIo, - 0, - [_IN, _KS, _Pr], - [0, () => KeySchema, () => exports.Projection$], 3 -]; -exports.LocalSecondaryIndexDescription$ = [3, n0, _LSID, - 0, - [_IN, _KS, _Pr, _ISB, _IC, _IAn], - [0, () => KeySchema, () => exports.Projection$, 1, 1, 0] -]; -exports.LocalSecondaryIndexInfo$ = [3, n0, _LSII, - 0, - [_IN, _KS, _Pr], - [0, () => KeySchema, () => exports.Projection$] -]; -exports.OnDemandThroughput$ = [3, n0, _ODT, - 0, - [_MRRU, _MWRU], - [1, 1] -]; -exports.OnDemandThroughputOverride$ = [3, n0, _ODTO, - 0, - [_MRRU], - [1] -]; -exports.ParameterizedStatement$ = [3, n0, _PSa, - 0, - [_St, _P, _RVOCCF], - [0, () => PreparedStatementParameters, 0], 1 -]; -exports.PointInTimeRecoveryDescription$ = [3, n0, _PITRD, - 0, - [_PITRS, _RPID, _ERDT, _LRDT], - [0, 1, 4, 4] -]; -exports.PointInTimeRecoverySpecification$ = [3, n0, _PITRSo, - 0, - [_PITRE, _RPID], - [2, 1], 1 -]; -exports.Projection$ = [3, n0, _Pr, - 0, - [_PTr, _NKA], - [0, 64 | 0] -]; -exports.ProvisionedThroughput$ = [3, n0, _PT, - 0, - [_RCU, _WCU], - [1, 1], 2 -]; -exports.ProvisionedThroughputDescription$ = [3, n0, _PTD, - 0, - [_LIDT, _LDDT, _NODT, _RCU, _WCU], - [4, 4, 1, 1, 1] -]; -exports.ProvisionedThroughputOverride$ = [3, n0, _PTO, - 0, - [_RCU], - [1] -]; -exports.Put$ = [3, n0, _Pu, - 0, - [_I, _TN, _CE, _EAN, _EAV, _RVOCCF], - [() => PutItemInputAttributeMap, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 2 -]; -exports.PutItemInput$ = [3, n0, _PII, - 0, - [_TN, _I, _Ex, _RV, _RCC, _RICM, _COo, _CE, _EAN, _EAV, _RVOCCF], - [0, () => PutItemInputAttributeMap, () => ExpectedAttributeMap, 0, 0, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 2 -]; -exports.PutItemOutput$ = [3, n0, _PIO, - 0, - [_At, _CC, _ICM], - [() => AttributeMap, () => exports.ConsumedCapacity$, () => exports.ItemCollectionMetrics$] -]; -exports.PutRequest$ = [3, n0, _PR, - 0, - [_I], - [() => PutItemInputAttributeMap], 1 -]; -exports.PutResourcePolicyInput$ = [3, n0, _PRPI, - 0, - [_RA, _Po, _ERI, _CRSRA], - [0, 0, 0, [2, { [_hH]: _xacrsra }]], 2 -]; -exports.PutResourcePolicyOutput$ = [3, n0, _PRPO, - 0, - [_RIe], - [0] -]; -exports.QueryInput$ = [3, n0, _QI, - 0, - [_TN, _IN, _Se, _ATG, _L, _CRo, _KC, _QF, _COo, _SIF, _ESK, _RCC, _PE, _FEi, _KCE, _EAN, _EAV], - [0, 0, 0, 64 | 0, 1, 2, () => KeyConditions, () => FilterConditionMap, 0, 2, () => Key, 0, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap], 1 -]; -exports.QueryOutput$ = [3, n0, _QO, - 0, - [_It, _Cou, _SC, _LEK, _CC], - [() => ItemList, 1, 1, () => Key, () => exports.ConsumedCapacity$] -]; -exports.Replica$ = [3, n0, _Re, - 0, - [_RN], - [0] -]; -exports.ReplicaAutoScalingDescription$ = [3, n0, _RASD, - 0, - [_RN, _GSI, _RPRCASS, _RPWCASS, _RSe], - [0, () => ReplicaGlobalSecondaryIndexAutoScalingDescriptionList, () => exports.AutoScalingSettingsDescription$, () => exports.AutoScalingSettingsDescription$, 0] -]; -exports.ReplicaAutoScalingUpdate$ = [3, n0, _RASU, - 0, - [_RN, _RGSIU, _RPRCASU], - [0, () => ReplicaGlobalSecondaryIndexAutoScalingUpdateList, () => exports.AutoScalingSettingsUpdate$], 1 -]; -exports.ReplicaDescription$ = [3, n0, _RD, - 0, - [_RN, _RSe, _RAe, _RSD, _RSPP, _KMSMKI, _PTO, _ODTO, _WT, _GSI, _RIDT, _RTCS, _GTSRM], - [0, 0, 0, 0, 0, 0, () => exports.ProvisionedThroughputOverride$, () => exports.OnDemandThroughputOverride$, () => exports.TableWarmThroughputDescription$, () => ReplicaGlobalSecondaryIndexDescriptionList, 4, () => exports.TableClassSummary$, 0] -]; -exports.ReplicaGlobalSecondaryIndex$ = [3, n0, _RGSI, - 0, - [_IN, _PTO, _ODTO], - [0, () => exports.ProvisionedThroughputOverride$, () => exports.OnDemandThroughputOverride$], 1 -]; -exports.ReplicaGlobalSecondaryIndexAutoScalingDescription$ = [3, n0, _RGSIASD, - 0, - [_IN, _IS, _PRCASS, _PWCASS], - [0, 0, () => exports.AutoScalingSettingsDescription$, () => exports.AutoScalingSettingsDescription$] -]; -exports.ReplicaGlobalSecondaryIndexAutoScalingUpdate$ = [3, n0, _RGSIASU, - 0, - [_IN, _PRCASU], - [0, () => exports.AutoScalingSettingsUpdate$] -]; -exports.ReplicaGlobalSecondaryIndexDescription$ = [3, n0, _RGSID, - 0, - [_IN, _PTO, _ODTO, _WT], - [0, () => exports.ProvisionedThroughputOverride$, () => exports.OnDemandThroughputOverride$, () => exports.GlobalSecondaryIndexWarmThroughputDescription$] -]; -exports.ReplicaGlobalSecondaryIndexSettingsDescription$ = [3, n0, _RGSISD, - 0, - [_IN, _IS, _PRCU, _PRCASS, _PWCU, _PWCASS], - [0, 0, 1, () => exports.AutoScalingSettingsDescription$, 1, () => exports.AutoScalingSettingsDescription$], 1 -]; -exports.ReplicaGlobalSecondaryIndexSettingsUpdate$ = [3, n0, _RGSISU, - 0, - [_IN, _PRCU, _PRCASSU], - [0, 1, () => exports.AutoScalingSettingsUpdate$], 1 -]; -exports.ReplicaSettingsDescription$ = [3, n0, _RSDe, - 0, - [_RN, _RSe, _RBMS, _RPRCU, _RPRCASS, _RPWCU, _RPWCASS, _RGSIS, _RTCS], - [0, 0, () => exports.BillingModeSummary$, 1, () => exports.AutoScalingSettingsDescription$, 1, () => exports.AutoScalingSettingsDescription$, () => ReplicaGlobalSecondaryIndexSettingsDescriptionList, () => exports.TableClassSummary$], 1 -]; -exports.ReplicaSettingsUpdate$ = [3, n0, _RSU, - 0, - [_RN, _RPRCU, _RPRCASSU, _RGSISU, _RTC], - [0, 1, () => exports.AutoScalingSettingsUpdate$, () => ReplicaGlobalSecondaryIndexSettingsUpdateList, 0], 1 -]; -exports.ReplicationGroupUpdate$ = [3, n0, _RGU, - 0, - [_Cr, _U, _De], - [() => exports.CreateReplicationGroupMemberAction$, () => exports.UpdateReplicationGroupMemberAction$, () => exports.DeleteReplicationGroupMemberAction$] -]; -exports.ReplicaUpdate$ = [3, n0, _RU, - 0, - [_Cr, _De], - [() => exports.CreateReplicaAction$, () => exports.DeleteReplicaAction$] -]; -exports.RestoreSummary$ = [3, n0, _RSes, - 0, - [_RDT, _RIP, _SBA, _STA], - [4, 2, 0, 0], 2 -]; -exports.RestoreTableFromBackupInput$ = [3, n0, _RTFBI, - 0, - [_TTN, _BA, _BMO, _GSIO, _LSIO, _PTO, _ODTO, _SSESO], - [0, 0, 0, () => GlobalSecondaryIndexList, () => LocalSecondaryIndexList, () => exports.ProvisionedThroughput$, () => exports.OnDemandThroughput$, () => exports.SSESpecification$], 2 -]; -exports.RestoreTableFromBackupOutput$ = [3, n0, _RTFBO, - 0, - [_TD], - [() => exports.TableDescription$] -]; -exports.RestoreTableToPointInTimeInput$ = [3, n0, _RTTPITI, - 0, - [_TTN, _STA, _STN, _ULRT, _RDT, _BMO, _GSIO, _LSIO, _PTO, _ODTO, _SSESO], - [0, 0, 0, 2, 4, 0, () => GlobalSecondaryIndexList, () => LocalSecondaryIndexList, () => exports.ProvisionedThroughput$, () => exports.OnDemandThroughput$, () => exports.SSESpecification$], 1 -]; -exports.RestoreTableToPointInTimeOutput$ = [3, n0, _RTTPITO, - 0, - [_TD], - [() => exports.TableDescription$] -]; -exports.S3BucketSource$ = [3, n0, _SBS, - 0, - [_SB, _SBO, _SKP], - [0, 0, 0], 1 -]; -exports.ScanInput$ = [3, n0, _SI, - 0, - [_TN, _IN, _ATG, _L, _Se, _SF, _COo, _ESK, _RCC, _TSo, _Seg, _PE, _FEi, _EAN, _EAV, _CRo], - [0, 0, 64 | 0, 1, 0, () => FilterConditionMap, 0, () => Key, 0, 1, 1, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 2], 1 -]; -exports.ScanOutput$ = [3, n0, _SO, - 0, - [_It, _Cou, _SC, _LEK, _CC], - [() => ItemList, 1, 1, () => Key, () => exports.ConsumedCapacity$] -]; -exports.SourceTableDetails$ = [3, n0, _STD, - 0, - [_TN, _TI, _KS, _TCDT, _PT, _TA, _TSB, _ODT, _IC, _BM], - [0, 0, () => KeySchema, 4, () => exports.ProvisionedThroughput$, 0, 1, () => exports.OnDemandThroughput$, 1, 0], 5 -]; -exports.SourceTableFeatureDetails$ = [3, n0, _STFD, - 0, - [_LSI, _GSI, _SD, _TTLD, _SSED], - [() => LocalSecondaryIndexes, () => GlobalSecondaryIndexes, () => exports.StreamSpecification$, () => exports.TimeToLiveDescription$, () => exports.SSEDescription$] -]; -exports.SSEDescription$ = [3, n0, _SSED, - 0, - [_Sta, _SSET, _KMSMKA, _IEDT], - [0, 0, 0, 4] -]; -exports.SSESpecification$ = [3, n0, _SSES, - 0, - [_Ena, _SSET, _KMSMKI], - [2, 0, 0] -]; -exports.StreamSpecification$ = [3, n0, _SS, - 0, - [_SE, _SVT], - [2, 0], 1 -]; -exports.TableAutoScalingDescription$ = [3, n0, _TASD, - 0, - [_TN, _TSa, _Rep], - [0, 0, () => ReplicaAutoScalingDescriptionList] -]; -exports.TableClassSummary$ = [3, n0, _TCS, - 0, - [_TC, _LUDT], - [0, 4] -]; -exports.TableCreationParameters$ = [3, n0, _TCP, - 0, - [_TN, _ADt, _KS, _BM, _PT, _ODT, _SSES, _GSI], - [0, () => AttributeDefinitions, () => KeySchema, 0, () => exports.ProvisionedThroughput$, () => exports.OnDemandThroughput$, () => exports.SSESpecification$, () => GlobalSecondaryIndexList], 3 -]; -exports.TableDescription$ = [3, n0, _TD, - 0, - [_ADt, _TN, _KS, _TSa, _CDT, _PT, _TSB, _IC, _TA, _TI, _BMS, _LSI, _GSI, _SS, _LSL, _LSA, _GTV, _Rep, _GTW, _GTSRM, _RSes, _SSED, _AS, _TCS, _DPE, _ODT, _WT, _MRC], - [() => AttributeDefinitions, 0, () => KeySchema, 0, 4, () => exports.ProvisionedThroughputDescription$, 1, 1, 0, 0, () => exports.BillingModeSummary$, () => LocalSecondaryIndexDescriptionList, () => GlobalSecondaryIndexDescriptionList, () => exports.StreamSpecification$, 0, 0, 0, () => ReplicaDescriptionList, () => GlobalTableWitnessDescriptionList, 0, () => exports.RestoreSummary$, () => exports.SSEDescription$, () => exports.ArchivalSummary$, () => exports.TableClassSummary$, 2, () => exports.OnDemandThroughput$, () => exports.TableWarmThroughputDescription$, 0] -]; -exports.TableWarmThroughputDescription$ = [3, n0, _TWTD, - 0, - [_RUPS, _WUPS, _Sta], - [1, 1, 0] -]; -exports.Tag$ = [3, n0, _Tag, - 0, - [_K, _V], - [0, 0], 2 -]; -exports.TagResourceInput$ = [3, n0, _TRI, - 0, - [_RA, _Ta], - [0, () => TagList], 2 -]; -exports.ThrottlingReason$ = [3, n0, _TRh, - 0, - [_r, _re], - [0, 0] -]; -exports.TimeToLiveDescription$ = [3, n0, _TTLD, - 0, - [_TTLS, _AN], - [0, 0] -]; -exports.TimeToLiveSpecification$ = [3, n0, _TTLSi, - 0, - [_Ena, _AN], - [2, 0], 2 -]; -exports.TransactGetItem$ = [3, n0, _TGI, - 0, - [_G], - [() => exports.Get$], 1 -]; -exports.TransactGetItemsInput$ = [3, n0, _TGII, - 0, - [_TIr, _RCC], - [() => TransactGetItemList, 0], 1 -]; -exports.TransactGetItemsOutput$ = [3, n0, _TGIO, - 0, - [_CC, _R], - [() => ConsumedCapacityMultiple, () => ItemResponseList] -]; -exports.TransactWriteItem$ = [3, n0, _TWI, - 0, - [_CCo, _Pu, _De, _U], - [() => exports.ConditionCheck$, () => exports.Put$, () => exports.Delete$, () => exports.Update$] -]; -exports.TransactWriteItemsInput$ = [3, n0, _TWII, - 0, - [_TIr, _RCC, _RICM, _CRT], - [() => TransactWriteItemList, 0, 0, [0, 4]], 1 -]; -exports.TransactWriteItemsOutput$ = [3, n0, _TWIO, - 0, - [_CC, _ICM], - [() => ConsumedCapacityMultiple, () => ItemCollectionMetricsPerTable] -]; -exports.UntagResourceInput$ = [3, n0, _URI, - 0, - [_RA, _TK], - [0, 64 | 0], 2 -]; -exports.Update$ = [3, n0, _U, - 0, - [_K, _UE, _TN, _CE, _EAN, _EAV, _RVOCCF], - [() => Key, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 3 -]; -exports.UpdateContinuousBackupsInput$ = [3, n0, _UCBI, - 0, - [_TN, _PITRSo], - [0, () => exports.PointInTimeRecoverySpecification$], 2 -]; -exports.UpdateContinuousBackupsOutput$ = [3, n0, _UCBO, - 0, - [_CBD], - [() => exports.ContinuousBackupsDescription$] -]; -exports.UpdateContributorInsightsInput$ = [3, n0, _UCII, - 0, - [_TN, _CIA, _IN, _CIM], - [0, 0, 0, 0], 2 -]; -exports.UpdateContributorInsightsOutput$ = [3, n0, _UCIO, - 0, - [_TN, _IN, _CISo, _CIM], - [0, 0, 0, 0] -]; -exports.UpdateGlobalSecondaryIndexAction$ = [3, n0, _UGSIA, - 0, - [_IN, _PT, _ODT, _WT], - [0, () => exports.ProvisionedThroughput$, () => exports.OnDemandThroughput$, () => exports.WarmThroughput$], 1 -]; -exports.UpdateGlobalTableInput$ = [3, n0, _UGTI, - 0, - [_GTN, _RUe], - [0, () => ReplicaUpdateList], 2 -]; -exports.UpdateGlobalTableOutput$ = [3, n0, _UGTO, - 0, - [_GTD], - [() => exports.GlobalTableDescription$] -]; -exports.UpdateGlobalTableSettingsInput$ = [3, n0, _UGTSI, - 0, - [_GTN, _GTBM, _GTPWCU, _GTPWCASSU, _GTGSISU, _RSU], - [0, 0, 1, () => exports.AutoScalingSettingsUpdate$, () => GlobalTableGlobalSecondaryIndexSettingsUpdateList, () => ReplicaSettingsUpdateList], 1 -]; -exports.UpdateGlobalTableSettingsOutput$ = [3, n0, _UGTSO, - 0, - [_GTN, _RS], - [0, () => ReplicaSettingsDescriptionList] -]; -exports.UpdateItemInput$ = [3, n0, _UII, - 0, - [_TN, _K, _AU, _Ex, _COo, _RV, _RCC, _RICM, _UE, _CE, _EAN, _EAV, _RVOCCF], - [0, () => Key, () => AttributeUpdates, () => ExpectedAttributeMap, 0, 0, 0, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 2 -]; -exports.UpdateItemOutput$ = [3, n0, _UIO, - 0, - [_At, _CC, _ICM], - [() => AttributeMap, () => exports.ConsumedCapacity$, () => exports.ItemCollectionMetrics$] -]; -exports.UpdateKinesisStreamingConfiguration$ = [3, n0, _UKSC, - 0, - [_ACDTP], - [0] -]; -exports.UpdateKinesisStreamingDestinationInput$ = [3, n0, _UKSDI, - 0, - [_TN, _SA, _UKSC], - [0, 0, () => exports.UpdateKinesisStreamingConfiguration$], 2 -]; -exports.UpdateKinesisStreamingDestinationOutput$ = [3, n0, _UKSDO, - 0, - [_TN, _SA, _DS, _UKSC], - [0, 0, 0, () => exports.UpdateKinesisStreamingConfiguration$] -]; -exports.UpdateReplicationGroupMemberAction$ = [3, n0, _URGMA, - 0, - [_RN, _KMSMKI, _PTO, _ODTO, _GSI, _TCO], - [0, 0, () => exports.ProvisionedThroughputOverride$, () => exports.OnDemandThroughputOverride$, () => ReplicaGlobalSecondaryIndexList, 0], 1 -]; -exports.UpdateTableInput$ = [3, n0, _UTI, - 0, - [_TN, _ADt, _BM, _PT, _GSIUl, _SS, _SSES, _RUe, _TC, _DPE, _MRC, _GTWU, _ODT, _WT, _GTSRM], - [0, () => AttributeDefinitions, 0, () => exports.ProvisionedThroughput$, () => GlobalSecondaryIndexUpdateList, () => exports.StreamSpecification$, () => exports.SSESpecification$, () => ReplicationGroupUpdateList, 0, 2, 0, () => GlobalTableWitnessGroupUpdateList, () => exports.OnDemandThroughput$, () => exports.WarmThroughput$, 0], 1 -]; -exports.UpdateTableOutput$ = [3, n0, _UTO, - 0, - [_TD], - [() => exports.TableDescription$] -]; -exports.UpdateTableReplicaAutoScalingInput$ = [3, n0, _UTRASI, - 0, - [_TN, _GSIUl, _PWCASU, _RUe], - [0, () => GlobalSecondaryIndexAutoScalingUpdateList, () => exports.AutoScalingSettingsUpdate$, () => ReplicaAutoScalingUpdateList], 1 -]; -exports.UpdateTableReplicaAutoScalingOutput$ = [3, n0, _UTRASO, - 0, - [_TASD], - [() => exports.TableAutoScalingDescription$] -]; -exports.UpdateTimeToLiveInput$ = [3, n0, _UTTLI, - 0, - [_TN, _TTLSi], - [0, () => exports.TimeToLiveSpecification$], 2 -]; -exports.UpdateTimeToLiveOutput$ = [3, n0, _UTTLO, - 0, - [_TTLSi], - [() => exports.TimeToLiveSpecification$] -]; -exports.WarmThroughput$ = [3, n0, _WT, - 0, - [_RUPS, _WUPS], - [1, 1] -]; -exports.WriteRequest$ = [3, n0, _WR, - 0, - [_PR, _DR], - [() => exports.PutRequest$, () => exports.DeleteRequest$] -]; -var __Unit = "unit"; -var AttributeDefinitions = [1, n0, _ADt, - 0, () => exports.AttributeDefinition$ -]; -var AttributeNameList = 64 | 0; -var AttributeValueList = [1, n0, _AVL, - 0, () => exports.AttributeValue$ -]; -var AutoScalingPolicyDescriptionList = [1, n0, _ASPDL, - 0, () => exports.AutoScalingPolicyDescription$ -]; -var BackupSummaries = [1, n0, _BSac, - 0, () => exports.BackupSummary$ -]; -var BinarySetAttributeValue = 64 | 21; -var CancellationReasonList = [1, n0, _CRL, - 0, () => exports.CancellationReason$ -]; -var ConsumedCapacityMultiple = [1, n0, _CCM, - 0, () => exports.ConsumedCapacity$ -]; -var ContributorInsightsRuleList = 64 | 0; -var ContributorInsightsSummaries = [1, n0, _CISon, - 0, () => exports.ContributorInsightsSummary$ -]; -var CsvHeaderList = 64 | 0; -var Endpoints = [1, n0, _En, - 0, () => exports.Endpoint$ -]; -var ExportSummaries = [1, n0, _ESxp, - 0, () => exports.ExportSummary$ -]; -var GlobalSecondaryIndexAutoScalingUpdateList = [1, n0, _GSIASUL, - 0, () => exports.GlobalSecondaryIndexAutoScalingUpdate$ -]; -var GlobalSecondaryIndexDescriptionList = [1, n0, _GSIDL, - 0, () => exports.GlobalSecondaryIndexDescription$ -]; -var GlobalSecondaryIndexes = [1, n0, _GSI, - 0, () => exports.GlobalSecondaryIndexInfo$ -]; -var GlobalSecondaryIndexList = [1, n0, _GSIL, - 0, () => exports.GlobalSecondaryIndex$ -]; -var GlobalSecondaryIndexUpdateList = [1, n0, _GSIUL, - 0, () => exports.GlobalSecondaryIndexUpdate$ -]; -var GlobalTableGlobalSecondaryIndexSettingsUpdateList = [1, n0, _GTGSISUL, - 0, () => exports.GlobalTableGlobalSecondaryIndexSettingsUpdate$ -]; -var GlobalTableList = [1, n0, _GTL, - 0, () => exports.GlobalTable$ -]; -var GlobalTableWitnessDescriptionList = [1, n0, _GTWDL, - 0, () => exports.GlobalTableWitnessDescription$ -]; -var GlobalTableWitnessGroupUpdateList = [1, n0, _GTWGUL, - 0, () => exports.GlobalTableWitnessGroupUpdate$ -]; -var ImportSummaryList = [1, n0, _ISL, - 0, () => exports.ImportSummary$ -]; -var ItemCollectionMetricsMultiple = [1, n0, _ICMM, - 0, () => exports.ItemCollectionMetrics$ -]; -var ItemCollectionSizeEstimateRange = 64 | 1; -var ItemList = [1, n0, _IL, - 0, () => AttributeMap -]; -var ItemResponseList = [1, n0, _IRL, - 0, () => exports.ItemResponse$ -]; -var KeyList = [1, n0, _KL, - 0, () => Key -]; -var KeySchema = [1, n0, _KS, - 0, () => exports.KeySchemaElement$ -]; -var KinesisDataStreamDestinations = [1, n0, _KDSD, - 0, () => exports.KinesisDataStreamDestination$ -]; -var ListAttributeValue = [1, n0, _LAV, - 0, () => exports.AttributeValue$ -]; -var LocalSecondaryIndexDescriptionList = [1, n0, _LSIDL, - 0, () => exports.LocalSecondaryIndexDescription$ -]; -var LocalSecondaryIndexes = [1, n0, _LSI, - 0, () => exports.LocalSecondaryIndexInfo$ -]; -var LocalSecondaryIndexList = [1, n0, _LSIL, - 0, () => exports.LocalSecondaryIndex$ -]; -var NonKeyAttributeNameList = 64 | 0; -var NumberSetAttributeValue = 64 | 0; -var ParameterizedStatements = [1, n0, _PSar, - 0, () => exports.ParameterizedStatement$ -]; -var PartiQLBatchRequest = [1, n0, _PQLBR, - 0, () => exports.BatchStatementRequest$ -]; -var PartiQLBatchResponse = [1, n0, _PQLBRa, - 0, () => exports.BatchStatementResponse$ -]; -var PreparedStatementParameters = [1, n0, _PSP, - 0, () => exports.AttributeValue$ -]; -var ReplicaAutoScalingDescriptionList = [1, n0, _RASDL, - 0, () => exports.ReplicaAutoScalingDescription$ -]; -var ReplicaAutoScalingUpdateList = [1, n0, _RASUL, - 0, () => exports.ReplicaAutoScalingUpdate$ -]; -var ReplicaDescriptionList = [1, n0, _RDL, - 0, () => exports.ReplicaDescription$ -]; -var ReplicaGlobalSecondaryIndexAutoScalingDescriptionList = [1, n0, _RGSIASDL, - 0, () => exports.ReplicaGlobalSecondaryIndexAutoScalingDescription$ -]; -var ReplicaGlobalSecondaryIndexAutoScalingUpdateList = [1, n0, _RGSIASUL, - 0, () => exports.ReplicaGlobalSecondaryIndexAutoScalingUpdate$ -]; -var ReplicaGlobalSecondaryIndexDescriptionList = [1, n0, _RGSIDL, - 0, () => exports.ReplicaGlobalSecondaryIndexDescription$ -]; -var ReplicaGlobalSecondaryIndexList = [1, n0, _RGSIL, - 0, () => exports.ReplicaGlobalSecondaryIndex$ -]; -var ReplicaGlobalSecondaryIndexSettingsDescriptionList = [1, n0, _RGSISDL, - 0, () => exports.ReplicaGlobalSecondaryIndexSettingsDescription$ -]; -var ReplicaGlobalSecondaryIndexSettingsUpdateList = [1, n0, _RGSISUL, - 0, () => exports.ReplicaGlobalSecondaryIndexSettingsUpdate$ -]; -var ReplicaList = [1, n0, _RL, - 0, () => exports.Replica$ -]; -var ReplicaSettingsDescriptionList = [1, n0, _RSDL, - 0, () => exports.ReplicaSettingsDescription$ -]; -var ReplicaSettingsUpdateList = [1, n0, _RSUL, - 0, () => exports.ReplicaSettingsUpdate$ -]; -var ReplicationGroupUpdateList = [1, n0, _RGUL, - 0, () => exports.ReplicationGroupUpdate$ -]; -var ReplicaUpdateList = [1, n0, _RUL, - 0, () => exports.ReplicaUpdate$ -]; -var StringSetAttributeValue = 64 | 0; -var TableNameList = 64 | 0; -var TagKeyList = 64 | 0; -var TagList = [1, n0, _TL, - 0, () => exports.Tag$ -]; -var ThrottlingReasonList = [1, n0, _TRL, - 0, () => exports.ThrottlingReason$ -]; -var TransactGetItemList = [1, n0, _TGIL, - 0, () => exports.TransactGetItem$ -]; -var TransactWriteItemList = [1, n0, _TWIL, - 0, () => exports.TransactWriteItem$ -]; -var WriteRequests = [1, n0, _WRr, - 0, () => exports.WriteRequest$ -]; -var AttributeMap = [2, n0, _AM, - 0, 0, () => exports.AttributeValue$ -]; -var AttributeUpdates = [2, n0, _AU, - 0, 0, () => exports.AttributeValueUpdate$ -]; -var BatchGetRequestMap = [2, n0, _BGRMa, - 0, 0, () => exports.KeysAndAttributes$ -]; -var BatchGetResponseMap = [2, n0, _BGRM, - 0, 0, () => ItemList -]; -var BatchWriteItemRequestMap = [2, n0, _BWIRM, - 0, 0, () => WriteRequests -]; -var ExpectedAttributeMap = [2, n0, _EAM, - 0, 0, () => exports.ExpectedAttributeValue$ -]; -var ExpressionAttributeNameMap = 128 | 0; -var ExpressionAttributeValueMap = [2, n0, _EAVM, - 0, 0, () => exports.AttributeValue$ -]; -var FilterConditionMap = [2, n0, _FCM, - 0, 0, () => exports.Condition$ -]; -var ItemCollectionKeyAttributeMap = [2, n0, _ICKAM, - 0, 0, () => exports.AttributeValue$ -]; -var ItemCollectionMetricsPerTable = [2, n0, _ICMPT, - 0, 0, () => ItemCollectionMetricsMultiple -]; -var Key = [2, n0, _K, - 0, 0, () => exports.AttributeValue$ -]; -var KeyConditions = [2, n0, _KC, - 0, 0, () => exports.Condition$ -]; -var MapAttributeValue = [2, n0, _MAV, - 0, 0, () => exports.AttributeValue$ -]; -var PutItemInputAttributeMap = [2, n0, _PIIAM, - 0, 0, () => exports.AttributeValue$ -]; -var SecondaryIndexesCapacityMap = [2, n0, _SICM, - 0, 0, () => exports.Capacity$ -]; -exports.AttributeValue$ = [4, n0, _AV, - 0, - [_S_, _N, _B_, _SS_, _NS, _BS_, _M_, _L_, _NULL, _BOOL], - [0, 0, 21, 64 | 0, 64 | 0, 64 | 21, () => MapAttributeValue, () => ListAttributeValue, 2, 2] -]; -exports.BatchExecuteStatement$ = [9, n0, _BES, - 0, () => exports.BatchExecuteStatementInput$, () => exports.BatchExecuteStatementOutput$ -]; -exports.BatchGetItem$ = [9, n0, _BGI, - 0, () => exports.BatchGetItemInput$, () => exports.BatchGetItemOutput$ -]; -exports.BatchWriteItem$ = [9, n0, _BWI, - 0, () => exports.BatchWriteItemInput$, () => exports.BatchWriteItemOutput$ -]; -exports.CreateBackup$ = [9, n0, _CB, - 0, () => exports.CreateBackupInput$, () => exports.CreateBackupOutput$ -]; -exports.CreateGlobalTable$ = [9, n0, _CGT, - 0, () => exports.CreateGlobalTableInput$, () => exports.CreateGlobalTableOutput$ -]; -exports.CreateTable$ = [9, n0, _CTr, - 0, () => exports.CreateTableInput$, () => exports.CreateTableOutput$ -]; -exports.DeleteBackup$ = [9, n0, _DB, - 0, () => exports.DeleteBackupInput$, () => exports.DeleteBackupOutput$ -]; -exports.DeleteItem$ = [9, n0, _DI, - 0, () => exports.DeleteItemInput$, () => exports.DeleteItemOutput$ -]; -exports.DeleteResourcePolicy$ = [9, n0, _DRP, - 0, () => exports.DeleteResourcePolicyInput$, () => exports.DeleteResourcePolicyOutput$ -]; -exports.DeleteTable$ = [9, n0, _DT, - 0, () => exports.DeleteTableInput$, () => exports.DeleteTableOutput$ -]; -exports.DescribeBackup$ = [9, n0, _DBe, - 0, () => exports.DescribeBackupInput$, () => exports.DescribeBackupOutput$ -]; -exports.DescribeContinuousBackups$ = [9, n0, _DCB, - 0, () => exports.DescribeContinuousBackupsInput$, () => exports.DescribeContinuousBackupsOutput$ -]; -exports.DescribeContributorInsights$ = [9, n0, _DCI, - 0, () => exports.DescribeContributorInsightsInput$, () => exports.DescribeContributorInsightsOutput$ -]; -exports.DescribeEndpoints$ = [9, n0, _DE, - 0, () => exports.DescribeEndpointsRequest$, () => exports.DescribeEndpointsResponse$ -]; -exports.DescribeExport$ = [9, n0, _DEe, - 0, () => exports.DescribeExportInput$, () => exports.DescribeExportOutput$ -]; -exports.DescribeGlobalTable$ = [9, n0, _DGT, - 0, () => exports.DescribeGlobalTableInput$, () => exports.DescribeGlobalTableOutput$ -]; -exports.DescribeGlobalTableSettings$ = [9, n0, _DGTS, - 0, () => exports.DescribeGlobalTableSettingsInput$, () => exports.DescribeGlobalTableSettingsOutput$ -]; -exports.DescribeImport$ = [9, n0, _DIe, - 0, () => exports.DescribeImportInput$, () => exports.DescribeImportOutput$ -]; -exports.DescribeKinesisStreamingDestination$ = [9, n0, _DKSD, - 0, () => exports.DescribeKinesisStreamingDestinationInput$, () => exports.DescribeKinesisStreamingDestinationOutput$ -]; -exports.DescribeLimits$ = [9, n0, _DL, - 0, () => exports.DescribeLimitsInput$, () => exports.DescribeLimitsOutput$ -]; -exports.DescribeTable$ = [9, n0, _DTe, - 0, () => exports.DescribeTableInput$, () => exports.DescribeTableOutput$ -]; -exports.DescribeTableReplicaAutoScaling$ = [9, n0, _DTRAS, - 0, () => exports.DescribeTableReplicaAutoScalingInput$, () => exports.DescribeTableReplicaAutoScalingOutput$ -]; -exports.DescribeTimeToLive$ = [9, n0, _DTTL, - 0, () => exports.DescribeTimeToLiveInput$, () => exports.DescribeTimeToLiveOutput$ -]; -exports.DisableKinesisStreamingDestination$ = [9, n0, _DKSDi, - 0, () => exports.KinesisStreamingDestinationInput$, () => exports.KinesisStreamingDestinationOutput$ -]; -exports.EnableKinesisStreamingDestination$ = [9, n0, _EKSD, - 0, () => exports.KinesisStreamingDestinationInput$, () => exports.KinesisStreamingDestinationOutput$ -]; -exports.ExecuteStatement$ = [9, n0, _ESxe, - 0, () => exports.ExecuteStatementInput$, () => exports.ExecuteStatementOutput$ -]; -exports.ExecuteTransaction$ = [9, n0, _ETxe, - 0, () => exports.ExecuteTransactionInput$, () => exports.ExecuteTransactionOutput$ -]; -exports.ExportTableToPointInTime$ = [9, n0, _ETTPIT, - 0, () => exports.ExportTableToPointInTimeInput$, () => exports.ExportTableToPointInTimeOutput$ -]; -exports.GetItem$ = [9, n0, _GI, - 0, () => exports.GetItemInput$, () => exports.GetItemOutput$ -]; -exports.GetResourcePolicy$ = [9, n0, _GRP, - 0, () => exports.GetResourcePolicyInput$, () => exports.GetResourcePolicyOutput$ -]; -exports.ImportTable$ = [9, n0, _IT, - 0, () => exports.ImportTableInput$, () => exports.ImportTableOutput$ -]; -exports.ListBackups$ = [9, n0, _LB, - 0, () => exports.ListBackupsInput$, () => exports.ListBackupsOutput$ -]; -exports.ListContributorInsights$ = [9, n0, _LCI, - 0, () => exports.ListContributorInsightsInput$, () => exports.ListContributorInsightsOutput$ -]; -exports.ListExports$ = [9, n0, _LE, - 0, () => exports.ListExportsInput$, () => exports.ListExportsOutput$ -]; -exports.ListGlobalTables$ = [9, n0, _LGT, - 0, () => exports.ListGlobalTablesInput$, () => exports.ListGlobalTablesOutput$ -]; -exports.ListImports$ = [9, n0, _LI, - 0, () => exports.ListImportsInput$, () => exports.ListImportsOutput$ -]; -exports.ListTables$ = [9, n0, _LT, - 0, () => exports.ListTablesInput$, () => exports.ListTablesOutput$ -]; -exports.ListTagsOfResource$ = [9, n0, _LTOR, - 0, () => exports.ListTagsOfResourceInput$, () => exports.ListTagsOfResourceOutput$ -]; -exports.PutItem$ = [9, n0, _PI, - 0, () => exports.PutItemInput$, () => exports.PutItemOutput$ -]; -exports.PutResourcePolicy$ = [9, n0, _PRP, - 0, () => exports.PutResourcePolicyInput$, () => exports.PutResourcePolicyOutput$ -]; -exports.Query$ = [9, n0, _Q, - 0, () => exports.QueryInput$, () => exports.QueryOutput$ -]; -exports.RestoreTableFromBackup$ = [9, n0, _RTFB, - 0, () => exports.RestoreTableFromBackupInput$, () => exports.RestoreTableFromBackupOutput$ -]; -exports.RestoreTableToPointInTime$ = [9, n0, _RTTPIT, - 0, () => exports.RestoreTableToPointInTimeInput$, () => exports.RestoreTableToPointInTimeOutput$ -]; -exports.Scan$ = [9, n0, _Sc, - 0, () => exports.ScanInput$, () => exports.ScanOutput$ -]; -exports.TagResource$ = [9, n0, _TRa, - 0, () => exports.TagResourceInput$, () => __Unit -]; -exports.TransactGetItems$ = [9, n0, _TGIr, - 0, () => exports.TransactGetItemsInput$, () => exports.TransactGetItemsOutput$ -]; -exports.TransactWriteItems$ = [9, n0, _TWIr, - 0, () => exports.TransactWriteItemsInput$, () => exports.TransactWriteItemsOutput$ -]; -exports.UntagResource$ = [9, n0, _UR, - 0, () => exports.UntagResourceInput$, () => __Unit -]; -exports.UpdateContinuousBackups$ = [9, n0, _UCB, - 0, () => exports.UpdateContinuousBackupsInput$, () => exports.UpdateContinuousBackupsOutput$ -]; -exports.UpdateContributorInsights$ = [9, n0, _UCI, - 0, () => exports.UpdateContributorInsightsInput$, () => exports.UpdateContributorInsightsOutput$ -]; -exports.UpdateGlobalTable$ = [9, n0, _UGT, - 0, () => exports.UpdateGlobalTableInput$, () => exports.UpdateGlobalTableOutput$ -]; -exports.UpdateGlobalTableSettings$ = [9, n0, _UGTS, - 0, () => exports.UpdateGlobalTableSettingsInput$, () => exports.UpdateGlobalTableSettingsOutput$ -]; -exports.UpdateItem$ = [9, n0, _UIp, - 0, () => exports.UpdateItemInput$, () => exports.UpdateItemOutput$ -]; -exports.UpdateKinesisStreamingDestination$ = [9, n0, _UKSD, - 0, () => exports.UpdateKinesisStreamingDestinationInput$, () => exports.UpdateKinesisStreamingDestinationOutput$ -]; -exports.UpdateTable$ = [9, n0, _UT, - 0, () => exports.UpdateTableInput$, () => exports.UpdateTableOutput$ -]; -exports.UpdateTableReplicaAutoScaling$ = [9, n0, _UTRAS, - 0, () => exports.UpdateTableReplicaAutoScalingInput$, () => exports.UpdateTableReplicaAutoScalingOutput$ -]; -exports.UpdateTimeToLive$ = [9, n0, _UTTL, - 0, () => exports.UpdateTimeToLiveInput$, () => exports.UpdateTimeToLiveOutput$ -]; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDB.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDB.js deleted file mode 100644 index c2ae203d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDB.js +++ /dev/null @@ -1,149 +0,0 @@ -import { createAggregatedClient } from "@smithy/smithy-client"; -import { BatchExecuteStatementCommand, } from "./commands/BatchExecuteStatementCommand"; -import { BatchGetItemCommand, } from "./commands/BatchGetItemCommand"; -import { BatchWriteItemCommand, } from "./commands/BatchWriteItemCommand"; -import { CreateBackupCommand, } from "./commands/CreateBackupCommand"; -import { CreateGlobalTableCommand, } from "./commands/CreateGlobalTableCommand"; -import { CreateTableCommand } from "./commands/CreateTableCommand"; -import { DeleteBackupCommand, } from "./commands/DeleteBackupCommand"; -import { DeleteItemCommand } from "./commands/DeleteItemCommand"; -import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand"; -import { DeleteTableCommand } from "./commands/DeleteTableCommand"; -import { DescribeBackupCommand, } from "./commands/DescribeBackupCommand"; -import { DescribeContinuousBackupsCommand, } from "./commands/DescribeContinuousBackupsCommand"; -import { DescribeContributorInsightsCommand, } from "./commands/DescribeContributorInsightsCommand"; -import { DescribeEndpointsCommand, } from "./commands/DescribeEndpointsCommand"; -import { DescribeExportCommand, } from "./commands/DescribeExportCommand"; -import { DescribeGlobalTableCommand, } from "./commands/DescribeGlobalTableCommand"; -import { DescribeGlobalTableSettingsCommand, } from "./commands/DescribeGlobalTableSettingsCommand"; -import { DescribeImportCommand, } from "./commands/DescribeImportCommand"; -import { DescribeKinesisStreamingDestinationCommand, } from "./commands/DescribeKinesisStreamingDestinationCommand"; -import { DescribeLimitsCommand, } from "./commands/DescribeLimitsCommand"; -import { DescribeTableCommand, } from "./commands/DescribeTableCommand"; -import { DescribeTableReplicaAutoScalingCommand, } from "./commands/DescribeTableReplicaAutoScalingCommand"; -import { DescribeTimeToLiveCommand, } from "./commands/DescribeTimeToLiveCommand"; -import { DisableKinesisStreamingDestinationCommand, } from "./commands/DisableKinesisStreamingDestinationCommand"; -import { EnableKinesisStreamingDestinationCommand, } from "./commands/EnableKinesisStreamingDestinationCommand"; -import { ExecuteStatementCommand, } from "./commands/ExecuteStatementCommand"; -import { ExecuteTransactionCommand, } from "./commands/ExecuteTransactionCommand"; -import { ExportTableToPointInTimeCommand, } from "./commands/ExportTableToPointInTimeCommand"; -import { GetItemCommand } from "./commands/GetItemCommand"; -import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand"; -import { ImportTableCommand } from "./commands/ImportTableCommand"; -import { ListBackupsCommand } from "./commands/ListBackupsCommand"; -import { ListContributorInsightsCommand, } from "./commands/ListContributorInsightsCommand"; -import { ListExportsCommand } from "./commands/ListExportsCommand"; -import { ListGlobalTablesCommand, } from "./commands/ListGlobalTablesCommand"; -import { ListImportsCommand } from "./commands/ListImportsCommand"; -import { ListTablesCommand } from "./commands/ListTablesCommand"; -import { ListTagsOfResourceCommand, } from "./commands/ListTagsOfResourceCommand"; -import { PutItemCommand } from "./commands/PutItemCommand"; -import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand"; -import { QueryCommand } from "./commands/QueryCommand"; -import { RestoreTableFromBackupCommand, } from "./commands/RestoreTableFromBackupCommand"; -import { RestoreTableToPointInTimeCommand, } from "./commands/RestoreTableToPointInTimeCommand"; -import { ScanCommand } from "./commands/ScanCommand"; -import { TagResourceCommand } from "./commands/TagResourceCommand"; -import { TransactGetItemsCommand, } from "./commands/TransactGetItemsCommand"; -import { TransactWriteItemsCommand, } from "./commands/TransactWriteItemsCommand"; -import { UntagResourceCommand, } from "./commands/UntagResourceCommand"; -import { UpdateContinuousBackupsCommand, } from "./commands/UpdateContinuousBackupsCommand"; -import { UpdateContributorInsightsCommand, } from "./commands/UpdateContributorInsightsCommand"; -import { UpdateGlobalTableCommand, } from "./commands/UpdateGlobalTableCommand"; -import { UpdateGlobalTableSettingsCommand, } from "./commands/UpdateGlobalTableSettingsCommand"; -import { UpdateItemCommand } from "./commands/UpdateItemCommand"; -import { UpdateKinesisStreamingDestinationCommand, } from "./commands/UpdateKinesisStreamingDestinationCommand"; -import { UpdateTableCommand } from "./commands/UpdateTableCommand"; -import { UpdateTableReplicaAutoScalingCommand, } from "./commands/UpdateTableReplicaAutoScalingCommand"; -import { UpdateTimeToLiveCommand, } from "./commands/UpdateTimeToLiveCommand"; -import { DynamoDBClient } from "./DynamoDBClient"; -import { paginateListContributorInsights } from "./pagination/ListContributorInsightsPaginator"; -import { paginateListExports } from "./pagination/ListExportsPaginator"; -import { paginateListImports } from "./pagination/ListImportsPaginator"; -import { paginateListTables } from "./pagination/ListTablesPaginator"; -import { paginateQuery } from "./pagination/QueryPaginator"; -import { paginateScan } from "./pagination/ScanPaginator"; -import { waitUntilContributorInsightsEnabled } from "./waiters/waitForContributorInsightsEnabled"; -import { waitUntilExportCompleted } from "./waiters/waitForExportCompleted"; -import { waitUntilImportCompleted } from "./waiters/waitForImportCompleted"; -import { waitUntilKinesisStreamingDestinationActive } from "./waiters/waitForKinesisStreamingDestinationActive"; -import { waitUntilTableExists } from "./waiters/waitForTableExists"; -import { waitUntilTableNotExists } from "./waiters/waitForTableNotExists"; -const commands = { - BatchExecuteStatementCommand, - BatchGetItemCommand, - BatchWriteItemCommand, - CreateBackupCommand, - CreateGlobalTableCommand, - CreateTableCommand, - DeleteBackupCommand, - DeleteItemCommand, - DeleteResourcePolicyCommand, - DeleteTableCommand, - DescribeBackupCommand, - DescribeContinuousBackupsCommand, - DescribeContributorInsightsCommand, - DescribeEndpointsCommand, - DescribeExportCommand, - DescribeGlobalTableCommand, - DescribeGlobalTableSettingsCommand, - DescribeImportCommand, - DescribeKinesisStreamingDestinationCommand, - DescribeLimitsCommand, - DescribeTableCommand, - DescribeTableReplicaAutoScalingCommand, - DescribeTimeToLiveCommand, - DisableKinesisStreamingDestinationCommand, - EnableKinesisStreamingDestinationCommand, - ExecuteStatementCommand, - ExecuteTransactionCommand, - ExportTableToPointInTimeCommand, - GetItemCommand, - GetResourcePolicyCommand, - ImportTableCommand, - ListBackupsCommand, - ListContributorInsightsCommand, - ListExportsCommand, - ListGlobalTablesCommand, - ListImportsCommand, - ListTablesCommand, - ListTagsOfResourceCommand, - PutItemCommand, - PutResourcePolicyCommand, - QueryCommand, - RestoreTableFromBackupCommand, - RestoreTableToPointInTimeCommand, - ScanCommand, - TagResourceCommand, - TransactGetItemsCommand, - TransactWriteItemsCommand, - UntagResourceCommand, - UpdateContinuousBackupsCommand, - UpdateContributorInsightsCommand, - UpdateGlobalTableCommand, - UpdateGlobalTableSettingsCommand, - UpdateItemCommand, - UpdateKinesisStreamingDestinationCommand, - UpdateTableCommand, - UpdateTableReplicaAutoScalingCommand, - UpdateTimeToLiveCommand, -}; -const paginators = { - paginateListContributorInsights, - paginateListExports, - paginateListImports, - paginateListTables, - paginateQuery, - paginateScan, -}; -const waiters = { - waitUntilContributorInsightsEnabled, - waitUntilExportCompleted, - waitUntilImportCompleted, - waitUntilKinesisStreamingDestinationActive, - waitUntilTableExists, - waitUntilTableNotExists, -}; -export class DynamoDB extends DynamoDBClient { -} -createAggregatedClient(commands, DynamoDB, { paginators, waiters }); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDBClient.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDBClient.js deleted file mode 100644 index 0d7e0ac1..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDBClient.js +++ /dev/null @@ -1,55 +0,0 @@ -import { resolveAccountIdEndpointModeConfig, } from "@aws-sdk/core/account-id-endpoint"; -import { resolveEndpointDiscoveryConfig, } from "@aws-sdk/middleware-endpoint-discovery"; -import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header"; -import { getLoggerPlugin } from "@aws-sdk/middleware-logger"; -import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection"; -import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent"; -import { resolveRegionConfig } from "@smithy/config-resolver"; -import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core"; -import { getSchemaSerdePlugin } from "@smithy/core/schema"; -import { getContentLengthPlugin } from "@smithy/middleware-content-length"; -import { resolveEndpointConfig, } from "@smithy/middleware-endpoint"; -import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry"; -import { Client as __Client, } from "@smithy/smithy-client"; -import { defaultDynamoDBHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider"; -import { DescribeEndpointsCommand, } from "./commands/DescribeEndpointsCommand"; -import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters"; -import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; -import { resolveRuntimeExtensions } from "./runtimeExtensions"; -export { __Client }; -export class DynamoDBClient extends __Client { - config; - constructor(...[configuration]) { - const _config_0 = __getRuntimeConfig(configuration || {}); - super(_config_0); - this.initConfig = _config_0; - const _config_1 = resolveClientEndpointParameters(_config_0); - const _config_2 = resolveAccountIdEndpointModeConfig(_config_1); - const _config_3 = resolveUserAgentConfig(_config_2); - const _config_4 = resolveRetryConfig(_config_3); - const _config_5 = resolveRegionConfig(_config_4); - const _config_6 = resolveHostHeaderConfig(_config_5); - const _config_7 = resolveEndpointConfig(_config_6); - const _config_8 = resolveHttpAuthSchemeConfig(_config_7); - const _config_9 = resolveEndpointDiscoveryConfig(_config_8, { endpointDiscoveryCommandCtor: DescribeEndpointsCommand }); - const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []); - this.config = _config_10; - this.middlewareStack.use(getSchemaSerdePlugin(this.config)); - this.middlewareStack.use(getUserAgentPlugin(this.config)); - this.middlewareStack.use(getRetryPlugin(this.config)); - this.middlewareStack.use(getContentLengthPlugin(this.config)); - this.middlewareStack.use(getHostHeaderPlugin(this.config)); - this.middlewareStack.use(getLoggerPlugin(this.config)); - this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); - this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { - httpAuthSchemeParametersProvider: defaultDynamoDBHttpAuthSchemeParametersProvider, - identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ - "aws.auth#sigv4": config.credentials, - }), - })); - this.middlewareStack.use(getHttpSigningPlugin(this.config)); - } - destroy() { - super.destroy(); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthExtensionConfiguration.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthExtensionConfiguration.js deleted file mode 100644 index 2ba1d48c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthExtensionConfiguration.js +++ /dev/null @@ -1,38 +0,0 @@ -export const getHttpAuthExtensionConfiguration = (runtimeConfig) => { - const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; - let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; - let _credentials = runtimeConfig.credentials; - return { - setHttpAuthScheme(httpAuthScheme) { - const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); - if (index === -1) { - _httpAuthSchemes.push(httpAuthScheme); - } - else { - _httpAuthSchemes.splice(index, 1, httpAuthScheme); - } - }, - httpAuthSchemes() { - return _httpAuthSchemes; - }, - setHttpAuthSchemeProvider(httpAuthSchemeProvider) { - _httpAuthSchemeProvider = httpAuthSchemeProvider; - }, - httpAuthSchemeProvider() { - return _httpAuthSchemeProvider; - }, - setCredentials(credentials) { - _credentials = credentials; - }, - credentials() { - return _credentials; - }, - }; -}; -export const resolveHttpAuthRuntimeConfig = (config) => { - return { - httpAuthSchemes: config.httpAuthSchemes(), - httpAuthSchemeProvider: config.httpAuthSchemeProvider(), - credentials: config.credentials(), - }; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js deleted file mode 100644 index cb063563..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js +++ /dev/null @@ -1,40 +0,0 @@ -import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core"; -import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware"; -export const defaultDynamoDBHttpAuthSchemeParametersProvider = async (config, context, input) => { - return { - operation: getSmithyContext(context).operation, - region: await normalizeProvider(config.region)() || (() => { - throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); - })(), - }; -}; -function createAwsAuthSigv4HttpAuthOption(authParameters) { - return { - schemeId: "aws.auth#sigv4", - signingProperties: { - name: "dynamodb", - region: authParameters.region, - }, - propertiesExtractor: (config, context) => ({ - signingProperties: { - config, - context, - }, - }), - }; -} -export const defaultDynamoDBHttpAuthSchemeProvider = (authParameters) => { - const options = []; - switch (authParameters.operation) { - default: { - options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); - } - } - return options; -}; -export const resolveHttpAuthSchemeConfig = (config) => { - const config_0 = resolveAwsSdkSigV4Config(config); - return Object.assign(config_0, { - authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), - }); -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchExecuteStatementCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchExecuteStatementCommand.js deleted file mode 100644 index d05a9cdf..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchExecuteStatementCommand.js +++ /dev/null @@ -1,16 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { BatchExecuteStatement$ } from "../schemas/schemas_0"; -export { $Command }; -export class BatchExecuteStatementCommand extends $Command - .classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "BatchExecuteStatement", {}) - .n("DynamoDBClient", "BatchExecuteStatementCommand") - .sc(BatchExecuteStatement$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchGetItemCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchGetItemCommand.js deleted file mode 100644 index 3e65d376..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchGetItemCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { BatchGetItem$ } from "../schemas/schemas_0"; -export { $Command }; -export class BatchGetItemCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "BatchGetItem", {}) - .n("DynamoDBClient", "BatchGetItemCommand") - .sc(BatchGetItem$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchWriteItemCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchWriteItemCommand.js deleted file mode 100644 index ffdd5782..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchWriteItemCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { BatchWriteItem$ } from "../schemas/schemas_0"; -export { $Command }; -export class BatchWriteItemCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "BatchWriteItem", {}) - .n("DynamoDBClient", "BatchWriteItemCommand") - .sc(BatchWriteItem$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/CreateBackupCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/CreateBackupCommand.js deleted file mode 100644 index 0c0e3c29..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/CreateBackupCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { CreateBackup$ } from "../schemas/schemas_0"; -export { $Command }; -export class CreateBackupCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "CreateBackup", {}) - .n("DynamoDBClient", "CreateBackupCommand") - .sc(CreateBackup$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/CreateGlobalTableCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/CreateGlobalTableCommand.js deleted file mode 100644 index cb22ef7f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/CreateGlobalTableCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { CreateGlobalTable$ } from "../schemas/schemas_0"; -export { $Command }; -export class CreateGlobalTableCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "GlobalTableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "CreateGlobalTable", {}) - .n("DynamoDBClient", "CreateGlobalTableCommand") - .sc(CreateGlobalTable$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/CreateTableCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/CreateTableCommand.js deleted file mode 100644 index 8309d121..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/CreateTableCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { CreateTable$ } from "../schemas/schemas_0"; -export { $Command }; -export class CreateTableCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "CreateTable", {}) - .n("DynamoDBClient", "CreateTableCommand") - .sc(CreateTable$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteBackupCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteBackupCommand.js deleted file mode 100644 index f110b300..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteBackupCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteBackup$ } from "../schemas/schemas_0"; -export { $Command }; -export class DeleteBackupCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "BackupArn" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DeleteBackup", {}) - .n("DynamoDBClient", "DeleteBackupCommand") - .sc(DeleteBackup$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteItemCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteItemCommand.js deleted file mode 100644 index 80455670..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteItemCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteItem$ } from "../schemas/schemas_0"; -export { $Command }; -export class DeleteItemCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DeleteItem", {}) - .n("DynamoDBClient", "DeleteItemCommand") - .sc(DeleteItem$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteResourcePolicyCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteResourcePolicyCommand.js deleted file mode 100644 index 489c3177..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteResourcePolicyCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteResourcePolicy$ } from "../schemas/schemas_0"; -export { $Command }; -export class DeleteResourcePolicyCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ResourceArn" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DeleteResourcePolicy", {}) - .n("DynamoDBClient", "DeleteResourcePolicyCommand") - .sc(DeleteResourcePolicy$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteTableCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteTableCommand.js deleted file mode 100644 index 244f508e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteTableCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DeleteTable$ } from "../schemas/schemas_0"; -export { $Command }; -export class DeleteTableCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DeleteTable", {}) - .n("DynamoDBClient", "DeleteTableCommand") - .sc(DeleteTable$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeBackupCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeBackupCommand.js deleted file mode 100644 index d29d2bdc..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeBackupCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeBackup$ } from "../schemas/schemas_0"; -export { $Command }; -export class DescribeBackupCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "BackupArn" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeBackup", {}) - .n("DynamoDBClient", "DescribeBackupCommand") - .sc(DescribeBackup$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeContinuousBackupsCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeContinuousBackupsCommand.js deleted file mode 100644 index 2f07ae54..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeContinuousBackupsCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeContinuousBackups$ } from "../schemas/schemas_0"; -export { $Command }; -export class DescribeContinuousBackupsCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeContinuousBackups", {}) - .n("DynamoDBClient", "DescribeContinuousBackupsCommand") - .sc(DescribeContinuousBackups$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeContributorInsightsCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeContributorInsightsCommand.js deleted file mode 100644 index 629b071b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeContributorInsightsCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeContributorInsights$ } from "../schemas/schemas_0"; -export { $Command }; -export class DescribeContributorInsightsCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeContributorInsights", {}) - .n("DynamoDBClient", "DescribeContributorInsightsCommand") - .sc(DescribeContributorInsights$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeEndpointsCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeEndpointsCommand.js deleted file mode 100644 index f6997b14..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeEndpointsCommand.js +++ /dev/null @@ -1,16 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeEndpoints$ } from "../schemas/schemas_0"; -export { $Command }; -export class DescribeEndpointsCommand extends $Command - .classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeEndpoints", {}) - .n("DynamoDBClient", "DescribeEndpointsCommand") - .sc(DescribeEndpoints$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeExportCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeExportCommand.js deleted file mode 100644 index f802fe98..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeExportCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeExport$ } from "../schemas/schemas_0"; -export { $Command }; -export class DescribeExportCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ExportArn" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeExport", {}) - .n("DynamoDBClient", "DescribeExportCommand") - .sc(DescribeExport$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeGlobalTableCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeGlobalTableCommand.js deleted file mode 100644 index bf971ff5..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeGlobalTableCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeGlobalTable$ } from "../schemas/schemas_0"; -export { $Command }; -export class DescribeGlobalTableCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "GlobalTableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeGlobalTable", {}) - .n("DynamoDBClient", "DescribeGlobalTableCommand") - .sc(DescribeGlobalTable$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeGlobalTableSettingsCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeGlobalTableSettingsCommand.js deleted file mode 100644 index eaf4977c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeGlobalTableSettingsCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeGlobalTableSettings$ } from "../schemas/schemas_0"; -export { $Command }; -export class DescribeGlobalTableSettingsCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "GlobalTableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeGlobalTableSettings", {}) - .n("DynamoDBClient", "DescribeGlobalTableSettingsCommand") - .sc(DescribeGlobalTableSettings$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeImportCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeImportCommand.js deleted file mode 100644 index 29028b87..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeImportCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeImport$ } from "../schemas/schemas_0"; -export { $Command }; -export class DescribeImportCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ImportArn" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeImport", {}) - .n("DynamoDBClient", "DescribeImportCommand") - .sc(DescribeImport$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js deleted file mode 100644 index d4044261..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeKinesisStreamingDestination$ } from "../schemas/schemas_0"; -export { $Command }; -export class DescribeKinesisStreamingDestinationCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeKinesisStreamingDestination", {}) - .n("DynamoDBClient", "DescribeKinesisStreamingDestinationCommand") - .sc(DescribeKinesisStreamingDestination$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeLimitsCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeLimitsCommand.js deleted file mode 100644 index 221a1aea..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeLimitsCommand.js +++ /dev/null @@ -1,16 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeLimits$ } from "../schemas/schemas_0"; -export { $Command }; -export class DescribeLimitsCommand extends $Command - .classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeLimits", {}) - .n("DynamoDBClient", "DescribeLimitsCommand") - .sc(DescribeLimits$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeTableCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeTableCommand.js deleted file mode 100644 index 623e9c9c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeTableCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeTable$ } from "../schemas/schemas_0"; -export { $Command }; -export class DescribeTableCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeTable", {}) - .n("DynamoDBClient", "DescribeTableCommand") - .sc(DescribeTable$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js deleted file mode 100644 index 6de96498..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeTableReplicaAutoScaling$ } from "../schemas/schemas_0"; -export { $Command }; -export class DescribeTableReplicaAutoScalingCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeTableReplicaAutoScaling", {}) - .n("DynamoDBClient", "DescribeTableReplicaAutoScalingCommand") - .sc(DescribeTableReplicaAutoScaling$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeTimeToLiveCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeTimeToLiveCommand.js deleted file mode 100644 index cfcb05fc..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeTimeToLiveCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeTimeToLive$ } from "../schemas/schemas_0"; -export { $Command }; -export class DescribeTimeToLiveCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DescribeTimeToLive", {}) - .n("DynamoDBClient", "DescribeTimeToLiveCommand") - .sc(DescribeTimeToLive$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DisableKinesisStreamingDestinationCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DisableKinesisStreamingDestinationCommand.js deleted file mode 100644 index 1da853dd..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { DisableKinesisStreamingDestination$ } from "../schemas/schemas_0"; -export { $Command }; -export class DisableKinesisStreamingDestinationCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "DisableKinesisStreamingDestination", {}) - .n("DynamoDBClient", "DisableKinesisStreamingDestinationCommand") - .sc(DisableKinesisStreamingDestination$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/EnableKinesisStreamingDestinationCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/EnableKinesisStreamingDestinationCommand.js deleted file mode 100644 index 86c08572..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { EnableKinesisStreamingDestination$ } from "../schemas/schemas_0"; -export { $Command }; -export class EnableKinesisStreamingDestinationCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "EnableKinesisStreamingDestination", {}) - .n("DynamoDBClient", "EnableKinesisStreamingDestinationCommand") - .sc(EnableKinesisStreamingDestination$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ExecuteStatementCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ExecuteStatementCommand.js deleted file mode 100644 index d4b0df0c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ExecuteStatementCommand.js +++ /dev/null @@ -1,16 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ExecuteStatement$ } from "../schemas/schemas_0"; -export { $Command }; -export class ExecuteStatementCommand extends $Command - .classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ExecuteStatement", {}) - .n("DynamoDBClient", "ExecuteStatementCommand") - .sc(ExecuteStatement$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ExecuteTransactionCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ExecuteTransactionCommand.js deleted file mode 100644 index bc38003c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ExecuteTransactionCommand.js +++ /dev/null @@ -1,16 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ExecuteTransaction$ } from "../schemas/schemas_0"; -export { $Command }; -export class ExecuteTransactionCommand extends $Command - .classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ExecuteTransaction", {}) - .n("DynamoDBClient", "ExecuteTransactionCommand") - .sc(ExecuteTransaction$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ExportTableToPointInTimeCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ExportTableToPointInTimeCommand.js deleted file mode 100644 index f49c0290..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ExportTableToPointInTimeCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ExportTableToPointInTime$ } from "../schemas/schemas_0"; -export { $Command }; -export class ExportTableToPointInTimeCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableArn" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ExportTableToPointInTime", {}) - .n("DynamoDBClient", "ExportTableToPointInTimeCommand") - .sc(ExportTableToPointInTime$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/GetItemCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/GetItemCommand.js deleted file mode 100644 index 0ea69835..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/GetItemCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetItem$ } from "../schemas/schemas_0"; -export { $Command }; -export class GetItemCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "GetItem", {}) - .n("DynamoDBClient", "GetItemCommand") - .sc(GetItem$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/GetResourcePolicyCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/GetResourcePolicyCommand.js deleted file mode 100644 index 8aebfb41..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/GetResourcePolicyCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { GetResourcePolicy$ } from "../schemas/schemas_0"; -export { $Command }; -export class GetResourcePolicyCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ResourceArn" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "GetResourcePolicy", {}) - .n("DynamoDBClient", "GetResourcePolicyCommand") - .sc(GetResourcePolicy$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ImportTableCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ImportTableCommand.js deleted file mode 100644 index 08332145..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ImportTableCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ImportTable$ } from "../schemas/schemas_0"; -export { $Command }; -export class ImportTableCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "operationContextParams", get: (input) => input?.TableCreationParameters?.TableName }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ImportTable", {}) - .n("DynamoDBClient", "ImportTableCommand") - .sc(ImportTable$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListBackupsCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListBackupsCommand.js deleted file mode 100644 index e4a8f407..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListBackupsCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListBackups$ } from "../schemas/schemas_0"; -export { $Command }; -export class ListBackupsCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ListBackups", {}) - .n("DynamoDBClient", "ListBackupsCommand") - .sc(ListBackups$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListContributorInsightsCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListContributorInsightsCommand.js deleted file mode 100644 index ce2d30d7..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListContributorInsightsCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListContributorInsights$ } from "../schemas/schemas_0"; -export { $Command }; -export class ListContributorInsightsCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ListContributorInsights", {}) - .n("DynamoDBClient", "ListContributorInsightsCommand") - .sc(ListContributorInsights$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListExportsCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListExportsCommand.js deleted file mode 100644 index 771cdf0d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListExportsCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListExports$ } from "../schemas/schemas_0"; -export { $Command }; -export class ListExportsCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableArn" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ListExports", {}) - .n("DynamoDBClient", "ListExportsCommand") - .sc(ListExports$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListGlobalTablesCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListGlobalTablesCommand.js deleted file mode 100644 index 22c52071..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListGlobalTablesCommand.js +++ /dev/null @@ -1,16 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListGlobalTables$ } from "../schemas/schemas_0"; -export { $Command }; -export class ListGlobalTablesCommand extends $Command - .classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ListGlobalTables", {}) - .n("DynamoDBClient", "ListGlobalTablesCommand") - .sc(ListGlobalTables$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListImportsCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListImportsCommand.js deleted file mode 100644 index c84e3080..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListImportsCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListImports$ } from "../schemas/schemas_0"; -export { $Command }; -export class ListImportsCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableArn" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ListImports", {}) - .n("DynamoDBClient", "ListImportsCommand") - .sc(ListImports$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListTablesCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListTablesCommand.js deleted file mode 100644 index ff62b8f6..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListTablesCommand.js +++ /dev/null @@ -1,16 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListTables$ } from "../schemas/schemas_0"; -export { $Command }; -export class ListTablesCommand extends $Command - .classBuilder() - .ep(commonParams) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ListTables", {}) - .n("DynamoDBClient", "ListTablesCommand") - .sc(ListTables$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListTagsOfResourceCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListTagsOfResourceCommand.js deleted file mode 100644 index 2f72a8e2..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListTagsOfResourceCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { ListTagsOfResource$ } from "../schemas/schemas_0"; -export { $Command }; -export class ListTagsOfResourceCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ResourceArn" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "ListTagsOfResource", {}) - .n("DynamoDBClient", "ListTagsOfResourceCommand") - .sc(ListTagsOfResource$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/PutItemCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/PutItemCommand.js deleted file mode 100644 index fdb6f24b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/PutItemCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { PutItem$ } from "../schemas/schemas_0"; -export { $Command }; -export class PutItemCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "PutItem", {}) - .n("DynamoDBClient", "PutItemCommand") - .sc(PutItem$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/PutResourcePolicyCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/PutResourcePolicyCommand.js deleted file mode 100644 index 498f3ace..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/PutResourcePolicyCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { PutResourcePolicy$ } from "../schemas/schemas_0"; -export { $Command }; -export class PutResourcePolicyCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ResourceArn" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "PutResourcePolicy", {}) - .n("DynamoDBClient", "PutResourcePolicyCommand") - .sc(PutResourcePolicy$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/QueryCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/QueryCommand.js deleted file mode 100644 index 5a6434c2..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/QueryCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { Query$ } from "../schemas/schemas_0"; -export { $Command }; -export class QueryCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "Query", {}) - .n("DynamoDBClient", "QueryCommand") - .sc(Query$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/RestoreTableFromBackupCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/RestoreTableFromBackupCommand.js deleted file mode 100644 index dc707d02..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/RestoreTableFromBackupCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { RestoreTableFromBackup$ } from "../schemas/schemas_0"; -export { $Command }; -export class RestoreTableFromBackupCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TargetTableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "RestoreTableFromBackup", {}) - .n("DynamoDBClient", "RestoreTableFromBackupCommand") - .sc(RestoreTableFromBackup$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/RestoreTableToPointInTimeCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/RestoreTableToPointInTimeCommand.js deleted file mode 100644 index 411dbafd..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/RestoreTableToPointInTimeCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { RestoreTableToPointInTime$ } from "../schemas/schemas_0"; -export { $Command }; -export class RestoreTableToPointInTimeCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TargetTableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "RestoreTableToPointInTime", {}) - .n("DynamoDBClient", "RestoreTableToPointInTimeCommand") - .sc(RestoreTableToPointInTime$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ScanCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ScanCommand.js deleted file mode 100644 index ac9dd8bd..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ScanCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { Scan$ } from "../schemas/schemas_0"; -export { $Command }; -export class ScanCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "Scan", {}) - .n("DynamoDBClient", "ScanCommand") - .sc(Scan$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TagResourceCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TagResourceCommand.js deleted file mode 100644 index 7a8ccf53..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TagResourceCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { TagResource$ } from "../schemas/schemas_0"; -export { $Command }; -export class TagResourceCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ResourceArn" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "TagResource", {}) - .n("DynamoDBClient", "TagResourceCommand") - .sc(TagResource$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TransactGetItemsCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TransactGetItemsCommand.js deleted file mode 100644 index c522c838..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TransactGetItemsCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { TransactGetItems$ } from "../schemas/schemas_0"; -export { $Command }; -export class TransactGetItemsCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => obj?.Get?.TableName) }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "TransactGetItems", {}) - .n("DynamoDBClient", "TransactGetItemsCommand") - .sc(TransactGetItems$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TransactWriteItemsCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TransactWriteItemsCommand.js deleted file mode 100644 index 25f338fe..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TransactWriteItemsCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { TransactWriteItems$ } from "../schemas/schemas_0"; -export { $Command }; -export class TransactWriteItemsCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => [obj?.ConditionCheck?.TableName, obj?.Put?.TableName, obj?.Delete?.TableName, obj?.Update?.TableName].filter((i) => i)).flat() }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "TransactWriteItems", {}) - .n("DynamoDBClient", "TransactWriteItemsCommand") - .sc(TransactWriteItems$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UntagResourceCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UntagResourceCommand.js deleted file mode 100644 index ef57a6d2..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UntagResourceCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UntagResource$ } from "../schemas/schemas_0"; -export { $Command }; -export class UntagResourceCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "ResourceArn" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UntagResource", {}) - .n("DynamoDBClient", "UntagResourceCommand") - .sc(UntagResource$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateContinuousBackupsCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateContinuousBackupsCommand.js deleted file mode 100644 index 713d143a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateContinuousBackupsCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateContinuousBackups$ } from "../schemas/schemas_0"; -export { $Command }; -export class UpdateContinuousBackupsCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateContinuousBackups", {}) - .n("DynamoDBClient", "UpdateContinuousBackupsCommand") - .sc(UpdateContinuousBackups$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateContributorInsightsCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateContributorInsightsCommand.js deleted file mode 100644 index 6c6fcd38..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateContributorInsightsCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateContributorInsights$ } from "../schemas/schemas_0"; -export { $Command }; -export class UpdateContributorInsightsCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateContributorInsights", {}) - .n("DynamoDBClient", "UpdateContributorInsightsCommand") - .sc(UpdateContributorInsights$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateGlobalTableCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateGlobalTableCommand.js deleted file mode 100644 index 5914741e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateGlobalTableCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateGlobalTable$ } from "../schemas/schemas_0"; -export { $Command }; -export class UpdateGlobalTableCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "GlobalTableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateGlobalTable", {}) - .n("DynamoDBClient", "UpdateGlobalTableCommand") - .sc(UpdateGlobalTable$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateGlobalTableSettingsCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateGlobalTableSettingsCommand.js deleted file mode 100644 index 0ef90965..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateGlobalTableSettingsCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateGlobalTableSettings$ } from "../schemas/schemas_0"; -export { $Command }; -export class UpdateGlobalTableSettingsCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "GlobalTableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateGlobalTableSettings", {}) - .n("DynamoDBClient", "UpdateGlobalTableSettingsCommand") - .sc(UpdateGlobalTableSettings$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateItemCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateItemCommand.js deleted file mode 100644 index 33813c38..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateItemCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateItem$ } from "../schemas/schemas_0"; -export { $Command }; -export class UpdateItemCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateItem", {}) - .n("DynamoDBClient", "UpdateItemCommand") - .sc(UpdateItem$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js deleted file mode 100644 index dc6ea711..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateKinesisStreamingDestination$ } from "../schemas/schemas_0"; -export { $Command }; -export class UpdateKinesisStreamingDestinationCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateKinesisStreamingDestination", {}) - .n("DynamoDBClient", "UpdateKinesisStreamingDestinationCommand") - .sc(UpdateKinesisStreamingDestination$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateTableCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateTableCommand.js deleted file mode 100644 index c04d8369..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateTableCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateTable$ } from "../schemas/schemas_0"; -export { $Command }; -export class UpdateTableCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateTable", {}) - .n("DynamoDBClient", "UpdateTableCommand") - .sc(UpdateTable$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js deleted file mode 100644 index a4698ccb..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateTableReplicaAutoScaling$ } from "../schemas/schemas_0"; -export { $Command }; -export class UpdateTableReplicaAutoScalingCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateTableReplicaAutoScaling", {}) - .n("DynamoDBClient", "UpdateTableReplicaAutoScalingCommand") - .sc(UpdateTableReplicaAutoScaling$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateTimeToLiveCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateTimeToLiveCommand.js deleted file mode 100644 index e608929a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateTimeToLiveCommand.js +++ /dev/null @@ -1,19 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { commonParams } from "../endpoint/EndpointParameters"; -import { UpdateTimeToLive$ } from "../schemas/schemas_0"; -export { $Command }; -export class UpdateTimeToLiveCommand extends $Command - .classBuilder() - .ep({ - ...commonParams, - ResourceArn: { type: "contextParams", name: "TableName" }, -}) - .m(function (Command, cs, config, o) { - return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; -}) - .s("DynamoDB_20120810", "UpdateTimeToLive", {}) - .n("DynamoDBClient", "UpdateTimeToLiveCommand") - .sc(UpdateTimeToLive$) - .build() { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/index.js deleted file mode 100644 index a5053a45..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/index.js +++ /dev/null @@ -1,57 +0,0 @@ -export * from "./BatchExecuteStatementCommand"; -export * from "./BatchGetItemCommand"; -export * from "./BatchWriteItemCommand"; -export * from "./CreateBackupCommand"; -export * from "./CreateGlobalTableCommand"; -export * from "./CreateTableCommand"; -export * from "./DeleteBackupCommand"; -export * from "./DeleteItemCommand"; -export * from "./DeleteResourcePolicyCommand"; -export * from "./DeleteTableCommand"; -export * from "./DescribeBackupCommand"; -export * from "./DescribeContinuousBackupsCommand"; -export * from "./DescribeContributorInsightsCommand"; -export * from "./DescribeEndpointsCommand"; -export * from "./DescribeExportCommand"; -export * from "./DescribeGlobalTableCommand"; -export * from "./DescribeGlobalTableSettingsCommand"; -export * from "./DescribeImportCommand"; -export * from "./DescribeKinesisStreamingDestinationCommand"; -export * from "./DescribeLimitsCommand"; -export * from "./DescribeTableCommand"; -export * from "./DescribeTableReplicaAutoScalingCommand"; -export * from "./DescribeTimeToLiveCommand"; -export * from "./DisableKinesisStreamingDestinationCommand"; -export * from "./EnableKinesisStreamingDestinationCommand"; -export * from "./ExecuteStatementCommand"; -export * from "./ExecuteTransactionCommand"; -export * from "./ExportTableToPointInTimeCommand"; -export * from "./GetItemCommand"; -export * from "./GetResourcePolicyCommand"; -export * from "./ImportTableCommand"; -export * from "./ListBackupsCommand"; -export * from "./ListContributorInsightsCommand"; -export * from "./ListExportsCommand"; -export * from "./ListGlobalTablesCommand"; -export * from "./ListImportsCommand"; -export * from "./ListTablesCommand"; -export * from "./ListTagsOfResourceCommand"; -export * from "./PutItemCommand"; -export * from "./PutResourcePolicyCommand"; -export * from "./QueryCommand"; -export * from "./RestoreTableFromBackupCommand"; -export * from "./RestoreTableToPointInTimeCommand"; -export * from "./ScanCommand"; -export * from "./TagResourceCommand"; -export * from "./TransactGetItemsCommand"; -export * from "./TransactWriteItemsCommand"; -export * from "./UntagResourceCommand"; -export * from "./UpdateContinuousBackupsCommand"; -export * from "./UpdateContributorInsightsCommand"; -export * from "./UpdateGlobalTableCommand"; -export * from "./UpdateGlobalTableSettingsCommand"; -export * from "./UpdateItemCommand"; -export * from "./UpdateKinesisStreamingDestinationCommand"; -export * from "./UpdateTableCommand"; -export * from "./UpdateTableReplicaAutoScalingCommand"; -export * from "./UpdateTimeToLiveCommand"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/EndpointParameters.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/EndpointParameters.js deleted file mode 100644 index e5cae7da..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/EndpointParameters.js +++ /dev/null @@ -1,15 +0,0 @@ -export const resolveClientEndpointParameters = (options) => { - return Object.assign(options, { - useDualstackEndpoint: options.useDualstackEndpoint ?? false, - useFipsEndpoint: options.useFipsEndpoint ?? false, - defaultSigningName: "dynamodb", - }); -}; -export const commonParams = { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - AccountId: { type: "builtInParams", name: "accountId" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - AccountIdEndpointMode: { type: "builtInParams", name: "accountIdEndpointMode" }, -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/endpointResolver.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/endpointResolver.js deleted file mode 100644 index 7fbe4859..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/endpointResolver.js +++ /dev/null @@ -1,23 +0,0 @@ -import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; -import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints"; -import { ruleSet } from "./ruleset"; -const cache = new EndpointCache({ - size: 50, - params: [ - "AccountId", - "AccountIdEndpointMode", - "Endpoint", - "Region", - "ResourceArn", - "ResourceArnList", - "UseDualStack", - "UseFIPS", - ], -}); -export const defaultEndpointResolver = (endpointParams, context = {}) => { - return cache.get(endpointParams, () => resolveEndpoint(ruleSet, { - endpointParams: endpointParams, - logger: context.logger, - })); -}; -customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js deleted file mode 100644 index 026af4e7..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js +++ /dev/null @@ -1,4 +0,0 @@ -const K = "required", L = "type", M = "rules", N = "conditions", O = "fn", P = "argv", Q = "ref", R = "assign", S = "url", T = "properties", U = "headers", V = "metricValues"; -const a = false, b = "error", c = "stringEquals", d = "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", e = "endpoint", f = "tree", g = "dynamodb", h = { [K]: false, [L]: "string" }, i = { [K]: true, "default": false, [L]: "boolean" }, j = { [O]: "isSet", [P]: [{ [Q]: "Endpoint" }] }, k = { [Q]: "Endpoint" }, l = { [O]: "isSet", [P]: [{ [Q]: "Region" }] }, m = { [Q]: "Region" }, n = { [O]: "aws.partition", [P]: [m], [R]: "PartitionResult" }, o = { [N]: [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }], [b]: "Invalid Configuration: FIPS and custom endpoint are not supported", [L]: b }, p = { [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }, q = { [N]: [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }], [b]: "Invalid Configuration: Dualstack and custom endpoint are not supported", [L]: b }, r = { [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }, s = { [e]: { [S]: "{Endpoint}", [T]: {}, [U]: {} }, [L]: e }, t = {}, u = { [O]: "booleanEquals", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "supportsFIPS"] }, true] }, v = { [O]: "booleanEquals", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "supportsDualStack"] }, true] }, w = { [N]: [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "required"] }], [M]: [{ [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [L]: b }], [L]: f }, x = { [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "name"] }, y = { [e]: { [S]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [T]: {}, [U]: {} }, [L]: e }, z = { [S]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: { [V]: ["O"] }, [U]: {} }, A = { [V]: ["O"] }, B = { [b]: "Credentials-sourced account ID parameter is invalid", [L]: b }, C = { [N]: [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "required"] }], [M]: [{ [N]: [{ [O]: "not", [P]: [p] }], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws"] }], [M]: [{ [b]: "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded", [L]: b }], [L]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition", [L]: b }], [L]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [L]: b }], [L]: f }, D = { [S]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: {} }, E = [p], F = [r], G = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "ResourceArn" }] }, { [O]: "aws.parseArn", [P]: [{ [Q]: "ResourceArn" }], [R]: "ParsedArn" }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "service"] }, g] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, false] }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, "{Region}"] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "accountId"] }, false] }], H = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "ResourceArnList" }] }, { [O]: "getAttr", [P]: [{ [Q]: "ResourceArnList" }, "[0]"], [R]: "FirstArn" }, { [O]: "aws.parseArn", [P]: [{ [Q]: "FirstArn" }], [R]: "ParsedArn" }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "service"] }, g] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, false] }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, "{Region}"] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "accountId"] }, false] }], I = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "AccountId" }] }], J = [{ [O]: "isValidHostLabel", [P]: [{ [Q]: "AccountId" }, false] }]; -const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, AccountId: h, AccountIdEndpointMode: h, ResourceArn: h, ResourceArnList: { [K]: a, [L]: "stringArray" } }, [M]: [{ [N]: [j, l, n], [M]: [o, q, { [N]: [{ [O]: c, [P]: [k, d] }], error: "Endpoint override is not supported for dual-stack endpoints. Please enable dual-stack functionality by enabling the configuration. For more details, see: https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html", [L]: b }, s], [L]: f }, { [N]: [j], [M]: [o, q, s], [L]: f }, { [N]: [l], [M]: [{ [N]: [n], [M]: [{ [N]: [{ [O]: c, [P]: [m, "local"] }], [M]: [{ [N]: E, error: "Invalid Configuration: FIPS and local endpoint are not supported", [L]: b }, { [N]: F, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [L]: b }, { endpoint: { [S]: "http://localhost:8000", [T]: { authSchemes: [{ name: "sigv4", signingName: g, signingRegion: "us-east-1" }] }, [U]: t }, [L]: e }], [L]: f }, { [N]: [p, r], [M]: [{ [N]: [u, v], [M]: [w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [L]: b }], [L]: f }, { [N]: E, [M]: [{ [N]: [u], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws-us-gov"] }], [M]: [w, y], [L]: f }, w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS is enabled but this partition does not support FIPS", [L]: b }], [L]: f }, { [N]: F, [M]: [{ [N]: [v], [M]: [{ [N]: G, endpoint: z, [L]: e }, { [N]: H, endpoint: z, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, { endpoint: { [S]: d, [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "DualStack is enabled but this partition does not support DualStack", [L]: b }], [L]: f }, { [N]: G, endpoint: D, [L]: e }, { [N]: H, endpoint: D, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, y], [L]: f }], [L]: f }, { error: "Invalid Configuration: Missing Region", [L]: b }] }; -export const ruleSet = _data; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/extensionConfiguration.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/extensionConfiguration.js deleted file mode 100644 index cb0ff5c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/extensionConfiguration.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/index.js deleted file mode 100644 index 9e6f00c5..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/index.js +++ /dev/null @@ -1,10 +0,0 @@ -export * from "./DynamoDBClient"; -export * from "./DynamoDB"; -export * from "./commands"; -export * from "./schemas/schemas_0"; -export * from "./pagination"; -export * from "./waiters"; -export * from "./models/enums"; -export * from "./models/errors"; -export * from "./models/models_0"; -export { DynamoDBServiceException } from "./models/DynamoDBServiceException"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/DynamoDBServiceException.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/DynamoDBServiceException.js deleted file mode 100644 index 27129038..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/DynamoDBServiceException.js +++ /dev/null @@ -1,8 +0,0 @@ -import { ServiceException as __ServiceException, } from "@smithy/smithy-client"; -export { __ServiceException }; -export class DynamoDBServiceException extends __ServiceException { - constructor(options) { - super(options); - Object.setPrototypeOf(this, DynamoDBServiceException.prototype); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/enums.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/enums.js deleted file mode 100644 index 8f6dbd67..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/enums.js +++ /dev/null @@ -1,245 +0,0 @@ -export const ApproximateCreationDateTimePrecision = { - MICROSECOND: "MICROSECOND", - MILLISECOND: "MILLISECOND", -}; -export const AttributeAction = { - ADD: "ADD", - DELETE: "DELETE", - PUT: "PUT", -}; -export const ScalarAttributeType = { - B: "B", - N: "N", - S: "S", -}; -export const BackupStatus = { - AVAILABLE: "AVAILABLE", - CREATING: "CREATING", - DELETED: "DELETED", -}; -export const BackupType = { - AWS_BACKUP: "AWS_BACKUP", - SYSTEM: "SYSTEM", - USER: "USER", -}; -export const BillingMode = { - PAY_PER_REQUEST: "PAY_PER_REQUEST", - PROVISIONED: "PROVISIONED", -}; -export const KeyType = { - HASH: "HASH", - RANGE: "RANGE", -}; -export const ProjectionType = { - ALL: "ALL", - INCLUDE: "INCLUDE", - KEYS_ONLY: "KEYS_ONLY", -}; -export const SSEType = { - AES256: "AES256", - KMS: "KMS", -}; -export const SSEStatus = { - DISABLED: "DISABLED", - DISABLING: "DISABLING", - ENABLED: "ENABLED", - ENABLING: "ENABLING", - UPDATING: "UPDATING", -}; -export const StreamViewType = { - KEYS_ONLY: "KEYS_ONLY", - NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES", - NEW_IMAGE: "NEW_IMAGE", - OLD_IMAGE: "OLD_IMAGE", -}; -export const TimeToLiveStatus = { - DISABLED: "DISABLED", - DISABLING: "DISABLING", - ENABLED: "ENABLED", - ENABLING: "ENABLING", -}; -export const BackupTypeFilter = { - ALL: "ALL", - AWS_BACKUP: "AWS_BACKUP", - SYSTEM: "SYSTEM", - USER: "USER", -}; -export const ReturnConsumedCapacity = { - INDEXES: "INDEXES", - NONE: "NONE", - TOTAL: "TOTAL", -}; -export const ReturnValuesOnConditionCheckFailure = { - ALL_OLD: "ALL_OLD", - NONE: "NONE", -}; -export const BatchStatementErrorCodeEnum = { - AccessDenied: "AccessDenied", - ConditionalCheckFailed: "ConditionalCheckFailed", - DuplicateItem: "DuplicateItem", - InternalServerError: "InternalServerError", - ItemCollectionSizeLimitExceeded: "ItemCollectionSizeLimitExceeded", - ProvisionedThroughputExceeded: "ProvisionedThroughputExceeded", - RequestLimitExceeded: "RequestLimitExceeded", - ResourceNotFound: "ResourceNotFound", - ThrottlingError: "ThrottlingError", - TransactionConflict: "TransactionConflict", - ValidationError: "ValidationError", -}; -export const ReturnItemCollectionMetrics = { - NONE: "NONE", - SIZE: "SIZE", -}; -export const ComparisonOperator = { - BEGINS_WITH: "BEGINS_WITH", - BETWEEN: "BETWEEN", - CONTAINS: "CONTAINS", - EQ: "EQ", - GE: "GE", - GT: "GT", - IN: "IN", - LE: "LE", - LT: "LT", - NE: "NE", - NOT_CONTAINS: "NOT_CONTAINS", - NOT_NULL: "NOT_NULL", - NULL: "NULL", -}; -export const ConditionalOperator = { - AND: "AND", - OR: "OR", -}; -export const ContinuousBackupsStatus = { - DISABLED: "DISABLED", - ENABLED: "ENABLED", -}; -export const PointInTimeRecoveryStatus = { - DISABLED: "DISABLED", - ENABLED: "ENABLED", -}; -export const ContributorInsightsAction = { - DISABLE: "DISABLE", - ENABLE: "ENABLE", -}; -export const ContributorInsightsMode = { - ACCESSED_AND_THROTTLED_KEYS: "ACCESSED_AND_THROTTLED_KEYS", - THROTTLED_KEYS: "THROTTLED_KEYS", -}; -export const ContributorInsightsStatus = { - DISABLED: "DISABLED", - DISABLING: "DISABLING", - ENABLED: "ENABLED", - ENABLING: "ENABLING", - FAILED: "FAILED", -}; -export const GlobalTableStatus = { - ACTIVE: "ACTIVE", - CREATING: "CREATING", - DELETING: "DELETING", - UPDATING: "UPDATING", -}; -export const IndexStatus = { - ACTIVE: "ACTIVE", - CREATING: "CREATING", - DELETING: "DELETING", - UPDATING: "UPDATING", -}; -export const GlobalTableSettingsReplicationMode = { - DISABLED: "DISABLED", - ENABLED: "ENABLED", - ENABLED_WITH_OVERRIDES: "ENABLED_WITH_OVERRIDES", -}; -export const ReplicaStatus = { - ACTIVE: "ACTIVE", - ARCHIVED: "ARCHIVED", - ARCHIVING: "ARCHIVING", - CREATING: "CREATING", - CREATION_FAILED: "CREATION_FAILED", - DELETING: "DELETING", - INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS", - REGION_DISABLED: "REGION_DISABLED", - REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED", - UPDATING: "UPDATING", -}; -export const TableClass = { - STANDARD: "STANDARD", - STANDARD_INFREQUENT_ACCESS: "STANDARD_INFREQUENT_ACCESS", -}; -export const TableStatus = { - ACTIVE: "ACTIVE", - ARCHIVED: "ARCHIVED", - ARCHIVING: "ARCHIVING", - CREATING: "CREATING", - DELETING: "DELETING", - INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS", - REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED", - UPDATING: "UPDATING", -}; -export const WitnessStatus = { - ACTIVE: "ACTIVE", - CREATING: "CREATING", - DELETING: "DELETING", -}; -export const MultiRegionConsistency = { - EVENTUAL: "EVENTUAL", - STRONG: "STRONG", -}; -export const ReturnValue = { - ALL_NEW: "ALL_NEW", - ALL_OLD: "ALL_OLD", - NONE: "NONE", - UPDATED_NEW: "UPDATED_NEW", - UPDATED_OLD: "UPDATED_OLD", -}; -export const ExportFormat = { - DYNAMODB_JSON: "DYNAMODB_JSON", - ION: "ION", -}; -export const ExportStatus = { - COMPLETED: "COMPLETED", - FAILED: "FAILED", - IN_PROGRESS: "IN_PROGRESS", -}; -export const ExportType = { - FULL_EXPORT: "FULL_EXPORT", - INCREMENTAL_EXPORT: "INCREMENTAL_EXPORT", -}; -export const ExportViewType = { - NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES", - NEW_IMAGE: "NEW_IMAGE", -}; -export const S3SseAlgorithm = { - AES256: "AES256", - KMS: "KMS", -}; -export const ImportStatus = { - CANCELLED: "CANCELLED", - CANCELLING: "CANCELLING", - COMPLETED: "COMPLETED", - FAILED: "FAILED", - IN_PROGRESS: "IN_PROGRESS", -}; -export const InputCompressionType = { - GZIP: "GZIP", - NONE: "NONE", - ZSTD: "ZSTD", -}; -export const InputFormat = { - CSV: "CSV", - DYNAMODB_JSON: "DYNAMODB_JSON", - ION: "ION", -}; -export const DestinationStatus = { - ACTIVE: "ACTIVE", - DISABLED: "DISABLED", - DISABLING: "DISABLING", - ENABLE_FAILED: "ENABLE_FAILED", - ENABLING: "ENABLING", - UPDATING: "UPDATING", -}; -export const Select = { - ALL_ATTRIBUTES: "ALL_ATTRIBUTES", - ALL_PROJECTED_ATTRIBUTES: "ALL_PROJECTED_ATTRIBUTES", - COUNT: "COUNT", - SPECIFIC_ATTRIBUTES: "SPECIFIC_ATTRIBUTES", -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/errors.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/errors.js deleted file mode 100644 index 65734a62..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/errors.js +++ /dev/null @@ -1,440 +0,0 @@ -import { DynamoDBServiceException as __BaseException } from "./DynamoDBServiceException"; -export class BackupInUseException extends __BaseException { - name = "BackupInUseException"; - $fault = "client"; - constructor(opts) { - super({ - name: "BackupInUseException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, BackupInUseException.prototype); - } -} -export class BackupNotFoundException extends __BaseException { - name = "BackupNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "BackupNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, BackupNotFoundException.prototype); - } -} -export class InternalServerError extends __BaseException { - name = "InternalServerError"; - $fault = "server"; - constructor(opts) { - super({ - name: "InternalServerError", - $fault: "server", - ...opts, - }); - Object.setPrototypeOf(this, InternalServerError.prototype); - } -} -export class RequestLimitExceeded extends __BaseException { - name = "RequestLimitExceeded"; - $fault = "client"; - ThrottlingReasons; - constructor(opts) { - super({ - name: "RequestLimitExceeded", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, RequestLimitExceeded.prototype); - this.ThrottlingReasons = opts.ThrottlingReasons; - } -} -export class ThrottlingException extends __BaseException { - name = "ThrottlingException"; - $fault = "client"; - throttlingReasons; - constructor(opts) { - super({ - name: "ThrottlingException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ThrottlingException.prototype); - this.throttlingReasons = opts.throttlingReasons; - } -} -export class InvalidEndpointException extends __BaseException { - name = "InvalidEndpointException"; - $fault = "client"; - Message; - constructor(opts) { - super({ - name: "InvalidEndpointException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, InvalidEndpointException.prototype); - this.Message = opts.Message; - } -} -export class ProvisionedThroughputExceededException extends __BaseException { - name = "ProvisionedThroughputExceededException"; - $fault = "client"; - ThrottlingReasons; - constructor(opts) { - super({ - name: "ProvisionedThroughputExceededException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype); - this.ThrottlingReasons = opts.ThrottlingReasons; - } -} -export class ResourceNotFoundException extends __BaseException { - name = "ResourceNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ResourceNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ResourceNotFoundException.prototype); - } -} -export class ItemCollectionSizeLimitExceededException extends __BaseException { - name = "ItemCollectionSizeLimitExceededException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ItemCollectionSizeLimitExceededException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ItemCollectionSizeLimitExceededException.prototype); - } -} -export class ReplicatedWriteConflictException extends __BaseException { - name = "ReplicatedWriteConflictException"; - $fault = "client"; - $retryable = {}; - constructor(opts) { - super({ - name: "ReplicatedWriteConflictException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ReplicatedWriteConflictException.prototype); - } -} -export class ContinuousBackupsUnavailableException extends __BaseException { - name = "ContinuousBackupsUnavailableException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ContinuousBackupsUnavailableException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ContinuousBackupsUnavailableException.prototype); - } -} -export class LimitExceededException extends __BaseException { - name = "LimitExceededException"; - $fault = "client"; - constructor(opts) { - super({ - name: "LimitExceededException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, LimitExceededException.prototype); - } -} -export class TableInUseException extends __BaseException { - name = "TableInUseException"; - $fault = "client"; - constructor(opts) { - super({ - name: "TableInUseException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, TableInUseException.prototype); - } -} -export class TableNotFoundException extends __BaseException { - name = "TableNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "TableNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, TableNotFoundException.prototype); - } -} -export class GlobalTableAlreadyExistsException extends __BaseException { - name = "GlobalTableAlreadyExistsException"; - $fault = "client"; - constructor(opts) { - super({ - name: "GlobalTableAlreadyExistsException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, GlobalTableAlreadyExistsException.prototype); - } -} -export class ResourceInUseException extends __BaseException { - name = "ResourceInUseException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ResourceInUseException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ResourceInUseException.prototype); - } -} -export class TransactionConflictException extends __BaseException { - name = "TransactionConflictException"; - $fault = "client"; - constructor(opts) { - super({ - name: "TransactionConflictException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, TransactionConflictException.prototype); - } -} -export class PolicyNotFoundException extends __BaseException { - name = "PolicyNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "PolicyNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, PolicyNotFoundException.prototype); - } -} -export class ExportNotFoundException extends __BaseException { - name = "ExportNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ExportNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ExportNotFoundException.prototype); - } -} -export class GlobalTableNotFoundException extends __BaseException { - name = "GlobalTableNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "GlobalTableNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, GlobalTableNotFoundException.prototype); - } -} -export class ImportNotFoundException extends __BaseException { - name = "ImportNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ImportNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ImportNotFoundException.prototype); - } -} -export class DuplicateItemException extends __BaseException { - name = "DuplicateItemException"; - $fault = "client"; - constructor(opts) { - super({ - name: "DuplicateItemException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, DuplicateItemException.prototype); - } -} -export class IdempotentParameterMismatchException extends __BaseException { - name = "IdempotentParameterMismatchException"; - $fault = "client"; - Message; - constructor(opts) { - super({ - name: "IdempotentParameterMismatchException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype); - this.Message = opts.Message; - } -} -export class TransactionInProgressException extends __BaseException { - name = "TransactionInProgressException"; - $fault = "client"; - Message; - constructor(opts) { - super({ - name: "TransactionInProgressException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, TransactionInProgressException.prototype); - this.Message = opts.Message; - } -} -export class ExportConflictException extends __BaseException { - name = "ExportConflictException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ExportConflictException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ExportConflictException.prototype); - } -} -export class InvalidExportTimeException extends __BaseException { - name = "InvalidExportTimeException"; - $fault = "client"; - constructor(opts) { - super({ - name: "InvalidExportTimeException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, InvalidExportTimeException.prototype); - } -} -export class PointInTimeRecoveryUnavailableException extends __BaseException { - name = "PointInTimeRecoveryUnavailableException"; - $fault = "client"; - constructor(opts) { - super({ - name: "PointInTimeRecoveryUnavailableException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, PointInTimeRecoveryUnavailableException.prototype); - } -} -export class ImportConflictException extends __BaseException { - name = "ImportConflictException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ImportConflictException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ImportConflictException.prototype); - } -} -export class TableAlreadyExistsException extends __BaseException { - name = "TableAlreadyExistsException"; - $fault = "client"; - constructor(opts) { - super({ - name: "TableAlreadyExistsException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, TableAlreadyExistsException.prototype); - } -} -export class InvalidRestoreTimeException extends __BaseException { - name = "InvalidRestoreTimeException"; - $fault = "client"; - constructor(opts) { - super({ - name: "InvalidRestoreTimeException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, InvalidRestoreTimeException.prototype); - } -} -export class ReplicaAlreadyExistsException extends __BaseException { - name = "ReplicaAlreadyExistsException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ReplicaAlreadyExistsException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ReplicaAlreadyExistsException.prototype); - } -} -export class ReplicaNotFoundException extends __BaseException { - name = "ReplicaNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "ReplicaNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ReplicaNotFoundException.prototype); - } -} -export class IndexNotFoundException extends __BaseException { - name = "IndexNotFoundException"; - $fault = "client"; - constructor(opts) { - super({ - name: "IndexNotFoundException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, IndexNotFoundException.prototype); - } -} -export class ConditionalCheckFailedException extends __BaseException { - name = "ConditionalCheckFailedException"; - $fault = "client"; - Item; - constructor(opts) { - super({ - name: "ConditionalCheckFailedException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype); - this.Item = opts.Item; - } -} -export class TransactionCanceledException extends __BaseException { - name = "TransactionCanceledException"; - $fault = "client"; - Message; - CancellationReasons; - constructor(opts) { - super({ - name: "TransactionCanceledException", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, TransactionCanceledException.prototype); - this.Message = opts.Message; - this.CancellationReasons = opts.CancellationReasons; - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_0.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_0.js deleted file mode 100644 index cb0ff5c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_0.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/Interfaces.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/Interfaces.js deleted file mode 100644 index cb0ff5c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/Interfaces.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListContributorInsightsPaginator.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListContributorInsightsPaginator.js deleted file mode 100644 index 23bb95c9..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListContributorInsightsPaginator.js +++ /dev/null @@ -1,4 +0,0 @@ -import { createPaginator } from "@smithy/core"; -import { ListContributorInsightsCommand, } from "../commands/ListContributorInsightsCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -export const paginateListContributorInsights = createPaginator(DynamoDBClient, ListContributorInsightsCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListExportsPaginator.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListExportsPaginator.js deleted file mode 100644 index e252e7f5..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListExportsPaginator.js +++ /dev/null @@ -1,4 +0,0 @@ -import { createPaginator } from "@smithy/core"; -import { ListExportsCommand } from "../commands/ListExportsCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -export const paginateListExports = createPaginator(DynamoDBClient, ListExportsCommand, "NextToken", "NextToken", "MaxResults"); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListImportsPaginator.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListImportsPaginator.js deleted file mode 100644 index c3fe3236..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListImportsPaginator.js +++ /dev/null @@ -1,4 +0,0 @@ -import { createPaginator } from "@smithy/core"; -import { ListImportsCommand } from "../commands/ListImportsCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -export const paginateListImports = createPaginator(DynamoDBClient, ListImportsCommand, "NextToken", "NextToken", "PageSize"); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListTablesPaginator.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListTablesPaginator.js deleted file mode 100644 index 979f3f6a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ListTablesPaginator.js +++ /dev/null @@ -1,4 +0,0 @@ -import { createPaginator } from "@smithy/core"; -import { ListTablesCommand } from "../commands/ListTablesCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -export const paginateListTables = createPaginator(DynamoDBClient, ListTablesCommand, "ExclusiveStartTableName", "LastEvaluatedTableName", "Limit"); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/QueryPaginator.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/QueryPaginator.js deleted file mode 100644 index 4fcc17d9..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/QueryPaginator.js +++ /dev/null @@ -1,4 +0,0 @@ -import { createPaginator } from "@smithy/core"; -import { QueryCommand } from "../commands/QueryCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -export const paginateQuery = createPaginator(DynamoDBClient, QueryCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit"); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ScanPaginator.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ScanPaginator.js deleted file mode 100644 index b95b7464..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/ScanPaginator.js +++ /dev/null @@ -1,4 +0,0 @@ -import { createPaginator } from "@smithy/core"; -import { ScanCommand } from "../commands/ScanCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -export const paginateScan = createPaginator(DynamoDBClient, ScanCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit"); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/index.js deleted file mode 100644 index a6dfcd0e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/pagination/index.js +++ /dev/null @@ -1,7 +0,0 @@ -export * from "./Interfaces"; -export * from "./ListContributorInsightsPaginator"; -export * from "./ListExportsPaginator"; -export * from "./ListImportsPaginator"; -export * from "./ListTablesPaginator"; -export * from "./QueryPaginator"; -export * from "./ScanPaginator"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.browser.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.browser.js deleted file mode 100644 index 26cd5c37..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.browser.js +++ /dev/null @@ -1,36 +0,0 @@ -import packageInfo from "../package.json"; -import { Sha256 } from "@aws-crypto/sha256-browser"; -import { DEFAULT_ACCOUNT_ID_ENDPOINT_MODE } from "@aws-sdk/core/account-id-endpoint"; -import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser"; -import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver"; -import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler"; -import { invalidProvider } from "@smithy/invalid-dependency"; -import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; -import { calculateBodyLength } from "@smithy/util-body-length-browser"; -import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser"; -import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry"; -import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; -export const getRuntimeConfig = (config) => { - const defaultsMode = resolveDefaultsModeConfig(config); - const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); - const clientSharedValues = getSharedRuntimeConfig(config); - return { - ...clientSharedValues, - ...config, - runtime: "browser", - defaultsMode, - accountIdEndpointMode: config?.accountIdEndpointMode ?? (() => Promise.resolve(DEFAULT_ACCOUNT_ID_ENDPOINT_MODE)), - bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))), - defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), - endpointDiscoveryEnabledProvider: config?.endpointDiscoveryEnabledProvider ?? (() => Promise.resolve(undefined)), - maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, - region: config?.region ?? invalidProvider("Region is missing"), - requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), - retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), - sha256: config?.sha256 ?? Sha256, - streamCollector: config?.streamCollector ?? streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)), - useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)), - }; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js deleted file mode 100644 index d191e0db..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js +++ /dev/null @@ -1,52 +0,0 @@ -import packageInfo from "../package.json"; -import { emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core"; -import { NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS } from "@aws-sdk/core/account-id-endpoint"; -import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; -import { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS } from "@aws-sdk/middleware-endpoint-discovery"; -import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node"; -import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver"; -import { Hash } from "@smithy/hash-node"; -import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry"; -import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider"; -import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler"; -import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client"; -import { calculateBodyLength } from "@smithy/util-body-length-node"; -import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node"; -import { DEFAULT_RETRY_MODE } from "@smithy/util-retry"; -import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; -export const getRuntimeConfig = (config) => { - emitWarningIfUnsupportedVersion(process.version); - const defaultsMode = resolveDefaultsModeConfig(config); - const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); - const clientSharedValues = getSharedRuntimeConfig(config); - awsCheckVersion(process.version); - const loaderConfig = { - profile: config?.profile, - logger: clientSharedValues.logger, - }; - return { - ...clientSharedValues, - ...config, - runtime: "node", - defaultsMode, - accountIdEndpointMode: config?.accountIdEndpointMode ?? loadNodeConfig(NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS, loaderConfig), - authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), - bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, - defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), - endpointDiscoveryEnabledProvider: config?.endpointDiscoveryEnabledProvider ?? loadNodeConfig(NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS, loaderConfig), - maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), - region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), - requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), - retryMode: config?.retryMode ?? - loadNodeConfig({ - ...NODE_RETRY_MODE_CONFIG_OPTIONS, - default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, - }, config), - sha256: config?.sha256 ?? Hash.bind(null, "sha256"), - streamCollector: config?.streamCollector ?? streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), - useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), - userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), - }; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.native.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.native.js deleted file mode 100644 index 0b546952..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.native.js +++ /dev/null @@ -1,11 +0,0 @@ -import { Sha256 } from "@aws-crypto/sha256-js"; -import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser"; -export const getRuntimeConfig = (config) => { - const browserDefaults = getBrowserRuntimeConfig(config); - return { - ...browserDefaults, - ...config, - runtime: "react-native", - sha256: config?.sha256 ?? Sha256, - }; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.shared.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.shared.js deleted file mode 100644 index 112c9647..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.shared.js +++ /dev/null @@ -1,42 +0,0 @@ -import { AwsSdkSigV4Signer } from "@aws-sdk/core"; -import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols"; -import { DynamoDBJsonCodec } from "@aws-sdk/dynamodb-codec"; -import { NoOpLogger } from "@smithy/smithy-client"; -import { parseUrl } from "@smithy/url-parser"; -import { fromBase64, toBase64 } from "@smithy/util-base64"; -import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; -import { defaultDynamoDBHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider"; -import { defaultEndpointResolver } from "./endpoint/endpointResolver"; -import { errorTypeRegistries } from "./schemas/schemas_0"; -export const getRuntimeConfig = (config) => { - return { - apiVersion: "2012-08-10", - base64Decoder: config?.base64Decoder ?? fromBase64, - base64Encoder: config?.base64Encoder ?? toBase64, - disableHostPrefix: config?.disableHostPrefix ?? false, - endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, - extensions: config?.extensions ?? [], - httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultDynamoDBHttpAuthSchemeProvider, - httpAuthSchemes: config?.httpAuthSchemes ?? [ - { - schemeId: "aws.auth#sigv4", - identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), - signer: new AwsSdkSigV4Signer(), - }, - ], - logger: config?.logger ?? new NoOpLogger(), - protocol: config?.protocol ?? AwsJson1_0Protocol, - protocolSettings: config?.protocolSettings ?? { - defaultNamespace: "com.amazonaws.dynamodb", - errorTypeRegistries, - xmlNamespace: "http://dynamodb.amazonaws.com/doc/2012-08-10/", - version: "2012-08-10", - serviceTarget: "DynamoDB_20120810", - jsonCodec: new DynamoDBJsonCodec(), - }, - serviceId: config?.serviceId ?? "DynamoDB", - urlParser: config?.urlParser ?? parseUrl, - utf8Decoder: config?.utf8Decoder ?? fromUtf8, - utf8Encoder: config?.utf8Encoder ?? toUtf8, - }; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeExtensions.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeExtensions.js deleted file mode 100644 index 5b296950..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeExtensions.js +++ /dev/null @@ -1,9 +0,0 @@ -import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver"; -import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http"; -import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client"; -import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration"; -export const resolveRuntimeExtensions = (runtimeConfig, extensions) => { - const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); - extensions.forEach((extension) => extension.configure(extensionConfiguration)); - return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/schemas/schemas_0.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/schemas/schemas_0.js deleted file mode 100644 index de17ba08..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/schemas/schemas_0.js +++ /dev/null @@ -1,2382 +0,0 @@ -const _A = "Action"; -const _ABA = "ArchivalBackupArn"; -const _ACDTP = "ApproximateCreationDateTimePrecision"; -const _AD = "AttributeDefinition"; -const _ADT = "ArchivalDateTime"; -const _ADt = "AttributeDefinitions"; -const _AM = "AttributeMap"; -const _AMRCU = "AccountMaxReadCapacityUnits"; -const _AMWCU = "AccountMaxWriteCapacityUnits"; -const _AN = "AttributeName"; -const _AR = "ArchivalReason"; -const _AS = "ArchivalSummary"; -const _ASD = "AutoScalingDisabled"; -const _ASPD = "AutoScalingPolicyDescription"; -const _ASPDL = "AutoScalingPolicyDescriptionList"; -const _ASPU = "AutoScalingPolicyUpdate"; -const _ASRA = "AutoScalingRoleArn"; -const _ASSD = "AutoScalingSettingsDescription"; -const _ASSU = "AutoScalingSettingsUpdate"; -const _ASTTSPCD = "AutoScalingTargetTrackingScalingPolicyConfigurationDescription"; -const _ASTTSPCU = "AutoScalingTargetTrackingScalingPolicyConfigurationUpdate"; -const _AT = "AttributeType"; -const _ATG = "AttributesToGet"; -const _AU = "AttributeUpdates"; -const _AV = "AttributeValue"; -const _AVL = "AttributeValueList"; -const _AVU = "AttributeValueUpdate"; -const _Ad = "Address"; -const _At = "Attributes"; -const _B = "Backfilling"; -const _BA = "BackupArn"; -const _BCDT = "BackupCreationDateTime"; -const _BD = "BackupDescription"; -const _BDa = "BackupDetails"; -const _BEDT = "BackupExpiryDateTime"; -const _BES = "BatchExecuteStatement"; -const _BESI = "BatchExecuteStatementInput"; -const _BESO = "BatchExecuteStatementOutput"; -const _BGI = "BatchGetItem"; -const _BGII = "BatchGetItemInput"; -const _BGIO = "BatchGetItemOutput"; -const _BGRM = "BatchGetResponseMap"; -const _BGRMa = "BatchGetRequestMap"; -const _BIUE = "BackupInUseException"; -const _BM = "BillingMode"; -const _BMO = "BillingModeOverride"; -const _BMS = "BillingModeSummary"; -const _BN = "BackupName"; -const _BNFE = "BackupNotFoundException"; -const _BOOL = "BOOL"; -const _BS = "BackupStatus"; -const _BSB = "BackupSizeBytes"; -const _BSBi = "BilledSizeBytes"; -const _BSE = "BatchStatementError"; -const _BSR = "BatchStatementRequest"; -const _BSRa = "BatchStatementResponse"; -const _BS_ = "BS"; -const _BSa = "BackupSummary"; -const _BSac = "BackupSummaries"; -const _BT = "BackupType"; -const _BWI = "BatchWriteItem"; -const _BWII = "BatchWriteItemInput"; -const _BWIO = "BatchWriteItemOutput"; -const _BWIRM = "BatchWriteItemRequestMap"; -const _B_ = "B"; -const _C = "Code"; -const _CB = "CreateBackup"; -const _CBD = "ContinuousBackupsDescription"; -const _CBI = "CreateBackupInput"; -const _CBO = "CreateBackupOutput"; -const _CBS = "ContinuousBackupsStatus"; -const _CBUE = "ContinuousBackupsUnavailableException"; -const _CC = "ConsumedCapacity"; -const _CCFE = "ConditionalCheckFailedException"; -const _CCM = "ConsumedCapacityMultiple"; -const _CCo = "ConditionCheck"; -const _CDT = "CreationDateTime"; -const _CE = "ConditionExpression"; -const _CGSIA = "CreateGlobalSecondaryIndexAction"; -const _CGT = "CreateGlobalTable"; -const _CGTI = "CreateGlobalTableInput"; -const _CGTO = "CreateGlobalTableOutput"; -const _CGTWGMA = "CreateGlobalTableWitnessGroupMemberAction"; -const _CIA = "ContributorInsightsAction"; -const _CIM = "ContributorInsightsMode"; -const _CIRL = "ContributorInsightsRuleList"; -const _CIS = "ContributorInsightsSummary"; -const _CISo = "ContributorInsightsStatus"; -const _CISon = "ContributorInsightsSummaries"; -const _CO = "ComparisonOperator"; -const _COo = "ConditionalOperator"; -const _COs = "CsvOptions"; -const _CPIM = "CachePeriodInMinutes"; -const _CR = "CancellationReasons"; -const _CRA = "CreateReplicaAction"; -const _CRGMA = "CreateReplicationGroupMemberAction"; -const _CRL = "CancellationReasonList"; -const _CRSRA = "ConfirmRemoveSelfResourceAccess"; -const _CRT = "ClientRequestToken"; -const _CRa = "CancellationReason"; -const _CRo = "ConsistentRead"; -const _CT = "ClientToken"; -const _CTI = "CreateTableInput"; -const _CTO = "CreateTableOutput"; -const _CTr = "CreateTable"; -const _CU = "CapacityUnits"; -const _CWLGA = "CloudWatchLogGroupArn"; -const _Ca = "Capacity"; -const _Co = "Condition"; -const _Cou = "Count"; -const _Cr = "Create"; -const _Cs = "Csv"; -const _D = "Delimiter"; -const _DB = "DeleteBackup"; -const _DBI = "DeleteBackupInput"; -const _DBIe = "DescribeBackupInput"; -const _DBO = "DeleteBackupOutput"; -const _DBOe = "DescribeBackupOutput"; -const _DBe = "DescribeBackup"; -const _DCB = "DescribeContinuousBackups"; -const _DCBI = "DescribeContinuousBackupsInput"; -const _DCBO = "DescribeContinuousBackupsOutput"; -const _DCI = "DescribeContributorInsights"; -const _DCII = "DescribeContributorInsightsInput"; -const _DCIO = "DescribeContributorInsightsOutput"; -const _DE = "DescribeEndpoints"; -const _DEI = "DescribeExportInput"; -const _DEO = "DescribeExportOutput"; -const _DER = "DescribeEndpointsRequest"; -const _DERe = "DescribeEndpointsResponse"; -const _DEe = "DescribeExport"; -const _DGSIA = "DeleteGlobalSecondaryIndexAction"; -const _DGT = "DescribeGlobalTable"; -const _DGTI = "DescribeGlobalTableInput"; -const _DGTO = "DescribeGlobalTableOutput"; -const _DGTS = "DescribeGlobalTableSettings"; -const _DGTSI = "DescribeGlobalTableSettingsInput"; -const _DGTSO = "DescribeGlobalTableSettingsOutput"; -const _DGTWGMA = "DeleteGlobalTableWitnessGroupMemberAction"; -const _DI = "DeleteItem"; -const _DIE = "DuplicateItemException"; -const _DII = "DeleteItemInput"; -const _DIIe = "DescribeImportInput"; -const _DIO = "DeleteItemOutput"; -const _DIOe = "DescribeImportOutput"; -const _DIe = "DescribeImport"; -const _DKSD = "DescribeKinesisStreamingDestination"; -const _DKSDI = "DescribeKinesisStreamingDestinationInput"; -const _DKSDO = "DescribeKinesisStreamingDestinationOutput"; -const _DKSDi = "DisableKinesisStreamingDestination"; -const _DL = "DescribeLimits"; -const _DLI = "DescribeLimitsInput"; -const _DLO = "DescribeLimitsOutput"; -const _DPE = "DeletionProtectionEnabled"; -const _DR = "DeleteRequest"; -const _DRA = "DeleteReplicaAction"; -const _DRGMA = "DeleteReplicationGroupMemberAction"; -const _DRP = "DeleteResourcePolicy"; -const _DRPI = "DeleteResourcePolicyInput"; -const _DRPO = "DeleteResourcePolicyOutput"; -const _DS = "DestinationStatus"; -const _DSD = "DestinationStatusDescription"; -const _DSI = "DisableScaleIn"; -const _DT = "DeleteTable"; -const _DTI = "DeleteTableInput"; -const _DTIe = "DescribeTableInput"; -const _DTO = "DeleteTableOutput"; -const _DTOe = "DescribeTableOutput"; -const _DTRAS = "DescribeTableReplicaAutoScaling"; -const _DTRASI = "DescribeTableReplicaAutoScalingInput"; -const _DTRASO = "DescribeTableReplicaAutoScalingOutput"; -const _DTTL = "DescribeTimeToLive"; -const _DTTLI = "DescribeTimeToLiveInput"; -const _DTTLO = "DescribeTimeToLiveOutput"; -const _DTe = "DescribeTable"; -const _De = "Delete"; -const _E = "Error"; -const _EA = "ExportArn"; -const _EAM = "ExpectedAttributeMap"; -const _EAN = "ExpressionAttributeNames"; -const _EAV = "ExpressionAttributeValues"; -const _EAVM = "ExpressionAttributeValueMap"; -const _EAVx = "ExpectedAttributeValue"; -const _EC = "ErrorCount"; -const _ECE = "ExportConflictException"; -const _ED = "ExportDescription"; -const _EDx = "ExceptionDescription"; -const _EF = "ExportFormat"; -const _EFT = "ExportFromTime"; -const _EKSC = "EnableKinesisStreamingConfiguration"; -const _EKSD = "EnableKinesisStreamingDestination"; -const _EM = "ExportManifest"; -const _EN = "ExceptionName"; -const _ENFE = "ExportNotFoundException"; -const _ERDT = "EarliestRestorableDateTime"; -const _ERI = "ExpectedRevisionId"; -const _ES = "ExportStatus"; -const _ESBA = "ExclusiveStartBackupArn"; -const _ESGTN = "ExclusiveStartGlobalTableName"; -const _ESI = "ExecuteStatementInput"; -const _ESK = "ExclusiveStartKey"; -const _ESO = "ExecuteStatementOutput"; -const _ESTN = "ExclusiveStartTableName"; -const _ESx = "ExportSummary"; -const _ESxe = "ExecuteStatement"; -const _ESxp = "ExportSummaries"; -const _ET = "EndTime"; -const _ETI = "ExecuteTransactionInput"; -const _ETO = "ExecuteTransactionOutput"; -const _ETT = "ExportToTime"; -const _ETTPIT = "ExportTableToPointInTime"; -const _ETTPITI = "ExportTableToPointInTimeInput"; -const _ETTPITO = "ExportTableToPointInTimeOutput"; -const _ETx = "ExportTime"; -const _ETxe = "ExecuteTransaction"; -const _ETxp = "ExportType"; -const _EVT = "ExportViewType"; -const _En = "Endpoints"; -const _Ena = "Enabled"; -const _End = "Endpoint"; -const _Ex = "Expected"; -const _Exi = "Exists"; -const _FC = "FailureCode"; -const _FCM = "FilterConditionMap"; -const _FE = "FailureException"; -const _FEi = "FilterExpression"; -const _FM = "FailureMessage"; -const _G = "Get"; -const _GI = "GetItem"; -const _GII = "GetItemInput"; -const _GIO = "GetItemOutput"; -const _GRP = "GetResourcePolicy"; -const _GRPI = "GetResourcePolicyInput"; -const _GRPO = "GetResourcePolicyOutput"; -const _GSI = "GlobalSecondaryIndexes"; -const _GSIASU = "GlobalSecondaryIndexAutoScalingUpdate"; -const _GSIASUL = "GlobalSecondaryIndexAutoScalingUpdateList"; -const _GSID = "GlobalSecondaryIndexDescription"; -const _GSIDL = "GlobalSecondaryIndexDescriptionList"; -const _GSII = "GlobalSecondaryIndexInfo"; -const _GSIL = "GlobalSecondaryIndexList"; -const _GSIO = "GlobalSecondaryIndexOverride"; -const _GSIU = "GlobalSecondaryIndexUpdate"; -const _GSIUL = "GlobalSecondaryIndexUpdateList"; -const _GSIUl = "GlobalSecondaryIndexUpdates"; -const _GSIWTD = "GlobalSecondaryIndexWarmThroughputDescription"; -const _GSIl = "GlobalSecondaryIndex"; -const _GT = "GlobalTable"; -const _GTA = "GlobalTableArn"; -const _GTAEE = "GlobalTableAlreadyExistsException"; -const _GTBM = "GlobalTableBillingMode"; -const _GTD = "GlobalTableDescription"; -const _GTGSISU = "GlobalTableGlobalSecondaryIndexSettingsUpdate"; -const _GTGSISUL = "GlobalTableGlobalSecondaryIndexSettingsUpdateList"; -const _GTL = "GlobalTableList"; -const _GTN = "GlobalTableName"; -const _GTNFE = "GlobalTableNotFoundException"; -const _GTPWCASSU = "GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate"; -const _GTPWCU = "GlobalTableProvisionedWriteCapacityUnits"; -const _GTS = "GlobalTableStatus"; -const _GTSA = "GlobalTableSourceArn"; -const _GTSRM = "GlobalTableSettingsReplicationMode"; -const _GTV = "GlobalTableVersion"; -const _GTW = "GlobalTableWitnesses"; -const _GTWD = "GlobalTableWitnessDescription"; -const _GTWDL = "GlobalTableWitnessDescriptionList"; -const _GTWGU = "GlobalTableWitnessGroupUpdate"; -const _GTWGUL = "GlobalTableWitnessGroupUpdateList"; -const _GTWU = "GlobalTableWitnessUpdates"; -const _GTl = "GlobalTables"; -const _HL = "HeaderList"; -const _I = "Item"; -const _IA = "ImportArn"; -const _IAn = "IndexArn"; -const _IC = "ItemCount"; -const _ICE = "ImportConflictException"; -const _ICK = "ItemCollectionKey"; -const _ICKAM = "ItemCollectionKeyAttributeMap"; -const _ICM = "ItemCollectionMetrics"; -const _ICMM = "ItemCollectionMetricsMultiple"; -const _ICMPT = "ItemCollectionMetricsPerTable"; -const _ICSLEE = "ItemCollectionSizeLimitExceededException"; -const _ICT = "InputCompressionType"; -const _IEDT = "InaccessibleEncryptionDateTime"; -const _IEE = "InvalidEndpointException"; -const _IES = "IncrementalExportSpecification"; -const _IETE = "InvalidExportTimeException"; -const _IF = "InputFormat"; -const _IFO = "InputFormatOptions"; -const _IIC = "ImportedItemCount"; -const _IL = "ItemList"; -const _IN = "IndexName"; -const _INFE = "ImportNotFoundException"; -const _INFEn = "IndexNotFoundException"; -const _IPME = "IdempotentParameterMismatchException"; -const _IR = "ItemResponse"; -const _IRL = "ItemResponseList"; -const _IRTE = "InvalidRestoreTimeException"; -const _IS = "IndexStatus"; -const _ISB = "IndexSizeBytes"; -const _ISE = "InternalServerError"; -const _ISL = "ImportSummaryList"; -const _ISm = "ImportSummary"; -const _ISmp = "ImportStatus"; -const _IT = "ImportTable"; -const _ITD = "ImportTableDescription"; -const _ITI = "ImportTableInput"; -const _ITO = "ImportTableOutput"; -const _It = "Items"; -const _K = "Key"; -const _KAA = "KeysAndAttributes"; -const _KC = "KeyConditions"; -const _KCE = "KeyConditionExpression"; -const _KDSD = "KinesisDataStreamDestinations"; -const _KDSDi = "KinesisDataStreamDestination"; -const _KL = "KeyList"; -const _KMSMKA = "KMSMasterKeyArn"; -const _KMSMKI = "KMSMasterKeyId"; -const _KS = "KeySchema"; -const _KSDI = "KinesisStreamingDestinationInput"; -const _KSDO = "KinesisStreamingDestinationOutput"; -const _KSE = "KeySchemaElement"; -const _KT = "KeyType"; -const _Ke = "Keys"; -const _L = "Limit"; -const _LAV = "ListAttributeValue"; -const _LB = "ListBackups"; -const _LBI = "ListBackupsInput"; -const _LBO = "ListBackupsOutput"; -const _LCI = "ListContributorInsights"; -const _LCII = "ListContributorInsightsInput"; -const _LCIO = "ListContributorInsightsOutput"; -const _LDDT = "LastDecreaseDateTime"; -const _LE = "ListExports"; -const _LEBA = "LastEvaluatedBackupArn"; -const _LEE = "LimitExceededException"; -const _LEGTN = "LastEvaluatedGlobalTableName"; -const _LEI = "ListExportsInput"; -const _LEK = "LastEvaluatedKey"; -const _LEO = "ListExportsOutput"; -const _LETN = "LastEvaluatedTableName"; -const _LGT = "ListGlobalTables"; -const _LGTI = "ListGlobalTablesInput"; -const _LGTO = "ListGlobalTablesOutput"; -const _LI = "ListImports"; -const _LIDT = "LastIncreaseDateTime"; -const _LII = "ListImportsInput"; -const _LIO = "ListImportsOutput"; -const _LRDT = "LatestRestorableDateTime"; -const _LSA = "LatestStreamArn"; -const _LSI = "LocalSecondaryIndexes"; -const _LSID = "LocalSecondaryIndexDescription"; -const _LSIDL = "LocalSecondaryIndexDescriptionList"; -const _LSII = "LocalSecondaryIndexInfo"; -const _LSIL = "LocalSecondaryIndexList"; -const _LSIO = "LocalSecondaryIndexOverride"; -const _LSIo = "LocalSecondaryIndex"; -const _LSL = "LatestStreamLabel"; -const _LT = "ListTables"; -const _LTI = "ListTablesInput"; -const _LTO = "ListTablesOutput"; -const _LTOR = "ListTagsOfResource"; -const _LTORI = "ListTagsOfResourceInput"; -const _LTORO = "ListTagsOfResourceOutput"; -const _LUDT = "LastUpdateDateTime"; -const _LUTPPRDT = "LastUpdateToPayPerRequestDateTime"; -const _L_ = "L"; -const _M = "Message"; -const _MAV = "MapAttributeValue"; -const _MR = "MaxResults"; -const _MRC = "MultiRegionConsistency"; -const _MRRU = "MaxReadRequestUnits"; -const _MU = "MinimumUnits"; -const _MUa = "MaximumUnits"; -const _MWRU = "MaxWriteRequestUnits"; -const _M_ = "M"; -const _N = "N"; -const _NKA = "NonKeyAttributes"; -const _NODT = "NumberOfDecreasesToday"; -const _NS = "NS"; -const _NT = "NextToken"; -const _NULL = "NULL"; -const _ODT = "OnDemandThroughput"; -const _ODTO = "OnDemandThroughputOverride"; -const _P = "Parameters"; -const _PE = "ProjectionExpression"; -const _PI = "PutItem"; -const _PIC = "ProcessedItemCount"; -const _PII = "PutItemInput"; -const _PIIAM = "PutItemInputAttributeMap"; -const _PIO = "PutItemOutput"; -const _PITRD = "PointInTimeRecoveryDescription"; -const _PITRE = "PointInTimeRecoveryEnabled"; -const _PITRS = "PointInTimeRecoveryStatus"; -const _PITRSo = "PointInTimeRecoverySpecification"; -const _PITRUE = "PointInTimeRecoveryUnavailableException"; -const _PN = "PolicyName"; -const _PNFE = "PolicyNotFoundException"; -const _PQLBR = "PartiQLBatchRequest"; -const _PQLBRa = "PartiQLBatchResponse"; -const _PR = "PutRequest"; -const _PRCASS = "ProvisionedReadCapacityAutoScalingSettings"; -const _PRCASSU = "ProvisionedReadCapacityAutoScalingSettingsUpdate"; -const _PRCASU = "ProvisionedReadCapacityAutoScalingUpdate"; -const _PRCU = "ProvisionedReadCapacityUnits"; -const _PRP = "PutResourcePolicy"; -const _PRPI = "PutResourcePolicyInput"; -const _PRPO = "PutResourcePolicyOutput"; -const _PS = "PageSize"; -const _PSB = "ProcessedSizeBytes"; -const _PSP = "PreparedStatementParameters"; -const _PSa = "ParameterizedStatement"; -const _PSar = "ParameterizedStatements"; -const _PT = "ProvisionedThroughput"; -const _PTD = "ProvisionedThroughputDescription"; -const _PTEE = "ProvisionedThroughputExceededException"; -const _PTO = "ProvisionedThroughputOverride"; -const _PTr = "ProjectionType"; -const _PWCASS = "ProvisionedWriteCapacityAutoScalingSettings"; -const _PWCASSU = "ProvisionedWriteCapacityAutoScalingSettingsUpdate"; -const _PWCASU = "ProvisionedWriteCapacityAutoScalingUpdate"; -const _PWCU = "ProvisionedWriteCapacityUnits"; -const _Po = "Policy"; -const _Pr = "Projection"; -const _Pu = "Put"; -const _Q = "Query"; -const _QF = "QueryFilter"; -const _QI = "QueryInput"; -const _QO = "QueryOutput"; -const _R = "Responses"; -const _RA = "ResourceArn"; -const _RAEE = "ReplicaAlreadyExistsException"; -const _RASD = "ReplicaAutoScalingDescription"; -const _RASDL = "ReplicaAutoScalingDescriptionList"; -const _RASU = "ReplicaAutoScalingUpdate"; -const _RASUL = "ReplicaAutoScalingUpdateList"; -const _RAe = "ReplicaArn"; -const _RBMS = "ReplicaBillingModeSummary"; -const _RCC = "ReturnConsumedCapacity"; -const _RCU = "ReadCapacityUnits"; -const _RD = "ReplicaDescription"; -const _RDL = "ReplicaDescriptionList"; -const _RDT = "RestoreDateTime"; -const _RG = "ReplicationGroup"; -const _RGSI = "ReplicaGlobalSecondaryIndex"; -const _RGSIASD = "ReplicaGlobalSecondaryIndexAutoScalingDescription"; -const _RGSIASDL = "ReplicaGlobalSecondaryIndexAutoScalingDescriptionList"; -const _RGSIASU = "ReplicaGlobalSecondaryIndexAutoScalingUpdate"; -const _RGSIASUL = "ReplicaGlobalSecondaryIndexAutoScalingUpdateList"; -const _RGSID = "ReplicaGlobalSecondaryIndexDescription"; -const _RGSIDL = "ReplicaGlobalSecondaryIndexDescriptionList"; -const _RGSIL = "ReplicaGlobalSecondaryIndexList"; -const _RGSIS = "ReplicaGlobalSecondaryIndexSettings"; -const _RGSISD = "ReplicaGlobalSecondaryIndexSettingsDescription"; -const _RGSISDL = "ReplicaGlobalSecondaryIndexSettingsDescriptionList"; -const _RGSISU = "ReplicaGlobalSecondaryIndexSettingsUpdate"; -const _RGSISUL = "ReplicaGlobalSecondaryIndexSettingsUpdateList"; -const _RGSIU = "ReplicaGlobalSecondaryIndexUpdates"; -const _RGU = "ReplicationGroupUpdate"; -const _RGUL = "ReplicationGroupUpdateList"; -const _RI = "RequestItems"; -const _RICM = "ReturnItemCollectionMetrics"; -const _RIDT = "ReplicaInaccessibleDateTime"; -const _RIP = "RestoreInProgress"; -const _RIUE = "ResourceInUseException"; -const _RIe = "RevisionId"; -const _RL = "ReplicaList"; -const _RLE = "RequestLimitExceeded"; -const _RN = "RegionName"; -const _RNFE = "ReplicaNotFoundException"; -const _RNFEe = "ResourceNotFoundException"; -const _RP = "ResourcePolicy"; -const _RPID = "RecoveryPeriodInDays"; -const _RPRCASS = "ReplicaProvisionedReadCapacityAutoScalingSettings"; -const _RPRCASSU = "ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate"; -const _RPRCASU = "ReplicaProvisionedReadCapacityAutoScalingUpdate"; -const _RPRCU = "ReplicaProvisionedReadCapacityUnits"; -const _RPWCASS = "ReplicaProvisionedWriteCapacityAutoScalingSettings"; -const _RPWCU = "ReplicaProvisionedWriteCapacityUnits"; -const _RS = "ReplicaSettings"; -const _RSD = "ReplicaStatusDescription"; -const _RSDL = "ReplicaSettingsDescriptionList"; -const _RSDe = "ReplicaSettingsDescription"; -const _RSPP = "ReplicaStatusPercentProgress"; -const _RSU = "ReplicaSettingsUpdate"; -const _RSUL = "ReplicaSettingsUpdateList"; -const _RSe = "ReplicaStatus"; -const _RSes = "RestoreSummary"; -const _RTC = "ReplicaTableClass"; -const _RTCS = "ReplicaTableClassSummary"; -const _RTFB = "RestoreTableFromBackup"; -const _RTFBI = "RestoreTableFromBackupInput"; -const _RTFBO = "RestoreTableFromBackupOutput"; -const _RTTPIT = "RestoreTableToPointInTime"; -const _RTTPITI = "RestoreTableToPointInTimeInput"; -const _RTTPITO = "RestoreTableToPointInTimeOutput"; -const _RU = "ReplicaUpdate"; -const _RUL = "ReplicaUpdateList"; -const _RUPS = "ReadUnitsPerSecond"; -const _RUe = "ReplicaUpdates"; -const _RV = "ReturnValues"; -const _RVOCCF = "ReturnValuesOnConditionCheckFailure"; -const _RWCE = "ReplicatedWriteConflictException"; -const _Re = "Replica"; -const _Rep = "Replicas"; -const _S = "Statements"; -const _SA = "StreamArn"; -const _SB = "S3Bucket"; -const _SBA = "SourceBackupArn"; -const _SBO = "S3BucketOwner"; -const _SBS = "S3BucketSource"; -const _SC = "ScannedCount"; -const _SD = "StreamDescription"; -const _SE = "StreamEnabled"; -const _SERGB = "SizeEstimateRangeGB"; -const _SF = "ScanFilter"; -const _SI = "ScanInput"; -const _SIC = "ScaleInCooldown"; -const _SICM = "SecondaryIndexesCapacityMap"; -const _SIF = "ScanIndexForward"; -const _SKP = "S3KeyPrefix"; -const _SO = "ScanOutput"; -const _SOC = "ScaleOutCooldown"; -const _SP = "ScalingPolicies"; -const _SPU = "ScalingPolicyUpdate"; -const _SPr = "S3Prefix"; -const _SS = "StreamSpecification"; -const _SSA = "S3SseAlgorithm"; -const _SSED = "SSEDescription"; -const _SSES = "SSESpecification"; -const _SSESO = "SSESpecificationOverride"; -const _SSET = "SSEType"; -const _SSKKI = "S3SseKmsKeyId"; -const _SS_ = "SS"; -const _ST = "StartTime"; -const _STA = "SourceTableArn"; -const _STD = "SourceTableDetails"; -const _STFD = "SourceTableFeatureDetails"; -const _STN = "SourceTableName"; -const _SVT = "StreamViewType"; -const _S_ = "S"; -const _Sc = "Scan"; -const _Se = "Select"; -const _Seg = "Segment"; -const _St = "Statement"; -const _Sta = "Status"; -const _T = "Table"; -const _TA = "TableArn"; -const _TAEE = "TableAlreadyExistsException"; -const _TASD = "TableAutoScalingDescription"; -const _TC = "TableClass"; -const _TCDT = "TableCreationDateTime"; -const _TCE = "TransactionCanceledException"; -const _TCEr = "TransactionConflictException"; -const _TCO = "TableClassOverride"; -const _TCP = "TableCreationParameters"; -const _TCS = "TableClassSummary"; -const _TD = "TableDescription"; -const _TE = "ThrottlingException"; -const _TGI = "TransactGetItem"; -const _TGII = "TransactGetItemsInput"; -const _TGIL = "TransactGetItemList"; -const _TGIO = "TransactGetItemsOutput"; -const _TGIr = "TransactGetItems"; -const _TI = "TableId"; -const _TIPE = "TransactionInProgressException"; -const _TIUE = "TableInUseException"; -const _TIr = "TransactItems"; -const _TK = "TagKeys"; -const _TL = "TagList"; -const _TMRCU = "TableMaxReadCapacityUnits"; -const _TMWCU = "TableMaxWriteCapacityUnits"; -const _TN = "TableName"; -const _TNFE = "TableNotFoundException"; -const _TNa = "TableNames"; -const _TR = "ThrottlingReasons"; -const _TRI = "TagResourceInput"; -const _TRL = "ThrottlingReasonList"; -const _TRLB = "TimeRangeLowerBound"; -const _TRUB = "TimeRangeUpperBound"; -const _TRa = "TagResource"; -const _TRh = "ThrottlingReason"; -const _TS = "TransactStatements"; -const _TSB = "TableSizeBytes"; -const _TSa = "TableStatus"; -const _TSo = "TotalSegments"; -const _TTLD = "TimeToLiveDescription"; -const _TTLS = "TimeToLiveStatus"; -const _TTLSi = "TimeToLiveSpecification"; -const _TTN = "TargetTableName"; -const _TTSPC = "TargetTrackingScalingPolicyConfiguration"; -const _TV = "TargetValue"; -const _TWI = "TransactWriteItem"; -const _TWII = "TransactWriteItemsInput"; -const _TWIL = "TransactWriteItemList"; -const _TWIO = "TransactWriteItemsOutput"; -const _TWIr = "TransactWriteItems"; -const _TWTD = "TableWarmThroughputDescription"; -const _Ta = "Tags"; -const _Tag = "Tag"; -const _U = "Update"; -const _UCB = "UpdateContinuousBackups"; -const _UCBI = "UpdateContinuousBackupsInput"; -const _UCBO = "UpdateContinuousBackupsOutput"; -const _UCI = "UpdateContributorInsights"; -const _UCII = "UpdateContributorInsightsInput"; -const _UCIO = "UpdateContributorInsightsOutput"; -const _UE = "UpdateExpression"; -const _UGSIA = "UpdateGlobalSecondaryIndexAction"; -const _UGT = "UpdateGlobalTable"; -const _UGTI = "UpdateGlobalTableInput"; -const _UGTO = "UpdateGlobalTableOutput"; -const _UGTS = "UpdateGlobalTableSettings"; -const _UGTSI = "UpdateGlobalTableSettingsInput"; -const _UGTSO = "UpdateGlobalTableSettingsOutput"; -const _UI = "UnprocessedItems"; -const _UII = "UpdateItemInput"; -const _UIO = "UpdateItemOutput"; -const _UIp = "UpdateItem"; -const _UK = "UnprocessedKeys"; -const _UKSC = "UpdateKinesisStreamingConfiguration"; -const _UKSD = "UpdateKinesisStreamingDestination"; -const _UKSDI = "UpdateKinesisStreamingDestinationInput"; -const _UKSDO = "UpdateKinesisStreamingDestinationOutput"; -const _ULRT = "UseLatestRestorableTime"; -const _UR = "UntagResource"; -const _URGMA = "UpdateReplicationGroupMemberAction"; -const _URI = "UntagResourceInput"; -const _UT = "UpdateTable"; -const _UTI = "UpdateTableInput"; -const _UTO = "UpdateTableOutput"; -const _UTRAS = "UpdateTableReplicaAutoScaling"; -const _UTRASI = "UpdateTableReplicaAutoScalingInput"; -const _UTRASO = "UpdateTableReplicaAutoScalingOutput"; -const _UTTL = "UpdateTimeToLive"; -const _UTTLI = "UpdateTimeToLiveInput"; -const _UTTLO = "UpdateTimeToLiveOutput"; -const _V = "Value"; -const _WCU = "WriteCapacityUnits"; -const _WR = "WriteRequest"; -const _WRr = "WriteRequests"; -const _WS = "WitnessStatus"; -const _WT = "WarmThroughput"; -const _WUPS = "WriteUnitsPerSecond"; -const _aQE = "awsQueryError"; -const _c = "client"; -const _e = "error"; -const _hE = "httpError"; -const _hH = "httpHeader"; -const _m = "message"; -const _r = "reason"; -const _re = "resource"; -const _s = "smithy.ts.sdk.synthetic.com.amazonaws.dynamodb"; -const _se = "server"; -const _tR = "throttlingReasons"; -const _xacrsra = "x-amz-confirm-remove-self-resource-access"; -const n0 = "com.amazonaws.dynamodb"; -import { TypeRegistry } from "@smithy/core/schema"; -import { DynamoDBServiceException } from "../models/DynamoDBServiceException"; -import { BackupInUseException, BackupNotFoundException, ConditionalCheckFailedException, ContinuousBackupsUnavailableException, DuplicateItemException, ExportConflictException, ExportNotFoundException, GlobalTableAlreadyExistsException, GlobalTableNotFoundException, IdempotentParameterMismatchException, ImportConflictException, ImportNotFoundException, IndexNotFoundException, InternalServerError, InvalidEndpointException, InvalidExportTimeException, InvalidRestoreTimeException, ItemCollectionSizeLimitExceededException, LimitExceededException, PointInTimeRecoveryUnavailableException, PolicyNotFoundException, ProvisionedThroughputExceededException, ReplicaAlreadyExistsException, ReplicaNotFoundException, ReplicatedWriteConflictException, RequestLimitExceeded, ResourceInUseException, ResourceNotFoundException, TableAlreadyExistsException, TableInUseException, TableNotFoundException, ThrottlingException, TransactionCanceledException, TransactionConflictException, TransactionInProgressException, } from "../models/errors"; -const _s_registry = TypeRegistry.for(_s); -export var DynamoDBServiceException$ = [-3, _s, "DynamoDBServiceException", 0, [], []]; -_s_registry.registerError(DynamoDBServiceException$, DynamoDBServiceException); -const n0_registry = TypeRegistry.for(n0); -export var BackupInUseException$ = [-3, n0, _BIUE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(BackupInUseException$, BackupInUseException); -export var BackupNotFoundException$ = [-3, n0, _BNFE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(BackupNotFoundException$, BackupNotFoundException); -export var ConditionalCheckFailedException$ = [-3, n0, _CCFE, - { [_e]: _c }, - [_m, _I], - [0, () => AttributeMap] -]; -n0_registry.registerError(ConditionalCheckFailedException$, ConditionalCheckFailedException); -export var ContinuousBackupsUnavailableException$ = [-3, n0, _CBUE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(ContinuousBackupsUnavailableException$, ContinuousBackupsUnavailableException); -export var DuplicateItemException$ = [-3, n0, _DIE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(DuplicateItemException$, DuplicateItemException); -export var ExportConflictException$ = [-3, n0, _ECE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(ExportConflictException$, ExportConflictException); -export var ExportNotFoundException$ = [-3, n0, _ENFE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(ExportNotFoundException$, ExportNotFoundException); -export var GlobalTableAlreadyExistsException$ = [-3, n0, _GTAEE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(GlobalTableAlreadyExistsException$, GlobalTableAlreadyExistsException); -export var GlobalTableNotFoundException$ = [-3, n0, _GTNFE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(GlobalTableNotFoundException$, GlobalTableNotFoundException); -export var IdempotentParameterMismatchException$ = [-3, n0, _IPME, - { [_e]: _c }, - [_M], - [0] -]; -n0_registry.registerError(IdempotentParameterMismatchException$, IdempotentParameterMismatchException); -export var ImportConflictException$ = [-3, n0, _ICE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(ImportConflictException$, ImportConflictException); -export var ImportNotFoundException$ = [-3, n0, _INFE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(ImportNotFoundException$, ImportNotFoundException); -export var IndexNotFoundException$ = [-3, n0, _INFEn, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(IndexNotFoundException$, IndexNotFoundException); -export var InternalServerError$ = [-3, n0, _ISE, - { [_e]: _se }, - [_m], - [0] -]; -n0_registry.registerError(InternalServerError$, InternalServerError); -export var InvalidEndpointException$ = [-3, n0, _IEE, - { [_e]: _c, [_hE]: 421 }, - [_M], - [0] -]; -n0_registry.registerError(InvalidEndpointException$, InvalidEndpointException); -export var InvalidExportTimeException$ = [-3, n0, _IETE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(InvalidExportTimeException$, InvalidExportTimeException); -export var InvalidRestoreTimeException$ = [-3, n0, _IRTE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(InvalidRestoreTimeException$, InvalidRestoreTimeException); -export var ItemCollectionSizeLimitExceededException$ = [-3, n0, _ICSLEE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(ItemCollectionSizeLimitExceededException$, ItemCollectionSizeLimitExceededException); -export var LimitExceededException$ = [-3, n0, _LEE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(LimitExceededException$, LimitExceededException); -export var PointInTimeRecoveryUnavailableException$ = [-3, n0, _PITRUE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(PointInTimeRecoveryUnavailableException$, PointInTimeRecoveryUnavailableException); -export var PolicyNotFoundException$ = [-3, n0, _PNFE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(PolicyNotFoundException$, PolicyNotFoundException); -export var ProvisionedThroughputExceededException$ = [-3, n0, _PTEE, - { [_e]: _c }, - [_m, _TR], - [0, () => ThrottlingReasonList] -]; -n0_registry.registerError(ProvisionedThroughputExceededException$, ProvisionedThroughputExceededException); -export var ReplicaAlreadyExistsException$ = [-3, n0, _RAEE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(ReplicaAlreadyExistsException$, ReplicaAlreadyExistsException); -export var ReplicaNotFoundException$ = [-3, n0, _RNFE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(ReplicaNotFoundException$, ReplicaNotFoundException); -export var ReplicatedWriteConflictException$ = [-3, n0, _RWCE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(ReplicatedWriteConflictException$, ReplicatedWriteConflictException); -export var RequestLimitExceeded$ = [-3, n0, _RLE, - { [_e]: _c }, - [_m, _TR], - [0, () => ThrottlingReasonList] -]; -n0_registry.registerError(RequestLimitExceeded$, RequestLimitExceeded); -export var ResourceInUseException$ = [-3, n0, _RIUE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(ResourceInUseException$, ResourceInUseException); -export var ResourceNotFoundException$ = [-3, n0, _RNFEe, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException); -export var TableAlreadyExistsException$ = [-3, n0, _TAEE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(TableAlreadyExistsException$, TableAlreadyExistsException); -export var TableInUseException$ = [-3, n0, _TIUE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(TableInUseException$, TableInUseException); -export var TableNotFoundException$ = [-3, n0, _TNFE, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(TableNotFoundException$, TableNotFoundException); -export var ThrottlingException$ = [-3, n0, _TE, - { [_aQE]: [`Throttling`, 400], [_e]: _c, [_hE]: 400 }, - [_m, _tR], - [0, () => ThrottlingReasonList] -]; -n0_registry.registerError(ThrottlingException$, ThrottlingException); -export var TransactionCanceledException$ = [-3, n0, _TCE, - { [_e]: _c }, - [_M, _CR], - [0, () => CancellationReasonList] -]; -n0_registry.registerError(TransactionCanceledException$, TransactionCanceledException); -export var TransactionConflictException$ = [-3, n0, _TCEr, - { [_e]: _c }, - [_m], - [0] -]; -n0_registry.registerError(TransactionConflictException$, TransactionConflictException); -export var TransactionInProgressException$ = [-3, n0, _TIPE, - { [_e]: _c }, - [_M], - [0] -]; -n0_registry.registerError(TransactionInProgressException$, TransactionInProgressException); -export const errorTypeRegistries = [ - _s_registry, - n0_registry, -]; -export var ArchivalSummary$ = [3, n0, _AS, - 0, - [_ADT, _AR, _ABA], - [4, 0, 0] -]; -export var AttributeDefinition$ = [3, n0, _AD, - 0, - [_AN, _AT], - [0, 0], 2 -]; -export var AttributeValueUpdate$ = [3, n0, _AVU, - 0, - [_V, _A], - [() => AttributeValue$, 0] -]; -export var AutoScalingPolicyDescription$ = [3, n0, _ASPD, - 0, - [_PN, _TTSPC], - [0, () => AutoScalingTargetTrackingScalingPolicyConfigurationDescription$] -]; -export var AutoScalingPolicyUpdate$ = [3, n0, _ASPU, - 0, - [_TTSPC, _PN], - [() => AutoScalingTargetTrackingScalingPolicyConfigurationUpdate$, 0], 1 -]; -export var AutoScalingSettingsDescription$ = [3, n0, _ASSD, - 0, - [_MU, _MUa, _ASD, _ASRA, _SP], - [1, 1, 2, 0, () => AutoScalingPolicyDescriptionList] -]; -export var AutoScalingSettingsUpdate$ = [3, n0, _ASSU, - 0, - [_MU, _MUa, _ASD, _ASRA, _SPU], - [1, 1, 2, 0, () => AutoScalingPolicyUpdate$] -]; -export var AutoScalingTargetTrackingScalingPolicyConfigurationDescription$ = [3, n0, _ASTTSPCD, - 0, - [_TV, _DSI, _SIC, _SOC], - [1, 2, 1, 1], 1 -]; -export var AutoScalingTargetTrackingScalingPolicyConfigurationUpdate$ = [3, n0, _ASTTSPCU, - 0, - [_TV, _DSI, _SIC, _SOC], - [1, 2, 1, 1], 1 -]; -export var BackupDescription$ = [3, n0, _BD, - 0, - [_BDa, _STD, _STFD], - [() => BackupDetails$, () => SourceTableDetails$, () => SourceTableFeatureDetails$] -]; -export var BackupDetails$ = [3, n0, _BDa, - 0, - [_BA, _BN, _BS, _BT, _BCDT, _BSB, _BEDT], - [0, 0, 0, 0, 4, 1, 4], 5 -]; -export var BackupSummary$ = [3, n0, _BSa, - 0, - [_TN, _TI, _TA, _BA, _BN, _BCDT, _BEDT, _BS, _BT, _BSB], - [0, 0, 0, 0, 0, 4, 4, 0, 0, 1] -]; -export var BatchExecuteStatementInput$ = [3, n0, _BESI, - 0, - [_S, _RCC], - [() => PartiQLBatchRequest, 0], 1 -]; -export var BatchExecuteStatementOutput$ = [3, n0, _BESO, - 0, - [_R, _CC], - [() => PartiQLBatchResponse, () => ConsumedCapacityMultiple] -]; -export var BatchGetItemInput$ = [3, n0, _BGII, - 0, - [_RI, _RCC], - [() => BatchGetRequestMap, 0], 1 -]; -export var BatchGetItemOutput$ = [3, n0, _BGIO, - 0, - [_R, _UK, _CC], - [() => BatchGetResponseMap, () => BatchGetRequestMap, () => ConsumedCapacityMultiple] -]; -export var BatchStatementError$ = [3, n0, _BSE, - 0, - [_C, _M, _I], - [0, 0, () => AttributeMap] -]; -export var BatchStatementRequest$ = [3, n0, _BSR, - 0, - [_St, _P, _CRo, _RVOCCF], - [0, () => PreparedStatementParameters, 2, 0], 1 -]; -export var BatchStatementResponse$ = [3, n0, _BSRa, - 0, - [_E, _TN, _I], - [() => BatchStatementError$, 0, () => AttributeMap] -]; -export var BatchWriteItemInput$ = [3, n0, _BWII, - 0, - [_RI, _RCC, _RICM], - [() => BatchWriteItemRequestMap, 0, 0], 1 -]; -export var BatchWriteItemOutput$ = [3, n0, _BWIO, - 0, - [_UI, _ICM, _CC], - [() => BatchWriteItemRequestMap, () => ItemCollectionMetricsPerTable, () => ConsumedCapacityMultiple] -]; -export var BillingModeSummary$ = [3, n0, _BMS, - 0, - [_BM, _LUTPPRDT], - [0, 4] -]; -export var CancellationReason$ = [3, n0, _CRa, - 0, - [_I, _C, _M], - [() => AttributeMap, 0, 0] -]; -export var Capacity$ = [3, n0, _Ca, - 0, - [_RCU, _WCU, _CU], - [1, 1, 1] -]; -export var Condition$ = [3, n0, _Co, - 0, - [_CO, _AVL], - [0, () => AttributeValueList], 1 -]; -export var ConditionCheck$ = [3, n0, _CCo, - 0, - [_K, _TN, _CE, _EAN, _EAV, _RVOCCF], - [() => Key, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 3 -]; -export var ConsumedCapacity$ = [3, n0, _CC, - 0, - [_TN, _CU, _RCU, _WCU, _T, _LSI, _GSI], - [0, 1, 1, 1, () => Capacity$, () => SecondaryIndexesCapacityMap, () => SecondaryIndexesCapacityMap] -]; -export var ContinuousBackupsDescription$ = [3, n0, _CBD, - 0, - [_CBS, _PITRD], - [0, () => PointInTimeRecoveryDescription$], 1 -]; -export var ContributorInsightsSummary$ = [3, n0, _CIS, - 0, - [_TN, _IN, _CISo, _CIM], - [0, 0, 0, 0] -]; -export var CreateBackupInput$ = [3, n0, _CBI, - 0, - [_TN, _BN], - [0, 0], 2 -]; -export var CreateBackupOutput$ = [3, n0, _CBO, - 0, - [_BDa], - [() => BackupDetails$] -]; -export var CreateGlobalSecondaryIndexAction$ = [3, n0, _CGSIA, - 0, - [_IN, _KS, _Pr, _PT, _ODT, _WT], - [0, () => KeySchema, () => Projection$, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => WarmThroughput$], 3 -]; -export var CreateGlobalTableInput$ = [3, n0, _CGTI, - 0, - [_GTN, _RG], - [0, () => ReplicaList], 2 -]; -export var CreateGlobalTableOutput$ = [3, n0, _CGTO, - 0, - [_GTD], - [() => GlobalTableDescription$] -]; -export var CreateGlobalTableWitnessGroupMemberAction$ = [3, n0, _CGTWGMA, - 0, - [_RN], - [0], 1 -]; -export var CreateReplicaAction$ = [3, n0, _CRA, - 0, - [_RN], - [0], 1 -]; -export var CreateReplicationGroupMemberAction$ = [3, n0, _CRGMA, - 0, - [_RN, _KMSMKI, _PTO, _ODTO, _GSI, _TCO], - [0, 0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$, () => ReplicaGlobalSecondaryIndexList, 0], 1 -]; -export var CreateTableInput$ = [3, n0, _CTI, - 0, - [_TN, _ADt, _KS, _LSI, _GSI, _BM, _PT, _SS, _SSES, _Ta, _TC, _DPE, _WT, _RP, _ODT, _GTSA, _GTSRM], - [0, () => AttributeDefinitions, () => KeySchema, () => LocalSecondaryIndexList, () => GlobalSecondaryIndexList, 0, () => ProvisionedThroughput$, () => StreamSpecification$, () => SSESpecification$, () => TagList, 0, 2, () => WarmThroughput$, 0, () => OnDemandThroughput$, 0, 0], 1 -]; -export var CreateTableOutput$ = [3, n0, _CTO, - 0, - [_TD], - [() => TableDescription$] -]; -export var CsvOptions$ = [3, n0, _COs, - 0, - [_D, _HL], - [0, 64 | 0] -]; -export var Delete$ = [3, n0, _De, - 0, - [_K, _TN, _CE, _EAN, _EAV, _RVOCCF], - [() => Key, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 2 -]; -export var DeleteBackupInput$ = [3, n0, _DBI, - 0, - [_BA], - [0], 1 -]; -export var DeleteBackupOutput$ = [3, n0, _DBO, - 0, - [_BD], - [() => BackupDescription$] -]; -export var DeleteGlobalSecondaryIndexAction$ = [3, n0, _DGSIA, - 0, - [_IN], - [0], 1 -]; -export var DeleteGlobalTableWitnessGroupMemberAction$ = [3, n0, _DGTWGMA, - 0, - [_RN], - [0], 1 -]; -export var DeleteItemInput$ = [3, n0, _DII, - 0, - [_TN, _K, _Ex, _COo, _RV, _RCC, _RICM, _CE, _EAN, _EAV, _RVOCCF], - [0, () => Key, () => ExpectedAttributeMap, 0, 0, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 2 -]; -export var DeleteItemOutput$ = [3, n0, _DIO, - 0, - [_At, _CC, _ICM], - [() => AttributeMap, () => ConsumedCapacity$, () => ItemCollectionMetrics$] -]; -export var DeleteReplicaAction$ = [3, n0, _DRA, - 0, - [_RN], - [0], 1 -]; -export var DeleteReplicationGroupMemberAction$ = [3, n0, _DRGMA, - 0, - [_RN], - [0], 1 -]; -export var DeleteRequest$ = [3, n0, _DR, - 0, - [_K], - [() => Key], 1 -]; -export var DeleteResourcePolicyInput$ = [3, n0, _DRPI, - 0, - [_RA, _ERI], - [0, 0], 1 -]; -export var DeleteResourcePolicyOutput$ = [3, n0, _DRPO, - 0, - [_RIe], - [0] -]; -export var DeleteTableInput$ = [3, n0, _DTI, - 0, - [_TN], - [0], 1 -]; -export var DeleteTableOutput$ = [3, n0, _DTO, - 0, - [_TD], - [() => TableDescription$] -]; -export var DescribeBackupInput$ = [3, n0, _DBIe, - 0, - [_BA], - [0], 1 -]; -export var DescribeBackupOutput$ = [3, n0, _DBOe, - 0, - [_BD], - [() => BackupDescription$] -]; -export var DescribeContinuousBackupsInput$ = [3, n0, _DCBI, - 0, - [_TN], - [0], 1 -]; -export var DescribeContinuousBackupsOutput$ = [3, n0, _DCBO, - 0, - [_CBD], - [() => ContinuousBackupsDescription$] -]; -export var DescribeContributorInsightsInput$ = [3, n0, _DCII, - 0, - [_TN, _IN], - [0, 0], 1 -]; -export var DescribeContributorInsightsOutput$ = [3, n0, _DCIO, - 0, - [_TN, _IN, _CIRL, _CISo, _LUDT, _FE, _CIM], - [0, 0, 64 | 0, 0, 4, () => FailureException$, 0] -]; -export var DescribeEndpointsRequest$ = [3, n0, _DER, - 0, - [], - [] -]; -export var DescribeEndpointsResponse$ = [3, n0, _DERe, - 0, - [_En], - [() => Endpoints], 1 -]; -export var DescribeExportInput$ = [3, n0, _DEI, - 0, - [_EA], - [0], 1 -]; -export var DescribeExportOutput$ = [3, n0, _DEO, - 0, - [_ED], - [() => ExportDescription$] -]; -export var DescribeGlobalTableInput$ = [3, n0, _DGTI, - 0, - [_GTN], - [0], 1 -]; -export var DescribeGlobalTableOutput$ = [3, n0, _DGTO, - 0, - [_GTD], - [() => GlobalTableDescription$] -]; -export var DescribeGlobalTableSettingsInput$ = [3, n0, _DGTSI, - 0, - [_GTN], - [0], 1 -]; -export var DescribeGlobalTableSettingsOutput$ = [3, n0, _DGTSO, - 0, - [_GTN, _RS], - [0, () => ReplicaSettingsDescriptionList] -]; -export var DescribeImportInput$ = [3, n0, _DIIe, - 0, - [_IA], - [0], 1 -]; -export var DescribeImportOutput$ = [3, n0, _DIOe, - 0, - [_ITD], - [() => ImportTableDescription$], 1 -]; -export var DescribeKinesisStreamingDestinationInput$ = [3, n0, _DKSDI, - 0, - [_TN], - [0], 1 -]; -export var DescribeKinesisStreamingDestinationOutput$ = [3, n0, _DKSDO, - 0, - [_TN, _KDSD], - [0, () => KinesisDataStreamDestinations] -]; -export var DescribeLimitsInput$ = [3, n0, _DLI, - 0, - [], - [] -]; -export var DescribeLimitsOutput$ = [3, n0, _DLO, - 0, - [_AMRCU, _AMWCU, _TMRCU, _TMWCU], - [1, 1, 1, 1] -]; -export var DescribeTableInput$ = [3, n0, _DTIe, - 0, - [_TN], - [0], 1 -]; -export var DescribeTableOutput$ = [3, n0, _DTOe, - 0, - [_T], - [() => TableDescription$] -]; -export var DescribeTableReplicaAutoScalingInput$ = [3, n0, _DTRASI, - 0, - [_TN], - [0], 1 -]; -export var DescribeTableReplicaAutoScalingOutput$ = [3, n0, _DTRASO, - 0, - [_TASD], - [() => TableAutoScalingDescription$] -]; -export var DescribeTimeToLiveInput$ = [3, n0, _DTTLI, - 0, - [_TN], - [0], 1 -]; -export var DescribeTimeToLiveOutput$ = [3, n0, _DTTLO, - 0, - [_TTLD], - [() => TimeToLiveDescription$] -]; -export var EnableKinesisStreamingConfiguration$ = [3, n0, _EKSC, - 0, - [_ACDTP], - [0] -]; -export var Endpoint$ = [3, n0, _End, - 0, - [_Ad, _CPIM], - [0, 1], 2 -]; -export var ExecuteStatementInput$ = [3, n0, _ESI, - 0, - [_St, _P, _CRo, _NT, _RCC, _L, _RVOCCF], - [0, () => PreparedStatementParameters, 2, 0, 0, 1, 0], 1 -]; -export var ExecuteStatementOutput$ = [3, n0, _ESO, - 0, - [_It, _NT, _CC, _LEK], - [() => ItemList, 0, () => ConsumedCapacity$, () => Key] -]; -export var ExecuteTransactionInput$ = [3, n0, _ETI, - 0, - [_TS, _CRT, _RCC], - [() => ParameterizedStatements, [0, 4], 0], 1 -]; -export var ExecuteTransactionOutput$ = [3, n0, _ETO, - 0, - [_R, _CC], - [() => ItemResponseList, () => ConsumedCapacityMultiple] -]; -export var ExpectedAttributeValue$ = [3, n0, _EAVx, - 0, - [_V, _Exi, _CO, _AVL], - [() => AttributeValue$, 2, 0, () => AttributeValueList] -]; -export var ExportDescription$ = [3, n0, _ED, - 0, - [_EA, _ES, _ST, _ET, _EM, _TA, _TI, _ETx, _CT, _SB, _SBO, _SPr, _SSA, _SSKKI, _FC, _FM, _EF, _BSBi, _IC, _ETxp, _IES], - [0, 0, 4, 4, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, () => IncrementalExportSpecification$] -]; -export var ExportSummary$ = [3, n0, _ESx, - 0, - [_EA, _ES, _ETxp], - [0, 0, 0] -]; -export var ExportTableToPointInTimeInput$ = [3, n0, _ETTPITI, - 0, - [_TA, _SB, _ETx, _CT, _SBO, _SPr, _SSA, _SSKKI, _EF, _ETxp, _IES], - [0, 0, 4, [0, 4], 0, 0, 0, 0, 0, 0, () => IncrementalExportSpecification$], 2 -]; -export var ExportTableToPointInTimeOutput$ = [3, n0, _ETTPITO, - 0, - [_ED], - [() => ExportDescription$] -]; -export var FailureException$ = [3, n0, _FE, - 0, - [_EN, _EDx], - [0, 0] -]; -export var Get$ = [3, n0, _G, - 0, - [_K, _TN, _PE, _EAN], - [() => Key, 0, 0, 128 | 0], 2 -]; -export var GetItemInput$ = [3, n0, _GII, - 0, - [_TN, _K, _ATG, _CRo, _RCC, _PE, _EAN], - [0, () => Key, 64 | 0, 2, 0, 0, 128 | 0], 2 -]; -export var GetItemOutput$ = [3, n0, _GIO, - 0, - [_I, _CC], - [() => AttributeMap, () => ConsumedCapacity$] -]; -export var GetResourcePolicyInput$ = [3, n0, _GRPI, - 0, - [_RA], - [0], 1 -]; -export var GetResourcePolicyOutput$ = [3, n0, _GRPO, - 0, - [_Po, _RIe], - [0, 0] -]; -export var GlobalSecondaryIndex$ = [3, n0, _GSIl, - 0, - [_IN, _KS, _Pr, _PT, _ODT, _WT], - [0, () => KeySchema, () => Projection$, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => WarmThroughput$], 3 -]; -export var GlobalSecondaryIndexAutoScalingUpdate$ = [3, n0, _GSIASU, - 0, - [_IN, _PWCASU], - [0, () => AutoScalingSettingsUpdate$] -]; -export var GlobalSecondaryIndexDescription$ = [3, n0, _GSID, - 0, - [_IN, _KS, _Pr, _IS, _B, _PT, _ISB, _IC, _IAn, _ODT, _WT], - [0, () => KeySchema, () => Projection$, 0, 2, () => ProvisionedThroughputDescription$, 1, 1, 0, () => OnDemandThroughput$, () => GlobalSecondaryIndexWarmThroughputDescription$] -]; -export var GlobalSecondaryIndexInfo$ = [3, n0, _GSII, - 0, - [_IN, _KS, _Pr, _PT, _ODT], - [0, () => KeySchema, () => Projection$, () => ProvisionedThroughput$, () => OnDemandThroughput$] -]; -export var GlobalSecondaryIndexUpdate$ = [3, n0, _GSIU, - 0, - [_U, _Cr, _De], - [() => UpdateGlobalSecondaryIndexAction$, () => CreateGlobalSecondaryIndexAction$, () => DeleteGlobalSecondaryIndexAction$] -]; -export var GlobalSecondaryIndexWarmThroughputDescription$ = [3, n0, _GSIWTD, - 0, - [_RUPS, _WUPS, _Sta], - [1, 1, 0] -]; -export var GlobalTable$ = [3, n0, _GT, - 0, - [_GTN, _RG], - [0, () => ReplicaList] -]; -export var GlobalTableDescription$ = [3, n0, _GTD, - 0, - [_RG, _GTA, _CDT, _GTS, _GTN], - [() => ReplicaDescriptionList, 0, 4, 0, 0] -]; -export var GlobalTableGlobalSecondaryIndexSettingsUpdate$ = [3, n0, _GTGSISU, - 0, - [_IN, _PWCU, _PWCASSU], - [0, 1, () => AutoScalingSettingsUpdate$], 1 -]; -export var GlobalTableWitnessDescription$ = [3, n0, _GTWD, - 0, - [_RN, _WS], - [0, 0] -]; -export var GlobalTableWitnessGroupUpdate$ = [3, n0, _GTWGU, - 0, - [_Cr, _De], - [() => CreateGlobalTableWitnessGroupMemberAction$, () => DeleteGlobalTableWitnessGroupMemberAction$] -]; -export var ImportSummary$ = [3, n0, _ISm, - 0, - [_IA, _ISmp, _TA, _SBS, _CWLGA, _IF, _ST, _ET], - [0, 0, 0, () => S3BucketSource$, 0, 0, 4, 4] -]; -export var ImportTableDescription$ = [3, n0, _ITD, - 0, - [_IA, _ISmp, _TA, _TI, _CT, _SBS, _EC, _CWLGA, _IF, _IFO, _ICT, _TCP, _ST, _ET, _PSB, _PIC, _IIC, _FC, _FM], - [0, 0, 0, 0, 0, () => S3BucketSource$, 1, 0, 0, () => InputFormatOptions$, 0, () => TableCreationParameters$, 4, 4, 1, 1, 1, 0, 0] -]; -export var ImportTableInput$ = [3, n0, _ITI, - 0, - [_SBS, _IF, _TCP, _CT, _IFO, _ICT], - [() => S3BucketSource$, 0, () => TableCreationParameters$, [0, 4], () => InputFormatOptions$, 0], 3 -]; -export var ImportTableOutput$ = [3, n0, _ITO, - 0, - [_ITD], - [() => ImportTableDescription$], 1 -]; -export var IncrementalExportSpecification$ = [3, n0, _IES, - 0, - [_EFT, _ETT, _EVT], - [4, 4, 0] -]; -export var InputFormatOptions$ = [3, n0, _IFO, - 0, - [_Cs], - [() => CsvOptions$] -]; -export var ItemCollectionMetrics$ = [3, n0, _ICM, - 0, - [_ICK, _SERGB], - [() => ItemCollectionKeyAttributeMap, 64 | 1] -]; -export var ItemResponse$ = [3, n0, _IR, - 0, - [_I], - [() => AttributeMap] -]; -export var KeysAndAttributes$ = [3, n0, _KAA, - 0, - [_Ke, _ATG, _CRo, _PE, _EAN], - [() => KeyList, 64 | 0, 2, 0, 128 | 0], 1 -]; -export var KeySchemaElement$ = [3, n0, _KSE, - 0, - [_AN, _KT], - [0, 0], 2 -]; -export var KinesisDataStreamDestination$ = [3, n0, _KDSDi, - 0, - [_SA, _DS, _DSD, _ACDTP], - [0, 0, 0, 0] -]; -export var KinesisStreamingDestinationInput$ = [3, n0, _KSDI, - 0, - [_TN, _SA, _EKSC], - [0, 0, () => EnableKinesisStreamingConfiguration$], 2 -]; -export var KinesisStreamingDestinationOutput$ = [3, n0, _KSDO, - 0, - [_TN, _SA, _DS, _EKSC], - [0, 0, 0, () => EnableKinesisStreamingConfiguration$] -]; -export var ListBackupsInput$ = [3, n0, _LBI, - 0, - [_TN, _L, _TRLB, _TRUB, _ESBA, _BT], - [0, 1, 4, 4, 0, 0] -]; -export var ListBackupsOutput$ = [3, n0, _LBO, - 0, - [_BSac, _LEBA], - [() => BackupSummaries, 0] -]; -export var ListContributorInsightsInput$ = [3, n0, _LCII, - 0, - [_TN, _NT, _MR], - [0, 0, 1] -]; -export var ListContributorInsightsOutput$ = [3, n0, _LCIO, - 0, - [_CISon, _NT], - [() => ContributorInsightsSummaries, 0] -]; -export var ListExportsInput$ = [3, n0, _LEI, - 0, - [_TA, _MR, _NT], - [0, 1, 0] -]; -export var ListExportsOutput$ = [3, n0, _LEO, - 0, - [_ESxp, _NT], - [() => ExportSummaries, 0] -]; -export var ListGlobalTablesInput$ = [3, n0, _LGTI, - 0, - [_ESGTN, _L, _RN], - [0, 1, 0] -]; -export var ListGlobalTablesOutput$ = [3, n0, _LGTO, - 0, - [_GTl, _LEGTN], - [() => GlobalTableList, 0] -]; -export var ListImportsInput$ = [3, n0, _LII, - 0, - [_TA, _PS, _NT], - [0, 1, 0] -]; -export var ListImportsOutput$ = [3, n0, _LIO, - 0, - [_ISL, _NT], - [() => ImportSummaryList, 0] -]; -export var ListTablesInput$ = [3, n0, _LTI, - 0, - [_ESTN, _L], - [0, 1] -]; -export var ListTablesOutput$ = [3, n0, _LTO, - 0, - [_TNa, _LETN], - [64 | 0, 0] -]; -export var ListTagsOfResourceInput$ = [3, n0, _LTORI, - 0, - [_RA, _NT], - [0, 0], 1 -]; -export var ListTagsOfResourceOutput$ = [3, n0, _LTORO, - 0, - [_Ta, _NT], - [() => TagList, 0] -]; -export var LocalSecondaryIndex$ = [3, n0, _LSIo, - 0, - [_IN, _KS, _Pr], - [0, () => KeySchema, () => Projection$], 3 -]; -export var LocalSecondaryIndexDescription$ = [3, n0, _LSID, - 0, - [_IN, _KS, _Pr, _ISB, _IC, _IAn], - [0, () => KeySchema, () => Projection$, 1, 1, 0] -]; -export var LocalSecondaryIndexInfo$ = [3, n0, _LSII, - 0, - [_IN, _KS, _Pr], - [0, () => KeySchema, () => Projection$] -]; -export var OnDemandThroughput$ = [3, n0, _ODT, - 0, - [_MRRU, _MWRU], - [1, 1] -]; -export var OnDemandThroughputOverride$ = [3, n0, _ODTO, - 0, - [_MRRU], - [1] -]; -export var ParameterizedStatement$ = [3, n0, _PSa, - 0, - [_St, _P, _RVOCCF], - [0, () => PreparedStatementParameters, 0], 1 -]; -export var PointInTimeRecoveryDescription$ = [3, n0, _PITRD, - 0, - [_PITRS, _RPID, _ERDT, _LRDT], - [0, 1, 4, 4] -]; -export var PointInTimeRecoverySpecification$ = [3, n0, _PITRSo, - 0, - [_PITRE, _RPID], - [2, 1], 1 -]; -export var Projection$ = [3, n0, _Pr, - 0, - [_PTr, _NKA], - [0, 64 | 0] -]; -export var ProvisionedThroughput$ = [3, n0, _PT, - 0, - [_RCU, _WCU], - [1, 1], 2 -]; -export var ProvisionedThroughputDescription$ = [3, n0, _PTD, - 0, - [_LIDT, _LDDT, _NODT, _RCU, _WCU], - [4, 4, 1, 1, 1] -]; -export var ProvisionedThroughputOverride$ = [3, n0, _PTO, - 0, - [_RCU], - [1] -]; -export var Put$ = [3, n0, _Pu, - 0, - [_I, _TN, _CE, _EAN, _EAV, _RVOCCF], - [() => PutItemInputAttributeMap, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 2 -]; -export var PutItemInput$ = [3, n0, _PII, - 0, - [_TN, _I, _Ex, _RV, _RCC, _RICM, _COo, _CE, _EAN, _EAV, _RVOCCF], - [0, () => PutItemInputAttributeMap, () => ExpectedAttributeMap, 0, 0, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 2 -]; -export var PutItemOutput$ = [3, n0, _PIO, - 0, - [_At, _CC, _ICM], - [() => AttributeMap, () => ConsumedCapacity$, () => ItemCollectionMetrics$] -]; -export var PutRequest$ = [3, n0, _PR, - 0, - [_I], - [() => PutItemInputAttributeMap], 1 -]; -export var PutResourcePolicyInput$ = [3, n0, _PRPI, - 0, - [_RA, _Po, _ERI, _CRSRA], - [0, 0, 0, [2, { [_hH]: _xacrsra }]], 2 -]; -export var PutResourcePolicyOutput$ = [3, n0, _PRPO, - 0, - [_RIe], - [0] -]; -export var QueryInput$ = [3, n0, _QI, - 0, - [_TN, _IN, _Se, _ATG, _L, _CRo, _KC, _QF, _COo, _SIF, _ESK, _RCC, _PE, _FEi, _KCE, _EAN, _EAV], - [0, 0, 0, 64 | 0, 1, 2, () => KeyConditions, () => FilterConditionMap, 0, 2, () => Key, 0, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap], 1 -]; -export var QueryOutput$ = [3, n0, _QO, - 0, - [_It, _Cou, _SC, _LEK, _CC], - [() => ItemList, 1, 1, () => Key, () => ConsumedCapacity$] -]; -export var Replica$ = [3, n0, _Re, - 0, - [_RN], - [0] -]; -export var ReplicaAutoScalingDescription$ = [3, n0, _RASD, - 0, - [_RN, _GSI, _RPRCASS, _RPWCASS, _RSe], - [0, () => ReplicaGlobalSecondaryIndexAutoScalingDescriptionList, () => AutoScalingSettingsDescription$, () => AutoScalingSettingsDescription$, 0] -]; -export var ReplicaAutoScalingUpdate$ = [3, n0, _RASU, - 0, - [_RN, _RGSIU, _RPRCASU], - [0, () => ReplicaGlobalSecondaryIndexAutoScalingUpdateList, () => AutoScalingSettingsUpdate$], 1 -]; -export var ReplicaDescription$ = [3, n0, _RD, - 0, - [_RN, _RSe, _RAe, _RSD, _RSPP, _KMSMKI, _PTO, _ODTO, _WT, _GSI, _RIDT, _RTCS, _GTSRM], - [0, 0, 0, 0, 0, 0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$, () => TableWarmThroughputDescription$, () => ReplicaGlobalSecondaryIndexDescriptionList, 4, () => TableClassSummary$, 0] -]; -export var ReplicaGlobalSecondaryIndex$ = [3, n0, _RGSI, - 0, - [_IN, _PTO, _ODTO], - [0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$], 1 -]; -export var ReplicaGlobalSecondaryIndexAutoScalingDescription$ = [3, n0, _RGSIASD, - 0, - [_IN, _IS, _PRCASS, _PWCASS], - [0, 0, () => AutoScalingSettingsDescription$, () => AutoScalingSettingsDescription$] -]; -export var ReplicaGlobalSecondaryIndexAutoScalingUpdate$ = [3, n0, _RGSIASU, - 0, - [_IN, _PRCASU], - [0, () => AutoScalingSettingsUpdate$] -]; -export var ReplicaGlobalSecondaryIndexDescription$ = [3, n0, _RGSID, - 0, - [_IN, _PTO, _ODTO, _WT], - [0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$, () => GlobalSecondaryIndexWarmThroughputDescription$] -]; -export var ReplicaGlobalSecondaryIndexSettingsDescription$ = [3, n0, _RGSISD, - 0, - [_IN, _IS, _PRCU, _PRCASS, _PWCU, _PWCASS], - [0, 0, 1, () => AutoScalingSettingsDescription$, 1, () => AutoScalingSettingsDescription$], 1 -]; -export var ReplicaGlobalSecondaryIndexSettingsUpdate$ = [3, n0, _RGSISU, - 0, - [_IN, _PRCU, _PRCASSU], - [0, 1, () => AutoScalingSettingsUpdate$], 1 -]; -export var ReplicaSettingsDescription$ = [3, n0, _RSDe, - 0, - [_RN, _RSe, _RBMS, _RPRCU, _RPRCASS, _RPWCU, _RPWCASS, _RGSIS, _RTCS], - [0, 0, () => BillingModeSummary$, 1, () => AutoScalingSettingsDescription$, 1, () => AutoScalingSettingsDescription$, () => ReplicaGlobalSecondaryIndexSettingsDescriptionList, () => TableClassSummary$], 1 -]; -export var ReplicaSettingsUpdate$ = [3, n0, _RSU, - 0, - [_RN, _RPRCU, _RPRCASSU, _RGSISU, _RTC], - [0, 1, () => AutoScalingSettingsUpdate$, () => ReplicaGlobalSecondaryIndexSettingsUpdateList, 0], 1 -]; -export var ReplicationGroupUpdate$ = [3, n0, _RGU, - 0, - [_Cr, _U, _De], - [() => CreateReplicationGroupMemberAction$, () => UpdateReplicationGroupMemberAction$, () => DeleteReplicationGroupMemberAction$] -]; -export var ReplicaUpdate$ = [3, n0, _RU, - 0, - [_Cr, _De], - [() => CreateReplicaAction$, () => DeleteReplicaAction$] -]; -export var RestoreSummary$ = [3, n0, _RSes, - 0, - [_RDT, _RIP, _SBA, _STA], - [4, 2, 0, 0], 2 -]; -export var RestoreTableFromBackupInput$ = [3, n0, _RTFBI, - 0, - [_TTN, _BA, _BMO, _GSIO, _LSIO, _PTO, _ODTO, _SSESO], - [0, 0, 0, () => GlobalSecondaryIndexList, () => LocalSecondaryIndexList, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => SSESpecification$], 2 -]; -export var RestoreTableFromBackupOutput$ = [3, n0, _RTFBO, - 0, - [_TD], - [() => TableDescription$] -]; -export var RestoreTableToPointInTimeInput$ = [3, n0, _RTTPITI, - 0, - [_TTN, _STA, _STN, _ULRT, _RDT, _BMO, _GSIO, _LSIO, _PTO, _ODTO, _SSESO], - [0, 0, 0, 2, 4, 0, () => GlobalSecondaryIndexList, () => LocalSecondaryIndexList, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => SSESpecification$], 1 -]; -export var RestoreTableToPointInTimeOutput$ = [3, n0, _RTTPITO, - 0, - [_TD], - [() => TableDescription$] -]; -export var S3BucketSource$ = [3, n0, _SBS, - 0, - [_SB, _SBO, _SKP], - [0, 0, 0], 1 -]; -export var ScanInput$ = [3, n0, _SI, - 0, - [_TN, _IN, _ATG, _L, _Se, _SF, _COo, _ESK, _RCC, _TSo, _Seg, _PE, _FEi, _EAN, _EAV, _CRo], - [0, 0, 64 | 0, 1, 0, () => FilterConditionMap, 0, () => Key, 0, 1, 1, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 2], 1 -]; -export var ScanOutput$ = [3, n0, _SO, - 0, - [_It, _Cou, _SC, _LEK, _CC], - [() => ItemList, 1, 1, () => Key, () => ConsumedCapacity$] -]; -export var SourceTableDetails$ = [3, n0, _STD, - 0, - [_TN, _TI, _KS, _TCDT, _PT, _TA, _TSB, _ODT, _IC, _BM], - [0, 0, () => KeySchema, 4, () => ProvisionedThroughput$, 0, 1, () => OnDemandThroughput$, 1, 0], 5 -]; -export var SourceTableFeatureDetails$ = [3, n0, _STFD, - 0, - [_LSI, _GSI, _SD, _TTLD, _SSED], - [() => LocalSecondaryIndexes, () => GlobalSecondaryIndexes, () => StreamSpecification$, () => TimeToLiveDescription$, () => SSEDescription$] -]; -export var SSEDescription$ = [3, n0, _SSED, - 0, - [_Sta, _SSET, _KMSMKA, _IEDT], - [0, 0, 0, 4] -]; -export var SSESpecification$ = [3, n0, _SSES, - 0, - [_Ena, _SSET, _KMSMKI], - [2, 0, 0] -]; -export var StreamSpecification$ = [3, n0, _SS, - 0, - [_SE, _SVT], - [2, 0], 1 -]; -export var TableAutoScalingDescription$ = [3, n0, _TASD, - 0, - [_TN, _TSa, _Rep], - [0, 0, () => ReplicaAutoScalingDescriptionList] -]; -export var TableClassSummary$ = [3, n0, _TCS, - 0, - [_TC, _LUDT], - [0, 4] -]; -export var TableCreationParameters$ = [3, n0, _TCP, - 0, - [_TN, _ADt, _KS, _BM, _PT, _ODT, _SSES, _GSI], - [0, () => AttributeDefinitions, () => KeySchema, 0, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => SSESpecification$, () => GlobalSecondaryIndexList], 3 -]; -export var TableDescription$ = [3, n0, _TD, - 0, - [_ADt, _TN, _KS, _TSa, _CDT, _PT, _TSB, _IC, _TA, _TI, _BMS, _LSI, _GSI, _SS, _LSL, _LSA, _GTV, _Rep, _GTW, _GTSRM, _RSes, _SSED, _AS, _TCS, _DPE, _ODT, _WT, _MRC], - [() => AttributeDefinitions, 0, () => KeySchema, 0, 4, () => ProvisionedThroughputDescription$, 1, 1, 0, 0, () => BillingModeSummary$, () => LocalSecondaryIndexDescriptionList, () => GlobalSecondaryIndexDescriptionList, () => StreamSpecification$, 0, 0, 0, () => ReplicaDescriptionList, () => GlobalTableWitnessDescriptionList, 0, () => RestoreSummary$, () => SSEDescription$, () => ArchivalSummary$, () => TableClassSummary$, 2, () => OnDemandThroughput$, () => TableWarmThroughputDescription$, 0] -]; -export var TableWarmThroughputDescription$ = [3, n0, _TWTD, - 0, - [_RUPS, _WUPS, _Sta], - [1, 1, 0] -]; -export var Tag$ = [3, n0, _Tag, - 0, - [_K, _V], - [0, 0], 2 -]; -export var TagResourceInput$ = [3, n0, _TRI, - 0, - [_RA, _Ta], - [0, () => TagList], 2 -]; -export var ThrottlingReason$ = [3, n0, _TRh, - 0, - [_r, _re], - [0, 0] -]; -export var TimeToLiveDescription$ = [3, n0, _TTLD, - 0, - [_TTLS, _AN], - [0, 0] -]; -export var TimeToLiveSpecification$ = [3, n0, _TTLSi, - 0, - [_Ena, _AN], - [2, 0], 2 -]; -export var TransactGetItem$ = [3, n0, _TGI, - 0, - [_G], - [() => Get$], 1 -]; -export var TransactGetItemsInput$ = [3, n0, _TGII, - 0, - [_TIr, _RCC], - [() => TransactGetItemList, 0], 1 -]; -export var TransactGetItemsOutput$ = [3, n0, _TGIO, - 0, - [_CC, _R], - [() => ConsumedCapacityMultiple, () => ItemResponseList] -]; -export var TransactWriteItem$ = [3, n0, _TWI, - 0, - [_CCo, _Pu, _De, _U], - [() => ConditionCheck$, () => Put$, () => Delete$, () => Update$] -]; -export var TransactWriteItemsInput$ = [3, n0, _TWII, - 0, - [_TIr, _RCC, _RICM, _CRT], - [() => TransactWriteItemList, 0, 0, [0, 4]], 1 -]; -export var TransactWriteItemsOutput$ = [3, n0, _TWIO, - 0, - [_CC, _ICM], - [() => ConsumedCapacityMultiple, () => ItemCollectionMetricsPerTable] -]; -export var UntagResourceInput$ = [3, n0, _URI, - 0, - [_RA, _TK], - [0, 64 | 0], 2 -]; -export var Update$ = [3, n0, _U, - 0, - [_K, _UE, _TN, _CE, _EAN, _EAV, _RVOCCF], - [() => Key, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 3 -]; -export var UpdateContinuousBackupsInput$ = [3, n0, _UCBI, - 0, - [_TN, _PITRSo], - [0, () => PointInTimeRecoverySpecification$], 2 -]; -export var UpdateContinuousBackupsOutput$ = [3, n0, _UCBO, - 0, - [_CBD], - [() => ContinuousBackupsDescription$] -]; -export var UpdateContributorInsightsInput$ = [3, n0, _UCII, - 0, - [_TN, _CIA, _IN, _CIM], - [0, 0, 0, 0], 2 -]; -export var UpdateContributorInsightsOutput$ = [3, n0, _UCIO, - 0, - [_TN, _IN, _CISo, _CIM], - [0, 0, 0, 0] -]; -export var UpdateGlobalSecondaryIndexAction$ = [3, n0, _UGSIA, - 0, - [_IN, _PT, _ODT, _WT], - [0, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => WarmThroughput$], 1 -]; -export var UpdateGlobalTableInput$ = [3, n0, _UGTI, - 0, - [_GTN, _RUe], - [0, () => ReplicaUpdateList], 2 -]; -export var UpdateGlobalTableOutput$ = [3, n0, _UGTO, - 0, - [_GTD], - [() => GlobalTableDescription$] -]; -export var UpdateGlobalTableSettingsInput$ = [3, n0, _UGTSI, - 0, - [_GTN, _GTBM, _GTPWCU, _GTPWCASSU, _GTGSISU, _RSU], - [0, 0, 1, () => AutoScalingSettingsUpdate$, () => GlobalTableGlobalSecondaryIndexSettingsUpdateList, () => ReplicaSettingsUpdateList], 1 -]; -export var UpdateGlobalTableSettingsOutput$ = [3, n0, _UGTSO, - 0, - [_GTN, _RS], - [0, () => ReplicaSettingsDescriptionList] -]; -export var UpdateItemInput$ = [3, n0, _UII, - 0, - [_TN, _K, _AU, _Ex, _COo, _RV, _RCC, _RICM, _UE, _CE, _EAN, _EAV, _RVOCCF], - [0, () => Key, () => AttributeUpdates, () => ExpectedAttributeMap, 0, 0, 0, 0, 0, 0, 128 | 0, () => ExpressionAttributeValueMap, 0], 2 -]; -export var UpdateItemOutput$ = [3, n0, _UIO, - 0, - [_At, _CC, _ICM], - [() => AttributeMap, () => ConsumedCapacity$, () => ItemCollectionMetrics$] -]; -export var UpdateKinesisStreamingConfiguration$ = [3, n0, _UKSC, - 0, - [_ACDTP], - [0] -]; -export var UpdateKinesisStreamingDestinationInput$ = [3, n0, _UKSDI, - 0, - [_TN, _SA, _UKSC], - [0, 0, () => UpdateKinesisStreamingConfiguration$], 2 -]; -export var UpdateKinesisStreamingDestinationOutput$ = [3, n0, _UKSDO, - 0, - [_TN, _SA, _DS, _UKSC], - [0, 0, 0, () => UpdateKinesisStreamingConfiguration$] -]; -export var UpdateReplicationGroupMemberAction$ = [3, n0, _URGMA, - 0, - [_RN, _KMSMKI, _PTO, _ODTO, _GSI, _TCO], - [0, 0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$, () => ReplicaGlobalSecondaryIndexList, 0], 1 -]; -export var UpdateTableInput$ = [3, n0, _UTI, - 0, - [_TN, _ADt, _BM, _PT, _GSIUl, _SS, _SSES, _RUe, _TC, _DPE, _MRC, _GTWU, _ODT, _WT, _GTSRM], - [0, () => AttributeDefinitions, 0, () => ProvisionedThroughput$, () => GlobalSecondaryIndexUpdateList, () => StreamSpecification$, () => SSESpecification$, () => ReplicationGroupUpdateList, 0, 2, 0, () => GlobalTableWitnessGroupUpdateList, () => OnDemandThroughput$, () => WarmThroughput$, 0], 1 -]; -export var UpdateTableOutput$ = [3, n0, _UTO, - 0, - [_TD], - [() => TableDescription$] -]; -export var UpdateTableReplicaAutoScalingInput$ = [3, n0, _UTRASI, - 0, - [_TN, _GSIUl, _PWCASU, _RUe], - [0, () => GlobalSecondaryIndexAutoScalingUpdateList, () => AutoScalingSettingsUpdate$, () => ReplicaAutoScalingUpdateList], 1 -]; -export var UpdateTableReplicaAutoScalingOutput$ = [3, n0, _UTRASO, - 0, - [_TASD], - [() => TableAutoScalingDescription$] -]; -export var UpdateTimeToLiveInput$ = [3, n0, _UTTLI, - 0, - [_TN, _TTLSi], - [0, () => TimeToLiveSpecification$], 2 -]; -export var UpdateTimeToLiveOutput$ = [3, n0, _UTTLO, - 0, - [_TTLSi], - [() => TimeToLiveSpecification$] -]; -export var WarmThroughput$ = [3, n0, _WT, - 0, - [_RUPS, _WUPS], - [1, 1] -]; -export var WriteRequest$ = [3, n0, _WR, - 0, - [_PR, _DR], - [() => PutRequest$, () => DeleteRequest$] -]; -var __Unit = "unit"; -var AttributeDefinitions = [1, n0, _ADt, - 0, () => AttributeDefinition$ -]; -var AttributeNameList = 64 | 0; -var AttributeValueList = [1, n0, _AVL, - 0, () => AttributeValue$ -]; -var AutoScalingPolicyDescriptionList = [1, n0, _ASPDL, - 0, () => AutoScalingPolicyDescription$ -]; -var BackupSummaries = [1, n0, _BSac, - 0, () => BackupSummary$ -]; -var BinarySetAttributeValue = 64 | 21; -var CancellationReasonList = [1, n0, _CRL, - 0, () => CancellationReason$ -]; -var ConsumedCapacityMultiple = [1, n0, _CCM, - 0, () => ConsumedCapacity$ -]; -var ContributorInsightsRuleList = 64 | 0; -var ContributorInsightsSummaries = [1, n0, _CISon, - 0, () => ContributorInsightsSummary$ -]; -var CsvHeaderList = 64 | 0; -var Endpoints = [1, n0, _En, - 0, () => Endpoint$ -]; -var ExportSummaries = [1, n0, _ESxp, - 0, () => ExportSummary$ -]; -var GlobalSecondaryIndexAutoScalingUpdateList = [1, n0, _GSIASUL, - 0, () => GlobalSecondaryIndexAutoScalingUpdate$ -]; -var GlobalSecondaryIndexDescriptionList = [1, n0, _GSIDL, - 0, () => GlobalSecondaryIndexDescription$ -]; -var GlobalSecondaryIndexes = [1, n0, _GSI, - 0, () => GlobalSecondaryIndexInfo$ -]; -var GlobalSecondaryIndexList = [1, n0, _GSIL, - 0, () => GlobalSecondaryIndex$ -]; -var GlobalSecondaryIndexUpdateList = [1, n0, _GSIUL, - 0, () => GlobalSecondaryIndexUpdate$ -]; -var GlobalTableGlobalSecondaryIndexSettingsUpdateList = [1, n0, _GTGSISUL, - 0, () => GlobalTableGlobalSecondaryIndexSettingsUpdate$ -]; -var GlobalTableList = [1, n0, _GTL, - 0, () => GlobalTable$ -]; -var GlobalTableWitnessDescriptionList = [1, n0, _GTWDL, - 0, () => GlobalTableWitnessDescription$ -]; -var GlobalTableWitnessGroupUpdateList = [1, n0, _GTWGUL, - 0, () => GlobalTableWitnessGroupUpdate$ -]; -var ImportSummaryList = [1, n0, _ISL, - 0, () => ImportSummary$ -]; -var ItemCollectionMetricsMultiple = [1, n0, _ICMM, - 0, () => ItemCollectionMetrics$ -]; -var ItemCollectionSizeEstimateRange = 64 | 1; -var ItemList = [1, n0, _IL, - 0, () => AttributeMap -]; -var ItemResponseList = [1, n0, _IRL, - 0, () => ItemResponse$ -]; -var KeyList = [1, n0, _KL, - 0, () => Key -]; -var KeySchema = [1, n0, _KS, - 0, () => KeySchemaElement$ -]; -var KinesisDataStreamDestinations = [1, n0, _KDSD, - 0, () => KinesisDataStreamDestination$ -]; -var ListAttributeValue = [1, n0, _LAV, - 0, () => AttributeValue$ -]; -var LocalSecondaryIndexDescriptionList = [1, n0, _LSIDL, - 0, () => LocalSecondaryIndexDescription$ -]; -var LocalSecondaryIndexes = [1, n0, _LSI, - 0, () => LocalSecondaryIndexInfo$ -]; -var LocalSecondaryIndexList = [1, n0, _LSIL, - 0, () => LocalSecondaryIndex$ -]; -var NonKeyAttributeNameList = 64 | 0; -var NumberSetAttributeValue = 64 | 0; -var ParameterizedStatements = [1, n0, _PSar, - 0, () => ParameterizedStatement$ -]; -var PartiQLBatchRequest = [1, n0, _PQLBR, - 0, () => BatchStatementRequest$ -]; -var PartiQLBatchResponse = [1, n0, _PQLBRa, - 0, () => BatchStatementResponse$ -]; -var PreparedStatementParameters = [1, n0, _PSP, - 0, () => AttributeValue$ -]; -var ReplicaAutoScalingDescriptionList = [1, n0, _RASDL, - 0, () => ReplicaAutoScalingDescription$ -]; -var ReplicaAutoScalingUpdateList = [1, n0, _RASUL, - 0, () => ReplicaAutoScalingUpdate$ -]; -var ReplicaDescriptionList = [1, n0, _RDL, - 0, () => ReplicaDescription$ -]; -var ReplicaGlobalSecondaryIndexAutoScalingDescriptionList = [1, n0, _RGSIASDL, - 0, () => ReplicaGlobalSecondaryIndexAutoScalingDescription$ -]; -var ReplicaGlobalSecondaryIndexAutoScalingUpdateList = [1, n0, _RGSIASUL, - 0, () => ReplicaGlobalSecondaryIndexAutoScalingUpdate$ -]; -var ReplicaGlobalSecondaryIndexDescriptionList = [1, n0, _RGSIDL, - 0, () => ReplicaGlobalSecondaryIndexDescription$ -]; -var ReplicaGlobalSecondaryIndexList = [1, n0, _RGSIL, - 0, () => ReplicaGlobalSecondaryIndex$ -]; -var ReplicaGlobalSecondaryIndexSettingsDescriptionList = [1, n0, _RGSISDL, - 0, () => ReplicaGlobalSecondaryIndexSettingsDescription$ -]; -var ReplicaGlobalSecondaryIndexSettingsUpdateList = [1, n0, _RGSISUL, - 0, () => ReplicaGlobalSecondaryIndexSettingsUpdate$ -]; -var ReplicaList = [1, n0, _RL, - 0, () => Replica$ -]; -var ReplicaSettingsDescriptionList = [1, n0, _RSDL, - 0, () => ReplicaSettingsDescription$ -]; -var ReplicaSettingsUpdateList = [1, n0, _RSUL, - 0, () => ReplicaSettingsUpdate$ -]; -var ReplicationGroupUpdateList = [1, n0, _RGUL, - 0, () => ReplicationGroupUpdate$ -]; -var ReplicaUpdateList = [1, n0, _RUL, - 0, () => ReplicaUpdate$ -]; -var StringSetAttributeValue = 64 | 0; -var TableNameList = 64 | 0; -var TagKeyList = 64 | 0; -var TagList = [1, n0, _TL, - 0, () => Tag$ -]; -var ThrottlingReasonList = [1, n0, _TRL, - 0, () => ThrottlingReason$ -]; -var TransactGetItemList = [1, n0, _TGIL, - 0, () => TransactGetItem$ -]; -var TransactWriteItemList = [1, n0, _TWIL, - 0, () => TransactWriteItem$ -]; -var WriteRequests = [1, n0, _WRr, - 0, () => WriteRequest$ -]; -var AttributeMap = [2, n0, _AM, - 0, 0, () => AttributeValue$ -]; -var AttributeUpdates = [2, n0, _AU, - 0, 0, () => AttributeValueUpdate$ -]; -var BatchGetRequestMap = [2, n0, _BGRMa, - 0, 0, () => KeysAndAttributes$ -]; -var BatchGetResponseMap = [2, n0, _BGRM, - 0, 0, () => ItemList -]; -var BatchWriteItemRequestMap = [2, n0, _BWIRM, - 0, 0, () => WriteRequests -]; -var ExpectedAttributeMap = [2, n0, _EAM, - 0, 0, () => ExpectedAttributeValue$ -]; -var ExpressionAttributeNameMap = 128 | 0; -var ExpressionAttributeValueMap = [2, n0, _EAVM, - 0, 0, () => AttributeValue$ -]; -var FilterConditionMap = [2, n0, _FCM, - 0, 0, () => Condition$ -]; -var ItemCollectionKeyAttributeMap = [2, n0, _ICKAM, - 0, 0, () => AttributeValue$ -]; -var ItemCollectionMetricsPerTable = [2, n0, _ICMPT, - 0, 0, () => ItemCollectionMetricsMultiple -]; -var Key = [2, n0, _K, - 0, 0, () => AttributeValue$ -]; -var KeyConditions = [2, n0, _KC, - 0, 0, () => Condition$ -]; -var MapAttributeValue = [2, n0, _MAV, - 0, 0, () => AttributeValue$ -]; -var PutItemInputAttributeMap = [2, n0, _PIIAM, - 0, 0, () => AttributeValue$ -]; -var SecondaryIndexesCapacityMap = [2, n0, _SICM, - 0, 0, () => Capacity$ -]; -export var AttributeValue$ = [4, n0, _AV, - 0, - [_S_, _N, _B_, _SS_, _NS, _BS_, _M_, _L_, _NULL, _BOOL], - [0, 0, 21, 64 | 0, 64 | 0, 64 | 21, () => MapAttributeValue, () => ListAttributeValue, 2, 2] -]; -export var BatchExecuteStatement$ = [9, n0, _BES, - 0, () => BatchExecuteStatementInput$, () => BatchExecuteStatementOutput$ -]; -export var BatchGetItem$ = [9, n0, _BGI, - 0, () => BatchGetItemInput$, () => BatchGetItemOutput$ -]; -export var BatchWriteItem$ = [9, n0, _BWI, - 0, () => BatchWriteItemInput$, () => BatchWriteItemOutput$ -]; -export var CreateBackup$ = [9, n0, _CB, - 0, () => CreateBackupInput$, () => CreateBackupOutput$ -]; -export var CreateGlobalTable$ = [9, n0, _CGT, - 0, () => CreateGlobalTableInput$, () => CreateGlobalTableOutput$ -]; -export var CreateTable$ = [9, n0, _CTr, - 0, () => CreateTableInput$, () => CreateTableOutput$ -]; -export var DeleteBackup$ = [9, n0, _DB, - 0, () => DeleteBackupInput$, () => DeleteBackupOutput$ -]; -export var DeleteItem$ = [9, n0, _DI, - 0, () => DeleteItemInput$, () => DeleteItemOutput$ -]; -export var DeleteResourcePolicy$ = [9, n0, _DRP, - 0, () => DeleteResourcePolicyInput$, () => DeleteResourcePolicyOutput$ -]; -export var DeleteTable$ = [9, n0, _DT, - 0, () => DeleteTableInput$, () => DeleteTableOutput$ -]; -export var DescribeBackup$ = [9, n0, _DBe, - 0, () => DescribeBackupInput$, () => DescribeBackupOutput$ -]; -export var DescribeContinuousBackups$ = [9, n0, _DCB, - 0, () => DescribeContinuousBackupsInput$, () => DescribeContinuousBackupsOutput$ -]; -export var DescribeContributorInsights$ = [9, n0, _DCI, - 0, () => DescribeContributorInsightsInput$, () => DescribeContributorInsightsOutput$ -]; -export var DescribeEndpoints$ = [9, n0, _DE, - 0, () => DescribeEndpointsRequest$, () => DescribeEndpointsResponse$ -]; -export var DescribeExport$ = [9, n0, _DEe, - 0, () => DescribeExportInput$, () => DescribeExportOutput$ -]; -export var DescribeGlobalTable$ = [9, n0, _DGT, - 0, () => DescribeGlobalTableInput$, () => DescribeGlobalTableOutput$ -]; -export var DescribeGlobalTableSettings$ = [9, n0, _DGTS, - 0, () => DescribeGlobalTableSettingsInput$, () => DescribeGlobalTableSettingsOutput$ -]; -export var DescribeImport$ = [9, n0, _DIe, - 0, () => DescribeImportInput$, () => DescribeImportOutput$ -]; -export var DescribeKinesisStreamingDestination$ = [9, n0, _DKSD, - 0, () => DescribeKinesisStreamingDestinationInput$, () => DescribeKinesisStreamingDestinationOutput$ -]; -export var DescribeLimits$ = [9, n0, _DL, - 0, () => DescribeLimitsInput$, () => DescribeLimitsOutput$ -]; -export var DescribeTable$ = [9, n0, _DTe, - 0, () => DescribeTableInput$, () => DescribeTableOutput$ -]; -export var DescribeTableReplicaAutoScaling$ = [9, n0, _DTRAS, - 0, () => DescribeTableReplicaAutoScalingInput$, () => DescribeTableReplicaAutoScalingOutput$ -]; -export var DescribeTimeToLive$ = [9, n0, _DTTL, - 0, () => DescribeTimeToLiveInput$, () => DescribeTimeToLiveOutput$ -]; -export var DisableKinesisStreamingDestination$ = [9, n0, _DKSDi, - 0, () => KinesisStreamingDestinationInput$, () => KinesisStreamingDestinationOutput$ -]; -export var EnableKinesisStreamingDestination$ = [9, n0, _EKSD, - 0, () => KinesisStreamingDestinationInput$, () => KinesisStreamingDestinationOutput$ -]; -export var ExecuteStatement$ = [9, n0, _ESxe, - 0, () => ExecuteStatementInput$, () => ExecuteStatementOutput$ -]; -export var ExecuteTransaction$ = [9, n0, _ETxe, - 0, () => ExecuteTransactionInput$, () => ExecuteTransactionOutput$ -]; -export var ExportTableToPointInTime$ = [9, n0, _ETTPIT, - 0, () => ExportTableToPointInTimeInput$, () => ExportTableToPointInTimeOutput$ -]; -export var GetItem$ = [9, n0, _GI, - 0, () => GetItemInput$, () => GetItemOutput$ -]; -export var GetResourcePolicy$ = [9, n0, _GRP, - 0, () => GetResourcePolicyInput$, () => GetResourcePolicyOutput$ -]; -export var ImportTable$ = [9, n0, _IT, - 0, () => ImportTableInput$, () => ImportTableOutput$ -]; -export var ListBackups$ = [9, n0, _LB, - 0, () => ListBackupsInput$, () => ListBackupsOutput$ -]; -export var ListContributorInsights$ = [9, n0, _LCI, - 0, () => ListContributorInsightsInput$, () => ListContributorInsightsOutput$ -]; -export var ListExports$ = [9, n0, _LE, - 0, () => ListExportsInput$, () => ListExportsOutput$ -]; -export var ListGlobalTables$ = [9, n0, _LGT, - 0, () => ListGlobalTablesInput$, () => ListGlobalTablesOutput$ -]; -export var ListImports$ = [9, n0, _LI, - 0, () => ListImportsInput$, () => ListImportsOutput$ -]; -export var ListTables$ = [9, n0, _LT, - 0, () => ListTablesInput$, () => ListTablesOutput$ -]; -export var ListTagsOfResource$ = [9, n0, _LTOR, - 0, () => ListTagsOfResourceInput$, () => ListTagsOfResourceOutput$ -]; -export var PutItem$ = [9, n0, _PI, - 0, () => PutItemInput$, () => PutItemOutput$ -]; -export var PutResourcePolicy$ = [9, n0, _PRP, - 0, () => PutResourcePolicyInput$, () => PutResourcePolicyOutput$ -]; -export var Query$ = [9, n0, _Q, - 0, () => QueryInput$, () => QueryOutput$ -]; -export var RestoreTableFromBackup$ = [9, n0, _RTFB, - 0, () => RestoreTableFromBackupInput$, () => RestoreTableFromBackupOutput$ -]; -export var RestoreTableToPointInTime$ = [9, n0, _RTTPIT, - 0, () => RestoreTableToPointInTimeInput$, () => RestoreTableToPointInTimeOutput$ -]; -export var Scan$ = [9, n0, _Sc, - 0, () => ScanInput$, () => ScanOutput$ -]; -export var TagResource$ = [9, n0, _TRa, - 0, () => TagResourceInput$, () => __Unit -]; -export var TransactGetItems$ = [9, n0, _TGIr, - 0, () => TransactGetItemsInput$, () => TransactGetItemsOutput$ -]; -export var TransactWriteItems$ = [9, n0, _TWIr, - 0, () => TransactWriteItemsInput$, () => TransactWriteItemsOutput$ -]; -export var UntagResource$ = [9, n0, _UR, - 0, () => UntagResourceInput$, () => __Unit -]; -export var UpdateContinuousBackups$ = [9, n0, _UCB, - 0, () => UpdateContinuousBackupsInput$, () => UpdateContinuousBackupsOutput$ -]; -export var UpdateContributorInsights$ = [9, n0, _UCI, - 0, () => UpdateContributorInsightsInput$, () => UpdateContributorInsightsOutput$ -]; -export var UpdateGlobalTable$ = [9, n0, _UGT, - 0, () => UpdateGlobalTableInput$, () => UpdateGlobalTableOutput$ -]; -export var UpdateGlobalTableSettings$ = [9, n0, _UGTS, - 0, () => UpdateGlobalTableSettingsInput$, () => UpdateGlobalTableSettingsOutput$ -]; -export var UpdateItem$ = [9, n0, _UIp, - 0, () => UpdateItemInput$, () => UpdateItemOutput$ -]; -export var UpdateKinesisStreamingDestination$ = [9, n0, _UKSD, - 0, () => UpdateKinesisStreamingDestinationInput$, () => UpdateKinesisStreamingDestinationOutput$ -]; -export var UpdateTable$ = [9, n0, _UT, - 0, () => UpdateTableInput$, () => UpdateTableOutput$ -]; -export var UpdateTableReplicaAutoScaling$ = [9, n0, _UTRAS, - 0, () => UpdateTableReplicaAutoScalingInput$, () => UpdateTableReplicaAutoScalingOutput$ -]; -export var UpdateTimeToLive$ = [9, n0, _UTTL, - 0, () => UpdateTimeToLiveInput$, () => UpdateTimeToLiveOutput$ -]; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/index.js deleted file mode 100644 index d0836c24..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/index.js +++ /dev/null @@ -1,6 +0,0 @@ -export * from "./waitForContributorInsightsEnabled"; -export * from "./waitForExportCompleted"; -export * from "./waitForImportCompleted"; -export * from "./waitForKinesisStreamingDestinationActive"; -export * from "./waitForTableExists"; -export * from "./waitForTableNotExists"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForContributorInsightsEnabled.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForContributorInsightsEnabled.js deleted file mode 100644 index 1735b44a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForContributorInsightsEnabled.js +++ /dev/null @@ -1,40 +0,0 @@ -import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter"; -import { DescribeContributorInsightsCommand, } from "../commands/DescribeContributorInsightsCommand"; -const checkState = async (client, input) => { - let reason; - try { - let result = await client.send(new DescribeContributorInsightsCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.ContributorInsightsStatus; - }; - if (returnComparator() === "ENABLED") { - return { state: WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.ContributorInsightsStatus; - }; - if (returnComparator() === "FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -export const waitForContributorInsightsEnabled = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -export const waitUntilContributorInsightsEnabled = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForExportCompleted.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForExportCompleted.js deleted file mode 100644 index 2a28df1f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForExportCompleted.js +++ /dev/null @@ -1,40 +0,0 @@ -import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter"; -import { DescribeExportCommand } from "../commands/DescribeExportCommand"; -const checkState = async (client, input) => { - let reason; - try { - let result = await client.send(new DescribeExportCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.ExportDescription.ExportStatus; - }; - if (returnComparator() === "COMPLETED") { - return { state: WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.ExportDescription.ExportStatus; - }; - if (returnComparator() === "FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -export const waitForExportCompleted = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -export const waitUntilExportCompleted = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForImportCompleted.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForImportCompleted.js deleted file mode 100644 index 763cca0c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForImportCompleted.js +++ /dev/null @@ -1,49 +0,0 @@ -import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter"; -import { DescribeImportCommand } from "../commands/DescribeImportCommand"; -const checkState = async (client, input) => { - let reason; - try { - let result = await client.send(new DescribeImportCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.ImportTableDescription.ImportStatus; - }; - if (returnComparator() === "COMPLETED") { - return { state: WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.ImportTableDescription.ImportStatus; - }; - if (returnComparator() === "FAILED") { - return { state: WaiterState.FAILURE, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.ImportTableDescription.ImportStatus; - }; - if (returnComparator() === "CANCELLED") { - return { state: WaiterState.FAILURE, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -export const waitForImportCompleted = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -export const waitUntilImportCompleted = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForKinesisStreamingDestinationActive.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForKinesisStreamingDestinationActive.js deleted file mode 100644 index 72a2208a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForKinesisStreamingDestinationActive.js +++ /dev/null @@ -1,49 +0,0 @@ -import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter"; -import { DescribeKinesisStreamingDestinationCommand, } from "../commands/DescribeKinesisStreamingDestinationCommand"; -const checkState = async (client, input) => { - let reason; - try { - let result = await client.send(new DescribeKinesisStreamingDestinationCommand(input)); - reason = result; - try { - const returnComparator = () => { - let flat_1 = [].concat(...result.KinesisDataStreamDestinations); - let projection_3 = flat_1.map((element_2) => { - return element_2.DestinationStatus; - }); - return projection_3; - }; - for (let anyStringEq_4 of returnComparator()) { - if (anyStringEq_4 == "ACTIVE") { - return { state: WaiterState.SUCCESS, reason }; - } - } - } - catch (e) { } - try { - const returnComparator = () => { - let filterRes_2 = result.KinesisDataStreamDestinations.filter((element_1) => { - return (((element_1.DestinationStatus == "DISABLED") || (element_1.DestinationStatus == "ENABLE_FAILED")) && ((element_1.DestinationStatus == "ENABLE_FAILED") || (element_1.DestinationStatus == "DISABLED"))); - }); - return ((result.KinesisDataStreamDestinations.length > 0) && (filterRes_2.length == result.KinesisDataStreamDestinations.length)); - }; - if (returnComparator() == true) { - return { state: WaiterState.FAILURE, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -export const waitForKinesisStreamingDestinationActive = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -export const waitUntilKinesisStreamingDestinationActive = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForTableExists.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForTableExists.js deleted file mode 100644 index 41703ae9..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForTableExists.js +++ /dev/null @@ -1,34 +0,0 @@ -import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter"; -import { DescribeTableCommand } from "../commands/DescribeTableCommand"; -const checkState = async (client, input) => { - let reason; - try { - let result = await client.send(new DescribeTableCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.Table.TableStatus; - }; - if (returnComparator() === "ACTIVE") { - return { state: WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - if (exception.name && exception.name == "ResourceNotFoundException") { - return { state: WaiterState.RETRY, reason }; - } - } - return { state: WaiterState.RETRY, reason }; -}; -export const waitForTableExists = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -export const waitUntilTableExists = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForTableNotExists.js b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForTableNotExists.js deleted file mode 100644 index 3675680b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForTableNotExists.js +++ /dev/null @@ -1,25 +0,0 @@ -import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter"; -import { DescribeTableCommand } from "../commands/DescribeTableCommand"; -const checkState = async (client, input) => { - let reason; - try { - let result = await client.send(new DescribeTableCommand(input)); - reason = result; - } - catch (exception) { - reason = exception; - if (exception.name && exception.name == "ResourceNotFoundException") { - return { state: WaiterState.SUCCESS, reason }; - } - } - return { state: WaiterState.RETRY, reason }; -}; -export const waitForTableNotExists = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -export const waitUntilTableNotExists = async (params, input) => { - const serviceDefaults = { minDelay: 20, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDB.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDB.d.ts deleted file mode 100644 index 150d5056..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDB.d.ts +++ /dev/null @@ -1,512 +0,0 @@ -import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types"; -import type { WaiterResult } from "@smithy/util-waiter"; -import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand"; -import { BatchGetItemCommandInput, BatchGetItemCommandOutput } from "./commands/BatchGetItemCommand"; -import { BatchWriteItemCommandInput, BatchWriteItemCommandOutput } from "./commands/BatchWriteItemCommand"; -import { CreateBackupCommandInput, CreateBackupCommandOutput } from "./commands/CreateBackupCommand"; -import { CreateGlobalTableCommandInput, CreateGlobalTableCommandOutput } from "./commands/CreateGlobalTableCommand"; -import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand"; -import { DeleteBackupCommandInput, DeleteBackupCommandOutput } from "./commands/DeleteBackupCommand"; -import { DeleteItemCommandInput, DeleteItemCommandOutput } from "./commands/DeleteItemCommand"; -import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand"; -import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand"; -import { DescribeBackupCommandInput, DescribeBackupCommandOutput } from "./commands/DescribeBackupCommand"; -import { DescribeContinuousBackupsCommandInput, DescribeContinuousBackupsCommandOutput } from "./commands/DescribeContinuousBackupsCommand"; -import { DescribeContributorInsightsCommandInput, DescribeContributorInsightsCommandOutput } from "./commands/DescribeContributorInsightsCommand"; -import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand"; -import { DescribeExportCommandInput, DescribeExportCommandOutput } from "./commands/DescribeExportCommand"; -import { DescribeGlobalTableCommandInput, DescribeGlobalTableCommandOutput } from "./commands/DescribeGlobalTableCommand"; -import { DescribeGlobalTableSettingsCommandInput, DescribeGlobalTableSettingsCommandOutput } from "./commands/DescribeGlobalTableSettingsCommand"; -import { DescribeImportCommandInput, DescribeImportCommandOutput } from "./commands/DescribeImportCommand"; -import { DescribeKinesisStreamingDestinationCommandInput, DescribeKinesisStreamingDestinationCommandOutput } from "./commands/DescribeKinesisStreamingDestinationCommand"; -import { DescribeLimitsCommandInput, DescribeLimitsCommandOutput } from "./commands/DescribeLimitsCommand"; -import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand"; -import { DescribeTableReplicaAutoScalingCommandInput, DescribeTableReplicaAutoScalingCommandOutput } from "./commands/DescribeTableReplicaAutoScalingCommand"; -import { DescribeTimeToLiveCommandInput, DescribeTimeToLiveCommandOutput } from "./commands/DescribeTimeToLiveCommand"; -import { DisableKinesisStreamingDestinationCommandInput, DisableKinesisStreamingDestinationCommandOutput } from "./commands/DisableKinesisStreamingDestinationCommand"; -import { EnableKinesisStreamingDestinationCommandInput, EnableKinesisStreamingDestinationCommandOutput } from "./commands/EnableKinesisStreamingDestinationCommand"; -import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand"; -import { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand"; -import { ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput } from "./commands/ExportTableToPointInTimeCommand"; -import { GetItemCommandInput, GetItemCommandOutput } from "./commands/GetItemCommand"; -import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand"; -import { ImportTableCommandInput, ImportTableCommandOutput } from "./commands/ImportTableCommand"; -import { ListBackupsCommandInput, ListBackupsCommandOutput } from "./commands/ListBackupsCommand"; -import { ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput } from "./commands/ListContributorInsightsCommand"; -import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand"; -import { ListGlobalTablesCommandInput, ListGlobalTablesCommandOutput } from "./commands/ListGlobalTablesCommand"; -import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand"; -import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand"; -import { ListTagsOfResourceCommandInput, ListTagsOfResourceCommandOutput } from "./commands/ListTagsOfResourceCommand"; -import { PutItemCommandInput, PutItemCommandOutput } from "./commands/PutItemCommand"; -import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand"; -import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand"; -import { RestoreTableFromBackupCommandInput, RestoreTableFromBackupCommandOutput } from "./commands/RestoreTableFromBackupCommand"; -import { RestoreTableToPointInTimeCommandInput, RestoreTableToPointInTimeCommandOutput } from "./commands/RestoreTableToPointInTimeCommand"; -import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand"; -import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; -import { TransactGetItemsCommandInput, TransactGetItemsCommandOutput } from "./commands/TransactGetItemsCommand"; -import { TransactWriteItemsCommandInput, TransactWriteItemsCommandOutput } from "./commands/TransactWriteItemsCommand"; -import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; -import { UpdateContinuousBackupsCommandInput, UpdateContinuousBackupsCommandOutput } from "./commands/UpdateContinuousBackupsCommand"; -import { UpdateContributorInsightsCommandInput, UpdateContributorInsightsCommandOutput } from "./commands/UpdateContributorInsightsCommand"; -import { UpdateGlobalTableCommandInput, UpdateGlobalTableCommandOutput } from "./commands/UpdateGlobalTableCommand"; -import { UpdateGlobalTableSettingsCommandInput, UpdateGlobalTableSettingsCommandOutput } from "./commands/UpdateGlobalTableSettingsCommand"; -import { UpdateItemCommandInput, UpdateItemCommandOutput } from "./commands/UpdateItemCommand"; -import { UpdateKinesisStreamingDestinationCommandInput, UpdateKinesisStreamingDestinationCommandOutput } from "./commands/UpdateKinesisStreamingDestinationCommand"; -import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand"; -import { UpdateTableReplicaAutoScalingCommandInput, UpdateTableReplicaAutoScalingCommandOutput } from "./commands/UpdateTableReplicaAutoScalingCommand"; -import { UpdateTimeToLiveCommandInput, UpdateTimeToLiveCommandOutput } from "./commands/UpdateTimeToLiveCommand"; -import { DynamoDBClient } from "./DynamoDBClient"; -export interface DynamoDB { - /** - * @see {@link BatchExecuteStatementCommand} - */ - batchExecuteStatement(args: BatchExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise; - batchExecuteStatement(args: BatchExecuteStatementCommandInput, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void; - batchExecuteStatement(args: BatchExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void; - /** - * @see {@link BatchGetItemCommand} - */ - batchGetItem(args: BatchGetItemCommandInput, options?: __HttpHandlerOptions): Promise; - batchGetItem(args: BatchGetItemCommandInput, cb: (err: any, data?: BatchGetItemCommandOutput) => void): void; - batchGetItem(args: BatchGetItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetItemCommandOutput) => void): void; - /** - * @see {@link BatchWriteItemCommand} - */ - batchWriteItem(args: BatchWriteItemCommandInput, options?: __HttpHandlerOptions): Promise; - batchWriteItem(args: BatchWriteItemCommandInput, cb: (err: any, data?: BatchWriteItemCommandOutput) => void): void; - batchWriteItem(args: BatchWriteItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchWriteItemCommandOutput) => void): void; - /** - * @see {@link CreateBackupCommand} - */ - createBackup(args: CreateBackupCommandInput, options?: __HttpHandlerOptions): Promise; - createBackup(args: CreateBackupCommandInput, cb: (err: any, data?: CreateBackupCommandOutput) => void): void; - createBackup(args: CreateBackupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBackupCommandOutput) => void): void; - /** - * @see {@link CreateGlobalTableCommand} - */ - createGlobalTable(args: CreateGlobalTableCommandInput, options?: __HttpHandlerOptions): Promise; - createGlobalTable(args: CreateGlobalTableCommandInput, cb: (err: any, data?: CreateGlobalTableCommandOutput) => void): void; - createGlobalTable(args: CreateGlobalTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGlobalTableCommandOutput) => void): void; - /** - * @see {@link CreateTableCommand} - */ - createTable(args: CreateTableCommandInput, options?: __HttpHandlerOptions): Promise; - createTable(args: CreateTableCommandInput, cb: (err: any, data?: CreateTableCommandOutput) => void): void; - createTable(args: CreateTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTableCommandOutput) => void): void; - /** - * @see {@link DeleteBackupCommand} - */ - deleteBackup(args: DeleteBackupCommandInput, options?: __HttpHandlerOptions): Promise; - deleteBackup(args: DeleteBackupCommandInput, cb: (err: any, data?: DeleteBackupCommandOutput) => void): void; - deleteBackup(args: DeleteBackupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBackupCommandOutput) => void): void; - /** - * @see {@link DeleteItemCommand} - */ - deleteItem(args: DeleteItemCommandInput, options?: __HttpHandlerOptions): Promise; - deleteItem(args: DeleteItemCommandInput, cb: (err: any, data?: DeleteItemCommandOutput) => void): void; - deleteItem(args: DeleteItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteItemCommandOutput) => void): void; - /** - * @see {@link DeleteResourcePolicyCommand} - */ - deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise; - deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void; - deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void; - /** - * @see {@link DeleteTableCommand} - */ - deleteTable(args: DeleteTableCommandInput, options?: __HttpHandlerOptions): Promise; - deleteTable(args: DeleteTableCommandInput, cb: (err: any, data?: DeleteTableCommandOutput) => void): void; - deleteTable(args: DeleteTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTableCommandOutput) => void): void; - /** - * @see {@link DescribeBackupCommand} - */ - describeBackup(args: DescribeBackupCommandInput, options?: __HttpHandlerOptions): Promise; - describeBackup(args: DescribeBackupCommandInput, cb: (err: any, data?: DescribeBackupCommandOutput) => void): void; - describeBackup(args: DescribeBackupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBackupCommandOutput) => void): void; - /** - * @see {@link DescribeContinuousBackupsCommand} - */ - describeContinuousBackups(args: DescribeContinuousBackupsCommandInput, options?: __HttpHandlerOptions): Promise; - describeContinuousBackups(args: DescribeContinuousBackupsCommandInput, cb: (err: any, data?: DescribeContinuousBackupsCommandOutput) => void): void; - describeContinuousBackups(args: DescribeContinuousBackupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeContinuousBackupsCommandOutput) => void): void; - /** - * @see {@link DescribeContributorInsightsCommand} - */ - describeContributorInsights(args: DescribeContributorInsightsCommandInput, options?: __HttpHandlerOptions): Promise; - describeContributorInsights(args: DescribeContributorInsightsCommandInput, cb: (err: any, data?: DescribeContributorInsightsCommandOutput) => void): void; - describeContributorInsights(args: DescribeContributorInsightsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeContributorInsightsCommandOutput) => void): void; - /** - * @see {@link DescribeEndpointsCommand} - */ - describeEndpoints(): Promise; - describeEndpoints(args: DescribeEndpointsCommandInput, options?: __HttpHandlerOptions): Promise; - describeEndpoints(args: DescribeEndpointsCommandInput, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void; - describeEndpoints(args: DescribeEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void; - /** - * @see {@link DescribeExportCommand} - */ - describeExport(args: DescribeExportCommandInput, options?: __HttpHandlerOptions): Promise; - describeExport(args: DescribeExportCommandInput, cb: (err: any, data?: DescribeExportCommandOutput) => void): void; - describeExport(args: DescribeExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExportCommandOutput) => void): void; - /** - * @see {@link DescribeGlobalTableCommand} - */ - describeGlobalTable(args: DescribeGlobalTableCommandInput, options?: __HttpHandlerOptions): Promise; - describeGlobalTable(args: DescribeGlobalTableCommandInput, cb: (err: any, data?: DescribeGlobalTableCommandOutput) => void): void; - describeGlobalTable(args: DescribeGlobalTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeGlobalTableCommandOutput) => void): void; - /** - * @see {@link DescribeGlobalTableSettingsCommand} - */ - describeGlobalTableSettings(args: DescribeGlobalTableSettingsCommandInput, options?: __HttpHandlerOptions): Promise; - describeGlobalTableSettings(args: DescribeGlobalTableSettingsCommandInput, cb: (err: any, data?: DescribeGlobalTableSettingsCommandOutput) => void): void; - describeGlobalTableSettings(args: DescribeGlobalTableSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeGlobalTableSettingsCommandOutput) => void): void; - /** - * @see {@link DescribeImportCommand} - */ - describeImport(args: DescribeImportCommandInput, options?: __HttpHandlerOptions): Promise; - describeImport(args: DescribeImportCommandInput, cb: (err: any, data?: DescribeImportCommandOutput) => void): void; - describeImport(args: DescribeImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImportCommandOutput) => void): void; - /** - * @see {@link DescribeKinesisStreamingDestinationCommand} - */ - describeKinesisStreamingDestination(args: DescribeKinesisStreamingDestinationCommandInput, options?: __HttpHandlerOptions): Promise; - describeKinesisStreamingDestination(args: DescribeKinesisStreamingDestinationCommandInput, cb: (err: any, data?: DescribeKinesisStreamingDestinationCommandOutput) => void): void; - describeKinesisStreamingDestination(args: DescribeKinesisStreamingDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeKinesisStreamingDestinationCommandOutput) => void): void; - /** - * @see {@link DescribeLimitsCommand} - */ - describeLimits(): Promise; - describeLimits(args: DescribeLimitsCommandInput, options?: __HttpHandlerOptions): Promise; - describeLimits(args: DescribeLimitsCommandInput, cb: (err: any, data?: DescribeLimitsCommandOutput) => void): void; - describeLimits(args: DescribeLimitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLimitsCommandOutput) => void): void; - /** - * @see {@link DescribeTableCommand} - */ - describeTable(args: DescribeTableCommandInput, options?: __HttpHandlerOptions): Promise; - describeTable(args: DescribeTableCommandInput, cb: (err: any, data?: DescribeTableCommandOutput) => void): void; - describeTable(args: DescribeTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTableCommandOutput) => void): void; - /** - * @see {@link DescribeTableReplicaAutoScalingCommand} - */ - describeTableReplicaAutoScaling(args: DescribeTableReplicaAutoScalingCommandInput, options?: __HttpHandlerOptions): Promise; - describeTableReplicaAutoScaling(args: DescribeTableReplicaAutoScalingCommandInput, cb: (err: any, data?: DescribeTableReplicaAutoScalingCommandOutput) => void): void; - describeTableReplicaAutoScaling(args: DescribeTableReplicaAutoScalingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTableReplicaAutoScalingCommandOutput) => void): void; - /** - * @see {@link DescribeTimeToLiveCommand} - */ - describeTimeToLive(args: DescribeTimeToLiveCommandInput, options?: __HttpHandlerOptions): Promise; - describeTimeToLive(args: DescribeTimeToLiveCommandInput, cb: (err: any, data?: DescribeTimeToLiveCommandOutput) => void): void; - describeTimeToLive(args: DescribeTimeToLiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTimeToLiveCommandOutput) => void): void; - /** - * @see {@link DisableKinesisStreamingDestinationCommand} - */ - disableKinesisStreamingDestination(args: DisableKinesisStreamingDestinationCommandInput, options?: __HttpHandlerOptions): Promise; - disableKinesisStreamingDestination(args: DisableKinesisStreamingDestinationCommandInput, cb: (err: any, data?: DisableKinesisStreamingDestinationCommandOutput) => void): void; - disableKinesisStreamingDestination(args: DisableKinesisStreamingDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableKinesisStreamingDestinationCommandOutput) => void): void; - /** - * @see {@link EnableKinesisStreamingDestinationCommand} - */ - enableKinesisStreamingDestination(args: EnableKinesisStreamingDestinationCommandInput, options?: __HttpHandlerOptions): Promise; - enableKinesisStreamingDestination(args: EnableKinesisStreamingDestinationCommandInput, cb: (err: any, data?: EnableKinesisStreamingDestinationCommandOutput) => void): void; - enableKinesisStreamingDestination(args: EnableKinesisStreamingDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableKinesisStreamingDestinationCommandOutput) => void): void; - /** - * @see {@link ExecuteStatementCommand} - */ - executeStatement(args: ExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise; - executeStatement(args: ExecuteStatementCommandInput, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void; - executeStatement(args: ExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void; - /** - * @see {@link ExecuteTransactionCommand} - */ - executeTransaction(args: ExecuteTransactionCommandInput, options?: __HttpHandlerOptions): Promise; - executeTransaction(args: ExecuteTransactionCommandInput, cb: (err: any, data?: ExecuteTransactionCommandOutput) => void): void; - executeTransaction(args: ExecuteTransactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteTransactionCommandOutput) => void): void; - /** - * @see {@link ExportTableToPointInTimeCommand} - */ - exportTableToPointInTime(args: ExportTableToPointInTimeCommandInput, options?: __HttpHandlerOptions): Promise; - exportTableToPointInTime(args: ExportTableToPointInTimeCommandInput, cb: (err: any, data?: ExportTableToPointInTimeCommandOutput) => void): void; - exportTableToPointInTime(args: ExportTableToPointInTimeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportTableToPointInTimeCommandOutput) => void): void; - /** - * @see {@link GetItemCommand} - */ - getItem(args: GetItemCommandInput, options?: __HttpHandlerOptions): Promise; - getItem(args: GetItemCommandInput, cb: (err: any, data?: GetItemCommandOutput) => void): void; - getItem(args: GetItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetItemCommandOutput) => void): void; - /** - * @see {@link GetResourcePolicyCommand} - */ - getResourcePolicy(args: GetResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise; - getResourcePolicy(args: GetResourcePolicyCommandInput, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void; - getResourcePolicy(args: GetResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePolicyCommandOutput) => void): void; - /** - * @see {@link ImportTableCommand} - */ - importTable(args: ImportTableCommandInput, options?: __HttpHandlerOptions): Promise; - importTable(args: ImportTableCommandInput, cb: (err: any, data?: ImportTableCommandOutput) => void): void; - importTable(args: ImportTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportTableCommandOutput) => void): void; - /** - * @see {@link ListBackupsCommand} - */ - listBackups(): Promise; - listBackups(args: ListBackupsCommandInput, options?: __HttpHandlerOptions): Promise; - listBackups(args: ListBackupsCommandInput, cb: (err: any, data?: ListBackupsCommandOutput) => void): void; - listBackups(args: ListBackupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBackupsCommandOutput) => void): void; - /** - * @see {@link ListContributorInsightsCommand} - */ - listContributorInsights(): Promise; - listContributorInsights(args: ListContributorInsightsCommandInput, options?: __HttpHandlerOptions): Promise; - listContributorInsights(args: ListContributorInsightsCommandInput, cb: (err: any, data?: ListContributorInsightsCommandOutput) => void): void; - listContributorInsights(args: ListContributorInsightsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListContributorInsightsCommandOutput) => void): void; - /** - * @see {@link ListExportsCommand} - */ - listExports(): Promise; - listExports(args: ListExportsCommandInput, options?: __HttpHandlerOptions): Promise; - listExports(args: ListExportsCommandInput, cb: (err: any, data?: ListExportsCommandOutput) => void): void; - listExports(args: ListExportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExportsCommandOutput) => void): void; - /** - * @see {@link ListGlobalTablesCommand} - */ - listGlobalTables(): Promise; - listGlobalTables(args: ListGlobalTablesCommandInput, options?: __HttpHandlerOptions): Promise; - listGlobalTables(args: ListGlobalTablesCommandInput, cb: (err: any, data?: ListGlobalTablesCommandOutput) => void): void; - listGlobalTables(args: ListGlobalTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGlobalTablesCommandOutput) => void): void; - /** - * @see {@link ListImportsCommand} - */ - listImports(): Promise; - listImports(args: ListImportsCommandInput, options?: __HttpHandlerOptions): Promise; - listImports(args: ListImportsCommandInput, cb: (err: any, data?: ListImportsCommandOutput) => void): void; - listImports(args: ListImportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportsCommandOutput) => void): void; - /** - * @see {@link ListTablesCommand} - */ - listTables(): Promise; - listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise; - listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void; - listTables(args: ListTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void; - /** - * @see {@link ListTagsOfResourceCommand} - */ - listTagsOfResource(args: ListTagsOfResourceCommandInput, options?: __HttpHandlerOptions): Promise; - listTagsOfResource(args: ListTagsOfResourceCommandInput, cb: (err: any, data?: ListTagsOfResourceCommandOutput) => void): void; - listTagsOfResource(args: ListTagsOfResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsOfResourceCommandOutput) => void): void; - /** - * @see {@link PutItemCommand} - */ - putItem(args: PutItemCommandInput, options?: __HttpHandlerOptions): Promise; - putItem(args: PutItemCommandInput, cb: (err: any, data?: PutItemCommandOutput) => void): void; - putItem(args: PutItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutItemCommandOutput) => void): void; - /** - * @see {@link PutResourcePolicyCommand} - */ - putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise; - putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void; - putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void; - /** - * @see {@link QueryCommand} - */ - query(args: QueryCommandInput, options?: __HttpHandlerOptions): Promise; - query(args: QueryCommandInput, cb: (err: any, data?: QueryCommandOutput) => void): void; - query(args: QueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryCommandOutput) => void): void; - /** - * @see {@link RestoreTableFromBackupCommand} - */ - restoreTableFromBackup(args: RestoreTableFromBackupCommandInput, options?: __HttpHandlerOptions): Promise; - restoreTableFromBackup(args: RestoreTableFromBackupCommandInput, cb: (err: any, data?: RestoreTableFromBackupCommandOutput) => void): void; - restoreTableFromBackup(args: RestoreTableFromBackupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreTableFromBackupCommandOutput) => void): void; - /** - * @see {@link RestoreTableToPointInTimeCommand} - */ - restoreTableToPointInTime(args: RestoreTableToPointInTimeCommandInput, options?: __HttpHandlerOptions): Promise; - restoreTableToPointInTime(args: RestoreTableToPointInTimeCommandInput, cb: (err: any, data?: RestoreTableToPointInTimeCommandOutput) => void): void; - restoreTableToPointInTime(args: RestoreTableToPointInTimeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreTableToPointInTimeCommandOutput) => void): void; - /** - * @see {@link ScanCommand} - */ - scan(args: ScanCommandInput, options?: __HttpHandlerOptions): Promise; - scan(args: ScanCommandInput, cb: (err: any, data?: ScanCommandOutput) => void): void; - scan(args: ScanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ScanCommandOutput) => void): void; - /** - * @see {@link TagResourceCommand} - */ - tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; - tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; - tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void; - /** - * @see {@link TransactGetItemsCommand} - */ - transactGetItems(args: TransactGetItemsCommandInput, options?: __HttpHandlerOptions): Promise; - transactGetItems(args: TransactGetItemsCommandInput, cb: (err: any, data?: TransactGetItemsCommandOutput) => void): void; - transactGetItems(args: TransactGetItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TransactGetItemsCommandOutput) => void): void; - /** - * @see {@link TransactWriteItemsCommand} - */ - transactWriteItems(args: TransactWriteItemsCommandInput, options?: __HttpHandlerOptions): Promise; - transactWriteItems(args: TransactWriteItemsCommandInput, cb: (err: any, data?: TransactWriteItemsCommandOutput) => void): void; - transactWriteItems(args: TransactWriteItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TransactWriteItemsCommandOutput) => void): void; - /** - * @see {@link UntagResourceCommand} - */ - untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise; - untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; - untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; - /** - * @see {@link UpdateContinuousBackupsCommand} - */ - updateContinuousBackups(args: UpdateContinuousBackupsCommandInput, options?: __HttpHandlerOptions): Promise; - updateContinuousBackups(args: UpdateContinuousBackupsCommandInput, cb: (err: any, data?: UpdateContinuousBackupsCommandOutput) => void): void; - updateContinuousBackups(args: UpdateContinuousBackupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContinuousBackupsCommandOutput) => void): void; - /** - * @see {@link UpdateContributorInsightsCommand} - */ - updateContributorInsights(args: UpdateContributorInsightsCommandInput, options?: __HttpHandlerOptions): Promise; - updateContributorInsights(args: UpdateContributorInsightsCommandInput, cb: (err: any, data?: UpdateContributorInsightsCommandOutput) => void): void; - updateContributorInsights(args: UpdateContributorInsightsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateContributorInsightsCommandOutput) => void): void; - /** - * @see {@link UpdateGlobalTableCommand} - */ - updateGlobalTable(args: UpdateGlobalTableCommandInput, options?: __HttpHandlerOptions): Promise; - updateGlobalTable(args: UpdateGlobalTableCommandInput, cb: (err: any, data?: UpdateGlobalTableCommandOutput) => void): void; - updateGlobalTable(args: UpdateGlobalTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGlobalTableCommandOutput) => void): void; - /** - * @see {@link UpdateGlobalTableSettingsCommand} - */ - updateGlobalTableSettings(args: UpdateGlobalTableSettingsCommandInput, options?: __HttpHandlerOptions): Promise; - updateGlobalTableSettings(args: UpdateGlobalTableSettingsCommandInput, cb: (err: any, data?: UpdateGlobalTableSettingsCommandOutput) => void): void; - updateGlobalTableSettings(args: UpdateGlobalTableSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGlobalTableSettingsCommandOutput) => void): void; - /** - * @see {@link UpdateItemCommand} - */ - updateItem(args: UpdateItemCommandInput, options?: __HttpHandlerOptions): Promise; - updateItem(args: UpdateItemCommandInput, cb: (err: any, data?: UpdateItemCommandOutput) => void): void; - updateItem(args: UpdateItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateItemCommandOutput) => void): void; - /** - * @see {@link UpdateKinesisStreamingDestinationCommand} - */ - updateKinesisStreamingDestination(args: UpdateKinesisStreamingDestinationCommandInput, options?: __HttpHandlerOptions): Promise; - updateKinesisStreamingDestination(args: UpdateKinesisStreamingDestinationCommandInput, cb: (err: any, data?: UpdateKinesisStreamingDestinationCommandOutput) => void): void; - updateKinesisStreamingDestination(args: UpdateKinesisStreamingDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateKinesisStreamingDestinationCommandOutput) => void): void; - /** - * @see {@link UpdateTableCommand} - */ - updateTable(args: UpdateTableCommandInput, options?: __HttpHandlerOptions): Promise; - updateTable(args: UpdateTableCommandInput, cb: (err: any, data?: UpdateTableCommandOutput) => void): void; - updateTable(args: UpdateTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTableCommandOutput) => void): void; - /** - * @see {@link UpdateTableReplicaAutoScalingCommand} - */ - updateTableReplicaAutoScaling(args: UpdateTableReplicaAutoScalingCommandInput, options?: __HttpHandlerOptions): Promise; - updateTableReplicaAutoScaling(args: UpdateTableReplicaAutoScalingCommandInput, cb: (err: any, data?: UpdateTableReplicaAutoScalingCommandOutput) => void): void; - updateTableReplicaAutoScaling(args: UpdateTableReplicaAutoScalingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTableReplicaAutoScalingCommandOutput) => void): void; - /** - * @see {@link UpdateTimeToLiveCommand} - */ - updateTimeToLive(args: UpdateTimeToLiveCommandInput, options?: __HttpHandlerOptions): Promise; - updateTimeToLive(args: UpdateTimeToLiveCommandInput, cb: (err: any, data?: UpdateTimeToLiveCommandOutput) => void): void; - updateTimeToLive(args: UpdateTimeToLiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTimeToLiveCommandOutput) => void): void; - /** - * @see {@link ListContributorInsightsCommand} - * @param args - command input. - * @param paginationConfig - optional pagination config. - * @returns AsyncIterable of {@link ListContributorInsightsCommandOutput}. - */ - paginateListContributorInsights(args?: ListContributorInsightsCommandInput, paginationConfig?: Omit): Paginator; - /** - * @see {@link ListExportsCommand} - * @param args - command input. - * @param paginationConfig - optional pagination config. - * @returns AsyncIterable of {@link ListExportsCommandOutput}. - */ - paginateListExports(args?: ListExportsCommandInput, paginationConfig?: Omit): Paginator; - /** - * @see {@link ListImportsCommand} - * @param args - command input. - * @param paginationConfig - optional pagination config. - * @returns AsyncIterable of {@link ListImportsCommandOutput}. - */ - paginateListImports(args?: ListImportsCommandInput, paginationConfig?: Omit): Paginator; - /** - * @see {@link ListTablesCommand} - * @param args - command input. - * @param paginationConfig - optional pagination config. - * @returns AsyncIterable of {@link ListTablesCommandOutput}. - */ - paginateListTables(args?: ListTablesCommandInput, paginationConfig?: Omit): Paginator; - /** - * @see {@link QueryCommand} - * @param args - command input. - * @param paginationConfig - optional pagination config. - * @returns AsyncIterable of {@link QueryCommandOutput}. - */ - paginateQuery(args: QueryCommandInput, paginationConfig?: Omit): Paginator; - /** - * @see {@link ScanCommand} - * @param args - command input. - * @param paginationConfig - optional pagination config. - * @returns AsyncIterable of {@link ScanCommandOutput}. - */ - paginateScan(args: ScanCommandInput, paginationConfig?: Omit): Paginator; - /** - * @see {@link DescribeContributorInsightsCommand} - * @param args - command input. - * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. - */ - waitUntilContributorInsightsEnabled(args: DescribeContributorInsightsCommandInput, waiterConfig: number | Omit, "client">): Promise; - /** - * @see {@link DescribeExportCommand} - * @param args - command input. - * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. - */ - waitUntilExportCompleted(args: DescribeExportCommandInput, waiterConfig: number | Omit, "client">): Promise; - /** - * @see {@link DescribeImportCommand} - * @param args - command input. - * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. - */ - waitUntilImportCompleted(args: DescribeImportCommandInput, waiterConfig: number | Omit, "client">): Promise; - /** - * @see {@link DescribeKinesisStreamingDestinationCommand} - * @param args - command input. - * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. - */ - waitUntilKinesisStreamingDestinationActive(args: DescribeKinesisStreamingDestinationCommandInput, waiterConfig: number | Omit, "client">): Promise; - /** - * @see {@link DescribeTableCommand} - * @param args - command input. - * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. - */ - waitUntilTableExists(args: DescribeTableCommandInput, waiterConfig: number | Omit, "client">): Promise; - /** - * @see {@link DescribeTableCommand} - * @param args - command input. - * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. - */ - waitUntilTableNotExists(args: DescribeTableCommandInput, waiterConfig: number | Omit, "client">): Promise; -} -/** - * Amazon DynamoDB - *

Amazon DynamoDB is a fully managed NoSQL database service that provides fast - * and predictable performance with seamless scalability. DynamoDB lets you - * offload the administrative burdens of operating and scaling a distributed database, so - * that you don't have to worry about hardware provisioning, setup and configuration, - * replication, software patching, or cluster scaling.

- *

With DynamoDB, you can create database tables that can store and retrieve - * any amount of data, and serve any level of request traffic. You can scale up or scale - * down your tables' throughput capacity without downtime or performance degradation, and - * use the Amazon Web Services Management Console to monitor resource utilization and performance - * metrics.

- *

DynamoDB automatically spreads the data and traffic for your tables over - * a sufficient number of servers to handle your throughput and storage requirements, while - * maintaining consistent and fast performance. All of your data is stored on solid state - * disks (SSDs) and automatically replicated across multiple Availability Zones in an - * Amazon Web Services Region, providing built-in high availability and data - * durability.

- * @public - */ -export declare class DynamoDB extends DynamoDBClient implements DynamoDB { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDBClient.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDBClient.d.ts deleted file mode 100644 index 75fe50f9..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDBClient.d.ts +++ /dev/null @@ -1,272 +0,0 @@ -import { AccountIdEndpointMode, AccountIdEndpointModeInputConfig, AccountIdEndpointModeResolvedConfig } from "@aws-sdk/core/account-id-endpoint"; -import { type EndpointDiscoveryInputConfig, type EndpointDiscoveryResolvedConfig } from "@aws-sdk/middleware-endpoint-discovery"; -import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; -import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent"; -import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver"; -import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint"; -import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry"; -import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; -import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client"; -import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, Provider as __Provider, UserAgent as __UserAgent } from "@smithy/types"; -import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider"; -import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand"; -import { BatchGetItemCommandInput, BatchGetItemCommandOutput } from "./commands/BatchGetItemCommand"; -import { BatchWriteItemCommandInput, BatchWriteItemCommandOutput } from "./commands/BatchWriteItemCommand"; -import { CreateBackupCommandInput, CreateBackupCommandOutput } from "./commands/CreateBackupCommand"; -import { CreateGlobalTableCommandInput, CreateGlobalTableCommandOutput } from "./commands/CreateGlobalTableCommand"; -import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand"; -import { DeleteBackupCommandInput, DeleteBackupCommandOutput } from "./commands/DeleteBackupCommand"; -import { DeleteItemCommandInput, DeleteItemCommandOutput } from "./commands/DeleteItemCommand"; -import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand"; -import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand"; -import { DescribeBackupCommandInput, DescribeBackupCommandOutput } from "./commands/DescribeBackupCommand"; -import { DescribeContinuousBackupsCommandInput, DescribeContinuousBackupsCommandOutput } from "./commands/DescribeContinuousBackupsCommand"; -import { DescribeContributorInsightsCommandInput, DescribeContributorInsightsCommandOutput } from "./commands/DescribeContributorInsightsCommand"; -import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand"; -import { DescribeExportCommandInput, DescribeExportCommandOutput } from "./commands/DescribeExportCommand"; -import { DescribeGlobalTableCommandInput, DescribeGlobalTableCommandOutput } from "./commands/DescribeGlobalTableCommand"; -import { DescribeGlobalTableSettingsCommandInput, DescribeGlobalTableSettingsCommandOutput } from "./commands/DescribeGlobalTableSettingsCommand"; -import { DescribeImportCommandInput, DescribeImportCommandOutput } from "./commands/DescribeImportCommand"; -import { DescribeKinesisStreamingDestinationCommandInput, DescribeKinesisStreamingDestinationCommandOutput } from "./commands/DescribeKinesisStreamingDestinationCommand"; -import { DescribeLimitsCommandInput, DescribeLimitsCommandOutput } from "./commands/DescribeLimitsCommand"; -import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand"; -import { DescribeTableReplicaAutoScalingCommandInput, DescribeTableReplicaAutoScalingCommandOutput } from "./commands/DescribeTableReplicaAutoScalingCommand"; -import { DescribeTimeToLiveCommandInput, DescribeTimeToLiveCommandOutput } from "./commands/DescribeTimeToLiveCommand"; -import { DisableKinesisStreamingDestinationCommandInput, DisableKinesisStreamingDestinationCommandOutput } from "./commands/DisableKinesisStreamingDestinationCommand"; -import { EnableKinesisStreamingDestinationCommandInput, EnableKinesisStreamingDestinationCommandOutput } from "./commands/EnableKinesisStreamingDestinationCommand"; -import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand"; -import { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand"; -import { ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput } from "./commands/ExportTableToPointInTimeCommand"; -import { GetItemCommandInput, GetItemCommandOutput } from "./commands/GetItemCommand"; -import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand"; -import { ImportTableCommandInput, ImportTableCommandOutput } from "./commands/ImportTableCommand"; -import { ListBackupsCommandInput, ListBackupsCommandOutput } from "./commands/ListBackupsCommand"; -import { ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput } from "./commands/ListContributorInsightsCommand"; -import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand"; -import { ListGlobalTablesCommandInput, ListGlobalTablesCommandOutput } from "./commands/ListGlobalTablesCommand"; -import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand"; -import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand"; -import { ListTagsOfResourceCommandInput, ListTagsOfResourceCommandOutput } from "./commands/ListTagsOfResourceCommand"; -import { PutItemCommandInput, PutItemCommandOutput } from "./commands/PutItemCommand"; -import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand"; -import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand"; -import { RestoreTableFromBackupCommandInput, RestoreTableFromBackupCommandOutput } from "./commands/RestoreTableFromBackupCommand"; -import { RestoreTableToPointInTimeCommandInput, RestoreTableToPointInTimeCommandOutput } from "./commands/RestoreTableToPointInTimeCommand"; -import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand"; -import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; -import { TransactGetItemsCommandInput, TransactGetItemsCommandOutput } from "./commands/TransactGetItemsCommand"; -import { TransactWriteItemsCommandInput, TransactWriteItemsCommandOutput } from "./commands/TransactWriteItemsCommand"; -import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; -import { UpdateContinuousBackupsCommandInput, UpdateContinuousBackupsCommandOutput } from "./commands/UpdateContinuousBackupsCommand"; -import { UpdateContributorInsightsCommandInput, UpdateContributorInsightsCommandOutput } from "./commands/UpdateContributorInsightsCommand"; -import { UpdateGlobalTableCommandInput, UpdateGlobalTableCommandOutput } from "./commands/UpdateGlobalTableCommand"; -import { UpdateGlobalTableSettingsCommandInput, UpdateGlobalTableSettingsCommandOutput } from "./commands/UpdateGlobalTableSettingsCommand"; -import { UpdateItemCommandInput, UpdateItemCommandOutput } from "./commands/UpdateItemCommand"; -import { UpdateKinesisStreamingDestinationCommandInput, UpdateKinesisStreamingDestinationCommandOutput } from "./commands/UpdateKinesisStreamingDestinationCommand"; -import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand"; -import { UpdateTableReplicaAutoScalingCommandInput, UpdateTableReplicaAutoScalingCommandOutput } from "./commands/UpdateTableReplicaAutoScalingCommand"; -import { UpdateTimeToLiveCommandInput, UpdateTimeToLiveCommandOutput } from "./commands/UpdateTimeToLiveCommand"; -import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters"; -import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions"; -export { __Client }; -/** - * @public - */ -export type ServiceInputTypes = BatchExecuteStatementCommandInput | BatchGetItemCommandInput | BatchWriteItemCommandInput | CreateBackupCommandInput | CreateGlobalTableCommandInput | CreateTableCommandInput | DeleteBackupCommandInput | DeleteItemCommandInput | DeleteResourcePolicyCommandInput | DeleteTableCommandInput | DescribeBackupCommandInput | DescribeContinuousBackupsCommandInput | DescribeContributorInsightsCommandInput | DescribeEndpointsCommandInput | DescribeExportCommandInput | DescribeGlobalTableCommandInput | DescribeGlobalTableSettingsCommandInput | DescribeImportCommandInput | DescribeKinesisStreamingDestinationCommandInput | DescribeLimitsCommandInput | DescribeTableCommandInput | DescribeTableReplicaAutoScalingCommandInput | DescribeTimeToLiveCommandInput | DisableKinesisStreamingDestinationCommandInput | EnableKinesisStreamingDestinationCommandInput | ExecuteStatementCommandInput | ExecuteTransactionCommandInput | ExportTableToPointInTimeCommandInput | GetItemCommandInput | GetResourcePolicyCommandInput | ImportTableCommandInput | ListBackupsCommandInput | ListContributorInsightsCommandInput | ListExportsCommandInput | ListGlobalTablesCommandInput | ListImportsCommandInput | ListTablesCommandInput | ListTagsOfResourceCommandInput | PutItemCommandInput | PutResourcePolicyCommandInput | QueryCommandInput | RestoreTableFromBackupCommandInput | RestoreTableToPointInTimeCommandInput | ScanCommandInput | TagResourceCommandInput | TransactGetItemsCommandInput | TransactWriteItemsCommandInput | UntagResourceCommandInput | UpdateContinuousBackupsCommandInput | UpdateContributorInsightsCommandInput | UpdateGlobalTableCommandInput | UpdateGlobalTableSettingsCommandInput | UpdateItemCommandInput | UpdateKinesisStreamingDestinationCommandInput | UpdateTableCommandInput | UpdateTableReplicaAutoScalingCommandInput | UpdateTimeToLiveCommandInput; -/** - * @public - */ -export type ServiceOutputTypes = BatchExecuteStatementCommandOutput | BatchGetItemCommandOutput | BatchWriteItemCommandOutput | CreateBackupCommandOutput | CreateGlobalTableCommandOutput | CreateTableCommandOutput | DeleteBackupCommandOutput | DeleteItemCommandOutput | DeleteResourcePolicyCommandOutput | DeleteTableCommandOutput | DescribeBackupCommandOutput | DescribeContinuousBackupsCommandOutput | DescribeContributorInsightsCommandOutput | DescribeEndpointsCommandOutput | DescribeExportCommandOutput | DescribeGlobalTableCommandOutput | DescribeGlobalTableSettingsCommandOutput | DescribeImportCommandOutput | DescribeKinesisStreamingDestinationCommandOutput | DescribeLimitsCommandOutput | DescribeTableCommandOutput | DescribeTableReplicaAutoScalingCommandOutput | DescribeTimeToLiveCommandOutput | DisableKinesisStreamingDestinationCommandOutput | EnableKinesisStreamingDestinationCommandOutput | ExecuteStatementCommandOutput | ExecuteTransactionCommandOutput | ExportTableToPointInTimeCommandOutput | GetItemCommandOutput | GetResourcePolicyCommandOutput | ImportTableCommandOutput | ListBackupsCommandOutput | ListContributorInsightsCommandOutput | ListExportsCommandOutput | ListGlobalTablesCommandOutput | ListImportsCommandOutput | ListTablesCommandOutput | ListTagsOfResourceCommandOutput | PutItemCommandOutput | PutResourcePolicyCommandOutput | QueryCommandOutput | RestoreTableFromBackupCommandOutput | RestoreTableToPointInTimeCommandOutput | ScanCommandOutput | TagResourceCommandOutput | TransactGetItemsCommandOutput | TransactWriteItemsCommandOutput | UntagResourceCommandOutput | UpdateContinuousBackupsCommandOutput | UpdateContributorInsightsCommandOutput | UpdateGlobalTableCommandOutput | UpdateGlobalTableSettingsCommandOutput | UpdateItemCommandOutput | UpdateKinesisStreamingDestinationCommandOutput | UpdateTableCommandOutput | UpdateTableReplicaAutoScalingCommandOutput | UpdateTimeToLiveCommandOutput; -/** - * @public - */ -export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { - /** - * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. - */ - requestHandler?: __HttpHandlerUserInput; - /** - * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface - * that computes the SHA-256 HMAC or checksum of a string or binary buffer. - * @internal - */ - sha256?: __ChecksumConstructor | __HashConstructor; - /** - * The function that will be used to convert strings into HTTP endpoints. - * @internal - */ - urlParser?: __UrlParser; - /** - * A function that can calculate the length of a request body. - * @internal - */ - bodyLengthChecker?: __BodyLengthCalculator; - /** - * A function that converts a stream into an array of bytes. - * @internal - */ - streamCollector?: __StreamCollector; - /** - * The function that will be used to convert a base64-encoded string to a byte array. - * @internal - */ - base64Decoder?: __Decoder; - /** - * The function that will be used to convert binary data to a base64-encoded string. - * @internal - */ - base64Encoder?: __Encoder; - /** - * The function that will be used to convert a UTF8-encoded string to a byte array. - * @internal - */ - utf8Decoder?: __Decoder; - /** - * The function that will be used to convert binary data to a UTF-8 encoded string. - * @internal - */ - utf8Encoder?: __Encoder; - /** - * The runtime environment. - * @internal - */ - runtime?: string; - /** - * Disable dynamically changing the endpoint of the client based on the hostPrefix - * trait of an operation. - */ - disableHostPrefix?: boolean; - /** - * Unique service identifier. - * @internal - */ - serviceId?: string; - /** - * Enables IPv6/IPv4 dualstack endpoint. - */ - useDualstackEndpoint?: boolean | __Provider; - /** - * Enables FIPS compatible endpoints. - */ - useFipsEndpoint?: boolean | __Provider; - /** - * The AWS region to which this client will send requests - */ - region?: string | __Provider; - /** - * Setting a client profile is similar to setting a value for the - * AWS_PROFILE environment variable. Setting a profile on a client - * in code only affects the single client instance, unlike AWS_PROFILE. - * - * When set, and only for environments where an AWS configuration - * file exists, fields configurable by this file will be retrieved - * from the specified profile within that file. - * Conflicting code configuration and environment variables will - * still have higher priority. - * - * For client credential resolution that involves checking the AWS - * configuration file, the client's profile (this value) will be - * used unless a different profile is set in the credential - * provider options. - * - */ - profile?: string; - /** - * Defines if the AWS AccountId will be used for endpoint routing. - */ - accountIdEndpointMode?: AccountIdEndpointMode | __Provider; - /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal - */ - defaultUserAgentProvider?: Provider<__UserAgent>; - /** - * Default credentials provider; Not available in browser runtime. - * @deprecated - * @internal - */ - credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; - /** - * Value for how many times a request will be made at most in case of retry. - */ - maxAttempts?: number | __Provider; - /** - * Specifies which retry algorithm to use. - * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ - * - */ - retryMode?: string | __Provider; - /** - * Optional logger for logging debug/info/warn/error. - */ - logger?: __Logger; - /** - * Optional extensions - */ - extensions?: RuntimeExtension[]; - /** - * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. - */ - defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; - /** - * The provider which populates default for endpointDiscoveryEnabled configuration, if it's - * not passed during client creation. - * @internal - */ - endpointDiscoveryEnabledProvider?: __Provider; -} -/** - * @public - */ -export type DynamoDBClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & AccountIdEndpointModeInputConfig & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & HttpAuthSchemeInputConfig & EndpointDiscoveryInputConfig & ClientInputEndpointParameters; -/** - * @public - * - * The configuration interface of DynamoDBClient class constructor that set the region, credentials and other options. - */ -export interface DynamoDBClientConfig extends DynamoDBClientConfigType { -} -/** - * @public - */ -export type DynamoDBClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & AccountIdEndpointModeResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & HttpAuthSchemeResolvedConfig & EndpointDiscoveryResolvedConfig & ClientResolvedEndpointParameters; -/** - * @public - * - * The resolved configuration interface of DynamoDBClient class. This is resolved and normalized from the {@link DynamoDBClientConfig | constructor configuration interface}. - */ -export interface DynamoDBClientResolvedConfig extends DynamoDBClientResolvedConfigType { -} -/** - * Amazon DynamoDB - *

Amazon DynamoDB is a fully managed NoSQL database service that provides fast - * and predictable performance with seamless scalability. DynamoDB lets you - * offload the administrative burdens of operating and scaling a distributed database, so - * that you don't have to worry about hardware provisioning, setup and configuration, - * replication, software patching, or cluster scaling.

- *

With DynamoDB, you can create database tables that can store and retrieve - * any amount of data, and serve any level of request traffic. You can scale up or scale - * down your tables' throughput capacity without downtime or performance degradation, and - * use the Amazon Web Services Management Console to monitor resource utilization and performance - * metrics.

- *

DynamoDB automatically spreads the data and traffic for your tables over - * a sufficient number of servers to handle your throughput and storage requirements, while - * maintaining consistent and fast performance. All of your data is stored on solid state - * disks (SSDs) and automatically replicated across multiple Availability Zones in an - * Amazon Web Services Region, providing built-in high availability and data - * durability.

- * @public - */ -export declare class DynamoDBClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DynamoDBClientResolvedConfig> { - /** - * The resolved configuration of DynamoDBClient class. This is resolved and normalized from the {@link DynamoDBClientConfig | constructor configuration interface}. - */ - readonly config: DynamoDBClientResolvedConfig; - constructor(...[configuration]: __CheckOptionalClientConfig); - /** - * Destroy underlying resources, like sockets. It's usually not necessary to do this. - * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. - * Otherwise, sockets might stay open for quite a long time before the server terminates them. - */ - destroy(): void; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/auth/httpAuthExtensionConfiguration.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/auth/httpAuthExtensionConfiguration.d.ts deleted file mode 100644 index f9874ed4..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/auth/httpAuthExtensionConfiguration.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types"; -import type { DynamoDBHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; -/** - * @internal - */ -export interface HttpAuthExtensionConfiguration { - setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; - httpAuthSchemes(): HttpAuthScheme[]; - setHttpAuthSchemeProvider(httpAuthSchemeProvider: DynamoDBHttpAuthSchemeProvider): void; - httpAuthSchemeProvider(): DynamoDBHttpAuthSchemeProvider; - setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void; - credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined; -} -/** - * @internal - */ -export type HttpAuthRuntimeConfig = Partial<{ - httpAuthSchemes: HttpAuthScheme[]; - httpAuthSchemeProvider: DynamoDBHttpAuthSchemeProvider; - credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; -}>; -/** - * @internal - */ -export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration; -/** - * @internal - */ -export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/auth/httpAuthSchemeProvider.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/auth/httpAuthSchemeProvider.d.ts deleted file mode 100644 index c170a137..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/auth/httpAuthSchemeProvider.d.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core"; -import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types"; -import { type DynamoDBClientResolvedConfig } from "../DynamoDBClient"; -/** - * @internal - */ -export interface DynamoDBHttpAuthSchemeParameters extends HttpAuthSchemeParameters { - region?: string; -} -/** - * @internal - */ -export interface DynamoDBHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider { -} -/** - * @internal - */ -export declare const defaultDynamoDBHttpAuthSchemeParametersProvider: (config: DynamoDBClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise; -/** - * @internal - */ -export interface DynamoDBHttpAuthSchemeProvider extends HttpAuthSchemeProvider { -} -/** - * @internal - */ -export declare const defaultDynamoDBHttpAuthSchemeProvider: DynamoDBHttpAuthSchemeProvider; -/** - * @public - */ -export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { - /** - * A comma-separated list of case-sensitive auth scheme names. - * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. - * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. - * @public - */ - authSchemePreference?: string[] | Provider; - /** - * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. - * @internal - */ - httpAuthSchemes?: HttpAuthScheme[]; - /** - * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. - * @internal - */ - httpAuthSchemeProvider?: DynamoDBHttpAuthSchemeProvider; -} -/** - * @internal - */ -export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig { - /** - * A comma-separated list of case-sensitive auth scheme names. - * An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed. - * For example, the auth scheme with ID aws.auth#sigv4 is named sigv4. - * @public - */ - readonly authSchemePreference: Provider; - /** - * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme. - * @internal - */ - readonly httpAuthSchemes: HttpAuthScheme[]; - /** - * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use. - * @internal - */ - readonly httpAuthSchemeProvider: DynamoDBHttpAuthSchemeProvider; -} -/** - * @internal - */ -export declare const resolveHttpAuthSchemeConfig: (config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchExecuteStatementCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchExecuteStatementCommand.d.ts deleted file mode 100644 index 850ea597..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchExecuteStatementCommand.d.ts +++ /dev/null @@ -1,234 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link BatchExecuteStatementCommand}. - */ -export interface BatchExecuteStatementCommandInput extends BatchExecuteStatementInput { -} -/** - * @public - * - * The output of {@link BatchExecuteStatementCommand}. - */ -export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementOutput, __MetadataBearer { -} -declare const BatchExecuteStatementCommand_base: { - new (input: BatchExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: BatchExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

This operation allows you to perform batch reads or writes on data stored in DynamoDB, - * using PartiQL. Each read statement in a BatchExecuteStatement must specify - * an equality condition on all key attributes. This enforces that each SELECT - * statement in a batch returns at most a single item. For more information, see Running batch operations with PartiQL for DynamoDB .

- * - *

The entire batch must consist of either read statements or write statements, you - * cannot mix both in one batch.

- *
- * - *

A HTTP 200 response does not mean that all statements in the BatchExecuteStatement - * succeeded. Error details for individual statements can be found under the Error field of the BatchStatementResponse for each - * statement.

- *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, BatchExecuteStatementCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // BatchExecuteStatementInput - * Statements: [ // PartiQLBatchRequest // required - * { // BatchStatementRequest - * Statement: "STRING_VALUE", // required - * Parameters: [ // PreparedStatementParameters - * { // AttributeValue Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ // StringSetAttributeValue - * "STRING_VALUE", - * ], - * NS: [ // NumberSetAttributeValue - * "STRING_VALUE", - * ], - * BS: [ // BinarySetAttributeValue - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { // MapAttributeValue - * "": {// Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ - * "STRING_VALUE", - * ], - * NS: [ - * "STRING_VALUE", - * ], - * BS: [ - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { - * "": "", - * }, - * L: [ // ListAttributeValue - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * L: [ - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * ], - * ConsistentRead: true || false, - * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE", - * }, - * ], - * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE", - * }; - * const command = new BatchExecuteStatementCommand(input); - * const response = await client.send(command); - * // { // BatchExecuteStatementOutput - * // Responses: [ // PartiQLBatchResponse - * // { // BatchStatementResponse - * // Error: { // BatchStatementError - * // Code: "ConditionalCheckFailed" || "ItemCollectionSizeLimitExceeded" || "RequestLimitExceeded" || "ValidationError" || "ProvisionedThroughputExceeded" || "TransactionConflict" || "ThrottlingError" || "InternalServerError" || "ResourceNotFound" || "AccessDenied" || "DuplicateItem", - * // Message: "STRING_VALUE", - * // Item: { // AttributeMap - * // "": { // AttributeValue Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ // StringSetAttributeValue - * // "STRING_VALUE", - * // ], - * // NS: [ // NumberSetAttributeValue - * // "STRING_VALUE", - * // ], - * // BS: [ // BinarySetAttributeValue - * // new Uint8Array(), - * // ], - * // M: { // MapAttributeValue - * // "": {// Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ - * // "STRING_VALUE", - * // ], - * // NS: [ - * // "STRING_VALUE", - * // ], - * // BS: [ - * // new Uint8Array(), - * // ], - * // M: { - * // "": "", - * // }, - * // L: [ // ListAttributeValue - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // L: [ - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // }, - * // TableName: "STRING_VALUE", - * // Item: { - * // "": "", - * // }, - * // }, - * // ], - * // ConsumedCapacity: [ // ConsumedCapacityMultiple - * // { // ConsumedCapacity - * // TableName: "STRING_VALUE", - * // CapacityUnits: Number("double"), - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // Table: { // Capacity - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // GlobalSecondaryIndexes: { - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param BatchExecuteStatementCommandInput - {@link BatchExecuteStatementCommandInput} - * @returns {@link BatchExecuteStatementCommandOutput} - * @see {@link BatchExecuteStatementCommandInput} for command's `input` shape. - * @see {@link BatchExecuteStatementCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link RequestLimitExceeded} (client fault) - *

Throughput exceeds the current throughput quota for your account. For detailed - * information about why the request was throttled and the ARN of the impacted resource, - * find the ThrottlingReason field in the returned exception. Contact Amazon Web Services Support to request a quota - * increase.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request was denied due to request throttling. For detailed information about why - * the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class BatchExecuteStatementCommand extends BatchExecuteStatementCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: BatchExecuteStatementInput; - output: BatchExecuteStatementOutput; - }; - sdk: { - input: BatchExecuteStatementCommandInput; - output: BatchExecuteStatementCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchGetItemCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchGetItemCommand.d.ts deleted file mode 100644 index 105858bd..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchGetItemCommand.d.ts +++ /dev/null @@ -1,366 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { BatchGetItemInput, BatchGetItemOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link BatchGetItemCommand}. - */ -export interface BatchGetItemCommandInput extends BatchGetItemInput { -} -/** - * @public - * - * The output of {@link BatchGetItemCommand}. - */ -export interface BatchGetItemCommandOutput extends BatchGetItemOutput, __MetadataBearer { -} -declare const BatchGetItemCommand_base: { - new (input: BatchGetItemCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: BatchGetItemCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

The BatchGetItem operation returns the attributes of one or more items - * from one or more tables. You identify requested items by primary key.

- *

A single operation can retrieve up to 16 MB of data, which can contain as many as 100 - * items. BatchGetItem returns a partial result if the response size limit is - * exceeded, the table's provisioned throughput is exceeded, more than 1MB per partition is - * requested, or an internal processing failure occurs. If a partial result is returned, - * the operation returns a value for UnprocessedKeys. You can use this value - * to retry the operation starting with the next item to get.

- * - *

If you request more than 100 items, BatchGetItem returns a - * ValidationException with the message "Too many items requested for - * the BatchGetItem call."

- *
- *

For example, if you ask to retrieve 100 items, but each individual item is 300 KB in - * size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns - * an appropriate UnprocessedKeys value so you can get the next page of - * results. If desired, your application can include its own logic to assemble the pages of - * results into one dataset.

- *

If none of the items can be processed due to insufficient - * provisioned throughput on all of the tables in the request, then - * BatchGetItem returns a - * ProvisionedThroughputExceededException. If at least - * one of the items is successfully processed, then - * BatchGetItem completes successfully, while returning the keys of the - * unread items in UnprocessedKeys.

- * - *

If DynamoDB returns any unprocessed items, you should retry the batch operation on - * those items. However, we strongly recommend that you use an exponential - * backoff algorithm. If you retry the batch operation immediately, the - * underlying read or write requests can still fail due to throttling on the individual - * tables. If you delay the batch operation using exponential backoff, the individual - * requests in the batch are much more likely to succeed.

- *

For more information, see Batch Operations and Error Handling in the Amazon DynamoDB - * Developer Guide.

- *
- *

By default, BatchGetItem performs eventually consistent reads on every - * table in the request. If you want strongly consistent reads instead, you can set - * ConsistentRead to true for any or all tables.

- *

In order to minimize response latency, BatchGetItem may retrieve items in - * parallel.

- *

When designing your application, keep in mind that DynamoDB does not return items in - * any particular order. To help parse the response by item, include the primary key values - * for the items in your request in the ProjectionExpression parameter.

- *

If a requested item does not exist, it is not returned in the result. Requests for - * nonexistent items consume the minimum read capacity units according to the type of read. - * For more information, see Working with Tables in the Amazon DynamoDB Developer - * Guide.

- * - *

- * BatchGetItem will result in a ValidationException if the - * same key is specified multiple times.

- *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, BatchGetItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, BatchGetItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // BatchGetItemInput - * RequestItems: { // BatchGetRequestMap // required - * "": { // KeysAndAttributes - * Keys: [ // KeyList // required - * { // Key - * "": { // AttributeValue Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ // StringSetAttributeValue - * "STRING_VALUE", - * ], - * NS: [ // NumberSetAttributeValue - * "STRING_VALUE", - * ], - * BS: [ // BinarySetAttributeValue - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { // MapAttributeValue - * "": {// Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ - * "STRING_VALUE", - * ], - * NS: [ - * "STRING_VALUE", - * ], - * BS: [ - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { - * "": "", - * }, - * L: [ // ListAttributeValue - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * L: [ - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * ], - * AttributesToGet: [ // AttributeNameList - * "STRING_VALUE", - * ], - * ConsistentRead: true || false, - * ProjectionExpression: "STRING_VALUE", - * ExpressionAttributeNames: { // ExpressionAttributeNameMap - * "": "STRING_VALUE", - * }, - * }, - * }, - * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE", - * }; - * const command = new BatchGetItemCommand(input); - * const response = await client.send(command); - * // { // BatchGetItemOutput - * // Responses: { // BatchGetResponseMap - * // "": [ // ItemList - * // { // AttributeMap - * // "": { // AttributeValue Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ // StringSetAttributeValue - * // "STRING_VALUE", - * // ], - * // NS: [ // NumberSetAttributeValue - * // "STRING_VALUE", - * // ], - * // BS: [ // BinarySetAttributeValue - * // new Uint8Array(), - * // ], - * // M: { // MapAttributeValue - * // "": {// Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ - * // "STRING_VALUE", - * // ], - * // NS: [ - * // "STRING_VALUE", - * // ], - * // BS: [ - * // new Uint8Array(), - * // ], - * // M: { - * // "": "", - * // }, - * // L: [ // ListAttributeValue - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // L: [ - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // ], - * // }, - * // UnprocessedKeys: { // BatchGetRequestMap - * // "": { // KeysAndAttributes - * // Keys: [ // KeyList // required - * // { // Key - * // "": "", - * // }, - * // ], - * // AttributesToGet: [ // AttributeNameList - * // "STRING_VALUE", - * // ], - * // ConsistentRead: true || false, - * // ProjectionExpression: "STRING_VALUE", - * // ExpressionAttributeNames: { // ExpressionAttributeNameMap - * // "": "STRING_VALUE", - * // }, - * // }, - * // }, - * // ConsumedCapacity: [ // ConsumedCapacityMultiple - * // { // ConsumedCapacity - * // TableName: "STRING_VALUE", - * // CapacityUnits: Number("double"), - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // Table: { // Capacity - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // GlobalSecondaryIndexes: { - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param BatchGetItemCommandInput - {@link BatchGetItemCommandInput} - * @returns {@link BatchGetItemCommandOutput} - * @see {@link BatchGetItemCommandInput} for command's `input` shape. - * @see {@link BatchGetItemCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link ProvisionedThroughputExceededException} (client fault) - *

The request was denied due to request throttling. For detailed information about - * why the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception. The Amazon Web Services - * SDKs for DynamoDB automatically retry requests that receive this exception. - * Your request is eventually successful, unless your retry queue is too large to finish. - * Reduce the frequency of requests and use exponential backoff. For more information, go - * to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

- * - * @throws {@link RequestLimitExceeded} (client fault) - *

Throughput exceeds the current throughput quota for your account. For detailed - * information about why the request was throttled and the ARN of the impacted resource, - * find the ThrottlingReason field in the returned exception. Contact Amazon Web Services Support to request a quota - * increase.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request was denied due to request throttling. For detailed information about why - * the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @example To retrieve multiple items from a table - * ```javascript - * // This example reads multiple items from the Music table using a batch of three GetItem requests. Only the AlbumTitle attribute is returned. - * const input = { - * RequestItems: { - * Music: { - * Keys: [ - * { - * Artist: { - * S: "No One You Know" - * }, - * SongTitle: { - * S: "Call Me Today" - * } - * }, - * { - * Artist: { - * S: "Acme Band" - * }, - * SongTitle: { - * S: "Happy Day" - * } - * }, - * { - * Artist: { - * S: "No One You Know" - * }, - * SongTitle: { - * S: "Scared of My Shadow" - * } - * } - * ], - * ProjectionExpression: "AlbumTitle" - * } - * } - * }; - * const command = new BatchGetItemCommand(input); - * const response = await client.send(command); - * /* response is - * { - * Responses: { - * Music: [ - * { - * AlbumTitle: { - * S: "Somewhat Famous" - * } - * }, - * { - * AlbumTitle: { - * S: "Blue Sky Blues" - * } - * }, - * { - * AlbumTitle: { - * S: "Louder Than Ever" - * } - * } - * ] - * } - * } - * *\/ - * ``` - * - * @public - */ -export declare class BatchGetItemCommand extends BatchGetItemCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: BatchGetItemInput; - output: BatchGetItemOutput; - }; - sdk: { - input: BatchGetItemCommandInput; - output: BatchGetItemCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchWriteItemCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchWriteItemCommand.d.ts deleted file mode 100644 index b4a47cfc..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchWriteItemCommand.d.ts +++ /dev/null @@ -1,414 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { BatchWriteItemInput, BatchWriteItemOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link BatchWriteItemCommand}. - */ -export interface BatchWriteItemCommandInput extends BatchWriteItemInput { -} -/** - * @public - * - * The output of {@link BatchWriteItemCommand}. - */ -export interface BatchWriteItemCommandOutput extends BatchWriteItemOutput, __MetadataBearer { -} -declare const BatchWriteItemCommand_base: { - new (input: BatchWriteItemCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: BatchWriteItemCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

The BatchWriteItem operation puts or deletes multiple items in one or - * more tables. A single call to BatchWriteItem can transmit up to 16MB of - * data over the network, consisting of up to 25 item put or delete operations. While - * individual items can be up to 400 KB once stored, it's important to note that an item's - * representation might be greater than 400KB while being sent in DynamoDB's JSON format - * for the API call. For more details on this distinction, see Naming Rules and Data Types.

- * - *

- * BatchWriteItem cannot update items. If you perform a - * BatchWriteItem operation on an existing item, that item's values - * will be overwritten by the operation and it will appear like it was updated. To - * update items, we recommend you use the UpdateItem action.

- *
- *

The individual PutItem and DeleteItem operations specified - * in BatchWriteItem are atomic; however BatchWriteItem as a - * whole is not. If any requested operations fail because the table's provisioned - * throughput is exceeded or an internal processing failure occurs, the failed operations - * are returned in the UnprocessedItems response parameter. You can - * investigate and optionally resend the requests. Typically, you would call - * BatchWriteItem in a loop. Each iteration would check for unprocessed - * items and submit a new BatchWriteItem request with those unprocessed items - * until all items have been processed.

- *

For tables and indexes with provisioned capacity, if none of the items can be - * processed due to insufficient provisioned throughput on all of the tables in the - * request, then BatchWriteItem returns a - * ProvisionedThroughputExceededException. For all tables and indexes, if - * none of the items can be processed due to other throttling scenarios (such as exceeding - * partition level limits), then BatchWriteItem returns a - * ThrottlingException.

- * - *

If DynamoDB returns any unprocessed items, you should retry the batch operation on - * those items. However, we strongly recommend that you use an exponential - * backoff algorithm. If you retry the batch operation immediately, the - * underlying read or write requests can still fail due to throttling on the individual - * tables. If you delay the batch operation using exponential backoff, the individual - * requests in the batch are much more likely to succeed.

- *

For more information, see Batch Operations and Error Handling in the Amazon DynamoDB - * Developer Guide.

- *
- *

With BatchWriteItem, you can efficiently write or delete large amounts of - * data, such as from Amazon EMR, or copy data from another database into DynamoDB. In - * order to improve performance with these large-scale operations, - * BatchWriteItem does not behave in the same way as individual - * PutItem and DeleteItem calls would. For example, you - * cannot specify conditions on individual put and delete requests, and - * BatchWriteItem does not return deleted items in the response.

- *

If you use a programming language that supports concurrency, you can use threads to - * write items in parallel. Your application must include the necessary logic to manage the - * threads. With languages that don't support threading, you must update or delete the - * specified items one at a time. In both situations, BatchWriteItem performs - * the specified put and delete operations in parallel, giving you the power of the thread - * pool approach without having to introduce complexity into your application.

- *

Parallel processing reduces latency, but each specified put and delete request - * consumes the same number of write capacity units whether it is processed in parallel or - * not. Delete operations on nonexistent items consume one write capacity unit.

- *

If one or more of the following is true, DynamoDB rejects the entire batch write - * operation:

- *
    - *
  • - *

    One or more tables specified in the BatchWriteItem request does - * not exist.

    - *
  • - *
  • - *

    Primary key attributes specified on an item in the request do not match those - * in the corresponding table's primary key schema.

    - *
  • - *
  • - *

    You try to perform multiple operations on the same item in the same - * BatchWriteItem request. For example, you cannot put and delete - * the same item in the same BatchWriteItem request.

    - *
  • - *
  • - *

    Your request contains at least two items with identical hash and range keys - * (which essentially is two put operations).

    - *
  • - *
  • - *

    There are more than 25 requests in the batch.

    - *
  • - *
  • - *

    Any individual item in a batch exceeds 400 KB.

    - *
  • - *
  • - *

    The total request size exceeds 16 MB.

    - *
  • - *
  • - *

    Any individual items with keys exceeding the key length limits. For a - * partition key, the limit is 2048 bytes and for a sort key, the limit is 1024 - * bytes.

    - *
  • - *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, BatchWriteItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, BatchWriteItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // BatchWriteItemInput - * RequestItems: { // BatchWriteItemRequestMap // required - * "": [ // WriteRequests - * { // WriteRequest - * PutRequest: { // PutRequest - * Item: { // PutItemInputAttributeMap // required - * "": { // AttributeValue Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ // StringSetAttributeValue - * "STRING_VALUE", - * ], - * NS: [ // NumberSetAttributeValue - * "STRING_VALUE", - * ], - * BS: [ // BinarySetAttributeValue - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { // MapAttributeValue - * "": {// Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ - * "STRING_VALUE", - * ], - * NS: [ - * "STRING_VALUE", - * ], - * BS: [ - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { - * "": "", - * }, - * L: [ // ListAttributeValue - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * L: [ - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * }, - * DeleteRequest: { // DeleteRequest - * Key: { // Key // required - * "": "", - * }, - * }, - * }, - * ], - * }, - * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE", - * ReturnItemCollectionMetrics: "SIZE" || "NONE", - * }; - * const command = new BatchWriteItemCommand(input); - * const response = await client.send(command); - * // { // BatchWriteItemOutput - * // UnprocessedItems: { // BatchWriteItemRequestMap - * // "": [ // WriteRequests - * // { // WriteRequest - * // PutRequest: { // PutRequest - * // Item: { // PutItemInputAttributeMap // required - * // "": { // AttributeValue Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ // StringSetAttributeValue - * // "STRING_VALUE", - * // ], - * // NS: [ // NumberSetAttributeValue - * // "STRING_VALUE", - * // ], - * // BS: [ // BinarySetAttributeValue - * // new Uint8Array(), - * // ], - * // M: { // MapAttributeValue - * // "": {// Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ - * // "STRING_VALUE", - * // ], - * // NS: [ - * // "STRING_VALUE", - * // ], - * // BS: [ - * // new Uint8Array(), - * // ], - * // M: { - * // "": "", - * // }, - * // L: [ // ListAttributeValue - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // L: [ - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // }, - * // DeleteRequest: { // DeleteRequest - * // Key: { // Key // required - * // "": "", - * // }, - * // }, - * // }, - * // ], - * // }, - * // ItemCollectionMetrics: { // ItemCollectionMetricsPerTable - * // "": [ // ItemCollectionMetricsMultiple - * // { // ItemCollectionMetrics - * // ItemCollectionKey: { // ItemCollectionKeyAttributeMap - * // "": "", - * // }, - * // SizeEstimateRangeGB: [ // ItemCollectionSizeEstimateRange - * // Number("double"), - * // ], - * // }, - * // ], - * // }, - * // ConsumedCapacity: [ // ConsumedCapacityMultiple - * // { // ConsumedCapacity - * // TableName: "STRING_VALUE", - * // CapacityUnits: Number("double"), - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // Table: { // Capacity - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // GlobalSecondaryIndexes: { - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param BatchWriteItemCommandInput - {@link BatchWriteItemCommandInput} - * @returns {@link BatchWriteItemCommandOutput} - * @see {@link BatchWriteItemCommandInput} for command's `input` shape. - * @see {@link BatchWriteItemCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link ItemCollectionSizeLimitExceededException} (client fault) - *

An item collection is too large. This exception is only returned for tables that - * have one or more local secondary indexes.

- * - * @throws {@link ProvisionedThroughputExceededException} (client fault) - *

The request was denied due to request throttling. For detailed information about - * why the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception. The Amazon Web Services - * SDKs for DynamoDB automatically retry requests that receive this exception. - * Your request is eventually successful, unless your retry queue is too large to finish. - * Reduce the frequency of requests and use exponential backoff. For more information, go - * to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

- * - * @throws {@link ReplicatedWriteConflictException} (client fault) - *

The request was rejected because one or more items in the request are being modified - * by a request in another Region.

- * - * @throws {@link RequestLimitExceeded} (client fault) - *

Throughput exceeds the current throughput quota for your account. For detailed - * information about why the request was throttled and the ARN of the impacted resource, - * find the ThrottlingReason field in the returned exception. Contact Amazon Web Services Support to request a quota - * increase.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request was denied due to request throttling. For detailed information about why - * the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @example To add multiple items to a table - * ```javascript - * // This example adds three new items to the Music table using a batch of three PutItem requests. - * const input = { - * RequestItems: { - * Music: [ - * { - * PutRequest: { - * Item: { - * AlbumTitle: { - * S: "Somewhat Famous" - * }, - * Artist: { - * S: "No One You Know" - * }, - * SongTitle: { - * S: "Call Me Today" - * } - * } - * } - * }, - * { - * PutRequest: { - * Item: { - * AlbumTitle: { - * S: "Songs About Life" - * }, - * Artist: { - * S: "Acme Band" - * }, - * SongTitle: { - * S: "Happy Day" - * } - * } - * } - * }, - * { - * PutRequest: { - * Item: { - * AlbumTitle: { - * S: "Blue Sky Blues" - * }, - * Artist: { - * S: "No One You Know" - * }, - * SongTitle: { - * S: "Scared of My Shadow" - * } - * } - * } - * } - * ] - * } - * }; - * const command = new BatchWriteItemCommand(input); - * const response = await client.send(command); - * /* response is - * { /* empty *\/ } - * *\/ - * ``` - * - * @public - */ -export declare class BatchWriteItemCommand extends BatchWriteItemCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: BatchWriteItemInput; - output: BatchWriteItemOutput; - }; - sdk: { - input: BatchWriteItemCommandInput; - output: BatchWriteItemCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateBackupCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateBackupCommand.d.ts deleted file mode 100644 index 6cbbdecf..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateBackupCommand.d.ts +++ /dev/null @@ -1,151 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { CreateBackupInput, CreateBackupOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateBackupCommand}. - */ -export interface CreateBackupCommandInput extends CreateBackupInput { -} -/** - * @public - * - * The output of {@link CreateBackupCommand}. - */ -export interface CreateBackupCommandOutput extends CreateBackupOutput, __MetadataBearer { -} -declare const CreateBackupCommand_base: { - new (input: CreateBackupCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: CreateBackupCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Creates a backup for an existing table.

- *

Each time you create an on-demand backup, the entire table data is backed up. There - * is no limit to the number of on-demand backups that can be taken.

- *

When you create an on-demand backup, a time marker of the request is cataloged, and - * the backup is created asynchronously, by applying all changes until the time of the - * request to the last full table snapshot. Backup requests are processed instantaneously - * and become available for restore within minutes.

- *

You can call CreateBackup at a maximum rate of 50 times per - * second.

- *

All backups in DynamoDB work without consuming any provisioned throughput on the - * table.

- *

If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed to - * contain all data committed to the table up to 14:24:00, and data committed after - * 14:26:00 will not be. The backup might contain data modifications made between 14:24:00 - * and 14:26:00. On-demand backup does not support causal consistency.

- *

Along with data, the following are also included on the backups:

- *
    - *
  • - *

    Global secondary indexes (GSIs)

    - *
  • - *
  • - *

    Local secondary indexes (LSIs)

    - *
  • - *
  • - *

    Streams

    - *
  • - *
  • - *

    Provisioned read and write capacity

    - *
  • - *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, CreateBackupCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, CreateBackupCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // CreateBackupInput - * TableName: "STRING_VALUE", // required - * BackupName: "STRING_VALUE", // required - * }; - * const command = new CreateBackupCommand(input); - * const response = await client.send(command); - * // { // CreateBackupOutput - * // BackupDetails: { // BackupDetails - * // BackupArn: "STRING_VALUE", // required - * // BackupName: "STRING_VALUE", // required - * // BackupSizeBytes: Number("long"), - * // BackupStatus: "CREATING" || "DELETED" || "AVAILABLE", // required - * // BackupType: "USER" || "SYSTEM" || "AWS_BACKUP", // required - * // BackupCreationDateTime: new Date("TIMESTAMP"), // required - * // BackupExpiryDateTime: new Date("TIMESTAMP"), - * // }, - * // }; - * - * ``` - * - * @param CreateBackupCommandInput - {@link CreateBackupCommandInput} - * @returns {@link CreateBackupCommandOutput} - * @see {@link CreateBackupCommandInput} for command's `input` shape. - * @see {@link CreateBackupCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link BackupInUseException} (client fault) - *

There is another ongoing conflicting backup control plane operation on the table. - * The backup is either being created, deleted or restored to a table.

- * - * @throws {@link ContinuousBackupsUnavailableException} (client fault) - *

Backups have not yet been enabled for this table.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link TableInUseException} (client fault) - *

A target table with the specified name is either being created or deleted. - *

- * - * @throws {@link TableNotFoundException} (client fault) - *

A source table with the name TableName does not currently exist within - * the subscriber's account or the subscriber is operating in the wrong Amazon Web Services - * Region.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class CreateBackupCommand extends CreateBackupCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: CreateBackupInput; - output: CreateBackupOutput; - }; - sdk: { - input: CreateBackupCommandInput; - output: CreateBackupCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateGlobalTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateGlobalTableCommand.d.ts deleted file mode 100644 index 35f54084..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateGlobalTableCommand.d.ts +++ /dev/null @@ -1,212 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { CreateGlobalTableInput, CreateGlobalTableOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateGlobalTableCommand}. - */ -export interface CreateGlobalTableCommandInput extends CreateGlobalTableInput { -} -/** - * @public - * - * The output of {@link CreateGlobalTableCommand}. - */ -export interface CreateGlobalTableCommandOutput extends CreateGlobalTableOutput, __MetadataBearer { -} -declare const CreateGlobalTableCommand_base: { - new (input: CreateGlobalTableCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: CreateGlobalTableCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Creates a global table from an existing table. A global table creates a replication - * relationship between two or more DynamoDB tables with the same table name in the - * provided Regions.

- * - *

This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy).

- *

To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.

- *
- *

If you want to add a new replica table to a global table, each of the following - * conditions must be true:

- *
    - *
  • - *

    The table must have the same primary key as all of the other replicas.

    - *
  • - *
  • - *

    The table must have the same name as all of the other replicas.

    - *
  • - *
  • - *

    The table must have DynamoDB Streams enabled, with the stream containing both - * the new and the old images of the item.

    - *
  • - *
  • - *

    None of the replica tables in the global table can contain any data.

    - *
  • - *
- *

If global secondary indexes are specified, then the following conditions must also be - * met:

- *
    - *
  • - *

    The global secondary indexes must have the same name.

    - *
  • - *
  • - *

    The global secondary indexes must have the same hash key and sort key (if - * present).

    - *
  • - *
- *

If local secondary indexes are specified, then the following conditions must also be - * met:

- *
    - *
  • - *

    The local secondary indexes must have the same name.

    - *
  • - *
  • - *

    The local secondary indexes must have the same hash key and sort key (if - * present).

    - *
  • - *
- * - *

Write capacity settings should be set consistently across your replica tables and - * secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the - * write capacity settings for all of your global tables replicas and indexes.

- *

If you prefer to manage write capacity settings manually, you should provision - * equal replicated write capacity units to your replica tables. You should also - * provision equal replicated write capacity units to matching secondary indexes across - * your global table.

- *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, CreateGlobalTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, CreateGlobalTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // CreateGlobalTableInput - * GlobalTableName: "STRING_VALUE", // required - * ReplicationGroup: [ // ReplicaList // required - * { // Replica - * RegionName: "STRING_VALUE", - * }, - * ], - * }; - * const command = new CreateGlobalTableCommand(input); - * const response = await client.send(command); - * // { // CreateGlobalTableOutput - * // GlobalTableDescription: { // GlobalTableDescription - * // ReplicationGroup: [ // ReplicaDescriptionList - * // { // ReplicaDescription - * // RegionName: "STRING_VALUE", - * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // ReplicaArn: "STRING_VALUE", - * // ReplicaStatusDescription: "STRING_VALUE", - * // ReplicaStatusPercentProgress: "STRING_VALUE", - * // KMSMasterKeyId: "STRING_VALUE", - * // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { // OnDemandThroughputOverride - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // TableWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList - * // { // ReplicaGlobalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // ProvisionedThroughputOverride: { - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // GlobalSecondaryIndexWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // }, - * // }, - * // ], - * // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"), - * // ReplicaTableClassSummary: { // TableClassSummary - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * // }, - * // ], - * // GlobalTableArn: "STRING_VALUE", - * // CreationDateTime: new Date("TIMESTAMP"), - * // GlobalTableStatus: "CREATING" || "ACTIVE" || "DELETING" || "UPDATING", - * // GlobalTableName: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param CreateGlobalTableCommandInput - {@link CreateGlobalTableCommandInput} - * @returns {@link CreateGlobalTableCommandOutput} - * @see {@link CreateGlobalTableCommandInput} for command's `input` shape. - * @see {@link CreateGlobalTableCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link GlobalTableAlreadyExistsException} (client fault) - *

The specified global table already exists.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link TableNotFoundException} (client fault) - *

A source table with the name TableName does not currently exist within - * the subscriber's account or the subscriber is operating in the wrong Amazon Web Services - * Region.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class CreateGlobalTableCommand extends CreateGlobalTableCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: CreateGlobalTableInput; - output: CreateGlobalTableOutput; - }; - sdk: { - input: CreateGlobalTableCommandInput; - output: CreateGlobalTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateTableCommand.d.ts deleted file mode 100644 index 0cd77d1a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateTableCommand.d.ts +++ /dev/null @@ -1,395 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { CreateTableInput, CreateTableOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link CreateTableCommand}. - */ -export interface CreateTableCommandInput extends CreateTableInput { -} -/** - * @public - * - * The output of {@link CreateTableCommand}. - */ -export interface CreateTableCommandOutput extends CreateTableOutput, __MetadataBearer { -} -declare const CreateTableCommand_base: { - new (input: CreateTableCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: CreateTableCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

The CreateTable operation adds a new table to your account. In an Amazon Web Services account, table names must be unique within each Region. That is, you can - * have two tables with same name if you create the tables in different Regions.

- *

- * CreateTable is an asynchronous operation. Upon receiving a - * CreateTable request, DynamoDB immediately returns a response with a - * TableStatus of CREATING. After the table is created, - * DynamoDB sets the TableStatus to ACTIVE. You can perform read - * and write operations only on an ACTIVE table.

- *

You can optionally define secondary indexes on the new table, as part of the - * CreateTable operation. If you want to create multiple tables with - * secondary indexes on them, you must create the tables sequentially. Only one table with - * secondary indexes can be in the CREATING state at any given time.

- *

You can use the DescribeTable action to check the table status.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, CreateTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, CreateTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // CreateTableInput - * AttributeDefinitions: [ // AttributeDefinitions - * { // AttributeDefinition - * AttributeName: "STRING_VALUE", // required - * AttributeType: "S" || "N" || "B", // required - * }, - * ], - * TableName: "STRING_VALUE", // required - * KeySchema: [ // KeySchema - * { // KeySchemaElement - * AttributeName: "STRING_VALUE", // required - * KeyType: "HASH" || "RANGE", // required - * }, - * ], - * LocalSecondaryIndexes: [ // LocalSecondaryIndexList - * { // LocalSecondaryIndex - * IndexName: "STRING_VALUE", // required - * KeySchema: [ // required - * { - * AttributeName: "STRING_VALUE", // required - * KeyType: "HASH" || "RANGE", // required - * }, - * ], - * Projection: { // Projection - * ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * NonKeyAttributes: [ // NonKeyAttributeNameList - * "STRING_VALUE", - * ], - * }, - * }, - * ], - * GlobalSecondaryIndexes: [ // GlobalSecondaryIndexList - * { // GlobalSecondaryIndex - * IndexName: "STRING_VALUE", // required - * KeySchema: [ // required - * { - * AttributeName: "STRING_VALUE", // required - * KeyType: "HASH" || "RANGE", // required - * }, - * ], - * Projection: { - * ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * NonKeyAttributes: [ - * "STRING_VALUE", - * ], - * }, - * ProvisionedThroughput: { // ProvisionedThroughput - * ReadCapacityUnits: Number("long"), // required - * WriteCapacityUnits: Number("long"), // required - * }, - * OnDemandThroughput: { // OnDemandThroughput - * MaxReadRequestUnits: Number("long"), - * MaxWriteRequestUnits: Number("long"), - * }, - * WarmThroughput: { // WarmThroughput - * ReadUnitsPerSecond: Number("long"), - * WriteUnitsPerSecond: Number("long"), - * }, - * }, - * ], - * BillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * ProvisionedThroughput: { - * ReadCapacityUnits: Number("long"), // required - * WriteCapacityUnits: Number("long"), // required - * }, - * StreamSpecification: { // StreamSpecification - * StreamEnabled: true || false, // required - * StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY", - * }, - * SSESpecification: { // SSESpecification - * Enabled: true || false, - * SSEType: "AES256" || "KMS", - * KMSMasterKeyId: "STRING_VALUE", - * }, - * Tags: [ // TagList - * { // Tag - * Key: "STRING_VALUE", // required - * Value: "STRING_VALUE", // required - * }, - * ], - * TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * DeletionProtectionEnabled: true || false, - * WarmThroughput: { - * ReadUnitsPerSecond: Number("long"), - * WriteUnitsPerSecond: Number("long"), - * }, - * ResourcePolicy: "STRING_VALUE", - * OnDemandThroughput: { - * MaxReadRequestUnits: Number("long"), - * MaxWriteRequestUnits: Number("long"), - * }, - * GlobalTableSourceArn: "STRING_VALUE", - * GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * }; - * const command = new CreateTableCommand(input); - * const response = await client.send(command); - * // { // CreateTableOutput - * // TableDescription: { // TableDescription - * // AttributeDefinitions: [ // AttributeDefinitions - * // { // AttributeDefinition - * // AttributeName: "STRING_VALUE", // required - * // AttributeType: "S" || "N" || "B", // required - * // }, - * // ], - * // TableName: "STRING_VALUE", - * // KeySchema: [ // KeySchema - * // { // KeySchemaElement - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // CreationDateTime: new Date("TIMESTAMP"), - * // ProvisionedThroughput: { // ProvisionedThroughputDescription - * // LastIncreaseDateTime: new Date("TIMESTAMP"), - * // LastDecreaseDateTime: new Date("TIMESTAMP"), - * // NumberOfDecreasesToday: Number("long"), - * // ReadCapacityUnits: Number("long"), - * // WriteCapacityUnits: Number("long"), - * // }, - * // TableSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // TableArn: "STRING_VALUE", - * // TableId: "STRING_VALUE", - * // BillingModeSummary: { // BillingModeSummary - * // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * // LastUpdateToPayPerRequestDateTime: new Date("TIMESTAMP"), - * // }, - * // LocalSecondaryIndexes: [ // LocalSecondaryIndexDescriptionList - * // { // LocalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { // Projection - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ // NonKeyAttributeNameList - * // "STRING_VALUE", - * // ], - * // }, - * // IndexSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // IndexArn: "STRING_VALUE", - * // }, - * // ], - * // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexDescriptionList - * // { // GlobalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ - * // "STRING_VALUE", - * // ], - * // }, - * // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // Backfilling: true || false, - * // ProvisionedThroughput: { - * // LastIncreaseDateTime: new Date("TIMESTAMP"), - * // LastDecreaseDateTime: new Date("TIMESTAMP"), - * // NumberOfDecreasesToday: Number("long"), - * // ReadCapacityUnits: Number("long"), - * // WriteCapacityUnits: Number("long"), - * // }, - * // IndexSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // IndexArn: "STRING_VALUE", - * // OnDemandThroughput: { // OnDemandThroughput - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // GlobalSecondaryIndexWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // }, - * // }, - * // ], - * // StreamSpecification: { // StreamSpecification - * // StreamEnabled: true || false, // required - * // StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY", - * // }, - * // LatestStreamLabel: "STRING_VALUE", - * // LatestStreamArn: "STRING_VALUE", - * // GlobalTableVersion: "STRING_VALUE", - * // Replicas: [ // ReplicaDescriptionList - * // { // ReplicaDescription - * // RegionName: "STRING_VALUE", - * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // ReplicaArn: "STRING_VALUE", - * // ReplicaStatusDescription: "STRING_VALUE", - * // ReplicaStatusPercentProgress: "STRING_VALUE", - * // KMSMasterKeyId: "STRING_VALUE", - * // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { // OnDemandThroughputOverride - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // TableWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList - * // { // ReplicaGlobalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // ProvisionedThroughputOverride: { - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // }, - * // }, - * // ], - * // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"), - * // ReplicaTableClassSummary: { // TableClassSummary - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * // }, - * // ], - * // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList - * // { // GlobalTableWitnessDescription - * // RegionName: "STRING_VALUE", - * // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE", - * // }, - * // ], - * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * // RestoreSummary: { // RestoreSummary - * // SourceBackupArn: "STRING_VALUE", - * // SourceTableArn: "STRING_VALUE", - * // RestoreDateTime: new Date("TIMESTAMP"), // required - * // RestoreInProgress: true || false, // required - * // }, - * // SSEDescription: { // SSEDescription - * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING", - * // SSEType: "AES256" || "KMS", - * // KMSMasterKeyArn: "STRING_VALUE", - * // InaccessibleEncryptionDateTime: new Date("TIMESTAMP"), - * // }, - * // ArchivalSummary: { // ArchivalSummary - * // ArchivalDateTime: new Date("TIMESTAMP"), - * // ArchivalReason: "STRING_VALUE", - * // ArchivalBackupArn: "STRING_VALUE", - * // }, - * // TableClassSummary: { - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // DeletionProtectionEnabled: true || false, - * // OnDemandThroughput: { - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // MultiRegionConsistency: "EVENTUAL" || "STRONG", - * // }, - * // }; - * - * ``` - * - * @param CreateTableCommandInput - {@link CreateTableCommandInput} - * @returns {@link CreateTableCommandOutput} - * @see {@link CreateTableCommandInput} for command's `input` shape. - * @see {@link CreateTableCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example:

- *
    - *
  • - *

    You attempted to recreate an existing table.

    - *
  • - *
  • - *

    You tried to delete a table currently in the CREATING - * state.

    - *
  • - *
  • - *

    You tried to update a resource that was already being updated.

    - *
  • - *
- *

When appropriate, wait for the ongoing update to complete and attempt the request - * again.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class CreateTableCommand extends CreateTableCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: CreateTableInput; - output: CreateTableOutput; - }; - sdk: { - input: CreateTableCommandInput; - output: CreateTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteBackupCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteBackupCommand.d.ts deleted file mode 100644 index 58b52c14..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteBackupCommand.d.ts +++ /dev/null @@ -1,197 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DeleteBackupInput, DeleteBackupOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteBackupCommand}. - */ -export interface DeleteBackupCommandInput extends DeleteBackupInput { -} -/** - * @public - * - * The output of {@link DeleteBackupCommand}. - */ -export interface DeleteBackupCommandOutput extends DeleteBackupOutput, __MetadataBearer { -} -declare const DeleteBackupCommand_base: { - new (input: DeleteBackupCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DeleteBackupCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Deletes an existing backup of a table.

- *

You can call DeleteBackup at a maximum rate of 10 times per - * second.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DeleteBackupCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DeleteBackupCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // DeleteBackupInput - * BackupArn: "STRING_VALUE", // required - * }; - * const command = new DeleteBackupCommand(input); - * const response = await client.send(command); - * // { // DeleteBackupOutput - * // BackupDescription: { // BackupDescription - * // BackupDetails: { // BackupDetails - * // BackupArn: "STRING_VALUE", // required - * // BackupName: "STRING_VALUE", // required - * // BackupSizeBytes: Number("long"), - * // BackupStatus: "CREATING" || "DELETED" || "AVAILABLE", // required - * // BackupType: "USER" || "SYSTEM" || "AWS_BACKUP", // required - * // BackupCreationDateTime: new Date("TIMESTAMP"), // required - * // BackupExpiryDateTime: new Date("TIMESTAMP"), - * // }, - * // SourceTableDetails: { // SourceTableDetails - * // TableName: "STRING_VALUE", // required - * // TableId: "STRING_VALUE", // required - * // TableArn: "STRING_VALUE", - * // TableSizeBytes: Number("long"), - * // KeySchema: [ // KeySchema // required - * // { // KeySchemaElement - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // TableCreationDateTime: new Date("TIMESTAMP"), // required - * // ProvisionedThroughput: { // ProvisionedThroughput - * // ReadCapacityUnits: Number("long"), // required - * // WriteCapacityUnits: Number("long"), // required - * // }, - * // OnDemandThroughput: { // OnDemandThroughput - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // ItemCount: Number("long"), - * // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * // }, - * // SourceTableFeatureDetails: { // SourceTableFeatureDetails - * // LocalSecondaryIndexes: [ // LocalSecondaryIndexes - * // { // LocalSecondaryIndexInfo - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { // Projection - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ // NonKeyAttributeNameList - * // "STRING_VALUE", - * // ], - * // }, - * // }, - * // ], - * // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexes - * // { // GlobalSecondaryIndexInfo - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ - * // "STRING_VALUE", - * // ], - * // }, - * // ProvisionedThroughput: { - * // ReadCapacityUnits: Number("long"), // required - * // WriteCapacityUnits: Number("long"), // required - * // }, - * // OnDemandThroughput: { - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // }, - * // ], - * // StreamDescription: { // StreamSpecification - * // StreamEnabled: true || false, // required - * // StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY", - * // }, - * // TimeToLiveDescription: { // TimeToLiveDescription - * // TimeToLiveStatus: "ENABLING" || "DISABLING" || "ENABLED" || "DISABLED", - * // AttributeName: "STRING_VALUE", - * // }, - * // SSEDescription: { // SSEDescription - * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING", - * // SSEType: "AES256" || "KMS", - * // KMSMasterKeyArn: "STRING_VALUE", - * // InaccessibleEncryptionDateTime: new Date("TIMESTAMP"), - * // }, - * // }, - * // }, - * // }; - * - * ``` - * - * @param DeleteBackupCommandInput - {@link DeleteBackupCommandInput} - * @returns {@link DeleteBackupCommandOutput} - * @see {@link DeleteBackupCommandInput} for command's `input` shape. - * @see {@link DeleteBackupCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link BackupInUseException} (client fault) - *

There is another ongoing conflicting backup control plane operation on the table. - * The backup is either being created, deleted or restored to a table.

- * - * @throws {@link BackupNotFoundException} (client fault) - *

Backup not found for the given BackupARN.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class DeleteBackupCommand extends DeleteBackupCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DeleteBackupInput; - output: DeleteBackupOutput; - }; - sdk: { - input: DeleteBackupCommandInput; - output: DeleteBackupCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteItemCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteItemCommand.d.ts deleted file mode 100644 index 46148cf9..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteItemCommand.d.ts +++ /dev/null @@ -1,296 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DeleteItemInput, DeleteItemOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteItemCommand}. - */ -export interface DeleteItemCommandInput extends DeleteItemInput { -} -/** - * @public - * - * The output of {@link DeleteItemCommand}. - */ -export interface DeleteItemCommandOutput extends DeleteItemOutput, __MetadataBearer { -} -declare const DeleteItemCommand_base: { - new (input: DeleteItemCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DeleteItemCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Deletes a single item in a table by primary key. You can perform a conditional delete - * operation that deletes the item if it exists, or if it has an expected attribute - * value.

- *

In addition to deleting an item, you can also return the item's attribute values in - * the same operation, using the ReturnValues parameter.

- *

Unless you specify conditions, the DeleteItem is an idempotent operation; - * running it multiple times on the same item or attribute does not - * result in an error response.

- *

Conditional deletes are useful for deleting items only if specific conditions are met. - * If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not - * deleted.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DeleteItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DeleteItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // DeleteItemInput - * TableName: "STRING_VALUE", // required - * Key: { // Key // required - * "": { // AttributeValue Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ // StringSetAttributeValue - * "STRING_VALUE", - * ], - * NS: [ // NumberSetAttributeValue - * "STRING_VALUE", - * ], - * BS: [ // BinarySetAttributeValue - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { // MapAttributeValue - * "": {// Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ - * "STRING_VALUE", - * ], - * NS: [ - * "STRING_VALUE", - * ], - * BS: [ - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { - * "": "", - * }, - * L: [ // ListAttributeValue - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * L: [ - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * Expected: { // ExpectedAttributeMap - * "": { // ExpectedAttributeValue - * Value: "", - * Exists: true || false, - * ComparisonOperator: "EQ" || "NE" || "IN" || "LE" || "LT" || "GE" || "GT" || "BETWEEN" || "NOT_NULL" || "NULL" || "CONTAINS" || "NOT_CONTAINS" || "BEGINS_WITH", - * AttributeValueList: [ // AttributeValueList - * "", - * ], - * }, - * }, - * ConditionalOperator: "AND" || "OR", - * ReturnValues: "NONE" || "ALL_OLD" || "UPDATED_OLD" || "ALL_NEW" || "UPDATED_NEW", - * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE", - * ReturnItemCollectionMetrics: "SIZE" || "NONE", - * ConditionExpression: "STRING_VALUE", - * ExpressionAttributeNames: { // ExpressionAttributeNameMap - * "": "STRING_VALUE", - * }, - * ExpressionAttributeValues: { // ExpressionAttributeValueMap - * "": "", - * }, - * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE", - * }; - * const command = new DeleteItemCommand(input); - * const response = await client.send(command); - * // { // DeleteItemOutput - * // Attributes: { // AttributeMap - * // "": { // AttributeValue Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ // StringSetAttributeValue - * // "STRING_VALUE", - * // ], - * // NS: [ // NumberSetAttributeValue - * // "STRING_VALUE", - * // ], - * // BS: [ // BinarySetAttributeValue - * // new Uint8Array(), - * // ], - * // M: { // MapAttributeValue - * // "": {// Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ - * // "STRING_VALUE", - * // ], - * // NS: [ - * // "STRING_VALUE", - * // ], - * // BS: [ - * // new Uint8Array(), - * // ], - * // M: { - * // "": "", - * // }, - * // L: [ // ListAttributeValue - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // L: [ - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // ConsumedCapacity: { // ConsumedCapacity - * // TableName: "STRING_VALUE", - * // CapacityUnits: Number("double"), - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // Table: { // Capacity - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // GlobalSecondaryIndexes: { - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // }, - * // ItemCollectionMetrics: { // ItemCollectionMetrics - * // ItemCollectionKey: { // ItemCollectionKeyAttributeMap - * // "": "", - * // }, - * // SizeEstimateRangeGB: [ // ItemCollectionSizeEstimateRange - * // Number("double"), - * // ], - * // }, - * // }; - * - * ``` - * - * @param DeleteItemCommandInput - {@link DeleteItemCommandInput} - * @returns {@link DeleteItemCommandOutput} - * @see {@link DeleteItemCommandInput} for command's `input` shape. - * @see {@link DeleteItemCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link ConditionalCheckFailedException} (client fault) - *

A condition specified in the operation failed to be evaluated.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link ItemCollectionSizeLimitExceededException} (client fault) - *

An item collection is too large. This exception is only returned for tables that - * have one or more local secondary indexes.

- * - * @throws {@link ProvisionedThroughputExceededException} (client fault) - *

The request was denied due to request throttling. For detailed information about - * why the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception. The Amazon Web Services - * SDKs for DynamoDB automatically retry requests that receive this exception. - * Your request is eventually successful, unless your retry queue is too large to finish. - * Reduce the frequency of requests and use exponential backoff. For more information, go - * to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

- * - * @throws {@link ReplicatedWriteConflictException} (client fault) - *

The request was rejected because one or more items in the request are being modified - * by a request in another Region.

- * - * @throws {@link RequestLimitExceeded} (client fault) - *

Throughput exceeds the current throughput quota for your account. For detailed - * information about why the request was throttled and the ARN of the impacted resource, - * find the ThrottlingReason field in the returned exception. Contact Amazon Web Services Support to request a quota - * increase.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request was denied due to request throttling. For detailed information about why - * the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception.

- * - * @throws {@link TransactionConflictException} (client fault) - *

Operation was rejected because there is an ongoing transaction for the - * item.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @example To delete an item - * ```javascript - * // This example deletes an item from the Music table. - * const input = { - * Key: { - * Artist: { - * S: "No One You Know" - * }, - * SongTitle: { - * S: "Scared of My Shadow" - * } - * }, - * TableName: "Music" - * }; - * const command = new DeleteItemCommand(input); - * const response = await client.send(command); - * /* response is - * { - * ConsumedCapacity: { - * CapacityUnits: 1, - * TableName: "Music" - * } - * } - * *\/ - * ``` - * - * @public - */ -export declare class DeleteItemCommand extends DeleteItemCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DeleteItemInput; - output: DeleteItemOutput; - }; - sdk: { - input: DeleteItemCommandInput; - output: DeleteItemCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteResourcePolicyCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteResourcePolicyCommand.d.ts deleted file mode 100644 index cb818421..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteResourcePolicyCommand.d.ts +++ /dev/null @@ -1,145 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DeleteResourcePolicyInput, DeleteResourcePolicyOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteResourcePolicyCommand}. - */ -export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyInput { -} -/** - * @public - * - * The output of {@link DeleteResourcePolicyCommand}. - */ -export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyOutput, __MetadataBearer { -} -declare const DeleteResourcePolicyCommand_base: { - new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DeleteResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Deletes the resource-based policy attached to the resource, which can be a table or - * stream.

- *

- * DeleteResourcePolicy is an idempotent operation; running it multiple - * times on the same resource doesn't result in an error response, - * unless you specify an ExpectedRevisionId, which will then return a - * PolicyNotFoundException.

- * - *

To make sure that you don't inadvertently lock yourself out of your own resources, - * the root principal in your Amazon Web Services account can perform - * DeleteResourcePolicy requests, even if your resource-based policy - * explicitly denies the root principal's access.

- *
- * - *

- * DeleteResourcePolicy is an asynchronous operation. If you issue a - * GetResourcePolicy request immediately after running the - * DeleteResourcePolicy request, DynamoDB might still return - * the deleted policy. This is because the policy for your resource might not have been - * deleted yet. Wait for a few seconds, and then try the GetResourcePolicy - * request again.

- *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // DeleteResourcePolicyInput - * ResourceArn: "STRING_VALUE", // required - * ExpectedRevisionId: "STRING_VALUE", - * }; - * const command = new DeleteResourcePolicyCommand(input); - * const response = await client.send(command); - * // { // DeleteResourcePolicyOutput - * // RevisionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param DeleteResourcePolicyCommandInput - {@link DeleteResourcePolicyCommandInput} - * @returns {@link DeleteResourcePolicyCommandOutput} - * @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape. - * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link PolicyNotFoundException} (client fault) - *

The operation tried to access a nonexistent resource-based policy.

- *

If you specified an ExpectedRevisionId, it's possible that a policy is - * present for the resource but its revision ID didn't match the expected value.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example:

- *
    - *
  • - *

    You attempted to recreate an existing table.

    - *
  • - *
  • - *

    You tried to delete a table currently in the CREATING - * state.

    - *
  • - *
  • - *

    You tried to update a resource that was already being updated.

    - *
  • - *
- *

When appropriate, wait for the ongoing update to complete and attempt the request - * again.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DeleteResourcePolicyInput; - output: DeleteResourcePolicyOutput; - }; - sdk: { - input: DeleteResourcePolicyCommandInput; - output: DeleteResourcePolicyCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteTableCommand.d.ts deleted file mode 100644 index 4c87c698..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteTableCommand.d.ts +++ /dev/null @@ -1,339 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DeleteTableInput, DeleteTableOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DeleteTableCommand}. - */ -export interface DeleteTableCommandInput extends DeleteTableInput { -} -/** - * @public - * - * The output of {@link DeleteTableCommand}. - */ -export interface DeleteTableCommandOutput extends DeleteTableOutput, __MetadataBearer { -} -declare const DeleteTableCommand_base: { - new (input: DeleteTableCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DeleteTableCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

The DeleteTable operation deletes a table and all of its items. After a - * DeleteTable request, the specified table is in the - * DELETING state until DynamoDB completes the deletion. If the table is - * in the ACTIVE state, you can delete it. If a table is in - * CREATING or UPDATING states, then DynamoDB returns a - * ResourceInUseException. If the specified table does not exist, DynamoDB - * returns a ResourceNotFoundException. If table is already in the - * DELETING state, no error is returned.

- * - *

DynamoDB might continue to accept data read and write operations, such as - * GetItem and PutItem, on a table in the - * DELETING state until the table deletion is complete. For the full - * list of table states, see TableStatus.

- *
- *

When you delete a table, any indexes on that table are also deleted.

- *

If you have DynamoDB Streams enabled on the table, then the corresponding stream on - * that table goes into the DISABLED state, and the stream is automatically - * deleted after 24 hours.

- *

Use the DescribeTable action to check the status of the table.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DeleteTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DeleteTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // DeleteTableInput - * TableName: "STRING_VALUE", // required - * }; - * const command = new DeleteTableCommand(input); - * const response = await client.send(command); - * // { // DeleteTableOutput - * // TableDescription: { // TableDescription - * // AttributeDefinitions: [ // AttributeDefinitions - * // { // AttributeDefinition - * // AttributeName: "STRING_VALUE", // required - * // AttributeType: "S" || "N" || "B", // required - * // }, - * // ], - * // TableName: "STRING_VALUE", - * // KeySchema: [ // KeySchema - * // { // KeySchemaElement - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // CreationDateTime: new Date("TIMESTAMP"), - * // ProvisionedThroughput: { // ProvisionedThroughputDescription - * // LastIncreaseDateTime: new Date("TIMESTAMP"), - * // LastDecreaseDateTime: new Date("TIMESTAMP"), - * // NumberOfDecreasesToday: Number("long"), - * // ReadCapacityUnits: Number("long"), - * // WriteCapacityUnits: Number("long"), - * // }, - * // TableSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // TableArn: "STRING_VALUE", - * // TableId: "STRING_VALUE", - * // BillingModeSummary: { // BillingModeSummary - * // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * // LastUpdateToPayPerRequestDateTime: new Date("TIMESTAMP"), - * // }, - * // LocalSecondaryIndexes: [ // LocalSecondaryIndexDescriptionList - * // { // LocalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { // Projection - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ // NonKeyAttributeNameList - * // "STRING_VALUE", - * // ], - * // }, - * // IndexSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // IndexArn: "STRING_VALUE", - * // }, - * // ], - * // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexDescriptionList - * // { // GlobalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ - * // "STRING_VALUE", - * // ], - * // }, - * // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // Backfilling: true || false, - * // ProvisionedThroughput: { - * // LastIncreaseDateTime: new Date("TIMESTAMP"), - * // LastDecreaseDateTime: new Date("TIMESTAMP"), - * // NumberOfDecreasesToday: Number("long"), - * // ReadCapacityUnits: Number("long"), - * // WriteCapacityUnits: Number("long"), - * // }, - * // IndexSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // IndexArn: "STRING_VALUE", - * // OnDemandThroughput: { // OnDemandThroughput - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // GlobalSecondaryIndexWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // }, - * // }, - * // ], - * // StreamSpecification: { // StreamSpecification - * // StreamEnabled: true || false, // required - * // StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY", - * // }, - * // LatestStreamLabel: "STRING_VALUE", - * // LatestStreamArn: "STRING_VALUE", - * // GlobalTableVersion: "STRING_VALUE", - * // Replicas: [ // ReplicaDescriptionList - * // { // ReplicaDescription - * // RegionName: "STRING_VALUE", - * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // ReplicaArn: "STRING_VALUE", - * // ReplicaStatusDescription: "STRING_VALUE", - * // ReplicaStatusPercentProgress: "STRING_VALUE", - * // KMSMasterKeyId: "STRING_VALUE", - * // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { // OnDemandThroughputOverride - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // TableWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList - * // { // ReplicaGlobalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // ProvisionedThroughputOverride: { - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // }, - * // }, - * // ], - * // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"), - * // ReplicaTableClassSummary: { // TableClassSummary - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * // }, - * // ], - * // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList - * // { // GlobalTableWitnessDescription - * // RegionName: "STRING_VALUE", - * // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE", - * // }, - * // ], - * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * // RestoreSummary: { // RestoreSummary - * // SourceBackupArn: "STRING_VALUE", - * // SourceTableArn: "STRING_VALUE", - * // RestoreDateTime: new Date("TIMESTAMP"), // required - * // RestoreInProgress: true || false, // required - * // }, - * // SSEDescription: { // SSEDescription - * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING", - * // SSEType: "AES256" || "KMS", - * // KMSMasterKeyArn: "STRING_VALUE", - * // InaccessibleEncryptionDateTime: new Date("TIMESTAMP"), - * // }, - * // ArchivalSummary: { // ArchivalSummary - * // ArchivalDateTime: new Date("TIMESTAMP"), - * // ArchivalReason: "STRING_VALUE", - * // ArchivalBackupArn: "STRING_VALUE", - * // }, - * // TableClassSummary: { - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // DeletionProtectionEnabled: true || false, - * // OnDemandThroughput: { - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // MultiRegionConsistency: "EVENTUAL" || "STRONG", - * // }, - * // }; - * - * ``` - * - * @param DeleteTableCommandInput - {@link DeleteTableCommandInput} - * @returns {@link DeleteTableCommandOutput} - * @see {@link DeleteTableCommandInput} for command's `input` shape. - * @see {@link DeleteTableCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example:

- *
    - *
  • - *

    You attempted to recreate an existing table.

    - *
  • - *
  • - *

    You tried to delete a table currently in the CREATING - * state.

    - *
  • - *
  • - *

    You tried to update a resource that was already being updated.

    - *
  • - *
- *

When appropriate, wait for the ongoing update to complete and attempt the request - * again.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @example To delete a table - * ```javascript - * // This example deletes the Music table. - * const input = { - * TableName: "Music" - * }; - * const command = new DeleteTableCommand(input); - * const response = await client.send(command); - * /* response is - * { - * TableDescription: { - * ItemCount: 0, - * ProvisionedThroughput: { - * NumberOfDecreasesToday: 1, - * ReadCapacityUnits: 5, - * WriteCapacityUnits: 5 - * }, - * TableName: "Music", - * TableSizeBytes: 0, - * TableStatus: "DELETING" - * } - * } - * *\/ - * ``` - * - * @public - */ -export declare class DeleteTableCommand extends DeleteTableCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DeleteTableInput; - output: DeleteTableOutput; - }; - sdk: { - input: DeleteTableCommandInput; - output: DeleteTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeBackupCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeBackupCommand.d.ts deleted file mode 100644 index cf47c040..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeBackupCommand.d.ts +++ /dev/null @@ -1,175 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DescribeBackupInput, DescribeBackupOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeBackupCommand}. - */ -export interface DescribeBackupCommandInput extends DescribeBackupInput { -} -/** - * @public - * - * The output of {@link DescribeBackupCommand}. - */ -export interface DescribeBackupCommandOutput extends DescribeBackupOutput, __MetadataBearer { -} -declare const DescribeBackupCommand_base: { - new (input: DescribeBackupCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DescribeBackupCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Describes an existing backup of a table.

- *

You can call DescribeBackup at a maximum rate of 10 times per - * second.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DescribeBackupCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DescribeBackupCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // DescribeBackupInput - * BackupArn: "STRING_VALUE", // required - * }; - * const command = new DescribeBackupCommand(input); - * const response = await client.send(command); - * // { // DescribeBackupOutput - * // BackupDescription: { // BackupDescription - * // BackupDetails: { // BackupDetails - * // BackupArn: "STRING_VALUE", // required - * // BackupName: "STRING_VALUE", // required - * // BackupSizeBytes: Number("long"), - * // BackupStatus: "CREATING" || "DELETED" || "AVAILABLE", // required - * // BackupType: "USER" || "SYSTEM" || "AWS_BACKUP", // required - * // BackupCreationDateTime: new Date("TIMESTAMP"), // required - * // BackupExpiryDateTime: new Date("TIMESTAMP"), - * // }, - * // SourceTableDetails: { // SourceTableDetails - * // TableName: "STRING_VALUE", // required - * // TableId: "STRING_VALUE", // required - * // TableArn: "STRING_VALUE", - * // TableSizeBytes: Number("long"), - * // KeySchema: [ // KeySchema // required - * // { // KeySchemaElement - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // TableCreationDateTime: new Date("TIMESTAMP"), // required - * // ProvisionedThroughput: { // ProvisionedThroughput - * // ReadCapacityUnits: Number("long"), // required - * // WriteCapacityUnits: Number("long"), // required - * // }, - * // OnDemandThroughput: { // OnDemandThroughput - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // ItemCount: Number("long"), - * // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * // }, - * // SourceTableFeatureDetails: { // SourceTableFeatureDetails - * // LocalSecondaryIndexes: [ // LocalSecondaryIndexes - * // { // LocalSecondaryIndexInfo - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { // Projection - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ // NonKeyAttributeNameList - * // "STRING_VALUE", - * // ], - * // }, - * // }, - * // ], - * // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexes - * // { // GlobalSecondaryIndexInfo - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ - * // "STRING_VALUE", - * // ], - * // }, - * // ProvisionedThroughput: { - * // ReadCapacityUnits: Number("long"), // required - * // WriteCapacityUnits: Number("long"), // required - * // }, - * // OnDemandThroughput: { - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // }, - * // ], - * // StreamDescription: { // StreamSpecification - * // StreamEnabled: true || false, // required - * // StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY", - * // }, - * // TimeToLiveDescription: { // TimeToLiveDescription - * // TimeToLiveStatus: "ENABLING" || "DISABLING" || "ENABLED" || "DISABLED", - * // AttributeName: "STRING_VALUE", - * // }, - * // SSEDescription: { // SSEDescription - * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING", - * // SSEType: "AES256" || "KMS", - * // KMSMasterKeyArn: "STRING_VALUE", - * // InaccessibleEncryptionDateTime: new Date("TIMESTAMP"), - * // }, - * // }, - * // }, - * // }; - * - * ``` - * - * @param DescribeBackupCommandInput - {@link DescribeBackupCommandInput} - * @returns {@link DescribeBackupCommandOutput} - * @see {@link DescribeBackupCommandInput} for command's `input` shape. - * @see {@link DescribeBackupCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link BackupNotFoundException} (client fault) - *

Backup not found for the given BackupARN.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class DescribeBackupCommand extends DescribeBackupCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DescribeBackupInput; - output: DescribeBackupOutput; - }; - sdk: { - input: DescribeBackupCommandInput; - output: DescribeBackupCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContinuousBackupsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContinuousBackupsCommand.d.ts deleted file mode 100644 index 6c8309b7..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +++ /dev/null @@ -1,104 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DescribeContinuousBackupsInput, DescribeContinuousBackupsOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeContinuousBackupsCommand}. - */ -export interface DescribeContinuousBackupsCommandInput extends DescribeContinuousBackupsInput { -} -/** - * @public - * - * The output of {@link DescribeContinuousBackupsCommand}. - */ -export interface DescribeContinuousBackupsCommandOutput extends DescribeContinuousBackupsOutput, __MetadataBearer { -} -declare const DescribeContinuousBackupsCommand_base: { - new (input: DescribeContinuousBackupsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DescribeContinuousBackupsCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Checks the status of continuous backups and point in time recovery on the specified - * table. Continuous backups are ENABLED on all tables at table creation. If - * point in time recovery is enabled, PointInTimeRecoveryStatus will be set to - * ENABLED.

- *

After continuous backups and point in time recovery are enabled, you can restore to - * any point in time within EarliestRestorableDateTime and - * LatestRestorableDateTime.

- *

- * LatestRestorableDateTime is typically 5 minutes before the current time. - * You can restore your table to any point in time in the last 35 days. You can set the - * recovery period to any value between 1 and 35 days.

- *

You can call DescribeContinuousBackups at a maximum rate of 10 times per - * second.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DescribeContinuousBackupsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DescribeContinuousBackupsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // DescribeContinuousBackupsInput - * TableName: "STRING_VALUE", // required - * }; - * const command = new DescribeContinuousBackupsCommand(input); - * const response = await client.send(command); - * // { // DescribeContinuousBackupsOutput - * // ContinuousBackupsDescription: { // ContinuousBackupsDescription - * // ContinuousBackupsStatus: "ENABLED" || "DISABLED", // required - * // PointInTimeRecoveryDescription: { // PointInTimeRecoveryDescription - * // PointInTimeRecoveryStatus: "ENABLED" || "DISABLED", - * // RecoveryPeriodInDays: Number("int"), - * // EarliestRestorableDateTime: new Date("TIMESTAMP"), - * // LatestRestorableDateTime: new Date("TIMESTAMP"), - * // }, - * // }, - * // }; - * - * ``` - * - * @param DescribeContinuousBackupsCommandInput - {@link DescribeContinuousBackupsCommandInput} - * @returns {@link DescribeContinuousBackupsCommandOutput} - * @see {@link DescribeContinuousBackupsCommandInput} for command's `input` shape. - * @see {@link DescribeContinuousBackupsCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link TableNotFoundException} (client fault) - *

A source table with the name TableName does not currently exist within - * the subscriber's account or the subscriber is operating in the wrong Amazon Web Services - * Region.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class DescribeContinuousBackupsCommand extends DescribeContinuousBackupsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DescribeContinuousBackupsInput; - output: DescribeContinuousBackupsOutput; - }; - sdk: { - input: DescribeContinuousBackupsCommandInput; - output: DescribeContinuousBackupsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContributorInsightsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContributorInsightsCommand.d.ts deleted file mode 100644 index d394c611..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContributorInsightsCommand.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DescribeContributorInsightsInput, DescribeContributorInsightsOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeContributorInsightsCommand}. - */ -export interface DescribeContributorInsightsCommandInput extends DescribeContributorInsightsInput { -} -/** - * @public - * - * The output of {@link DescribeContributorInsightsCommand}. - */ -export interface DescribeContributorInsightsCommandOutput extends DescribeContributorInsightsOutput, __MetadataBearer { -} -declare const DescribeContributorInsightsCommand_base: { - new (input: DescribeContributorInsightsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DescribeContributorInsightsCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Returns information about contributor insights for a given table or global secondary - * index.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DescribeContributorInsightsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DescribeContributorInsightsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // DescribeContributorInsightsInput - * TableName: "STRING_VALUE", // required - * IndexName: "STRING_VALUE", - * }; - * const command = new DescribeContributorInsightsCommand(input); - * const response = await client.send(command); - * // { // DescribeContributorInsightsOutput - * // TableName: "STRING_VALUE", - * // IndexName: "STRING_VALUE", - * // ContributorInsightsRuleList: [ // ContributorInsightsRuleList - * // "STRING_VALUE", - * // ], - * // ContributorInsightsStatus: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "FAILED", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // FailureException: { // FailureException - * // ExceptionName: "STRING_VALUE", - * // ExceptionDescription: "STRING_VALUE", - * // }, - * // ContributorInsightsMode: "ACCESSED_AND_THROTTLED_KEYS" || "THROTTLED_KEYS", - * // }; - * - * ``` - * - * @param DescribeContributorInsightsCommandInput - {@link DescribeContributorInsightsCommandInput} - * @returns {@link DescribeContributorInsightsCommandOutput} - * @see {@link DescribeContributorInsightsCommandInput} for command's `input` shape. - * @see {@link DescribeContributorInsightsCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class DescribeContributorInsightsCommand extends DescribeContributorInsightsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DescribeContributorInsightsInput; - output: DescribeContributorInsightsOutput; - }; - sdk: { - input: DescribeContributorInsightsCommandInput; - output: DescribeContributorInsightsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeEndpointsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeEndpointsCommand.d.ts deleted file mode 100644 index 2ba4e48e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeEndpointsCommand.d.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DescribeEndpointsRequest, DescribeEndpointsResponse } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeEndpointsCommand}. - */ -export interface DescribeEndpointsCommandInput extends DescribeEndpointsRequest { -} -/** - * @public - * - * The output of {@link DescribeEndpointsCommand}. - */ -export interface DescribeEndpointsCommandOutput extends DescribeEndpointsResponse, __MetadataBearer { -} -declare const DescribeEndpointsCommand_base: { - new (input: DescribeEndpointsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (...[input]: [] | [DescribeEndpointsCommandInput]): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Returns the regional endpoint information. For more information on policy permissions, - * please see Internetwork traffic privacy.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DescribeEndpointsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DescribeEndpointsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = {}; - * const command = new DescribeEndpointsCommand(input); - * const response = await client.send(command); - * // { // DescribeEndpointsResponse - * // Endpoints: [ // Endpoints // required - * // { // Endpoint - * // Address: "STRING_VALUE", // required - * // CachePeriodInMinutes: Number("long"), // required - * // }, - * // ], - * // }; - * - * ``` - * - * @param DescribeEndpointsCommandInput - {@link DescribeEndpointsCommandInput} - * @returns {@link DescribeEndpointsCommandOutput} - * @see {@link DescribeEndpointsCommandInput} for command's `input` shape. - * @see {@link DescribeEndpointsCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class DescribeEndpointsCommand extends DescribeEndpointsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: {}; - output: DescribeEndpointsResponse; - }; - sdk: { - input: DescribeEndpointsCommandInput; - output: DescribeEndpointsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeExportCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeExportCommand.d.ts deleted file mode 100644 index 3649fbb3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeExportCommand.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DescribeExportInput, DescribeExportOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeExportCommand}. - */ -export interface DescribeExportCommandInput extends DescribeExportInput { -} -/** - * @public - * - * The output of {@link DescribeExportCommand}. - */ -export interface DescribeExportCommandOutput extends DescribeExportOutput, __MetadataBearer { -} -declare const DescribeExportCommand_base: { - new (input: DescribeExportCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DescribeExportCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Describes an existing table export.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DescribeExportCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DescribeExportCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // DescribeExportInput - * ExportArn: "STRING_VALUE", // required - * }; - * const command = new DescribeExportCommand(input); - * const response = await client.send(command); - * // { // DescribeExportOutput - * // ExportDescription: { // ExportDescription - * // ExportArn: "STRING_VALUE", - * // ExportStatus: "IN_PROGRESS" || "COMPLETED" || "FAILED", - * // StartTime: new Date("TIMESTAMP"), - * // EndTime: new Date("TIMESTAMP"), - * // ExportManifest: "STRING_VALUE", - * // TableArn: "STRING_VALUE", - * // TableId: "STRING_VALUE", - * // ExportTime: new Date("TIMESTAMP"), - * // ClientToken: "STRING_VALUE", - * // S3Bucket: "STRING_VALUE", - * // S3BucketOwner: "STRING_VALUE", - * // S3Prefix: "STRING_VALUE", - * // S3SseAlgorithm: "AES256" || "KMS", - * // S3SseKmsKeyId: "STRING_VALUE", - * // FailureCode: "STRING_VALUE", - * // FailureMessage: "STRING_VALUE", - * // ExportFormat: "DYNAMODB_JSON" || "ION", - * // BilledSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // ExportType: "FULL_EXPORT" || "INCREMENTAL_EXPORT", - * // IncrementalExportSpecification: { // IncrementalExportSpecification - * // ExportFromTime: new Date("TIMESTAMP"), - * // ExportToTime: new Date("TIMESTAMP"), - * // ExportViewType: "NEW_IMAGE" || "NEW_AND_OLD_IMAGES", - * // }, - * // }, - * // }; - * - * ``` - * - * @param DescribeExportCommandInput - {@link DescribeExportCommandInput} - * @returns {@link DescribeExportCommandOutput} - * @see {@link DescribeExportCommandInput} for command's `input` shape. - * @see {@link DescribeExportCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link ExportNotFoundException} (client fault) - *

The specified export was not found.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class DescribeExportCommand extends DescribeExportCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DescribeExportInput; - output: DescribeExportOutput; - }; - sdk: { - input: DescribeExportCommandInput; - output: DescribeExportCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableCommand.d.ts deleted file mode 100644 index df309245..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableCommand.d.ts +++ /dev/null @@ -1,134 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DescribeGlobalTableInput, DescribeGlobalTableOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeGlobalTableCommand}. - */ -export interface DescribeGlobalTableCommandInput extends DescribeGlobalTableInput { -} -/** - * @public - * - * The output of {@link DescribeGlobalTableCommand}. - */ -export interface DescribeGlobalTableCommandOutput extends DescribeGlobalTableOutput, __MetadataBearer { -} -declare const DescribeGlobalTableCommand_base: { - new (input: DescribeGlobalTableCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DescribeGlobalTableCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Returns information about the specified global table.

- * - *

This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy).

- *

To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.

- *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DescribeGlobalTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DescribeGlobalTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // DescribeGlobalTableInput - * GlobalTableName: "STRING_VALUE", // required - * }; - * const command = new DescribeGlobalTableCommand(input); - * const response = await client.send(command); - * // { // DescribeGlobalTableOutput - * // GlobalTableDescription: { // GlobalTableDescription - * // ReplicationGroup: [ // ReplicaDescriptionList - * // { // ReplicaDescription - * // RegionName: "STRING_VALUE", - * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // ReplicaArn: "STRING_VALUE", - * // ReplicaStatusDescription: "STRING_VALUE", - * // ReplicaStatusPercentProgress: "STRING_VALUE", - * // KMSMasterKeyId: "STRING_VALUE", - * // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { // OnDemandThroughputOverride - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // TableWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList - * // { // ReplicaGlobalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // ProvisionedThroughputOverride: { - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // GlobalSecondaryIndexWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // }, - * // }, - * // ], - * // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"), - * // ReplicaTableClassSummary: { // TableClassSummary - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * // }, - * // ], - * // GlobalTableArn: "STRING_VALUE", - * // CreationDateTime: new Date("TIMESTAMP"), - * // GlobalTableStatus: "CREATING" || "ACTIVE" || "DELETING" || "UPDATING", - * // GlobalTableName: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param DescribeGlobalTableCommandInput - {@link DescribeGlobalTableCommandInput} - * @returns {@link DescribeGlobalTableCommandOutput} - * @see {@link DescribeGlobalTableCommandInput} for command's `input` shape. - * @see {@link DescribeGlobalTableCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link GlobalTableNotFoundException} (client fault) - *

The specified global table does not exist.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class DescribeGlobalTableCommand extends DescribeGlobalTableCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DescribeGlobalTableInput; - output: DescribeGlobalTableOutput; - }; - sdk: { - input: DescribeGlobalTableCommandInput; - output: DescribeGlobalTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts deleted file mode 100644 index e8a7aee8..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +++ /dev/null @@ -1,178 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DescribeGlobalTableSettingsInput, DescribeGlobalTableSettingsOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeGlobalTableSettingsCommand}. - */ -export interface DescribeGlobalTableSettingsCommandInput extends DescribeGlobalTableSettingsInput { -} -/** - * @public - * - * The output of {@link DescribeGlobalTableSettingsCommand}. - */ -export interface DescribeGlobalTableSettingsCommandOutput extends DescribeGlobalTableSettingsOutput, __MetadataBearer { -} -declare const DescribeGlobalTableSettingsCommand_base: { - new (input: DescribeGlobalTableSettingsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DescribeGlobalTableSettingsCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Describes Region-specific settings for a global table.

- * - *

This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy).

- *

To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.

- *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DescribeGlobalTableSettingsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DescribeGlobalTableSettingsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // DescribeGlobalTableSettingsInput - * GlobalTableName: "STRING_VALUE", // required - * }; - * const command = new DescribeGlobalTableSettingsCommand(input); - * const response = await client.send(command); - * // { // DescribeGlobalTableSettingsOutput - * // GlobalTableName: "STRING_VALUE", - * // ReplicaSettings: [ // ReplicaSettingsDescriptionList - * // { // ReplicaSettingsDescription - * // RegionName: "STRING_VALUE", // required - * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // ReplicaBillingModeSummary: { // BillingModeSummary - * // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * // LastUpdateToPayPerRequestDateTime: new Date("TIMESTAMP"), - * // }, - * // ReplicaProvisionedReadCapacityUnits: Number("long"), - * // ReplicaProvisionedReadCapacityAutoScalingSettings: { // AutoScalingSettingsDescription - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ // AutoScalingPolicyDescriptionList - * // { // AutoScalingPolicyDescription - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { // AutoScalingTargetTrackingScalingPolicyConfigurationDescription - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // ReplicaProvisionedWriteCapacityUnits: Number("long"), - * // ReplicaProvisionedWriteCapacityAutoScalingSettings: { - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ - * // { - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // ReplicaGlobalSecondaryIndexSettings: [ // ReplicaGlobalSecondaryIndexSettingsDescriptionList - * // { // ReplicaGlobalSecondaryIndexSettingsDescription - * // IndexName: "STRING_VALUE", // required - * // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // ProvisionedReadCapacityUnits: Number("long"), - * // ProvisionedReadCapacityAutoScalingSettings: { - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ - * // { - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // ProvisionedWriteCapacityUnits: Number("long"), - * // ProvisionedWriteCapacityAutoScalingSettings: { - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ - * // { - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // }, - * // ], - * // ReplicaTableClassSummary: { // TableClassSummary - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param DescribeGlobalTableSettingsCommandInput - {@link DescribeGlobalTableSettingsCommandInput} - * @returns {@link DescribeGlobalTableSettingsCommandOutput} - * @see {@link DescribeGlobalTableSettingsCommandInput} for command's `input` shape. - * @see {@link DescribeGlobalTableSettingsCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link GlobalTableNotFoundException} (client fault) - *

The specified global table does not exist.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class DescribeGlobalTableSettingsCommand extends DescribeGlobalTableSettingsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DescribeGlobalTableSettingsInput; - output: DescribeGlobalTableSettingsOutput; - }; - sdk: { - input: DescribeGlobalTableSettingsCommandInput; - output: DescribeGlobalTableSettingsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeImportCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeImportCommand.d.ts deleted file mode 100644 index 76768635..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeImportCommand.d.ts +++ /dev/null @@ -1,165 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DescribeImportInput, DescribeImportOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeImportCommand}. - */ -export interface DescribeImportCommandInput extends DescribeImportInput { -} -/** - * @public - * - * The output of {@link DescribeImportCommand}. - */ -export interface DescribeImportCommandOutput extends DescribeImportOutput, __MetadataBearer { -} -declare const DescribeImportCommand_base: { - new (input: DescribeImportCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DescribeImportCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Represents the properties of the import.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DescribeImportCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DescribeImportCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // DescribeImportInput - * ImportArn: "STRING_VALUE", // required - * }; - * const command = new DescribeImportCommand(input); - * const response = await client.send(command); - * // { // DescribeImportOutput - * // ImportTableDescription: { // ImportTableDescription - * // ImportArn: "STRING_VALUE", - * // ImportStatus: "IN_PROGRESS" || "COMPLETED" || "CANCELLING" || "CANCELLED" || "FAILED", - * // TableArn: "STRING_VALUE", - * // TableId: "STRING_VALUE", - * // ClientToken: "STRING_VALUE", - * // S3BucketSource: { // S3BucketSource - * // S3BucketOwner: "STRING_VALUE", - * // S3Bucket: "STRING_VALUE", // required - * // S3KeyPrefix: "STRING_VALUE", - * // }, - * // ErrorCount: Number("long"), - * // CloudWatchLogGroupArn: "STRING_VALUE", - * // InputFormat: "DYNAMODB_JSON" || "ION" || "CSV", - * // InputFormatOptions: { // InputFormatOptions - * // Csv: { // CsvOptions - * // Delimiter: "STRING_VALUE", - * // HeaderList: [ // CsvHeaderList - * // "STRING_VALUE", - * // ], - * // }, - * // }, - * // InputCompressionType: "GZIP" || "ZSTD" || "NONE", - * // TableCreationParameters: { // TableCreationParameters - * // TableName: "STRING_VALUE", // required - * // AttributeDefinitions: [ // AttributeDefinitions // required - * // { // AttributeDefinition - * // AttributeName: "STRING_VALUE", // required - * // AttributeType: "S" || "N" || "B", // required - * // }, - * // ], - * // KeySchema: [ // KeySchema // required - * // { // KeySchemaElement - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * // ProvisionedThroughput: { // ProvisionedThroughput - * // ReadCapacityUnits: Number("long"), // required - * // WriteCapacityUnits: Number("long"), // required - * // }, - * // OnDemandThroughput: { // OnDemandThroughput - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // SSESpecification: { // SSESpecification - * // Enabled: true || false, - * // SSEType: "AES256" || "KMS", - * // KMSMasterKeyId: "STRING_VALUE", - * // }, - * // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexList - * // { // GlobalSecondaryIndex - * // IndexName: "STRING_VALUE", // required - * // KeySchema: [ // required - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { // Projection - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ // NonKeyAttributeNameList - * // "STRING_VALUE", - * // ], - * // }, - * // ProvisionedThroughput: { - * // ReadCapacityUnits: Number("long"), // required - * // WriteCapacityUnits: Number("long"), // required - * // }, - * // OnDemandThroughput: { - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // WarmThroughput - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // }, - * // }, - * // ], - * // }, - * // StartTime: new Date("TIMESTAMP"), - * // EndTime: new Date("TIMESTAMP"), - * // ProcessedSizeBytes: Number("long"), - * // ProcessedItemCount: Number("long"), - * // ImportedItemCount: Number("long"), - * // FailureCode: "STRING_VALUE", - * // FailureMessage: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param DescribeImportCommandInput - {@link DescribeImportCommandInput} - * @returns {@link DescribeImportCommandOutput} - * @see {@link DescribeImportCommandInput} for command's `input` shape. - * @see {@link DescribeImportCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link ImportNotFoundException} (client fault) - *

The specified import was not found.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class DescribeImportCommand extends DescribeImportCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DescribeImportInput; - output: DescribeImportOutput; - }; - sdk: { - input: DescribeImportCommandInput; - output: DescribeImportCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts deleted file mode 100644 index bf225d61..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +++ /dev/null @@ -1,91 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DescribeKinesisStreamingDestinationInput, DescribeKinesisStreamingDestinationOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeKinesisStreamingDestinationCommand}. - */ -export interface DescribeKinesisStreamingDestinationCommandInput extends DescribeKinesisStreamingDestinationInput { -} -/** - * @public - * - * The output of {@link DescribeKinesisStreamingDestinationCommand}. - */ -export interface DescribeKinesisStreamingDestinationCommandOutput extends DescribeKinesisStreamingDestinationOutput, __MetadataBearer { -} -declare const DescribeKinesisStreamingDestinationCommand_base: { - new (input: DescribeKinesisStreamingDestinationCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DescribeKinesisStreamingDestinationCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Returns information about the status of Kinesis streaming.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DescribeKinesisStreamingDestinationCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DescribeKinesisStreamingDestinationCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // DescribeKinesisStreamingDestinationInput - * TableName: "STRING_VALUE", // required - * }; - * const command = new DescribeKinesisStreamingDestinationCommand(input); - * const response = await client.send(command); - * // { // DescribeKinesisStreamingDestinationOutput - * // TableName: "STRING_VALUE", - * // KinesisDataStreamDestinations: [ // KinesisDataStreamDestinations - * // { // KinesisDataStreamDestination - * // StreamArn: "STRING_VALUE", - * // DestinationStatus: "ENABLING" || "ACTIVE" || "DISABLING" || "DISABLED" || "ENABLE_FAILED" || "UPDATING", - * // DestinationStatusDescription: "STRING_VALUE", - * // ApproximateCreationDateTimePrecision: "MILLISECOND" || "MICROSECOND", - * // }, - * // ], - * // }; - * - * ``` - * - * @param DescribeKinesisStreamingDestinationCommandInput - {@link DescribeKinesisStreamingDestinationCommandInput} - * @returns {@link DescribeKinesisStreamingDestinationCommandOutput} - * @see {@link DescribeKinesisStreamingDestinationCommandInput} for command's `input` shape. - * @see {@link DescribeKinesisStreamingDestinationCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class DescribeKinesisStreamingDestinationCommand extends DescribeKinesisStreamingDestinationCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DescribeKinesisStreamingDestinationInput; - output: DescribeKinesisStreamingDestinationOutput; - }; - sdk: { - input: DescribeKinesisStreamingDestinationCommandInput; - output: DescribeKinesisStreamingDestinationCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeLimitsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeLimitsCommand.d.ts deleted file mode 100644 index c899ac56..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeLimitsCommand.d.ts +++ /dev/null @@ -1,165 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DescribeLimitsInput, DescribeLimitsOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeLimitsCommand}. - */ -export interface DescribeLimitsCommandInput extends DescribeLimitsInput { -} -/** - * @public - * - * The output of {@link DescribeLimitsCommand}. - */ -export interface DescribeLimitsCommandOutput extends DescribeLimitsOutput, __MetadataBearer { -} -declare const DescribeLimitsCommand_base: { - new (input: DescribeLimitsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (...[input]: [] | [DescribeLimitsCommandInput]): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Returns the current provisioned-capacity quotas for your Amazon Web Services account in - * a Region, both for the Region as a whole and for any one DynamoDB table that you create - * there.

- *

When you establish an Amazon Web Services account, the account has initial quotas on - * the maximum read capacity units and write capacity units that you can provision across - * all of your DynamoDB tables in a given Region. Also, there are per-table - * quotas that apply when you create a table there. For more information, see Service, - * Account, and Table Quotas page in the Amazon DynamoDB - * Developer Guide.

- *

Although you can increase these quotas by filing a case at Amazon Web Services Support Center, obtaining the - * increase is not instantaneous. The DescribeLimits action lets you write - * code to compare the capacity you are currently using to those quotas imposed by your - * account so that you have enough time to apply for an increase before you hit a - * quota.

- *

For example, you could use one of the Amazon Web Services SDKs to do the - * following:

- *
    - *
  1. - *

    Call DescribeLimits for a particular Region to obtain your - * current account quotas on provisioned capacity there.

    - *
  2. - *
  3. - *

    Create a variable to hold the aggregate read capacity units provisioned for - * all your tables in that Region, and one to hold the aggregate write capacity - * units. Zero them both.

    - *
  4. - *
  5. - *

    Call ListTables to obtain a list of all your DynamoDB - * tables.

    - *
  6. - *
  7. - *

    For each table name listed by ListTables, do the - * following:

    - *
      - *
    • - *

      Call DescribeTable with the table name.

      - *
    • - *
    • - *

      Use the data returned by DescribeTable to add the read - * capacity units and write capacity units provisioned for the table itself - * to your variables.

      - *
    • - *
    • - *

      If the table has one or more global secondary indexes (GSIs), loop - * over these GSIs and add their provisioned capacity values to your - * variables as well.

      - *
    • - *
    - *
  8. - *
  9. - *

    Report the account quotas for that Region returned by - * DescribeLimits, along with the total current provisioned - * capacity levels you have calculated.

    - *
  10. - *
- *

This will let you see whether you are getting close to your account-level - * quotas.

- *

The per-table quotas apply only when you are creating a new table. They restrict the - * sum of the provisioned capacity of the new table itself and all its global secondary - * indexes.

- *

For existing tables and their GSIs, DynamoDB doesn't let you increase provisioned - * capacity extremely rapidly, but the only quota that applies is that the aggregate - * provisioned capacity over all your tables and GSIs cannot exceed either of the - * per-account quotas.

- * - *

- * DescribeLimits should only be called periodically. You can expect - * throttling errors if you call it more than once in a minute.

- *
- *

The DescribeLimits Request element has no content.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DescribeLimitsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DescribeLimitsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = {}; - * const command = new DescribeLimitsCommand(input); - * const response = await client.send(command); - * // { // DescribeLimitsOutput - * // AccountMaxReadCapacityUnits: Number("long"), - * // AccountMaxWriteCapacityUnits: Number("long"), - * // TableMaxReadCapacityUnits: Number("long"), - * // TableMaxWriteCapacityUnits: Number("long"), - * // }; - * - * ``` - * - * @param DescribeLimitsCommandInput - {@link DescribeLimitsCommandInput} - * @returns {@link DescribeLimitsCommandOutput} - * @see {@link DescribeLimitsCommandInput} for command's `input` shape. - * @see {@link DescribeLimitsCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @example To determine capacity limits per table and account, in the current AWS region - * ```javascript - * // The following example returns the maximum read and write capacity units per table, and for the AWS account, in the current AWS region. - * const input = { /* empty *\/ }; - * const command = new DescribeLimitsCommand(input); - * const response = await client.send(command); - * /* response is - * { - * AccountMaxReadCapacityUnits: 20000, - * AccountMaxWriteCapacityUnits: 20000, - * TableMaxReadCapacityUnits: 10000, - * TableMaxWriteCapacityUnits: 10000 - * } - * *\/ - * ``` - * - * @public - */ -export declare class DescribeLimitsCommand extends DescribeLimitsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: {}; - output: DescribeLimitsOutput; - }; - sdk: { - input: DescribeLimitsCommandInput; - output: DescribeLimitsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableCommand.d.ts deleted file mode 100644 index 3ad29b4d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableCommand.d.ts +++ /dev/null @@ -1,270 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DescribeTableInput, DescribeTableOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeTableCommand}. - */ -export interface DescribeTableCommandInput extends DescribeTableInput { -} -/** - * @public - * - * The output of {@link DescribeTableCommand}. - */ -export interface DescribeTableCommandOutput extends DescribeTableOutput, __MetadataBearer { -} -declare const DescribeTableCommand_base: { - new (input: DescribeTableCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DescribeTableCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Returns information about the table, including the current status of the table, when - * it was created, the primary key schema, and any indexes on the table.

- * - *

If you issue a DescribeTable request immediately after a - * CreateTable request, DynamoDB might return a - * ResourceNotFoundException. This is because - * DescribeTable uses an eventually consistent query, and the metadata - * for your table might not be available at that moment. Wait for a few seconds, and - * then try the DescribeTable request again.

- *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DescribeTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DescribeTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // DescribeTableInput - * TableName: "STRING_VALUE", // required - * }; - * const command = new DescribeTableCommand(input); - * const response = await client.send(command); - * // { // DescribeTableOutput - * // Table: { // TableDescription - * // AttributeDefinitions: [ // AttributeDefinitions - * // { // AttributeDefinition - * // AttributeName: "STRING_VALUE", // required - * // AttributeType: "S" || "N" || "B", // required - * // }, - * // ], - * // TableName: "STRING_VALUE", - * // KeySchema: [ // KeySchema - * // { // KeySchemaElement - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // CreationDateTime: new Date("TIMESTAMP"), - * // ProvisionedThroughput: { // ProvisionedThroughputDescription - * // LastIncreaseDateTime: new Date("TIMESTAMP"), - * // LastDecreaseDateTime: new Date("TIMESTAMP"), - * // NumberOfDecreasesToday: Number("long"), - * // ReadCapacityUnits: Number("long"), - * // WriteCapacityUnits: Number("long"), - * // }, - * // TableSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // TableArn: "STRING_VALUE", - * // TableId: "STRING_VALUE", - * // BillingModeSummary: { // BillingModeSummary - * // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * // LastUpdateToPayPerRequestDateTime: new Date("TIMESTAMP"), - * // }, - * // LocalSecondaryIndexes: [ // LocalSecondaryIndexDescriptionList - * // { // LocalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { // Projection - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ // NonKeyAttributeNameList - * // "STRING_VALUE", - * // ], - * // }, - * // IndexSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // IndexArn: "STRING_VALUE", - * // }, - * // ], - * // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexDescriptionList - * // { // GlobalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ - * // "STRING_VALUE", - * // ], - * // }, - * // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // Backfilling: true || false, - * // ProvisionedThroughput: { - * // LastIncreaseDateTime: new Date("TIMESTAMP"), - * // LastDecreaseDateTime: new Date("TIMESTAMP"), - * // NumberOfDecreasesToday: Number("long"), - * // ReadCapacityUnits: Number("long"), - * // WriteCapacityUnits: Number("long"), - * // }, - * // IndexSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // IndexArn: "STRING_VALUE", - * // OnDemandThroughput: { // OnDemandThroughput - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // GlobalSecondaryIndexWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // }, - * // }, - * // ], - * // StreamSpecification: { // StreamSpecification - * // StreamEnabled: true || false, // required - * // StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY", - * // }, - * // LatestStreamLabel: "STRING_VALUE", - * // LatestStreamArn: "STRING_VALUE", - * // GlobalTableVersion: "STRING_VALUE", - * // Replicas: [ // ReplicaDescriptionList - * // { // ReplicaDescription - * // RegionName: "STRING_VALUE", - * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // ReplicaArn: "STRING_VALUE", - * // ReplicaStatusDescription: "STRING_VALUE", - * // ReplicaStatusPercentProgress: "STRING_VALUE", - * // KMSMasterKeyId: "STRING_VALUE", - * // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { // OnDemandThroughputOverride - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // TableWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList - * // { // ReplicaGlobalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // ProvisionedThroughputOverride: { - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // }, - * // }, - * // ], - * // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"), - * // ReplicaTableClassSummary: { // TableClassSummary - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * // }, - * // ], - * // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList - * // { // GlobalTableWitnessDescription - * // RegionName: "STRING_VALUE", - * // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE", - * // }, - * // ], - * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * // RestoreSummary: { // RestoreSummary - * // SourceBackupArn: "STRING_VALUE", - * // SourceTableArn: "STRING_VALUE", - * // RestoreDateTime: new Date("TIMESTAMP"), // required - * // RestoreInProgress: true || false, // required - * // }, - * // SSEDescription: { // SSEDescription - * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING", - * // SSEType: "AES256" || "KMS", - * // KMSMasterKeyArn: "STRING_VALUE", - * // InaccessibleEncryptionDateTime: new Date("TIMESTAMP"), - * // }, - * // ArchivalSummary: { // ArchivalSummary - * // ArchivalDateTime: new Date("TIMESTAMP"), - * // ArchivalReason: "STRING_VALUE", - * // ArchivalBackupArn: "STRING_VALUE", - * // }, - * // TableClassSummary: { - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // DeletionProtectionEnabled: true || false, - * // OnDemandThroughput: { - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // MultiRegionConsistency: "EVENTUAL" || "STRONG", - * // }, - * // }; - * - * ``` - * - * @param DescribeTableCommandInput - {@link DescribeTableCommandInput} - * @returns {@link DescribeTableCommandOutput} - * @see {@link DescribeTableCommandInput} for command's `input` shape. - * @see {@link DescribeTableCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class DescribeTableCommand extends DescribeTableCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DescribeTableInput; - output: DescribeTableOutput; - }; - sdk: { - input: DescribeTableCommandInput; - output: DescribeTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts deleted file mode 100644 index 42c15887..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +++ /dev/null @@ -1,164 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DescribeTableReplicaAutoScalingInput, DescribeTableReplicaAutoScalingOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeTableReplicaAutoScalingCommand}. - */ -export interface DescribeTableReplicaAutoScalingCommandInput extends DescribeTableReplicaAutoScalingInput { -} -/** - * @public - * - * The output of {@link DescribeTableReplicaAutoScalingCommand}. - */ -export interface DescribeTableReplicaAutoScalingCommandOutput extends DescribeTableReplicaAutoScalingOutput, __MetadataBearer { -} -declare const DescribeTableReplicaAutoScalingCommand_base: { - new (input: DescribeTableReplicaAutoScalingCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DescribeTableReplicaAutoScalingCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Describes auto scaling settings across replicas of the global table at once.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DescribeTableReplicaAutoScalingCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DescribeTableReplicaAutoScalingCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // DescribeTableReplicaAutoScalingInput - * TableName: "STRING_VALUE", // required - * }; - * const command = new DescribeTableReplicaAutoScalingCommand(input); - * const response = await client.send(command); - * // { // DescribeTableReplicaAutoScalingOutput - * // TableAutoScalingDescription: { // TableAutoScalingDescription - * // TableName: "STRING_VALUE", - * // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // Replicas: [ // ReplicaAutoScalingDescriptionList - * // { // ReplicaAutoScalingDescription - * // RegionName: "STRING_VALUE", - * // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexAutoScalingDescriptionList - * // { // ReplicaGlobalSecondaryIndexAutoScalingDescription - * // IndexName: "STRING_VALUE", - * // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // ProvisionedReadCapacityAutoScalingSettings: { // AutoScalingSettingsDescription - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ // AutoScalingPolicyDescriptionList - * // { // AutoScalingPolicyDescription - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { // AutoScalingTargetTrackingScalingPolicyConfigurationDescription - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // ProvisionedWriteCapacityAutoScalingSettings: { - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ - * // { - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // }, - * // ], - * // ReplicaProvisionedReadCapacityAutoScalingSettings: { - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ - * // { - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // ReplicaProvisionedWriteCapacityAutoScalingSettings: { - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ - * // { - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // ], - * // }, - * // }; - * - * ``` - * - * @param DescribeTableReplicaAutoScalingCommandInput - {@link DescribeTableReplicaAutoScalingCommandInput} - * @returns {@link DescribeTableReplicaAutoScalingCommandOutput} - * @see {@link DescribeTableReplicaAutoScalingCommandInput} for command's `input` shape. - * @see {@link DescribeTableReplicaAutoScalingCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class DescribeTableReplicaAutoScalingCommand extends DescribeTableReplicaAutoScalingCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DescribeTableReplicaAutoScalingInput; - output: DescribeTableReplicaAutoScalingOutput; - }; - sdk: { - input: DescribeTableReplicaAutoScalingCommandInput; - output: DescribeTableReplicaAutoScalingCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTimeToLiveCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTimeToLiveCommand.d.ts deleted file mode 100644 index b1a6f664..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTimeToLiveCommand.d.ts +++ /dev/null @@ -1,86 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { DescribeTimeToLiveInput, DescribeTimeToLiveOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DescribeTimeToLiveCommand}. - */ -export interface DescribeTimeToLiveCommandInput extends DescribeTimeToLiveInput { -} -/** - * @public - * - * The output of {@link DescribeTimeToLiveCommand}. - */ -export interface DescribeTimeToLiveCommandOutput extends DescribeTimeToLiveOutput, __MetadataBearer { -} -declare const DescribeTimeToLiveCommand_base: { - new (input: DescribeTimeToLiveCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DescribeTimeToLiveCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Gives a description of the Time to Live (TTL) status on the specified table.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DescribeTimeToLiveCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DescribeTimeToLiveCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // DescribeTimeToLiveInput - * TableName: "STRING_VALUE", // required - * }; - * const command = new DescribeTimeToLiveCommand(input); - * const response = await client.send(command); - * // { // DescribeTimeToLiveOutput - * // TimeToLiveDescription: { // TimeToLiveDescription - * // TimeToLiveStatus: "ENABLING" || "DISABLING" || "ENABLED" || "DISABLED", - * // AttributeName: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param DescribeTimeToLiveCommandInput - {@link DescribeTimeToLiveCommandInput} - * @returns {@link DescribeTimeToLiveCommandOutput} - * @see {@link DescribeTimeToLiveCommandInput} for command's `input` shape. - * @see {@link DescribeTimeToLiveCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class DescribeTimeToLiveCommand extends DescribeTimeToLiveCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: DescribeTimeToLiveInput; - output: DescribeTimeToLiveOutput; - }; - sdk: { - input: DescribeTimeToLiveCommandInput; - output: DescribeTimeToLiveCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts deleted file mode 100644 index 9cb70bd3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +++ /dev/null @@ -1,128 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { KinesisStreamingDestinationInput, KinesisStreamingDestinationOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link DisableKinesisStreamingDestinationCommand}. - */ -export interface DisableKinesisStreamingDestinationCommandInput extends KinesisStreamingDestinationInput { -} -/** - * @public - * - * The output of {@link DisableKinesisStreamingDestinationCommand}. - */ -export interface DisableKinesisStreamingDestinationCommandOutput extends KinesisStreamingDestinationOutput, __MetadataBearer { -} -declare const DisableKinesisStreamingDestinationCommand_base: { - new (input: DisableKinesisStreamingDestinationCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: DisableKinesisStreamingDestinationCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Stops replication from the DynamoDB table to the Kinesis data stream. This - * is done without deleting either of the resources.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, DisableKinesisStreamingDestinationCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, DisableKinesisStreamingDestinationCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // KinesisStreamingDestinationInput - * TableName: "STRING_VALUE", // required - * StreamArn: "STRING_VALUE", // required - * EnableKinesisStreamingConfiguration: { // EnableKinesisStreamingConfiguration - * ApproximateCreationDateTimePrecision: "MILLISECOND" || "MICROSECOND", - * }, - * }; - * const command = new DisableKinesisStreamingDestinationCommand(input); - * const response = await client.send(command); - * // { // KinesisStreamingDestinationOutput - * // TableName: "STRING_VALUE", - * // StreamArn: "STRING_VALUE", - * // DestinationStatus: "ENABLING" || "ACTIVE" || "DISABLING" || "DISABLED" || "ENABLE_FAILED" || "UPDATING", - * // EnableKinesisStreamingConfiguration: { // EnableKinesisStreamingConfiguration - * // ApproximateCreationDateTimePrecision: "MILLISECOND" || "MICROSECOND", - * // }, - * // }; - * - * ``` - * - * @param DisableKinesisStreamingDestinationCommandInput - {@link DisableKinesisStreamingDestinationCommandInput} - * @returns {@link DisableKinesisStreamingDestinationCommandOutput} - * @see {@link DisableKinesisStreamingDestinationCommandInput} for command's `input` shape. - * @see {@link DisableKinesisStreamingDestinationCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example:

- *
    - *
  • - *

    You attempted to recreate an existing table.

    - *
  • - *
  • - *

    You tried to delete a table currently in the CREATING - * state.

    - *
  • - *
  • - *

    You tried to update a resource that was already being updated.

    - *
  • - *
- *

When appropriate, wait for the ongoing update to complete and attempt the request - * again.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class DisableKinesisStreamingDestinationCommand extends DisableKinesisStreamingDestinationCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: KinesisStreamingDestinationInput; - output: KinesisStreamingDestinationOutput; - }; - sdk: { - input: DisableKinesisStreamingDestinationCommandInput; - output: DisableKinesisStreamingDestinationCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts deleted file mode 100644 index 10b8808f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +++ /dev/null @@ -1,130 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { KinesisStreamingDestinationInput, KinesisStreamingDestinationOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link EnableKinesisStreamingDestinationCommand}. - */ -export interface EnableKinesisStreamingDestinationCommandInput extends KinesisStreamingDestinationInput { -} -/** - * @public - * - * The output of {@link EnableKinesisStreamingDestinationCommand}. - */ -export interface EnableKinesisStreamingDestinationCommandOutput extends KinesisStreamingDestinationOutput, __MetadataBearer { -} -declare const EnableKinesisStreamingDestinationCommand_base: { - new (input: EnableKinesisStreamingDestinationCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: EnableKinesisStreamingDestinationCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Starts table data replication to the specified Kinesis data stream at a timestamp - * chosen during the enable workflow. If this operation doesn't return results immediately, - * use DescribeKinesisStreamingDestination to check if streaming to the Kinesis data stream - * is ACTIVE.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, EnableKinesisStreamingDestinationCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, EnableKinesisStreamingDestinationCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // KinesisStreamingDestinationInput - * TableName: "STRING_VALUE", // required - * StreamArn: "STRING_VALUE", // required - * EnableKinesisStreamingConfiguration: { // EnableKinesisStreamingConfiguration - * ApproximateCreationDateTimePrecision: "MILLISECOND" || "MICROSECOND", - * }, - * }; - * const command = new EnableKinesisStreamingDestinationCommand(input); - * const response = await client.send(command); - * // { // KinesisStreamingDestinationOutput - * // TableName: "STRING_VALUE", - * // StreamArn: "STRING_VALUE", - * // DestinationStatus: "ENABLING" || "ACTIVE" || "DISABLING" || "DISABLED" || "ENABLE_FAILED" || "UPDATING", - * // EnableKinesisStreamingConfiguration: { // EnableKinesisStreamingConfiguration - * // ApproximateCreationDateTimePrecision: "MILLISECOND" || "MICROSECOND", - * // }, - * // }; - * - * ``` - * - * @param EnableKinesisStreamingDestinationCommandInput - {@link EnableKinesisStreamingDestinationCommandInput} - * @returns {@link EnableKinesisStreamingDestinationCommandOutput} - * @see {@link EnableKinesisStreamingDestinationCommandInput} for command's `input` shape. - * @see {@link EnableKinesisStreamingDestinationCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example:

- *
    - *
  • - *

    You attempted to recreate an existing table.

    - *
  • - *
  • - *

    You tried to delete a table currently in the CREATING - * state.

    - *
  • - *
  • - *

    You tried to update a resource that was already being updated.

    - *
  • - *
- *

When appropriate, wait for the ongoing update to complete and attempt the request - * again.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class EnableKinesisStreamingDestinationCommand extends EnableKinesisStreamingDestinationCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: KinesisStreamingDestinationInput; - output: KinesisStreamingDestinationOutput; - }; - sdk: { - input: EnableKinesisStreamingDestinationCommandInput; - output: EnableKinesisStreamingDestinationCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteStatementCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteStatementCommand.d.ts deleted file mode 100644 index 4f25f418..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteStatementCommand.d.ts +++ /dev/null @@ -1,251 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { ExecuteStatementInput, ExecuteStatementOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ExecuteStatementCommand}. - */ -export interface ExecuteStatementCommandInput extends ExecuteStatementInput { -} -/** - * @public - * - * The output of {@link ExecuteStatementCommand}. - */ -export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, __MetadataBearer { -} -declare const ExecuteStatementCommand_base: { - new (input: ExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: ExecuteStatementCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

This operation allows you to perform reads and singleton writes on data stored in - * DynamoDB, using PartiQL.

- *

For PartiQL reads (SELECT statement), if the total number of processed - * items exceeds the maximum dataset size limit of 1 MB, the read stops and results are - * returned to the user as a LastEvaluatedKey value to continue the read in a - * subsequent operation. If the filter criteria in WHERE clause does not match - * any data, the read will return an empty result set.

- *

A single SELECT statement response can return up to the maximum number of - * items (if using the Limit parameter) or a maximum of 1 MB of data (and then apply any - * filtering to the results using WHERE clause). If - * LastEvaluatedKey is present in the response, you need to paginate the - * result set. If NextToken is present, you need to paginate the result set - * and include NextToken.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, ExecuteStatementCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, ExecuteStatementCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // ExecuteStatementInput - * Statement: "STRING_VALUE", // required - * Parameters: [ // PreparedStatementParameters - * { // AttributeValue Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ // StringSetAttributeValue - * "STRING_VALUE", - * ], - * NS: [ // NumberSetAttributeValue - * "STRING_VALUE", - * ], - * BS: [ // BinarySetAttributeValue - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { // MapAttributeValue - * "": {// Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ - * "STRING_VALUE", - * ], - * NS: [ - * "STRING_VALUE", - * ], - * BS: [ - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { - * "": "", - * }, - * L: [ // ListAttributeValue - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * L: [ - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * ], - * ConsistentRead: true || false, - * NextToken: "STRING_VALUE", - * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE", - * Limit: Number("int"), - * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE", - * }; - * const command = new ExecuteStatementCommand(input); - * const response = await client.send(command); - * // { // ExecuteStatementOutput - * // Items: [ // ItemList - * // { // AttributeMap - * // "": { // AttributeValue Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ // StringSetAttributeValue - * // "STRING_VALUE", - * // ], - * // NS: [ // NumberSetAttributeValue - * // "STRING_VALUE", - * // ], - * // BS: [ // BinarySetAttributeValue - * // new Uint8Array(), - * // ], - * // M: { // MapAttributeValue - * // "": {// Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ - * // "STRING_VALUE", - * // ], - * // NS: [ - * // "STRING_VALUE", - * // ], - * // BS: [ - * // new Uint8Array(), - * // ], - * // M: { - * // "": "", - * // }, - * // L: [ // ListAttributeValue - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // L: [ - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // ConsumedCapacity: { // ConsumedCapacity - * // TableName: "STRING_VALUE", - * // CapacityUnits: Number("double"), - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // Table: { // Capacity - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // GlobalSecondaryIndexes: { - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // }, - * // LastEvaluatedKey: { // Key - * // "": "", - * // }, - * // }; - * - * ``` - * - * @param ExecuteStatementCommandInput - {@link ExecuteStatementCommandInput} - * @returns {@link ExecuteStatementCommandOutput} - * @see {@link ExecuteStatementCommandInput} for command's `input` shape. - * @see {@link ExecuteStatementCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link ConditionalCheckFailedException} (client fault) - *

A condition specified in the operation failed to be evaluated.

- * - * @throws {@link DuplicateItemException} (client fault) - *

There was an attempt to insert an item with the same primary key as an item that - * already exists in the DynamoDB table.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link ItemCollectionSizeLimitExceededException} (client fault) - *

An item collection is too large. This exception is only returned for tables that - * have one or more local secondary indexes.

- * - * @throws {@link ProvisionedThroughputExceededException} (client fault) - *

The request was denied due to request throttling. For detailed information about - * why the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception. The Amazon Web Services - * SDKs for DynamoDB automatically retry requests that receive this exception. - * Your request is eventually successful, unless your retry queue is too large to finish. - * Reduce the frequency of requests and use exponential backoff. For more information, go - * to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

- * - * @throws {@link RequestLimitExceeded} (client fault) - *

Throughput exceeds the current throughput quota for your account. For detailed - * information about why the request was throttled and the ARN of the impacted resource, - * find the ThrottlingReason field in the returned exception. Contact Amazon Web Services Support to request a quota - * increase.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request was denied due to request throttling. For detailed information about why - * the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception.

- * - * @throws {@link TransactionConflictException} (client fault) - *

Operation was rejected because there is an ongoing transaction for the - * item.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class ExecuteStatementCommand extends ExecuteStatementCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: ExecuteStatementInput; - output: ExecuteStatementOutput; - }; - sdk: { - input: ExecuteStatementCommandInput; - output: ExecuteStatementCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts deleted file mode 100644 index 1eec4db2..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts +++ /dev/null @@ -1,534 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { ExecuteTransactionInput, ExecuteTransactionOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ExecuteTransactionCommand}. - */ -export interface ExecuteTransactionCommandInput extends ExecuteTransactionInput { -} -/** - * @public - * - * The output of {@link ExecuteTransactionCommand}. - */ -export interface ExecuteTransactionCommandOutput extends ExecuteTransactionOutput, __MetadataBearer { -} -declare const ExecuteTransactionCommand_base: { - new (input: ExecuteTransactionCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: ExecuteTransactionCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

This operation allows you to perform transactional reads or writes on data stored in - * DynamoDB, using PartiQL.

- * - *

The entire transaction must consist of either read statements or write statements, - * you cannot mix both in one transaction. The EXISTS function is an exception and can - * be used to check the condition of specific attributes of the item in a similar - * manner to ConditionCheck in the TransactWriteItems API.

- *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, ExecuteTransactionCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // ExecuteTransactionInput - * TransactStatements: [ // ParameterizedStatements // required - * { // ParameterizedStatement - * Statement: "STRING_VALUE", // required - * Parameters: [ // PreparedStatementParameters - * { // AttributeValue Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ // StringSetAttributeValue - * "STRING_VALUE", - * ], - * NS: [ // NumberSetAttributeValue - * "STRING_VALUE", - * ], - * BS: [ // BinarySetAttributeValue - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { // MapAttributeValue - * "": {// Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ - * "STRING_VALUE", - * ], - * NS: [ - * "STRING_VALUE", - * ], - * BS: [ - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { - * "": "", - * }, - * L: [ // ListAttributeValue - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * L: [ - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * ], - * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE", - * }, - * ], - * ClientRequestToken: "STRING_VALUE", - * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE", - * }; - * const command = new ExecuteTransactionCommand(input); - * const response = await client.send(command); - * // { // ExecuteTransactionOutput - * // Responses: [ // ItemResponseList - * // { // ItemResponse - * // Item: { // AttributeMap - * // "": { // AttributeValue Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ // StringSetAttributeValue - * // "STRING_VALUE", - * // ], - * // NS: [ // NumberSetAttributeValue - * // "STRING_VALUE", - * // ], - * // BS: [ // BinarySetAttributeValue - * // new Uint8Array(), - * // ], - * // M: { // MapAttributeValue - * // "": {// Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ - * // "STRING_VALUE", - * // ], - * // NS: [ - * // "STRING_VALUE", - * // ], - * // BS: [ - * // new Uint8Array(), - * // ], - * // M: { - * // "": "", - * // }, - * // L: [ // ListAttributeValue - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // L: [ - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // }, - * // ], - * // ConsumedCapacity: [ // ConsumedCapacityMultiple - * // { // ConsumedCapacity - * // TableName: "STRING_VALUE", - * // CapacityUnits: Number("double"), - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // Table: { // Capacity - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // GlobalSecondaryIndexes: { - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param ExecuteTransactionCommandInput - {@link ExecuteTransactionCommandInput} - * @returns {@link ExecuteTransactionCommandOutput} - * @see {@link ExecuteTransactionCommandInput} for command's `input` shape. - * @see {@link ExecuteTransactionCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link IdempotentParameterMismatchException} (client fault) - *

DynamoDB rejected the request because you retried a request with a - * different payload but with an idempotent token that was already used.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link ProvisionedThroughputExceededException} (client fault) - *

The request was denied due to request throttling. For detailed information about - * why the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception. The Amazon Web Services - * SDKs for DynamoDB automatically retry requests that receive this exception. - * Your request is eventually successful, unless your retry queue is too large to finish. - * Reduce the frequency of requests and use exponential backoff. For more information, go - * to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

- * - * @throws {@link RequestLimitExceeded} (client fault) - *

Throughput exceeds the current throughput quota for your account. For detailed - * information about why the request was throttled and the ARN of the impacted resource, - * find the ThrottlingReason field in the returned exception. Contact Amazon Web Services Support to request a quota - * increase.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request was denied due to request throttling. For detailed information about why - * the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception.

- * - * @throws {@link TransactionCanceledException} (client fault) - *

The entire transaction request was canceled.

- *

DynamoDB cancels a TransactWriteItems request under the following - * circumstances:

- *
    - *
  • - *

    A condition in one of the condition expressions is not met.

    - *
  • - *
  • - *

    A table in the TransactWriteItems request is in a different - * account or region.

    - *
  • - *
  • - *

    More than one action in the TransactWriteItems operation - * targets the same item.

    - *
  • - *
  • - *

    There is insufficient provisioned capacity for the transaction to be - * completed.

    - *
  • - *
  • - *

    An item size becomes too large (larger than 400 KB), or a local secondary - * index (LSI) becomes too large, or a similar validation error occurs because of - * changes made by the transaction.

    - *
  • - *
  • - *

    There is a user error, such as an invalid data format.

    - *
  • - *
  • - *

    There is an ongoing TransactWriteItems operation that - * conflicts with a concurrent TransactWriteItems request. In this - * case the TransactWriteItems operation fails with a - * TransactionCanceledException.

    - *
  • - *
- *

DynamoDB cancels a TransactGetItems request under the - * following circumstances:

- *
    - *
  • - *

    There is an ongoing TransactGetItems operation that conflicts - * with a concurrent PutItem, UpdateItem, - * DeleteItem or TransactWriteItems request. In this - * case the TransactGetItems operation fails with a - * TransactionCanceledException.

    - *
  • - *
  • - *

    A table in the TransactGetItems request is in a different - * account or region.

    - *
  • - *
  • - *

    There is insufficient provisioned capacity for the transaction to be - * completed.

    - *
  • - *
  • - *

    There is a user error, such as an invalid data format.

    - *
  • - *
- * - *

DynamoDB lists the cancellation reasons on the - * CancellationReasons property. Transaction cancellation reasons are ordered in the order of requested - * items, if an item has no error it will have None code and - * Null message.

- *
- *

Cancellation reason codes and possible error messages:

- *
    - *
  • - *

    No Errors:

    - *
      - *
    • - *

      Code: None - *

      - *
    • - *
    • - *

      Message: null - *

      - *
    • - *
    - *
  • - *
  • - *

    Conditional Check Failed:

    - *
      - *
    • - *

      Code: ConditionalCheckFailed - *

      - *
    • - *
    • - *

      Message: The conditional request failed.

      - *
    • - *
    - *
  • - *
  • - *

    Item Collection Size Limit Exceeded:

    - *
      - *
    • - *

      Code: ItemCollectionSizeLimitExceeded - *

      - *
    • - *
    • - *

      Message: Collection size exceeded.

      - *
    • - *
    - *
  • - *
  • - *

    Transaction Conflict:

    - *
      - *
    • - *

      Code: TransactionConflict - *

      - *
    • - *
    • - *

      Message: Transaction is ongoing for the item.

      - *
    • - *
    - *
  • - *
  • - *

    Provisioned Throughput Exceeded:

    - *
      - *
    • - *

      Code: ProvisionedThroughputExceeded - *

      - *
    • - *
    • - *

      Messages:

      - *
        - *
      • - *

        The level of configured provisioned throughput for the - * table was exceeded. Consider increasing your provisioning level - * with the UpdateTable API.

        - * - *

        This Message is received when provisioned throughput is - * exceeded is on a provisioned DynamoDB - * table.

        - *
        - *
      • - *
      • - *

        The level of configured provisioned throughput for one or - * more global secondary indexes of the table was exceeded. - * Consider increasing your provisioning level for the - * under-provisioned global secondary indexes with the UpdateTable - * API.

        - * - *

        This message is returned when provisioned throughput is - * exceeded is on a provisioned GSI.

        - *
        - *
      • - *
      - *
    • - *
    - *
  • - *
  • - *

    Throttling Error:

    - *
      - *
    • - *

      Code: ThrottlingError - *

      - *
    • - *
    • - *

      Messages:

      - *
        - *
      • - *

        Throughput exceeds the current capacity of your table or - * index. DynamoDB is automatically scaling your table or - * index so please try again shortly. If exceptions persist, check - * if you have a hot key: - * https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html.

        - * - *

        This message is returned when writes get throttled on an - * On-Demand table as DynamoDB is automatically - * scaling the table.

        - *
        - *
      • - *
      • - *

        Throughput exceeds the current capacity for one or more - * global secondary indexes. DynamoDB is automatically - * scaling your index so please try again shortly.

        - * - *

        This message is returned when writes get throttled on an - * On-Demand GSI as DynamoDB is automatically scaling - * the GSI.

        - *
        - *
      • - *
      - *
    • - *
    - *
  • - *
  • - *

    Validation Error:

    - *
      - *
    • - *

      Code: ValidationError - *

      - *
    • - *
    • - *

      Messages:

      - *
        - *
      • - *

        One or more parameter values were invalid.

        - *
      • - *
      • - *

        The update expression attempted to update the secondary - * index key beyond allowed size limits.

        - *
      • - *
      • - *

        The update expression attempted to update the secondary - * index key to unsupported type.

        - *
      • - *
      • - *

        An operand in the update expression has an incorrect data - * type.

        - *
      • - *
      • - *

        Item size to update has exceeded the maximum allowed - * size.

        - *
      • - *
      • - *

        Number overflow. Attempting to store a number with - * magnitude larger than supported range.

        - *
      • - *
      • - *

        Type mismatch for attribute to update.

        - *
      • - *
      • - *

        Nesting Levels have exceeded supported limits.

        - *
      • - *
      • - *

        The document path provided in the update expression is - * invalid for update.

        - *
      • - *
      • - *

        The provided expression refers to an attribute that does - * not exist in the item.

        - *
      • - *
      - *
    • - *
    - *
  • - *
- * - * @throws {@link TransactionInProgressException} (client fault) - *

The transaction with the given request token is already in progress.

- *

Recommended Settings

- * - *

This is a general recommendation for handling the - * TransactionInProgressException. These settings help ensure that the - * client retries will trigger completion of the ongoing - * TransactWriteItems request.

- *
- *
    - *
  • - *

    Set clientExecutionTimeout to a value that allows at least one - * retry to be processed after 5 seconds have elapsed since the first attempt for - * the TransactWriteItems operation.

    - *
  • - *
  • - *

    Set socketTimeout to a value a little lower than the - * requestTimeout setting.

    - *
  • - *
  • - *

    - * requestTimeout should be set based on the time taken for the - * individual retries of a single HTTP request for your use case, but setting it to - * 1 second or higher should work well to reduce chances of retries and - * TransactionInProgressException errors.

    - *
  • - *
  • - *

    Use exponential backoff when retrying and tune backoff if needed.

    - *
  • - *
- *

Assuming default retry policy, example timeout settings based on the guidelines - * above are as follows:

- *

Example timeline:

- *
    - *
  • - *

    0-1000 first attempt

    - *
  • - *
  • - *

    1000-1500 first sleep/delay (default retry policy uses 500 ms as base delay - * for 4xx errors)

    - *
  • - *
  • - *

    1500-2500 second attempt

    - *
  • - *
  • - *

    2500-3500 second sleep/delay (500 * 2, exponential backoff)

    - *
  • - *
  • - *

    3500-4500 third attempt

    - *
  • - *
  • - *

    4500-6500 third sleep/delay (500 * 2^2)

    - *
  • - *
  • - *

    6500-7500 fourth attempt (this can trigger inline recovery since 5 seconds - * have elapsed since the first attempt reached TC)

    - *
  • - *
- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class ExecuteTransactionCommand extends ExecuteTransactionCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: ExecuteTransactionInput; - output: ExecuteTransactionOutput; - }; - sdk: { - input: ExecuteTransactionCommandInput; - output: ExecuteTransactionCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExportTableToPointInTimeCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExportTableToPointInTimeCommand.d.ts deleted file mode 100644 index 19abb4bb..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +++ /dev/null @@ -1,152 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { ExportTableToPointInTimeInput, ExportTableToPointInTimeOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ExportTableToPointInTimeCommand}. - */ -export interface ExportTableToPointInTimeCommandInput extends ExportTableToPointInTimeInput { -} -/** - * @public - * - * The output of {@link ExportTableToPointInTimeCommand}. - */ -export interface ExportTableToPointInTimeCommandOutput extends ExportTableToPointInTimeOutput, __MetadataBearer { -} -declare const ExportTableToPointInTimeCommand_base: { - new (input: ExportTableToPointInTimeCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: ExportTableToPointInTimeCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Exports table data to an S3 bucket. The table must have point in time recovery - * enabled, and you can export data from any time within the point in time recovery - * window.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, ExportTableToPointInTimeCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, ExportTableToPointInTimeCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // ExportTableToPointInTimeInput - * TableArn: "STRING_VALUE", // required - * ExportTime: new Date("TIMESTAMP"), - * ClientToken: "STRING_VALUE", - * S3Bucket: "STRING_VALUE", // required - * S3BucketOwner: "STRING_VALUE", - * S3Prefix: "STRING_VALUE", - * S3SseAlgorithm: "AES256" || "KMS", - * S3SseKmsKeyId: "STRING_VALUE", - * ExportFormat: "DYNAMODB_JSON" || "ION", - * ExportType: "FULL_EXPORT" || "INCREMENTAL_EXPORT", - * IncrementalExportSpecification: { // IncrementalExportSpecification - * ExportFromTime: new Date("TIMESTAMP"), - * ExportToTime: new Date("TIMESTAMP"), - * ExportViewType: "NEW_IMAGE" || "NEW_AND_OLD_IMAGES", - * }, - * }; - * const command = new ExportTableToPointInTimeCommand(input); - * const response = await client.send(command); - * // { // ExportTableToPointInTimeOutput - * // ExportDescription: { // ExportDescription - * // ExportArn: "STRING_VALUE", - * // ExportStatus: "IN_PROGRESS" || "COMPLETED" || "FAILED", - * // StartTime: new Date("TIMESTAMP"), - * // EndTime: new Date("TIMESTAMP"), - * // ExportManifest: "STRING_VALUE", - * // TableArn: "STRING_VALUE", - * // TableId: "STRING_VALUE", - * // ExportTime: new Date("TIMESTAMP"), - * // ClientToken: "STRING_VALUE", - * // S3Bucket: "STRING_VALUE", - * // S3BucketOwner: "STRING_VALUE", - * // S3Prefix: "STRING_VALUE", - * // S3SseAlgorithm: "AES256" || "KMS", - * // S3SseKmsKeyId: "STRING_VALUE", - * // FailureCode: "STRING_VALUE", - * // FailureMessage: "STRING_VALUE", - * // ExportFormat: "DYNAMODB_JSON" || "ION", - * // BilledSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // ExportType: "FULL_EXPORT" || "INCREMENTAL_EXPORT", - * // IncrementalExportSpecification: { // IncrementalExportSpecification - * // ExportFromTime: new Date("TIMESTAMP"), - * // ExportToTime: new Date("TIMESTAMP"), - * // ExportViewType: "NEW_IMAGE" || "NEW_AND_OLD_IMAGES", - * // }, - * // }, - * // }; - * - * ``` - * - * @param ExportTableToPointInTimeCommandInput - {@link ExportTableToPointInTimeCommandInput} - * @returns {@link ExportTableToPointInTimeCommandOutput} - * @see {@link ExportTableToPointInTimeCommandInput} for command's `input` shape. - * @see {@link ExportTableToPointInTimeCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link ExportConflictException} (client fault) - *

There was a conflict when writing to the specified S3 bucket.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidExportTimeException} (client fault) - *

The specified ExportTime is outside of the point in time recovery - * window.

- * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link PointInTimeRecoveryUnavailableException} (client fault) - *

Point in time recovery has not yet been enabled for this source table.

- * - * @throws {@link TableNotFoundException} (client fault) - *

A source table with the name TableName does not currently exist within - * the subscriber's account or the subscriber is operating in the wrong Amazon Web Services - * Region.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class ExportTableToPointInTimeCommand extends ExportTableToPointInTimeCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: ExportTableToPointInTimeInput; - output: ExportTableToPointInTimeOutput; - }; - sdk: { - input: ExportTableToPointInTimeCommandInput; - output: ExportTableToPointInTimeCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetItemCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetItemCommand.d.ts deleted file mode 100644 index 1264cd31..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetItemCommand.d.ts +++ /dev/null @@ -1,264 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { GetItemInput, GetItemOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetItemCommand}. - */ -export interface GetItemCommandInput extends GetItemInput { -} -/** - * @public - * - * The output of {@link GetItemCommand}. - */ -export interface GetItemCommandOutput extends GetItemOutput, __MetadataBearer { -} -declare const GetItemCommand_base: { - new (input: GetItemCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: GetItemCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

The GetItem operation returns a set of attributes for the item with the - * given primary key. If there is no matching item, GetItem does not return - * any data and there will be no Item element in the response.

- *

- * GetItem provides an eventually consistent read by default. If your - * application requires a strongly consistent read, set ConsistentRead to - * true. Although a strongly consistent read might take more time than an - * eventually consistent read, it always returns the last updated value.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, GetItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, GetItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // GetItemInput - * TableName: "STRING_VALUE", // required - * Key: { // Key // required - * "": { // AttributeValue Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ // StringSetAttributeValue - * "STRING_VALUE", - * ], - * NS: [ // NumberSetAttributeValue - * "STRING_VALUE", - * ], - * BS: [ // BinarySetAttributeValue - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { // MapAttributeValue - * "": {// Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ - * "STRING_VALUE", - * ], - * NS: [ - * "STRING_VALUE", - * ], - * BS: [ - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { - * "": "", - * }, - * L: [ // ListAttributeValue - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * L: [ - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * AttributesToGet: [ // AttributeNameList - * "STRING_VALUE", - * ], - * ConsistentRead: true || false, - * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE", - * ProjectionExpression: "STRING_VALUE", - * ExpressionAttributeNames: { // ExpressionAttributeNameMap - * "": "STRING_VALUE", - * }, - * }; - * const command = new GetItemCommand(input); - * const response = await client.send(command); - * // { // GetItemOutput - * // Item: { // AttributeMap - * // "": { // AttributeValue Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ // StringSetAttributeValue - * // "STRING_VALUE", - * // ], - * // NS: [ // NumberSetAttributeValue - * // "STRING_VALUE", - * // ], - * // BS: [ // BinarySetAttributeValue - * // new Uint8Array(), - * // ], - * // M: { // MapAttributeValue - * // "": {// Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ - * // "STRING_VALUE", - * // ], - * // NS: [ - * // "STRING_VALUE", - * // ], - * // BS: [ - * // new Uint8Array(), - * // ], - * // M: { - * // "": "", - * // }, - * // L: [ // ListAttributeValue - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // L: [ - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // ConsumedCapacity: { // ConsumedCapacity - * // TableName: "STRING_VALUE", - * // CapacityUnits: Number("double"), - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // Table: { // Capacity - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // GlobalSecondaryIndexes: { - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // }, - * // }; - * - * ``` - * - * @param GetItemCommandInput - {@link GetItemCommandInput} - * @returns {@link GetItemCommandOutput} - * @see {@link GetItemCommandInput} for command's `input` shape. - * @see {@link GetItemCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link ProvisionedThroughputExceededException} (client fault) - *

The request was denied due to request throttling. For detailed information about - * why the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception. The Amazon Web Services - * SDKs for DynamoDB automatically retry requests that receive this exception. - * Your request is eventually successful, unless your retry queue is too large to finish. - * Reduce the frequency of requests and use exponential backoff. For more information, go - * to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

- * - * @throws {@link RequestLimitExceeded} (client fault) - *

Throughput exceeds the current throughput quota for your account. For detailed - * information about why the request was throttled and the ARN of the impacted resource, - * find the ThrottlingReason field in the returned exception. Contact Amazon Web Services Support to request a quota - * increase.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request was denied due to request throttling. For detailed information about why - * the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @example To read an item from a table - * ```javascript - * // This example retrieves an item from the Music table. The table has a partition key and a sort key (Artist and SongTitle), so you must specify both of these attributes. - * const input = { - * Key: { - * Artist: { - * S: "Acme Band" - * }, - * SongTitle: { - * S: "Happy Day" - * } - * }, - * TableName: "Music" - * }; - * const command = new GetItemCommand(input); - * const response = await client.send(command); - * /* response is - * { - * Item: { - * AlbumTitle: { - * S: "Songs About Life" - * }, - * Artist: { - * S: "Acme Band" - * }, - * SongTitle: { - * S: "Happy Day" - * } - * } - * } - * *\/ - * ``` - * - * @public - */ -export declare class GetItemCommand extends GetItemCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: GetItemInput; - output: GetItemOutput; - }; - sdk: { - input: GetItemCommandInput; - output: GetItemCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetResourcePolicyCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetResourcePolicyCommand.d.ts deleted file mode 100644 index e4226b16..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetResourcePolicyCommand.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { GetResourcePolicyInput, GetResourcePolicyOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link GetResourcePolicyCommand}. - */ -export interface GetResourcePolicyCommandInput extends GetResourcePolicyInput { -} -/** - * @public - * - * The output of {@link GetResourcePolicyCommand}. - */ -export interface GetResourcePolicyCommandOutput extends GetResourcePolicyOutput, __MetadataBearer { -} -declare const GetResourcePolicyCommand_base: { - new (input: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: GetResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Returns the resource-based policy document attached to the resource, which can be a - * table or stream, in JSON format.

- *

- * GetResourcePolicy follows an - * eventually consistent - * model. The following list - * describes the outcomes when you issue the GetResourcePolicy request - * immediately after issuing another request:

- *
    - *
  • - *

    If you issue a GetResourcePolicy request immediately after a - * PutResourcePolicy request, DynamoDB might return a - * PolicyNotFoundException.

    - *
  • - *
  • - *

    If you issue a GetResourcePolicyrequest immediately after a - * DeleteResourcePolicy request, DynamoDB might return - * the policy that was present before the deletion request.

    - *
  • - *
  • - *

    If you issue a GetResourcePolicy request immediately after a - * CreateTable request, which includes a resource-based policy, - * DynamoDB might return a ResourceNotFoundException or - * a PolicyNotFoundException.

    - *
  • - *
- *

Because GetResourcePolicy uses an eventually - * consistent query, the metadata for your policy or table might not be - * available at that moment. Wait for a few seconds, and then retry the - * GetResourcePolicy request.

- *

After a GetResourcePolicy request returns a policy created using the - * PutResourcePolicy request, the policy will be applied in the - * authorization of requests to the resource. Because this process is eventually - * consistent, it will take some time to apply the policy to all requests to a resource. - * Policies that you attach while creating a table using the CreateTable - * request will always be applied to all requests for that table.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, GetResourcePolicyCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, GetResourcePolicyCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // GetResourcePolicyInput - * ResourceArn: "STRING_VALUE", // required - * }; - * const command = new GetResourcePolicyCommand(input); - * const response = await client.send(command); - * // { // GetResourcePolicyOutput - * // Policy: "STRING_VALUE", - * // RevisionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetResourcePolicyCommandInput - {@link GetResourcePolicyCommandInput} - * @returns {@link GetResourcePolicyCommandOutput} - * @see {@link GetResourcePolicyCommandInput} for command's `input` shape. - * @see {@link GetResourcePolicyCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link PolicyNotFoundException} (client fault) - *

The operation tried to access a nonexistent resource-based policy.

- *

If you specified an ExpectedRevisionId, it's possible that a policy is - * present for the resource but its revision ID didn't match the expected value.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: GetResourcePolicyInput; - output: GetResourcePolicyOutput; - }; - sdk: { - input: GetResourcePolicyCommandInput; - output: GetResourcePolicyCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ImportTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ImportTableCommand.d.ts deleted file mode 100644 index 17cd53b3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ImportTableCommand.d.ts +++ /dev/null @@ -1,275 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { ImportTableInput, ImportTableOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ImportTableCommand}. - */ -export interface ImportTableCommandInput extends ImportTableInput { -} -/** - * @public - * - * The output of {@link ImportTableCommand}. - */ -export interface ImportTableCommandOutput extends ImportTableOutput, __MetadataBearer { -} -declare const ImportTableCommand_base: { - new (input: ImportTableCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: ImportTableCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Imports table data from an S3 bucket.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, ImportTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, ImportTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // ImportTableInput - * ClientToken: "STRING_VALUE", - * S3BucketSource: { // S3BucketSource - * S3BucketOwner: "STRING_VALUE", - * S3Bucket: "STRING_VALUE", // required - * S3KeyPrefix: "STRING_VALUE", - * }, - * InputFormat: "DYNAMODB_JSON" || "ION" || "CSV", // required - * InputFormatOptions: { // InputFormatOptions - * Csv: { // CsvOptions - * Delimiter: "STRING_VALUE", - * HeaderList: [ // CsvHeaderList - * "STRING_VALUE", - * ], - * }, - * }, - * InputCompressionType: "GZIP" || "ZSTD" || "NONE", - * TableCreationParameters: { // TableCreationParameters - * TableName: "STRING_VALUE", // required - * AttributeDefinitions: [ // AttributeDefinitions // required - * { // AttributeDefinition - * AttributeName: "STRING_VALUE", // required - * AttributeType: "S" || "N" || "B", // required - * }, - * ], - * KeySchema: [ // KeySchema // required - * { // KeySchemaElement - * AttributeName: "STRING_VALUE", // required - * KeyType: "HASH" || "RANGE", // required - * }, - * ], - * BillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * ProvisionedThroughput: { // ProvisionedThroughput - * ReadCapacityUnits: Number("long"), // required - * WriteCapacityUnits: Number("long"), // required - * }, - * OnDemandThroughput: { // OnDemandThroughput - * MaxReadRequestUnits: Number("long"), - * MaxWriteRequestUnits: Number("long"), - * }, - * SSESpecification: { // SSESpecification - * Enabled: true || false, - * SSEType: "AES256" || "KMS", - * KMSMasterKeyId: "STRING_VALUE", - * }, - * GlobalSecondaryIndexes: [ // GlobalSecondaryIndexList - * { // GlobalSecondaryIndex - * IndexName: "STRING_VALUE", // required - * KeySchema: [ // required - * { - * AttributeName: "STRING_VALUE", // required - * KeyType: "HASH" || "RANGE", // required - * }, - * ], - * Projection: { // Projection - * ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * NonKeyAttributes: [ // NonKeyAttributeNameList - * "STRING_VALUE", - * ], - * }, - * ProvisionedThroughput: { - * ReadCapacityUnits: Number("long"), // required - * WriteCapacityUnits: Number("long"), // required - * }, - * OnDemandThroughput: { - * MaxReadRequestUnits: Number("long"), - * MaxWriteRequestUnits: Number("long"), - * }, - * WarmThroughput: { // WarmThroughput - * ReadUnitsPerSecond: Number("long"), - * WriteUnitsPerSecond: Number("long"), - * }, - * }, - * ], - * }, - * }; - * const command = new ImportTableCommand(input); - * const response = await client.send(command); - * // { // ImportTableOutput - * // ImportTableDescription: { // ImportTableDescription - * // ImportArn: "STRING_VALUE", - * // ImportStatus: "IN_PROGRESS" || "COMPLETED" || "CANCELLING" || "CANCELLED" || "FAILED", - * // TableArn: "STRING_VALUE", - * // TableId: "STRING_VALUE", - * // ClientToken: "STRING_VALUE", - * // S3BucketSource: { // S3BucketSource - * // S3BucketOwner: "STRING_VALUE", - * // S3Bucket: "STRING_VALUE", // required - * // S3KeyPrefix: "STRING_VALUE", - * // }, - * // ErrorCount: Number("long"), - * // CloudWatchLogGroupArn: "STRING_VALUE", - * // InputFormat: "DYNAMODB_JSON" || "ION" || "CSV", - * // InputFormatOptions: { // InputFormatOptions - * // Csv: { // CsvOptions - * // Delimiter: "STRING_VALUE", - * // HeaderList: [ // CsvHeaderList - * // "STRING_VALUE", - * // ], - * // }, - * // }, - * // InputCompressionType: "GZIP" || "ZSTD" || "NONE", - * // TableCreationParameters: { // TableCreationParameters - * // TableName: "STRING_VALUE", // required - * // AttributeDefinitions: [ // AttributeDefinitions // required - * // { // AttributeDefinition - * // AttributeName: "STRING_VALUE", // required - * // AttributeType: "S" || "N" || "B", // required - * // }, - * // ], - * // KeySchema: [ // KeySchema // required - * // { // KeySchemaElement - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * // ProvisionedThroughput: { // ProvisionedThroughput - * // ReadCapacityUnits: Number("long"), // required - * // WriteCapacityUnits: Number("long"), // required - * // }, - * // OnDemandThroughput: { // OnDemandThroughput - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // SSESpecification: { // SSESpecification - * // Enabled: true || false, - * // SSEType: "AES256" || "KMS", - * // KMSMasterKeyId: "STRING_VALUE", - * // }, - * // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexList - * // { // GlobalSecondaryIndex - * // IndexName: "STRING_VALUE", // required - * // KeySchema: [ // required - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { // Projection - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ // NonKeyAttributeNameList - * // "STRING_VALUE", - * // ], - * // }, - * // ProvisionedThroughput: { - * // ReadCapacityUnits: Number("long"), // required - * // WriteCapacityUnits: Number("long"), // required - * // }, - * // OnDemandThroughput: { - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // WarmThroughput - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // }, - * // }, - * // ], - * // }, - * // StartTime: new Date("TIMESTAMP"), - * // EndTime: new Date("TIMESTAMP"), - * // ProcessedSizeBytes: Number("long"), - * // ProcessedItemCount: Number("long"), - * // ImportedItemCount: Number("long"), - * // FailureCode: "STRING_VALUE", - * // FailureMessage: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param ImportTableCommandInput - {@link ImportTableCommandInput} - * @returns {@link ImportTableCommandOutput} - * @see {@link ImportTableCommandInput} for command's `input` shape. - * @see {@link ImportTableCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link ImportConflictException} (client fault) - *

There was a conflict when importing from the specified S3 source. This can occur when - * the current import conflicts with a previous import request that had the same client - * token.

- * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example:

- *
    - *
  • - *

    You attempted to recreate an existing table.

    - *
  • - *
  • - *

    You tried to delete a table currently in the CREATING - * state.

    - *
  • - *
  • - *

    You tried to update a resource that was already being updated.

    - *
  • - *
- *

When appropriate, wait for the ongoing update to complete and attempt the request - * again.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class ImportTableCommand extends ImportTableCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: ImportTableInput; - output: ImportTableOutput; - }; - sdk: { - input: ImportTableCommandInput; - output: ImportTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListBackupsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListBackupsCommand.d.ts deleted file mode 100644 index 5f0d33a5..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListBackupsCommand.d.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { ListBackupsInput, ListBackupsOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListBackupsCommand}. - */ -export interface ListBackupsCommandInput extends ListBackupsInput { -} -/** - * @public - * - * The output of {@link ListBackupsCommand}. - */ -export interface ListBackupsCommandOutput extends ListBackupsOutput, __MetadataBearer { -} -declare const ListBackupsCommand_base: { - new (input: ListBackupsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (...[input]: [] | [ListBackupsCommandInput]): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

List DynamoDB backups that are associated with an Amazon Web Services account and - * weren't made with Amazon Web Services Backup. To list these backups for a given table, - * specify TableName. ListBackups returns a paginated list of - * results with at most 1 MB worth of items in a page. You can also specify a maximum - * number of entries to be returned in a page.

- *

In the request, start time is inclusive, but end time is exclusive. Note that these - * boundaries are for the time at which the original backup was requested.

- *

You can call ListBackups a maximum of five times per second.

- *

If you want to retrieve the complete list of backups made with Amazon Web Services - * Backup, use the Amazon Web Services Backup - * list API. - *

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, ListBackupsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, ListBackupsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // ListBackupsInput - * TableName: "STRING_VALUE", - * Limit: Number("int"), - * TimeRangeLowerBound: new Date("TIMESTAMP"), - * TimeRangeUpperBound: new Date("TIMESTAMP"), - * ExclusiveStartBackupArn: "STRING_VALUE", - * BackupType: "USER" || "SYSTEM" || "AWS_BACKUP" || "ALL", - * }; - * const command = new ListBackupsCommand(input); - * const response = await client.send(command); - * // { // ListBackupsOutput - * // BackupSummaries: [ // BackupSummaries - * // { // BackupSummary - * // TableName: "STRING_VALUE", - * // TableId: "STRING_VALUE", - * // TableArn: "STRING_VALUE", - * // BackupArn: "STRING_VALUE", - * // BackupName: "STRING_VALUE", - * // BackupCreationDateTime: new Date("TIMESTAMP"), - * // BackupExpiryDateTime: new Date("TIMESTAMP"), - * // BackupStatus: "CREATING" || "DELETED" || "AVAILABLE", - * // BackupType: "USER" || "SYSTEM" || "AWS_BACKUP", - * // BackupSizeBytes: Number("long"), - * // }, - * // ], - * // LastEvaluatedBackupArn: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListBackupsCommandInput - {@link ListBackupsCommandInput} - * @returns {@link ListBackupsCommandOutput} - * @see {@link ListBackupsCommandInput} for command's `input` shape. - * @see {@link ListBackupsCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class ListBackupsCommand extends ListBackupsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: ListBackupsInput; - output: ListBackupsOutput; - }; - sdk: { - input: ListBackupsCommandInput; - output: ListBackupsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListContributorInsightsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListContributorInsightsCommand.d.ts deleted file mode 100644 index 7f5e3361..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListContributorInsightsCommand.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { ListContributorInsightsInput, ListContributorInsightsOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListContributorInsightsCommand}. - */ -export interface ListContributorInsightsCommandInput extends ListContributorInsightsInput { -} -/** - * @public - * - * The output of {@link ListContributorInsightsCommand}. - */ -export interface ListContributorInsightsCommandOutput extends ListContributorInsightsOutput, __MetadataBearer { -} -declare const ListContributorInsightsCommand_base: { - new (input: ListContributorInsightsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (...[input]: [] | [ListContributorInsightsCommandInput]): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Returns a list of ContributorInsightsSummary for a table and all its global secondary - * indexes.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, ListContributorInsightsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, ListContributorInsightsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // ListContributorInsightsInput - * TableName: "STRING_VALUE", - * NextToken: "STRING_VALUE", - * MaxResults: Number("int"), - * }; - * const command = new ListContributorInsightsCommand(input); - * const response = await client.send(command); - * // { // ListContributorInsightsOutput - * // ContributorInsightsSummaries: [ // ContributorInsightsSummaries - * // { // ContributorInsightsSummary - * // TableName: "STRING_VALUE", - * // IndexName: "STRING_VALUE", - * // ContributorInsightsStatus: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "FAILED", - * // ContributorInsightsMode: "ACCESSED_AND_THROTTLED_KEYS" || "THROTTLED_KEYS", - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListContributorInsightsCommandInput - {@link ListContributorInsightsCommandInput} - * @returns {@link ListContributorInsightsCommandOutput} - * @see {@link ListContributorInsightsCommandInput} for command's `input` shape. - * @see {@link ListContributorInsightsCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class ListContributorInsightsCommand extends ListContributorInsightsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: ListContributorInsightsInput; - output: ListContributorInsightsOutput; - }; - sdk: { - input: ListContributorInsightsCommandInput; - output: ListContributorInsightsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListExportsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListExportsCommand.d.ts deleted file mode 100644 index d552b4cb..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListExportsCommand.d.ts +++ /dev/null @@ -1,104 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { ListExportsInput, ListExportsOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListExportsCommand}. - */ -export interface ListExportsCommandInput extends ListExportsInput { -} -/** - * @public - * - * The output of {@link ListExportsCommand}. - */ -export interface ListExportsCommandOutput extends ListExportsOutput, __MetadataBearer { -} -declare const ListExportsCommand_base: { - new (input: ListExportsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (...[input]: [] | [ListExportsCommandInput]): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Lists completed exports within the past 90 days, in reverse alphanumeric order of ExportArn.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, ListExportsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, ListExportsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // ListExportsInput - * TableArn: "STRING_VALUE", - * MaxResults: Number("int"), - * NextToken: "STRING_VALUE", - * }; - * const command = new ListExportsCommand(input); - * const response = await client.send(command); - * // { // ListExportsOutput - * // ExportSummaries: [ // ExportSummaries - * // { // ExportSummary - * // ExportArn: "STRING_VALUE", - * // ExportStatus: "IN_PROGRESS" || "COMPLETED" || "FAILED", - * // ExportType: "FULL_EXPORT" || "INCREMENTAL_EXPORT", - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListExportsCommandInput - {@link ListExportsCommandInput} - * @returns {@link ListExportsCommandOutput} - * @see {@link ListExportsCommandInput} for command's `input` shape. - * @see {@link ListExportsCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class ListExportsCommand extends ListExportsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: ListExportsInput; - output: ListExportsOutput; - }; - sdk: { - input: ListExportsCommandInput; - output: ListExportsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListGlobalTablesCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListGlobalTablesCommand.d.ts deleted file mode 100644 index 6ba2beda..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListGlobalTablesCommand.d.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { ListGlobalTablesInput, ListGlobalTablesOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListGlobalTablesCommand}. - */ -export interface ListGlobalTablesCommandInput extends ListGlobalTablesInput { -} -/** - * @public - * - * The output of {@link ListGlobalTablesCommand}. - */ -export interface ListGlobalTablesCommandOutput extends ListGlobalTablesOutput, __MetadataBearer { -} -declare const ListGlobalTablesCommand_base: { - new (input: ListGlobalTablesCommandInput): import("@smithy/smithy-client").CommandImpl; - new (...[input]: [] | [ListGlobalTablesCommandInput]): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Lists all global tables that have a replica in the specified Region.

- * - *

This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy).

- *

To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.

- *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, ListGlobalTablesCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, ListGlobalTablesCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // ListGlobalTablesInput - * ExclusiveStartGlobalTableName: "STRING_VALUE", - * Limit: Number("int"), - * RegionName: "STRING_VALUE", - * }; - * const command = new ListGlobalTablesCommand(input); - * const response = await client.send(command); - * // { // ListGlobalTablesOutput - * // GlobalTables: [ // GlobalTableList - * // { // GlobalTable - * // GlobalTableName: "STRING_VALUE", - * // ReplicationGroup: [ // ReplicaList - * // { // Replica - * // RegionName: "STRING_VALUE", - * // }, - * // ], - * // }, - * // ], - * // LastEvaluatedGlobalTableName: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListGlobalTablesCommandInput - {@link ListGlobalTablesCommandInput} - * @returns {@link ListGlobalTablesCommandOutput} - * @see {@link ListGlobalTablesCommandInput} for command's `input` shape. - * @see {@link ListGlobalTablesCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class ListGlobalTablesCommand extends ListGlobalTablesCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: ListGlobalTablesInput; - output: ListGlobalTablesOutput; - }; - sdk: { - input: ListGlobalTablesCommandInput; - output: ListGlobalTablesCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListImportsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListImportsCommand.d.ts deleted file mode 100644 index 12164baf..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListImportsCommand.d.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { ListImportsInput, ListImportsOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListImportsCommand}. - */ -export interface ListImportsCommandInput extends ListImportsInput { -} -/** - * @public - * - * The output of {@link ListImportsCommand}. - */ -export interface ListImportsCommandOutput extends ListImportsOutput, __MetadataBearer { -} -declare const ListImportsCommand_base: { - new (input: ListImportsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (...[input]: [] | [ListImportsCommandInput]): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Lists completed imports within the past 90 days.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, ListImportsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, ListImportsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // ListImportsInput - * TableArn: "STRING_VALUE", - * PageSize: Number("int"), - * NextToken: "STRING_VALUE", - * }; - * const command = new ListImportsCommand(input); - * const response = await client.send(command); - * // { // ListImportsOutput - * // ImportSummaryList: [ // ImportSummaryList - * // { // ImportSummary - * // ImportArn: "STRING_VALUE", - * // ImportStatus: "IN_PROGRESS" || "COMPLETED" || "CANCELLING" || "CANCELLED" || "FAILED", - * // TableArn: "STRING_VALUE", - * // S3BucketSource: { // S3BucketSource - * // S3BucketOwner: "STRING_VALUE", - * // S3Bucket: "STRING_VALUE", // required - * // S3KeyPrefix: "STRING_VALUE", - * // }, - * // CloudWatchLogGroupArn: "STRING_VALUE", - * // InputFormat: "DYNAMODB_JSON" || "ION" || "CSV", - * // StartTime: new Date("TIMESTAMP"), - * // EndTime: new Date("TIMESTAMP"), - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListImportsCommandInput - {@link ListImportsCommandInput} - * @returns {@link ListImportsCommandOutput} - * @see {@link ListImportsCommandInput} for command's `input` shape. - * @see {@link ListImportsCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class ListImportsCommand extends ListImportsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: ListImportsInput; - output: ListImportsOutput; - }; - sdk: { - input: ListImportsCommandInput; - output: ListImportsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListTablesCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListTablesCommand.d.ts deleted file mode 100644 index 8f593f6d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListTablesCommand.d.ts +++ /dev/null @@ -1,103 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { ListTablesInput, ListTablesOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListTablesCommand}. - */ -export interface ListTablesCommandInput extends ListTablesInput { -} -/** - * @public - * - * The output of {@link ListTablesCommand}. - */ -export interface ListTablesCommandOutput extends ListTablesOutput, __MetadataBearer { -} -declare const ListTablesCommand_base: { - new (input: ListTablesCommandInput): import("@smithy/smithy-client").CommandImpl; - new (...[input]: [] | [ListTablesCommandInput]): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Returns an array of table names associated with the current account and endpoint. The - * output from ListTables is paginated, with each page returning a maximum of - * 100 table names.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, ListTablesCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, ListTablesCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // ListTablesInput - * ExclusiveStartTableName: "STRING_VALUE", - * Limit: Number("int"), - * }; - * const command = new ListTablesCommand(input); - * const response = await client.send(command); - * // { // ListTablesOutput - * // TableNames: [ // TableNameList - * // "STRING_VALUE", - * // ], - * // LastEvaluatedTableName: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListTablesCommandInput - {@link ListTablesCommandInput} - * @returns {@link ListTablesCommandOutput} - * @see {@link ListTablesCommandInput} for command's `input` shape. - * @see {@link ListTablesCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @example To list tables - * ```javascript - * // This example lists all of the tables associated with the current AWS account and endpoint. - * const input = { /* empty *\/ }; - * const command = new ListTablesCommand(input); - * const response = await client.send(command); - * /* response is - * { - * TableNames: [ - * "Forum", - * "ProductCatalog", - * "Reply", - * "Thread" - * ] - * } - * *\/ - * ``` - * - * @public - */ -export declare class ListTablesCommand extends ListTablesCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: ListTablesInput; - output: ListTablesOutput; - }; - sdk: { - input: ListTablesCommandInput; - output: ListTablesCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListTagsOfResourceCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListTagsOfResourceCommand.d.ts deleted file mode 100644 index e2e9cc49..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListTagsOfResourceCommand.d.ts +++ /dev/null @@ -1,93 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { ListTagsOfResourceInput, ListTagsOfResourceOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ListTagsOfResourceCommand}. - */ -export interface ListTagsOfResourceCommandInput extends ListTagsOfResourceInput { -} -/** - * @public - * - * The output of {@link ListTagsOfResourceCommand}. - */ -export interface ListTagsOfResourceCommandOutput extends ListTagsOfResourceOutput, __MetadataBearer { -} -declare const ListTagsOfResourceCommand_base: { - new (input: ListTagsOfResourceCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: ListTagsOfResourceCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 - * times per second, per account.

- *

For an overview on tagging DynamoDB resources, see Tagging for DynamoDB - * in the Amazon DynamoDB Developer Guide.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, ListTagsOfResourceCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, ListTagsOfResourceCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // ListTagsOfResourceInput - * ResourceArn: "STRING_VALUE", // required - * NextToken: "STRING_VALUE", - * }; - * const command = new ListTagsOfResourceCommand(input); - * const response = await client.send(command); - * // { // ListTagsOfResourceOutput - * // Tags: [ // TagList - * // { // Tag - * // Key: "STRING_VALUE", // required - * // Value: "STRING_VALUE", // required - * // }, - * // ], - * // NextToken: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListTagsOfResourceCommandInput - {@link ListTagsOfResourceCommandInput} - * @returns {@link ListTagsOfResourceCommandOutput} - * @see {@link ListTagsOfResourceCommandInput} for command's `input` shape. - * @see {@link ListTagsOfResourceCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class ListTagsOfResourceCommand extends ListTagsOfResourceCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: ListTagsOfResourceInput; - output: ListTagsOfResourceOutput; - }; - sdk: { - input: ListTagsOfResourceCommandInput; - output: ListTagsOfResourceCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutItemCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutItemCommand.d.ts deleted file mode 100644 index f1991856..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutItemCommand.d.ts +++ /dev/null @@ -1,315 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { PutItemInput, PutItemOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutItemCommand}. - */ -export interface PutItemCommandInput extends PutItemInput { -} -/** - * @public - * - * The output of {@link PutItemCommand}. - */ -export interface PutItemCommandOutput extends PutItemOutput, __MetadataBearer { -} -declare const PutItemCommand_base: { - new (input: PutItemCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: PutItemCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Creates a new item, or replaces an old item with a new item. If an item that has the - * same primary key as the new item already exists in the specified table, the new item - * completely replaces the existing item. You can perform a conditional put operation (add - * a new item if one with the specified primary key doesn't exist), or replace an existing - * item if it has certain attribute values. You can return the item's attribute values in - * the same operation, using the ReturnValues parameter.

- *

When you add an item, the primary key attributes are the only required attributes.

- *

Empty String and Binary attribute values are allowed. Attribute values of type String - * and Binary must have a length greater than zero if the attribute is used as a key - * attribute for a table or index. Set type attributes cannot be empty.

- *

Invalid Requests with empty values will be rejected with a - * ValidationException exception.

- * - *

To prevent a new item from replacing an existing item, use a conditional - * expression that contains the attribute_not_exists function with the - * name of the attribute being used as the partition key for the table. Since every - * record must contain that attribute, the attribute_not_exists function - * will only succeed if no matching item exists.

- *
- * - *

To determine whether PutItem overwrote an existing item, use - * ReturnValues set to ALL_OLD. If the response includes - * the Attributes element, an existing item was overwritten.

- *
- *

For more information about PutItem, see Working with - * Items in the Amazon DynamoDB Developer Guide.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, PutItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, PutItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // PutItemInput - * TableName: "STRING_VALUE", // required - * Item: { // PutItemInputAttributeMap // required - * "": { // AttributeValue Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ // StringSetAttributeValue - * "STRING_VALUE", - * ], - * NS: [ // NumberSetAttributeValue - * "STRING_VALUE", - * ], - * BS: [ // BinarySetAttributeValue - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { // MapAttributeValue - * "": {// Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ - * "STRING_VALUE", - * ], - * NS: [ - * "STRING_VALUE", - * ], - * BS: [ - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { - * "": "", - * }, - * L: [ // ListAttributeValue - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * L: [ - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * Expected: { // ExpectedAttributeMap - * "": { // ExpectedAttributeValue - * Value: "", - * Exists: true || false, - * ComparisonOperator: "EQ" || "NE" || "IN" || "LE" || "LT" || "GE" || "GT" || "BETWEEN" || "NOT_NULL" || "NULL" || "CONTAINS" || "NOT_CONTAINS" || "BEGINS_WITH", - * AttributeValueList: [ // AttributeValueList - * "", - * ], - * }, - * }, - * ReturnValues: "NONE" || "ALL_OLD" || "UPDATED_OLD" || "ALL_NEW" || "UPDATED_NEW", - * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE", - * ReturnItemCollectionMetrics: "SIZE" || "NONE", - * ConditionalOperator: "AND" || "OR", - * ConditionExpression: "STRING_VALUE", - * ExpressionAttributeNames: { // ExpressionAttributeNameMap - * "": "STRING_VALUE", - * }, - * ExpressionAttributeValues: { // ExpressionAttributeValueMap - * "": "", - * }, - * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE", - * }; - * const command = new PutItemCommand(input); - * const response = await client.send(command); - * // { // PutItemOutput - * // Attributes: { // AttributeMap - * // "": { // AttributeValue Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ // StringSetAttributeValue - * // "STRING_VALUE", - * // ], - * // NS: [ // NumberSetAttributeValue - * // "STRING_VALUE", - * // ], - * // BS: [ // BinarySetAttributeValue - * // new Uint8Array(), - * // ], - * // M: { // MapAttributeValue - * // "": {// Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ - * // "STRING_VALUE", - * // ], - * // NS: [ - * // "STRING_VALUE", - * // ], - * // BS: [ - * // new Uint8Array(), - * // ], - * // M: { - * // "": "", - * // }, - * // L: [ // ListAttributeValue - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // L: [ - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // ConsumedCapacity: { // ConsumedCapacity - * // TableName: "STRING_VALUE", - * // CapacityUnits: Number("double"), - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // Table: { // Capacity - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // GlobalSecondaryIndexes: { - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // }, - * // ItemCollectionMetrics: { // ItemCollectionMetrics - * // ItemCollectionKey: { // ItemCollectionKeyAttributeMap - * // "": "", - * // }, - * // SizeEstimateRangeGB: [ // ItemCollectionSizeEstimateRange - * // Number("double"), - * // ], - * // }, - * // }; - * - * ``` - * - * @param PutItemCommandInput - {@link PutItemCommandInput} - * @returns {@link PutItemCommandOutput} - * @see {@link PutItemCommandInput} for command's `input` shape. - * @see {@link PutItemCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link ConditionalCheckFailedException} (client fault) - *

A condition specified in the operation failed to be evaluated.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link ItemCollectionSizeLimitExceededException} (client fault) - *

An item collection is too large. This exception is only returned for tables that - * have one or more local secondary indexes.

- * - * @throws {@link ProvisionedThroughputExceededException} (client fault) - *

The request was denied due to request throttling. For detailed information about - * why the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception. The Amazon Web Services - * SDKs for DynamoDB automatically retry requests that receive this exception. - * Your request is eventually successful, unless your retry queue is too large to finish. - * Reduce the frequency of requests and use exponential backoff. For more information, go - * to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

- * - * @throws {@link ReplicatedWriteConflictException} (client fault) - *

The request was rejected because one or more items in the request are being modified - * by a request in another Region.

- * - * @throws {@link RequestLimitExceeded} (client fault) - *

Throughput exceeds the current throughput quota for your account. For detailed - * information about why the request was throttled and the ARN of the impacted resource, - * find the ThrottlingReason field in the returned exception. Contact Amazon Web Services Support to request a quota - * increase.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request was denied due to request throttling. For detailed information about why - * the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception.

- * - * @throws {@link TransactionConflictException} (client fault) - *

Operation was rejected because there is an ongoing transaction for the - * item.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @example To add an item to a table - * ```javascript - * // This example adds a new item to the Music table. - * const input = { - * Item: { - * AlbumTitle: { - * S: "Somewhat Famous" - * }, - * Artist: { - * S: "No One You Know" - * }, - * SongTitle: { - * S: "Call Me Today" - * } - * }, - * ReturnConsumedCapacity: "TOTAL", - * TableName: "Music" - * }; - * const command = new PutItemCommand(input); - * const response = await client.send(command); - * /* response is - * { - * ConsumedCapacity: { - * CapacityUnits: 1, - * TableName: "Music" - * } - * } - * *\/ - * ``` - * - * @public - */ -export declare class PutItemCommand extends PutItemCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: PutItemInput; - output: PutItemOutput; - }; - sdk: { - input: PutItemCommandInput; - output: PutItemCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutResourcePolicyCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutResourcePolicyCommand.d.ts deleted file mode 100644 index bb15471c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutResourcePolicyCommand.d.ts +++ /dev/null @@ -1,147 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { PutResourcePolicyInput, PutResourcePolicyOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link PutResourcePolicyCommand}. - */ -export interface PutResourcePolicyCommandInput extends PutResourcePolicyInput { -} -/** - * @public - * - * The output of {@link PutResourcePolicyCommand}. - */ -export interface PutResourcePolicyCommandOutput extends PutResourcePolicyOutput, __MetadataBearer { -} -declare const PutResourcePolicyCommand_base: { - new (input: PutResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: PutResourcePolicyCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Attaches a resource-based policy document to the resource, which can be a table or - * stream. When you attach a resource-based policy using this API, the policy application - * is - * eventually consistent - * .

- *

- * PutResourcePolicy is an idempotent operation; running it multiple times - * on the same resource using the same policy document will return the same revision ID. If - * you specify an ExpectedRevisionId that doesn't match the current policy's - * RevisionId, the PolicyNotFoundException will be - * returned.

- * - *

- * PutResourcePolicy is an asynchronous operation. If you issue a - * GetResourcePolicy request immediately after a - * PutResourcePolicy request, DynamoDB might return your - * previous policy, if there was one, or return the - * PolicyNotFoundException. This is because - * GetResourcePolicy uses an eventually consistent query, and the - * metadata for your policy or table might not be available at that moment. Wait for a - * few seconds, and then try the GetResourcePolicy request again.

- *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, PutResourcePolicyCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, PutResourcePolicyCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // PutResourcePolicyInput - * ResourceArn: "STRING_VALUE", // required - * Policy: "STRING_VALUE", // required - * ExpectedRevisionId: "STRING_VALUE", - * ConfirmRemoveSelfResourceAccess: true || false, - * }; - * const command = new PutResourcePolicyCommand(input); - * const response = await client.send(command); - * // { // PutResourcePolicyOutput - * // RevisionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput} - * @returns {@link PutResourcePolicyCommandOutput} - * @see {@link PutResourcePolicyCommandInput} for command's `input` shape. - * @see {@link PutResourcePolicyCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link PolicyNotFoundException} (client fault) - *

The operation tried to access a nonexistent resource-based policy.

- *

If you specified an ExpectedRevisionId, it's possible that a policy is - * present for the resource but its revision ID didn't match the expected value.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example:

- *
    - *
  • - *

    You attempted to recreate an existing table.

    - *
  • - *
  • - *

    You tried to delete a table currently in the CREATING - * state.

    - *
  • - *
  • - *

    You tried to update a resource that was already being updated.

    - *
  • - *
- *

When appropriate, wait for the ongoing update to complete and attempt the request - * again.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: PutResourcePolicyInput; - output: PutResourcePolicyOutput; - }; - sdk: { - input: PutResourcePolicyCommandInput; - output: PutResourcePolicyCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/QueryCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/QueryCommand.d.ts deleted file mode 100644 index 3eb1185d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/QueryCommand.d.ts +++ /dev/null @@ -1,338 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { QueryInput, QueryOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link QueryCommand}. - */ -export interface QueryCommandInput extends QueryInput { -} -/** - * @public - * - * The output of {@link QueryCommand}. - */ -export interface QueryCommandOutput extends QueryOutput, __MetadataBearer { -} -declare const QueryCommand_base: { - new (input: QueryCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: QueryCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

You must provide the name of the partition key attribute and a single value for that - * attribute. Query returns all items with that partition key value. - * Optionally, you can provide a sort key attribute and use a comparison operator to refine - * the search results.

- *

Use the KeyConditionExpression parameter to provide a specific value for - * the partition key. The Query operation will return all of the items from - * the table or index with that partition key value. You can optionally narrow the scope of - * the Query operation by specifying a sort key value and a comparison - * operator in KeyConditionExpression. To further refine the - * Query results, you can optionally provide a - * FilterExpression. A FilterExpression determines which - * items within the results should be returned to you. All of the other results are - * discarded.

- *

A Query operation always returns a result set. If no matching items are - * found, the result set will be empty. Queries that do not return results consume the - * minimum number of read capacity units for that type of read operation.

- * - *

DynamoDB calculates the number of read capacity units consumed based on item - * size, not on the amount of data that is returned to an application. The number of - * capacity units consumed will be the same whether you request all of the attributes - * (the default behavior) or just some of them (using a projection expression). The - * number will also be the same whether or not you use a FilterExpression. - *

- *
- *

- * Query results are always sorted by the sort key value. If the data type of - * the sort key is Number, the results are returned in numeric order; otherwise, the - * results are returned in order of UTF-8 bytes. By default, the sort order is ascending. - * To reverse the order, set the ScanIndexForward parameter to false.

- *

A single Query operation will read up to the maximum number of items set - * (if using the Limit parameter) or a maximum of 1 MB of data and then apply - * any filtering to the results using FilterExpression. If - * LastEvaluatedKey is present in the response, you will need to paginate - * the result set. For more information, see Paginating - * the Results in the Amazon DynamoDB Developer Guide.

- *

- * FilterExpression is applied after a Query finishes, but before - * the results are returned. A FilterExpression cannot contain partition key - * or sort key attributes. You need to specify those attributes in the - * KeyConditionExpression.

- * - *

A Query operation can return an empty result set and a - * LastEvaluatedKey if all the items read for the page of results are - * filtered out.

- *
- *

You can query a table, a local secondary index, or a global secondary index. For a - * query on a table or on a local secondary index, you can set the - * ConsistentRead parameter to true and obtain a strongly - * consistent result. Global secondary indexes support eventually consistent reads only, so - * do not specify ConsistentRead when querying a global secondary - * index.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, QueryCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, QueryCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // QueryInput - * TableName: "STRING_VALUE", // required - * IndexName: "STRING_VALUE", - * Select: "ALL_ATTRIBUTES" || "ALL_PROJECTED_ATTRIBUTES" || "SPECIFIC_ATTRIBUTES" || "COUNT", - * AttributesToGet: [ // AttributeNameList - * "STRING_VALUE", - * ], - * Limit: Number("int"), - * ConsistentRead: true || false, - * KeyConditions: { // KeyConditions - * "": { // Condition - * AttributeValueList: [ // AttributeValueList - * { // AttributeValue Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ // StringSetAttributeValue - * "STRING_VALUE", - * ], - * NS: [ // NumberSetAttributeValue - * "STRING_VALUE", - * ], - * BS: [ // BinarySetAttributeValue - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { // MapAttributeValue - * "": {// Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ - * "STRING_VALUE", - * ], - * NS: [ - * "STRING_VALUE", - * ], - * BS: [ - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { - * "": "", - * }, - * L: [ // ListAttributeValue - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * L: [ - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * ], - * ComparisonOperator: "EQ" || "NE" || "IN" || "LE" || "LT" || "GE" || "GT" || "BETWEEN" || "NOT_NULL" || "NULL" || "CONTAINS" || "NOT_CONTAINS" || "BEGINS_WITH", // required - * }, - * }, - * QueryFilter: { // FilterConditionMap - * "": { - * AttributeValueList: [ - * "", - * ], - * ComparisonOperator: "EQ" || "NE" || "IN" || "LE" || "LT" || "GE" || "GT" || "BETWEEN" || "NOT_NULL" || "NULL" || "CONTAINS" || "NOT_CONTAINS" || "BEGINS_WITH", // required - * }, - * }, - * ConditionalOperator: "AND" || "OR", - * ScanIndexForward: true || false, - * ExclusiveStartKey: { // Key - * "": "", - * }, - * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE", - * ProjectionExpression: "STRING_VALUE", - * FilterExpression: "STRING_VALUE", - * KeyConditionExpression: "STRING_VALUE", - * ExpressionAttributeNames: { // ExpressionAttributeNameMap - * "": "STRING_VALUE", - * }, - * ExpressionAttributeValues: { // ExpressionAttributeValueMap - * "": "", - * }, - * }; - * const command = new QueryCommand(input); - * const response = await client.send(command); - * // { // QueryOutput - * // Items: [ // ItemList - * // { // AttributeMap - * // "": { // AttributeValue Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ // StringSetAttributeValue - * // "STRING_VALUE", - * // ], - * // NS: [ // NumberSetAttributeValue - * // "STRING_VALUE", - * // ], - * // BS: [ // BinarySetAttributeValue - * // new Uint8Array(), - * // ], - * // M: { // MapAttributeValue - * // "": {// Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ - * // "STRING_VALUE", - * // ], - * // NS: [ - * // "STRING_VALUE", - * // ], - * // BS: [ - * // new Uint8Array(), - * // ], - * // M: { - * // "": "", - * // }, - * // L: [ // ListAttributeValue - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // L: [ - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // ], - * // Count: Number("int"), - * // ScannedCount: Number("int"), - * // LastEvaluatedKey: { // Key - * // "": "", - * // }, - * // ConsumedCapacity: { // ConsumedCapacity - * // TableName: "STRING_VALUE", - * // CapacityUnits: Number("double"), - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // Table: { // Capacity - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // GlobalSecondaryIndexes: { - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // }, - * // }; - * - * ``` - * - * @param QueryCommandInput - {@link QueryCommandInput} - * @returns {@link QueryCommandOutput} - * @see {@link QueryCommandInput} for command's `input` shape. - * @see {@link QueryCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link ProvisionedThroughputExceededException} (client fault) - *

The request was denied due to request throttling. For detailed information about - * why the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception. The Amazon Web Services - * SDKs for DynamoDB automatically retry requests that receive this exception. - * Your request is eventually successful, unless your retry queue is too large to finish. - * Reduce the frequency of requests and use exponential backoff. For more information, go - * to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

- * - * @throws {@link RequestLimitExceeded} (client fault) - *

Throughput exceeds the current throughput quota for your account. For detailed - * information about why the request was throttled and the ARN of the impacted resource, - * find the ThrottlingReason field in the returned exception. Contact Amazon Web Services Support to request a quota - * increase.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request was denied due to request throttling. For detailed information about why - * the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @example To query an item - * ```javascript - * // This example queries items in the Music table. The table has a partition key and sort key (Artist and SongTitle), but this query only specifies the partition key value. It returns song titles by the artist named "No One You Know". - * const input = { - * ExpressionAttributeValues: { - * :v1: { - * S: "No One You Know" - * } - * }, - * KeyConditionExpression: "Artist = :v1", - * ProjectionExpression: "SongTitle", - * TableName: "Music" - * }; - * const command = new QueryCommand(input); - * const response = await client.send(command); - * /* response is - * { - * ConsumedCapacity: { /* empty *\/ }, - * Count: 2, - * Items: [ - * { - * SongTitle: { - * S: "Call Me Today" - * } - * } - * ], - * ScannedCount: 2 - * } - * *\/ - * ``` - * - * @public - */ -export declare class QueryCommand extends QueryCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: QueryInput; - output: QueryOutput; - }; - sdk: { - input: QueryCommandInput; - output: QueryCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableFromBackupCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableFromBackupCommand.d.ts deleted file mode 100644 index 82c26b54..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableFromBackupCommand.d.ts +++ /dev/null @@ -1,374 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { RestoreTableFromBackupInput, RestoreTableFromBackupOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link RestoreTableFromBackupCommand}. - */ -export interface RestoreTableFromBackupCommandInput extends RestoreTableFromBackupInput { -} -/** - * @public - * - * The output of {@link RestoreTableFromBackupCommand}. - */ -export interface RestoreTableFromBackupCommandOutput extends RestoreTableFromBackupOutput, __MetadataBearer { -} -declare const RestoreTableFromBackupCommand_base: { - new (input: RestoreTableFromBackupCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: RestoreTableFromBackupCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Creates a new table from an existing backup. Any number of users can execute up to 50 - * concurrent restores (any type of restore) in a given account.

- *

You can call RestoreTableFromBackup at a maximum rate of 10 times per - * second.

- *

You must manually set up the following on the restored table:

- *
    - *
  • - *

    Auto scaling policies

    - *
  • - *
  • - *

    IAM policies

    - *
  • - *
  • - *

    Amazon CloudWatch metrics and alarms

    - *
  • - *
  • - *

    Tags

    - *
  • - *
  • - *

    Stream settings

    - *
  • - *
  • - *

    Time to Live (TTL) settings

    - *
  • - *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, RestoreTableFromBackupCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, RestoreTableFromBackupCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // RestoreTableFromBackupInput - * TargetTableName: "STRING_VALUE", // required - * BackupArn: "STRING_VALUE", // required - * BillingModeOverride: "PROVISIONED" || "PAY_PER_REQUEST", - * GlobalSecondaryIndexOverride: [ // GlobalSecondaryIndexList - * { // GlobalSecondaryIndex - * IndexName: "STRING_VALUE", // required - * KeySchema: [ // KeySchema // required - * { // KeySchemaElement - * AttributeName: "STRING_VALUE", // required - * KeyType: "HASH" || "RANGE", // required - * }, - * ], - * Projection: { // Projection - * ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * NonKeyAttributes: [ // NonKeyAttributeNameList - * "STRING_VALUE", - * ], - * }, - * ProvisionedThroughput: { // ProvisionedThroughput - * ReadCapacityUnits: Number("long"), // required - * WriteCapacityUnits: Number("long"), // required - * }, - * OnDemandThroughput: { // OnDemandThroughput - * MaxReadRequestUnits: Number("long"), - * MaxWriteRequestUnits: Number("long"), - * }, - * WarmThroughput: { // WarmThroughput - * ReadUnitsPerSecond: Number("long"), - * WriteUnitsPerSecond: Number("long"), - * }, - * }, - * ], - * LocalSecondaryIndexOverride: [ // LocalSecondaryIndexList - * { // LocalSecondaryIndex - * IndexName: "STRING_VALUE", // required - * KeySchema: [ // required - * { - * AttributeName: "STRING_VALUE", // required - * KeyType: "HASH" || "RANGE", // required - * }, - * ], - * Projection: { - * ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * NonKeyAttributes: [ - * "STRING_VALUE", - * ], - * }, - * }, - * ], - * ProvisionedThroughputOverride: { - * ReadCapacityUnits: Number("long"), // required - * WriteCapacityUnits: Number("long"), // required - * }, - * OnDemandThroughputOverride: { - * MaxReadRequestUnits: Number("long"), - * MaxWriteRequestUnits: Number("long"), - * }, - * SSESpecificationOverride: { // SSESpecification - * Enabled: true || false, - * SSEType: "AES256" || "KMS", - * KMSMasterKeyId: "STRING_VALUE", - * }, - * }; - * const command = new RestoreTableFromBackupCommand(input); - * const response = await client.send(command); - * // { // RestoreTableFromBackupOutput - * // TableDescription: { // TableDescription - * // AttributeDefinitions: [ // AttributeDefinitions - * // { // AttributeDefinition - * // AttributeName: "STRING_VALUE", // required - * // AttributeType: "S" || "N" || "B", // required - * // }, - * // ], - * // TableName: "STRING_VALUE", - * // KeySchema: [ // KeySchema - * // { // KeySchemaElement - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // CreationDateTime: new Date("TIMESTAMP"), - * // ProvisionedThroughput: { // ProvisionedThroughputDescription - * // LastIncreaseDateTime: new Date("TIMESTAMP"), - * // LastDecreaseDateTime: new Date("TIMESTAMP"), - * // NumberOfDecreasesToday: Number("long"), - * // ReadCapacityUnits: Number("long"), - * // WriteCapacityUnits: Number("long"), - * // }, - * // TableSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // TableArn: "STRING_VALUE", - * // TableId: "STRING_VALUE", - * // BillingModeSummary: { // BillingModeSummary - * // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * // LastUpdateToPayPerRequestDateTime: new Date("TIMESTAMP"), - * // }, - * // LocalSecondaryIndexes: [ // LocalSecondaryIndexDescriptionList - * // { // LocalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { // Projection - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ // NonKeyAttributeNameList - * // "STRING_VALUE", - * // ], - * // }, - * // IndexSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // IndexArn: "STRING_VALUE", - * // }, - * // ], - * // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexDescriptionList - * // { // GlobalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ - * // "STRING_VALUE", - * // ], - * // }, - * // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // Backfilling: true || false, - * // ProvisionedThroughput: { - * // LastIncreaseDateTime: new Date("TIMESTAMP"), - * // LastDecreaseDateTime: new Date("TIMESTAMP"), - * // NumberOfDecreasesToday: Number("long"), - * // ReadCapacityUnits: Number("long"), - * // WriteCapacityUnits: Number("long"), - * // }, - * // IndexSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // IndexArn: "STRING_VALUE", - * // OnDemandThroughput: { // OnDemandThroughput - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // GlobalSecondaryIndexWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // }, - * // }, - * // ], - * // StreamSpecification: { // StreamSpecification - * // StreamEnabled: true || false, // required - * // StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY", - * // }, - * // LatestStreamLabel: "STRING_VALUE", - * // LatestStreamArn: "STRING_VALUE", - * // GlobalTableVersion: "STRING_VALUE", - * // Replicas: [ // ReplicaDescriptionList - * // { // ReplicaDescription - * // RegionName: "STRING_VALUE", - * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // ReplicaArn: "STRING_VALUE", - * // ReplicaStatusDescription: "STRING_VALUE", - * // ReplicaStatusPercentProgress: "STRING_VALUE", - * // KMSMasterKeyId: "STRING_VALUE", - * // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { // OnDemandThroughputOverride - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // TableWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList - * // { // ReplicaGlobalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // ProvisionedThroughputOverride: { - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // }, - * // }, - * // ], - * // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"), - * // ReplicaTableClassSummary: { // TableClassSummary - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * // }, - * // ], - * // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList - * // { // GlobalTableWitnessDescription - * // RegionName: "STRING_VALUE", - * // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE", - * // }, - * // ], - * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * // RestoreSummary: { // RestoreSummary - * // SourceBackupArn: "STRING_VALUE", - * // SourceTableArn: "STRING_VALUE", - * // RestoreDateTime: new Date("TIMESTAMP"), // required - * // RestoreInProgress: true || false, // required - * // }, - * // SSEDescription: { // SSEDescription - * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING", - * // SSEType: "AES256" || "KMS", - * // KMSMasterKeyArn: "STRING_VALUE", - * // InaccessibleEncryptionDateTime: new Date("TIMESTAMP"), - * // }, - * // ArchivalSummary: { // ArchivalSummary - * // ArchivalDateTime: new Date("TIMESTAMP"), - * // ArchivalReason: "STRING_VALUE", - * // ArchivalBackupArn: "STRING_VALUE", - * // }, - * // TableClassSummary: { - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // DeletionProtectionEnabled: true || false, - * // OnDemandThroughput: { - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // MultiRegionConsistency: "EVENTUAL" || "STRONG", - * // }, - * // }; - * - * ``` - * - * @param RestoreTableFromBackupCommandInput - {@link RestoreTableFromBackupCommandInput} - * @returns {@link RestoreTableFromBackupCommandOutput} - * @see {@link RestoreTableFromBackupCommandInput} for command's `input` shape. - * @see {@link RestoreTableFromBackupCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link BackupInUseException} (client fault) - *

There is another ongoing conflicting backup control plane operation on the table. - * The backup is either being created, deleted or restored to a table.

- * - * @throws {@link BackupNotFoundException} (client fault) - *

Backup not found for the given BackupARN.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link TableAlreadyExistsException} (client fault) - *

A target table with the specified name already exists.

- * - * @throws {@link TableInUseException} (client fault) - *

A target table with the specified name is either being created or deleted. - *

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class RestoreTableFromBackupCommand extends RestoreTableFromBackupCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: RestoreTableFromBackupInput; - output: RestoreTableFromBackupOutput; - }; - sdk: { - input: RestoreTableFromBackupCommandInput; - output: RestoreTableFromBackupCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts deleted file mode 100644 index 0ace0d7e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +++ /dev/null @@ -1,408 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { RestoreTableToPointInTimeInput, RestoreTableToPointInTimeOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link RestoreTableToPointInTimeCommand}. - */ -export interface RestoreTableToPointInTimeCommandInput extends RestoreTableToPointInTimeInput { -} -/** - * @public - * - * The output of {@link RestoreTableToPointInTimeCommand}. - */ -export interface RestoreTableToPointInTimeCommandOutput extends RestoreTableToPointInTimeOutput, __MetadataBearer { -} -declare const RestoreTableToPointInTimeCommand_base: { - new (input: RestoreTableToPointInTimeCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: RestoreTableToPointInTimeCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Restores the specified table to the specified point in time within - * EarliestRestorableDateTime and LatestRestorableDateTime. - * You can restore your table to any point in time in the last 35 days. You can set the - * recovery period to any value between 1 and 35 days. Any number of users can execute up - * to 50 concurrent restores (any type of restore) in a given account.

- *

When you restore using point in time recovery, DynamoDB restores your table data to - * the state based on the selected date and time (day:hour:minute:second) to a new table.

- *

Along with data, the following are also included on the new restored table using point - * in time recovery:

- *
    - *
  • - *

    Global secondary indexes (GSIs)

    - *
  • - *
  • - *

    Local secondary indexes (LSIs)

    - *
  • - *
  • - *

    Provisioned read and write capacity

    - *
  • - *
  • - *

    Encryption settings

    - * - *

    All these settings come from the current settings of the source table at - * the time of restore.

    - *
    - *
  • - *
- *

You must manually set up the following on the restored table:

- *
    - *
  • - *

    Auto scaling policies

    - *
  • - *
  • - *

    IAM policies

    - *
  • - *
  • - *

    Amazon CloudWatch metrics and alarms

    - *
  • - *
  • - *

    Tags

    - *
  • - *
  • - *

    Stream settings

    - *
  • - *
  • - *

    Time to Live (TTL) settings

    - *
  • - *
  • - *

    Point in time recovery settings

    - *
  • - *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, RestoreTableToPointInTimeCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, RestoreTableToPointInTimeCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // RestoreTableToPointInTimeInput - * SourceTableArn: "STRING_VALUE", - * SourceTableName: "STRING_VALUE", - * TargetTableName: "STRING_VALUE", // required - * UseLatestRestorableTime: true || false, - * RestoreDateTime: new Date("TIMESTAMP"), - * BillingModeOverride: "PROVISIONED" || "PAY_PER_REQUEST", - * GlobalSecondaryIndexOverride: [ // GlobalSecondaryIndexList - * { // GlobalSecondaryIndex - * IndexName: "STRING_VALUE", // required - * KeySchema: [ // KeySchema // required - * { // KeySchemaElement - * AttributeName: "STRING_VALUE", // required - * KeyType: "HASH" || "RANGE", // required - * }, - * ], - * Projection: { // Projection - * ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * NonKeyAttributes: [ // NonKeyAttributeNameList - * "STRING_VALUE", - * ], - * }, - * ProvisionedThroughput: { // ProvisionedThroughput - * ReadCapacityUnits: Number("long"), // required - * WriteCapacityUnits: Number("long"), // required - * }, - * OnDemandThroughput: { // OnDemandThroughput - * MaxReadRequestUnits: Number("long"), - * MaxWriteRequestUnits: Number("long"), - * }, - * WarmThroughput: { // WarmThroughput - * ReadUnitsPerSecond: Number("long"), - * WriteUnitsPerSecond: Number("long"), - * }, - * }, - * ], - * LocalSecondaryIndexOverride: [ // LocalSecondaryIndexList - * { // LocalSecondaryIndex - * IndexName: "STRING_VALUE", // required - * KeySchema: [ // required - * { - * AttributeName: "STRING_VALUE", // required - * KeyType: "HASH" || "RANGE", // required - * }, - * ], - * Projection: { - * ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * NonKeyAttributes: [ - * "STRING_VALUE", - * ], - * }, - * }, - * ], - * ProvisionedThroughputOverride: { - * ReadCapacityUnits: Number("long"), // required - * WriteCapacityUnits: Number("long"), // required - * }, - * OnDemandThroughputOverride: { - * MaxReadRequestUnits: Number("long"), - * MaxWriteRequestUnits: Number("long"), - * }, - * SSESpecificationOverride: { // SSESpecification - * Enabled: true || false, - * SSEType: "AES256" || "KMS", - * KMSMasterKeyId: "STRING_VALUE", - * }, - * }; - * const command = new RestoreTableToPointInTimeCommand(input); - * const response = await client.send(command); - * // { // RestoreTableToPointInTimeOutput - * // TableDescription: { // TableDescription - * // AttributeDefinitions: [ // AttributeDefinitions - * // { // AttributeDefinition - * // AttributeName: "STRING_VALUE", // required - * // AttributeType: "S" || "N" || "B", // required - * // }, - * // ], - * // TableName: "STRING_VALUE", - * // KeySchema: [ // KeySchema - * // { // KeySchemaElement - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // CreationDateTime: new Date("TIMESTAMP"), - * // ProvisionedThroughput: { // ProvisionedThroughputDescription - * // LastIncreaseDateTime: new Date("TIMESTAMP"), - * // LastDecreaseDateTime: new Date("TIMESTAMP"), - * // NumberOfDecreasesToday: Number("long"), - * // ReadCapacityUnits: Number("long"), - * // WriteCapacityUnits: Number("long"), - * // }, - * // TableSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // TableArn: "STRING_VALUE", - * // TableId: "STRING_VALUE", - * // BillingModeSummary: { // BillingModeSummary - * // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * // LastUpdateToPayPerRequestDateTime: new Date("TIMESTAMP"), - * // }, - * // LocalSecondaryIndexes: [ // LocalSecondaryIndexDescriptionList - * // { // LocalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { // Projection - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ // NonKeyAttributeNameList - * // "STRING_VALUE", - * // ], - * // }, - * // IndexSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // IndexArn: "STRING_VALUE", - * // }, - * // ], - * // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexDescriptionList - * // { // GlobalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ - * // "STRING_VALUE", - * // ], - * // }, - * // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // Backfilling: true || false, - * // ProvisionedThroughput: { - * // LastIncreaseDateTime: new Date("TIMESTAMP"), - * // LastDecreaseDateTime: new Date("TIMESTAMP"), - * // NumberOfDecreasesToday: Number("long"), - * // ReadCapacityUnits: Number("long"), - * // WriteCapacityUnits: Number("long"), - * // }, - * // IndexSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // IndexArn: "STRING_VALUE", - * // OnDemandThroughput: { // OnDemandThroughput - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // GlobalSecondaryIndexWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // }, - * // }, - * // ], - * // StreamSpecification: { // StreamSpecification - * // StreamEnabled: true || false, // required - * // StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY", - * // }, - * // LatestStreamLabel: "STRING_VALUE", - * // LatestStreamArn: "STRING_VALUE", - * // GlobalTableVersion: "STRING_VALUE", - * // Replicas: [ // ReplicaDescriptionList - * // { // ReplicaDescription - * // RegionName: "STRING_VALUE", - * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // ReplicaArn: "STRING_VALUE", - * // ReplicaStatusDescription: "STRING_VALUE", - * // ReplicaStatusPercentProgress: "STRING_VALUE", - * // KMSMasterKeyId: "STRING_VALUE", - * // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { // OnDemandThroughputOverride - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // TableWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList - * // { // ReplicaGlobalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // ProvisionedThroughputOverride: { - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // }, - * // }, - * // ], - * // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"), - * // ReplicaTableClassSummary: { // TableClassSummary - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * // }, - * // ], - * // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList - * // { // GlobalTableWitnessDescription - * // RegionName: "STRING_VALUE", - * // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE", - * // }, - * // ], - * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * // RestoreSummary: { // RestoreSummary - * // SourceBackupArn: "STRING_VALUE", - * // SourceTableArn: "STRING_VALUE", - * // RestoreDateTime: new Date("TIMESTAMP"), // required - * // RestoreInProgress: true || false, // required - * // }, - * // SSEDescription: { // SSEDescription - * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING", - * // SSEType: "AES256" || "KMS", - * // KMSMasterKeyArn: "STRING_VALUE", - * // InaccessibleEncryptionDateTime: new Date("TIMESTAMP"), - * // }, - * // ArchivalSummary: { // ArchivalSummary - * // ArchivalDateTime: new Date("TIMESTAMP"), - * // ArchivalReason: "STRING_VALUE", - * // ArchivalBackupArn: "STRING_VALUE", - * // }, - * // TableClassSummary: { - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // DeletionProtectionEnabled: true || false, - * // OnDemandThroughput: { - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // MultiRegionConsistency: "EVENTUAL" || "STRONG", - * // }, - * // }; - * - * ``` - * - * @param RestoreTableToPointInTimeCommandInput - {@link RestoreTableToPointInTimeCommandInput} - * @returns {@link RestoreTableToPointInTimeCommandOutput} - * @see {@link RestoreTableToPointInTimeCommandInput} for command's `input` shape. - * @see {@link RestoreTableToPointInTimeCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link InvalidRestoreTimeException} (client fault) - *

An invalid restore time was specified. RestoreDateTime must be between - * EarliestRestorableDateTime and LatestRestorableDateTime.

- * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link PointInTimeRecoveryUnavailableException} (client fault) - *

Point in time recovery has not yet been enabled for this source table.

- * - * @throws {@link TableAlreadyExistsException} (client fault) - *

A target table with the specified name already exists.

- * - * @throws {@link TableInUseException} (client fault) - *

A target table with the specified name is either being created or deleted. - *

- * - * @throws {@link TableNotFoundException} (client fault) - *

A source table with the name TableName does not currently exist within - * the subscriber's account or the subscriber is operating in the wrong Amazon Web Services - * Region.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class RestoreTableToPointInTimeCommand extends RestoreTableToPointInTimeCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: RestoreTableToPointInTimeInput; - output: RestoreTableToPointInTimeOutput; - }; - sdk: { - input: RestoreTableToPointInTimeCommandInput; - output: RestoreTableToPointInTimeCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ScanCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ScanCommand.d.ts deleted file mode 100644 index 06e89132..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ScanCommand.d.ts +++ /dev/null @@ -1,337 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { ScanInput, ScanOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link ScanCommand}. - */ -export interface ScanCommandInput extends ScanInput { -} -/** - * @public - * - * The output of {@link ScanCommand}. - */ -export interface ScanCommandOutput extends ScanOutput, __MetadataBearer { -} -declare const ScanCommand_base: { - new (input: ScanCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: ScanCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

The Scan operation returns one or more items and item attributes by - * accessing every item in a table or a secondary index. To have DynamoDB return fewer - * items, you can provide a FilterExpression operation.

- *

If the total size of scanned items exceeds the maximum dataset size limit of 1 MB, the - * scan completes and results are returned to the user. The LastEvaluatedKey - * value is also returned and the requestor can use the LastEvaluatedKey to - * continue the scan in a subsequent operation. Each scan response also includes number of - * items that were scanned (ScannedCount) as part of the request. If using a - * FilterExpression, a scan result can result in no items meeting the - * criteria and the Count will result in zero. If you did not use a - * FilterExpression in the scan request, then Count is the - * same as ScannedCount.

- * - *

- * Count and ScannedCount only return the count of items - * specific to a single scan request and, unless the table is less than 1MB, do not - * represent the total number of items in the table.

- *
- *

A single Scan operation first reads up to the maximum number of items set - * (if using the Limit parameter) or a maximum of 1 MB of data and then - * applies any filtering to the results if a FilterExpression is provided. If - * LastEvaluatedKey is present in the response, pagination is required to - * complete the full table scan. For more information, see Paginating the - * Results in the Amazon DynamoDB Developer Guide.

- *

- * Scan operations proceed sequentially; however, for faster performance on - * a large table or secondary index, applications can request a parallel Scan - * operation by providing the Segment and TotalSegments - * parameters. For more information, see Parallel - * Scan in the Amazon DynamoDB Developer Guide.

- *

By default, a Scan uses eventually consistent reads when accessing the - * items in a table. Therefore, the results from an eventually consistent Scan - * may not include the latest item changes at the time the scan iterates through each item - * in the table. If you require a strongly consistent read of each item as the scan - * iterates through the items in the table, you can set the ConsistentRead - * parameter to true. Strong consistency only relates to the consistency of the read at the - * item level.

- * - *

DynamoDB does not provide snapshot isolation for a scan operation when the - * ConsistentRead parameter is set to true. Thus, a DynamoDB scan - * operation does not guarantee that all reads in a scan see a consistent snapshot of - * the table when the scan operation was requested.

- *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, ScanCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, ScanCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // ScanInput - * TableName: "STRING_VALUE", // required - * IndexName: "STRING_VALUE", - * AttributesToGet: [ // AttributeNameList - * "STRING_VALUE", - * ], - * Limit: Number("int"), - * Select: "ALL_ATTRIBUTES" || "ALL_PROJECTED_ATTRIBUTES" || "SPECIFIC_ATTRIBUTES" || "COUNT", - * ScanFilter: { // FilterConditionMap - * "": { // Condition - * AttributeValueList: [ // AttributeValueList - * { // AttributeValue Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ // StringSetAttributeValue - * "STRING_VALUE", - * ], - * NS: [ // NumberSetAttributeValue - * "STRING_VALUE", - * ], - * BS: [ // BinarySetAttributeValue - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { // MapAttributeValue - * "": {// Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ - * "STRING_VALUE", - * ], - * NS: [ - * "STRING_VALUE", - * ], - * BS: [ - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { - * "": "", - * }, - * L: [ // ListAttributeValue - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * L: [ - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * ], - * ComparisonOperator: "EQ" || "NE" || "IN" || "LE" || "LT" || "GE" || "GT" || "BETWEEN" || "NOT_NULL" || "NULL" || "CONTAINS" || "NOT_CONTAINS" || "BEGINS_WITH", // required - * }, - * }, - * ConditionalOperator: "AND" || "OR", - * ExclusiveStartKey: { // Key - * "": "", - * }, - * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE", - * TotalSegments: Number("int"), - * Segment: Number("int"), - * ProjectionExpression: "STRING_VALUE", - * FilterExpression: "STRING_VALUE", - * ExpressionAttributeNames: { // ExpressionAttributeNameMap - * "": "STRING_VALUE", - * }, - * ExpressionAttributeValues: { // ExpressionAttributeValueMap - * "": "", - * }, - * ConsistentRead: true || false, - * }; - * const command = new ScanCommand(input); - * const response = await client.send(command); - * // { // ScanOutput - * // Items: [ // ItemList - * // { // AttributeMap - * // "": { // AttributeValue Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ // StringSetAttributeValue - * // "STRING_VALUE", - * // ], - * // NS: [ // NumberSetAttributeValue - * // "STRING_VALUE", - * // ], - * // BS: [ // BinarySetAttributeValue - * // new Uint8Array(), - * // ], - * // M: { // MapAttributeValue - * // "": {// Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ - * // "STRING_VALUE", - * // ], - * // NS: [ - * // "STRING_VALUE", - * // ], - * // BS: [ - * // new Uint8Array(), - * // ], - * // M: { - * // "": "", - * // }, - * // L: [ // ListAttributeValue - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // L: [ - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // ], - * // Count: Number("int"), - * // ScannedCount: Number("int"), - * // LastEvaluatedKey: { // Key - * // "": "", - * // }, - * // ConsumedCapacity: { // ConsumedCapacity - * // TableName: "STRING_VALUE", - * // CapacityUnits: Number("double"), - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // Table: { // Capacity - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // GlobalSecondaryIndexes: { - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // }, - * // }; - * - * ``` - * - * @param ScanCommandInput - {@link ScanCommandInput} - * @returns {@link ScanCommandOutput} - * @see {@link ScanCommandInput} for command's `input` shape. - * @see {@link ScanCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link ProvisionedThroughputExceededException} (client fault) - *

The request was denied due to request throttling. For detailed information about - * why the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception. The Amazon Web Services - * SDKs for DynamoDB automatically retry requests that receive this exception. - * Your request is eventually successful, unless your retry queue is too large to finish. - * Reduce the frequency of requests and use exponential backoff. For more information, go - * to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

- * - * @throws {@link RequestLimitExceeded} (client fault) - *

Throughput exceeds the current throughput quota for your account. For detailed - * information about why the request was throttled and the ARN of the impacted resource, - * find the ThrottlingReason field in the returned exception. Contact Amazon Web Services Support to request a quota - * increase.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request was denied due to request throttling. For detailed information about why - * the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @example To scan a table - * ```javascript - * // This example scans the entire Music table, and then narrows the results to songs by the artist "No One You Know". For each item, only the album title and song title are returned. - * const input = { - * ExpressionAttributeNames: { - * #AT: "AlbumTitle", - * #ST: "SongTitle" - * }, - * ExpressionAttributeValues: { - * :a: { - * S: "No One You Know" - * } - * }, - * FilterExpression: "Artist = :a", - * ProjectionExpression: "#ST, #AT", - * TableName: "Music" - * }; - * const command = new ScanCommand(input); - * const response = await client.send(command); - * /* response is - * { - * ConsumedCapacity: { /* empty *\/ }, - * Count: 2, - * Items: [ - * { - * AlbumTitle: { - * S: "Somewhat Famous" - * }, - * SongTitle: { - * S: "Call Me Today" - * } - * }, - * { - * AlbumTitle: { - * S: "Blue Sky Blues" - * }, - * SongTitle: { - * S: "Scared of My Shadow" - * } - * } - * ], - * ScannedCount: 3 - * } - * *\/ - * ``` - * - * @public - */ -export declare class ScanCommand extends ScanCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: ScanInput; - output: ScanOutput; - }; - sdk: { - input: ScanCommandInput; - output: ScanCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TagResourceCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TagResourceCommand.d.ts deleted file mode 100644 index e459d388..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TagResourceCommand.d.ts +++ /dev/null @@ -1,145 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { TagResourceInput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link TagResourceCommand}. - */ -export interface TagResourceCommandInput extends TagResourceInput { -} -/** - * @public - * - * The output of {@link TagResourceCommand}. - */ -export interface TagResourceCommandOutput extends __MetadataBearer { -} -declare const TagResourceCommand_base: { - new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Associate a set of tags with an Amazon DynamoDB resource. You can then activate these - * user-defined tags so that they appear on the Billing and Cost Management console for - * cost allocation tracking. You can call TagResource up to five times per second, per - * account.

- *
    - *
  • - *

    - * TagResource is an asynchronous operation. If you issue a ListTagsOfResource request immediately after a - * TagResource request, DynamoDB might return your - * previous tag set, if there was one, or an empty tag set. This is because - * ListTagsOfResource uses an eventually consistent query, and the - * metadata for your tags or table might not be available at that moment. Wait for - * a few seconds, and then try the ListTagsOfResource request - * again.

    - *
  • - *
  • - *

    The application or removal of tags using TagResource and - * UntagResource APIs is eventually consistent. - * ListTagsOfResource API will only reflect the changes after a - * few seconds.

    - *
  • - *
- *

For an overview on tagging DynamoDB resources, see Tagging for DynamoDB - * in the Amazon DynamoDB Developer Guide.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, TagResourceCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, TagResourceCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // TagResourceInput - * ResourceArn: "STRING_VALUE", // required - * Tags: [ // TagList // required - * { // Tag - * Key: "STRING_VALUE", // required - * Value: "STRING_VALUE", // required - * }, - * ], - * }; - * const command = new TagResourceCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param TagResourceCommandInput - {@link TagResourceCommandInput} - * @returns {@link TagResourceCommandOutput} - * @see {@link TagResourceCommandInput} for command's `input` shape. - * @see {@link TagResourceCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example:

- *
    - *
  • - *

    You attempted to recreate an existing table.

    - *
  • - *
  • - *

    You tried to delete a table currently in the CREATING - * state.

    - *
  • - *
  • - *

    You tried to update a resource that was already being updated.

    - *
  • - *
- *

When appropriate, wait for the ongoing update to complete and attempt the request - * again.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class TagResourceCommand extends TagResourceCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: TagResourceInput; - output: {}; - }; - sdk: { - input: TagResourceCommandInput; - output: TagResourceCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactGetItemsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactGetItemsCommand.d.ts deleted file mode 100644 index 2b3d5103..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactGetItemsCommand.d.ts +++ /dev/null @@ -1,496 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { TransactGetItemsInput, TransactGetItemsOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link TransactGetItemsCommand}. - */ -export interface TransactGetItemsCommandInput extends TransactGetItemsInput { -} -/** - * @public - * - * The output of {@link TransactGetItemsCommand}. - */ -export interface TransactGetItemsCommandOutput extends TransactGetItemsOutput, __MetadataBearer { -} -declare const TransactGetItemsCommand_base: { - new (input: TransactGetItemsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: TransactGetItemsCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

- * TransactGetItems is a synchronous operation that atomically retrieves - * multiple items from one or more tables (but not from indexes) in a single account and - * Region. A TransactGetItems call can contain up to 100 - * TransactGetItem objects, each of which contains a Get - * structure that specifies an item to retrieve from a table in the account and Region. A - * call to TransactGetItems cannot retrieve items from tables in more than one - * Amazon Web Services account or Region. The aggregate size of the items in the - * transaction cannot exceed 4 MB.

- *

DynamoDB rejects the entire TransactGetItems request if any of - * the following is true:

- *
    - *
  • - *

    A conflicting operation is in the process of updating an item to be - * read.

    - *
  • - *
  • - *

    There is insufficient provisioned capacity for the transaction to be - * completed.

    - *
  • - *
  • - *

    There is a user error, such as an invalid data format.

    - *
  • - *
  • - *

    The aggregate size of the items in the transaction exceeded 4 MB.

    - *
  • - *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, TransactGetItemsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, TransactGetItemsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // TransactGetItemsInput - * TransactItems: [ // TransactGetItemList // required - * { // TransactGetItem - * Get: { // Get - * Key: { // Key // required - * "": { // AttributeValue Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ // StringSetAttributeValue - * "STRING_VALUE", - * ], - * NS: [ // NumberSetAttributeValue - * "STRING_VALUE", - * ], - * BS: [ // BinarySetAttributeValue - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { // MapAttributeValue - * "": {// Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ - * "STRING_VALUE", - * ], - * NS: [ - * "STRING_VALUE", - * ], - * BS: [ - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { - * "": "", - * }, - * L: [ // ListAttributeValue - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * L: [ - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * TableName: "STRING_VALUE", // required - * ProjectionExpression: "STRING_VALUE", - * ExpressionAttributeNames: { // ExpressionAttributeNameMap - * "": "STRING_VALUE", - * }, - * }, - * }, - * ], - * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE", - * }; - * const command = new TransactGetItemsCommand(input); - * const response = await client.send(command); - * // { // TransactGetItemsOutput - * // ConsumedCapacity: [ // ConsumedCapacityMultiple - * // { // ConsumedCapacity - * // TableName: "STRING_VALUE", - * // CapacityUnits: Number("double"), - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // Table: { // Capacity - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // GlobalSecondaryIndexes: { - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // }, - * // ], - * // Responses: [ // ItemResponseList - * // { // ItemResponse - * // Item: { // AttributeMap - * // "": { // AttributeValue Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ // StringSetAttributeValue - * // "STRING_VALUE", - * // ], - * // NS: [ // NumberSetAttributeValue - * // "STRING_VALUE", - * // ], - * // BS: [ // BinarySetAttributeValue - * // new Uint8Array(), - * // ], - * // M: { // MapAttributeValue - * // "": {// Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ - * // "STRING_VALUE", - * // ], - * // NS: [ - * // "STRING_VALUE", - * // ], - * // BS: [ - * // new Uint8Array(), - * // ], - * // M: { - * // "": "", - * // }, - * // L: [ // ListAttributeValue - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // L: [ - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param TransactGetItemsCommandInput - {@link TransactGetItemsCommandInput} - * @returns {@link TransactGetItemsCommandOutput} - * @see {@link TransactGetItemsCommandInput} for command's `input` shape. - * @see {@link TransactGetItemsCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link ProvisionedThroughputExceededException} (client fault) - *

The request was denied due to request throttling. For detailed information about - * why the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception. The Amazon Web Services - * SDKs for DynamoDB automatically retry requests that receive this exception. - * Your request is eventually successful, unless your retry queue is too large to finish. - * Reduce the frequency of requests and use exponential backoff. For more information, go - * to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

- * - * @throws {@link RequestLimitExceeded} (client fault) - *

Throughput exceeds the current throughput quota for your account. For detailed - * information about why the request was throttled and the ARN of the impacted resource, - * find the ThrottlingReason field in the returned exception. Contact Amazon Web Services Support to request a quota - * increase.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request was denied due to request throttling. For detailed information about why - * the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception.

- * - * @throws {@link TransactionCanceledException} (client fault) - *

The entire transaction request was canceled.

- *

DynamoDB cancels a TransactWriteItems request under the following - * circumstances:

- *
    - *
  • - *

    A condition in one of the condition expressions is not met.

    - *
  • - *
  • - *

    A table in the TransactWriteItems request is in a different - * account or region.

    - *
  • - *
  • - *

    More than one action in the TransactWriteItems operation - * targets the same item.

    - *
  • - *
  • - *

    There is insufficient provisioned capacity for the transaction to be - * completed.

    - *
  • - *
  • - *

    An item size becomes too large (larger than 400 KB), or a local secondary - * index (LSI) becomes too large, or a similar validation error occurs because of - * changes made by the transaction.

    - *
  • - *
  • - *

    There is a user error, such as an invalid data format.

    - *
  • - *
  • - *

    There is an ongoing TransactWriteItems operation that - * conflicts with a concurrent TransactWriteItems request. In this - * case the TransactWriteItems operation fails with a - * TransactionCanceledException.

    - *
  • - *
- *

DynamoDB cancels a TransactGetItems request under the - * following circumstances:

- *
    - *
  • - *

    There is an ongoing TransactGetItems operation that conflicts - * with a concurrent PutItem, UpdateItem, - * DeleteItem or TransactWriteItems request. In this - * case the TransactGetItems operation fails with a - * TransactionCanceledException.

    - *
  • - *
  • - *

    A table in the TransactGetItems request is in a different - * account or region.

    - *
  • - *
  • - *

    There is insufficient provisioned capacity for the transaction to be - * completed.

    - *
  • - *
  • - *

    There is a user error, such as an invalid data format.

    - *
  • - *
- * - *

DynamoDB lists the cancellation reasons on the - * CancellationReasons property. Transaction cancellation reasons are ordered in the order of requested - * items, if an item has no error it will have None code and - * Null message.

- *
- *

Cancellation reason codes and possible error messages:

- *
    - *
  • - *

    No Errors:

    - *
      - *
    • - *

      Code: None - *

      - *
    • - *
    • - *

      Message: null - *

      - *
    • - *
    - *
  • - *
  • - *

    Conditional Check Failed:

    - *
      - *
    • - *

      Code: ConditionalCheckFailed - *

      - *
    • - *
    • - *

      Message: The conditional request failed.

      - *
    • - *
    - *
  • - *
  • - *

    Item Collection Size Limit Exceeded:

    - *
      - *
    • - *

      Code: ItemCollectionSizeLimitExceeded - *

      - *
    • - *
    • - *

      Message: Collection size exceeded.

      - *
    • - *
    - *
  • - *
  • - *

    Transaction Conflict:

    - *
      - *
    • - *

      Code: TransactionConflict - *

      - *
    • - *
    • - *

      Message: Transaction is ongoing for the item.

      - *
    • - *
    - *
  • - *
  • - *

    Provisioned Throughput Exceeded:

    - *
      - *
    • - *

      Code: ProvisionedThroughputExceeded - *

      - *
    • - *
    • - *

      Messages:

      - *
        - *
      • - *

        The level of configured provisioned throughput for the - * table was exceeded. Consider increasing your provisioning level - * with the UpdateTable API.

        - * - *

        This Message is received when provisioned throughput is - * exceeded is on a provisioned DynamoDB - * table.

        - *
        - *
      • - *
      • - *

        The level of configured provisioned throughput for one or - * more global secondary indexes of the table was exceeded. - * Consider increasing your provisioning level for the - * under-provisioned global secondary indexes with the UpdateTable - * API.

        - * - *

        This message is returned when provisioned throughput is - * exceeded is on a provisioned GSI.

        - *
        - *
      • - *
      - *
    • - *
    - *
  • - *
  • - *

    Throttling Error:

    - *
      - *
    • - *

      Code: ThrottlingError - *

      - *
    • - *
    • - *

      Messages:

      - *
        - *
      • - *

        Throughput exceeds the current capacity of your table or - * index. DynamoDB is automatically scaling your table or - * index so please try again shortly. If exceptions persist, check - * if you have a hot key: - * https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html.

        - * - *

        This message is returned when writes get throttled on an - * On-Demand table as DynamoDB is automatically - * scaling the table.

        - *
        - *
      • - *
      • - *

        Throughput exceeds the current capacity for one or more - * global secondary indexes. DynamoDB is automatically - * scaling your index so please try again shortly.

        - * - *

        This message is returned when writes get throttled on an - * On-Demand GSI as DynamoDB is automatically scaling - * the GSI.

        - *
        - *
      • - *
      - *
    • - *
    - *
  • - *
  • - *

    Validation Error:

    - *
      - *
    • - *

      Code: ValidationError - *

      - *
    • - *
    • - *

      Messages:

      - *
        - *
      • - *

        One or more parameter values were invalid.

        - *
      • - *
      • - *

        The update expression attempted to update the secondary - * index key beyond allowed size limits.

        - *
      • - *
      • - *

        The update expression attempted to update the secondary - * index key to unsupported type.

        - *
      • - *
      • - *

        An operand in the update expression has an incorrect data - * type.

        - *
      • - *
      • - *

        Item size to update has exceeded the maximum allowed - * size.

        - *
      • - *
      • - *

        Number overflow. Attempting to store a number with - * magnitude larger than supported range.

        - *
      • - *
      • - *

        Type mismatch for attribute to update.

        - *
      • - *
      • - *

        Nesting Levels have exceeded supported limits.

        - *
      • - *
      • - *

        The document path provided in the update expression is - * invalid for update.

        - *
      • - *
      • - *

        The provided expression refers to an attribute that does - * not exist in the item.

        - *
      • - *
      - *
    • - *
    - *
  • - *
- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class TransactGetItemsCommand extends TransactGetItemsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: TransactGetItemsInput; - output: TransactGetItemsOutput; - }; - sdk: { - input: TransactGetItemsCommandInput; - output: TransactGetItemsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactWriteItemsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactWriteItemsCommand.d.ts deleted file mode 100644 index 16edbcf8..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactWriteItemsCommand.d.ts +++ /dev/null @@ -1,659 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { TransactWriteItemsInput, TransactWriteItemsOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link TransactWriteItemsCommand}. - */ -export interface TransactWriteItemsCommandInput extends TransactWriteItemsInput { -} -/** - * @public - * - * The output of {@link TransactWriteItemsCommand}. - */ -export interface TransactWriteItemsCommandOutput extends TransactWriteItemsOutput, __MetadataBearer { -} -declare const TransactWriteItemsCommand_base: { - new (input: TransactWriteItemsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: TransactWriteItemsCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

- * TransactWriteItems is a synchronous write operation that groups up to 100 - * action requests. These actions can target items in different tables, but not in - * different Amazon Web Services accounts or Regions, and no two actions can target the same - * item. For example, you cannot both ConditionCheck and Update - * the same item. The aggregate size of the items in the transaction cannot exceed 4 - * MB.

- *

The actions are completed atomically so that either all of them succeed, or all of - * them fail. They are defined by the following objects:

- *
    - *
  • - *

    - * Put  —   Initiates a PutItem - * operation to write a new item. This structure specifies the primary key of the - * item to be written, the name of the table to write it in, an optional condition - * expression that must be satisfied for the write to succeed, a list of the item's - * attributes, and a field indicating whether to retrieve the item's attributes if - * the condition is not met.

    - *
  • - *
  • - *

    - * Update  —   Initiates an UpdateItem - * operation to update an existing item. This structure specifies the primary key - * of the item to be updated, the name of the table where it resides, an optional - * condition expression that must be satisfied for the update to succeed, an - * expression that defines one or more attributes to be updated, and a field - * indicating whether to retrieve the item's attributes if the condition is not - * met.

    - *
  • - *
  • - *

    - * Delete  —   Initiates a DeleteItem - * operation to delete an existing item. This structure specifies the primary key - * of the item to be deleted, the name of the table where it resides, an optional - * condition expression that must be satisfied for the deletion to succeed, and a - * field indicating whether to retrieve the item's attributes if the condition is - * not met.

    - *
  • - *
  • - *

    - * ConditionCheck  —   Applies a condition to an item - * that is not being modified by the transaction. This structure specifies the - * primary key of the item to be checked, the name of the table where it resides, a - * condition expression that must be satisfied for the transaction to succeed, and - * a field indicating whether to retrieve the item's attributes if the condition is - * not met.

    - *
  • - *
- *

DynamoDB rejects the entire TransactWriteItems request if any of the - * following is true:

- *
    - *
  • - *

    A condition in one of the condition expressions is not met.

    - *
  • - *
  • - *

    An ongoing operation is in the process of updating the same item.

    - *
  • - *
  • - *

    There is insufficient provisioned capacity for the transaction to be - * completed.

    - *
  • - *
  • - *

    An item size becomes too large (bigger than 400 KB), a local secondary index - * (LSI) becomes too large, or a similar validation error occurs because of changes - * made by the transaction.

    - *
  • - *
  • - *

    The aggregate size of the items in the transaction exceeds 4 MB.

    - *
  • - *
  • - *

    There is a user error, such as an invalid data format.

    - *
  • - *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, TransactWriteItemsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // TransactWriteItemsInput - * TransactItems: [ // TransactWriteItemList // required - * { // TransactWriteItem - * ConditionCheck: { // ConditionCheck - * Key: { // Key // required - * "": { // AttributeValue Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ // StringSetAttributeValue - * "STRING_VALUE", - * ], - * NS: [ // NumberSetAttributeValue - * "STRING_VALUE", - * ], - * BS: [ // BinarySetAttributeValue - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { // MapAttributeValue - * "": {// Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ - * "STRING_VALUE", - * ], - * NS: [ - * "STRING_VALUE", - * ], - * BS: [ - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { - * "": "", - * }, - * L: [ // ListAttributeValue - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * L: [ - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * TableName: "STRING_VALUE", // required - * ConditionExpression: "STRING_VALUE", // required - * ExpressionAttributeNames: { // ExpressionAttributeNameMap - * "": "STRING_VALUE", - * }, - * ExpressionAttributeValues: { // ExpressionAttributeValueMap - * "": "", - * }, - * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE", - * }, - * Put: { // Put - * Item: { // PutItemInputAttributeMap // required - * "": "", - * }, - * TableName: "STRING_VALUE", // required - * ConditionExpression: "STRING_VALUE", - * ExpressionAttributeNames: { - * "": "STRING_VALUE", - * }, - * ExpressionAttributeValues: { - * "": "", - * }, - * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE", - * }, - * Delete: { // Delete - * Key: { // required - * "": "", - * }, - * TableName: "STRING_VALUE", // required - * ConditionExpression: "STRING_VALUE", - * ExpressionAttributeNames: { - * "": "STRING_VALUE", - * }, - * ExpressionAttributeValues: { - * "": "", - * }, - * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE", - * }, - * Update: { // Update - * Key: { // required - * "": "", - * }, - * UpdateExpression: "STRING_VALUE", // required - * TableName: "STRING_VALUE", // required - * ConditionExpression: "STRING_VALUE", - * ExpressionAttributeNames: { - * "": "STRING_VALUE", - * }, - * ExpressionAttributeValues: { - * "": "", - * }, - * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE", - * }, - * }, - * ], - * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE", - * ReturnItemCollectionMetrics: "SIZE" || "NONE", - * ClientRequestToken: "STRING_VALUE", - * }; - * const command = new TransactWriteItemsCommand(input); - * const response = await client.send(command); - * // { // TransactWriteItemsOutput - * // ConsumedCapacity: [ // ConsumedCapacityMultiple - * // { // ConsumedCapacity - * // TableName: "STRING_VALUE", - * // CapacityUnits: Number("double"), - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // Table: { // Capacity - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // GlobalSecondaryIndexes: { - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // }, - * // ], - * // ItemCollectionMetrics: { // ItemCollectionMetricsPerTable - * // "": [ // ItemCollectionMetricsMultiple - * // { // ItemCollectionMetrics - * // ItemCollectionKey: { // ItemCollectionKeyAttributeMap - * // "": { // AttributeValue Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ // StringSetAttributeValue - * // "STRING_VALUE", - * // ], - * // NS: [ // NumberSetAttributeValue - * // "STRING_VALUE", - * // ], - * // BS: [ // BinarySetAttributeValue - * // new Uint8Array(), - * // ], - * // M: { // MapAttributeValue - * // "": {// Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ - * // "STRING_VALUE", - * // ], - * // NS: [ - * // "STRING_VALUE", - * // ], - * // BS: [ - * // new Uint8Array(), - * // ], - * // M: { - * // "": "", - * // }, - * // L: [ // ListAttributeValue - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // L: [ - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // SizeEstimateRangeGB: [ // ItemCollectionSizeEstimateRange - * // Number("double"), - * // ], - * // }, - * // ], - * // }, - * // }; - * - * ``` - * - * @param TransactWriteItemsCommandInput - {@link TransactWriteItemsCommandInput} - * @returns {@link TransactWriteItemsCommandOutput} - * @see {@link TransactWriteItemsCommandInput} for command's `input` shape. - * @see {@link TransactWriteItemsCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link IdempotentParameterMismatchException} (client fault) - *

DynamoDB rejected the request because you retried a request with a - * different payload but with an idempotent token that was already used.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link ProvisionedThroughputExceededException} (client fault) - *

The request was denied due to request throttling. For detailed information about - * why the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception. The Amazon Web Services - * SDKs for DynamoDB automatically retry requests that receive this exception. - * Your request is eventually successful, unless your retry queue is too large to finish. - * Reduce the frequency of requests and use exponential backoff. For more information, go - * to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

- * - * @throws {@link RequestLimitExceeded} (client fault) - *

Throughput exceeds the current throughput quota for your account. For detailed - * information about why the request was throttled and the ARN of the impacted resource, - * find the ThrottlingReason field in the returned exception. Contact Amazon Web Services Support to request a quota - * increase.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request was denied due to request throttling. For detailed information about why - * the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception.

- * - * @throws {@link TransactionCanceledException} (client fault) - *

The entire transaction request was canceled.

- *

DynamoDB cancels a TransactWriteItems request under the following - * circumstances:

- *
    - *
  • - *

    A condition in one of the condition expressions is not met.

    - *
  • - *
  • - *

    A table in the TransactWriteItems request is in a different - * account or region.

    - *
  • - *
  • - *

    More than one action in the TransactWriteItems operation - * targets the same item.

    - *
  • - *
  • - *

    There is insufficient provisioned capacity for the transaction to be - * completed.

    - *
  • - *
  • - *

    An item size becomes too large (larger than 400 KB), or a local secondary - * index (LSI) becomes too large, or a similar validation error occurs because of - * changes made by the transaction.

    - *
  • - *
  • - *

    There is a user error, such as an invalid data format.

    - *
  • - *
  • - *

    There is an ongoing TransactWriteItems operation that - * conflicts with a concurrent TransactWriteItems request. In this - * case the TransactWriteItems operation fails with a - * TransactionCanceledException.

    - *
  • - *
- *

DynamoDB cancels a TransactGetItems request under the - * following circumstances:

- *
    - *
  • - *

    There is an ongoing TransactGetItems operation that conflicts - * with a concurrent PutItem, UpdateItem, - * DeleteItem or TransactWriteItems request. In this - * case the TransactGetItems operation fails with a - * TransactionCanceledException.

    - *
  • - *
  • - *

    A table in the TransactGetItems request is in a different - * account or region.

    - *
  • - *
  • - *

    There is insufficient provisioned capacity for the transaction to be - * completed.

    - *
  • - *
  • - *

    There is a user error, such as an invalid data format.

    - *
  • - *
- * - *

DynamoDB lists the cancellation reasons on the - * CancellationReasons property. Transaction cancellation reasons are ordered in the order of requested - * items, if an item has no error it will have None code and - * Null message.

- *
- *

Cancellation reason codes and possible error messages:

- *
    - *
  • - *

    No Errors:

    - *
      - *
    • - *

      Code: None - *

      - *
    • - *
    • - *

      Message: null - *

      - *
    • - *
    - *
  • - *
  • - *

    Conditional Check Failed:

    - *
      - *
    • - *

      Code: ConditionalCheckFailed - *

      - *
    • - *
    • - *

      Message: The conditional request failed.

      - *
    • - *
    - *
  • - *
  • - *

    Item Collection Size Limit Exceeded:

    - *
      - *
    • - *

      Code: ItemCollectionSizeLimitExceeded - *

      - *
    • - *
    • - *

      Message: Collection size exceeded.

      - *
    • - *
    - *
  • - *
  • - *

    Transaction Conflict:

    - *
      - *
    • - *

      Code: TransactionConflict - *

      - *
    • - *
    • - *

      Message: Transaction is ongoing for the item.

      - *
    • - *
    - *
  • - *
  • - *

    Provisioned Throughput Exceeded:

    - *
      - *
    • - *

      Code: ProvisionedThroughputExceeded - *

      - *
    • - *
    • - *

      Messages:

      - *
        - *
      • - *

        The level of configured provisioned throughput for the - * table was exceeded. Consider increasing your provisioning level - * with the UpdateTable API.

        - * - *

        This Message is received when provisioned throughput is - * exceeded is on a provisioned DynamoDB - * table.

        - *
        - *
      • - *
      • - *

        The level of configured provisioned throughput for one or - * more global secondary indexes of the table was exceeded. - * Consider increasing your provisioning level for the - * under-provisioned global secondary indexes with the UpdateTable - * API.

        - * - *

        This message is returned when provisioned throughput is - * exceeded is on a provisioned GSI.

        - *
        - *
      • - *
      - *
    • - *
    - *
  • - *
  • - *

    Throttling Error:

    - *
      - *
    • - *

      Code: ThrottlingError - *

      - *
    • - *
    • - *

      Messages:

      - *
        - *
      • - *

        Throughput exceeds the current capacity of your table or - * index. DynamoDB is automatically scaling your table or - * index so please try again shortly. If exceptions persist, check - * if you have a hot key: - * https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html.

        - * - *

        This message is returned when writes get throttled on an - * On-Demand table as DynamoDB is automatically - * scaling the table.

        - *
        - *
      • - *
      • - *

        Throughput exceeds the current capacity for one or more - * global secondary indexes. DynamoDB is automatically - * scaling your index so please try again shortly.

        - * - *

        This message is returned when writes get throttled on an - * On-Demand GSI as DynamoDB is automatically scaling - * the GSI.

        - *
        - *
      • - *
      - *
    • - *
    - *
  • - *
  • - *

    Validation Error:

    - *
      - *
    • - *

      Code: ValidationError - *

      - *
    • - *
    • - *

      Messages:

      - *
        - *
      • - *

        One or more parameter values were invalid.

        - *
      • - *
      • - *

        The update expression attempted to update the secondary - * index key beyond allowed size limits.

        - *
      • - *
      • - *

        The update expression attempted to update the secondary - * index key to unsupported type.

        - *
      • - *
      • - *

        An operand in the update expression has an incorrect data - * type.

        - *
      • - *
      • - *

        Item size to update has exceeded the maximum allowed - * size.

        - *
      • - *
      • - *

        Number overflow. Attempting to store a number with - * magnitude larger than supported range.

        - *
      • - *
      • - *

        Type mismatch for attribute to update.

        - *
      • - *
      • - *

        Nesting Levels have exceeded supported limits.

        - *
      • - *
      • - *

        The document path provided in the update expression is - * invalid for update.

        - *
      • - *
      • - *

        The provided expression refers to an attribute that does - * not exist in the item.

        - *
      • - *
      - *
    • - *
    - *
  • - *
- * - * @throws {@link TransactionInProgressException} (client fault) - *

The transaction with the given request token is already in progress.

- *

Recommended Settings

- * - *

This is a general recommendation for handling the - * TransactionInProgressException. These settings help ensure that the - * client retries will trigger completion of the ongoing - * TransactWriteItems request.

- *
- *
    - *
  • - *

    Set clientExecutionTimeout to a value that allows at least one - * retry to be processed after 5 seconds have elapsed since the first attempt for - * the TransactWriteItems operation.

    - *
  • - *
  • - *

    Set socketTimeout to a value a little lower than the - * requestTimeout setting.

    - *
  • - *
  • - *

    - * requestTimeout should be set based on the time taken for the - * individual retries of a single HTTP request for your use case, but setting it to - * 1 second or higher should work well to reduce chances of retries and - * TransactionInProgressException errors.

    - *
  • - *
  • - *

    Use exponential backoff when retrying and tune backoff if needed.

    - *
  • - *
- *

Assuming default retry policy, example timeout settings based on the guidelines - * above are as follows:

- *

Example timeline:

- *
    - *
  • - *

    0-1000 first attempt

    - *
  • - *
  • - *

    1000-1500 first sleep/delay (default retry policy uses 500 ms as base delay - * for 4xx errors)

    - *
  • - *
  • - *

    1500-2500 second attempt

    - *
  • - *
  • - *

    2500-3500 second sleep/delay (500 * 2, exponential backoff)

    - *
  • - *
  • - *

    3500-4500 third attempt

    - *
  • - *
  • - *

    4500-6500 third sleep/delay (500 * 2^2)

    - *
  • - *
  • - *

    6500-7500 fourth attempt (this can trigger inline recovery since 5 seconds - * have elapsed since the first attempt reached TC)

    - *
  • - *
- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class TransactWriteItemsCommand extends TransactWriteItemsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: TransactWriteItemsInput; - output: TransactWriteItemsOutput; - }; - sdk: { - input: TransactWriteItemsCommandInput; - output: TransactWriteItemsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UntagResourceCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UntagResourceCommand.d.ts deleted file mode 100644 index dbdb3630..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UntagResourceCommand.d.ts +++ /dev/null @@ -1,140 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { UntagResourceInput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UntagResourceCommand}. - */ -export interface UntagResourceCommandInput extends UntagResourceInput { -} -/** - * @public - * - * The output of {@link UntagResourceCommand}. - */ -export interface UntagResourceCommandOutput extends __MetadataBearer { -} -declare const UntagResourceCommand_base: { - new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Removes the association of tags from an Amazon DynamoDB resource. You can call - * UntagResource up to five times per second, per account.

- *
    - *
  • - *

    - * UntagResource is an asynchronous operation. If you issue a ListTagsOfResource request immediately after an - * UntagResource request, DynamoDB might return your - * previous tag set, if there was one, or an empty tag set. This is because - * ListTagsOfResource uses an eventually consistent query, and the - * metadata for your tags or table might not be available at that moment. Wait for - * a few seconds, and then try the ListTagsOfResource request - * again.

    - *
  • - *
  • - *

    The application or removal of tags using TagResource and - * UntagResource APIs is eventually consistent. - * ListTagsOfResource API will only reflect the changes after a - * few seconds.

    - *
  • - *
- *

For an overview on tagging DynamoDB resources, see Tagging for DynamoDB - * in the Amazon DynamoDB Developer Guide.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, UntagResourceCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, UntagResourceCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // UntagResourceInput - * ResourceArn: "STRING_VALUE", // required - * TagKeys: [ // TagKeyList // required - * "STRING_VALUE", - * ], - * }; - * const command = new UntagResourceCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param UntagResourceCommandInput - {@link UntagResourceCommandInput} - * @returns {@link UntagResourceCommandOutput} - * @see {@link UntagResourceCommandInput} for command's `input` shape. - * @see {@link UntagResourceCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example:

- *
    - *
  • - *

    You attempted to recreate an existing table.

    - *
  • - *
  • - *

    You tried to delete a table currently in the CREATING - * state.

    - *
  • - *
  • - *

    You tried to update a resource that was already being updated.

    - *
  • - *
- *

When appropriate, wait for the ongoing update to complete and attempt the request - * again.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class UntagResourceCommand extends UntagResourceCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: UntagResourceInput; - output: {}; - }; - sdk: { - input: UntagResourceCommandInput; - output: UntagResourceCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContinuousBackupsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContinuousBackupsCommand.d.ts deleted file mode 100644 index c1be6f6f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +++ /dev/null @@ -1,111 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { UpdateContinuousBackupsInput, UpdateContinuousBackupsOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateContinuousBackupsCommand}. - */ -export interface UpdateContinuousBackupsCommandInput extends UpdateContinuousBackupsInput { -} -/** - * @public - * - * The output of {@link UpdateContinuousBackupsCommand}. - */ -export interface UpdateContinuousBackupsCommandOutput extends UpdateContinuousBackupsOutput, __MetadataBearer { -} -declare const UpdateContinuousBackupsCommand_base: { - new (input: UpdateContinuousBackupsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: UpdateContinuousBackupsCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

- * UpdateContinuousBackups enables or disables point in time recovery for - * the specified table. A successful UpdateContinuousBackups call returns the - * current ContinuousBackupsDescription. Continuous backups are - * ENABLED on all tables at table creation. If point in time recovery is - * enabled, PointInTimeRecoveryStatus will be set to ENABLED.

- *

Once continuous backups and point in time recovery are enabled, you can restore to - * any point in time within EarliestRestorableDateTime and - * LatestRestorableDateTime.

- *

- * LatestRestorableDateTime is typically 5 minutes before the current time. - * You can restore your table to any point in time in the last 35 days. You can set the - * RecoveryPeriodInDays to any value between 1 and 35 days.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, UpdateContinuousBackupsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, UpdateContinuousBackupsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // UpdateContinuousBackupsInput - * TableName: "STRING_VALUE", // required - * PointInTimeRecoverySpecification: { // PointInTimeRecoverySpecification - * PointInTimeRecoveryEnabled: true || false, // required - * RecoveryPeriodInDays: Number("int"), - * }, - * }; - * const command = new UpdateContinuousBackupsCommand(input); - * const response = await client.send(command); - * // { // UpdateContinuousBackupsOutput - * // ContinuousBackupsDescription: { // ContinuousBackupsDescription - * // ContinuousBackupsStatus: "ENABLED" || "DISABLED", // required - * // PointInTimeRecoveryDescription: { // PointInTimeRecoveryDescription - * // PointInTimeRecoveryStatus: "ENABLED" || "DISABLED", - * // RecoveryPeriodInDays: Number("int"), - * // EarliestRestorableDateTime: new Date("TIMESTAMP"), - * // LatestRestorableDateTime: new Date("TIMESTAMP"), - * // }, - * // }, - * // }; - * - * ``` - * - * @param UpdateContinuousBackupsCommandInput - {@link UpdateContinuousBackupsCommandInput} - * @returns {@link UpdateContinuousBackupsCommandOutput} - * @see {@link UpdateContinuousBackupsCommandInput} for command's `input` shape. - * @see {@link UpdateContinuousBackupsCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link ContinuousBackupsUnavailableException} (client fault) - *

Backups have not yet been enabled for this table.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link TableNotFoundException} (client fault) - *

A source table with the name TableName does not currently exist within - * the subscriber's account or the subscriber is operating in the wrong Amazon Web Services - * Region.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class UpdateContinuousBackupsCommand extends UpdateContinuousBackupsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: UpdateContinuousBackupsInput; - output: UpdateContinuousBackupsOutput; - }; - sdk: { - input: UpdateContinuousBackupsCommandInput; - output: UpdateContinuousBackupsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContributorInsightsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContributorInsightsCommand.d.ts deleted file mode 100644 index 7a7c7e19..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContributorInsightsCommand.d.ts +++ /dev/null @@ -1,93 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { UpdateContributorInsightsInput, UpdateContributorInsightsOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateContributorInsightsCommand}. - */ -export interface UpdateContributorInsightsCommandInput extends UpdateContributorInsightsInput { -} -/** - * @public - * - * The output of {@link UpdateContributorInsightsCommand}. - */ -export interface UpdateContributorInsightsCommandOutput extends UpdateContributorInsightsOutput, __MetadataBearer { -} -declare const UpdateContributorInsightsCommand_base: { - new (input: UpdateContributorInsightsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: UpdateContributorInsightsCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Updates the status for contributor insights for a specific table or index. CloudWatch - * Contributor Insights for DynamoDB graphs display the partition key and (if applicable) - * sort key of frequently accessed items and frequently throttled items in plaintext. If - * you require the use of Amazon Web Services Key Management Service (KMS) to encrypt this - * table’s partition key and sort key data with an Amazon Web Services managed key or - * customer managed key, you should not enable CloudWatch Contributor Insights for DynamoDB - * for this table.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, UpdateContributorInsightsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, UpdateContributorInsightsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // UpdateContributorInsightsInput - * TableName: "STRING_VALUE", // required - * IndexName: "STRING_VALUE", - * ContributorInsightsAction: "ENABLE" || "DISABLE", // required - * ContributorInsightsMode: "ACCESSED_AND_THROTTLED_KEYS" || "THROTTLED_KEYS", - * }; - * const command = new UpdateContributorInsightsCommand(input); - * const response = await client.send(command); - * // { // UpdateContributorInsightsOutput - * // TableName: "STRING_VALUE", - * // IndexName: "STRING_VALUE", - * // ContributorInsightsStatus: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "FAILED", - * // ContributorInsightsMode: "ACCESSED_AND_THROTTLED_KEYS" || "THROTTLED_KEYS", - * // }; - * - * ``` - * - * @param UpdateContributorInsightsCommandInput - {@link UpdateContributorInsightsCommandInput} - * @returns {@link UpdateContributorInsightsCommandOutput} - * @see {@link UpdateContributorInsightsCommandInput} for command's `input` shape. - * @see {@link UpdateContributorInsightsCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class UpdateContributorInsightsCommand extends UpdateContributorInsightsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: UpdateContributorInsightsInput; - output: UpdateContributorInsightsOutput; - }; - sdk: { - input: UpdateContributorInsightsCommandInput; - output: UpdateContributorInsightsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableCommand.d.ts deleted file mode 100644 index 32d2287a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableCommand.d.ts +++ /dev/null @@ -1,180 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { UpdateGlobalTableInput, UpdateGlobalTableOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateGlobalTableCommand}. - */ -export interface UpdateGlobalTableCommandInput extends UpdateGlobalTableInput { -} -/** - * @public - * - * The output of {@link UpdateGlobalTableCommand}. - */ -export interface UpdateGlobalTableCommandOutput extends UpdateGlobalTableOutput, __MetadataBearer { -} -declare const UpdateGlobalTableCommand_base: { - new (input: UpdateGlobalTableCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: UpdateGlobalTableCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Adds or removes replicas in the specified global table. The global table must already - * exist to be able to use this operation. Any replica to be added must be empty, have the - * same name as the global table, have the same key schema, have DynamoDB Streams enabled, - * and have the same provisioned and maximum write capacity units.

- * - *

This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy).

- *

To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.

- *
- * - *

If you are using global tables Version - * 2019.11.21 (Current) you can use UpdateTable instead.

- *

Although you can use UpdateGlobalTable to add replicas and remove - * replicas in a single request, for simplicity we recommend that you issue separate - * requests for adding or removing replicas.

- *
- *

If global secondary indexes are specified, then the following conditions must also be - * met:

- *
    - *
  • - *

    The global secondary indexes must have the same name.

    - *
  • - *
  • - *

    The global secondary indexes must have the same hash key and sort key (if - * present).

    - *
  • - *
  • - *

    The global secondary indexes must have the same provisioned and maximum write - * capacity units.

    - *
  • - *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, UpdateGlobalTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, UpdateGlobalTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // UpdateGlobalTableInput - * GlobalTableName: "STRING_VALUE", // required - * ReplicaUpdates: [ // ReplicaUpdateList // required - * { // ReplicaUpdate - * Create: { // CreateReplicaAction - * RegionName: "STRING_VALUE", // required - * }, - * Delete: { // DeleteReplicaAction - * RegionName: "STRING_VALUE", // required - * }, - * }, - * ], - * }; - * const command = new UpdateGlobalTableCommand(input); - * const response = await client.send(command); - * // { // UpdateGlobalTableOutput - * // GlobalTableDescription: { // GlobalTableDescription - * // ReplicationGroup: [ // ReplicaDescriptionList - * // { // ReplicaDescription - * // RegionName: "STRING_VALUE", - * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // ReplicaArn: "STRING_VALUE", - * // ReplicaStatusDescription: "STRING_VALUE", - * // ReplicaStatusPercentProgress: "STRING_VALUE", - * // KMSMasterKeyId: "STRING_VALUE", - * // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { // OnDemandThroughputOverride - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // TableWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList - * // { // ReplicaGlobalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // ProvisionedThroughputOverride: { - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // GlobalSecondaryIndexWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // }, - * // }, - * // ], - * // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"), - * // ReplicaTableClassSummary: { // TableClassSummary - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * // }, - * // ], - * // GlobalTableArn: "STRING_VALUE", - * // CreationDateTime: new Date("TIMESTAMP"), - * // GlobalTableStatus: "CREATING" || "ACTIVE" || "DELETING" || "UPDATING", - * // GlobalTableName: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param UpdateGlobalTableCommandInput - {@link UpdateGlobalTableCommandInput} - * @returns {@link UpdateGlobalTableCommandOutput} - * @see {@link UpdateGlobalTableCommandInput} for command's `input` shape. - * @see {@link UpdateGlobalTableCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link GlobalTableNotFoundException} (client fault) - *

The specified global table does not exist.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link ReplicaAlreadyExistsException} (client fault) - *

The specified replica is already part of the global table.

- * - * @throws {@link ReplicaNotFoundException} (client fault) - *

The specified replica is no longer part of the global table.

- * - * @throws {@link TableNotFoundException} (client fault) - *

A source table with the name TableName does not currently exist within - * the subscriber's account or the subscriber is operating in the wrong Amazon Web Services - * Region.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class UpdateGlobalTableCommand extends UpdateGlobalTableCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: UpdateGlobalTableInput; - output: UpdateGlobalTableOutput; - }; - sdk: { - input: UpdateGlobalTableCommandInput; - output: UpdateGlobalTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts deleted file mode 100644 index 6945bbfd..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +++ /dev/null @@ -1,286 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { UpdateGlobalTableSettingsInput, UpdateGlobalTableSettingsOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateGlobalTableSettingsCommand}. - */ -export interface UpdateGlobalTableSettingsCommandInput extends UpdateGlobalTableSettingsInput { -} -/** - * @public - * - * The output of {@link UpdateGlobalTableSettingsCommand}. - */ -export interface UpdateGlobalTableSettingsCommandOutput extends UpdateGlobalTableSettingsOutput, __MetadataBearer { -} -declare const UpdateGlobalTableSettingsCommand_base: { - new (input: UpdateGlobalTableSettingsCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: UpdateGlobalTableSettingsCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Updates settings for a global table.

- * - *

This documentation is for version 2017.11.29 (Legacy) of global tables, which should be avoided for new global tables. Customers should use Global Tables version 2019.11.21 (Current) when possible, because it provides greater flexibility, higher efficiency, and consumes less write capacity than 2017.11.29 (Legacy).

- *

To determine which version you're using, see Determining the global table version you are using. To update existing global tables from version 2017.11.29 (Legacy) to version 2019.11.21 (Current), see Upgrading global tables.

- *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, UpdateGlobalTableSettingsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, UpdateGlobalTableSettingsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // UpdateGlobalTableSettingsInput - * GlobalTableName: "STRING_VALUE", // required - * GlobalTableBillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * GlobalTableProvisionedWriteCapacityUnits: Number("long"), - * GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate: { // AutoScalingSettingsUpdate - * MinimumUnits: Number("long"), - * MaximumUnits: Number("long"), - * AutoScalingDisabled: true || false, - * AutoScalingRoleArn: "STRING_VALUE", - * ScalingPolicyUpdate: { // AutoScalingPolicyUpdate - * PolicyName: "STRING_VALUE", - * TargetTrackingScalingPolicyConfiguration: { // AutoScalingTargetTrackingScalingPolicyConfigurationUpdate - * DisableScaleIn: true || false, - * ScaleInCooldown: Number("int"), - * ScaleOutCooldown: Number("int"), - * TargetValue: Number("double"), // required - * }, - * }, - * }, - * GlobalTableGlobalSecondaryIndexSettingsUpdate: [ // GlobalTableGlobalSecondaryIndexSettingsUpdateList - * { // GlobalTableGlobalSecondaryIndexSettingsUpdate - * IndexName: "STRING_VALUE", // required - * ProvisionedWriteCapacityUnits: Number("long"), - * ProvisionedWriteCapacityAutoScalingSettingsUpdate: { - * MinimumUnits: Number("long"), - * MaximumUnits: Number("long"), - * AutoScalingDisabled: true || false, - * AutoScalingRoleArn: "STRING_VALUE", - * ScalingPolicyUpdate: { - * PolicyName: "STRING_VALUE", - * TargetTrackingScalingPolicyConfiguration: { - * DisableScaleIn: true || false, - * ScaleInCooldown: Number("int"), - * ScaleOutCooldown: Number("int"), - * TargetValue: Number("double"), // required - * }, - * }, - * }, - * }, - * ], - * ReplicaSettingsUpdate: [ // ReplicaSettingsUpdateList - * { // ReplicaSettingsUpdate - * RegionName: "STRING_VALUE", // required - * ReplicaProvisionedReadCapacityUnits: Number("long"), - * ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate: { - * MinimumUnits: Number("long"), - * MaximumUnits: Number("long"), - * AutoScalingDisabled: true || false, - * AutoScalingRoleArn: "STRING_VALUE", - * ScalingPolicyUpdate: { - * PolicyName: "STRING_VALUE", - * TargetTrackingScalingPolicyConfiguration: { - * DisableScaleIn: true || false, - * ScaleInCooldown: Number("int"), - * ScaleOutCooldown: Number("int"), - * TargetValue: Number("double"), // required - * }, - * }, - * }, - * ReplicaGlobalSecondaryIndexSettingsUpdate: [ // ReplicaGlobalSecondaryIndexSettingsUpdateList - * { // ReplicaGlobalSecondaryIndexSettingsUpdate - * IndexName: "STRING_VALUE", // required - * ProvisionedReadCapacityUnits: Number("long"), - * ProvisionedReadCapacityAutoScalingSettingsUpdate: "", - * }, - * ], - * ReplicaTableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * }, - * ], - * }; - * const command = new UpdateGlobalTableSettingsCommand(input); - * const response = await client.send(command); - * // { // UpdateGlobalTableSettingsOutput - * // GlobalTableName: "STRING_VALUE", - * // ReplicaSettings: [ // ReplicaSettingsDescriptionList - * // { // ReplicaSettingsDescription - * // RegionName: "STRING_VALUE", // required - * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // ReplicaBillingModeSummary: { // BillingModeSummary - * // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * // LastUpdateToPayPerRequestDateTime: new Date("TIMESTAMP"), - * // }, - * // ReplicaProvisionedReadCapacityUnits: Number("long"), - * // ReplicaProvisionedReadCapacityAutoScalingSettings: { // AutoScalingSettingsDescription - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ // AutoScalingPolicyDescriptionList - * // { // AutoScalingPolicyDescription - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { // AutoScalingTargetTrackingScalingPolicyConfigurationDescription - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // ReplicaProvisionedWriteCapacityUnits: Number("long"), - * // ReplicaProvisionedWriteCapacityAutoScalingSettings: { - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ - * // { - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // ReplicaGlobalSecondaryIndexSettings: [ // ReplicaGlobalSecondaryIndexSettingsDescriptionList - * // { // ReplicaGlobalSecondaryIndexSettingsDescription - * // IndexName: "STRING_VALUE", // required - * // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // ProvisionedReadCapacityUnits: Number("long"), - * // ProvisionedReadCapacityAutoScalingSettings: { - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ - * // { - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // ProvisionedWriteCapacityUnits: Number("long"), - * // ProvisionedWriteCapacityAutoScalingSettings: { - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ - * // { - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // }, - * // ], - * // ReplicaTableClassSummary: { // TableClassSummary - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param UpdateGlobalTableSettingsCommandInput - {@link UpdateGlobalTableSettingsCommandInput} - * @returns {@link UpdateGlobalTableSettingsCommandOutput} - * @see {@link UpdateGlobalTableSettingsCommandInput} for command's `input` shape. - * @see {@link UpdateGlobalTableSettingsCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link GlobalTableNotFoundException} (client fault) - *

The specified global table does not exist.

- * - * @throws {@link IndexNotFoundException} (client fault) - *

The operation tried to access a nonexistent index.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link ReplicaNotFoundException} (client fault) - *

The specified replica is no longer part of the global table.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example:

- *
    - *
  • - *

    You attempted to recreate an existing table.

    - *
  • - *
  • - *

    You tried to delete a table currently in the CREATING - * state.

    - *
  • - *
  • - *

    You tried to update a resource that was already being updated.

    - *
  • - *
- *

When appropriate, wait for the ongoing update to complete and attempt the request - * again.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class UpdateGlobalTableSettingsCommand extends UpdateGlobalTableSettingsCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: UpdateGlobalTableSettingsInput; - output: UpdateGlobalTableSettingsOutput; - }; - sdk: { - input: UpdateGlobalTableSettingsCommandInput; - output: UpdateGlobalTableSettingsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateItemCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateItemCommand.d.ts deleted file mode 100644 index 7ac9b467..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateItemCommand.d.ts +++ /dev/null @@ -1,323 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { UpdateItemInput, UpdateItemOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateItemCommand}. - */ -export interface UpdateItemCommandInput extends UpdateItemInput { -} -/** - * @public - * - * The output of {@link UpdateItemCommand}. - */ -export interface UpdateItemCommandOutput extends UpdateItemOutput, __MetadataBearer { -} -declare const UpdateItemCommand_base: { - new (input: UpdateItemCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: UpdateItemCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Edits an existing item's attributes, or adds a new item to the table if it does not - * already exist. You can put, delete, or add attribute values. You can also perform a - * conditional update on an existing item (insert a new attribute name-value pair if it - * doesn't exist, or replace an existing name-value pair if it has certain expected - * attribute values).

- *

You can also return the item's attribute values in the same UpdateItem - * operation using the ReturnValues parameter.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, UpdateItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, UpdateItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // UpdateItemInput - * TableName: "STRING_VALUE", // required - * Key: { // Key // required - * "": { // AttributeValue Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ // StringSetAttributeValue - * "STRING_VALUE", - * ], - * NS: [ // NumberSetAttributeValue - * "STRING_VALUE", - * ], - * BS: [ // BinarySetAttributeValue - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { // MapAttributeValue - * "": {// Union: only one key present - * S: "STRING_VALUE", - * N: "STRING_VALUE", - * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * SS: [ - * "STRING_VALUE", - * ], - * NS: [ - * "STRING_VALUE", - * ], - * BS: [ - * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") - * ], - * M: { - * "": "", - * }, - * L: [ // ListAttributeValue - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * L: [ - * "", - * ], - * NULL: true || false, - * BOOL: true || false, - * }, - * }, - * AttributeUpdates: { // AttributeUpdates - * "": { // AttributeValueUpdate - * Value: "", - * Action: "ADD" || "PUT" || "DELETE", - * }, - * }, - * Expected: { // ExpectedAttributeMap - * "": { // ExpectedAttributeValue - * Value: "", - * Exists: true || false, - * ComparisonOperator: "EQ" || "NE" || "IN" || "LE" || "LT" || "GE" || "GT" || "BETWEEN" || "NOT_NULL" || "NULL" || "CONTAINS" || "NOT_CONTAINS" || "BEGINS_WITH", - * AttributeValueList: [ // AttributeValueList - * "", - * ], - * }, - * }, - * ConditionalOperator: "AND" || "OR", - * ReturnValues: "NONE" || "ALL_OLD" || "UPDATED_OLD" || "ALL_NEW" || "UPDATED_NEW", - * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE", - * ReturnItemCollectionMetrics: "SIZE" || "NONE", - * UpdateExpression: "STRING_VALUE", - * ConditionExpression: "STRING_VALUE", - * ExpressionAttributeNames: { // ExpressionAttributeNameMap - * "": "STRING_VALUE", - * }, - * ExpressionAttributeValues: { // ExpressionAttributeValueMap - * "": "", - * }, - * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE", - * }; - * const command = new UpdateItemCommand(input); - * const response = await client.send(command); - * // { // UpdateItemOutput - * // Attributes: { // AttributeMap - * // "": { // AttributeValue Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ // StringSetAttributeValue - * // "STRING_VALUE", - * // ], - * // NS: [ // NumberSetAttributeValue - * // "STRING_VALUE", - * // ], - * // BS: [ // BinarySetAttributeValue - * // new Uint8Array(), - * // ], - * // M: { // MapAttributeValue - * // "": {// Union: only one key present - * // S: "STRING_VALUE", - * // N: "STRING_VALUE", - * // B: new Uint8Array(), - * // SS: [ - * // "STRING_VALUE", - * // ], - * // NS: [ - * // "STRING_VALUE", - * // ], - * // BS: [ - * // new Uint8Array(), - * // ], - * // M: { - * // "": "", - * // }, - * // L: [ // ListAttributeValue - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // L: [ - * // "", - * // ], - * // NULL: true || false, - * // BOOL: true || false, - * // }, - * // }, - * // ConsumedCapacity: { // ConsumedCapacity - * // TableName: "STRING_VALUE", - * // CapacityUnits: Number("double"), - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // Table: { // Capacity - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // GlobalSecondaryIndexes: { - * // "": { - * // ReadCapacityUnits: Number("double"), - * // WriteCapacityUnits: Number("double"), - * // CapacityUnits: Number("double"), - * // }, - * // }, - * // }, - * // ItemCollectionMetrics: { // ItemCollectionMetrics - * // ItemCollectionKey: { // ItemCollectionKeyAttributeMap - * // "": "", - * // }, - * // SizeEstimateRangeGB: [ // ItemCollectionSizeEstimateRange - * // Number("double"), - * // ], - * // }, - * // }; - * - * ``` - * - * @param UpdateItemCommandInput - {@link UpdateItemCommandInput} - * @returns {@link UpdateItemCommandOutput} - * @see {@link UpdateItemCommandInput} for command's `input` shape. - * @see {@link UpdateItemCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link ConditionalCheckFailedException} (client fault) - *

A condition specified in the operation failed to be evaluated.

- * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link ItemCollectionSizeLimitExceededException} (client fault) - *

An item collection is too large. This exception is only returned for tables that - * have one or more local secondary indexes.

- * - * @throws {@link ProvisionedThroughputExceededException} (client fault) - *

The request was denied due to request throttling. For detailed information about - * why the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception. The Amazon Web Services - * SDKs for DynamoDB automatically retry requests that receive this exception. - * Your request is eventually successful, unless your retry queue is too large to finish. - * Reduce the frequency of requests and use exponential backoff. For more information, go - * to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

- * - * @throws {@link ReplicatedWriteConflictException} (client fault) - *

The request was rejected because one or more items in the request are being modified - * by a request in another Region.

- * - * @throws {@link RequestLimitExceeded} (client fault) - *

Throughput exceeds the current throughput quota for your account. For detailed - * information about why the request was throttled and the ARN of the impacted resource, - * find the ThrottlingReason field in the returned exception. Contact Amazon Web Services Support to request a quota - * increase.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link ThrottlingException} (client fault) - *

The request was denied due to request throttling. For detailed information about why - * the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception.

- * - * @throws {@link TransactionConflictException} (client fault) - *

Operation was rejected because there is an ongoing transaction for the - * item.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @example To update an item in a table - * ```javascript - * // This example updates an item in the Music table. It adds a new attribute (Year) and modifies the AlbumTitle attribute. All of the attributes in the item, as they appear after the update, are returned in the response. - * const input = { - * ExpressionAttributeNames: { - * #AT: "AlbumTitle", - * #Y: "Year" - * }, - * ExpressionAttributeValues: { - * :t: { - * S: "Louder Than Ever" - * }, - * :y: { - * N: "2015" - * } - * }, - * Key: { - * Artist: { - * S: "Acme Band" - * }, - * SongTitle: { - * S: "Happy Day" - * } - * }, - * ReturnValues: "ALL_NEW", - * TableName: "Music", - * UpdateExpression: "SET #Y = :y, #AT = :t" - * }; - * const command = new UpdateItemCommand(input); - * const response = await client.send(command); - * /* response is - * { - * Attributes: { - * AlbumTitle: { - * S: "Louder Than Ever" - * }, - * Artist: { - * S: "Acme Band" - * }, - * SongTitle: { - * S: "Happy Day" - * }, - * Year: { - * N: "2015" - * } - * } - * } - * *\/ - * ``` - * - * @public - */ -export declare class UpdateItemCommand extends UpdateItemCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: UpdateItemInput; - output: UpdateItemOutput; - }; - sdk: { - input: UpdateItemCommandInput; - output: UpdateItemCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts deleted file mode 100644 index 1351b85a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +++ /dev/null @@ -1,127 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { UpdateKinesisStreamingDestinationInput, UpdateKinesisStreamingDestinationOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateKinesisStreamingDestinationCommand}. - */ -export interface UpdateKinesisStreamingDestinationCommandInput extends UpdateKinesisStreamingDestinationInput { -} -/** - * @public - * - * The output of {@link UpdateKinesisStreamingDestinationCommand}. - */ -export interface UpdateKinesisStreamingDestinationCommandOutput extends UpdateKinesisStreamingDestinationOutput, __MetadataBearer { -} -declare const UpdateKinesisStreamingDestinationCommand_base: { - new (input: UpdateKinesisStreamingDestinationCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: UpdateKinesisStreamingDestinationCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

The command to update the Kinesis stream destination.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, UpdateKinesisStreamingDestinationCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, UpdateKinesisStreamingDestinationCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // UpdateKinesisStreamingDestinationInput - * TableName: "STRING_VALUE", // required - * StreamArn: "STRING_VALUE", // required - * UpdateKinesisStreamingConfiguration: { // UpdateKinesisStreamingConfiguration - * ApproximateCreationDateTimePrecision: "MILLISECOND" || "MICROSECOND", - * }, - * }; - * const command = new UpdateKinesisStreamingDestinationCommand(input); - * const response = await client.send(command); - * // { // UpdateKinesisStreamingDestinationOutput - * // TableName: "STRING_VALUE", - * // StreamArn: "STRING_VALUE", - * // DestinationStatus: "ENABLING" || "ACTIVE" || "DISABLING" || "DISABLED" || "ENABLE_FAILED" || "UPDATING", - * // UpdateKinesisStreamingConfiguration: { // UpdateKinesisStreamingConfiguration - * // ApproximateCreationDateTimePrecision: "MILLISECOND" || "MICROSECOND", - * // }, - * // }; - * - * ``` - * - * @param UpdateKinesisStreamingDestinationCommandInput - {@link UpdateKinesisStreamingDestinationCommandInput} - * @returns {@link UpdateKinesisStreamingDestinationCommandOutput} - * @see {@link UpdateKinesisStreamingDestinationCommandInput} for command's `input` shape. - * @see {@link UpdateKinesisStreamingDestinationCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example:

- *
    - *
  • - *

    You attempted to recreate an existing table.

    - *
  • - *
  • - *

    You tried to delete a table currently in the CREATING - * state.

    - *
  • - *
  • - *

    You tried to update a resource that was already being updated.

    - *
  • - *
- *

When appropriate, wait for the ongoing update to complete and attempt the request - * again.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class UpdateKinesisStreamingDestinationCommand extends UpdateKinesisStreamingDestinationCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: UpdateKinesisStreamingDestinationInput; - output: UpdateKinesisStreamingDestinationOutput; - }; - sdk: { - input: UpdateKinesisStreamingDestinationCommandInput; - output: UpdateKinesisStreamingDestinationCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableCommand.d.ts deleted file mode 100644 index e3fc443b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableCommand.d.ts +++ /dev/null @@ -1,459 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { UpdateTableInput, UpdateTableOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateTableCommand}. - */ -export interface UpdateTableCommandInput extends UpdateTableInput { -} -/** - * @public - * - * The output of {@link UpdateTableCommand}. - */ -export interface UpdateTableCommandOutput extends UpdateTableOutput, __MetadataBearer { -} -declare const UpdateTableCommand_base: { - new (input: UpdateTableCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: UpdateTableCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB - * Streams settings for a given table.

- *

You can only perform one of the following operations at once:

- *
    - *
  • - *

    Modify the provisioned throughput settings of the table.

    - *
  • - *
  • - *

    Remove a global secondary index from the table.

    - *
  • - *
  • - *

    Create a new global secondary index on the table. After the index begins - * backfilling, you can use UpdateTable to perform other - * operations.

    - *
  • - *
- *

- * UpdateTable is an asynchronous operation; while it's executing, the table - * status changes from ACTIVE to UPDATING. While it's - * UPDATING, you can't issue another UpdateTable request. - * When the table returns to the ACTIVE state, the UpdateTable - * operation is complete.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, UpdateTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, UpdateTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // UpdateTableInput - * AttributeDefinitions: [ // AttributeDefinitions - * { // AttributeDefinition - * AttributeName: "STRING_VALUE", // required - * AttributeType: "S" || "N" || "B", // required - * }, - * ], - * TableName: "STRING_VALUE", // required - * BillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * ProvisionedThroughput: { // ProvisionedThroughput - * ReadCapacityUnits: Number("long"), // required - * WriteCapacityUnits: Number("long"), // required - * }, - * GlobalSecondaryIndexUpdates: [ // GlobalSecondaryIndexUpdateList - * { // GlobalSecondaryIndexUpdate - * Update: { // UpdateGlobalSecondaryIndexAction - * IndexName: "STRING_VALUE", // required - * ProvisionedThroughput: { - * ReadCapacityUnits: Number("long"), // required - * WriteCapacityUnits: Number("long"), // required - * }, - * OnDemandThroughput: { // OnDemandThroughput - * MaxReadRequestUnits: Number("long"), - * MaxWriteRequestUnits: Number("long"), - * }, - * WarmThroughput: { // WarmThroughput - * ReadUnitsPerSecond: Number("long"), - * WriteUnitsPerSecond: Number("long"), - * }, - * }, - * Create: { // CreateGlobalSecondaryIndexAction - * IndexName: "STRING_VALUE", // required - * KeySchema: [ // KeySchema // required - * { // KeySchemaElement - * AttributeName: "STRING_VALUE", // required - * KeyType: "HASH" || "RANGE", // required - * }, - * ], - * Projection: { // Projection - * ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * NonKeyAttributes: [ // NonKeyAttributeNameList - * "STRING_VALUE", - * ], - * }, - * ProvisionedThroughput: { - * ReadCapacityUnits: Number("long"), // required - * WriteCapacityUnits: Number("long"), // required - * }, - * OnDemandThroughput: { - * MaxReadRequestUnits: Number("long"), - * MaxWriteRequestUnits: Number("long"), - * }, - * WarmThroughput: { - * ReadUnitsPerSecond: Number("long"), - * WriteUnitsPerSecond: Number("long"), - * }, - * }, - * Delete: { // DeleteGlobalSecondaryIndexAction - * IndexName: "STRING_VALUE", // required - * }, - * }, - * ], - * StreamSpecification: { // StreamSpecification - * StreamEnabled: true || false, // required - * StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY", - * }, - * SSESpecification: { // SSESpecification - * Enabled: true || false, - * SSEType: "AES256" || "KMS", - * KMSMasterKeyId: "STRING_VALUE", - * }, - * ReplicaUpdates: [ // ReplicationGroupUpdateList - * { // ReplicationGroupUpdate - * Create: { // CreateReplicationGroupMemberAction - * RegionName: "STRING_VALUE", // required - * KMSMasterKeyId: "STRING_VALUE", - * ProvisionedThroughputOverride: { // ProvisionedThroughputOverride - * ReadCapacityUnits: Number("long"), - * }, - * OnDemandThroughputOverride: { // OnDemandThroughputOverride - * MaxReadRequestUnits: Number("long"), - * }, - * GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexList - * { // ReplicaGlobalSecondaryIndex - * IndexName: "STRING_VALUE", // required - * ProvisionedThroughputOverride: { - * ReadCapacityUnits: Number("long"), - * }, - * OnDemandThroughputOverride: { - * MaxReadRequestUnits: Number("long"), - * }, - * }, - * ], - * TableClassOverride: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * }, - * Update: { // UpdateReplicationGroupMemberAction - * RegionName: "STRING_VALUE", // required - * KMSMasterKeyId: "STRING_VALUE", - * ProvisionedThroughputOverride: { - * ReadCapacityUnits: Number("long"), - * }, - * OnDemandThroughputOverride: { - * MaxReadRequestUnits: Number("long"), - * }, - * GlobalSecondaryIndexes: [ - * { - * IndexName: "STRING_VALUE", // required - * ProvisionedThroughputOverride: { - * ReadCapacityUnits: Number("long"), - * }, - * OnDemandThroughputOverride: { - * MaxReadRequestUnits: Number("long"), - * }, - * }, - * ], - * TableClassOverride: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * }, - * Delete: { // DeleteReplicationGroupMemberAction - * RegionName: "STRING_VALUE", // required - * }, - * }, - * ], - * TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * DeletionProtectionEnabled: true || false, - * MultiRegionConsistency: "EVENTUAL" || "STRONG", - * GlobalTableWitnessUpdates: [ // GlobalTableWitnessGroupUpdateList - * { // GlobalTableWitnessGroupUpdate - * Create: { // CreateGlobalTableWitnessGroupMemberAction - * RegionName: "STRING_VALUE", // required - * }, - * Delete: { // DeleteGlobalTableWitnessGroupMemberAction - * RegionName: "STRING_VALUE", // required - * }, - * }, - * ], - * OnDemandThroughput: { - * MaxReadRequestUnits: Number("long"), - * MaxWriteRequestUnits: Number("long"), - * }, - * WarmThroughput: { - * ReadUnitsPerSecond: Number("long"), - * WriteUnitsPerSecond: Number("long"), - * }, - * GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * }; - * const command = new UpdateTableCommand(input); - * const response = await client.send(command); - * // { // UpdateTableOutput - * // TableDescription: { // TableDescription - * // AttributeDefinitions: [ // AttributeDefinitions - * // { // AttributeDefinition - * // AttributeName: "STRING_VALUE", // required - * // AttributeType: "S" || "N" || "B", // required - * // }, - * // ], - * // TableName: "STRING_VALUE", - * // KeySchema: [ // KeySchema - * // { // KeySchemaElement - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // CreationDateTime: new Date("TIMESTAMP"), - * // ProvisionedThroughput: { // ProvisionedThroughputDescription - * // LastIncreaseDateTime: new Date("TIMESTAMP"), - * // LastDecreaseDateTime: new Date("TIMESTAMP"), - * // NumberOfDecreasesToday: Number("long"), - * // ReadCapacityUnits: Number("long"), - * // WriteCapacityUnits: Number("long"), - * // }, - * // TableSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // TableArn: "STRING_VALUE", - * // TableId: "STRING_VALUE", - * // BillingModeSummary: { // BillingModeSummary - * // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST", - * // LastUpdateToPayPerRequestDateTime: new Date("TIMESTAMP"), - * // }, - * // LocalSecondaryIndexes: [ // LocalSecondaryIndexDescriptionList - * // { // LocalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { // Projection - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ // NonKeyAttributeNameList - * // "STRING_VALUE", - * // ], - * // }, - * // IndexSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // IndexArn: "STRING_VALUE", - * // }, - * // ], - * // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexDescriptionList - * // { // GlobalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // KeySchema: [ - * // { - * // AttributeName: "STRING_VALUE", // required - * // KeyType: "HASH" || "RANGE", // required - * // }, - * // ], - * // Projection: { - * // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE", - * // NonKeyAttributes: [ - * // "STRING_VALUE", - * // ], - * // }, - * // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // Backfilling: true || false, - * // ProvisionedThroughput: { - * // LastIncreaseDateTime: new Date("TIMESTAMP"), - * // LastDecreaseDateTime: new Date("TIMESTAMP"), - * // NumberOfDecreasesToday: Number("long"), - * // ReadCapacityUnits: Number("long"), - * // WriteCapacityUnits: Number("long"), - * // }, - * // IndexSizeBytes: Number("long"), - * // ItemCount: Number("long"), - * // IndexArn: "STRING_VALUE", - * // OnDemandThroughput: { // OnDemandThroughput - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // GlobalSecondaryIndexWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // }, - * // }, - * // ], - * // StreamSpecification: { // StreamSpecification - * // StreamEnabled: true || false, // required - * // StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY", - * // }, - * // LatestStreamLabel: "STRING_VALUE", - * // LatestStreamArn: "STRING_VALUE", - * // GlobalTableVersion: "STRING_VALUE", - * // Replicas: [ // ReplicaDescriptionList - * // { // ReplicaDescription - * // RegionName: "STRING_VALUE", - * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // ReplicaArn: "STRING_VALUE", - * // ReplicaStatusDescription: "STRING_VALUE", - * // ReplicaStatusPercentProgress: "STRING_VALUE", - * // KMSMasterKeyId: "STRING_VALUE", - * // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { // OnDemandThroughputOverride - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { // TableWarmThroughputDescription - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList - * // { // ReplicaGlobalSecondaryIndexDescription - * // IndexName: "STRING_VALUE", - * // ProvisionedThroughputOverride: { - * // ReadCapacityUnits: Number("long"), - * // }, - * // OnDemandThroughputOverride: { - * // MaxReadRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // }, - * // }, - * // ], - * // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"), - * // ReplicaTableClassSummary: { // TableClassSummary - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * // }, - * // ], - * // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList - * // { // GlobalTableWitnessDescription - * // RegionName: "STRING_VALUE", - * // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE", - * // }, - * // ], - * // GlobalTableSettingsReplicationMode: "ENABLED" || "DISABLED" || "ENABLED_WITH_OVERRIDES", - * // RestoreSummary: { // RestoreSummary - * // SourceBackupArn: "STRING_VALUE", - * // SourceTableArn: "STRING_VALUE", - * // RestoreDateTime: new Date("TIMESTAMP"), // required - * // RestoreInProgress: true || false, // required - * // }, - * // SSEDescription: { // SSEDescription - * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING", - * // SSEType: "AES256" || "KMS", - * // KMSMasterKeyArn: "STRING_VALUE", - * // InaccessibleEncryptionDateTime: new Date("TIMESTAMP"), - * // }, - * // ArchivalSummary: { // ArchivalSummary - * // ArchivalDateTime: new Date("TIMESTAMP"), - * // ArchivalReason: "STRING_VALUE", - * // ArchivalBackupArn: "STRING_VALUE", - * // }, - * // TableClassSummary: { - * // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS", - * // LastUpdateDateTime: new Date("TIMESTAMP"), - * // }, - * // DeletionProtectionEnabled: true || false, - * // OnDemandThroughput: { - * // MaxReadRequestUnits: Number("long"), - * // MaxWriteRequestUnits: Number("long"), - * // }, - * // WarmThroughput: { - * // ReadUnitsPerSecond: Number("long"), - * // WriteUnitsPerSecond: Number("long"), - * // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // MultiRegionConsistency: "EVENTUAL" || "STRONG", - * // }, - * // }; - * - * ``` - * - * @param UpdateTableCommandInput - {@link UpdateTableCommandInput} - * @returns {@link UpdateTableCommandOutput} - * @see {@link UpdateTableCommandInput} for command's `input` shape. - * @see {@link UpdateTableCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example:

- *
    - *
  • - *

    You attempted to recreate an existing table.

    - *
  • - *
  • - *

    You tried to delete a table currently in the CREATING - * state.

    - *
  • - *
  • - *

    You tried to update a resource that was already being updated.

    - *
  • - *
- *

When appropriate, wait for the ongoing update to complete and attempt the request - * again.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class UpdateTableCommand extends UpdateTableCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: UpdateTableInput; - output: UpdateTableOutput; - }; - sdk: { - input: UpdateTableCommandInput; - output: UpdateTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts deleted file mode 100644 index 4ba4e94b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +++ /dev/null @@ -1,246 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { UpdateTableReplicaAutoScalingInput, UpdateTableReplicaAutoScalingOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateTableReplicaAutoScalingCommand}. - */ -export interface UpdateTableReplicaAutoScalingCommandInput extends UpdateTableReplicaAutoScalingInput { -} -/** - * @public - * - * The output of {@link UpdateTableReplicaAutoScalingCommand}. - */ -export interface UpdateTableReplicaAutoScalingCommandOutput extends UpdateTableReplicaAutoScalingOutput, __MetadataBearer { -} -declare const UpdateTableReplicaAutoScalingCommand_base: { - new (input: UpdateTableReplicaAutoScalingCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: UpdateTableReplicaAutoScalingCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

Updates auto scaling settings on your global tables at once.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, UpdateTableReplicaAutoScalingCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, UpdateTableReplicaAutoScalingCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // UpdateTableReplicaAutoScalingInput - * GlobalSecondaryIndexUpdates: [ // GlobalSecondaryIndexAutoScalingUpdateList - * { // GlobalSecondaryIndexAutoScalingUpdate - * IndexName: "STRING_VALUE", - * ProvisionedWriteCapacityAutoScalingUpdate: { // AutoScalingSettingsUpdate - * MinimumUnits: Number("long"), - * MaximumUnits: Number("long"), - * AutoScalingDisabled: true || false, - * AutoScalingRoleArn: "STRING_VALUE", - * ScalingPolicyUpdate: { // AutoScalingPolicyUpdate - * PolicyName: "STRING_VALUE", - * TargetTrackingScalingPolicyConfiguration: { // AutoScalingTargetTrackingScalingPolicyConfigurationUpdate - * DisableScaleIn: true || false, - * ScaleInCooldown: Number("int"), - * ScaleOutCooldown: Number("int"), - * TargetValue: Number("double"), // required - * }, - * }, - * }, - * }, - * ], - * TableName: "STRING_VALUE", // required - * ProvisionedWriteCapacityAutoScalingUpdate: { - * MinimumUnits: Number("long"), - * MaximumUnits: Number("long"), - * AutoScalingDisabled: true || false, - * AutoScalingRoleArn: "STRING_VALUE", - * ScalingPolicyUpdate: { - * PolicyName: "STRING_VALUE", - * TargetTrackingScalingPolicyConfiguration: { - * DisableScaleIn: true || false, - * ScaleInCooldown: Number("int"), - * ScaleOutCooldown: Number("int"), - * TargetValue: Number("double"), // required - * }, - * }, - * }, - * ReplicaUpdates: [ // ReplicaAutoScalingUpdateList - * { // ReplicaAutoScalingUpdate - * RegionName: "STRING_VALUE", // required - * ReplicaGlobalSecondaryIndexUpdates: [ // ReplicaGlobalSecondaryIndexAutoScalingUpdateList - * { // ReplicaGlobalSecondaryIndexAutoScalingUpdate - * IndexName: "STRING_VALUE", - * ProvisionedReadCapacityAutoScalingUpdate: "", - * }, - * ], - * ReplicaProvisionedReadCapacityAutoScalingUpdate: "", - * }, - * ], - * }; - * const command = new UpdateTableReplicaAutoScalingCommand(input); - * const response = await client.send(command); - * // { // UpdateTableReplicaAutoScalingOutput - * // TableAutoScalingDescription: { // TableAutoScalingDescription - * // TableName: "STRING_VALUE", - * // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // Replicas: [ // ReplicaAutoScalingDescriptionList - * // { // ReplicaAutoScalingDescription - * // RegionName: "STRING_VALUE", - * // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexAutoScalingDescriptionList - * // { // ReplicaGlobalSecondaryIndexAutoScalingDescription - * // IndexName: "STRING_VALUE", - * // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE", - * // ProvisionedReadCapacityAutoScalingSettings: { // AutoScalingSettingsDescription - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ // AutoScalingPolicyDescriptionList - * // { // AutoScalingPolicyDescription - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { // AutoScalingTargetTrackingScalingPolicyConfigurationDescription - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // ProvisionedWriteCapacityAutoScalingSettings: { - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ - * // { - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // }, - * // ], - * // ReplicaProvisionedReadCapacityAutoScalingSettings: { - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ - * // { - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // ReplicaProvisionedWriteCapacityAutoScalingSettings: { - * // MinimumUnits: Number("long"), - * // MaximumUnits: Number("long"), - * // AutoScalingDisabled: true || false, - * // AutoScalingRoleArn: "STRING_VALUE", - * // ScalingPolicies: [ - * // { - * // PolicyName: "STRING_VALUE", - * // TargetTrackingScalingPolicyConfiguration: { - * // DisableScaleIn: true || false, - * // ScaleInCooldown: Number("int"), - * // ScaleOutCooldown: Number("int"), - * // TargetValue: Number("double"), // required - * // }, - * // }, - * // ], - * // }, - * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED", - * // }, - * // ], - * // }, - * // }; - * - * ``` - * - * @param UpdateTableReplicaAutoScalingCommandInput - {@link UpdateTableReplicaAutoScalingCommandInput} - * @returns {@link UpdateTableReplicaAutoScalingCommandOutput} - * @see {@link UpdateTableReplicaAutoScalingCommandInput} for command's `input` shape. - * @see {@link UpdateTableReplicaAutoScalingCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example:

- *
    - *
  • - *

    You attempted to recreate an existing table.

    - *
  • - *
  • - *

    You tried to delete a table currently in the CREATING - * state.

    - *
  • - *
  • - *

    You tried to update a resource that was already being updated.

    - *
  • - *
- *

When appropriate, wait for the ongoing update to complete and attempt the request - * again.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class UpdateTableReplicaAutoScalingCommand extends UpdateTableReplicaAutoScalingCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: UpdateTableReplicaAutoScalingInput; - output: UpdateTableReplicaAutoScalingOutput; - }; - sdk: { - input: UpdateTableReplicaAutoScalingCommandInput; - output: UpdateTableReplicaAutoScalingCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTimeToLiveCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTimeToLiveCommand.d.ts deleted file mode 100644 index 5340e5c1..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTimeToLiveCommand.d.ts +++ /dev/null @@ -1,149 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient"; -import type { UpdateTimeToLiveInput, UpdateTimeToLiveOutput } from "../models/models_0"; -/** - * @public - */ -export type { __MetadataBearer }; -export { $Command }; -/** - * @public - * - * The input for {@link UpdateTimeToLiveCommand}. - */ -export interface UpdateTimeToLiveCommandInput extends UpdateTimeToLiveInput { -} -/** - * @public - * - * The output of {@link UpdateTimeToLiveCommand}. - */ -export interface UpdateTimeToLiveCommandOutput extends UpdateTimeToLiveOutput, __MetadataBearer { -} -declare const UpdateTimeToLiveCommand_base: { - new (input: UpdateTimeToLiveCommandInput): import("@smithy/smithy-client").CommandImpl; - new (input: UpdateTimeToLiveCommandInput): import("@smithy/smithy-client").CommandImpl; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -/** - *

The UpdateTimeToLive method enables or disables Time to Live (TTL) for - * the specified table. A successful UpdateTimeToLive call returns the current - * TimeToLiveSpecification. It can take up to one hour for the change to - * fully process. Any additional UpdateTimeToLive calls for the same table - * during this one hour duration result in a ValidationException.

- *

TTL compares the current time in epoch time format to the time stored in the TTL - * attribute of an item. If the epoch time value stored in the attribute is less than the - * current time, the item is marked as expired and subsequently deleted.

- * - *

The epoch time format is the number of seconds elapsed since 12:00:00 AM January - * 1, 1970 UTC.

- *
- *

DynamoDB deletes expired items on a best-effort basis to ensure availability of - * throughput for other data operations.

- * - *

DynamoDB typically deletes expired items within two days of expiration. The exact - * duration within which an item gets deleted after expiration is specific to the - * nature of the workload. Items that have expired and not been deleted will still show - * up in reads, queries, and scans.

- *
- *

As items are deleted, they are removed from any local secondary index and global - * secondary index immediately in the same eventually consistent way as a standard delete - * operation.

- *

For more information, see Time To Live in the - * Amazon DynamoDB Developer Guide.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { DynamoDBClient, UpdateTimeToLiveCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import - * // const { DynamoDBClient, UpdateTimeToLiveCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import - * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb"; - * const config = {}; // type is DynamoDBClientConfig - * const client = new DynamoDBClient(config); - * const input = { // UpdateTimeToLiveInput - * TableName: "STRING_VALUE", // required - * TimeToLiveSpecification: { // TimeToLiveSpecification - * Enabled: true || false, // required - * AttributeName: "STRING_VALUE", // required - * }, - * }; - * const command = new UpdateTimeToLiveCommand(input); - * const response = await client.send(command); - * // { // UpdateTimeToLiveOutput - * // TimeToLiveSpecification: { // TimeToLiveSpecification - * // Enabled: true || false, // required - * // AttributeName: "STRING_VALUE", // required - * // }, - * // }; - * - * ``` - * - * @param UpdateTimeToLiveCommandInput - {@link UpdateTimeToLiveCommandInput} - * @returns {@link UpdateTimeToLiveCommandOutput} - * @see {@link UpdateTimeToLiveCommandInput} for command's `input` shape. - * @see {@link UpdateTimeToLiveCommandOutput} for command's `response` shape. - * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape. - * - * @throws {@link InternalServerError} (server fault) - *

An error occurred on the server side.

- * - * @throws {@link InvalidEndpointException} (client fault) - * - * @throws {@link LimitExceededException} (client fault) - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example:

- *
    - *
  • - *

    You attempted to recreate an existing table.

    - *
  • - *
  • - *

    You tried to delete a table currently in the CREATING - * state.

    - *
  • - *
  • - *

    You tried to update a resource that was already being updated.

    - *
  • - *
- *

When appropriate, wait for the ongoing update to complete and attempt the request - * again.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * - * @throws {@link DynamoDBServiceException} - *

Base exception class for all service exceptions from DynamoDB service.

- * - * - * @public - */ -export declare class UpdateTimeToLiveCommand extends UpdateTimeToLiveCommand_base { - /** @internal type navigation helper, not in runtime. */ - protected static __types: { - api: { - input: UpdateTimeToLiveInput; - output: UpdateTimeToLiveOutput; - }; - sdk: { - input: UpdateTimeToLiveCommandInput; - output: UpdateTimeToLiveCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/index.d.ts deleted file mode 100644 index a5053a45..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/index.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -export * from "./BatchExecuteStatementCommand"; -export * from "./BatchGetItemCommand"; -export * from "./BatchWriteItemCommand"; -export * from "./CreateBackupCommand"; -export * from "./CreateGlobalTableCommand"; -export * from "./CreateTableCommand"; -export * from "./DeleteBackupCommand"; -export * from "./DeleteItemCommand"; -export * from "./DeleteResourcePolicyCommand"; -export * from "./DeleteTableCommand"; -export * from "./DescribeBackupCommand"; -export * from "./DescribeContinuousBackupsCommand"; -export * from "./DescribeContributorInsightsCommand"; -export * from "./DescribeEndpointsCommand"; -export * from "./DescribeExportCommand"; -export * from "./DescribeGlobalTableCommand"; -export * from "./DescribeGlobalTableSettingsCommand"; -export * from "./DescribeImportCommand"; -export * from "./DescribeKinesisStreamingDestinationCommand"; -export * from "./DescribeLimitsCommand"; -export * from "./DescribeTableCommand"; -export * from "./DescribeTableReplicaAutoScalingCommand"; -export * from "./DescribeTimeToLiveCommand"; -export * from "./DisableKinesisStreamingDestinationCommand"; -export * from "./EnableKinesisStreamingDestinationCommand"; -export * from "./ExecuteStatementCommand"; -export * from "./ExecuteTransactionCommand"; -export * from "./ExportTableToPointInTimeCommand"; -export * from "./GetItemCommand"; -export * from "./GetResourcePolicyCommand"; -export * from "./ImportTableCommand"; -export * from "./ListBackupsCommand"; -export * from "./ListContributorInsightsCommand"; -export * from "./ListExportsCommand"; -export * from "./ListGlobalTablesCommand"; -export * from "./ListImportsCommand"; -export * from "./ListTablesCommand"; -export * from "./ListTagsOfResourceCommand"; -export * from "./PutItemCommand"; -export * from "./PutResourcePolicyCommand"; -export * from "./QueryCommand"; -export * from "./RestoreTableFromBackupCommand"; -export * from "./RestoreTableToPointInTimeCommand"; -export * from "./ScanCommand"; -export * from "./TagResourceCommand"; -export * from "./TransactGetItemsCommand"; -export * from "./TransactWriteItemsCommand"; -export * from "./UntagResourceCommand"; -export * from "./UpdateContinuousBackupsCommand"; -export * from "./UpdateContributorInsightsCommand"; -export * from "./UpdateGlobalTableCommand"; -export * from "./UpdateGlobalTableSettingsCommand"; -export * from "./UpdateItemCommand"; -export * from "./UpdateKinesisStreamingDestinationCommand"; -export * from "./UpdateTableCommand"; -export * from "./UpdateTableReplicaAutoScalingCommand"; -export * from "./UpdateTimeToLiveCommand"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/EndpointParameters.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/EndpointParameters.d.ts deleted file mode 100644 index 0e02d910..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/EndpointParameters.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types"; -/** - * @public - */ -export interface ClientInputEndpointParameters { - region?: string | undefined | Provider; - useDualstackEndpoint?: boolean | undefined | Provider; - useFipsEndpoint?: boolean | undefined | Provider; - endpoint?: string | Provider | Endpoint | Provider | EndpointV2 | Provider; - accountId?: string | undefined | Provider; - accountIdEndpointMode?: string | undefined | Provider; -} -/** - * @public - */ -export type ClientResolvedEndpointParameters = Omit & { - defaultSigningName: string; -}; -/** - * @internal - */ -export declare const resolveClientEndpointParameters: (options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters; -/** - * @internal - */ -export declare const commonParams: { - readonly UseFIPS: { - readonly type: "builtInParams"; - readonly name: "useFipsEndpoint"; - }; - readonly AccountId: { - readonly type: "builtInParams"; - readonly name: "accountId"; - }; - readonly Endpoint: { - readonly type: "builtInParams"; - readonly name: "endpoint"; - }; - readonly Region: { - readonly type: "builtInParams"; - readonly name: "region"; - }; - readonly UseDualStack: { - readonly type: "builtInParams"; - readonly name: "useDualstackEndpoint"; - }; - readonly AccountIdEndpointMode: { - readonly type: "builtInParams"; - readonly name: "accountIdEndpointMode"; - }; -}; -/** - * @internal - */ -export interface EndpointParameters extends __EndpointParameters { - Region?: string | undefined; - UseDualStack?: boolean | undefined; - UseFIPS?: boolean | undefined; - Endpoint?: string | undefined; - AccountId?: string | undefined; - AccountIdEndpointMode?: string | undefined; - ResourceArn?: string | undefined; - ResourceArnList?: string[] | undefined; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/endpointResolver.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/endpointResolver.d.ts deleted file mode 100644 index c1de67d3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/endpointResolver.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { EndpointV2, Logger } from "@smithy/types"; -import type { EndpointParameters } from "./EndpointParameters"; -/** - * @internal - */ -export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: { - logger?: Logger; -}) => EndpointV2; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/ruleset.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/ruleset.d.ts deleted file mode 100644 index 4b238994..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/ruleset.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { RuleSetObject } from "@smithy/types"; -export declare const ruleSet: RuleSetObject; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/extensionConfiguration.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/extensionConfiguration.d.ts deleted file mode 100644 index 3b13e2b3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/extensionConfiguration.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; -import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; -import type { DefaultExtensionConfiguration } from "@smithy/types"; -import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; -/** - * @internal - */ -export interface DynamoDBExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration { -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/index.d.ts deleted file mode 100644 index 149f5389..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/index.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Amazon DynamoDB - *

Amazon DynamoDB is a fully managed NoSQL database service that provides fast - * and predictable performance with seamless scalability. DynamoDB lets you - * offload the administrative burdens of operating and scaling a distributed database, so - * that you don't have to worry about hardware provisioning, setup and configuration, - * replication, software patching, or cluster scaling.

- *

With DynamoDB, you can create database tables that can store and retrieve - * any amount of data, and serve any level of request traffic. You can scale up or scale - * down your tables' throughput capacity without downtime or performance degradation, and - * use the Amazon Web Services Management Console to monitor resource utilization and performance - * metrics.

- *

DynamoDB automatically spreads the data and traffic for your tables over - * a sufficient number of servers to handle your throughput and storage requirements, while - * maintaining consistent and fast performance. All of your data is stored on solid state - * disks (SSDs) and automatically replicated across multiple Availability Zones in an - * Amazon Web Services Region, providing built-in high availability and data - * durability.

- * - * @packageDocumentation - */ -export * from "./DynamoDBClient"; -export * from "./DynamoDB"; -export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; -export type { RuntimeExtension } from "./runtimeExtensions"; -export type { DynamoDBExtensionConfiguration } from "./extensionConfiguration"; -export * from "./commands"; -export * from "./schemas/schemas_0"; -export * from "./pagination"; -export * from "./waiters"; -export * from "./models/enums"; -export * from "./models/errors"; -export * from "./models/models_0"; -export { DynamoDBServiceException } from "./models/DynamoDBServiceException"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/DynamoDBServiceException.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/DynamoDBServiceException.d.ts deleted file mode 100644 index 8e640082..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/DynamoDBServiceException.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client"; -export type { __ServiceExceptionOptions }; -export { __ServiceException }; -/** - * @public - * - * Base exception class for all service exceptions from DynamoDB service. - */ -export declare class DynamoDBServiceException extends __ServiceException { - /** - * @internal - */ - constructor(options: __ServiceExceptionOptions); -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/enums.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/enums.d.ts deleted file mode 100644 index ea87cbde..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/enums.d.ts +++ /dev/null @@ -1,589 +0,0 @@ -/** - * @public - * @enum - */ -export declare const ApproximateCreationDateTimePrecision: { - readonly MICROSECOND: "MICROSECOND"; - readonly MILLISECOND: "MILLISECOND"; -}; -/** - * @public - */ -export type ApproximateCreationDateTimePrecision = (typeof ApproximateCreationDateTimePrecision)[keyof typeof ApproximateCreationDateTimePrecision]; -/** - * @public - * @enum - */ -export declare const AttributeAction: { - readonly ADD: "ADD"; - readonly DELETE: "DELETE"; - readonly PUT: "PUT"; -}; -/** - * @public - */ -export type AttributeAction = (typeof AttributeAction)[keyof typeof AttributeAction]; -/** - * @public - * @enum - */ -export declare const ScalarAttributeType: { - readonly B: "B"; - readonly N: "N"; - readonly S: "S"; -}; -/** - * @public - */ -export type ScalarAttributeType = (typeof ScalarAttributeType)[keyof typeof ScalarAttributeType]; -/** - * @public - * @enum - */ -export declare const BackupStatus: { - readonly AVAILABLE: "AVAILABLE"; - readonly CREATING: "CREATING"; - readonly DELETED: "DELETED"; -}; -/** - * @public - */ -export type BackupStatus = (typeof BackupStatus)[keyof typeof BackupStatus]; -/** - * @public - * @enum - */ -export declare const BackupType: { - readonly AWS_BACKUP: "AWS_BACKUP"; - readonly SYSTEM: "SYSTEM"; - readonly USER: "USER"; -}; -/** - * @public - */ -export type BackupType = (typeof BackupType)[keyof typeof BackupType]; -/** - * @public - * @enum - */ -export declare const BillingMode: { - readonly PAY_PER_REQUEST: "PAY_PER_REQUEST"; - readonly PROVISIONED: "PROVISIONED"; -}; -/** - * @public - */ -export type BillingMode = (typeof BillingMode)[keyof typeof BillingMode]; -/** - * @public - * @enum - */ -export declare const KeyType: { - readonly HASH: "HASH"; - readonly RANGE: "RANGE"; -}; -/** - * @public - */ -export type KeyType = (typeof KeyType)[keyof typeof KeyType]; -/** - * @public - * @enum - */ -export declare const ProjectionType: { - readonly ALL: "ALL"; - readonly INCLUDE: "INCLUDE"; - readonly KEYS_ONLY: "KEYS_ONLY"; -}; -/** - * @public - */ -export type ProjectionType = (typeof ProjectionType)[keyof typeof ProjectionType]; -/** - * @public - * @enum - */ -export declare const SSEType: { - readonly AES256: "AES256"; - readonly KMS: "KMS"; -}; -/** - * @public - */ -export type SSEType = (typeof SSEType)[keyof typeof SSEType]; -/** - * @public - * @enum - */ -export declare const SSEStatus: { - readonly DISABLED: "DISABLED"; - readonly DISABLING: "DISABLING"; - readonly ENABLED: "ENABLED"; - readonly ENABLING: "ENABLING"; - readonly UPDATING: "UPDATING"; -}; -/** - * @public - */ -export type SSEStatus = (typeof SSEStatus)[keyof typeof SSEStatus]; -/** - * @public - * @enum - */ -export declare const StreamViewType: { - readonly KEYS_ONLY: "KEYS_ONLY"; - readonly NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES"; - readonly NEW_IMAGE: "NEW_IMAGE"; - readonly OLD_IMAGE: "OLD_IMAGE"; -}; -/** - * @public - */ -export type StreamViewType = (typeof StreamViewType)[keyof typeof StreamViewType]; -/** - * @public - * @enum - */ -export declare const TimeToLiveStatus: { - readonly DISABLED: "DISABLED"; - readonly DISABLING: "DISABLING"; - readonly ENABLED: "ENABLED"; - readonly ENABLING: "ENABLING"; -}; -/** - * @public - */ -export type TimeToLiveStatus = (typeof TimeToLiveStatus)[keyof typeof TimeToLiveStatus]; -/** - * @public - * @enum - */ -export declare const BackupTypeFilter: { - readonly ALL: "ALL"; - readonly AWS_BACKUP: "AWS_BACKUP"; - readonly SYSTEM: "SYSTEM"; - readonly USER: "USER"; -}; -/** - * @public - */ -export type BackupTypeFilter = (typeof BackupTypeFilter)[keyof typeof BackupTypeFilter]; -/** - * @public - * @enum - */ -export declare const ReturnConsumedCapacity: { - readonly INDEXES: "INDEXES"; - readonly NONE: "NONE"; - readonly TOTAL: "TOTAL"; -}; -/** - * @public - */ -export type ReturnConsumedCapacity = (typeof ReturnConsumedCapacity)[keyof typeof ReturnConsumedCapacity]; -/** - * @public - * @enum - */ -export declare const ReturnValuesOnConditionCheckFailure: { - readonly ALL_OLD: "ALL_OLD"; - readonly NONE: "NONE"; -}; -/** - * @public - */ -export type ReturnValuesOnConditionCheckFailure = (typeof ReturnValuesOnConditionCheckFailure)[keyof typeof ReturnValuesOnConditionCheckFailure]; -/** - * @public - * @enum - */ -export declare const BatchStatementErrorCodeEnum: { - readonly AccessDenied: "AccessDenied"; - readonly ConditionalCheckFailed: "ConditionalCheckFailed"; - readonly DuplicateItem: "DuplicateItem"; - readonly InternalServerError: "InternalServerError"; - readonly ItemCollectionSizeLimitExceeded: "ItemCollectionSizeLimitExceeded"; - readonly ProvisionedThroughputExceeded: "ProvisionedThroughputExceeded"; - readonly RequestLimitExceeded: "RequestLimitExceeded"; - readonly ResourceNotFound: "ResourceNotFound"; - readonly ThrottlingError: "ThrottlingError"; - readonly TransactionConflict: "TransactionConflict"; - readonly ValidationError: "ValidationError"; -}; -/** - * @public - */ -export type BatchStatementErrorCodeEnum = (typeof BatchStatementErrorCodeEnum)[keyof typeof BatchStatementErrorCodeEnum]; -/** - * @public - * @enum - */ -export declare const ReturnItemCollectionMetrics: { - readonly NONE: "NONE"; - readonly SIZE: "SIZE"; -}; -/** - * @public - */ -export type ReturnItemCollectionMetrics = (typeof ReturnItemCollectionMetrics)[keyof typeof ReturnItemCollectionMetrics]; -/** - * @public - * @enum - */ -export declare const ComparisonOperator: { - readonly BEGINS_WITH: "BEGINS_WITH"; - readonly BETWEEN: "BETWEEN"; - readonly CONTAINS: "CONTAINS"; - readonly EQ: "EQ"; - readonly GE: "GE"; - readonly GT: "GT"; - readonly IN: "IN"; - readonly LE: "LE"; - readonly LT: "LT"; - readonly NE: "NE"; - readonly NOT_CONTAINS: "NOT_CONTAINS"; - readonly NOT_NULL: "NOT_NULL"; - readonly NULL: "NULL"; -}; -/** - * @public - */ -export type ComparisonOperator = (typeof ComparisonOperator)[keyof typeof ComparisonOperator]; -/** - * @public - * @enum - */ -export declare const ConditionalOperator: { - readonly AND: "AND"; - readonly OR: "OR"; -}; -/** - * @public - */ -export type ConditionalOperator = (typeof ConditionalOperator)[keyof typeof ConditionalOperator]; -/** - * @public - * @enum - */ -export declare const ContinuousBackupsStatus: { - readonly DISABLED: "DISABLED"; - readonly ENABLED: "ENABLED"; -}; -/** - * @public - */ -export type ContinuousBackupsStatus = (typeof ContinuousBackupsStatus)[keyof typeof ContinuousBackupsStatus]; -/** - * @public - * @enum - */ -export declare const PointInTimeRecoveryStatus: { - readonly DISABLED: "DISABLED"; - readonly ENABLED: "ENABLED"; -}; -/** - * @public - */ -export type PointInTimeRecoveryStatus = (typeof PointInTimeRecoveryStatus)[keyof typeof PointInTimeRecoveryStatus]; -/** - * @public - * @enum - */ -export declare const ContributorInsightsAction: { - readonly DISABLE: "DISABLE"; - readonly ENABLE: "ENABLE"; -}; -/** - * @public - */ -export type ContributorInsightsAction = (typeof ContributorInsightsAction)[keyof typeof ContributorInsightsAction]; -/** - * @public - * @enum - */ -export declare const ContributorInsightsMode: { - readonly ACCESSED_AND_THROTTLED_KEYS: "ACCESSED_AND_THROTTLED_KEYS"; - readonly THROTTLED_KEYS: "THROTTLED_KEYS"; -}; -/** - * @public - */ -export type ContributorInsightsMode = (typeof ContributorInsightsMode)[keyof typeof ContributorInsightsMode]; -/** - * @public - * @enum - */ -export declare const ContributorInsightsStatus: { - readonly DISABLED: "DISABLED"; - readonly DISABLING: "DISABLING"; - readonly ENABLED: "ENABLED"; - readonly ENABLING: "ENABLING"; - readonly FAILED: "FAILED"; -}; -/** - * @public - */ -export type ContributorInsightsStatus = (typeof ContributorInsightsStatus)[keyof typeof ContributorInsightsStatus]; -/** - * @public - * @enum - */ -export declare const GlobalTableStatus: { - readonly ACTIVE: "ACTIVE"; - readonly CREATING: "CREATING"; - readonly DELETING: "DELETING"; - readonly UPDATING: "UPDATING"; -}; -/** - * @public - */ -export type GlobalTableStatus = (typeof GlobalTableStatus)[keyof typeof GlobalTableStatus]; -/** - * @public - * @enum - */ -export declare const IndexStatus: { - readonly ACTIVE: "ACTIVE"; - readonly CREATING: "CREATING"; - readonly DELETING: "DELETING"; - readonly UPDATING: "UPDATING"; -}; -/** - * @public - */ -export type IndexStatus = (typeof IndexStatus)[keyof typeof IndexStatus]; -/** - * @public - * @enum - */ -export declare const GlobalTableSettingsReplicationMode: { - readonly DISABLED: "DISABLED"; - readonly ENABLED: "ENABLED"; - readonly ENABLED_WITH_OVERRIDES: "ENABLED_WITH_OVERRIDES"; -}; -/** - * @public - */ -export type GlobalTableSettingsReplicationMode = (typeof GlobalTableSettingsReplicationMode)[keyof typeof GlobalTableSettingsReplicationMode]; -/** - * @public - * @enum - */ -export declare const ReplicaStatus: { - readonly ACTIVE: "ACTIVE"; - readonly ARCHIVED: "ARCHIVED"; - readonly ARCHIVING: "ARCHIVING"; - readonly CREATING: "CREATING"; - readonly CREATION_FAILED: "CREATION_FAILED"; - readonly DELETING: "DELETING"; - readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS"; - readonly REGION_DISABLED: "REGION_DISABLED"; - readonly REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED"; - readonly UPDATING: "UPDATING"; -}; -/** - * @public - */ -export type ReplicaStatus = (typeof ReplicaStatus)[keyof typeof ReplicaStatus]; -/** - * @public - * @enum - */ -export declare const TableClass: { - readonly STANDARD: "STANDARD"; - readonly STANDARD_INFREQUENT_ACCESS: "STANDARD_INFREQUENT_ACCESS"; -}; -/** - * @public - */ -export type TableClass = (typeof TableClass)[keyof typeof TableClass]; -/** - * @public - * @enum - */ -export declare const TableStatus: { - readonly ACTIVE: "ACTIVE"; - readonly ARCHIVED: "ARCHIVED"; - readonly ARCHIVING: "ARCHIVING"; - readonly CREATING: "CREATING"; - readonly DELETING: "DELETING"; - readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS"; - readonly REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED"; - readonly UPDATING: "UPDATING"; -}; -/** - * @public - */ -export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus]; -/** - * @public - * @enum - */ -export declare const WitnessStatus: { - readonly ACTIVE: "ACTIVE"; - readonly CREATING: "CREATING"; - readonly DELETING: "DELETING"; -}; -/** - * @public - */ -export type WitnessStatus = (typeof WitnessStatus)[keyof typeof WitnessStatus]; -/** - * @public - * @enum - */ -export declare const MultiRegionConsistency: { - readonly EVENTUAL: "EVENTUAL"; - readonly STRONG: "STRONG"; -}; -/** - * @public - */ -export type MultiRegionConsistency = (typeof MultiRegionConsistency)[keyof typeof MultiRegionConsistency]; -/** - * @public - * @enum - */ -export declare const ReturnValue: { - readonly ALL_NEW: "ALL_NEW"; - readonly ALL_OLD: "ALL_OLD"; - readonly NONE: "NONE"; - readonly UPDATED_NEW: "UPDATED_NEW"; - readonly UPDATED_OLD: "UPDATED_OLD"; -}; -/** - * @public - */ -export type ReturnValue = (typeof ReturnValue)[keyof typeof ReturnValue]; -/** - * @public - * @enum - */ -export declare const ExportFormat: { - readonly DYNAMODB_JSON: "DYNAMODB_JSON"; - readonly ION: "ION"; -}; -/** - * @public - */ -export type ExportFormat = (typeof ExportFormat)[keyof typeof ExportFormat]; -/** - * @public - * @enum - */ -export declare const ExportStatus: { - readonly COMPLETED: "COMPLETED"; - readonly FAILED: "FAILED"; - readonly IN_PROGRESS: "IN_PROGRESS"; -}; -/** - * @public - */ -export type ExportStatus = (typeof ExportStatus)[keyof typeof ExportStatus]; -/** - * @public - * @enum - */ -export declare const ExportType: { - readonly FULL_EXPORT: "FULL_EXPORT"; - readonly INCREMENTAL_EXPORT: "INCREMENTAL_EXPORT"; -}; -/** - * @public - */ -export type ExportType = (typeof ExportType)[keyof typeof ExportType]; -/** - * @public - * @enum - */ -export declare const ExportViewType: { - readonly NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES"; - readonly NEW_IMAGE: "NEW_IMAGE"; -}; -/** - * @public - */ -export type ExportViewType = (typeof ExportViewType)[keyof typeof ExportViewType]; -/** - * @public - * @enum - */ -export declare const S3SseAlgorithm: { - readonly AES256: "AES256"; - readonly KMS: "KMS"; -}; -/** - * @public - */ -export type S3SseAlgorithm = (typeof S3SseAlgorithm)[keyof typeof S3SseAlgorithm]; -/** - * @public - * @enum - */ -export declare const ImportStatus: { - readonly CANCELLED: "CANCELLED"; - readonly CANCELLING: "CANCELLING"; - readonly COMPLETED: "COMPLETED"; - readonly FAILED: "FAILED"; - readonly IN_PROGRESS: "IN_PROGRESS"; -}; -/** - * @public - */ -export type ImportStatus = (typeof ImportStatus)[keyof typeof ImportStatus]; -/** - * @public - * @enum - */ -export declare const InputCompressionType: { - readonly GZIP: "GZIP"; - readonly NONE: "NONE"; - readonly ZSTD: "ZSTD"; -}; -/** - * @public - */ -export type InputCompressionType = (typeof InputCompressionType)[keyof typeof InputCompressionType]; -/** - * @public - * @enum - */ -export declare const InputFormat: { - readonly CSV: "CSV"; - readonly DYNAMODB_JSON: "DYNAMODB_JSON"; - readonly ION: "ION"; -}; -/** - * @public - */ -export type InputFormat = (typeof InputFormat)[keyof typeof InputFormat]; -/** - * @public - * @enum - */ -export declare const DestinationStatus: { - readonly ACTIVE: "ACTIVE"; - readonly DISABLED: "DISABLED"; - readonly DISABLING: "DISABLING"; - readonly ENABLE_FAILED: "ENABLE_FAILED"; - readonly ENABLING: "ENABLING"; - readonly UPDATING: "UPDATING"; -}; -/** - * @public - */ -export type DestinationStatus = (typeof DestinationStatus)[keyof typeof DestinationStatus]; -/** - * @public - * @enum - */ -export declare const Select: { - readonly ALL_ATTRIBUTES: "ALL_ATTRIBUTES"; - readonly ALL_PROJECTED_ATTRIBUTES: "ALL_PROJECTED_ATTRIBUTES"; - readonly COUNT: "COUNT"; - readonly SPECIFIC_ATTRIBUTES: "SPECIFIC_ATTRIBUTES"; -}; -/** - * @public - */ -export type Select = (typeof Select)[keyof typeof Select]; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/errors.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/errors.d.ts deleted file mode 100644 index ea6979c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/errors.d.ts +++ /dev/null @@ -1,803 +0,0 @@ -import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; -import { DynamoDBServiceException as __BaseException } from "./DynamoDBServiceException"; -import { AttributeValue, CancellationReason, ThrottlingReason } from "./models_0"; -/** - *

There is another ongoing conflicting backup control plane operation on the table. - * The backup is either being created, deleted or restored to a table.

- * @public - */ -export declare class BackupInUseException extends __BaseException { - readonly name: "BackupInUseException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

Backup not found for the given BackupARN.

- * @public - */ -export declare class BackupNotFoundException extends __BaseException { - readonly name: "BackupNotFoundException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

An error occurred on the server side.

- * @public - */ -export declare class InternalServerError extends __BaseException { - readonly name: "InternalServerError"; - readonly $fault: "server"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

Throughput exceeds the current throughput quota for your account. For detailed - * information about why the request was throttled and the ARN of the impacted resource, - * find the ThrottlingReason field in the returned exception. Contact Amazon Web Services Support to request a quota - * increase.

- * @public - */ -export declare class RequestLimitExceeded extends __BaseException { - readonly name: "RequestLimitExceeded"; - readonly $fault: "client"; - /** - *

A list of ThrottlingReason that - * provide detailed diagnostic information about why the request was throttled. - *

- * @public - */ - ThrottlingReasons?: ThrottlingReason[] | undefined; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The request was denied due to request throttling. For detailed information about why - * the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception.

- * @public - */ -export declare class ThrottlingException extends __BaseException { - readonly name: "ThrottlingException"; - readonly $fault: "client"; - /** - *

A list of ThrottlingReason that - * provide detailed diagnostic information about why the request was throttled. - *

- * @public - */ - throttlingReasons?: ThrottlingReason[] | undefined; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - */ -export declare class InvalidEndpointException extends __BaseException { - readonly name: "InvalidEndpointException"; - readonly $fault: "client"; - Message?: string | undefined; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The request was denied due to request throttling. For detailed information about - * why the request was throttled and the ARN of the impacted resource, find the ThrottlingReason field in the returned exception. The Amazon Web Services - * SDKs for DynamoDB automatically retry requests that receive this exception. - * Your request is eventually successful, unless your retry queue is too large to finish. - * Reduce the frequency of requests and use exponential backoff. For more information, go - * to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

- * @public - */ -export declare class ProvisionedThroughputExceededException extends __BaseException { - readonly name: "ProvisionedThroughputExceededException"; - readonly $fault: "client"; - /** - *

A list of ThrottlingReason that - * provide detailed diagnostic information about why the request was throttled. - *

- * @public - */ - ThrottlingReasons?: ThrottlingReason[] | undefined; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The operation tried to access a nonexistent table or index. The resource might not - * be specified correctly, or its status might not be ACTIVE.

- * @public - */ -export declare class ResourceNotFoundException extends __BaseException { - readonly name: "ResourceNotFoundException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

An item collection is too large. This exception is only returned for tables that - * have one or more local secondary indexes.

- * @public - */ -export declare class ItemCollectionSizeLimitExceededException extends __BaseException { - readonly name: "ItemCollectionSizeLimitExceededException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The request was rejected because one or more items in the request are being modified - * by a request in another Region.

- * @public - */ -export declare class ReplicatedWriteConflictException extends __BaseException { - readonly name: "ReplicatedWriteConflictException"; - readonly $fault: "client"; - $retryable: {}; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

Backups have not yet been enabled for this table.

- * @public - */ -export declare class ContinuousBackupsUnavailableException extends __BaseException { - readonly name: "ContinuousBackupsUnavailableException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

There is no limit to the number of daily on-demand backups that can be taken.

- *

For most purposes, up to 500 simultaneous table operations are allowed per account. - * These operations include CreateTable, UpdateTable, - * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

- *

When you are creating a table with one or more secondary indexes, you can have up - * to 250 such requests running at a time. However, if the table or index specifications - * are complex, then DynamoDB might temporarily reduce the number of concurrent - * operations.

- *

When importing into DynamoDB, up to 50 simultaneous import table operations are - * allowed per account.

- *

There is a soft account quota of 2,500 tables.

- *

GetRecords was called with a value of more than 1000 for the limit request - * parameter.

- *

More than 2 processes are reading from the same streams shard at the same time. - * Exceeding this limit may result in request throttling.

- * @public - */ -export declare class LimitExceededException extends __BaseException { - readonly name: "LimitExceededException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

A target table with the specified name is either being created or deleted. - *

- * @public - */ -export declare class TableInUseException extends __BaseException { - readonly name: "TableInUseException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

A source table with the name TableName does not currently exist within - * the subscriber's account or the subscriber is operating in the wrong Amazon Web Services - * Region.

- * @public - */ -export declare class TableNotFoundException extends __BaseException { - readonly name: "TableNotFoundException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The specified global table already exists.

- * @public - */ -export declare class GlobalTableAlreadyExistsException extends __BaseException { - readonly name: "GlobalTableAlreadyExistsException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The operation conflicts with the resource's availability. For example:

- *
    - *
  • - *

    You attempted to recreate an existing table.

    - *
  • - *
  • - *

    You tried to delete a table currently in the CREATING - * state.

    - *
  • - *
  • - *

    You tried to update a resource that was already being updated.

    - *
  • - *
- *

When appropriate, wait for the ongoing update to complete and attempt the request - * again.

- * @public - */ -export declare class ResourceInUseException extends __BaseException { - readonly name: "ResourceInUseException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

Operation was rejected because there is an ongoing transaction for the - * item.

- * @public - */ -export declare class TransactionConflictException extends __BaseException { - readonly name: "TransactionConflictException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The operation tried to access a nonexistent resource-based policy.

- *

If you specified an ExpectedRevisionId, it's possible that a policy is - * present for the resource but its revision ID didn't match the expected value.

- * @public - */ -export declare class PolicyNotFoundException extends __BaseException { - readonly name: "PolicyNotFoundException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The specified export was not found.

- * @public - */ -export declare class ExportNotFoundException extends __BaseException { - readonly name: "ExportNotFoundException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The specified global table does not exist.

- * @public - */ -export declare class GlobalTableNotFoundException extends __BaseException { - readonly name: "GlobalTableNotFoundException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The specified import was not found.

- * @public - */ -export declare class ImportNotFoundException extends __BaseException { - readonly name: "ImportNotFoundException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

There was an attempt to insert an item with the same primary key as an item that - * already exists in the DynamoDB table.

- * @public - */ -export declare class DuplicateItemException extends __BaseException { - readonly name: "DuplicateItemException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

DynamoDB rejected the request because you retried a request with a - * different payload but with an idempotent token that was already used.

- * @public - */ -export declare class IdempotentParameterMismatchException extends __BaseException { - readonly name: "IdempotentParameterMismatchException"; - readonly $fault: "client"; - Message?: string | undefined; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The transaction with the given request token is already in progress.

- *

Recommended Settings

- * - *

This is a general recommendation for handling the - * TransactionInProgressException. These settings help ensure that the - * client retries will trigger completion of the ongoing - * TransactWriteItems request.

- *
- *
    - *
  • - *

    Set clientExecutionTimeout to a value that allows at least one - * retry to be processed after 5 seconds have elapsed since the first attempt for - * the TransactWriteItems operation.

    - *
  • - *
  • - *

    Set socketTimeout to a value a little lower than the - * requestTimeout setting.

    - *
  • - *
  • - *

    - * requestTimeout should be set based on the time taken for the - * individual retries of a single HTTP request for your use case, but setting it to - * 1 second or higher should work well to reduce chances of retries and - * TransactionInProgressException errors.

    - *
  • - *
  • - *

    Use exponential backoff when retrying and tune backoff if needed.

    - *
  • - *
- *

Assuming default retry policy, example timeout settings based on the guidelines - * above are as follows:

- *

Example timeline:

- *
    - *
  • - *

    0-1000 first attempt

    - *
  • - *
  • - *

    1000-1500 first sleep/delay (default retry policy uses 500 ms as base delay - * for 4xx errors)

    - *
  • - *
  • - *

    1500-2500 second attempt

    - *
  • - *
  • - *

    2500-3500 second sleep/delay (500 * 2, exponential backoff)

    - *
  • - *
  • - *

    3500-4500 third attempt

    - *
  • - *
  • - *

    4500-6500 third sleep/delay (500 * 2^2)

    - *
  • - *
  • - *

    6500-7500 fourth attempt (this can trigger inline recovery since 5 seconds - * have elapsed since the first attempt reached TC)

    - *
  • - *
- * @public - */ -export declare class TransactionInProgressException extends __BaseException { - readonly name: "TransactionInProgressException"; - readonly $fault: "client"; - Message?: string | undefined; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

There was a conflict when writing to the specified S3 bucket.

- * @public - */ -export declare class ExportConflictException extends __BaseException { - readonly name: "ExportConflictException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The specified ExportTime is outside of the point in time recovery - * window.

- * @public - */ -export declare class InvalidExportTimeException extends __BaseException { - readonly name: "InvalidExportTimeException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

Point in time recovery has not yet been enabled for this source table.

- * @public - */ -export declare class PointInTimeRecoveryUnavailableException extends __BaseException { - readonly name: "PointInTimeRecoveryUnavailableException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

There was a conflict when importing from the specified S3 source. This can occur when - * the current import conflicts with a previous import request that had the same client - * token.

- * @public - */ -export declare class ImportConflictException extends __BaseException { - readonly name: "ImportConflictException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

A target table with the specified name already exists.

- * @public - */ -export declare class TableAlreadyExistsException extends __BaseException { - readonly name: "TableAlreadyExistsException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

An invalid restore time was specified. RestoreDateTime must be between - * EarliestRestorableDateTime and LatestRestorableDateTime.

- * @public - */ -export declare class InvalidRestoreTimeException extends __BaseException { - readonly name: "InvalidRestoreTimeException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The specified replica is already part of the global table.

- * @public - */ -export declare class ReplicaAlreadyExistsException extends __BaseException { - readonly name: "ReplicaAlreadyExistsException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The specified replica is no longer part of the global table.

- * @public - */ -export declare class ReplicaNotFoundException extends __BaseException { - readonly name: "ReplicaNotFoundException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The operation tried to access a nonexistent index.

- * @public - */ -export declare class IndexNotFoundException extends __BaseException { - readonly name: "IndexNotFoundException"; - readonly $fault: "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

A condition specified in the operation failed to be evaluated.

- * @public - */ -export declare class ConditionalCheckFailedException extends __BaseException { - readonly name: "ConditionalCheckFailedException"; - readonly $fault: "client"; - /** - *

Item which caused the ConditionalCheckFailedException.

- * @public - */ - Item?: Record | undefined; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - *

The entire transaction request was canceled.

- *

DynamoDB cancels a TransactWriteItems request under the following - * circumstances:

- *
    - *
  • - *

    A condition in one of the condition expressions is not met.

    - *
  • - *
  • - *

    A table in the TransactWriteItems request is in a different - * account or region.

    - *
  • - *
  • - *

    More than one action in the TransactWriteItems operation - * targets the same item.

    - *
  • - *
  • - *

    There is insufficient provisioned capacity for the transaction to be - * completed.

    - *
  • - *
  • - *

    An item size becomes too large (larger than 400 KB), or a local secondary - * index (LSI) becomes too large, or a similar validation error occurs because of - * changes made by the transaction.

    - *
  • - *
  • - *

    There is a user error, such as an invalid data format.

    - *
  • - *
  • - *

    There is an ongoing TransactWriteItems operation that - * conflicts with a concurrent TransactWriteItems request. In this - * case the TransactWriteItems operation fails with a - * TransactionCanceledException.

    - *
  • - *
- *

DynamoDB cancels a TransactGetItems request under the - * following circumstances:

- *
    - *
  • - *

    There is an ongoing TransactGetItems operation that conflicts - * with a concurrent PutItem, UpdateItem, - * DeleteItem or TransactWriteItems request. In this - * case the TransactGetItems operation fails with a - * TransactionCanceledException.

    - *
  • - *
  • - *

    A table in the TransactGetItems request is in a different - * account or region.

    - *
  • - *
  • - *

    There is insufficient provisioned capacity for the transaction to be - * completed.

    - *
  • - *
  • - *

    There is a user error, such as an invalid data format.

    - *
  • - *
- * - *

DynamoDB lists the cancellation reasons on the - * CancellationReasons property. Transaction cancellation reasons are ordered in the order of requested - * items, if an item has no error it will have None code and - * Null message.

- *
- *

Cancellation reason codes and possible error messages:

- *
    - *
  • - *

    No Errors:

    - *
      - *
    • - *

      Code: None - *

      - *
    • - *
    • - *

      Message: null - *

      - *
    • - *
    - *
  • - *
  • - *

    Conditional Check Failed:

    - *
      - *
    • - *

      Code: ConditionalCheckFailed - *

      - *
    • - *
    • - *

      Message: The conditional request failed.

      - *
    • - *
    - *
  • - *
  • - *

    Item Collection Size Limit Exceeded:

    - *
      - *
    • - *

      Code: ItemCollectionSizeLimitExceeded - *

      - *
    • - *
    • - *

      Message: Collection size exceeded.

      - *
    • - *
    - *
  • - *
  • - *

    Transaction Conflict:

    - *
      - *
    • - *

      Code: TransactionConflict - *

      - *
    • - *
    • - *

      Message: Transaction is ongoing for the item.

      - *
    • - *
    - *
  • - *
  • - *

    Provisioned Throughput Exceeded:

    - *
      - *
    • - *

      Code: ProvisionedThroughputExceeded - *

      - *
    • - *
    • - *

      Messages:

      - *
        - *
      • - *

        The level of configured provisioned throughput for the - * table was exceeded. Consider increasing your provisioning level - * with the UpdateTable API.

        - * - *

        This Message is received when provisioned throughput is - * exceeded is on a provisioned DynamoDB - * table.

        - *
        - *
      • - *
      • - *

        The level of configured provisioned throughput for one or - * more global secondary indexes of the table was exceeded. - * Consider increasing your provisioning level for the - * under-provisioned global secondary indexes with the UpdateTable - * API.

        - * - *

        This message is returned when provisioned throughput is - * exceeded is on a provisioned GSI.

        - *
        - *
      • - *
      - *
    • - *
    - *
  • - *
  • - *

    Throttling Error:

    - *
      - *
    • - *

      Code: ThrottlingError - *

      - *
    • - *
    • - *

      Messages:

      - *
        - *
      • - *

        Throughput exceeds the current capacity of your table or - * index. DynamoDB is automatically scaling your table or - * index so please try again shortly. If exceptions persist, check - * if you have a hot key: - * https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html.

        - * - *

        This message is returned when writes get throttled on an - * On-Demand table as DynamoDB is automatically - * scaling the table.

        - *
        - *
      • - *
      • - *

        Throughput exceeds the current capacity for one or more - * global secondary indexes. DynamoDB is automatically - * scaling your index so please try again shortly.

        - * - *

        This message is returned when writes get throttled on an - * On-Demand GSI as DynamoDB is automatically scaling - * the GSI.

        - *
        - *
      • - *
      - *
    • - *
    - *
  • - *
  • - *

    Validation Error:

    - *
      - *
    • - *

      Code: ValidationError - *

      - *
    • - *
    • - *

      Messages:

      - *
        - *
      • - *

        One or more parameter values were invalid.

        - *
      • - *
      • - *

        The update expression attempted to update the secondary - * index key beyond allowed size limits.

        - *
      • - *
      • - *

        The update expression attempted to update the secondary - * index key to unsupported type.

        - *
      • - *
      • - *

        An operand in the update expression has an incorrect data - * type.

        - *
      • - *
      • - *

        Item size to update has exceeded the maximum allowed - * size.

        - *
      • - *
      • - *

        Number overflow. Attempting to store a number with - * magnitude larger than supported range.

        - *
      • - *
      • - *

        Type mismatch for attribute to update.

        - *
      • - *
      • - *

        Nesting Levels have exceeded supported limits.

        - *
      • - *
      • - *

        The document path provided in the update expression is - * invalid for update.

        - *
      • - *
      • - *

        The provided expression refers to an attribute that does - * not exist in the item.

        - *
      • - *
      - *
    • - *
    - *
  • - *
- * @public - */ -export declare class TransactionCanceledException extends __BaseException { - readonly name: "TransactionCanceledException"; - readonly $fault: "client"; - Message?: string | undefined; - /** - *

A list of cancellation reasons.

- * @public - */ - CancellationReasons?: CancellationReason[] | undefined; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts deleted file mode 100644 index 2a36f72d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts +++ /dev/null @@ -1,10015 +0,0 @@ -import { ApproximateCreationDateTimePrecision, AttributeAction, BackupStatus, BackupType, BackupTypeFilter, BatchStatementErrorCodeEnum, BillingMode, ComparisonOperator, ConditionalOperator, ContinuousBackupsStatus, ContributorInsightsAction, ContributorInsightsMode, ContributorInsightsStatus, DestinationStatus, ExportFormat, ExportStatus, ExportType, ExportViewType, GlobalTableSettingsReplicationMode, GlobalTableStatus, ImportStatus, IndexStatus, InputCompressionType, InputFormat, KeyType, MultiRegionConsistency, PointInTimeRecoveryStatus, ProjectionType, ReplicaStatus, ReturnConsumedCapacity, ReturnItemCollectionMetrics, ReturnValue, ReturnValuesOnConditionCheckFailure, S3SseAlgorithm, ScalarAttributeType, Select, SSEStatus, SSEType, StreamViewType, TableClass, TableStatus, TimeToLiveStatus, WitnessStatus } from "./enums"; -/** - *

Contains details of a table archival operation.

- * @public - */ -export interface ArchivalSummary { - /** - *

The date and time when table archival was initiated by DynamoDB, in UNIX epoch time - * format.

- * @public - */ - ArchivalDateTime?: Date | undefined; - /** - *

The reason DynamoDB archived the table. Currently, the only possible value is:

- *
    - *
  • - *

    - * INACCESSIBLE_ENCRYPTION_CREDENTIALS - The table was archived due - * to the table's KMS key being inaccessible for more than seven - * days. An On-Demand backup was created at the archival time.

    - *
  • - *
- * @public - */ - ArchivalReason?: string | undefined; - /** - *

The Amazon Resource Name (ARN) of the backup the table was archived to, when - * applicable in the archival reason. If you wish to restore this backup to the same table - * name, you will need to delete the original table.

- * @public - */ - ArchivalBackupArn?: string | undefined; -} -/** - *

Represents an attribute for describing the schema for the table and indexes.

- * @public - */ -export interface AttributeDefinition { - /** - *

A name for the attribute.

- * @public - */ - AttributeName: string | undefined; - /** - *

The data type for the attribute, where:

- *
    - *
  • - *

    - * S - the attribute is of type String

    - *
  • - *
  • - *

    - * N - the attribute is of type Number

    - *
  • - *
  • - *

    - * B - the attribute is of type Binary

    - *
  • - *
- * @public - */ - AttributeType: ScalarAttributeType | undefined; -} -/** - *

Represents the properties of a target tracking scaling policy.

- * @public - */ -export interface AutoScalingTargetTrackingScalingPolicyConfigurationDescription { - /** - *

Indicates whether scale in by the target tracking policy is disabled. If the value is - * true, scale in is disabled and the target tracking policy won't remove capacity from the - * scalable resource. Otherwise, scale in is enabled and the target tracking policy can - * remove capacity from the scalable resource. The default value is false.

- * @public - */ - DisableScaleIn?: boolean | undefined; - /** - *

The amount of time, in seconds, after a scale in activity completes before another - * scale in activity can start. The cooldown period is used to block subsequent scale in - * requests until it has expired. You should scale in conservatively to protect your - * application's availability. However, if another alarm triggers a scale out policy during - * the cooldown period after a scale-in, application auto scaling scales out your scalable - * target immediately.

- * @public - */ - ScaleInCooldown?: number | undefined; - /** - *

The amount of time, in seconds, after a scale out activity completes before another - * scale out activity can start. While the cooldown period is in effect, the capacity that - * has been added by the previous scale out event that initiated the cooldown is calculated - * as part of the desired capacity for the next scale out. You should continuously (but not - * excessively) scale out.

- * @public - */ - ScaleOutCooldown?: number | undefined; - /** - *

The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) - * or 2e-360 to 2e360 (Base 2).

- * @public - */ - TargetValue: number | undefined; -} -/** - *

Represents the properties of the scaling policy.

- * @public - */ -export interface AutoScalingPolicyDescription { - /** - *

The name of the scaling policy.

- * @public - */ - PolicyName?: string | undefined; - /** - *

Represents a target tracking scaling policy configuration.

- * @public - */ - TargetTrackingScalingPolicyConfiguration?: AutoScalingTargetTrackingScalingPolicyConfigurationDescription | undefined; -} -/** - *

Represents the settings of a target tracking scaling policy that will be - * modified.

- * @public - */ -export interface AutoScalingTargetTrackingScalingPolicyConfigurationUpdate { - /** - *

Indicates whether scale in by the target tracking policy is disabled. If the value is - * true, scale in is disabled and the target tracking policy won't remove capacity from the - * scalable resource. Otherwise, scale in is enabled and the target tracking policy can - * remove capacity from the scalable resource. The default value is false.

- * @public - */ - DisableScaleIn?: boolean | undefined; - /** - *

The amount of time, in seconds, after a scale in activity completes before another - * scale in activity can start. The cooldown period is used to block subsequent scale in - * requests until it has expired. You should scale in conservatively to protect your - * application's availability. However, if another alarm triggers a scale out policy during - * the cooldown period after a scale-in, application auto scaling scales out your scalable - * target immediately.

- * @public - */ - ScaleInCooldown?: number | undefined; - /** - *

The amount of time, in seconds, after a scale out activity completes before another - * scale out activity can start. While the cooldown period is in effect, the capacity that - * has been added by the previous scale out event that initiated the cooldown is calculated - * as part of the desired capacity for the next scale out. You should continuously (but not - * excessively) scale out.

- * @public - */ - ScaleOutCooldown?: number | undefined; - /** - *

The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) - * or 2e-360 to 2e360 (Base 2).

- * @public - */ - TargetValue: number | undefined; -} -/** - *

Represents the auto scaling policy to be modified.

- * @public - */ -export interface AutoScalingPolicyUpdate { - /** - *

The name of the scaling policy.

- * @public - */ - PolicyName?: string | undefined; - /** - *

Represents a target tracking scaling policy configuration.

- * @public - */ - TargetTrackingScalingPolicyConfiguration: AutoScalingTargetTrackingScalingPolicyConfigurationUpdate | undefined; -} -/** - *

Represents the auto scaling settings for a global table or global secondary - * index.

- * @public - */ -export interface AutoScalingSettingsDescription { - /** - *

The minimum capacity units that a global table or global secondary index should be - * scaled down to.

- * @public - */ - MinimumUnits?: number | undefined; - /** - *

The maximum capacity units that a global table or global secondary index should be - * scaled up to.

- * @public - */ - MaximumUnits?: number | undefined; - /** - *

Disabled auto scaling for this global table or global secondary index.

- * @public - */ - AutoScalingDisabled?: boolean | undefined; - /** - *

Role ARN used for configuring the auto scaling policy.

- * @public - */ - AutoScalingRoleArn?: string | undefined; - /** - *

Information about the scaling policies.

- * @public - */ - ScalingPolicies?: AutoScalingPolicyDescription[] | undefined; -} -/** - *

Represents the auto scaling settings to be modified for a global table or global - * secondary index.

- * @public - */ -export interface AutoScalingSettingsUpdate { - /** - *

The minimum capacity units that a global table or global secondary index should be - * scaled down to.

- * @public - */ - MinimumUnits?: number | undefined; - /** - *

The maximum capacity units that a global table or global secondary index should be - * scaled up to.

- * @public - */ - MaximumUnits?: number | undefined; - /** - *

Disabled auto scaling for this global table or global secondary index.

- * @public - */ - AutoScalingDisabled?: boolean | undefined; - /** - *

Role ARN used for configuring auto scaling policy.

- * @public - */ - AutoScalingRoleArn?: string | undefined; - /** - *

The scaling policy to apply for scaling target global table or global secondary index - * capacity units.

- * @public - */ - ScalingPolicyUpdate?: AutoScalingPolicyUpdate | undefined; -} -/** - *

Contains the details of the backup created for the table.

- * @public - */ -export interface BackupDetails { - /** - *

ARN associated with the backup.

- * @public - */ - BackupArn: string | undefined; - /** - *

Name of the requested backup.

- * @public - */ - BackupName: string | undefined; - /** - *

Size of the backup in bytes. DynamoDB updates this value approximately every six - * hours. Recent changes might not be reflected in this value.

- * @public - */ - BackupSizeBytes?: number | undefined; - /** - *

Backup can be in one of the following states: CREATING, ACTIVE, DELETED.

- * @public - */ - BackupStatus: BackupStatus | undefined; - /** - *

BackupType:

- *
    - *
  • - *

    - * USER - You create and manage these using the on-demand backup - * feature.

    - *
  • - *
  • - *

    - * SYSTEM - If you delete a table with point-in-time recovery enabled, - * a SYSTEM backup is automatically created and is retained for 35 - * days (at no additional cost). System backups allow you to restore the deleted - * table to the state it was in just before the point of deletion.

    - *
  • - *
  • - *

    - * AWS_BACKUP - On-demand backup created by you from Backup service.

    - *
  • - *
- * @public - */ - BackupType: BackupType | undefined; - /** - *

Time at which the backup was created. This is the request time of the backup.

- * @public - */ - BackupCreationDateTime: Date | undefined; - /** - *

Time at which the automatic on-demand backup created by DynamoDB will - * expire. This SYSTEM on-demand backup expires automatically 35 days after - * its creation.

- * @public - */ - BackupExpiryDateTime?: Date | undefined; -} -/** - *

Represents a single element of a key schema. A key schema - * specifies the attributes that make up the primary key of a table, or the key attributes - * of an index.

- *

A KeySchemaElement represents exactly one attribute of the primary key. - * For example, a simple primary key would be represented by one - * KeySchemaElement (for the partition key). A composite primary key would - * require one KeySchemaElement for the partition key, and another - * KeySchemaElement for the sort key.

- *

A KeySchemaElement must be a scalar, top-level attribute (not a nested - * attribute). The data type must be one of String, Number, or Binary. The attribute cannot - * be nested within a List or a Map.

- * @public - */ -export interface KeySchemaElement { - /** - *

The name of a key attribute.

- * @public - */ - AttributeName: string | undefined; - /** - *

The role that this key attribute will assume:

- *
    - *
  • - *

    - * HASH - partition key

    - *
  • - *
  • - *

    - * RANGE - sort key

    - *
  • - *
- * - *

The partition key of an item is also known as its hash - * attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across - * partitions, based on their partition key values.

- *

The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with - * the same partition key physically close together, in sorted order by the sort key - * value.

- *
- * @public - */ - KeyType: KeyType | undefined; -} -/** - *

Sets the maximum number of read and write units for the specified on-demand table. If - * you use this parameter, you must specify MaxReadRequestUnits, - * MaxWriteRequestUnits, or both.

- * @public - */ -export interface OnDemandThroughput { - /** - *

Maximum number of read request units for the specified table.

- *

To specify a maximum OnDemandThroughput on your table, set the value of - * MaxReadRequestUnits as greater than or equal to 1. To remove the - * maximum OnDemandThroughput that is currently set on your table, set the - * value of MaxReadRequestUnits to -1.

- * @public - */ - MaxReadRequestUnits?: number | undefined; - /** - *

Maximum number of write request units for the specified table.

- *

To specify a maximum OnDemandThroughput on your table, set the value of - * MaxWriteRequestUnits as greater than or equal to 1. To remove the - * maximum OnDemandThroughput that is currently set on your table, set the - * value of MaxWriteRequestUnits to -1.

- * @public - */ - MaxWriteRequestUnits?: number | undefined; -} -/** - *

Represents the provisioned throughput settings for the specified global secondary - * index. You must use ProvisionedThroughput or - * OnDemandThroughput based on your table’s capacity mode.

- *

For current minimum and maximum provisioned throughput values, see Service, - * Account, and Table Quotas in the Amazon DynamoDB Developer - * Guide.

- * @public - */ -export interface ProvisionedThroughput { - /** - *

The maximum number of strongly consistent reads consumed per second before DynamoDB - * returns a ThrottlingException. For more information, see Specifying - * Read and Write Requirements in the Amazon DynamoDB Developer - * Guide.

- *

If read/write capacity mode is PAY_PER_REQUEST the value is set to - * 0.

- * @public - */ - ReadCapacityUnits: number | undefined; - /** - *

The maximum number of writes consumed per second before DynamoDB returns a - * ThrottlingException. For more information, see Specifying - * Read and Write Requirements in the Amazon DynamoDB Developer - * Guide.

- *

If read/write capacity mode is PAY_PER_REQUEST the value is set to - * 0.

- * @public - */ - WriteCapacityUnits: number | undefined; -} -/** - *

Contains the details of the table when the backup was created.

- * @public - */ -export interface SourceTableDetails { - /** - *

The name of the table for which the backup was created.

- * @public - */ - TableName: string | undefined; - /** - *

Unique identifier for the table for which the backup was created.

- * @public - */ - TableId: string | undefined; - /** - *

ARN of the table for which backup was created.

- * @public - */ - TableArn?: string | undefined; - /** - *

Size of the table in bytes. Note that this is an approximate value.

- * @public - */ - TableSizeBytes?: number | undefined; - /** - *

Schema of the table.

- * @public - */ - KeySchema: KeySchemaElement[] | undefined; - /** - *

Time when the source table was created.

- * @public - */ - TableCreationDateTime: Date | undefined; - /** - *

Read IOPs and Write IOPS on the table when the backup was created.

- * @public - */ - ProvisionedThroughput: ProvisionedThroughput | undefined; - /** - *

Sets the maximum number of read and write units for the specified on-demand table. If - * you use this parameter, you must specify MaxReadRequestUnits, - * MaxWriteRequestUnits, or both.

- * @public - */ - OnDemandThroughput?: OnDemandThroughput | undefined; - /** - *

Number of items in the table. Note that this is an approximate value.

- * @public - */ - ItemCount?: number | undefined; - /** - *

Controls how you are charged for read and write throughput and how you manage - * capacity. This setting can be changed later.

- *
    - *
  • - *

    - * PROVISIONED - Sets the read/write capacity mode to - * PROVISIONED. We recommend using PROVISIONED for - * predictable workloads.

    - *
  • - *
  • - *

    - * PAY_PER_REQUEST - Sets the read/write capacity mode to - * PAY_PER_REQUEST. We recommend using - * PAY_PER_REQUEST for unpredictable workloads.

    - *
  • - *
- * @public - */ - BillingMode?: BillingMode | undefined; -} -/** - *

Represents attributes that are copied (projected) from the table into an index. These - * are in addition to the primary key attributes and index key attributes, which are - * automatically projected.

- * @public - */ -export interface Projection { - /** - *

The set of attributes that are projected into the index:

- *
    - *
  • - *

    - * KEYS_ONLY - Only the index and primary keys are projected into the - * index.

    - *
  • - *
  • - *

    - * INCLUDE - In addition to the attributes described in - * KEYS_ONLY, the secondary index will include other non-key - * attributes that you specify.

    - *
  • - *
  • - *

    - * ALL - All of the table attributes are projected into the - * index.

    - *
  • - *
- *

When using the DynamoDB console, ALL is selected by default.

- * @public - */ - ProjectionType?: ProjectionType | undefined; - /** - *

Represents the non-key attribute names which will be projected into the index.

- *

For global and local secondary indexes, the total count of - * NonKeyAttributes summed across all of the secondary indexes, must not - * exceed 100. If you project the same attribute into two different indexes, this counts as - * two distinct attributes when determining the total. This limit only applies when you - * specify the ProjectionType of INCLUDE. You still can specify the - * ProjectionType of ALL to project all attributes from the source table, even - * if the table has more than 100 attributes.

- * @public - */ - NonKeyAttributes?: string[] | undefined; -} -/** - *

Represents the properties of a global secondary index for the table when the backup - * was created.

- * @public - */ -export interface GlobalSecondaryIndexInfo { - /** - *

The name of the global secondary index.

- * @public - */ - IndexName?: string | undefined; - /** - *

The complete key schema for a global secondary index, which consists of one or more - * pairs of attribute names and key types:

- *
    - *
  • - *

    - * HASH - partition key

    - *
  • - *
  • - *

    - * RANGE - sort key

    - *
  • - *
- * - *

The partition key of an item is also known as its hash - * attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across - * partitions, based on their partition key values.

- *

The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with - * the same partition key physically close together, in sorted order by the sort key - * value.

- *
- * @public - */ - KeySchema?: KeySchemaElement[] | undefined; - /** - *

Represents attributes that are copied (projected) from the table into the global - * secondary index. These are in addition to the primary key attributes and index key - * attributes, which are automatically projected.

- * @public - */ - Projection?: Projection | undefined; - /** - *

Represents the provisioned throughput settings for the specified global secondary - * index.

- * @public - */ - ProvisionedThroughput?: ProvisionedThroughput | undefined; - /** - *

Sets the maximum number of read and write units for the specified on-demand table. If - * you use this parameter, you must specify MaxReadRequestUnits, - * MaxWriteRequestUnits, or both.

- * @public - */ - OnDemandThroughput?: OnDemandThroughput | undefined; -} -/** - *

Represents the properties of a local secondary index for the table when the backup was - * created.

- * @public - */ -export interface LocalSecondaryIndexInfo { - /** - *

Represents the name of the local secondary index.

- * @public - */ - IndexName?: string | undefined; - /** - *

The complete key schema for a local secondary index, which consists of one or more - * pairs of attribute names and key types:

- *
    - *
  • - *

    - * HASH - partition key

    - *
  • - *
  • - *

    - * RANGE - sort key

    - *
  • - *
- * - *

The partition key of an item is also known as its hash - * attribute. The term "hash attribute" derives from DynamoDB's usage of - * an internal hash function to evenly distribute data items across partitions, based - * on their partition key values.

- *

The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with the same - * partition key physically close together, in sorted order by the sort key - * value.

- *
- * @public - */ - KeySchema?: KeySchemaElement[] | undefined; - /** - *

Represents attributes that are copied (projected) from the table into the global - * secondary index. These are in addition to the primary key attributes and index key - * attributes, which are automatically projected.

- * @public - */ - Projection?: Projection | undefined; -} -/** - *

The description of the server-side encryption status on the specified table.

- * @public - */ -export interface SSEDescription { - /** - *

Represents the current state of server-side encryption. The only supported values - * are:

- *
    - *
  • - *

    - * ENABLED - Server-side encryption is enabled.

    - *
  • - *
  • - *

    - * UPDATING - Server-side encryption is being updated.

    - *
  • - *
- * @public - */ - Status?: SSEStatus | undefined; - /** - *

Server-side encryption type. The only supported value is:

- *
    - *
  • - *

    - * KMS - Server-side encryption that uses Key Management Service. The - * key is stored in your account and is managed by KMS (KMS charges apply).

    - *
  • - *
- * @public - */ - SSEType?: SSEType | undefined; - /** - *

The KMS key ARN used for the KMS encryption.

- * @public - */ - KMSMasterKeyArn?: string | undefined; - /** - *

Indicates the time, in UNIX epoch date format, when DynamoDB detected that - * the table's KMS key was inaccessible. This attribute will automatically - * be cleared when DynamoDB detects that the table's KMS key is accessible - * again. DynamoDB will initiate the table archival process when table's KMS key remains inaccessible for more than seven days from this date.

- * @public - */ - InaccessibleEncryptionDateTime?: Date | undefined; -} -/** - *

Represents the DynamoDB Streams configuration for a table in DynamoDB.

- * @public - */ -export interface StreamSpecification { - /** - *

Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the - * table.

- * @public - */ - StreamEnabled: boolean | undefined; - /** - *

When an item in the table is modified, StreamViewType determines what - * information is written to the stream for this table. Valid values for - * StreamViewType are:

- *
    - *
  • - *

    - * KEYS_ONLY - Only the key attributes of the modified item are - * written to the stream.

    - *
  • - *
  • - *

    - * NEW_IMAGE - The entire item, as it appears after it was modified, - * is written to the stream.

    - *
  • - *
  • - *

    - * OLD_IMAGE - The entire item, as it appeared before it was modified, - * is written to the stream.

    - *
  • - *
  • - *

    - * NEW_AND_OLD_IMAGES - Both the new and the old item images of the - * item are written to the stream.

    - *
  • - *
- * @public - */ - StreamViewType?: StreamViewType | undefined; -} -/** - *

The description of the Time to Live (TTL) status on the specified table.

- * @public - */ -export interface TimeToLiveDescription { - /** - *

The TTL status for the table.

- * @public - */ - TimeToLiveStatus?: TimeToLiveStatus | undefined; - /** - *

The name of the TTL attribute for items in the table.

- * @public - */ - AttributeName?: string | undefined; -} -/** - *

Contains the details of the features enabled on the table when the backup was created. - * For example, LSIs, GSIs, streams, TTL.

- * @public - */ -export interface SourceTableFeatureDetails { - /** - *

Represents the LSI properties for the table when the backup was created. It includes - * the IndexName, KeySchema and Projection for the LSIs on the table at the time of backup. - *

- * @public - */ - LocalSecondaryIndexes?: LocalSecondaryIndexInfo[] | undefined; - /** - *

Represents the GSI properties for the table when the backup was created. It includes - * the IndexName, KeySchema, Projection, and ProvisionedThroughput for the GSIs on the - * table at the time of backup.

- * @public - */ - GlobalSecondaryIndexes?: GlobalSecondaryIndexInfo[] | undefined; - /** - *

Stream settings on the table when the backup was created.

- * @public - */ - StreamDescription?: StreamSpecification | undefined; - /** - *

Time to Live settings on the table when the backup was created.

- * @public - */ - TimeToLiveDescription?: TimeToLiveDescription | undefined; - /** - *

The description of the server-side encryption status on the table when the backup was - * created.

- * @public - */ - SSEDescription?: SSEDescription | undefined; -} -/** - *

Contains the description of the backup created for the table.

- * @public - */ -export interface BackupDescription { - /** - *

Contains the details of the backup created for the table.

- * @public - */ - BackupDetails?: BackupDetails | undefined; - /** - *

Contains the details of the table when the backup was created.

- * @public - */ - SourceTableDetails?: SourceTableDetails | undefined; - /** - *

Contains the details of the features enabled on the table when the backup was created. - * For example, LSIs, GSIs, streams, TTL.

- * @public - */ - SourceTableFeatureDetails?: SourceTableFeatureDetails | undefined; -} -/** - *

Contains details for the backup.

- * @public - */ -export interface BackupSummary { - /** - *

Name of the table.

- * @public - */ - TableName?: string | undefined; - /** - *

Unique identifier for the table.

- * @public - */ - TableId?: string | undefined; - /** - *

ARN associated with the table.

- * @public - */ - TableArn?: string | undefined; - /** - *

ARN associated with the backup.

- * @public - */ - BackupArn?: string | undefined; - /** - *

Name of the specified backup.

- * @public - */ - BackupName?: string | undefined; - /** - *

Time at which the backup was created.

- * @public - */ - BackupCreationDateTime?: Date | undefined; - /** - *

Time at which the automatic on-demand backup created by DynamoDB will - * expire. This SYSTEM on-demand backup expires automatically 35 days after - * its creation.

- * @public - */ - BackupExpiryDateTime?: Date | undefined; - /** - *

Backup can be in one of the following states: CREATING, ACTIVE, DELETED.

- * @public - */ - BackupStatus?: BackupStatus | undefined; - /** - *

BackupType:

- *
    - *
  • - *

    - * USER - You create and manage these using the on-demand backup - * feature.

    - *
  • - *
  • - *

    - * SYSTEM - If you delete a table with point-in-time recovery enabled, - * a SYSTEM backup is automatically created and is retained for 35 - * days (at no additional cost). System backups allow you to restore the deleted - * table to the state it was in just before the point of deletion.

    - *
  • - *
  • - *

    - * AWS_BACKUP - On-demand backup created by you from Backup service.

    - *
  • - *
- * @public - */ - BackupType?: BackupType | undefined; - /** - *

Size of the backup in bytes.

- * @public - */ - BackupSizeBytes?: number | undefined; -} -/** - *

Represents the amount of provisioned throughput capacity consumed on a table or an - * index.

- * @public - */ -export interface Capacity { - /** - *

The total number of read capacity units consumed on a table or an index.

- * @public - */ - ReadCapacityUnits?: number | undefined; - /** - *

The total number of write capacity units consumed on a table or an index.

- * @public - */ - WriteCapacityUnits?: number | undefined; - /** - *

The total number of capacity units consumed on a table or an index.

- * @public - */ - CapacityUnits?: number | undefined; -} -/** - *

The capacity units consumed by an operation. The data returned includes the total - * provisioned throughput consumed, along with statistics for the table and any indexes - * involved in the operation. ConsumedCapacity is only returned if the request - * asked for it. For more information, see Provisioned capacity mode in the Amazon DynamoDB Developer - * Guide.

- * @public - */ -export interface ConsumedCapacity { - /** - *

The name of the table that was affected by the operation. If you had specified the - * Amazon Resource Name (ARN) of a table in the input, you'll see the table ARN in the response.

- * @public - */ - TableName?: string | undefined; - /** - *

The total number of capacity units consumed by the operation.

- * @public - */ - CapacityUnits?: number | undefined; - /** - *

The total number of read capacity units consumed by the operation.

- * @public - */ - ReadCapacityUnits?: number | undefined; - /** - *

The total number of write capacity units consumed by the operation.

- * @public - */ - WriteCapacityUnits?: number | undefined; - /** - *

The amount of throughput consumed on the table affected by the operation.

- * @public - */ - Table?: Capacity | undefined; - /** - *

The amount of throughput consumed on each local index affected by the - * operation.

- * @public - */ - LocalSecondaryIndexes?: Record | undefined; - /** - *

The amount of throughput consumed on each global index affected by the - * operation.

- * @public - */ - GlobalSecondaryIndexes?: Record | undefined; -} -/** - *

Represents the specific reason why a DynamoDB request was throttled and the - * ARN of the impacted resource. This helps identify exactly what resource is being throttled, - * what type of operation caused it, and why the throttling occurred.

- * @public - */ -export interface ThrottlingReason { - /** - *

The reason for throttling. The throttling reason follows a specific format: - * ResourceType+OperationType+LimitType:

- *
    - *
  • - *

    Resource Type (What is being throttled): Table or Index

    - *
  • - *
  • - *

    Operation Type (What kind of operation): Read or Write

    - *
  • - *
  • - *

    Limit Type (Why the throttling occurred):

    - *
      - *
    • - *

      - * ProvisionedThroughputExceeded: The request rate is - * exceeding the provisioned throughput capacity (read or write capacity - * units) configured for a table or a global secondary index (GSI) in - * provisioned capacity mode.

      - *
    • - *
    • - *

      - * AccountLimitExceeded: The request rate has caused a table - * or global secondary index (GSI) in on-demand mode to exceed the per-table account-level service quotas for read/write - * throughput in the current Amazon Web Services Region.

      - *
    • - *
    • - *

      - * KeyRangeThroughputExceeded: The request rate directed at - * a specific partition key value has exceeded the internal partition-level throughput limits, indicating - * uneven access patterns across the table's or GSI's key space.

      - *
    • - *
    • - *

      - * MaxOnDemandThroughputExceeded: The request rate has - * exceeded the configured maximum throughput limits set for a table or - * index in on-demand capacity mode.

      - *
    • - *
    - *
  • - *
- *

Examples of complete throttling reasons:

- *
    - *
  • - *

    TableReadProvisionedThroughputExceeded

    - *
  • - *
  • - *

    IndexWriteAccountLimitExceeded

    - *
  • - *
- *

This helps identify exactly what resource is being throttled, what type of operation - * caused it, and why the throttling occurred.

- * @public - */ - reason?: string | undefined; - /** - *

The Amazon Resource Name (ARN) of the DynamoDB table or index that experienced the - * throttling event.

- * @public - */ - resource?: string | undefined; -} -/** - *

Contains the details for the read/write capacity mode. This page talks about - * PROVISIONED and PAY_PER_REQUEST billing modes. For more - * information about these modes, see Read/write capacity mode.

- * - *

You may need to switch to on-demand mode at least once in order to return a - * BillingModeSummary response.

- *
- * @public - */ -export interface BillingModeSummary { - /** - *

Controls how you are charged for read and write throughput and how you manage - * capacity. This setting can be changed later.

- *
    - *
  • - *

    - * PROVISIONED - Sets the read/write capacity mode to - * PROVISIONED. We recommend using PROVISIONED for - * predictable workloads.

    - *
  • - *
  • - *

    - * PAY_PER_REQUEST - Sets the read/write capacity mode to - * PAY_PER_REQUEST. We recommend using - * PAY_PER_REQUEST for unpredictable workloads.

    - *
  • - *
- * @public - */ - BillingMode?: BillingMode | undefined; - /** - *

Represents the time when PAY_PER_REQUEST was last set as the read/write - * capacity mode.

- * @public - */ - LastUpdateToPayPerRequestDateTime?: Date | undefined; -} -/** - *

The description of the point in time settings applied to the table.

- * @public - */ -export interface PointInTimeRecoveryDescription { - /** - *

The current state of point in time recovery:

- *
    - *
  • - *

    - * ENABLED - Point in time recovery is enabled.

    - *
  • - *
  • - *

    - * DISABLED - Point in time recovery is disabled.

    - *
  • - *
- * @public - */ - PointInTimeRecoveryStatus?: PointInTimeRecoveryStatus | undefined; - /** - *

The number of preceding days for which continuous backups are taken and maintained. - * Your table data is only recoverable to any point-in-time from within the configured - * recovery period. This parameter is optional.

- * @public - */ - RecoveryPeriodInDays?: number | undefined; - /** - *

Specifies the earliest point in time you can restore your table to. You can restore - * your table to any point in time during the last 35 days.

- * @public - */ - EarliestRestorableDateTime?: Date | undefined; - /** - *

- * LatestRestorableDateTime is typically 5 minutes before the current time. - *

- * @public - */ - LatestRestorableDateTime?: Date | undefined; -} -/** - *

Represents the continuous backups and point in time recovery settings on the - * table.

- * @public - */ -export interface ContinuousBackupsDescription { - /** - *

- * ContinuousBackupsStatus can be one of the following states: ENABLED, - * DISABLED

- * @public - */ - ContinuousBackupsStatus: ContinuousBackupsStatus | undefined; - /** - *

The description of the point in time recovery settings applied to the table.

- * @public - */ - PointInTimeRecoveryDescription?: PointInTimeRecoveryDescription | undefined; -} -/** - *

Represents a Contributor Insights summary entry.

- * @public - */ -export interface ContributorInsightsSummary { - /** - *

Name of the table associated with the summary.

- * @public - */ - TableName?: string | undefined; - /** - *

Name of the index associated with the summary, if any.

- * @public - */ - IndexName?: string | undefined; - /** - *

Describes the current status for contributor insights for the given table and index, - * if applicable.

- * @public - */ - ContributorInsightsStatus?: ContributorInsightsStatus | undefined; - /** - *

Indicates the current mode of CloudWatch Contributor Insights, specifying whether it - * tracks all access and throttled events or throttled events only for the DynamoDB - * table or index.

- * @public - */ - ContributorInsightsMode?: ContributorInsightsMode | undefined; -} -/** - * @public - */ -export interface CreateBackupInput { - /** - *

The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this - * parameter.

- * @public - */ - TableName: string | undefined; - /** - *

Specified name for the backup.

- * @public - */ - BackupName: string | undefined; -} -/** - * @public - */ -export interface CreateBackupOutput { - /** - *

Contains the details of the backup created for the table.

- * @public - */ - BackupDetails?: BackupDetails | undefined; -} -/** - *

Provides visibility into the number of read and write operations your table or - * secondary index can instantaneously support. The settings can be modified using the - * UpdateTable operation to meet the throughput requirements of an - * upcoming peak event.

- * @public - */ -export interface WarmThroughput { - /** - *

Represents the number of read operations your base table can instantaneously - * support.

- * @public - */ - ReadUnitsPerSecond?: number | undefined; - /** - *

Represents the number of write operations your base table can instantaneously - * support.

- * @public - */ - WriteUnitsPerSecond?: number | undefined; -} -/** - *

Represents a new global secondary index to be added to an existing table.

- * @public - */ -export interface CreateGlobalSecondaryIndexAction { - /** - *

The name of the global secondary index to be created.

- * @public - */ - IndexName: string | undefined; - /** - *

The key schema for the global secondary index. - * Global secondary index supports up to 4 partition and up to 4 sort keys.

- * @public - */ - KeySchema: KeySchemaElement[] | undefined; - /** - *

Represents attributes that are copied (projected) from the table into an index. These - * are in addition to the primary key attributes and index key attributes, which are - * automatically projected.

- * @public - */ - Projection: Projection | undefined; - /** - *

Represents the provisioned throughput settings for the specified global secondary - * index.

- *

For current minimum and maximum provisioned throughput values, see Service, - * Account, and Table Quotas in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ProvisionedThroughput?: ProvisionedThroughput | undefined; - /** - *

The maximum number of read and write units for the global secondary index being - * created. If you use this parameter, you must specify MaxReadRequestUnits, - * MaxWriteRequestUnits, or both. You must use either OnDemand - * Throughput or ProvisionedThroughput based on your table's - * capacity mode.

- * @public - */ - OnDemandThroughput?: OnDemandThroughput | undefined; - /** - *

Represents the warm throughput value (in read units per second and write units per - * second) when creating a secondary index.

- * @public - */ - WarmThroughput?: WarmThroughput | undefined; -} -/** - *

Represents the properties of a replica.

- * @public - */ -export interface Replica { - /** - *

The Region where the replica needs to be created.

- * @public - */ - RegionName?: string | undefined; -} -/** - * @public - */ -export interface CreateGlobalTableInput { - /** - *

The global table name.

- * @public - */ - GlobalTableName: string | undefined; - /** - *

The Regions where the global table needs to be created.

- * @public - */ - ReplicationGroup: Replica[] | undefined; -} -/** - *

Overrides the on-demand throughput settings for this replica table. If you don't - * specify a value for this parameter, it uses the source table's on-demand throughput - * settings.

- * @public - */ -export interface OnDemandThroughputOverride { - /** - *

Maximum number of read request units for the specified replica table.

- * @public - */ - MaxReadRequestUnits?: number | undefined; -} -/** - *

Replica-specific provisioned throughput settings. If not specified, uses the source - * table's provisioned throughput settings.

- * @public - */ -export interface ProvisionedThroughputOverride { - /** - *

Replica-specific read capacity units. If not specified, uses the source table's read - * capacity settings.

- * @public - */ - ReadCapacityUnits?: number | undefined; -} -/** - *

The description of the warm throughput value on a global secondary index.

- * @public - */ -export interface GlobalSecondaryIndexWarmThroughputDescription { - /** - *

Represents warm throughput read units per second value for a global secondary - * index.

- * @public - */ - ReadUnitsPerSecond?: number | undefined; - /** - *

Represents warm throughput write units per second value for a global secondary - * index.

- * @public - */ - WriteUnitsPerSecond?: number | undefined; - /** - *

Represents the warm throughput status being created or updated on a global secondary - * index. The status can only be UPDATING or ACTIVE.

- * @public - */ - Status?: IndexStatus | undefined; -} -/** - *

Represents the properties of a replica global secondary index.

- * @public - */ -export interface ReplicaGlobalSecondaryIndexDescription { - /** - *

The name of the global secondary index.

- * @public - */ - IndexName?: string | undefined; - /** - *

If not described, uses the source table GSI's read capacity settings.

- * @public - */ - ProvisionedThroughputOverride?: ProvisionedThroughputOverride | undefined; - /** - *

Overrides the maximum on-demand throughput for the specified global secondary index in - * the specified replica table.

- * @public - */ - OnDemandThroughputOverride?: OnDemandThroughputOverride | undefined; - /** - *

Represents the warm throughput of the global secondary index for this replica.

- * @public - */ - WarmThroughput?: GlobalSecondaryIndexWarmThroughputDescription | undefined; -} -/** - *

Contains details of the table class.

- * @public - */ -export interface TableClassSummary { - /** - *

The table class of the specified table. Valid values are STANDARD and - * STANDARD_INFREQUENT_ACCESS.

- * @public - */ - TableClass?: TableClass | undefined; - /** - *

The date and time at which the table class was last updated.

- * @public - */ - LastUpdateDateTime?: Date | undefined; -} -/** - *

Represents the warm throughput value (in read units per second and write units per - * second) of the table. Warm throughput is applicable for DynamoDB Standard-IA tables and - * specifies the minimum provisioned capacity maintained for immediate data access.

- * @public - */ -export interface TableWarmThroughputDescription { - /** - *

Represents the base table's warm throughput value in read units per second.

- * @public - */ - ReadUnitsPerSecond?: number | undefined; - /** - *

Represents the base table's warm throughput value in write units per second.

- * @public - */ - WriteUnitsPerSecond?: number | undefined; - /** - *

Represents warm throughput value of the base table.

- * @public - */ - Status?: TableStatus | undefined; -} -/** - *

Contains the details of the replica.

- * @public - */ -export interface ReplicaDescription { - /** - *

The name of the Region.

- * @public - */ - RegionName?: string | undefined; - /** - *

The current state of the replica:

- *
    - *
  • - *

    - * CREATING - The replica is being created.

    - *
  • - *
  • - *

    - * UPDATING - The replica is being updated.

    - *
  • - *
  • - *

    - * DELETING - The replica is being deleted.

    - *
  • - *
  • - *

    - * ACTIVE - The replica is ready for use.

    - *
  • - *
  • - *

    - * REGION_DISABLED - The replica is inaccessible because the Amazon Web Services Region has been disabled.

    - * - *

    If the Amazon Web Services Region remains inaccessible for more than 20 - * hours, DynamoDB will remove this replica from the replication - * group. The replica will not be deleted and replication will stop from and to - * this region.

    - *
    - *
  • - *
  • - *

    - * INACCESSIBLE_ENCRYPTION_CREDENTIALS - The KMS key - * used to encrypt the table is inaccessible.

    - * - *

    If the KMS key remains inaccessible for more than 20 hours, - * DynamoDB will remove this replica from the replication group. - * The replica will not be deleted and replication will stop from and to this - * region.

    - *
    - *
  • - *
- * @public - */ - ReplicaStatus?: ReplicaStatus | undefined; - /** - *

The Amazon Resource Name (ARN) of the global table replica.

- * @public - */ - ReplicaArn?: string | undefined; - /** - *

Detailed information about the replica status.

- * @public - */ - ReplicaStatusDescription?: string | undefined; - /** - *

Specifies the progress of a Create, Update, or Delete action on the replica as a - * percentage.

- * @public - */ - ReplicaStatusPercentProgress?: string | undefined; - /** - *

The KMS key of the replica that will be used for KMS - * encryption.

- * @public - */ - KMSMasterKeyId?: string | undefined; - /** - *

Replica-specific provisioned throughput. If not described, uses the source table's - * provisioned throughput settings.

- * @public - */ - ProvisionedThroughputOverride?: ProvisionedThroughputOverride | undefined; - /** - *

Overrides the maximum on-demand throughput settings for the specified replica - * table.

- * @public - */ - OnDemandThroughputOverride?: OnDemandThroughputOverride | undefined; - /** - *

Represents the warm throughput value for this replica.

- * @public - */ - WarmThroughput?: TableWarmThroughputDescription | undefined; - /** - *

Replica-specific global secondary index settings.

- * @public - */ - GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndexDescription[] | undefined; - /** - *

The time at which the replica was first detected as inaccessible. To determine cause - * of inaccessibility check the ReplicaStatus property.

- * @public - */ - ReplicaInaccessibleDateTime?: Date | undefined; - /** - *

Contains details of the table class.

- * @public - */ - ReplicaTableClassSummary?: TableClassSummary | undefined; - /** - *

Indicates one of the settings synchronization modes for the global table replica:

- *
    - *
  • - *

    - * ENABLED: Indicates that the settings synchronization mode for the global table - * replica is enabled.

    - *
  • - *
  • - *

    - * DISABLED: Indicates that the settings synchronization mode for the global table - * replica is disabled.

    - *
  • - *
  • - *

    - * ENABLED_WITH_OVERRIDES: This mode is set by default for a same account global table. - * Indicates that certain global table settings can be overridden.

    - *
  • - *
- * @public - */ - GlobalTableSettingsReplicationMode?: GlobalTableSettingsReplicationMode | undefined; -} -/** - *

Contains details about the global table.

- * @public - */ -export interface GlobalTableDescription { - /** - *

The Regions where the global table has replicas.

- * @public - */ - ReplicationGroup?: ReplicaDescription[] | undefined; - /** - *

The unique identifier of the global table.

- * @public - */ - GlobalTableArn?: string | undefined; - /** - *

The creation time of the global table.

- * @public - */ - CreationDateTime?: Date | undefined; - /** - *

The current state of the global table:

- *
    - *
  • - *

    - * CREATING - The global table is being created.

    - *
  • - *
  • - *

    - * UPDATING - The global table is being updated.

    - *
  • - *
  • - *

    - * DELETING - The global table is being deleted.

    - *
  • - *
  • - *

    - * ACTIVE - The global table is ready for use.

    - *
  • - *
- * @public - */ - GlobalTableStatus?: GlobalTableStatus | undefined; - /** - *

The global table name.

- * @public - */ - GlobalTableName?: string | undefined; -} -/** - * @public - */ -export interface CreateGlobalTableOutput { - /** - *

Contains the details of the global table.

- * @public - */ - GlobalTableDescription?: GlobalTableDescription | undefined; -} -/** - *

Specifies the action to add a new witness Region to a MRSC global table. A MRSC global - * table can be configured with either three replicas, or with two replicas and one - * witness.

- * @public - */ -export interface CreateGlobalTableWitnessGroupMemberAction { - /** - *

The Amazon Web Services Region name to be added as a witness Region for the MRSC global - * table. The witness must be in a different Region than the replicas and within the same - * Region set:

- *
    - *
  • - *

    US Region set: US East (N. Virginia), US East (Ohio), US West (Oregon)

    - *
  • - *
  • - *

    EU Region set: Europe (Ireland), Europe (London), Europe (Paris), Europe - * (Frankfurt)

    - *
  • - *
  • - *

    AP Region set: Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific - * (Osaka)

    - *
  • - *
- * @public - */ - RegionName: string | undefined; -} -/** - *

Represents a replica to be added.

- * @public - */ -export interface CreateReplicaAction { - /** - *

The Region of the replica to be added.

- * @public - */ - RegionName: string | undefined; -} -/** - *

Represents the properties of a replica global secondary index.

- * @public - */ -export interface ReplicaGlobalSecondaryIndex { - /** - *

The name of the global secondary index.

- * @public - */ - IndexName: string | undefined; - /** - *

Replica table GSI-specific provisioned throughput. If not specified, uses the source - * table GSI's read capacity settings.

- * @public - */ - ProvisionedThroughputOverride?: ProvisionedThroughputOverride | undefined; - /** - *

Overrides the maximum on-demand throughput settings for the specified global secondary - * index in the specified replica table.

- * @public - */ - OnDemandThroughputOverride?: OnDemandThroughputOverride | undefined; -} -/** - *

Represents a replica to be created.

- * @public - */ -export interface CreateReplicationGroupMemberAction { - /** - *

The Region where the new replica will be created.

- * @public - */ - RegionName: string | undefined; - /** - *

The KMS key that should be used for KMS encryption in - * the new replica. To specify a key, use its key ID, Amazon Resource Name (ARN), alias - * name, or alias ARN. Note that you should only provide this parameter if the key is - * different from the default DynamoDB KMS key - * alias/aws/dynamodb.

- * @public - */ - KMSMasterKeyId?: string | undefined; - /** - *

Replica-specific provisioned throughput. If not specified, uses the source table's - * provisioned throughput settings.

- * @public - */ - ProvisionedThroughputOverride?: ProvisionedThroughputOverride | undefined; - /** - *

The maximum on-demand throughput settings for the specified replica table being - * created. You can only modify MaxReadRequestUnits, because you can't modify - * MaxWriteRequestUnits for individual replica tables.

- * @public - */ - OnDemandThroughputOverride?: OnDemandThroughputOverride | undefined; - /** - *

Replica-specific global secondary index settings.

- * @public - */ - GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndex[] | undefined; - /** - *

Replica-specific table class. If not specified, uses the source table's table - * class.

- * @public - */ - TableClassOverride?: TableClass | undefined; -} -/** - *

Represents the properties of a global secondary index.

- * @public - */ -export interface GlobalSecondaryIndex { - /** - *

The name of the global secondary index. The name must be unique among all other - * indexes on this table.

- * @public - */ - IndexName: string | undefined; - /** - *

The complete key schema for a global secondary index, which consists of one or more - * pairs of attribute names and key types:

- *
    - *
  • - *

    - * HASH - partition key

    - *
  • - *
  • - *

    - * RANGE - sort key

    - *
  • - *
- * - *

The partition key of an item is also known as its hash - * attribute. The term "hash attribute" derives from DynamoDB's usage of - * an internal hash function to evenly distribute data items across partitions, based - * on their partition key values.

- *

The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with the same - * partition key physically close together, in sorted order by the sort key - * value.

- *
- * @public - */ - KeySchema: KeySchemaElement[] | undefined; - /** - *

Represents attributes that are copied (projected) from the table into the global - * secondary index. These are in addition to the primary key attributes and index key - * attributes, which are automatically projected.

- * @public - */ - Projection: Projection | undefined; - /** - *

Represents the provisioned throughput settings for the specified global secondary - * index. You must use either OnDemandThroughput or - * ProvisionedThroughput based on your table's capacity mode.

- *

For current minimum and maximum provisioned throughput values, see Service, - * Account, and Table Quotas in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ProvisionedThroughput?: ProvisionedThroughput | undefined; - /** - *

The maximum number of read and write units for the specified global secondary index. - * If you use this parameter, you must specify MaxReadRequestUnits, - * MaxWriteRequestUnits, or both. You must use either - * OnDemandThroughput or ProvisionedThroughput based on your - * table's capacity mode.

- * @public - */ - OnDemandThroughput?: OnDemandThroughput | undefined; - /** - *

Represents the warm throughput value (in read units per second and write units per - * second) for the specified secondary index. If you use this parameter, you must specify - * ReadUnitsPerSecond, WriteUnitsPerSecond, or both.

- * @public - */ - WarmThroughput?: WarmThroughput | undefined; -} -/** - *

Represents the properties of a local secondary index.

- * @public - */ -export interface LocalSecondaryIndex { - /** - *

The name of the local secondary index. The name must be unique among all other indexes - * on this table.

- * @public - */ - IndexName: string | undefined; - /** - *

The complete key schema for the local secondary index, consisting of one or more pairs - * of attribute names and key types:

- *
    - *
  • - *

    - * HASH - partition key

    - *
  • - *
  • - *

    - * RANGE - sort key

    - *
  • - *
- * - *

The partition key of an item is also known as its hash - * attribute. The term "hash attribute" derives from DynamoDB's usage of - * an internal hash function to evenly distribute data items across partitions, based - * on their partition key values.

- *

The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with the same - * partition key physically close together, in sorted order by the sort key - * value.

- *
- * @public - */ - KeySchema: KeySchemaElement[] | undefined; - /** - *

Represents attributes that are copied (projected) from the table into the local - * secondary index. These are in addition to the primary key attributes and index key - * attributes, which are automatically projected.

- * @public - */ - Projection: Projection | undefined; -} -/** - *

Represents the settings used to enable server-side encryption.

- * @public - */ -export interface SSESpecification { - /** - *

Indicates whether server-side encryption is done using an Amazon Web Services managed - * key or an Amazon Web Services owned key. If enabled (true), server-side encryption type - * is set to KMS and an Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side - * encryption is set to Amazon Web Services owned key.

- * @public - */ - Enabled?: boolean | undefined; - /** - *

Server-side encryption type. The only supported value is:

- *
    - *
  • - *

    - * KMS - Server-side encryption that uses Key Management Service. The - * key is stored in your account and is managed by KMS (KMS charges apply).

    - *
  • - *
- * @public - */ - SSEType?: SSEType | undefined; - /** - *

The KMS key that should be used for the KMS encryption. - * To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. - * Note that you should only provide this parameter if the key is different from the - * default DynamoDB key alias/aws/dynamodb.

- * @public - */ - KMSMasterKeyId?: string | undefined; -} -/** - *

Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a single - * DynamoDB table.

- *

Amazon Web Services-assigned tag names and values are automatically assigned the - * aws: prefix, which the user cannot assign. Amazon Web Services-assigned - * tag names do not count towards the tag limit of 50. User-assigned tag names have the - * prefix user: in the Cost Allocation Report. You cannot backdate the - * application of a tag.

- *

For an overview on tagging DynamoDB resources, see Tagging - * for DynamoDB in the Amazon DynamoDB Developer - * Guide.

- * @public - */ -export interface Tag { - /** - *

The key of the tag. Tag keys are case sensitive. Each DynamoDB table can - * only have up to one tag with the same key. If you try to add an existing tag (same key), - * the existing tag value will be updated to the new value.

- * @public - */ - Key: string | undefined; - /** - *

The value of the tag. Tag values are case-sensitive and can be null.

- * @public - */ - Value: string | undefined; -} -/** - *

Represents the input of a CreateTable operation.

- * @public - */ -export interface CreateTableInput { - /** - *

An array of attributes that describe the key schema for the table and indexes.

- * @public - */ - AttributeDefinitions?: AttributeDefinition[] | undefined; - /** - *

The name of the table to create. You can also provide the Amazon Resource Name (ARN) of the table in - * this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

Specifies the attributes that make up the primary key for a table or an index. The - * attributes in KeySchema must also be defined in the - * AttributeDefinitions array. For more information, see Data - * Model in the Amazon DynamoDB Developer Guide.

- *

Each KeySchemaElement in the array is composed of:

- *
    - *
  • - *

    - * AttributeName - The name of this key attribute.

    - *
  • - *
  • - *

    - * KeyType - The role that the key attribute will assume:

    - *
      - *
    • - *

      - * HASH - partition key

      - *
    • - *
    • - *

      - * RANGE - sort key

      - *
    • - *
    - *
  • - *
- * - *

The partition key of an item is also known as its hash - * attribute. The term "hash attribute" derives from the DynamoDB usage - * of an internal hash function to evenly distribute data items across partitions, - * based on their partition key values.

- *

The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with the same - * partition key physically close together, in sorted order by the sort key - * value.

- *
- *

For a simple primary key (partition key), you must provide exactly one element with a - * KeyType of HASH.

- *

For a composite primary key (partition key and sort key), you must provide exactly two - * elements, in this order: The first element must have a KeyType of - * HASH, and the second element must have a KeyType of - * RANGE.

- *

For more information, see Working with Tables in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - KeySchema?: KeySchemaElement[] | undefined; - /** - *

One or more local secondary indexes (the maximum is 5) to be created on the table. - * Each index is scoped to a given partition key value. There is a 10 GB size limit per - * partition key value; otherwise, the size of a local secondary index is - * unconstrained.

- *

Each local secondary index in the array includes the following:

- *
    - *
  • - *

    - * IndexName - The name of the local secondary index. Must be unique - * only for this table.

    - *

    - *
  • - *
  • - *

    - * KeySchema - Specifies the key schema for the local secondary index. - * The key schema must begin with the same partition key as the table.

    - *
  • - *
  • - *

    - * Projection - Specifies attributes that are copied (projected) from - * the table into the index. These are in addition to the primary key attributes - * and index key attributes, which are automatically projected. Each attribute - * specification is composed of:

    - *
      - *
    • - *

      - * ProjectionType - One of the following:

      - *
        - *
      • - *

        - * KEYS_ONLY - Only the index and primary keys are - * projected into the index.

        - *
      • - *
      • - *

        - * INCLUDE - Only the specified table attributes are - * projected into the index. The list of projected attributes is in - * NonKeyAttributes.

        - *
      • - *
      • - *

        - * ALL - All of the table attributes are projected - * into the index.

        - *
      • - *
      - *
    • - *
    • - *

      - * NonKeyAttributes - A list of one or more non-key attribute - * names that are projected into the secondary index. The total count of - * attributes provided in NonKeyAttributes, summed across all - * of the secondary indexes, must not exceed 100. If you project the same - * attribute into two different indexes, this counts as two distinct - * attributes when determining the total. This limit only applies when you - * specify the ProjectionType of INCLUDE. You still can - * specify the ProjectionType of ALL to project all attributes - * from the source table, even if the table has more than 100 - * attributes.

      - *
    • - *
    - *
  • - *
- * @public - */ - LocalSecondaryIndexes?: LocalSecondaryIndex[] | undefined; - /** - *

One or more global secondary indexes (the maximum is 20) to be created on the table. - * Each global secondary index in the array includes the following:

- *
    - *
  • - *

    - * IndexName - The name of the global secondary index. Must be unique - * only for this table.

    - *

    - *
  • - *
  • - *

    - * KeySchema - Specifies the key schema for the global secondary - * index. Each global secondary index supports up to 4 partition keys and up to 4 sort keys.

    - *
  • - *
  • - *

    - * Projection - Specifies attributes that are copied (projected) from - * the table into the index. These are in addition to the primary key attributes - * and index key attributes, which are automatically projected. Each attribute - * specification is composed of:

    - *
      - *
    • - *

      - * ProjectionType - One of the following:

      - *
        - *
      • - *

        - * KEYS_ONLY - Only the index and primary keys are - * projected into the index.

        - *
      • - *
      • - *

        - * INCLUDE - Only the specified table attributes are - * projected into the index. The list of projected attributes is in - * NonKeyAttributes.

        - *
      • - *
      • - *

        - * ALL - All of the table attributes are projected - * into the index.

        - *
      • - *
      - *
    • - *
    • - *

      - * NonKeyAttributes - A list of one or more non-key attribute - * names that are projected into the secondary index. The total count of - * attributes provided in NonKeyAttributes, summed across all - * of the secondary indexes, must not exceed 100. If you project the same - * attribute into two different indexes, this counts as two distinct - * attributes when determining the total. This limit only applies when you - * specify the ProjectionType of INCLUDE. You still can - * specify the ProjectionType of ALL to project all attributes - * from the source table, even if the table has more than 100 - * attributes.

      - *
    • - *
    - *
  • - *
  • - *

    - * ProvisionedThroughput - The provisioned throughput settings for the - * global secondary index, consisting of read and write capacity units.

    - *
  • - *
- * @public - */ - GlobalSecondaryIndexes?: GlobalSecondaryIndex[] | undefined; - /** - *

Controls how you are charged for read and write throughput and how you manage - * capacity. This setting can be changed later.

- *
    - *
  • - *

    - * PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST - * for most DynamoDB workloads. PAY_PER_REQUEST sets the billing mode - * to On-demand capacity mode.

    - *
  • - *
  • - *

    - * PROVISIONED - We recommend using PROVISIONED for - * steady workloads with predictable growth where capacity requirements can be - * reliably forecasted. PROVISIONED sets the billing mode to Provisioned capacity mode.

    - *
  • - *
- * @public - */ - BillingMode?: BillingMode | undefined; - /** - *

Represents the provisioned throughput settings for a specified table or index. The - * settings can be modified using the UpdateTable operation.

- *

If you set BillingMode as PROVISIONED, you must specify this property. - * If you set BillingMode as PAY_PER_REQUEST, you cannot specify this - * property.

- *

For current minimum and maximum provisioned throughput values, see Service, - * Account, and Table Quotas in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ProvisionedThroughput?: ProvisionedThroughput | undefined; - /** - *

The settings for DynamoDB Streams on the table. These settings consist of:

- *
    - *
  • - *

    - * StreamEnabled - Indicates whether DynamoDB Streams is to be enabled - * (true) or disabled (false).

    - *
  • - *
  • - *

    - * StreamViewType - When an item in the table is modified, - * StreamViewType determines what information is written to the - * table's stream. Valid values for StreamViewType are:

    - *
      - *
    • - *

      - * KEYS_ONLY - Only the key attributes of the modified item - * are written to the stream.

      - *
    • - *
    • - *

      - * NEW_IMAGE - The entire item, as it appears after it was - * modified, is written to the stream.

      - *
    • - *
    • - *

      - * OLD_IMAGE - The entire item, as it appeared before it was - * modified, is written to the stream.

      - *
    • - *
    • - *

      - * NEW_AND_OLD_IMAGES - Both the new and the old item images - * of the item are written to the stream.

      - *
    • - *
    - *
  • - *
- * @public - */ - StreamSpecification?: StreamSpecification | undefined; - /** - *

Represents the settings used to enable server-side encryption.

- * @public - */ - SSESpecification?: SSESpecification | undefined; - /** - *

A list of key-value pairs to label the table. For more information, see Tagging - * for DynamoDB.

- * @public - */ - Tags?: Tag[] | undefined; - /** - *

The table class of the new table. Valid values are STANDARD and - * STANDARD_INFREQUENT_ACCESS.

- * @public - */ - TableClass?: TableClass | undefined; - /** - *

Indicates whether deletion protection is to be enabled (true) or disabled (false) on - * the table.

- * @public - */ - DeletionProtectionEnabled?: boolean | undefined; - /** - *

Represents the warm throughput (in read units per second and write units per second) - * for creating a table.

- * @public - */ - WarmThroughput?: WarmThroughput | undefined; - /** - *

An Amazon Web Services resource-based policy document in JSON format that will be - * attached to the table.

- *

When you attach a resource-based policy while creating a table, the policy application - * is strongly consistent.

- *

The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this - * limit. For a full list of all considerations that apply for resource-based policies, see - * Resource-based - * policy considerations.

- * - *

You need to specify the CreateTable and - * PutResourcePolicy - * IAM actions for authorizing a user to create a table with a - * resource-based policy.

- *
- * @public - */ - ResourcePolicy?: string | undefined; - /** - *

Sets the maximum number of read and write units for the specified table in on-demand - * capacity mode. If you use this parameter, you must specify - * MaxReadRequestUnits, MaxWriteRequestUnits, or both.

- * @public - */ - OnDemandThroughput?: OnDemandThroughput | undefined; - /** - *

The Amazon Resource Name (ARN) of the source table used for the creation - * of a multi-account global table.

- * @public - */ - GlobalTableSourceArn?: string | undefined; - /** - *

Controls the settings synchronization mode for the global table. For multi-account global tables, - * this parameter is required and the only supported value is ENABLED. For same-account global tables, - * this parameter is set to ENABLED_WITH_OVERRIDES. - *

- * @public - */ - GlobalTableSettingsReplicationMode?: GlobalTableSettingsReplicationMode | undefined; -} -/** - *

Represents the provisioned throughput settings for the table, consisting of read and - * write capacity units, along with data about increases and decreases.

- * @public - */ -export interface ProvisionedThroughputDescription { - /** - *

The date and time of the last provisioned throughput increase for this table.

- * @public - */ - LastIncreaseDateTime?: Date | undefined; - /** - *

The date and time of the last provisioned throughput decrease for this table.

- * @public - */ - LastDecreaseDateTime?: Date | undefined; - /** - *

The number of provisioned throughput decreases for this table during this UTC calendar - * day. For current maximums on provisioned throughput decreases, see Service, - * Account, and Table Quotas in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - NumberOfDecreasesToday?: number | undefined; - /** - *

The maximum number of strongly consistent reads consumed per second before DynamoDB - * returns a ThrottlingException. Eventually consistent reads require less - * effort than strongly consistent reads, so a setting of 50 ReadCapacityUnits - * per second provides 100 eventually consistent ReadCapacityUnits per - * second.

- * @public - */ - ReadCapacityUnits?: number | undefined; - /** - *

The maximum number of writes consumed per second before DynamoDB returns a - * ThrottlingException.

- * @public - */ - WriteCapacityUnits?: number | undefined; -} -/** - *

Represents the properties of a global secondary index.

- * @public - */ -export interface GlobalSecondaryIndexDescription { - /** - *

The name of the global secondary index.

- * @public - */ - IndexName?: string | undefined; - /** - *

The complete key schema for a global secondary index, which consists of one or more - * pairs of attribute names and key types:

- *
    - *
  • - *

    - * HASH - partition key

    - *
  • - *
  • - *

    - * RANGE - sort key

    - *
  • - *
- * - *

The partition key of an item is also known as its hash - * attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across - * partitions, based on their partition key values.

- *

The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with - * the same partition key physically close together, in sorted order by the sort key - * value.

- *
- * @public - */ - KeySchema?: KeySchemaElement[] | undefined; - /** - *

Represents attributes that are copied (projected) from the table into the global - * secondary index. These are in addition to the primary key attributes and index key - * attributes, which are automatically projected.

- * @public - */ - Projection?: Projection | undefined; - /** - *

The current state of the global secondary index:

- *
    - *
  • - *

    - * CREATING - The index is being created.

    - *
  • - *
  • - *

    - * UPDATING - The index is being updated.

    - *
  • - *
  • - *

    - * DELETING - The index is being deleted.

    - *
  • - *
  • - *

    - * ACTIVE - The index is ready for use.

    - *
  • - *
- * @public - */ - IndexStatus?: IndexStatus | undefined; - /** - *

Indicates whether the index is currently backfilling. Backfilling - * is the process of reading items from the table and determining whether they can be added - * to the index. (Not all items will qualify: For example, a partition key cannot have any - * duplicate values.) If an item can be added to the index, DynamoDB will do so. After all - * items have been processed, the backfilling operation is complete and - * Backfilling is false.

- *

You can delete an index that is being created during the Backfilling - * phase when IndexStatus is set to CREATING and Backfilling is - * true. You can't delete the index that is being created when IndexStatus is - * set to CREATING and Backfilling is false.

- * - *

For indexes that were created during a CreateTable operation, the - * Backfilling attribute does not appear in the - * DescribeTable output.

- *
- * @public - */ - Backfilling?: boolean | undefined; - /** - *

Represents the provisioned throughput settings for the specified global secondary - * index.

- *

For current minimum and maximum provisioned throughput values, see Service, - * Account, and Table Quotas in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ProvisionedThroughput?: ProvisionedThroughputDescription | undefined; - /** - *

The total size of the specified index, in bytes. DynamoDB updates this value - * approximately every six hours. Recent changes might not be reflected in this - * value.

- * @public - */ - IndexSizeBytes?: number | undefined; - /** - *

The number of items in the specified index. DynamoDB updates this value approximately - * every six hours. Recent changes might not be reflected in this value.

- * @public - */ - ItemCount?: number | undefined; - /** - *

The Amazon Resource Name (ARN) that uniquely identifies the index.

- * @public - */ - IndexArn?: string | undefined; - /** - *

The maximum number of read and write units for the specified global secondary index. - * If you use this parameter, you must specify MaxReadRequestUnits, - * MaxWriteRequestUnits, or both.

- * @public - */ - OnDemandThroughput?: OnDemandThroughput | undefined; - /** - *

Represents the warm throughput value (in read units per second and write units per - * second) for the specified secondary index.

- * @public - */ - WarmThroughput?: GlobalSecondaryIndexWarmThroughputDescription | undefined; -} -/** - *

Represents the properties of a witness Region in a MRSC global table.

- * @public - */ -export interface GlobalTableWitnessDescription { - /** - *

The name of the Amazon Web Services Region that serves as a witness for the MRSC global - * table.

- * @public - */ - RegionName?: string | undefined; - /** - *

The current status of the witness Region in the MRSC global table.

- * @public - */ - WitnessStatus?: WitnessStatus | undefined; -} -/** - *

Represents the properties of a local secondary index.

- * @public - */ -export interface LocalSecondaryIndexDescription { - /** - *

Represents the name of the local secondary index.

- * @public - */ - IndexName?: string | undefined; - /** - *

The complete key schema for the local secondary index, consisting of one or more pairs - * of attribute names and key types:

- *
    - *
  • - *

    - * HASH - partition key

    - *
  • - *
  • - *

    - * RANGE - sort key

    - *
  • - *
- * - *

The partition key of an item is also known as its hash - * attribute. The term "hash attribute" derives from DynamoDB's usage of - * an internal hash function to evenly distribute data items across partitions, based - * on their partition key values.

- *

The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with the same - * partition key physically close together, in sorted order by the sort key - * value.

- *
- * @public - */ - KeySchema?: KeySchemaElement[] | undefined; - /** - *

Represents attributes that are copied (projected) from the table into the global - * secondary index. These are in addition to the primary key attributes and index key - * attributes, which are automatically projected.

- * @public - */ - Projection?: Projection | undefined; - /** - *

The total size of the specified index, in bytes. DynamoDB updates this value - * approximately every six hours. Recent changes might not be reflected in this - * value.

- * @public - */ - IndexSizeBytes?: number | undefined; - /** - *

The number of items in the specified index. DynamoDB updates this value - * approximately every six hours. Recent changes might not be reflected in this - * value.

- * @public - */ - ItemCount?: number | undefined; - /** - *

The Amazon Resource Name (ARN) that uniquely identifies the index.

- * @public - */ - IndexArn?: string | undefined; -} -/** - *

Contains details for the restore.

- * @public - */ -export interface RestoreSummary { - /** - *

The Amazon Resource Name (ARN) of the backup from which the table was restored.

- * @public - */ - SourceBackupArn?: string | undefined; - /** - *

The ARN of the source table of the backup that is being restored.

- * @public - */ - SourceTableArn?: string | undefined; - /** - *

Point in time or source backup time.

- * @public - */ - RestoreDateTime: Date | undefined; - /** - *

Indicates if a restore is in progress or not.

- * @public - */ - RestoreInProgress: boolean | undefined; -} -/** - *

Represents the properties of a table.

- * @public - */ -export interface TableDescription { - /** - *

An array of AttributeDefinition objects. Each of these objects describes - * one attribute in the table and index key schema.

- *

Each AttributeDefinition object in this array is composed of:

- *
    - *
  • - *

    - * AttributeName - The name of the attribute.

    - *
  • - *
  • - *

    - * AttributeType - The data type for the attribute.

    - *
  • - *
- * @public - */ - AttributeDefinitions?: AttributeDefinition[] | undefined; - /** - *

The name of the table.

- * @public - */ - TableName?: string | undefined; - /** - *

The primary key structure for the table. Each KeySchemaElement consists - * of:

- *
    - *
  • - *

    - * AttributeName - The name of the attribute.

    - *
  • - *
  • - *

    - * KeyType - The role of the attribute:

    - *
      - *
    • - *

      - * HASH - partition key

      - *
    • - *
    • - *

      - * RANGE - sort key

      - *
    • - *
    - * - *

    The partition key of an item is also known as its hash - * attribute. The term "hash attribute" derives from DynamoDB's - * usage of an internal hash function to evenly distribute data items across - * partitions, based on their partition key values.

    - *

    The sort key of an item is also known as its range - * attribute. The term "range attribute" derives from the way - * DynamoDB stores items with the same partition key physically close together, - * in sorted order by the sort key value.

    - *
    - *
  • - *
- *

For more information about primary keys, see Primary Key in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - KeySchema?: KeySchemaElement[] | undefined; - /** - *

The current state of the table:

- *
    - *
  • - *

    - * CREATING - The table is being created.

    - *
  • - *
  • - *

    - * UPDATING - The table/index configuration is being updated. The - * table/index remains available for data operations when - * UPDATING.

    - *
  • - *
  • - *

    - * DELETING - The table is being deleted.

    - *
  • - *
  • - *

    - * ACTIVE - The table is ready for use.

    - *
  • - *
  • - *

    - * INACCESSIBLE_ENCRYPTION_CREDENTIALS - The KMS key - * used to encrypt the table in inaccessible. Table operations may fail due to - * failure to use the KMS key. DynamoDB will initiate the - * table archival process when a table's KMS key remains - * inaccessible for more than seven days.

    - *
  • - *
  • - *

    - * ARCHIVING - The table is being archived. Operations are not allowed - * until archival is complete.

    - *
  • - *
  • - *

    - * ARCHIVED - The table has been archived. See the ArchivalReason for - * more information.

    - *
  • - *
- * @public - */ - TableStatus?: TableStatus | undefined; - /** - *

The date and time when the table was created, in UNIX epoch time format.

- * @public - */ - CreationDateTime?: Date | undefined; - /** - *

The provisioned throughput settings for the table, consisting of read and write - * capacity units, along with data about increases and decreases.

- * @public - */ - ProvisionedThroughput?: ProvisionedThroughputDescription | undefined; - /** - *

The total size of the specified table, in bytes. DynamoDB updates this value - * approximately every six hours. Recent changes might not be reflected in this - * value.

- * @public - */ - TableSizeBytes?: number | undefined; - /** - *

The number of items in the specified table. DynamoDB updates this value approximately - * every six hours. Recent changes might not be reflected in this value.

- * @public - */ - ItemCount?: number | undefined; - /** - *

The Amazon Resource Name (ARN) that uniquely identifies the table.

- * @public - */ - TableArn?: string | undefined; - /** - *

Unique identifier for the table for which the backup was created.

- * @public - */ - TableId?: string | undefined; - /** - *

Contains the details for the read/write capacity mode.

- * @public - */ - BillingModeSummary?: BillingModeSummary | undefined; - /** - *

Represents one or more local secondary indexes on the table. Each index is scoped to a - * given partition key value. Tables with one or more local secondary indexes are subject - * to an item collection size limit, where the amount of data within a given item - * collection cannot exceed 10 GB. Each element is composed of:

- *
    - *
  • - *

    - * IndexName - The name of the local secondary index.

    - *
  • - *
  • - *

    - * KeySchema - Specifies the complete index key schema. The attribute - * names in the key schema must be between 1 and 255 characters (inclusive). The - * key schema must begin with the same partition key as the table.

    - *
  • - *
  • - *

    - * Projection - Specifies attributes that are copied (projected) from - * the table into the index. These are in addition to the primary key attributes - * and index key attributes, which are automatically projected. Each attribute - * specification is composed of:

    - *
      - *
    • - *

      - * ProjectionType - One of the following:

      - *
        - *
      • - *

        - * KEYS_ONLY - Only the index and primary keys are - * projected into the index.

        - *
      • - *
      • - *

        - * INCLUDE - Only the specified table attributes are - * projected into the index. The list of projected attributes is in - * NonKeyAttributes.

        - *
      • - *
      • - *

        - * ALL - All of the table attributes are projected - * into the index.

        - *
      • - *
      - *
    • - *
    • - *

      - * NonKeyAttributes - A list of one or more non-key attribute - * names that are projected into the secondary index. The total count of - * attributes provided in NonKeyAttributes, summed across all - * of the secondary indexes, must not exceed 100. If you project the same - * attribute into two different indexes, this counts as two distinct - * attributes when determining the total. This limit only applies when you - * specify the ProjectionType of INCLUDE. You still can - * specify the ProjectionType of ALL to project all attributes - * from the source table, even if the table has more than 100 - * attributes.

      - *
    • - *
    - *
  • - *
  • - *

    - * IndexSizeBytes - Represents the total size of the index, in bytes. - * DynamoDB updates this value approximately every six hours. Recent changes might - * not be reflected in this value.

    - *
  • - *
  • - *

    - * ItemCount - Represents the number of items in the index. DynamoDB - * updates this value approximately every six hours. Recent changes might not be - * reflected in this value.

    - *
  • - *
- *

If the table is in the DELETING state, no information about indexes will - * be returned.

- * @public - */ - LocalSecondaryIndexes?: LocalSecondaryIndexDescription[] | undefined; - /** - *

The global secondary indexes, if any, on the table. Each index is scoped to a given - * partition key value. Each element is composed of:

- *
    - *
  • - *

    - * Backfilling - If true, then the index is currently in the - * backfilling phase. Backfilling occurs only when a new global secondary index is - * added to the table. It is the process by which DynamoDB populates the new index - * with data from the table. (This attribute does not appear for indexes that were - * created during a CreateTable operation.)

    - *

    You can delete an index that is being created during the - * Backfilling phase when IndexStatus is set to - * CREATING and Backfilling is true. You can't delete the index that - * is being created when IndexStatus is set to CREATING and - * Backfilling is false. (This attribute does not appear for - * indexes that were created during a CreateTable operation.)

    - *
  • - *
  • - *

    - * IndexName - The name of the global secondary index.

    - *
  • - *
  • - *

    - * IndexSizeBytes - The total size of the global secondary index, in - * bytes. DynamoDB updates this value approximately every six hours. Recent changes - * might not be reflected in this value.

    - *
  • - *
  • - *

    - * IndexStatus - The current status of the global secondary - * index:

    - *
      - *
    • - *

      - * CREATING - The index is being created.

      - *
    • - *
    • - *

      - * UPDATING - The index is being updated.

      - *
    • - *
    • - *

      - * DELETING - The index is being deleted.

      - *
    • - *
    • - *

      - * ACTIVE - The index is ready for use.

      - *
    • - *
    - *
  • - *
  • - *

    - * ItemCount - The number of items in the global secondary index. - * DynamoDB updates this value approximately every six hours. Recent changes might - * not be reflected in this value.

    - *
  • - *
  • - *

    - * KeySchema - Specifies the complete index key schema. The attribute - * names in the key schema must be between 1 and 255 characters (inclusive). The - * key schema must begin with the same partition key as the table.

    - *
  • - *
  • - *

    - * Projection - Specifies attributes that are copied (projected) from - * the table into the index. These are in addition to the primary key attributes - * and index key attributes, which are automatically projected. Each attribute - * specification is composed of:

    - *
      - *
    • - *

      - * ProjectionType - One of the following:

      - *
        - *
      • - *

        - * KEYS_ONLY - Only the index and primary keys are - * projected into the index.

        - *
      • - *
      • - *

        - * INCLUDE - In addition to the attributes described - * in KEYS_ONLY, the secondary index will include - * other non-key attributes that you specify.

        - *
      • - *
      • - *

        - * ALL - All of the table attributes are projected - * into the index.

        - *
      • - *
      - *
    • - *
    • - *

      - * NonKeyAttributes - A list of one or more non-key attribute - * names that are projected into the secondary index. The total count of - * attributes provided in NonKeyAttributes, summed across all - * of the secondary indexes, must not exceed 100. If you project the same - * attribute into two different indexes, this counts as two distinct - * attributes when determining the total. This limit only applies when you - * specify the ProjectionType of INCLUDE. You still can - * specify the ProjectionType of ALL to project all attributes - * from the source table, even if the table has more than 100 - * attributes.

      - *
    • - *
    - *
  • - *
  • - *

    - * ProvisionedThroughput - The provisioned throughput settings for the - * global secondary index, consisting of read and write capacity units, along with - * data about increases and decreases.

    - *
  • - *
- *

If the table is in the DELETING state, no information about indexes will - * be returned.

- * @public - */ - GlobalSecondaryIndexes?: GlobalSecondaryIndexDescription[] | undefined; - /** - *

The current DynamoDB Streams configuration for the table.

- * @public - */ - StreamSpecification?: StreamSpecification | undefined; - /** - *

A timestamp, in ISO 8601 format, for this stream.

- *

Note that LatestStreamLabel is not a unique identifier for the stream, - * because it is possible that a stream from another table might have the same timestamp. - * However, the combination of the following three elements is guaranteed to be - * unique:

- *
    - *
  • - *

    Amazon Web Services customer ID

    - *
  • - *
  • - *

    Table name

    - *
  • - *
  • - *

    - * StreamLabel - *

    - *
  • - *
- * @public - */ - LatestStreamLabel?: string | undefined; - /** - *

The Amazon Resource Name (ARN) that uniquely identifies the latest stream for this - * table.

- * @public - */ - LatestStreamArn?: string | undefined; - /** - *

Represents the version of global tables - * in use, if the table is replicated across Amazon Web Services Regions.

- * @public - */ - GlobalTableVersion?: string | undefined; - /** - *

Represents replicas of the table.

- * @public - */ - Replicas?: ReplicaDescription[] | undefined; - /** - *

The witness Region and its current status in the MRSC global table. Only one witness - * Region can be configured per MRSC global table.

- * @public - */ - GlobalTableWitnesses?: GlobalTableWitnessDescription[] | undefined; - /** - *

Indicates one of the settings synchronization modes for the global table:

- *
    - *
  • - *

    - * ENABLED: Indicates that the settings synchronization mode for the global table - * is enabled.

    - *
  • - *
  • - *

    - * DISABLED: Indicates that the settings synchronization mode for the global table is - * disabled.

    - *
  • - *
  • - *

    - * ENABLED_WITH_OVERRIDES: This mode is set by default for a same account global table. - * Indicates that certain global table settings can be overridden.

    - *
  • - *
- * @public - */ - GlobalTableSettingsReplicationMode?: GlobalTableSettingsReplicationMode | undefined; - /** - *

Contains details for the restore.

- * @public - */ - RestoreSummary?: RestoreSummary | undefined; - /** - *

The description of the server-side encryption status on the specified table.

- * @public - */ - SSEDescription?: SSEDescription | undefined; - /** - *

Contains information about the table archive.

- * @public - */ - ArchivalSummary?: ArchivalSummary | undefined; - /** - *

Contains details of the table class.

- * @public - */ - TableClassSummary?: TableClassSummary | undefined; - /** - *

Indicates whether deletion protection is enabled (true) or disabled (false) on the - * table.

- * @public - */ - DeletionProtectionEnabled?: boolean | undefined; - /** - *

The maximum number of read and write units for the specified on-demand table. If you - * use this parameter, you must specify MaxReadRequestUnits, - * MaxWriteRequestUnits, or both.

- * @public - */ - OnDemandThroughput?: OnDemandThroughput | undefined; - /** - *

Describes the warm throughput value of the base table.

- * @public - */ - WarmThroughput?: TableWarmThroughputDescription | undefined; - /** - *

Indicates one of the following consistency modes for a global table:

- *
    - *
  • - *

    - * EVENTUAL: Indicates that the global table is configured for - * multi-Region eventual consistency (MREC).

    - *
  • - *
  • - *

    - * STRONG: Indicates that the global table is configured for - * multi-Region strong consistency (MRSC).

    - *
  • - *
- *

If you don't specify this field, the global table consistency mode defaults to - * EVENTUAL. For more information about global tables consistency modes, - * see - * Consistency modes in DynamoDB developer guide.

- * @public - */ - MultiRegionConsistency?: MultiRegionConsistency | undefined; -} -/** - *

Represents the output of a CreateTable operation.

- * @public - */ -export interface CreateTableOutput { - /** - *

Represents the properties of the table.

- * @public - */ - TableDescription?: TableDescription | undefined; -} -/** - *

Processing options for the CSV file being imported.

- * @public - */ -export interface CsvOptions { - /** - *

The delimiter used for separating items in the CSV file being imported.

- * @public - */ - Delimiter?: string | undefined; - /** - *

List of the headers used to specify a common header for all source CSV files being - * imported. If this field is specified then the first line of each CSV file is treated as - * data instead of the header. If this field is not specified the the first line of each - * CSV file is treated as the header.

- * @public - */ - HeaderList?: string[] | undefined; -} -/** - * @public - */ -export interface DeleteBackupInput { - /** - *

The ARN associated with the backup.

- * @public - */ - BackupArn: string | undefined; -} -/** - * @public - */ -export interface DeleteBackupOutput { - /** - *

Contains the description of the backup created for the table.

- * @public - */ - BackupDescription?: BackupDescription | undefined; -} -/** - *

Represents a global secondary index to be deleted from an existing table.

- * @public - */ -export interface DeleteGlobalSecondaryIndexAction { - /** - *

The name of the global secondary index to be deleted.

- * @public - */ - IndexName: string | undefined; -} -/** - *

Specifies the action to remove a witness Region from a MRSC global table. You cannot - * delete a single witness from a MRSC global table - you must delete both a replica and - * the witness together. The deletion of both a witness and replica converts the remaining - * replica to a single-Region DynamoDB table.

- * @public - */ -export interface DeleteGlobalTableWitnessGroupMemberAction { - /** - *

The witness Region name to be removed from the MRSC global table.

- * @public - */ - RegionName: string | undefined; -} -/** - *

Represents a replica to be removed.

- * @public - */ -export interface DeleteReplicaAction { - /** - *

The Region of the replica to be removed.

- * @public - */ - RegionName: string | undefined; -} -/** - *

Represents a replica to be deleted.

- * @public - */ -export interface DeleteReplicationGroupMemberAction { - /** - *

The Region where the replica exists.

- * @public - */ - RegionName: string | undefined; -} -/** - * @public - */ -export interface DeleteResourcePolicyInput { - /** - *

The Amazon Resource Name (ARN) of the DynamoDB resource from which the policy will be - * removed. The resources you can specify include tables and streams. If you remove the - * policy of a table, it will also remove the permissions for the table's indexes defined - * in that policy document. This is because index permissions are defined in the table's - * policy.

- * @public - */ - ResourceArn: string | undefined; - /** - *

A string value that you can use to conditionally delete your policy. When you provide - * an expected revision ID, if the revision ID of the existing policy on the resource - * doesn't match or if there's no policy attached to the resource, the request will fail - * and return a PolicyNotFoundException.

- * @public - */ - ExpectedRevisionId?: string | undefined; -} -/** - * @public - */ -export interface DeleteResourcePolicyOutput { - /** - *

A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.

- *

This value will be empty if you make a request against a resource without a - * policy.

- * @public - */ - RevisionId?: string | undefined; -} -/** - *

Represents the input of a DeleteTable operation.

- * @public - */ -export interface DeleteTableInput { - /** - *

The name of the table to delete. You can also provide the Amazon Resource Name (ARN) of the table in - * this parameter.

- * @public - */ - TableName: string | undefined; -} -/** - *

Represents the output of a DeleteTable operation.

- * @public - */ -export interface DeleteTableOutput { - /** - *

Represents the properties of a table.

- * @public - */ - TableDescription?: TableDescription | undefined; -} -/** - * @public - */ -export interface DescribeBackupInput { - /** - *

The Amazon Resource Name (ARN) associated with the backup.

- * @public - */ - BackupArn: string | undefined; -} -/** - * @public - */ -export interface DescribeBackupOutput { - /** - *

Contains the description of the backup created for the table.

- * @public - */ - BackupDescription?: BackupDescription | undefined; -} -/** - * @public - */ -export interface DescribeContinuousBackupsInput { - /** - *

Name of the table for which the customer wants to check the continuous backups and - * point in time recovery settings.

- *

You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

- * @public - */ - TableName: string | undefined; -} -/** - * @public - */ -export interface DescribeContinuousBackupsOutput { - /** - *

Represents the continuous backups and point in time recovery settings on the - * table.

- * @public - */ - ContinuousBackupsDescription?: ContinuousBackupsDescription | undefined; -} -/** - * @public - */ -export interface DescribeContributorInsightsInput { - /** - *

The name of the table to describe. You can also provide the Amazon Resource Name (ARN) of the table in - * this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

The name of the global secondary index to describe, if applicable.

- * @public - */ - IndexName?: string | undefined; -} -/** - *

Represents a failure a contributor insights operation.

- * @public - */ -export interface FailureException { - /** - *

Exception name.

- * @public - */ - ExceptionName?: string | undefined; - /** - *

Description of the failure.

- * @public - */ - ExceptionDescription?: string | undefined; -} -/** - * @public - */ -export interface DescribeContributorInsightsOutput { - /** - *

The name of the table being described.

- * @public - */ - TableName?: string | undefined; - /** - *

The name of the global secondary index being described.

- * @public - */ - IndexName?: string | undefined; - /** - *

List of names of the associated contributor insights rules.

- * @public - */ - ContributorInsightsRuleList?: string[] | undefined; - /** - *

Current status of contributor insights.

- * @public - */ - ContributorInsightsStatus?: ContributorInsightsStatus | undefined; - /** - *

Timestamp of the last time the status was changed.

- * @public - */ - LastUpdateDateTime?: Date | undefined; - /** - *

Returns information about the last failure that was encountered.

- *

The most common exceptions for a FAILED status are:

- *
    - *
  • - *

    LimitExceededException - Per-account Amazon CloudWatch Contributor Insights - * rule limit reached. Please disable Contributor Insights for other tables/indexes - * OR disable Contributor Insights rules before retrying.

    - *
  • - *
  • - *

    AccessDeniedException - Amazon CloudWatch Contributor Insights rules cannot be - * modified due to insufficient permissions.

    - *
  • - *
  • - *

    AccessDeniedException - Failed to create service-linked role for Contributor - * Insights due to insufficient permissions.

    - *
  • - *
  • - *

    InternalServerError - Failed to create Amazon CloudWatch Contributor Insights - * rules. Please retry request.

    - *
  • - *
- * @public - */ - FailureException?: FailureException | undefined; - /** - *

The mode of CloudWatch Contributor Insights for DynamoDB that determines - * which events are emitted. Can be set to track all access and throttled events or throttled - * events only.

- * @public - */ - ContributorInsightsMode?: ContributorInsightsMode | undefined; -} -/** - * @public - */ -export interface DescribeEndpointsRequest { -} -/** - *

An endpoint information details.

- * @public - */ -export interface Endpoint { - /** - *

IP address of the endpoint.

- * @public - */ - Address: string | undefined; - /** - *

Endpoint cache time to live (TTL) value.

- * @public - */ - CachePeriodInMinutes: number | undefined; -} -/** - * @public - */ -export interface DescribeEndpointsResponse { - /** - *

List of endpoints.

- * @public - */ - Endpoints: Endpoint[] | undefined; -} -/** - * @public - */ -export interface DescribeExportInput { - /** - *

The Amazon Resource Name (ARN) associated with the export.

- * @public - */ - ExportArn: string | undefined; -} -/** - *

Optional object containing the parameters specific to an incremental export.

- * @public - */ -export interface IncrementalExportSpecification { - /** - *

Time in the past which provides the inclusive start range for the export table's data, - * counted in seconds from the start of the Unix epoch. The incremental export will reflect - * the table's state including and after this point in time.

- * @public - */ - ExportFromTime?: Date | undefined; - /** - *

Time in the past which provides the exclusive end range for the export table's data, - * counted in seconds from the start of the Unix epoch. The incremental export will reflect - * the table's state just prior to this point in time. If this is not provided, the latest - * time with data available will be used.

- * @public - */ - ExportToTime?: Date | undefined; - /** - *

The view type that was chosen for the export. Valid values are - * NEW_AND_OLD_IMAGES and NEW_IMAGES. The default value is - * NEW_AND_OLD_IMAGES.

- * @public - */ - ExportViewType?: ExportViewType | undefined; -} -/** - *

Represents the properties of the exported table.

- * @public - */ -export interface ExportDescription { - /** - *

The Amazon Resource Name (ARN) of the table export.

- * @public - */ - ExportArn?: string | undefined; - /** - *

Export can be in one of the following states: IN_PROGRESS, COMPLETED, or - * FAILED.

- * @public - */ - ExportStatus?: ExportStatus | undefined; - /** - *

The time at which the export task began.

- * @public - */ - StartTime?: Date | undefined; - /** - *

The time at which the export task completed.

- * @public - */ - EndTime?: Date | undefined; - /** - *

The name of the manifest file for the export task.

- * @public - */ - ExportManifest?: string | undefined; - /** - *

The Amazon Resource Name (ARN) of the table that was exported.

- * @public - */ - TableArn?: string | undefined; - /** - *

Unique ID of the table that was exported.

- * @public - */ - TableId?: string | undefined; - /** - *

Point in time from which table data was exported.

- * @public - */ - ExportTime?: Date | undefined; - /** - *

The client token that was provided for the export task. A client token makes calls to - * ExportTableToPointInTimeInput idempotent, meaning that multiple - * identical calls have the same effect as one single call.

- * @public - */ - ClientToken?: string | undefined; - /** - *

The name of the Amazon S3 bucket containing the export.

- * @public - */ - S3Bucket?: string | undefined; - /** - *

The ID of the Amazon Web Services account that owns the bucket containing the - * export.

- * @public - */ - S3BucketOwner?: string | undefined; - /** - *

The Amazon S3 bucket prefix used as the file name and path of the exported - * snapshot.

- * @public - */ - S3Prefix?: string | undefined; - /** - *

Type of encryption used on the bucket where export data is stored. Valid values for - * S3SseAlgorithm are:

- *
    - *
  • - *

    - * AES256 - server-side encryption with Amazon S3 managed - * keys

    - *
  • - *
  • - *

    - * KMS - server-side encryption with KMS managed - * keys

    - *
  • - *
- * @public - */ - S3SseAlgorithm?: S3SseAlgorithm | undefined; - /** - *

The ID of the KMS managed key used to encrypt the S3 bucket where - * export data is stored (if applicable).

- * @public - */ - S3SseKmsKeyId?: string | undefined; - /** - *

Status code for the result of the failed export.

- * @public - */ - FailureCode?: string | undefined; - /** - *

Export failure reason description.

- * @public - */ - FailureMessage?: string | undefined; - /** - *

The format of the exported data. Valid values for ExportFormat are - * DYNAMODB_JSON or ION.

- * @public - */ - ExportFormat?: ExportFormat | undefined; - /** - *

The billable size of the table export.

- * @public - */ - BilledSizeBytes?: number | undefined; - /** - *

The number of items exported.

- * @public - */ - ItemCount?: number | undefined; - /** - *

The type of export that was performed. Valid values are FULL_EXPORT or - * INCREMENTAL_EXPORT.

- * @public - */ - ExportType?: ExportType | undefined; - /** - *

Optional object containing the parameters specific to an incremental export.

- * @public - */ - IncrementalExportSpecification?: IncrementalExportSpecification | undefined; -} -/** - * @public - */ -export interface DescribeExportOutput { - /** - *

Represents the properties of the export.

- * @public - */ - ExportDescription?: ExportDescription | undefined; -} -/** - * @public - */ -export interface DescribeGlobalTableInput { - /** - *

The name of the global table.

- * @public - */ - GlobalTableName: string | undefined; -} -/** - * @public - */ -export interface DescribeGlobalTableOutput { - /** - *

Contains the details of the global table.

- * @public - */ - GlobalTableDescription?: GlobalTableDescription | undefined; -} -/** - * @public - */ -export interface DescribeGlobalTableSettingsInput { - /** - *

The name of the global table to describe.

- * @public - */ - GlobalTableName: string | undefined; -} -/** - *

Represents the properties of a global secondary index.

- * @public - */ -export interface ReplicaGlobalSecondaryIndexSettingsDescription { - /** - *

The name of the global secondary index. The name must be unique among all other - * indexes on this table.

- * @public - */ - IndexName: string | undefined; - /** - *

The current status of the global secondary index:

- *
    - *
  • - *

    - * CREATING - The global secondary index is being created.

    - *
  • - *
  • - *

    - * UPDATING - The global secondary index is being updated.

    - *
  • - *
  • - *

    - * DELETING - The global secondary index is being deleted.

    - *
  • - *
  • - *

    - * ACTIVE - The global secondary index is ready for use.

    - *
  • - *
- * @public - */ - IndexStatus?: IndexStatus | undefined; - /** - *

The maximum number of strongly consistent reads consumed per second before DynamoDB - * returns a ThrottlingException.

- * @public - */ - ProvisionedReadCapacityUnits?: number | undefined; - /** - *

Auto scaling settings for a global secondary index replica's read capacity - * units.

- * @public - */ - ProvisionedReadCapacityAutoScalingSettings?: AutoScalingSettingsDescription | undefined; - /** - *

The maximum number of writes consumed per second before DynamoDB returns a - * ThrottlingException.

- * @public - */ - ProvisionedWriteCapacityUnits?: number | undefined; - /** - *

Auto scaling settings for a global secondary index replica's write capacity - * units.

- * @public - */ - ProvisionedWriteCapacityAutoScalingSettings?: AutoScalingSettingsDescription | undefined; -} -/** - *

Represents the properties of a replica.

- * @public - */ -export interface ReplicaSettingsDescription { - /** - *

The Region name of the replica.

- * @public - */ - RegionName: string | undefined; - /** - *

The current state of the Region:

- *
    - *
  • - *

    - * CREATING - The Region is being created.

    - *
  • - *
  • - *

    - * UPDATING - The Region is being updated.

    - *
  • - *
  • - *

    - * DELETING - The Region is being deleted.

    - *
  • - *
  • - *

    - * ACTIVE - The Region is ready for use.

    - *
  • - *
- * @public - */ - ReplicaStatus?: ReplicaStatus | undefined; - /** - *

The read/write capacity mode of the replica.

- * @public - */ - ReplicaBillingModeSummary?: BillingModeSummary | undefined; - /** - *

The maximum number of strongly consistent reads consumed per second before DynamoDB - * returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB - * Developer Guide.

- * @public - */ - ReplicaProvisionedReadCapacityUnits?: number | undefined; - /** - *

Auto scaling settings for a global table replica's read capacity units.

- * @public - */ - ReplicaProvisionedReadCapacityAutoScalingSettings?: AutoScalingSettingsDescription | undefined; - /** - *

The maximum number of writes consumed per second before DynamoDB returns a - * ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB - * Developer Guide.

- * @public - */ - ReplicaProvisionedWriteCapacityUnits?: number | undefined; - /** - *

Auto scaling settings for a global table replica's write capacity units.

- * @public - */ - ReplicaProvisionedWriteCapacityAutoScalingSettings?: AutoScalingSettingsDescription | undefined; - /** - *

Replica global secondary index settings for the global table.

- * @public - */ - ReplicaGlobalSecondaryIndexSettings?: ReplicaGlobalSecondaryIndexSettingsDescription[] | undefined; - /** - *

Contains details of the table class.

- * @public - */ - ReplicaTableClassSummary?: TableClassSummary | undefined; -} -/** - * @public - */ -export interface DescribeGlobalTableSettingsOutput { - /** - *

The name of the global table.

- * @public - */ - GlobalTableName?: string | undefined; - /** - *

The Region-specific settings for the global table.

- * @public - */ - ReplicaSettings?: ReplicaSettingsDescription[] | undefined; -} -/** - * @public - */ -export interface DescribeImportInput { - /** - *

The Amazon Resource Name (ARN) associated with the table you're importing to.

- * @public - */ - ImportArn: string | undefined; -} -/** - *

The format options for the data that was imported into the target table. There is one - * value, CsvOption.

- * @public - */ -export interface InputFormatOptions { - /** - *

The options for imported source files in CSV format. The values are Delimiter and - * HeaderList.

- * @public - */ - Csv?: CsvOptions | undefined; -} -/** - *

The S3 bucket that is being imported from.

- * @public - */ -export interface S3BucketSource { - /** - *

The account number of the S3 bucket that is being imported from. If the bucket is - * owned by the requester this is optional.

- * @public - */ - S3BucketOwner?: string | undefined; - /** - *

The S3 bucket that is being imported from.

- * @public - */ - S3Bucket: string | undefined; - /** - *

The key prefix shared by all S3 Objects that are being imported.

- * @public - */ - S3KeyPrefix?: string | undefined; -} -/** - *

The parameters for the table created as part of the import operation.

- * @public - */ -export interface TableCreationParameters { - /** - *

The name of the table created as part of the import operation.

- * @public - */ - TableName: string | undefined; - /** - *

The attributes of the table created as part of the import operation.

- * @public - */ - AttributeDefinitions: AttributeDefinition[] | undefined; - /** - *

The primary key and option sort key of the table created as part of the import - * operation.

- * @public - */ - KeySchema: KeySchemaElement[] | undefined; - /** - *

The billing mode for provisioning the table created as part of the import operation. - *

- * @public - */ - BillingMode?: BillingMode | undefined; - /** - *

Represents the provisioned throughput settings for the specified global secondary - * index. You must use ProvisionedThroughput or - * OnDemandThroughput based on your table’s capacity mode.

- *

For current minimum and maximum provisioned throughput values, see Service, - * Account, and Table Quotas in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ProvisionedThroughput?: ProvisionedThroughput | undefined; - /** - *

Sets the maximum number of read and write units for the specified on-demand table. If - * you use this parameter, you must specify MaxReadRequestUnits, - * MaxWriteRequestUnits, or both.

- * @public - */ - OnDemandThroughput?: OnDemandThroughput | undefined; - /** - *

Represents the settings used to enable server-side encryption.

- * @public - */ - SSESpecification?: SSESpecification | undefined; - /** - *

The Global Secondary Indexes (GSI) of the table to be created as part of the import - * operation.

- * @public - */ - GlobalSecondaryIndexes?: GlobalSecondaryIndex[] | undefined; -} -/** - *

Represents the properties of the table being imported into. - *

- * @public - */ -export interface ImportTableDescription { - /** - *

The Amazon Resource Number (ARN) corresponding to the import request. - *

- * @public - */ - ImportArn?: string | undefined; - /** - *

The status of the import.

- * @public - */ - ImportStatus?: ImportStatus | undefined; - /** - *

The Amazon Resource Number (ARN) of the table being imported into. - *

- * @public - */ - TableArn?: string | undefined; - /** - *

The table id corresponding to the table created by import table process. - *

- * @public - */ - TableId?: string | undefined; - /** - *

The client token that was provided for the import task. Reusing the client token on - * retry makes a call to ImportTable idempotent.

- * @public - */ - ClientToken?: string | undefined; - /** - *

Values for the S3 bucket the source file is imported from. Includes bucket name - * (required), key prefix (optional) and bucket account owner ID (optional).

- * @public - */ - S3BucketSource?: S3BucketSource | undefined; - /** - *

The number of errors occurred on importing the source file into the target table. - *

- * @public - */ - ErrorCount?: number | undefined; - /** - *

The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with the - * target table.

- * @public - */ - CloudWatchLogGroupArn?: string | undefined; - /** - *

The format of the source data going into the target table. - *

- * @public - */ - InputFormat?: InputFormat | undefined; - /** - *

The format options for the data that was imported into the target table. There is one - * value, CsvOption.

- * @public - */ - InputFormatOptions?: InputFormatOptions | undefined; - /** - *

The compression options for the data that has been imported into the target table. - * The values are NONE, GZIP, or ZSTD.

- * @public - */ - InputCompressionType?: InputCompressionType | undefined; - /** - *

The parameters for the new table that is being imported into.

- * @public - */ - TableCreationParameters?: TableCreationParameters | undefined; - /** - *

The time when this import task started.

- * @public - */ - StartTime?: Date | undefined; - /** - *

The time at which the creation of the table associated with this import task - * completed.

- * @public - */ - EndTime?: Date | undefined; - /** - *

The total size of data processed from the source file, in Bytes.

- * @public - */ - ProcessedSizeBytes?: number | undefined; - /** - *

The total number of items processed from the source file.

- * @public - */ - ProcessedItemCount?: number | undefined; - /** - *

The number of items successfully imported into the new table.

- * @public - */ - ImportedItemCount?: number | undefined; - /** - *

The error code corresponding to the failure that the import job ran into during - * execution.

- * @public - */ - FailureCode?: string | undefined; - /** - *

The error message corresponding to the failure that the import job ran into during - * execution.

- * @public - */ - FailureMessage?: string | undefined; -} -/** - * @public - */ -export interface DescribeImportOutput { - /** - *

Represents the properties of the table created for the import, and parameters of the - * import. The import parameters include import status, how many items were processed, and - * how many errors were encountered.

- * @public - */ - ImportTableDescription: ImportTableDescription | undefined; -} -/** - * @public - */ -export interface DescribeKinesisStreamingDestinationInput { - /** - *

The name of the table being described. You can also provide the Amazon Resource Name (ARN) of the table - * in this parameter.

- * @public - */ - TableName: string | undefined; -} -/** - *

Describes a Kinesis data stream destination.

- * @public - */ -export interface KinesisDataStreamDestination { - /** - *

The ARN for a specific Kinesis data stream.

- * @public - */ - StreamArn?: string | undefined; - /** - *

The current status of replication.

- * @public - */ - DestinationStatus?: DestinationStatus | undefined; - /** - *

The human-readable string that corresponds to the replica status.

- * @public - */ - DestinationStatusDescription?: string | undefined; - /** - *

The precision of the Kinesis data stream timestamp. The values are either - * MILLISECOND or MICROSECOND.

- * @public - */ - ApproximateCreationDateTimePrecision?: ApproximateCreationDateTimePrecision | undefined; -} -/** - * @public - */ -export interface DescribeKinesisStreamingDestinationOutput { - /** - *

The name of the table being described.

- * @public - */ - TableName?: string | undefined; - /** - *

The list of replica structures for the table being described.

- * @public - */ - KinesisDataStreamDestinations?: KinesisDataStreamDestination[] | undefined; -} -/** - *

Represents the input of a DescribeLimits operation. Has no - * content.

- * @public - */ -export interface DescribeLimitsInput { -} -/** - *

Represents the output of a DescribeLimits operation.

- * @public - */ -export interface DescribeLimitsOutput { - /** - *

The maximum total read capacity units that your account allows you to provision across - * all of your tables in this Region.

- * @public - */ - AccountMaxReadCapacityUnits?: number | undefined; - /** - *

The maximum total write capacity units that your account allows you to provision - * across all of your tables in this Region.

- * @public - */ - AccountMaxWriteCapacityUnits?: number | undefined; - /** - *

The maximum read capacity units that your account allows you to provision for a new - * table that you are creating in this Region, including the read capacity units - * provisioned for its global secondary indexes (GSIs).

- * @public - */ - TableMaxReadCapacityUnits?: number | undefined; - /** - *

The maximum write capacity units that your account allows you to provision for a new - * table that you are creating in this Region, including the write capacity units - * provisioned for its global secondary indexes (GSIs).

- * @public - */ - TableMaxWriteCapacityUnits?: number | undefined; -} -/** - *

Represents the input of a DescribeTable operation.

- * @public - */ -export interface DescribeTableInput { - /** - *

The name of the table to describe. You can also provide the Amazon Resource Name (ARN) of the table in - * this parameter.

- * @public - */ - TableName: string | undefined; -} -/** - *

Represents the output of a DescribeTable operation.

- * @public - */ -export interface DescribeTableOutput { - /** - *

The properties of the table.

- * @public - */ - Table?: TableDescription | undefined; -} -/** - * @public - */ -export interface DescribeTableReplicaAutoScalingInput { - /** - *

The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this - * parameter.

- * @public - */ - TableName: string | undefined; -} -/** - *

Represents the auto scaling configuration for a replica global secondary index.

- * @public - */ -export interface ReplicaGlobalSecondaryIndexAutoScalingDescription { - /** - *

The name of the global secondary index.

- * @public - */ - IndexName?: string | undefined; - /** - *

The current state of the replica global secondary index:

- *
    - *
  • - *

    - * CREATING - The index is being created.

    - *
  • - *
  • - *

    - * UPDATING - The table/index configuration is being updated. The - * table/index remains available for data operations when - * UPDATING - *

    - *
  • - *
  • - *

    - * DELETING - The index is being deleted.

    - *
  • - *
  • - *

    - * ACTIVE - The index is ready for use.

    - *
  • - *
- * @public - */ - IndexStatus?: IndexStatus | undefined; - /** - *

Represents the auto scaling settings for a global table or global secondary - * index.

- * @public - */ - ProvisionedReadCapacityAutoScalingSettings?: AutoScalingSettingsDescription | undefined; - /** - *

Represents the auto scaling settings for a global table or global secondary - * index.

- * @public - */ - ProvisionedWriteCapacityAutoScalingSettings?: AutoScalingSettingsDescription | undefined; -} -/** - *

Represents the auto scaling settings of the replica.

- * @public - */ -export interface ReplicaAutoScalingDescription { - /** - *

The Region where the replica exists.

- * @public - */ - RegionName?: string | undefined; - /** - *

Replica-specific global secondary index auto scaling settings.

- * @public - */ - GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndexAutoScalingDescription[] | undefined; - /** - *

Represents the auto scaling settings for a global table or global secondary - * index.

- * @public - */ - ReplicaProvisionedReadCapacityAutoScalingSettings?: AutoScalingSettingsDescription | undefined; - /** - *

Represents the auto scaling settings for a global table or global secondary - * index.

- * @public - */ - ReplicaProvisionedWriteCapacityAutoScalingSettings?: AutoScalingSettingsDescription | undefined; - /** - *

The current state of the replica:

- *
    - *
  • - *

    - * CREATING - The replica is being created.

    - *
  • - *
  • - *

    - * UPDATING - The replica is being updated.

    - *
  • - *
  • - *

    - * DELETING - The replica is being deleted.

    - *
  • - *
  • - *

    - * ACTIVE - The replica is ready for use.

    - *
  • - *
- * @public - */ - ReplicaStatus?: ReplicaStatus | undefined; -} -/** - *

Represents the auto scaling configuration for a global table.

- * @public - */ -export interface TableAutoScalingDescription { - /** - *

The name of the table.

- * @public - */ - TableName?: string | undefined; - /** - *

The current state of the table:

- *
    - *
  • - *

    - * CREATING - The table is being created.

    - *
  • - *
  • - *

    - * UPDATING - The table is being updated.

    - *
  • - *
  • - *

    - * DELETING - The table is being deleted.

    - *
  • - *
  • - *

    - * ACTIVE - The table is ready for use.

    - *
  • - *
- * @public - */ - TableStatus?: TableStatus | undefined; - /** - *

Represents replicas of the global table.

- * @public - */ - Replicas?: ReplicaAutoScalingDescription[] | undefined; -} -/** - * @public - */ -export interface DescribeTableReplicaAutoScalingOutput { - /** - *

Represents the auto scaling properties of the table.

- * @public - */ - TableAutoScalingDescription?: TableAutoScalingDescription | undefined; -} -/** - * @public - */ -export interface DescribeTimeToLiveInput { - /** - *

The name of the table to be described. You can also provide the Amazon Resource Name (ARN) of the table - * in this parameter.

- * @public - */ - TableName: string | undefined; -} -/** - * @public - */ -export interface DescribeTimeToLiveOutput { - /** - *

- * @public - */ - TimeToLiveDescription?: TimeToLiveDescription | undefined; -} -/** - *

Enables setting the configuration for Kinesis Streaming.

- * @public - */ -export interface EnableKinesisStreamingConfiguration { - /** - *

Toggle for the precision of Kinesis data stream timestamp. The values are either - * MILLISECOND or MICROSECOND.

- * @public - */ - ApproximateCreationDateTimePrecision?: ApproximateCreationDateTimePrecision | undefined; -} -/** - * @public - */ -export interface KinesisStreamingDestinationInput { - /** - *

The name of the DynamoDB table. You can also provide the Amazon Resource Name (ARN) of the - * table in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

The ARN for a Kinesis data stream.

- * @public - */ - StreamArn: string | undefined; - /** - *

The source for the Kinesis streaming information that is being enabled.

- * @public - */ - EnableKinesisStreamingConfiguration?: EnableKinesisStreamingConfiguration | undefined; -} -/** - * @public - */ -export interface KinesisStreamingDestinationOutput { - /** - *

The name of the table being modified.

- * @public - */ - TableName?: string | undefined; - /** - *

The ARN for the specific Kinesis data stream.

- * @public - */ - StreamArn?: string | undefined; - /** - *

The current status of the replication.

- * @public - */ - DestinationStatus?: DestinationStatus | undefined; - /** - *

The destination for the Kinesis streaming information that is being enabled.

- * @public - */ - EnableKinesisStreamingConfiguration?: EnableKinesisStreamingConfiguration | undefined; -} -/** - * @public - */ -export interface ExportTableToPointInTimeInput { - /** - *

The Amazon Resource Name (ARN) associated with the table to export.

- * @public - */ - TableArn: string | undefined; - /** - *

Time in the past from which to export table data, counted in seconds from the start of - * the Unix epoch. The table export will be a snapshot of the table's state at this point - * in time.

- * @public - */ - ExportTime?: Date | undefined; - /** - *

Providing a ClientToken makes the call to - * ExportTableToPointInTimeInput idempotent, meaning that multiple - * identical calls have the same effect as one single call.

- *

A client token is valid for 8 hours after the first request that uses it is completed. - * After 8 hours, any request with the same client token is treated as a new request. Do - * not resubmit the same request with the same client token for more than 8 hours, or the - * result might not be idempotent.

- *

If you submit a request with the same client token but a change in other parameters - * within the 8-hour idempotency window, DynamoDB returns an - * ExportConflictException.

- * @public - */ - ClientToken?: string | undefined; - /** - *

The name of the Amazon S3 bucket to export the snapshot to.

- * @public - */ - S3Bucket: string | undefined; - /** - *

The ID of the Amazon Web Services account that owns the bucket the export will be - * stored in.

- * - *

S3BucketOwner is a required parameter when exporting to a S3 bucket in another - * account.

- *
- * @public - */ - S3BucketOwner?: string | undefined; - /** - *

The Amazon S3 bucket prefix to use as the file name and path of the exported - * snapshot.

- * @public - */ - S3Prefix?: string | undefined; - /** - *

Type of encryption used on the bucket where export data will be stored. Valid values - * for S3SseAlgorithm are:

- *
    - *
  • - *

    - * AES256 - server-side encryption with Amazon S3 managed - * keys

    - *
  • - *
  • - *

    - * KMS - server-side encryption with KMS managed - * keys

    - *
  • - *
- * @public - */ - S3SseAlgorithm?: S3SseAlgorithm | undefined; - /** - *

The ID of the KMS managed key used to encrypt the S3 bucket where - * export data will be stored (if applicable).

- * @public - */ - S3SseKmsKeyId?: string | undefined; - /** - *

The format for the exported data. Valid values for ExportFormat are - * DYNAMODB_JSON or ION.

- * @public - */ - ExportFormat?: ExportFormat | undefined; - /** - *

Choice of whether to execute as a full export or incremental export. Valid values are - * FULL_EXPORT or INCREMENTAL_EXPORT. The default value is FULL_EXPORT. If - * INCREMENTAL_EXPORT is provided, the IncrementalExportSpecification must also be - * used.

- * @public - */ - ExportType?: ExportType | undefined; - /** - *

Optional object containing the parameters specific to an incremental export.

- * @public - */ - IncrementalExportSpecification?: IncrementalExportSpecification | undefined; -} -/** - * @public - */ -export interface ExportTableToPointInTimeOutput { - /** - *

Contains a description of the table export.

- * @public - */ - ExportDescription?: ExportDescription | undefined; -} -/** - * @public - */ -export interface GetResourcePolicyInput { - /** - *

The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy is attached. The - * resources you can specify include tables and streams.

- * @public - */ - ResourceArn: string | undefined; -} -/** - * @public - */ -export interface GetResourcePolicyOutput { - /** - *

The resource-based policy document attached to the resource, which can be a table or - * stream, in JSON format.

- * @public - */ - Policy?: string | undefined; - /** - *

A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.

- * @public - */ - RevisionId?: string | undefined; -} -/** - * @public - */ -export interface ImportTableInput { - /** - *

Providing a ClientToken makes the call to ImportTableInput - * idempotent, meaning that multiple identical calls have the same effect as one single - * call.

- *

A client token is valid for 8 hours after the first request that uses it is completed. - * After 8 hours, any request with the same client token is treated as a new request. Do - * not resubmit the same request with the same client token for more than 8 hours, or the - * result might not be idempotent.

- *

If you submit a request with the same client token but a change in other parameters - * within the 8-hour idempotency window, DynamoDB returns an - * IdempotentParameterMismatch exception.

- * @public - */ - ClientToken?: string | undefined; - /** - *

The S3 bucket that provides the source for the import.

- * @public - */ - S3BucketSource: S3BucketSource | undefined; - /** - *

The format of the source data. Valid values for ImportFormat are - * CSV, DYNAMODB_JSON or ION.

- * @public - */ - InputFormat: InputFormat | undefined; - /** - *

Additional properties that specify how the input is formatted,

- * @public - */ - InputFormatOptions?: InputFormatOptions | undefined; - /** - *

Type of compression to be used on the input coming from the imported table.

- * @public - */ - InputCompressionType?: InputCompressionType | undefined; - /** - *

Parameters for the table to import the data into.

- * @public - */ - TableCreationParameters: TableCreationParameters | undefined; -} -/** - * @public - */ -export interface ImportTableOutput { - /** - *

Represents the properties of the table created for the import, and parameters of the - * import. The import parameters include import status, how many items were processed, and - * how many errors were encountered.

- * @public - */ - ImportTableDescription: ImportTableDescription | undefined; -} -/** - * @public - */ -export interface ListBackupsInput { - /** - *

Lists the backups from the table specified in TableName. You can also - * provide the Amazon Resource Name (ARN) of the table in this parameter.

- * @public - */ - TableName?: string | undefined; - /** - *

Maximum number of backups to return at once.

- * @public - */ - Limit?: number | undefined; - /** - *

Only backups created after this time are listed. TimeRangeLowerBound is - * inclusive.

- * @public - */ - TimeRangeLowerBound?: Date | undefined; - /** - *

Only backups created before this time are listed. TimeRangeUpperBound is - * exclusive.

- * @public - */ - TimeRangeUpperBound?: Date | undefined; - /** - *

- * LastEvaluatedBackupArn is the Amazon Resource Name (ARN) of the backup last - * evaluated when the current page of results was returned, inclusive of the current page - * of results. This value may be specified as the ExclusiveStartBackupArn of a - * new ListBackups operation in order to fetch the next page of results. - *

- * @public - */ - ExclusiveStartBackupArn?: string | undefined; - /** - *

The backups from the table specified by BackupType are listed.

- *

Where BackupType can be:

- *
    - *
  • - *

    - * USER - On-demand backup created by you. (The default setting if no - * other backup types are specified.)

    - *
  • - *
  • - *

    - * SYSTEM - On-demand backup automatically created by DynamoDB.

    - *
  • - *
  • - *

    - * ALL - All types of on-demand backups (USER and SYSTEM).

    - *
  • - *
- * @public - */ - BackupType?: BackupTypeFilter | undefined; -} -/** - * @public - */ -export interface ListBackupsOutput { - /** - *

List of BackupSummary objects.

- * @public - */ - BackupSummaries?: BackupSummary[] | undefined; - /** - *

The ARN of the backup last evaluated when the current page of results was returned, - * inclusive of the current page of results. This value may be specified as the - * ExclusiveStartBackupArn of a new ListBackups operation in - * order to fetch the next page of results.

- *

If LastEvaluatedBackupArn is empty, then the last page of results has - * been processed and there are no more results to be retrieved.

- *

If LastEvaluatedBackupArn is not empty, this may or may not indicate - * that there is more data to be returned. All results are guaranteed to have been returned - * if and only if no value for LastEvaluatedBackupArn is returned.

- * @public - */ - LastEvaluatedBackupArn?: string | undefined; -} -/** - * @public - */ -export interface ListContributorInsightsInput { - /** - *

The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this - * parameter.

- * @public - */ - TableName?: string | undefined; - /** - *

A token to for the desired page, if there is one.

- * @public - */ - NextToken?: string | undefined; - /** - *

Maximum number of results to return per page.

- * @public - */ - MaxResults?: number | undefined; -} -/** - * @public - */ -export interface ListContributorInsightsOutput { - /** - *

A list of ContributorInsightsSummary.

- * @public - */ - ContributorInsightsSummaries?: ContributorInsightsSummary[] | undefined; - /** - *

A token to go to the next page if there is one.

- * @public - */ - NextToken?: string | undefined; -} -/** - * @public - */ -export interface ListExportsInput { - /** - *

The Amazon Resource Name (ARN) associated with the exported table.

- * @public - */ - TableArn?: string | undefined; - /** - *

Maximum number of results to return per page.

- * @public - */ - MaxResults?: number | undefined; - /** - *

An optional string that, if supplied, must be copied from the output of a previous - * call to ListExports. When provided in this manner, the API fetches the next - * page of results.

- * @public - */ - NextToken?: string | undefined; -} -/** - *

Summary information about an export task.

- * @public - */ -export interface ExportSummary { - /** - *

The Amazon Resource Name (ARN) of the export.

- * @public - */ - ExportArn?: string | undefined; - /** - *

Export can be in one of the following states: IN_PROGRESS, COMPLETED, or - * FAILED.

- * @public - */ - ExportStatus?: ExportStatus | undefined; - /** - *

The type of export that was performed. Valid values are FULL_EXPORT or - * INCREMENTAL_EXPORT.

- * @public - */ - ExportType?: ExportType | undefined; -} -/** - * @public - */ -export interface ListExportsOutput { - /** - *

A list of ExportSummary objects.

- * @public - */ - ExportSummaries?: ExportSummary[] | undefined; - /** - *

If this value is returned, there are additional results to be displayed. To retrieve - * them, call ListExports again, with NextToken set to this - * value.

- * @public - */ - NextToken?: string | undefined; -} -/** - * @public - */ -export interface ListGlobalTablesInput { - /** - *

The first global table name that this operation will evaluate.

- * @public - */ - ExclusiveStartGlobalTableName?: string | undefined; - /** - *

The maximum number of table names to return, if the parameter is not specified - * DynamoDB defaults to 100.

- *

If the number of global tables DynamoDB finds reaches this limit, it stops the - * operation and returns the table names collected up to that point, with a table name in - * the LastEvaluatedGlobalTableName to apply in a subsequent operation to the - * ExclusiveStartGlobalTableName parameter.

- * @public - */ - Limit?: number | undefined; - /** - *

Lists the global tables in a specific Region.

- * @public - */ - RegionName?: string | undefined; -} -/** - *

Represents the properties of a global table.

- * @public - */ -export interface GlobalTable { - /** - *

The global table name.

- * @public - */ - GlobalTableName?: string | undefined; - /** - *

The Regions where the global table has replicas.

- * @public - */ - ReplicationGroup?: Replica[] | undefined; -} -/** - * @public - */ -export interface ListGlobalTablesOutput { - /** - *

List of global table names.

- * @public - */ - GlobalTables?: GlobalTable[] | undefined; - /** - *

Last evaluated global table name.

- * @public - */ - LastEvaluatedGlobalTableName?: string | undefined; -} -/** - * @public - */ -export interface ListImportsInput { - /** - *

The Amazon Resource Name (ARN) associated with the table that was imported to. - *

- * @public - */ - TableArn?: string | undefined; - /** - *

The number of ImportSummary objects returned in a single page.

- * @public - */ - PageSize?: number | undefined; - /** - *

An optional string that, if supplied, must be copied from the output of a previous - * call to ListImports. When provided in this manner, the API fetches the next - * page of results.

- * @public - */ - NextToken?: string | undefined; -} -/** - *

Summary information about the source file for the import. - *

- * @public - */ -export interface ImportSummary { - /** - *

The Amazon Resource Number (ARN) corresponding to the import request.

- * @public - */ - ImportArn?: string | undefined; - /** - *

The status of the import operation.

- * @public - */ - ImportStatus?: ImportStatus | undefined; - /** - *

The Amazon Resource Number (ARN) of the table being imported into.

- * @public - */ - TableArn?: string | undefined; - /** - *

The path and S3 bucket of the source file that is being imported. This includes the - * S3Bucket (required), S3KeyPrefix (optional) and S3BucketOwner (optional if the bucket is - * owned by the requester).

- * @public - */ - S3BucketSource?: S3BucketSource | undefined; - /** - *

The Amazon Resource Number (ARN) of the Cloudwatch Log Group associated with this - * import task.

- * @public - */ - CloudWatchLogGroupArn?: string | undefined; - /** - *

The format of the source data. Valid values are CSV, - * DYNAMODB_JSON or ION.

- * @public - */ - InputFormat?: InputFormat | undefined; - /** - *

The time at which this import task began.

- * @public - */ - StartTime?: Date | undefined; - /** - *

The time at which this import task ended. (Does this include the successful complete - * creation of the table it was imported to?)

- * @public - */ - EndTime?: Date | undefined; -} -/** - * @public - */ -export interface ListImportsOutput { - /** - *

A list of ImportSummary objects.

- * @public - */ - ImportSummaryList?: ImportSummary[] | undefined; - /** - *

If this value is returned, there are additional results to be displayed. To retrieve - * them, call ListImports again, with NextToken set to this - * value.

- * @public - */ - NextToken?: string | undefined; -} -/** - *

Represents the input of a ListTables operation.

- * @public - */ -export interface ListTablesInput { - /** - *

The first table name that this operation will evaluate. Use the value that was - * returned for LastEvaluatedTableName in a previous operation, so that you - * can obtain the next page of results.

- * @public - */ - ExclusiveStartTableName?: string | undefined; - /** - *

A maximum number of table names to return. If this parameter is not specified, the - * limit is 100.

- * @public - */ - Limit?: number | undefined; -} -/** - *

Represents the output of a ListTables operation.

- * @public - */ -export interface ListTablesOutput { - /** - *

The names of the tables associated with the current account at the current endpoint. - * The maximum size of this array is 100.

- *

If LastEvaluatedTableName also appears in the output, you can use this - * value as the ExclusiveStartTableName parameter in a subsequent - * ListTables request and obtain the next page of results.

- * @public - */ - TableNames?: string[] | undefined; - /** - *

The name of the last table in the current page of results. Use this value as the - * ExclusiveStartTableName in a new request to obtain the next page of - * results, until all the table names are returned.

- *

If you do not receive a LastEvaluatedTableName value in the response, - * this means that there are no more table names to be retrieved.

- * @public - */ - LastEvaluatedTableName?: string | undefined; -} -/** - * @public - */ -export interface ListTagsOfResourceInput { - /** - *

The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource - * Name (ARN).

- * @public - */ - ResourceArn: string | undefined; - /** - *

An optional string that, if supplied, must be copied from the output of a previous - * call to ListTagOfResource. When provided in this manner, this API fetches the next page - * of results.

- * @public - */ - NextToken?: string | undefined; -} -/** - * @public - */ -export interface ListTagsOfResourceOutput { - /** - *

The tags currently associated with the Amazon DynamoDB resource.

- * @public - */ - Tags?: Tag[] | undefined; - /** - *

If this value is returned, there are additional results to be displayed. To retrieve - * them, call ListTagsOfResource again, with NextToken set to this value.

- * @public - */ - NextToken?: string | undefined; -} -/** - * @public - */ -export interface PutResourcePolicyInput { - /** - *

The Amazon Resource Name (ARN) of the DynamoDB resource to which the policy will be attached. - * The resources you can specify include tables and streams.

- *

You can control index permissions using the base table's policy. To specify the same permission level for your table and its indexes, you can provide both the table and index Amazon Resource Name (ARN)s in the Resource field of a given Statement in your policy document. Alternatively, to specify different permissions for your table, indexes, or both, you can define multiple Statement fields in your policy document.

- * @public - */ - ResourceArn: string | undefined; - /** - *

An Amazon Web Services resource-based policy document in JSON format.

- *
    - *
  • - *

    The maximum size supported for a resource-based policy document is 20 KB. - * DynamoDB counts whitespaces when calculating the size of a policy - * against this limit.

    - *
  • - *
  • - *

    Within a resource-based policy, if the action for a DynamoDB - * service-linked role (SLR) to replicate data for a global table is denied, adding - * or deleting a replica will fail with an error.

    - *
  • - *
- *

For a full list of all considerations that apply while attaching a resource-based - * policy, see Resource-based - * policy considerations.

- * @public - */ - Policy: string | undefined; - /** - *

A string value that you can use to conditionally update your policy. You can provide - * the revision ID of your existing policy to make mutating requests against that - * policy.

- * - *

When you provide an expected revision ID, if the revision ID of the existing - * policy on the resource doesn't match or if there's no policy attached to the - * resource, your request will be rejected with a - * PolicyNotFoundException.

- *
- *

To conditionally attach a policy when no policy exists for the resource, specify - * NO_POLICY for the revision ID.

- * @public - */ - ExpectedRevisionId?: string | undefined; - /** - *

Set this parameter to true to confirm that you want to remove your - * permissions to change the policy of this resource in the future.

- * @public - */ - ConfirmRemoveSelfResourceAccess?: boolean | undefined; -} -/** - * @public - */ -export interface PutResourcePolicyOutput { - /** - *

A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.

- * @public - */ - RevisionId?: string | undefined; -} -/** - * @public - */ -export interface RestoreTableFromBackupInput { - /** - *

The name of the new table to which the backup must be restored.

- * @public - */ - TargetTableName: string | undefined; - /** - *

The Amazon Resource Name (ARN) associated with the backup.

- * @public - */ - BackupArn: string | undefined; - /** - *

The billing mode of the restored table.

- * @public - */ - BillingModeOverride?: BillingMode | undefined; - /** - *

List of global secondary indexes for the restored table. The indexes provided should - * match existing secondary indexes. You can choose to exclude some or all of the indexes - * at the time of restore.

- * @public - */ - GlobalSecondaryIndexOverride?: GlobalSecondaryIndex[] | undefined; - /** - *

List of local secondary indexes for the restored table. The indexes provided should - * match existing secondary indexes. You can choose to exclude some or all of the indexes - * at the time of restore.

- * @public - */ - LocalSecondaryIndexOverride?: LocalSecondaryIndex[] | undefined; - /** - *

Provisioned throughput settings for the restored table.

- * @public - */ - ProvisionedThroughputOverride?: ProvisionedThroughput | undefined; - /** - *

Sets the maximum number of read and write units for the specified on-demand table. If - * you use this parameter, you must specify MaxReadRequestUnits, - * MaxWriteRequestUnits, or both.

- * @public - */ - OnDemandThroughputOverride?: OnDemandThroughput | undefined; - /** - *

The new server-side encryption settings for the restored table.

- * @public - */ - SSESpecificationOverride?: SSESpecification | undefined; -} -/** - * @public - */ -export interface RestoreTableFromBackupOutput { - /** - *

The description of the table created from an existing backup.

- * @public - */ - TableDescription?: TableDescription | undefined; -} -/** - * @public - */ -export interface RestoreTableToPointInTimeInput { - /** - *

The DynamoDB table that will be restored. This value is an Amazon Resource Name - * (ARN).

- * @public - */ - SourceTableArn?: string | undefined; - /** - *

Name of the source table that is being restored.

- * @public - */ - SourceTableName?: string | undefined; - /** - *

The name of the new table to which it must be restored to.

- * @public - */ - TargetTableName: string | undefined; - /** - *

Restore the table to the latest possible time. LatestRestorableDateTime - * is typically 5 minutes before the current time.

- * @public - */ - UseLatestRestorableTime?: boolean | undefined; - /** - *

Time in the past to restore the table to.

- * @public - */ - RestoreDateTime?: Date | undefined; - /** - *

The billing mode of the restored table.

- * @public - */ - BillingModeOverride?: BillingMode | undefined; - /** - *

List of global secondary indexes for the restored table. The indexes provided should - * match existing secondary indexes. You can choose to exclude some or all of the indexes - * at the time of restore.

- * @public - */ - GlobalSecondaryIndexOverride?: GlobalSecondaryIndex[] | undefined; - /** - *

List of local secondary indexes for the restored table. The indexes provided should - * match existing secondary indexes. You can choose to exclude some or all of the indexes - * at the time of restore.

- * @public - */ - LocalSecondaryIndexOverride?: LocalSecondaryIndex[] | undefined; - /** - *

Provisioned throughput settings for the restored table.

- * @public - */ - ProvisionedThroughputOverride?: ProvisionedThroughput | undefined; - /** - *

Sets the maximum number of read and write units for the specified on-demand table. If - * you use this parameter, you must specify MaxReadRequestUnits, - * MaxWriteRequestUnits, or both.

- * @public - */ - OnDemandThroughputOverride?: OnDemandThroughput | undefined; - /** - *

The new server-side encryption settings for the restored table.

- * @public - */ - SSESpecificationOverride?: SSESpecification | undefined; -} -/** - * @public - */ -export interface RestoreTableToPointInTimeOutput { - /** - *

Represents the properties of a table.

- * @public - */ - TableDescription?: TableDescription | undefined; -} -/** - * @public - */ -export interface TagResourceInput { - /** - *

Identifies the Amazon DynamoDB resource to which tags should be added. This value is - * an Amazon Resource Name (ARN).

- * @public - */ - ResourceArn: string | undefined; - /** - *

The tags to be assigned to the Amazon DynamoDB resource.

- * @public - */ - Tags: Tag[] | undefined; -} -/** - * @public - */ -export interface UntagResourceInput { - /** - *

The DynamoDB resource that the tags will be removed from. This value is an Amazon - * Resource Name (ARN).

- * @public - */ - ResourceArn: string | undefined; - /** - *

A list of tag keys. Existing tags of the resource whose keys are members of this list - * will be removed from the DynamoDB resource.

- * @public - */ - TagKeys: string[] | undefined; -} -/** - *

Represents the settings used to enable point in time recovery.

- * @public - */ -export interface PointInTimeRecoverySpecification { - /** - *

Indicates whether point in time recovery is enabled (true) or disabled (false) on the - * table.

- * @public - */ - PointInTimeRecoveryEnabled: boolean | undefined; - /** - *

The number of preceding days for which continuous backups are taken and maintained. - * Your table data is only recoverable to any point-in-time from within the configured - * recovery period. This parameter is optional. If no value is provided, the value will - * default to 35.

- * @public - */ - RecoveryPeriodInDays?: number | undefined; -} -/** - * @public - */ -export interface UpdateContinuousBackupsInput { - /** - *

The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this - * parameter.

- * @public - */ - TableName: string | undefined; - /** - *

Represents the settings used to enable point in time recovery.

- * @public - */ - PointInTimeRecoverySpecification: PointInTimeRecoverySpecification | undefined; -} -/** - * @public - */ -export interface UpdateContinuousBackupsOutput { - /** - *

Represents the continuous backups and point in time recovery settings on the - * table.

- * @public - */ - ContinuousBackupsDescription?: ContinuousBackupsDescription | undefined; -} -/** - * @public - */ -export interface UpdateContributorInsightsInput { - /** - *

The name of the table. You can also provide the Amazon Resource Name (ARN) of the table in this - * parameter.

- * @public - */ - TableName: string | undefined; - /** - *

The global secondary index name, if applicable.

- * @public - */ - IndexName?: string | undefined; - /** - *

Represents the contributor insights action.

- * @public - */ - ContributorInsightsAction: ContributorInsightsAction | undefined; - /** - *

Specifies whether to track all access and throttled events or throttled events only for - * the DynamoDB table or index.

- * @public - */ - ContributorInsightsMode?: ContributorInsightsMode | undefined; -} -/** - * @public - */ -export interface UpdateContributorInsightsOutput { - /** - *

The name of the table.

- * @public - */ - TableName?: string | undefined; - /** - *

The name of the global secondary index, if applicable.

- * @public - */ - IndexName?: string | undefined; - /** - *

The status of contributor insights

- * @public - */ - ContributorInsightsStatus?: ContributorInsightsStatus | undefined; - /** - *

The updated mode of CloudWatch Contributor Insights that determines whether to monitor - * all access and throttled events or to track throttled events exclusively.

- * @public - */ - ContributorInsightsMode?: ContributorInsightsMode | undefined; -} -/** - *

Represents one of the following:

- *
    - *
  • - *

    A new replica to be added to an existing global table.

    - *
  • - *
  • - *

    New parameters for an existing replica.

    - *
  • - *
  • - *

    An existing replica to be removed from an existing global table.

    - *
  • - *
- * @public - */ -export interface ReplicaUpdate { - /** - *

The parameters required for creating a replica on an existing global table.

- * @public - */ - Create?: CreateReplicaAction | undefined; - /** - *

The name of the existing replica to be removed.

- * @public - */ - Delete?: DeleteReplicaAction | undefined; -} -/** - * @public - */ -export interface UpdateGlobalTableInput { - /** - *

The global table name.

- * @public - */ - GlobalTableName: string | undefined; - /** - *

A list of Regions that should be added or removed from the global table.

- * @public - */ - ReplicaUpdates: ReplicaUpdate[] | undefined; -} -/** - * @public - */ -export interface UpdateGlobalTableOutput { - /** - *

Contains the details of the global table.

- * @public - */ - GlobalTableDescription?: GlobalTableDescription | undefined; -} -/** - *

Represents the settings of a global secondary index for a global table that will be - * modified.

- * @public - */ -export interface GlobalTableGlobalSecondaryIndexSettingsUpdate { - /** - *

The name of the global secondary index. The name must be unique among all other - * indexes on this table.

- * @public - */ - IndexName: string | undefined; - /** - *

The maximum number of writes consumed per second before DynamoDB returns a - * ThrottlingException. - *

- * @public - */ - ProvisionedWriteCapacityUnits?: number | undefined; - /** - *

Auto scaling settings for managing a global secondary index's write capacity - * units.

- * @public - */ - ProvisionedWriteCapacityAutoScalingSettingsUpdate?: AutoScalingSettingsUpdate | undefined; -} -/** - *

Represents the settings of a global secondary index for a global table that will be - * modified.

- * @public - */ -export interface ReplicaGlobalSecondaryIndexSettingsUpdate { - /** - *

The name of the global secondary index. The name must be unique among all other - * indexes on this table.

- * @public - */ - IndexName: string | undefined; - /** - *

The maximum number of strongly consistent reads consumed per second before DynamoDB - * returns a ThrottlingException.

- * @public - */ - ProvisionedReadCapacityUnits?: number | undefined; - /** - *

Auto scaling settings for managing a global secondary index replica's read capacity - * units.

- * @public - */ - ProvisionedReadCapacityAutoScalingSettingsUpdate?: AutoScalingSettingsUpdate | undefined; -} -/** - *

Represents the settings for a global table in a Region that will be modified.

- * @public - */ -export interface ReplicaSettingsUpdate { - /** - *

The Region of the replica to be added.

- * @public - */ - RegionName: string | undefined; - /** - *

The maximum number of strongly consistent reads consumed per second before DynamoDB - * returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB - * Developer Guide.

- * @public - */ - ReplicaProvisionedReadCapacityUnits?: number | undefined; - /** - *

Auto scaling settings for managing a global table replica's read capacity - * units.

- * @public - */ - ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate?: AutoScalingSettingsUpdate | undefined; - /** - *

Represents the settings of a global secondary index for a global table that will be - * modified.

- * @public - */ - ReplicaGlobalSecondaryIndexSettingsUpdate?: ReplicaGlobalSecondaryIndexSettingsUpdate[] | undefined; - /** - *

Replica-specific table class. If not specified, uses the source table's table - * class.

- * @public - */ - ReplicaTableClass?: TableClass | undefined; -} -/** - * @public - */ -export interface UpdateGlobalTableSettingsInput { - /** - *

The name of the global table

- * @public - */ - GlobalTableName: string | undefined; - /** - *

The billing mode of the global table. If GlobalTableBillingMode is not - * specified, the global table defaults to PROVISIONED capacity billing - * mode.

- *
    - *
  • - *

    - * PROVISIONED - We recommend using PROVISIONED for - * predictable workloads. PROVISIONED sets the billing mode to Provisioned capacity mode.

    - *
  • - *
  • - *

    - * PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST - * for unpredictable workloads. PAY_PER_REQUEST sets the billing mode - * to On-demand capacity mode.

    - *
  • - *
- * @public - */ - GlobalTableBillingMode?: BillingMode | undefined; - /** - *

The maximum number of writes consumed per second before DynamoDB returns a - * ThrottlingException. - *

- * @public - */ - GlobalTableProvisionedWriteCapacityUnits?: number | undefined; - /** - *

Auto scaling settings for managing provisioned write capacity for the global - * table.

- * @public - */ - GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate?: AutoScalingSettingsUpdate | undefined; - /** - *

Represents the settings of a global secondary index for a global table that will be - * modified.

- * @public - */ - GlobalTableGlobalSecondaryIndexSettingsUpdate?: GlobalTableGlobalSecondaryIndexSettingsUpdate[] | undefined; - /** - *

Represents the settings for a global table in a Region that will be modified.

- * @public - */ - ReplicaSettingsUpdate?: ReplicaSettingsUpdate[] | undefined; -} -/** - * @public - */ -export interface UpdateGlobalTableSettingsOutput { - /** - *

The name of the global table.

- * @public - */ - GlobalTableName?: string | undefined; - /** - *

The Region-specific settings for the global table.

- * @public - */ - ReplicaSettings?: ReplicaSettingsDescription[] | undefined; -} -/** - *

Enables updating the configuration for Kinesis Streaming.

- * @public - */ -export interface UpdateKinesisStreamingConfiguration { - /** - *

Enables updating the precision of Kinesis data stream timestamp.

- * @public - */ - ApproximateCreationDateTimePrecision?: ApproximateCreationDateTimePrecision | undefined; -} -/** - * @public - */ -export interface UpdateKinesisStreamingDestinationInput { - /** - *

The table name for the Kinesis streaming destination input. You can also provide the - * ARN of the table in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

The Amazon Resource Name (ARN) for the Kinesis stream input.

- * @public - */ - StreamArn: string | undefined; - /** - *

The command to update the Kinesis stream configuration.

- * @public - */ - UpdateKinesisStreamingConfiguration?: UpdateKinesisStreamingConfiguration | undefined; -} -/** - * @public - */ -export interface UpdateKinesisStreamingDestinationOutput { - /** - *

The table name for the Kinesis streaming destination output.

- * @public - */ - TableName?: string | undefined; - /** - *

The ARN for the Kinesis stream input.

- * @public - */ - StreamArn?: string | undefined; - /** - *

The status of the attempt to update the Kinesis streaming destination output.

- * @public - */ - DestinationStatus?: DestinationStatus | undefined; - /** - *

The command to update the Kinesis streaming destination configuration.

- * @public - */ - UpdateKinesisStreamingConfiguration?: UpdateKinesisStreamingConfiguration | undefined; -} -/** - *

Represents the new provisioned throughput settings to be applied to a global secondary - * index.

- * @public - */ -export interface UpdateGlobalSecondaryIndexAction { - /** - *

The name of the global secondary index to be updated.

- * @public - */ - IndexName: string | undefined; - /** - *

Represents the provisioned throughput settings for the specified global secondary - * index.

- *

For current minimum and maximum provisioned throughput values, see Service, - * Account, and Table Quotas in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ProvisionedThroughput?: ProvisionedThroughput | undefined; - /** - *

Updates the maximum number of read and write units for the specified global secondary - * index. If you use this parameter, you must specify MaxReadRequestUnits, - * MaxWriteRequestUnits, or both.

- * @public - */ - OnDemandThroughput?: OnDemandThroughput | undefined; - /** - *

Represents the warm throughput value of the new provisioned throughput settings to be - * applied to a global secondary index.

- * @public - */ - WarmThroughput?: WarmThroughput | undefined; -} -/** - *

Represents one of the following:

- *
    - *
  • - *

    A new global secondary index to be added to an existing table.

    - *
  • - *
  • - *

    New provisioned throughput parameters for an existing global secondary - * index.

    - *
  • - *
  • - *

    An existing global secondary index to be removed from an existing - * table.

    - *
  • - *
- * @public - */ -export interface GlobalSecondaryIndexUpdate { - /** - *

The name of an existing global secondary index, along with new provisioned throughput - * settings to be applied to that index.

- * @public - */ - Update?: UpdateGlobalSecondaryIndexAction | undefined; - /** - *

The parameters required for creating a global secondary index on an existing - * table:

- *
    - *
  • - *

    - * IndexName - *

    - *
  • - *
  • - *

    - * KeySchema - *

    - *
  • - *
  • - *

    - * AttributeDefinitions - *

    - *
  • - *
  • - *

    - * Projection - *

    - *
  • - *
  • - *

    - * ProvisionedThroughput - *

    - *
  • - *
- * @public - */ - Create?: CreateGlobalSecondaryIndexAction | undefined; - /** - *

The name of an existing global secondary index to be removed.

- * @public - */ - Delete?: DeleteGlobalSecondaryIndexAction | undefined; -} -/** - *

Represents one of the following:

- *
    - *
  • - *

    A new witness to be added to a new global table.

    - *
  • - *
  • - *

    An existing witness to be removed from an existing global table.

    - *
  • - *
- *

You can configure one witness per MRSC global table.

- * @public - */ -export interface GlobalTableWitnessGroupUpdate { - /** - *

Specifies a witness Region to be added to a new MRSC global table. The witness must be - * added when creating the MRSC global table.

- * @public - */ - Create?: CreateGlobalTableWitnessGroupMemberAction | undefined; - /** - *

Specifies a witness Region to be removed from an existing global table. Must be done - * in conjunction with removing a replica. The deletion of both a witness and replica - * converts the remaining replica to a single-Region DynamoDB table.

- * @public - */ - Delete?: DeleteGlobalTableWitnessGroupMemberAction | undefined; -} -/** - *

Represents a replica to be modified.

- * @public - */ -export interface UpdateReplicationGroupMemberAction { - /** - *

The Region where the replica exists.

- * @public - */ - RegionName: string | undefined; - /** - *

The KMS key of the replica that should be used for KMS - * encryption. To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or - * alias ARN. Note that you should only provide this parameter if the key is different from - * the default DynamoDB KMS key alias/aws/dynamodb.

- * @public - */ - KMSMasterKeyId?: string | undefined; - /** - *

Replica-specific provisioned throughput. If not specified, uses the source table's - * provisioned throughput settings.

- * @public - */ - ProvisionedThroughputOverride?: ProvisionedThroughputOverride | undefined; - /** - *

Overrides the maximum on-demand throughput for the replica table.

- * @public - */ - OnDemandThroughputOverride?: OnDemandThroughputOverride | undefined; - /** - *

Replica-specific global secondary index settings.

- * @public - */ - GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndex[] | undefined; - /** - *

Replica-specific table class. If not specified, uses the source table's table - * class.

- * @public - */ - TableClassOverride?: TableClass | undefined; -} -/** - *

Represents one of the following:

- *
    - *
  • - *

    A new replica to be added to an existing regional table or global table. This - * request invokes the CreateTableReplica action in the destination - * Region.

    - *
  • - *
  • - *

    New parameters for an existing replica. This request invokes the - * UpdateTable action in the destination Region.

    - *
  • - *
  • - *

    An existing replica to be deleted. The request invokes the - * DeleteTableReplica action in the destination Region, deleting - * the replica and all if its items in the destination Region.

    - *
  • - *
- * - *

When you manually remove a table or global table replica, you do not automatically - * remove any associated scalable targets, scaling policies, or CloudWatch - * alarms.

- *
- * @public - */ -export interface ReplicationGroupUpdate { - /** - *

The parameters required for creating a replica for the table.

- * @public - */ - Create?: CreateReplicationGroupMemberAction | undefined; - /** - *

The parameters required for updating a replica for the table.

- * @public - */ - Update?: UpdateReplicationGroupMemberAction | undefined; - /** - *

The parameters required for deleting a replica for the table.

- * @public - */ - Delete?: DeleteReplicationGroupMemberAction | undefined; -} -/** - *

Represents the input of an UpdateTable operation.

- * @public - */ -export interface UpdateTableInput { - /** - *

An array of attributes that describe the key schema for the table and indexes. If you - * are adding a new global secondary index to the table, AttributeDefinitions - * must include the key element(s) of the new index.

- * @public - */ - AttributeDefinitions?: AttributeDefinition[] | undefined; - /** - *

The name of the table to be updated. You can also provide the Amazon Resource Name (ARN) of the table - * in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

Controls how you are charged for read and write throughput and how you manage - * capacity. When switching from pay-per-request to provisioned capacity, initial - * provisioned capacity values must be set. The initial provisioned capacity values are - * estimated based on the consumed read and write capacity of your table and global - * secondary indexes over the past 30 minutes.

- *
    - *
  • - *

    - * PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST - * for most DynamoDB workloads. PAY_PER_REQUEST sets the billing mode - * to On-demand capacity mode.

    - *
  • - *
  • - *

    - * PROVISIONED - We recommend using PROVISIONED for - * steady workloads with predictable growth where capacity requirements can be - * reliably forecasted. PROVISIONED sets the billing mode to Provisioned capacity mode.

    - *
  • - *
- * @public - */ - BillingMode?: BillingMode | undefined; - /** - *

The new provisioned throughput settings for the specified table or index.

- * @public - */ - ProvisionedThroughput?: ProvisionedThroughput | undefined; - /** - *

An array of one or more global secondary indexes for the table. For each index in the - * array, you can request one action:

- *
    - *
  • - *

    - * Create - add a new global secondary index to the table.

    - *
  • - *
  • - *

    - * Update - modify the provisioned throughput settings of an existing - * global secondary index.

    - *
  • - *
  • - *

    - * Delete - remove a global secondary index from the table.

    - *
  • - *
- *

You can create or delete only one global secondary index per UpdateTable - * operation.

- *

For more information, see Managing Global - * Secondary Indexes in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - GlobalSecondaryIndexUpdates?: GlobalSecondaryIndexUpdate[] | undefined; - /** - *

Represents the DynamoDB Streams configuration for the table.

- * - *

You receive a ValidationException if you try to enable a stream on a - * table that already has a stream, or if you try to disable a stream on a table that - * doesn't have a stream.

- *
- * @public - */ - StreamSpecification?: StreamSpecification | undefined; - /** - *

The new server-side encryption settings for the specified table.

- * @public - */ - SSESpecification?: SSESpecification | undefined; - /** - *

A list of replica update actions (create, delete, or update) for the table.

- * @public - */ - ReplicaUpdates?: ReplicationGroupUpdate[] | undefined; - /** - *

The table class of the table to be updated. Valid values are STANDARD and - * STANDARD_INFREQUENT_ACCESS.

- * @public - */ - TableClass?: TableClass | undefined; - /** - *

Indicates whether deletion protection is to be enabled (true) or disabled (false) on - * the table.

- * @public - */ - DeletionProtectionEnabled?: boolean | undefined; - /** - *

Specifies the consistency mode for a new global table. This parameter is only valid - * when you create a global table by specifying one or more Create actions in the ReplicaUpdates action list.

- *

You can specify one of the following consistency modes:

- *
    - *
  • - *

    - * EVENTUAL: Configures a new global table for multi-Region eventual - * consistency (MREC). This is the default consistency mode for global - * tables.

    - *
  • - *
  • - *

    - * STRONG: Configures a new global table for multi-Region strong - * consistency (MRSC).

    - *
  • - *
- *

If you don't specify this field, the global table consistency mode defaults to - * EVENTUAL. For more information about global tables consistency modes, - * see - * Consistency modes in DynamoDB developer guide.

- * @public - */ - MultiRegionConsistency?: MultiRegionConsistency | undefined; - /** - *

A list of witness updates for a MRSC global table. A witness provides a cost-effective - * alternative to a full replica in a MRSC global table by maintaining replicated change - * data written to global table replicas. You cannot perform read or write operations on a - * witness. For each witness, you can request one action:

- *
    - *
  • - *

    - * Create - add a new witness to the global table.

    - *
  • - *
  • - *

    - * Delete - remove a witness from the global table.

    - *
  • - *
- *

You can create or delete only one witness per UpdateTable - * operation.

- *

For more information, see Multi-Region strong consistency (MRSC) in the Amazon DynamoDB - * Developer Guide

- * @public - */ - GlobalTableWitnessUpdates?: GlobalTableWitnessGroupUpdate[] | undefined; - /** - *

Updates the maximum number of read and write units for the specified table in - * on-demand capacity mode. If you use this parameter, you must specify - * MaxReadRequestUnits, MaxWriteRequestUnits, or both.

- * @public - */ - OnDemandThroughput?: OnDemandThroughput | undefined; - /** - *

Represents the warm throughput (in read units per second and write units per second) - * for updating a table.

- * @public - */ - WarmThroughput?: WarmThroughput | undefined; - /** - *

Controls the settings replication mode for a global table replica. This attribute can be defined - * using UpdateTable operation only on a regional table with values:

- *
    - *
  • - *

    - * ENABLED: Defines settings replication on a regional table to be used as a - * source table for creating Multi-Account Global Table.

    - *
  • - *
  • - *

    - * DISABLED: Remove settings replication on a regional table. Settings replication needs - * to be defined to ENABLED again in order to create a Multi-Account Global Table using this table. - *

    - *
  • - *
- * @public - */ - GlobalTableSettingsReplicationMode?: GlobalTableSettingsReplicationMode | undefined; -} -/** - *

Represents the output of an UpdateTable operation.

- * @public - */ -export interface UpdateTableOutput { - /** - *

Represents the properties of the table.

- * @public - */ - TableDescription?: TableDescription | undefined; -} -/** - *

Represents the auto scaling settings of a global secondary index for a global table - * that will be modified.

- * @public - */ -export interface GlobalSecondaryIndexAutoScalingUpdate { - /** - *

The name of the global secondary index.

- * @public - */ - IndexName?: string | undefined; - /** - *

Represents the auto scaling settings to be modified for a global table or global - * secondary index.

- * @public - */ - ProvisionedWriteCapacityAutoScalingUpdate?: AutoScalingSettingsUpdate | undefined; -} -/** - *

Represents the auto scaling settings of a global secondary index for a replica that - * will be modified.

- * @public - */ -export interface ReplicaGlobalSecondaryIndexAutoScalingUpdate { - /** - *

The name of the global secondary index.

- * @public - */ - IndexName?: string | undefined; - /** - *

Represents the auto scaling settings to be modified for a global table or global - * secondary index.

- * @public - */ - ProvisionedReadCapacityAutoScalingUpdate?: AutoScalingSettingsUpdate | undefined; -} -/** - *

Represents the auto scaling settings of a replica that will be modified.

- * @public - */ -export interface ReplicaAutoScalingUpdate { - /** - *

The Region where the replica exists.

- * @public - */ - RegionName: string | undefined; - /** - *

Represents the auto scaling settings of global secondary indexes that will be - * modified.

- * @public - */ - ReplicaGlobalSecondaryIndexUpdates?: ReplicaGlobalSecondaryIndexAutoScalingUpdate[] | undefined; - /** - *

Represents the auto scaling settings to be modified for a global table or global - * secondary index.

- * @public - */ - ReplicaProvisionedReadCapacityAutoScalingUpdate?: AutoScalingSettingsUpdate | undefined; -} -/** - * @public - */ -export interface UpdateTableReplicaAutoScalingInput { - /** - *

Represents the auto scaling settings of the global secondary indexes of the replica to - * be updated.

- * @public - */ - GlobalSecondaryIndexUpdates?: GlobalSecondaryIndexAutoScalingUpdate[] | undefined; - /** - *

The name of the global table to be updated. You can also provide the Amazon Resource Name (ARN) of the - * table in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

Represents the auto scaling settings to be modified for a global table or global - * secondary index.

- * @public - */ - ProvisionedWriteCapacityAutoScalingUpdate?: AutoScalingSettingsUpdate | undefined; - /** - *

Represents the auto scaling settings of replicas of the table that will be - * modified.

- * @public - */ - ReplicaUpdates?: ReplicaAutoScalingUpdate[] | undefined; -} -/** - * @public - */ -export interface UpdateTableReplicaAutoScalingOutput { - /** - *

Returns information about the auto scaling settings of a table with replicas.

- * @public - */ - TableAutoScalingDescription?: TableAutoScalingDescription | undefined; -} -/** - *

Represents the settings used to enable or disable Time to Live (TTL) for the specified - * table.

- * @public - */ -export interface TimeToLiveSpecification { - /** - *

Indicates whether TTL is to be enabled (true) or disabled (false) on the table.

- * @public - */ - Enabled: boolean | undefined; - /** - *

The name of the TTL attribute used to store the expiration time for items in the - * table.

- * @public - */ - AttributeName: string | undefined; -} -/** - *

Represents the input of an UpdateTimeToLive operation.

- * @public - */ -export interface UpdateTimeToLiveInput { - /** - *

The name of the table to be configured. You can also provide the Amazon Resource Name (ARN) of the - * table in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

Represents the settings used to enable or disable Time to Live for the specified - * table.

- * @public - */ - TimeToLiveSpecification: TimeToLiveSpecification | undefined; -} -/** - * @public - */ -export interface UpdateTimeToLiveOutput { - /** - *

Represents the output of an UpdateTimeToLive operation.

- * @public - */ - TimeToLiveSpecification?: TimeToLiveSpecification | undefined; -} -/** - *

Represents the data for an attribute.

- *

Each attribute value is described as a name-value pair. The name is the data type, and - * the value is the data itself.

- *

For more information, see Data Types in the Amazon DynamoDB Developer - * Guide.

- * @public - */ -export type AttributeValue = AttributeValue.BMember | AttributeValue.BOOLMember | AttributeValue.BSMember | AttributeValue.LMember | AttributeValue.MMember | AttributeValue.NMember | AttributeValue.NSMember | AttributeValue.NULLMember | AttributeValue.SMember | AttributeValue.SSMember | AttributeValue.$UnknownMember; -/** - * @public - */ -export declare namespace AttributeValue { - /** - *

An attribute of type String. For example:

- *

- * "S": "Hello" - *

- * @public - */ - interface SMember { - S: string; - N?: never; - B?: never; - SS?: never; - NS?: never; - BS?: never; - M?: never; - L?: never; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - /** - *

An attribute of type Number. For example:

- *

- * "N": "123.45" - *

- *

Numbers are sent across the network to DynamoDB as strings, to maximize compatibility - * across languages and libraries. However, DynamoDB treats them as number type attributes - * for mathematical operations.

- * @public - */ - interface NMember { - S?: never; - N: string; - B?: never; - SS?: never; - NS?: never; - BS?: never; - M?: never; - L?: never; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - /** - *

An attribute of type Binary. For example:

- *

- * "B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk" - *

- * @public - */ - interface BMember { - S?: never; - N?: never; - B: Uint8Array; - SS?: never; - NS?: never; - BS?: never; - M?: never; - L?: never; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - /** - *

An attribute of type String Set. For example:

- *

- * "SS": ["Giraffe", "Hippo" ,"Zebra"] - *

- * @public - */ - interface SSMember { - S?: never; - N?: never; - B?: never; - SS: string[]; - NS?: never; - BS?: never; - M?: never; - L?: never; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - /** - *

An attribute of type Number Set. For example:

- *

- * "NS": ["42.2", "-19", "7.5", "3.14"] - *

- *

Numbers are sent across the network to DynamoDB as strings, to maximize compatibility - * across languages and libraries. However, DynamoDB treats them as number type attributes - * for mathematical operations.

- * @public - */ - interface NSMember { - S?: never; - N?: never; - B?: never; - SS?: never; - NS: string[]; - BS?: never; - M?: never; - L?: never; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - /** - *

An attribute of type Binary Set. For example:

- *

- * "BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="] - *

- * @public - */ - interface BSMember { - S?: never; - N?: never; - B?: never; - SS?: never; - NS?: never; - BS: Uint8Array[]; - M?: never; - L?: never; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - /** - *

An attribute of type Map. For example:

- *

- * "M": \{"Name": \{"S": "Joe"\}, "Age": \{"N": "35"\}\} - *

- * @public - */ - interface MMember { - S?: never; - N?: never; - B?: never; - SS?: never; - NS?: never; - BS?: never; - M: Record; - L?: never; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - /** - *

An attribute of type List. For example:

- *

- * "L": [ \{"S": "Cookies"\} , \{"S": "Coffee"\}, \{"N": "3.14159"\}] - *

- * @public - */ - interface LMember { - S?: never; - N?: never; - B?: never; - SS?: never; - NS?: never; - BS?: never; - M?: never; - L: AttributeValue[]; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - /** - *

An attribute of type Null. For example:

- *

- * "NULL": true - *

- * @public - */ - interface NULLMember { - S?: never; - N?: never; - B?: never; - SS?: never; - NS?: never; - BS?: never; - M?: never; - L?: never; - NULL: boolean; - BOOL?: never; - $unknown?: never; - } - /** - *

An attribute of type Boolean. For example:

- *

- * "BOOL": true - *

- * @public - */ - interface BOOLMember { - S?: never; - N?: never; - B?: never; - SS?: never; - NS?: never; - BS?: never; - M?: never; - L?: never; - NULL?: never; - BOOL: boolean; - $unknown?: never; - } - /** - * @public - */ - interface $UnknownMember { - S?: never; - N?: never; - B?: never; - SS?: never; - NS?: never; - BS?: never; - M?: never; - L?: never; - NULL?: never; - BOOL?: never; - $unknown: [string, any]; - } - /** - * @deprecated unused in schema-serde mode. - * - */ - interface Visitor { - S: (value: string) => T; - N: (value: string) => T; - B: (value: Uint8Array) => T; - SS: (value: string[]) => T; - NS: (value: string[]) => T; - BS: (value: Uint8Array[]) => T; - M: (value: Record) => T; - L: (value: AttributeValue[]) => T; - NULL: (value: boolean) => T; - BOOL: (value: boolean) => T; - _: (name: string, value: any) => T; - } -} -/** - *

For the UpdateItem operation, represents the attributes to be modified, - * the action to perform on each, and the new value for each.

- * - *

You cannot use UpdateItem to update any primary key attributes. - * Instead, you will need to delete the item, and then use PutItem to - * create a new item with new attributes.

- *
- *

Attribute values cannot be null; string and binary type attributes must have lengths - * greater than zero; and set type attributes must not be empty. Requests with empty values - * will be rejected with a ValidationException exception.

- * @public - */ -export interface AttributeValueUpdate { - /** - *

Represents the data for an attribute.

- *

Each attribute value is described as a name-value pair. The name is the data type, and - * the value is the data itself.

- *

For more information, see Data Types in the Amazon DynamoDB Developer Guide. - *

- * @public - */ - Value?: AttributeValue | undefined; - /** - *

Specifies how to perform the update. Valid values are PUT (default), - * DELETE, and ADD. The behavior depends on whether the - * specified primary key already exists in the table.

- *

- * If an item with the specified Key is found in - * the table: - *

- *
    - *
  • - *

    - * PUT - Adds the specified attribute to the item. If the attribute - * already exists, it is replaced by the new value.

    - *
  • - *
  • - *

    - * DELETE - If no value is specified, the attribute and its value are - * removed from the item. The data type of the specified value must match the - * existing value's data type.

    - *

    If a set of values is specified, then those values are - * subtracted from the old set. For example, if the attribute value was the set - * [a,b,c] and the DELETE action specified - * [a,c], then the final attribute value would be - * [b]. Specifying an empty set is an error.

    - *
  • - *
  • - *

    - * ADD - If the attribute does not already exist, then the attribute - * and its values are added to the item. If the attribute does exist, then the - * behavior of ADD depends on the data type of the attribute:

    - *
      - *
    • - *

      If the existing attribute is a number, and if Value is - * also a number, then the Value is mathematically added to - * the existing attribute. If Value is a negative number, then - * it is subtracted from the existing attribute.

      - * - *

      If you use ADD to increment or decrement a number - * value for an item that doesn't exist before the update, DynamoDB - * uses 0 as the initial value.

      - *

      In addition, if you use ADD to update an existing - * item, and intend to increment or decrement an attribute value which - * does not yet exist, DynamoDB uses 0 as the initial - * value. For example, suppose that the item you want to update does - * not yet have an attribute named itemcount, but - * you decide to ADD the number 3 to this - * attribute anyway, even though it currently does not exist. DynamoDB - * will create the itemcount attribute, set its - * initial value to 0, and finally add 3 to - * it. The result will be a new itemcount - * attribute in the item, with a value of 3.

      - *
      - *
    • - *
    • - *

      If the existing data type is a set, and if the Value is - * also a set, then the Value is added to the existing set. - * (This is a set operation, not mathematical - * addition.) For example, if the attribute value was the set - * [1,2], and the ADD action specified - * [3], then the final attribute value would be - * [1,2,3]. An error occurs if an Add action is specified - * for a set attribute and the attribute type specified does not match the - * existing set type.

      - *

      Both sets must have the same primitive data type. For example, if the - * existing data type is a set of strings, the Value must also - * be a set of strings. The same holds true for number sets and binary - * sets.

      - *
    • - *
    - *

    This action is only valid for an existing attribute whose data type is number - * or is a set. Do not use ADD for any other data types.

    - *
  • - *
- *

- * If no item with the specified Key is - * found: - *

- *
    - *
  • - *

    - * PUT - DynamoDB creates a new item with the specified primary key, - * and then adds the attribute.

    - *
  • - *
  • - *

    - * DELETE - Nothing happens; there is no attribute to delete.

    - *
  • - *
  • - *

    - * ADD - DynamoDB creates a new item with the supplied primary key and - * number (or set) for the attribute value. The only data types allowed are number, - * number set, string set or binary set.

    - *
  • - *
- * @public - */ - Action?: AttributeAction | undefined; -} -/** - *

An error associated with a statement in a PartiQL batch that was run.

- * @public - */ -export interface BatchStatementError { - /** - *

The error code associated with the failed PartiQL batch statement.

- * @public - */ - Code?: BatchStatementErrorCodeEnum | undefined; - /** - *

The error message associated with the PartiQL batch response.

- * @public - */ - Message?: string | undefined; - /** - *

The item which caused the condition check to fail. This will be set if - * ReturnValuesOnConditionCheckFailure is specified as ALL_OLD.

- * @public - */ - Item?: Record | undefined; -} -/** - *

A PartiQL batch statement request.

- * @public - */ -export interface BatchStatementRequest { - /** - *

A valid PartiQL statement.

- * @public - */ - Statement: string | undefined; - /** - *

The parameters associated with a PartiQL statement in the batch request.

- * @public - */ - Parameters?: AttributeValue[] | undefined; - /** - *

The read consistency of the PartiQL batch request.

- * @public - */ - ConsistentRead?: boolean | undefined; - /** - *

An optional parameter that returns the item attributes for a PartiQL batch request - * operation that failed a condition check.

- *

There is no additional cost associated with requesting a return value aside from the - * small network and processing overhead of receiving a larger response. No read capacity - * units are consumed.

- * @public - */ - ReturnValuesOnConditionCheckFailure?: ReturnValuesOnConditionCheckFailure | undefined; -} -/** - *

An ordered list of errors for each item in the request which caused the transaction to - * get cancelled. The values of the list are ordered according to the ordering of the - * TransactWriteItems request parameter. If no error occurred for the - * associated item an error with a Null code and Null message will be present.

- * @public - */ -export interface CancellationReason { - /** - *

Item in the request which caused the transaction to get cancelled.

- * @public - */ - Item?: Record | undefined; - /** - *

Status code for the result of the cancelled transaction.

- * @public - */ - Code?: string | undefined; - /** - *

Cancellation reason message description.

- * @public - */ - Message?: string | undefined; -} -/** - *

Represents the selection criteria for a Query or Scan - * operation:

- *
    - *
  • - *

    For a Query operation, Condition is used for - * specifying the KeyConditions to use when querying a table or an - * index. For KeyConditions, only the following comparison operators - * are supported:

    - *

    - * EQ | LE | LT | GE | GT | BEGINS_WITH | BETWEEN - *

    - *

    - * Condition is also used in a QueryFilter, which - * evaluates the query results and returns only the desired values.

    - *
  • - *
  • - *

    For a Scan operation, Condition is used in a - * ScanFilter, which evaluates the scan results and returns only - * the desired values.

    - *
  • - *
- * @public - */ -export interface Condition { - /** - *

One or more values to evaluate against the supplied attribute. The number of values in - * the list depends on the ComparisonOperator being used.

- *

For type Number, value comparisons are numeric.

- *

String value comparisons for greater than, equals, or less than are based on ASCII - * character code values. For example, a is greater than A, and - * a is greater than B. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.

- *

For Binary, DynamoDB treats each byte of the binary data as unsigned when it - * compares binary values.

- * @public - */ - AttributeValueList?: AttributeValue[] | undefined; - /** - *

A comparator for evaluating attributes. For example, equals, greater than, less than, - * etc.

- *

The following comparison operators are available:

- *

- * EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | - * BEGINS_WITH | IN | BETWEEN - *

- *

The following are descriptions of each comparison operator.

- *
    - *
  • - *

    - * EQ : Equal. EQ is supported for all data types, - * including lists and maps.

    - *

    - * AttributeValueList can contain only one AttributeValue - * element of type String, Number, Binary, String Set, Number Set, or Binary Set. - * If an item contains an AttributeValue element of a different type - * than the one provided in the request, the value does not match. For example, - * \{"S":"6"\} does not equal \{"N":"6"\}. Also, - * \{"N":"6"\} does not equal \{"NS":["6", "2", - * "1"]\}.

    - *

    - *
  • - *
  • - *

    - * NE : Not equal. NE is supported for all data types, - * including lists and maps.

    - *

    - * AttributeValueList can contain only one AttributeValue - * of type String, Number, Binary, String Set, Number Set, or Binary Set. If an - * item contains an AttributeValue of a different type than the one - * provided in the request, the value does not match. For example, - * \{"S":"6"\} does not equal \{"N":"6"\}. Also, - * \{"N":"6"\} does not equal \{"NS":["6", "2", - * "1"]\}.

    - *

    - *
  • - *
  • - *

    - * LE : Less than or equal.

    - *

    - * AttributeValueList can contain only one AttributeValue - * element of type String, Number, or Binary (not a set type). If an item contains - * an AttributeValue element of a different type than the one provided - * in the request, the value does not match. For example, \{"S":"6"\} - * does not equal \{"N":"6"\}. Also, \{"N":"6"\} does not - * compare to \{"NS":["6", "2", "1"]\}.

    - *

    - *
  • - *
  • - *

    - * LT : Less than.

    - *

    - * AttributeValueList can contain only one AttributeValue - * of type String, Number, or Binary (not a set type). If an item contains an - * AttributeValue element of a different type than the one - * provided in the request, the value does not match. For example, - * \{"S":"6"\} does not equal \{"N":"6"\}. Also, - * \{"N":"6"\} does not compare to \{"NS":["6", "2", - * "1"]\}.

    - *

    - *
  • - *
  • - *

    - * GE : Greater than or equal.

    - *

    - * AttributeValueList can contain only one AttributeValue - * element of type String, Number, or Binary (not a set type). If an item contains - * an AttributeValue element of a different type than the one provided - * in the request, the value does not match. For example, \{"S":"6"\} - * does not equal \{"N":"6"\}. Also, \{"N":"6"\} does not - * compare to \{"NS":["6", "2", "1"]\}.

    - *

    - *
  • - *
  • - *

    - * GT : Greater than.

    - *

    - * AttributeValueList can contain only one AttributeValue - * element of type String, Number, or Binary (not a set type). If an item contains - * an AttributeValue element of a different type than the one provided - * in the request, the value does not match. For example, \{"S":"6"\} - * does not equal \{"N":"6"\}. Also, \{"N":"6"\} does not - * compare to \{"NS":["6", "2", "1"]\}.

    - *

    - *
  • - *
  • - *

    - * NOT_NULL : The attribute exists. NOT_NULL is supported - * for all data types, including lists and maps.

    - * - *

    This operator tests for the existence of an attribute, not its data type. - * If the data type of attribute "a" is null, and you evaluate it - * using NOT_NULL, the result is a Boolean true. This - * result is because the attribute "a" exists; its data type is - * not relevant to the NOT_NULL comparison operator.

    - *
    - *
  • - *
  • - *

    - * NULL : The attribute does not exist. NULL is supported - * for all data types, including lists and maps.

    - * - *

    This operator tests for the nonexistence of an attribute, not its data - * type. If the data type of attribute "a" is null, and you - * evaluate it using NULL, the result is a Boolean - * false. This is because the attribute "a" - * exists; its data type is not relevant to the NULL comparison - * operator.

    - *
    - *
  • - *
  • - *

    - * CONTAINS : Checks for a subsequence, or value in a set.

    - *

    - * AttributeValueList can contain only one AttributeValue - * element of type String, Number, or Binary (not a set type). If the target - * attribute of the comparison is of type String, then the operator checks for a - * substring match. If the target attribute of the comparison is of type Binary, - * then the operator looks for a subsequence of the target that matches the input. - * If the target attribute of the comparison is a set ("SS", - * "NS", or "BS"), then the operator evaluates to - * true if it finds an exact match with any member of the set.

    - *

    CONTAINS is supported for lists: When evaluating "a CONTAINS b", - * "a" can be a list; however, "b" cannot be a set, a - * map, or a list.

    - *
  • - *
  • - *

    - * NOT_CONTAINS : Checks for absence of a subsequence, or absence of a - * value in a set.

    - *

    - * AttributeValueList can contain only one AttributeValue - * element of type String, Number, or Binary (not a set type). If the target - * attribute of the comparison is a String, then the operator checks for the - * absence of a substring match. If the target attribute of the comparison is - * Binary, then the operator checks for the absence of a subsequence of the target - * that matches the input. If the target attribute of the comparison is a set - * ("SS", "NS", or "BS"), then the - * operator evaluates to true if it does not find an exact - * match with any member of the set.

    - *

    NOT_CONTAINS is supported for lists: When evaluating "a NOT CONTAINS - * b", "a" can be a list; however, "b" cannot - * be a set, a map, or a list.

    - *
  • - *
  • - *

    - * BEGINS_WITH : Checks for a prefix.

    - *

    - * AttributeValueList can contain only one AttributeValue - * of type String or Binary (not a Number or a set type). The target attribute of - * the comparison must be of type String or Binary (not a Number or a set - * type).

    - *

    - *
  • - *
  • - *

    - * IN : Checks for matching elements in a list.

    - *

    - * AttributeValueList can contain one or more - * AttributeValue elements of type String, Number, or Binary. - * These attributes are compared against an existing attribute of an item. If any - * elements of the input are equal to the item attribute, the expression evaluates - * to true.

    - *
  • - *
  • - *

    - * BETWEEN : Greater than or equal to the first value, and less than - * or equal to the second value.

    - *

    - * AttributeValueList must contain two AttributeValue - * elements of the same type, either String, Number, or Binary (not a set type). A - * target attribute matches if the target value is greater than, or equal to, the - * first element and less than, or equal to, the second element. If an item - * contains an AttributeValue element of a different type than the one - * provided in the request, the value does not match. For example, - * \{"S":"6"\} does not compare to \{"N":"6"\}. Also, - * \{"N":"6"\} does not compare to \{"NS":["6", "2", - * "1"]\} - *

    - *
  • - *
- *

For usage examples of AttributeValueList and - * ComparisonOperator, see Legacy - * Conditional Parameters in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ComparisonOperator: ComparisonOperator | undefined; -} -/** - *

Represents a request to perform a DeleteItem operation on an item.

- * @public - */ -export interface DeleteRequest { - /** - *

A map of attribute name to attribute values, representing the primary key of the item - * to delete. All of the table's primary key attributes must be specified, and their data - * types must match those of the table's key schema.

- * @public - */ - Key: Record | undefined; -} -/** - * @public - */ -export interface ExecuteStatementInput { - /** - *

The PartiQL statement representing the operation to run.

- * @public - */ - Statement: string | undefined; - /** - *

The parameters for the PartiQL statement, if any.

- * @public - */ - Parameters?: AttributeValue[] | undefined; - /** - *

The consistency of a read operation. If set to true, then a strongly - * consistent read is used; otherwise, an eventually consistent read is used.

- * @public - */ - ConsistentRead?: boolean | undefined; - /** - *

Set this value to get remaining results, if NextToken was returned in the - * statement response.

- * @public - */ - NextToken?: string | undefined; - /** - *

Determines the level of detail about either provisioned or on-demand throughput - * consumption that is returned in the response:

- *
    - *
  • - *

    - * INDEXES - The response includes the aggregate - * ConsumedCapacity for the operation, together with - * ConsumedCapacity for each table and secondary index that was - * accessed.

    - *

    Note that some operations, such as GetItem and - * BatchGetItem, do not access any indexes at all. In these cases, - * specifying INDEXES will only return ConsumedCapacity - * information for table(s).

    - *
  • - *
  • - *

    - * TOTAL - The response includes only the aggregate - * ConsumedCapacity for the operation.

    - *
  • - *
  • - *

    - * NONE - No ConsumedCapacity details are included in the - * response.

    - *
  • - *
- * @public - */ - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - /** - *

The maximum number of items to evaluate (not necessarily the number of matching - * items). If DynamoDB processes the number of items up to the limit while processing the - * results, it stops the operation and returns the matching values up to that point, along - * with a key in LastEvaluatedKey to apply in a subsequent operation so you - * can pick up where you left off. Also, if the processed dataset size exceeds 1 MB before - * DynamoDB reaches this limit, it stops the operation and returns the matching values up - * to the limit, and a key in LastEvaluatedKey to apply in a subsequent - * operation to continue the operation.

- * @public - */ - Limit?: number | undefined; - /** - *

An optional parameter that returns the item attributes for an - * ExecuteStatement operation that failed a condition check.

- *

There is no additional cost associated with requesting a return value aside from the - * small network and processing overhead of receiving a larger response. No read capacity - * units are consumed.

- * @public - */ - ReturnValuesOnConditionCheckFailure?: ReturnValuesOnConditionCheckFailure | undefined; -} -/** - *

Specifies an item and related attribute values to retrieve in a - * TransactGetItem object.

- * @public - */ -export interface Get { - /** - *

A map of attribute names to AttributeValue objects that specifies the - * primary key of the item to retrieve.

- * @public - */ - Key: Record | undefined; - /** - *

The name of the table from which to retrieve the specified item. You can also provide - * the Amazon Resource Name (ARN) of the table in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

A string that identifies one or more attributes of the specified item to retrieve from - * the table. The attributes in the expression must be separated by commas. If no attribute - * names are specified, then all attributes of the specified item are returned. If any of - * the requested attributes are not found, they do not appear in the result.

- * @public - */ - ProjectionExpression?: string | undefined; - /** - *

One or more substitution tokens for attribute names in the ProjectionExpression - * parameter.

- * @public - */ - ExpressionAttributeNames?: Record | undefined; -} -/** - *

Represents the input of a GetItem operation.

- * @public - */ -export interface GetItemInput { - /** - *

The name of the table containing the requested item. You can also provide the - * Amazon Resource Name (ARN) of the table in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

A map of attribute names to AttributeValue objects, representing the - * primary key of the item to retrieve.

- *

For the primary key, you must provide all of the attributes. For example, with a - * simple primary key, you only need to provide a value for the partition key. For a - * composite primary key, you must provide values for both the partition key and the sort - * key.

- * @public - */ - Key: Record | undefined; - /** - *

This is a legacy parameter. Use ProjectionExpression instead. For more - * information, see AttributesToGet in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - AttributesToGet?: string[] | undefined; - /** - *

Determines the read consistency model: If set to true, then the operation - * uses strongly consistent reads; otherwise, the operation uses eventually consistent - * reads.

- * @public - */ - ConsistentRead?: boolean | undefined; - /** - *

Determines the level of detail about either provisioned or on-demand throughput - * consumption that is returned in the response:

- *
    - *
  • - *

    - * INDEXES - The response includes the aggregate - * ConsumedCapacity for the operation, together with - * ConsumedCapacity for each table and secondary index that was - * accessed.

    - *

    Note that some operations, such as GetItem and - * BatchGetItem, do not access any indexes at all. In these cases, - * specifying INDEXES will only return ConsumedCapacity - * information for table(s).

    - *
  • - *
  • - *

    - * TOTAL - The response includes only the aggregate - * ConsumedCapacity for the operation.

    - *
  • - *
  • - *

    - * NONE - No ConsumedCapacity details are included in the - * response.

    - *
  • - *
- * @public - */ - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - /** - *

A string that identifies one or more attributes to retrieve from the table. These - * attributes can include scalars, sets, or elements of a JSON document. The attributes in - * the expression must be separated by commas.

- *

If no attribute names are specified, then all attributes are returned. If any of the - * requested attributes are not found, they do not appear in the result.

- *

For more information, see Specifying Item Attributes in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ProjectionExpression?: string | undefined; - /** - *

One or more substitution tokens for attribute names in an expression. The following - * are some use cases for using ExpressionAttributeNames:

- *
    - *
  • - *

    To access an attribute whose name conflicts with a DynamoDB reserved - * word.

    - *
  • - *
  • - *

    To create a placeholder for repeating occurrences of an attribute name in an - * expression.

    - *
  • - *
  • - *

    To prevent special characters in an attribute name from being misinterpreted - * in an expression.

    - *
  • - *
- *

Use the # character in an expression to dereference - * an attribute name. For example, consider the following attribute name:

- *
    - *
  • - *

    - * Percentile - *

    - *
  • - *
- *

The name of this attribute conflicts with a reserved word, so it cannot be used - * directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer - * Guide). To work around this, you could specify the following for - * ExpressionAttributeNames:

- *
    - *
  • - *

    - * \{"#P":"Percentile"\} - *

    - *
  • - *
- *

You could then use this substitution in an expression, as in this example:

- *
    - *
  • - *

    - * #P = :val - *

    - *
  • - *
- * - *

Tokens that begin with the : character are - * expression attribute values, which are placeholders for the - * actual value at runtime.

- *
- *

For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ExpressionAttributeNames?: Record | undefined; -} -/** - *

Represents the output of a GetItem operation.

- * @public - */ -export interface GetItemOutput { - /** - *

A map of attribute names to AttributeValue objects, as specified by - * ProjectionExpression.

- * @public - */ - Item?: Record | undefined; - /** - *

The capacity units consumed by the GetItem operation. The data returned - * includes the total provisioned throughput consumed, along with statistics for the table - * and any indexes involved in the operation. ConsumedCapacity is only - * returned if the ReturnConsumedCapacity parameter was specified. For more - * information, see Capacity unit consumption for read operations in the Amazon - * DynamoDB Developer Guide.

- * @public - */ - ConsumedCapacity?: ConsumedCapacity | undefined; -} -/** - *

Information about item collections, if any, that were affected by the operation. - * ItemCollectionMetrics is only returned if the request asked for it. If - * the table does not have any local secondary indexes, this information is not returned in - * the response.

- * @public - */ -export interface ItemCollectionMetrics { - /** - *

The partition key value of the item collection. This value is the same as the - * partition key value of the item.

- * @public - */ - ItemCollectionKey?: Record | undefined; - /** - *

An estimate of item collection size, in gigabytes. This value is a two-element array - * containing a lower bound and an upper bound for the estimate. The estimate includes the - * size of all the items in the table, plus the size of all attributes projected into all - * of the local secondary indexes on that table. Use this estimate to measure whether a - * local secondary index is approaching its size limit.

- *

The estimate is subject to change over time; therefore, do not rely on the precision - * or accuracy of the estimate.

- * @public - */ - SizeEstimateRangeGB?: number[] | undefined; -} -/** - *

Details for the requested item.

- * @public - */ -export interface ItemResponse { - /** - *

Map of attribute data consisting of the data type and attribute value.

- * @public - */ - Item?: Record | undefined; -} -/** - *

Represents a PartiQL statement that uses parameters.

- * @public - */ -export interface ParameterizedStatement { - /** - *

A PartiQL statement that uses parameters.

- * @public - */ - Statement: string | undefined; - /** - *

The parameter values.

- * @public - */ - Parameters?: AttributeValue[] | undefined; - /** - *

An optional parameter that returns the item attributes for a PartiQL - * ParameterizedStatement operation that failed a condition check.

- *

There is no additional cost associated with requesting a return value aside from the - * small network and processing overhead of receiving a larger response. No read capacity - * units are consumed.

- * @public - */ - ReturnValuesOnConditionCheckFailure?: ReturnValuesOnConditionCheckFailure | undefined; -} -/** - *

Represents a request to perform a PutItem operation on an item.

- * @public - */ -export interface PutRequest { - /** - *

A map of attribute name to attribute values, representing the primary key of an item - * to be processed by PutItem. All of the table's primary key attributes must - * be specified, and their data types must match those of the table's key schema. If any - * attributes are present in the item that are part of an index key schema for the table, - * their types must match the index key schema.

- * @public - */ - Item: Record | undefined; -} -/** - *

Represents a set of primary keys and, for each key, the attributes to retrieve from - * the table.

- *

For each primary key, you must provide all of the key attributes. - * For example, with a simple primary key, you only need to provide the partition key. For - * a composite primary key, you must provide both the partition key - * and the sort key.

- * @public - */ -export interface KeysAndAttributes { - /** - *

The primary key attribute values that define the items and the attributes associated - * with the items.

- * @public - */ - Keys: Record[] | undefined; - /** - *

This is a legacy parameter. Use ProjectionExpression instead. For more - * information, see Legacy - * Conditional Parameters in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - AttributesToGet?: string[] | undefined; - /** - *

The consistency of a read operation. If set to true, then a strongly - * consistent read is used; otherwise, an eventually consistent read is used.

- * @public - */ - ConsistentRead?: boolean | undefined; - /** - *

A string that identifies one or more attributes to retrieve from the table. These - * attributes can include scalars, sets, or elements of a JSON document. The attributes in - * the ProjectionExpression must be separated by commas.

- *

If no attribute names are specified, then all attributes will be returned. If any of - * the requested attributes are not found, they will not appear in the result.

- *

For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ProjectionExpression?: string | undefined; - /** - *

One or more substitution tokens for attribute names in an expression. The following - * are some use cases for using ExpressionAttributeNames:

- *
    - *
  • - *

    To access an attribute whose name conflicts with a DynamoDB reserved - * word.

    - *
  • - *
  • - *

    To create a placeholder for repeating occurrences of an attribute name in an - * expression.

    - *
  • - *
  • - *

    To prevent special characters in an attribute name from being misinterpreted - * in an expression.

    - *
  • - *
- *

Use the # character in an expression to dereference - * an attribute name. For example, consider the following attribute name:

- *
    - *
  • - *

    - * Percentile - *

    - *
  • - *
- *

The name of this attribute conflicts with a reserved word, so it cannot be used - * directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer - * Guide). To work around this, you could specify the following for - * ExpressionAttributeNames:

- *
    - *
  • - *

    - * \{"#P":"Percentile"\} - *

    - *
  • - *
- *

You could then use this substitution in an expression, as in this example:

- *
    - *
  • - *

    - * #P = :val - *

    - *
  • - *
- * - *

Tokens that begin with the : character are - * expression attribute values, which are placeholders for the - * actual value at runtime.

- *
- *

For more information on expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ExpressionAttributeNames?: Record | undefined; -} -/** - *

Specifies an item to be retrieved as part of the transaction.

- * @public - */ -export interface TransactGetItem { - /** - *

Contains the primary key that identifies the item to get, together with the name of - * the table that contains the item, and optionally the specific attributes of the item to - * retrieve.

- * @public - */ - Get: Get | undefined; -} -/** - * @public - */ -export interface BatchExecuteStatementInput { - /** - *

The list of PartiQL statements representing the batch to run.

- * @public - */ - Statements: BatchStatementRequest[] | undefined; - /** - *

Determines the level of detail about either provisioned or on-demand throughput - * consumption that is returned in the response:

- *
    - *
  • - *

    - * INDEXES - The response includes the aggregate - * ConsumedCapacity for the operation, together with - * ConsumedCapacity for each table and secondary index that was - * accessed.

    - *

    Note that some operations, such as GetItem and - * BatchGetItem, do not access any indexes at all. In these cases, - * specifying INDEXES will only return ConsumedCapacity - * information for table(s).

    - *
  • - *
  • - *

    - * TOTAL - The response includes only the aggregate - * ConsumedCapacity for the operation.

    - *
  • - *
  • - *

    - * NONE - No ConsumedCapacity details are included in the - * response.

    - *
  • - *
- * @public - */ - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; -} -/** - * @public - */ -export interface ExecuteTransactionInput { - /** - *

The list of PartiQL statements representing the transaction to run.

- * @public - */ - TransactStatements: ParameterizedStatement[] | undefined; - /** - *

Set this value to get remaining results, if NextToken was returned in the - * statement response.

- * @public - */ - ClientRequestToken?: string | undefined; - /** - *

Determines the level of detail about either provisioned or on-demand throughput - * consumption that is returned in the response. For more information, see TransactGetItems and TransactWriteItems.

- * @public - */ - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; -} -/** - * @public - */ -export interface ExecuteTransactionOutput { - /** - *

The response to a PartiQL transaction.

- * @public - */ - Responses?: ItemResponse[] | undefined; - /** - *

The capacity units consumed by the entire operation. The values of the list are - * ordered according to the ordering of the statements.

- * @public - */ - ConsumedCapacity?: ConsumedCapacity[] | undefined; -} -/** - * @public - */ -export interface TransactGetItemsOutput { - /** - *

If the ReturnConsumedCapacity value was TOTAL, this - * is an array of ConsumedCapacity objects, one for each table addressed by - * TransactGetItem objects in the TransactItems - * parameter. These ConsumedCapacity objects report the read-capacity units - * consumed by the TransactGetItems call in that table.

- * @public - */ - ConsumedCapacity?: ConsumedCapacity[] | undefined; - /** - *

An ordered array of up to 100 ItemResponse objects, each of which - * corresponds to the TransactGetItem object in the same position in the - * TransactItems array. Each ItemResponse object - * contains a Map of the name-value pairs that are the projected attributes of the - * requested item.

- *

If a requested item could not be retrieved, the corresponding - * ItemResponse object is Null, or if the requested item has no projected - * attributes, the corresponding ItemResponse object is an empty Map.

- * @public - */ - Responses?: ItemResponse[] | undefined; -} -/** - *

Represents the input of a BatchGetItem operation.

- * @public - */ -export interface BatchGetItemInput { - /** - *

A map of one or more table names or table ARNs and, for each table, a map that - * describes one or more items to retrieve from that table. Each table name or ARN can be - * used only once per BatchGetItem request.

- *

Each element in the map of items to retrieve consists of the following:

- *
    - *
  • - *

    - * ConsistentRead - If true, a strongly consistent read - * is used; if false (the default), an eventually consistent read is - * used.

    - *
  • - *
  • - *

    - * ExpressionAttributeNames - One or more substitution tokens for - * attribute names in the ProjectionExpression parameter. The - * following are some use cases for using - * ExpressionAttributeNames:

    - *
      - *
    • - *

      To access an attribute whose name conflicts with a DynamoDB reserved - * word.

      - *
    • - *
    • - *

      To create a placeholder for repeating occurrences of an attribute name - * in an expression.

      - *
    • - *
    • - *

      To prevent special characters in an attribute name from being - * misinterpreted in an expression.

      - *
    • - *
    - *

    Use the # character in an expression to - * dereference an attribute name. For example, consider the following attribute - * name:

    - *
      - *
    • - *

      - * Percentile - *

      - *
    • - *
    - *

    The name of this attribute conflicts with a reserved word, so it cannot be - * used directly in an expression. (For the complete list of reserved words, see - * Reserved - * Words in the Amazon DynamoDB Developer Guide). - * To work around this, you could specify the following for - * ExpressionAttributeNames:

    - *
      - *
    • - *

      - * \{"#P":"Percentile"\} - *

      - *
    • - *
    - *

    You could then use this substitution in an expression, as in this - * example:

    - *
      - *
    • - *

      - * #P = :val - *

      - *
    • - *
    - * - *

    Tokens that begin with the : character - * are expression attribute values, which are placeholders - * for the actual value at runtime.

    - *
    - *

    For more information about expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB - * Developer Guide.

    - *
  • - *
  • - *

    - * Keys - An array of primary key attribute values that define - * specific items in the table. For each primary key, you must provide - * all of the key attributes. For example, with a simple - * primary key, you only need to provide the partition key value. For a composite - * key, you must provide both the partition key value and the - * sort key value.

    - *
  • - *
  • - *

    - * ProjectionExpression - A string that identifies one or more - * attributes to retrieve from the table. These attributes can include scalars, - * sets, or elements of a JSON document. The attributes in the expression must be - * separated by commas.

    - *

    If no attribute names are specified, then all attributes are returned. If any - * of the requested attributes are not found, they do not appear in the - * result.

    - *

    For more information, see Accessing Item Attributes in the Amazon DynamoDB - * Developer Guide.

    - *
  • - *
  • - *

    - * AttributesToGet - This is a legacy parameter. Use - * ProjectionExpression instead. For more information, see AttributesToGet in the Amazon DynamoDB Developer - * Guide.

    - *
  • - *
- * @public - */ - RequestItems: Record | undefined; - /** - *

Determines the level of detail about either provisioned or on-demand throughput - * consumption that is returned in the response:

- *
    - *
  • - *

    - * INDEXES - The response includes the aggregate - * ConsumedCapacity for the operation, together with - * ConsumedCapacity for each table and secondary index that was - * accessed.

    - *

    Note that some operations, such as GetItem and - * BatchGetItem, do not access any indexes at all. In these cases, - * specifying INDEXES will only return ConsumedCapacity - * information for table(s).

    - *
  • - *
  • - *

    - * TOTAL - The response includes only the aggregate - * ConsumedCapacity for the operation.

    - *
  • - *
  • - *

    - * NONE - No ConsumedCapacity details are included in the - * response.

    - *
  • - *
- * @public - */ - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; -} -/** - *

Represents a condition to be compared with an attribute value. This condition can be - * used with DeleteItem, PutItem, or UpdateItem - * operations; if the comparison evaluates to true, the operation succeeds; if not, the - * operation fails. You can use ExpectedAttributeValue in one of two different - * ways:

- *
    - *
  • - *

    Use AttributeValueList to specify one or more values to compare - * against an attribute. Use ComparisonOperator to specify how you - * want to perform the comparison. If the comparison evaluates to true, then the - * conditional operation succeeds.

    - *
  • - *
  • - *

    Use Value to specify a value that DynamoDB will compare against - * an attribute. If the values match, then ExpectedAttributeValue - * evaluates to true and the conditional operation succeeds. Optionally, you can - * also set Exists to false, indicating that you do - * not expect to find the attribute value in the table. In this - * case, the conditional operation succeeds only if the comparison evaluates to - * false.

    - *
  • - *
- *

- * Value and Exists are incompatible with - * AttributeValueList and ComparisonOperator. Note that if - * you use both sets of parameters at once, DynamoDB will return a - * ValidationException exception.

- * @public - */ -export interface ExpectedAttributeValue { - /** - *

Represents the data for the expected attribute.

- *

Each attribute value is described as a name-value pair. The name is the data type, and - * the value is the data itself.

- *

For more information, see Data Types in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - Value?: AttributeValue | undefined; - /** - *

Causes DynamoDB to evaluate the value before attempting a conditional - * operation:

- *
    - *
  • - *

    If Exists is true, DynamoDB will check to - * see if that attribute value already exists in the table. If it is found, then - * the operation succeeds. If it is not found, the operation fails with a - * ConditionCheckFailedException.

    - *
  • - *
  • - *

    If Exists is false, DynamoDB assumes that - * the attribute value does not exist in the table. If in fact the value does not - * exist, then the assumption is valid and the operation succeeds. If the value is - * found, despite the assumption that it does not exist, the operation fails with a - * ConditionCheckFailedException.

    - *
  • - *
- *

The default setting for Exists is true. If you supply a - * Value all by itself, DynamoDB assumes the attribute exists: - * You don't have to set Exists to true, because it is - * implied.

- *

DynamoDB returns a ValidationException if:

- *
    - *
  • - *

    - * Exists is true but there is no Value to - * check. (You expect a value to exist, but don't specify what that value - * is.)

    - *
  • - *
  • - *

    - * Exists is false but you also provide a - * Value. (You cannot expect an attribute to have a value, while - * also expecting it not to exist.)

    - *
  • - *
- * @public - */ - Exists?: boolean | undefined; - /** - *

A comparator for evaluating attributes in the AttributeValueList. For - * example, equals, greater than, less than, etc.

- *

The following comparison operators are available:

- *

- * EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | - * BEGINS_WITH | IN | BETWEEN - *

- *

The following are descriptions of each comparison operator.

- *
    - *
  • - *

    - * EQ : Equal. EQ is supported for all data types, - * including lists and maps.

    - *

    - * AttributeValueList can contain only one AttributeValue - * element of type String, Number, Binary, String Set, Number Set, or Binary Set. - * If an item contains an AttributeValue element of a different type - * than the one provided in the request, the value does not match. For example, - * \{"S":"6"\} does not equal \{"N":"6"\}. Also, - * \{"N":"6"\} does not equal \{"NS":["6", "2", - * "1"]\}.

    - *

    - *
  • - *
  • - *

    - * NE : Not equal. NE is supported for all data types, - * including lists and maps.

    - *

    - * AttributeValueList can contain only one AttributeValue - * of type String, Number, Binary, String Set, Number Set, or Binary Set. If an - * item contains an AttributeValue of a different type than the one - * provided in the request, the value does not match. For example, - * \{"S":"6"\} does not equal \{"N":"6"\}. Also, - * \{"N":"6"\} does not equal \{"NS":["6", "2", - * "1"]\}.

    - *

    - *
  • - *
  • - *

    - * LE : Less than or equal.

    - *

    - * AttributeValueList can contain only one AttributeValue - * element of type String, Number, or Binary (not a set type). If an item contains - * an AttributeValue element of a different type than the one provided - * in the request, the value does not match. For example, \{"S":"6"\} - * does not equal \{"N":"6"\}. Also, \{"N":"6"\} does not - * compare to \{"NS":["6", "2", "1"]\}.

    - *

    - *
  • - *
  • - *

    - * LT : Less than.

    - *

    - * AttributeValueList can contain only one AttributeValue - * of type String, Number, or Binary (not a set type). If an item contains an - * AttributeValue element of a different type than the one - * provided in the request, the value does not match. For example, - * \{"S":"6"\} does not equal \{"N":"6"\}. Also, - * \{"N":"6"\} does not compare to \{"NS":["6", "2", - * "1"]\}.

    - *

    - *
  • - *
  • - *

    - * GE : Greater than or equal.

    - *

    - * AttributeValueList can contain only one AttributeValue - * element of type String, Number, or Binary (not a set type). If an item contains - * an AttributeValue element of a different type than the one provided - * in the request, the value does not match. For example, \{"S":"6"\} - * does not equal \{"N":"6"\}. Also, \{"N":"6"\} does not - * compare to \{"NS":["6", "2", "1"]\}.

    - *

    - *
  • - *
  • - *

    - * GT : Greater than.

    - *

    - * AttributeValueList can contain only one AttributeValue - * element of type String, Number, or Binary (not a set type). If an item contains - * an AttributeValue element of a different type than the one provided - * in the request, the value does not match. For example, \{"S":"6"\} - * does not equal \{"N":"6"\}. Also, \{"N":"6"\} does not - * compare to \{"NS":["6", "2", "1"]\}.

    - *

    - *
  • - *
  • - *

    - * NOT_NULL : The attribute exists. NOT_NULL is supported - * for all data types, including lists and maps.

    - * - *

    This operator tests for the existence of an attribute, not its data type. - * If the data type of attribute "a" is null, and you evaluate it - * using NOT_NULL, the result is a Boolean true. This - * result is because the attribute "a" exists; its data type is - * not relevant to the NOT_NULL comparison operator.

    - *
    - *
  • - *
  • - *

    - * NULL : The attribute does not exist. NULL is supported - * for all data types, including lists and maps.

    - * - *

    This operator tests for the nonexistence of an attribute, not its data - * type. If the data type of attribute "a" is null, and you - * evaluate it using NULL, the result is a Boolean - * false. This is because the attribute "a" - * exists; its data type is not relevant to the NULL comparison - * operator.

    - *
    - *
  • - *
  • - *

    - * CONTAINS : Checks for a subsequence, or value in a set.

    - *

    - * AttributeValueList can contain only one AttributeValue - * element of type String, Number, or Binary (not a set type). If the target - * attribute of the comparison is of type String, then the operator checks for a - * substring match. If the target attribute of the comparison is of type Binary, - * then the operator looks for a subsequence of the target that matches the input. - * If the target attribute of the comparison is a set ("SS", - * "NS", or "BS"), then the operator evaluates to - * true if it finds an exact match with any member of the set.

    - *

    CONTAINS is supported for lists: When evaluating "a CONTAINS b", - * "a" can be a list; however, "b" cannot be a set, a - * map, or a list.

    - *
  • - *
  • - *

    - * NOT_CONTAINS : Checks for absence of a subsequence, or absence of a - * value in a set.

    - *

    - * AttributeValueList can contain only one AttributeValue - * element of type String, Number, or Binary (not a set type). If the target - * attribute of the comparison is a String, then the operator checks for the - * absence of a substring match. If the target attribute of the comparison is - * Binary, then the operator checks for the absence of a subsequence of the target - * that matches the input. If the target attribute of the comparison is a set - * ("SS", "NS", or "BS"), then the - * operator evaluates to true if it does not find an exact - * match with any member of the set.

    - *

    NOT_CONTAINS is supported for lists: When evaluating "a NOT CONTAINS - * b", "a" can be a list; however, "b" cannot - * be a set, a map, or a list.

    - *
  • - *
  • - *

    - * BEGINS_WITH : Checks for a prefix.

    - *

    - * AttributeValueList can contain only one AttributeValue - * of type String or Binary (not a Number or a set type). The target attribute of - * the comparison must be of type String or Binary (not a Number or a set - * type).

    - *

    - *
  • - *
  • - *

    - * IN : Checks for matching elements in a list.

    - *

    - * AttributeValueList can contain one or more - * AttributeValue elements of type String, Number, or Binary. - * These attributes are compared against an existing attribute of an item. If any - * elements of the input are equal to the item attribute, the expression evaluates - * to true.

    - *
  • - *
  • - *

    - * BETWEEN : Greater than or equal to the first value, and less than - * or equal to the second value.

    - *

    - * AttributeValueList must contain two AttributeValue - * elements of the same type, either String, Number, or Binary (not a set type). A - * target attribute matches if the target value is greater than, or equal to, the - * first element and less than, or equal to, the second element. If an item - * contains an AttributeValue element of a different type than the one - * provided in the request, the value does not match. For example, - * \{"S":"6"\} does not compare to \{"N":"6"\}. Also, - * \{"N":"6"\} does not compare to \{"NS":["6", "2", - * "1"]\} - *

    - *
  • - *
- * @public - */ - ComparisonOperator?: ComparisonOperator | undefined; - /** - *

One or more values to evaluate against the supplied attribute. The number of values in - * the list depends on the ComparisonOperator being used.

- *

For type Number, value comparisons are numeric.

- *

String value comparisons for greater than, equals, or less than are based on ASCII - * character code values. For example, a is greater than A, and - * a is greater than B. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.

- *

For Binary, DynamoDB treats each byte of the binary data as unsigned when it - * compares binary values.

- *

For information on specifying data types in JSON, see JSON Data Format - * in the Amazon DynamoDB Developer Guide.

- * @public - */ - AttributeValueList?: AttributeValue[] | undefined; -} -/** - * @public - */ -export interface TransactGetItemsInput { - /** - *

An ordered array of up to 100 TransactGetItem objects, each of which - * contains a Get structure.

- * @public - */ - TransactItems: TransactGetItem[] | undefined; - /** - *

A value of TOTAL causes consumed capacity information to be returned, and - * a value of NONE prevents that information from being returned. No other - * value is valid.

- * @public - */ - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; -} -/** - * @public - */ -export interface TransactWriteItemsOutput { - /** - *

The capacity units consumed by the entire TransactWriteItems operation. - * The values of the list are ordered according to the ordering of the - * TransactItems request parameter.

- * @public - */ - ConsumedCapacity?: ConsumedCapacity[] | undefined; - /** - *

A list of tables that were processed by TransactWriteItems and, for each - * table, information about any item collections that were affected by individual - * UpdateItem, PutItem, or DeleteItem - * operations.

- * @public - */ - ItemCollectionMetrics?: Record | undefined; -} -/** - *

Represents a request to perform a check that an item exists or to check the condition - * of specific attributes of the item.

- * @public - */ -export interface ConditionCheck { - /** - *

The primary key of the item to be checked. Each element consists of an attribute name - * and a value for that attribute.

- * @public - */ - Key: Record | undefined; - /** - *

Name of the table for the check item request. You can also provide the Amazon Resource Name (ARN) of - * the table in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

A condition that must be satisfied in order for a conditional update to succeed. For - * more information, see Condition expressions in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ConditionExpression: string | undefined; - /** - *

One or more substitution tokens for attribute names in an expression. For more - * information, see Expression attribute names in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ExpressionAttributeNames?: Record | undefined; - /** - *

One or more values that can be substituted in an expression. For more information, see - * Condition expressions in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ExpressionAttributeValues?: Record | undefined; - /** - *

Use ReturnValuesOnConditionCheckFailure to get the item attributes if the - * ConditionCheck condition fails. For - * ReturnValuesOnConditionCheckFailure, the valid values are: NONE and - * ALL_OLD.

- * @public - */ - ReturnValuesOnConditionCheckFailure?: ReturnValuesOnConditionCheckFailure | undefined; -} -/** - *

Represents a request to perform a DeleteItem operation.

- * @public - */ -export interface Delete { - /** - *

The primary key of the item to be deleted. Each element consists of an attribute name - * and a value for that attribute.

- * @public - */ - Key: Record | undefined; - /** - *

Name of the table in which the item to be deleted resides. You can also provide the - * Amazon Resource Name (ARN) of the table in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

A condition that must be satisfied in order for a conditional delete to - * succeed.

- * @public - */ - ConditionExpression?: string | undefined; - /** - *

One or more substitution tokens for attribute names in an expression.

- * @public - */ - ExpressionAttributeNames?: Record | undefined; - /** - *

One or more values that can be substituted in an expression.

- * @public - */ - ExpressionAttributeValues?: Record | undefined; - /** - *

Use ReturnValuesOnConditionCheckFailure to get the item attributes if the - * Delete condition fails. For - * ReturnValuesOnConditionCheckFailure, the valid values are: NONE and - * ALL_OLD.

- * @public - */ - ReturnValuesOnConditionCheckFailure?: ReturnValuesOnConditionCheckFailure | undefined; -} -/** - *

Represents a request to perform a PutItem operation.

- * @public - */ -export interface Put { - /** - *

A map of attribute name to attribute values, representing the primary key of the item - * to be written by PutItem. All of the table's primary key attributes must be - * specified, and their data types must match those of the table's key schema. If any - * attributes are present in the item that are part of an index key schema for the table, - * their types must match the index key schema.

- * @public - */ - Item: Record | undefined; - /** - *

Name of the table in which to write the item. You can also provide the Amazon Resource Name (ARN) of - * the table in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

A condition that must be satisfied in order for a conditional update to - * succeed.

- * @public - */ - ConditionExpression?: string | undefined; - /** - *

One or more substitution tokens for attribute names in an expression.

- * @public - */ - ExpressionAttributeNames?: Record | undefined; - /** - *

One or more values that can be substituted in an expression.

- * @public - */ - ExpressionAttributeValues?: Record | undefined; - /** - *

Use ReturnValuesOnConditionCheckFailure to get the item attributes if the - * Put condition fails. For - * ReturnValuesOnConditionCheckFailure, the valid values are: NONE and - * ALL_OLD.

- * @public - */ - ReturnValuesOnConditionCheckFailure?: ReturnValuesOnConditionCheckFailure | undefined; -} -/** - *

Represents a request to perform an UpdateItem operation.

- * @public - */ -export interface Update { - /** - *

The primary key of the item to be updated. Each element consists of an attribute name - * and a value for that attribute.

- * @public - */ - Key: Record | undefined; - /** - *

An expression that defines one or more attributes to be updated, the action to be - * performed on them, and new value(s) for them.

- * @public - */ - UpdateExpression: string | undefined; - /** - *

Name of the table for the UpdateItem request. You can also provide the - * Amazon Resource Name (ARN) of the table in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

A condition that must be satisfied in order for a conditional update to - * succeed.

- * @public - */ - ConditionExpression?: string | undefined; - /** - *

One or more substitution tokens for attribute names in an expression.

- * @public - */ - ExpressionAttributeNames?: Record | undefined; - /** - *

One or more values that can be substituted in an expression.

- * @public - */ - ExpressionAttributeValues?: Record | undefined; - /** - *

Use ReturnValuesOnConditionCheckFailure to get the item attributes if the - * Update condition fails. For - * ReturnValuesOnConditionCheckFailure, the valid values are: NONE and - * ALL_OLD.

- * @public - */ - ReturnValuesOnConditionCheckFailure?: ReturnValuesOnConditionCheckFailure | undefined; -} -/** - *

A PartiQL batch statement response..

- * @public - */ -export interface BatchStatementResponse { - /** - *

The error associated with a failed PartiQL batch statement.

- * @public - */ - Error?: BatchStatementError | undefined; - /** - *

The table name associated with a failed PartiQL batch statement.

- * @public - */ - TableName?: string | undefined; - /** - *

A DynamoDB item associated with a BatchStatementResponse

- * @public - */ - Item?: Record | undefined; -} -/** - *

Represents the output of a DeleteItem operation.

- * @public - */ -export interface DeleteItemOutput { - /** - *

A map of attribute names to AttributeValue objects, representing the item - * as it appeared before the DeleteItem operation. This map appears in the - * response only if ReturnValues was specified as ALL_OLD in the - * request.

- * @public - */ - Attributes?: Record | undefined; - /** - *

The capacity units consumed by the DeleteItem operation. The data - * returned includes the total provisioned throughput consumed, along with statistics for - * the table and any indexes involved in the operation. ConsumedCapacity is - * only returned if the ReturnConsumedCapacity parameter was specified. For - * more information, see Provisioned capacity mode in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ConsumedCapacity?: ConsumedCapacity | undefined; - /** - *

Information about item collections, if any, that were affected by the - * DeleteItem operation. ItemCollectionMetrics is only - * returned if the ReturnItemCollectionMetrics parameter was specified. If the - * table does not have any local secondary indexes, this information is not returned in the - * response.

- *

Each ItemCollectionMetrics element consists of:

- *
    - *
  • - *

    - * ItemCollectionKey - The partition key value of the item collection. - * This is the same as the partition key value of the item itself.

    - *
  • - *
  • - *

    - * SizeEstimateRangeGB - An estimate of item collection size, in - * gigabytes. This value is a two-element array containing a lower bound and an - * upper bound for the estimate. The estimate includes the size of all the items in - * the table, plus the size of all attributes projected into all of the local - * secondary indexes on that table. Use this estimate to measure whether a local - * secondary index is approaching its size limit.

    - *

    The estimate is subject to change over time; therefore, do not rely on the - * precision or accuracy of the estimate.

    - *
  • - *
- * @public - */ - ItemCollectionMetrics?: ItemCollectionMetrics | undefined; -} -/** - * @public - */ -export interface ExecuteStatementOutput { - /** - *

If a read operation was used, this property will contain the result of the read - * operation; a map of attribute names and their values. For the write operations this - * value will be empty.

- * @public - */ - Items?: Record[] | undefined; - /** - *

If the response of a read request exceeds the response payload limit DynamoDB will set - * this value in the response. If set, you can use that this value in the subsequent - * request to get the remaining results.

- * @public - */ - NextToken?: string | undefined; - /** - *

The capacity units consumed by an operation. The data returned includes the total - * provisioned throughput consumed, along with statistics for the table and any indexes - * involved in the operation. ConsumedCapacity is only returned if the request - * asked for it. For more information, see Provisioned capacity mode in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ConsumedCapacity?: ConsumedCapacity | undefined; - /** - *

The primary key of the item where the operation stopped, inclusive of the previous - * result set. Use this value to start a new operation, excluding this value in the new - * request. If LastEvaluatedKey is empty, then the "last page" of results has - * been processed and there is no more data to be retrieved. If - * LastEvaluatedKey is not empty, it does not necessarily mean that there - * is more data in the result set. The only way to know when you have reached the end of - * the result set is when LastEvaluatedKey is empty.

- * @public - */ - LastEvaluatedKey?: Record | undefined; -} -/** - *

Represents the output of a PutItem operation.

- * @public - */ -export interface PutItemOutput { - /** - *

The attribute values as they appeared before the PutItem operation, but - * only if ReturnValues is specified as ALL_OLD in the request. - * Each element consists of an attribute name and an attribute value.

- * @public - */ - Attributes?: Record | undefined; - /** - *

The capacity units consumed by the PutItem operation. The data returned - * includes the total provisioned throughput consumed, along with statistics for the table - * and any indexes involved in the operation. ConsumedCapacity is only - * returned if the ReturnConsumedCapacity parameter was specified. For more - * information, see Capacity unity consumption for write operations in the Amazon - * DynamoDB Developer Guide.

- * @public - */ - ConsumedCapacity?: ConsumedCapacity | undefined; - /** - *

Information about item collections, if any, that were affected by the - * PutItem operation. ItemCollectionMetrics is only returned - * if the ReturnItemCollectionMetrics parameter was specified. If the table - * does not have any local secondary indexes, this information is not returned in the - * response.

- *

Each ItemCollectionMetrics element consists of:

- *
    - *
  • - *

    - * ItemCollectionKey - The partition key value of the item collection. - * This is the same as the partition key value of the item itself.

    - *
  • - *
  • - *

    - * SizeEstimateRangeGB - An estimate of item collection size, in - * gigabytes. This value is a two-element array containing a lower bound and an - * upper bound for the estimate. The estimate includes the size of all the items in - * the table, plus the size of all attributes projected into all of the local - * secondary indexes on that table. Use this estimate to measure whether a local - * secondary index is approaching its size limit.

    - *

    The estimate is subject to change over time; therefore, do not rely on the - * precision or accuracy of the estimate.

    - *
  • - *
- * @public - */ - ItemCollectionMetrics?: ItemCollectionMetrics | undefined; -} -/** - *

Represents the output of a Query operation.

- * @public - */ -export interface QueryOutput { - /** - *

An array of item attributes that match the query criteria. Each element in this array - * consists of an attribute name and the value for that attribute.

- * @public - */ - Items?: Record[] | undefined; - /** - *

The number of items in the response.

- *

If you used a QueryFilter in the request, then Count is the - * number of items returned after the filter was applied, and ScannedCount is - * the number of matching items before the filter was applied.

- *

If you did not use a filter in the request, then Count and - * ScannedCount are the same.

- * @public - */ - Count?: number | undefined; - /** - *

The number of items evaluated, before any QueryFilter is applied. A high - * ScannedCount value with few, or no, Count results - * indicates an inefficient Query operation. For more information, see Count and ScannedCount in the Amazon DynamoDB Developer - * Guide.

- *

If you did not use a filter in the request, then ScannedCount is the same - * as Count.

- * @public - */ - ScannedCount?: number | undefined; - /** - *

The primary key of the item where the operation stopped, inclusive of the previous - * result set. Use this value to start a new operation, excluding this value in the new - * request.

- *

If LastEvaluatedKey is empty, then the "last page" of results has been - * processed and there is no more data to be retrieved.

- *

If LastEvaluatedKey is not empty, it does not necessarily mean that there - * is more data in the result set. The only way to know when you have reached the end of - * the result set is when LastEvaluatedKey is empty.

- * @public - */ - LastEvaluatedKey?: Record | undefined; - /** - *

The capacity units consumed by the Query operation. The data returned - * includes the total provisioned throughput consumed, along with statistics for the table - * and any indexes involved in the operation. ConsumedCapacity is only - * returned if the ReturnConsumedCapacity parameter was specified. For more - * information, see Capacity unit consumption for read operations in the Amazon - * DynamoDB Developer Guide.

- * @public - */ - ConsumedCapacity?: ConsumedCapacity | undefined; -} -/** - *

Represents the output of a Scan operation.

- * @public - */ -export interface ScanOutput { - /** - *

An array of item attributes that match the scan criteria. Each element in this array - * consists of an attribute name and the value for that attribute.

- * @public - */ - Items?: Record[] | undefined; - /** - *

The number of items in the response.

- *

If you set ScanFilter in the request, then Count is the - * number of items returned after the filter was applied, and ScannedCount is - * the number of matching items before the filter was applied.

- *

If you did not use a filter in the request, then Count is the same as - * ScannedCount.

- * @public - */ - Count?: number | undefined; - /** - *

The number of items evaluated, before any ScanFilter is applied. A high - * ScannedCount value with few, or no, Count results - * indicates an inefficient Scan operation. For more information, see Count and - * ScannedCount in the Amazon DynamoDB Developer - * Guide.

- *

If you did not use a filter in the request, then ScannedCount is the same - * as Count.

- * @public - */ - ScannedCount?: number | undefined; - /** - *

The primary key of the item where the operation stopped, inclusive of the previous - * result set. Use this value to start a new operation, excluding this value in the new - * request.

- *

If LastEvaluatedKey is empty, then the "last page" of results has been - * processed and there is no more data to be retrieved.

- *

If LastEvaluatedKey is not empty, it does not necessarily mean that there - * is more data in the result set. The only way to know when you have reached the end of - * the result set is when LastEvaluatedKey is empty.

- * @public - */ - LastEvaluatedKey?: Record | undefined; - /** - *

The capacity units consumed by the Scan operation. The data returned - * includes the total provisioned throughput consumed, along with statistics for the table - * and any indexes involved in the operation. ConsumedCapacity is only - * returned if the ReturnConsumedCapacity parameter was specified. For more - * information, see Capacity unit consumption for read operations in the Amazon - * DynamoDB Developer Guide.

- * @public - */ - ConsumedCapacity?: ConsumedCapacity | undefined; -} -/** - *

Represents the output of an UpdateItem operation.

- * @public - */ -export interface UpdateItemOutput { - /** - *

A map of attribute values as they appear before or after the UpdateItem - * operation, as determined by the ReturnValues parameter.

- *

The Attributes map is only present if the update was successful and - * ReturnValues was specified as something other than NONE in - * the request. Each element represents one attribute.

- * @public - */ - Attributes?: Record | undefined; - /** - *

The capacity units consumed by the UpdateItem operation. The data - * returned includes the total provisioned throughput consumed, along with statistics for - * the table and any indexes involved in the operation. ConsumedCapacity is - * only returned if the ReturnConsumedCapacity parameter was specified. For - * more information, see Capacity unity consumption for write operations in the Amazon - * DynamoDB Developer Guide.

- * @public - */ - ConsumedCapacity?: ConsumedCapacity | undefined; - /** - *

Information about item collections, if any, that were affected by the - * UpdateItem operation. ItemCollectionMetrics is only - * returned if the ReturnItemCollectionMetrics parameter was specified. If the - * table does not have any local secondary indexes, this information is not returned in the - * response.

- *

Each ItemCollectionMetrics element consists of:

- *
    - *
  • - *

    - * ItemCollectionKey - The partition key value of the item collection. - * This is the same as the partition key value of the item itself.

    - *
  • - *
  • - *

    - * SizeEstimateRangeGB - An estimate of item collection size, in - * gigabytes. This value is a two-element array containing a lower bound and an - * upper bound for the estimate. The estimate includes the size of all the items in - * the table, plus the size of all attributes projected into all of the local - * secondary indexes on that table. Use this estimate to measure whether a local - * secondary index is approaching its size limit.

    - *

    The estimate is subject to change over time; therefore, do not rely on the - * precision or accuracy of the estimate.

    - *
  • - *
- * @public - */ - ItemCollectionMetrics?: ItemCollectionMetrics | undefined; -} -/** - *

Represents an operation to perform - either DeleteItem or - * PutItem. You can only request one of these operations, not both, in a - * single WriteRequest. If you do need to perform both of these operations, - * you need to provide two separate WriteRequest objects.

- * @public - */ -export interface WriteRequest { - /** - *

A request to perform a PutItem operation.

- * @public - */ - PutRequest?: PutRequest | undefined; - /** - *

A request to perform a DeleteItem operation.

- * @public - */ - DeleteRequest?: DeleteRequest | undefined; -} -/** - * @public - */ -export interface BatchExecuteStatementOutput { - /** - *

The response to each PartiQL statement in the batch. The values of the list are - * ordered according to the ordering of the request statements.

- * @public - */ - Responses?: BatchStatementResponse[] | undefined; - /** - *

The capacity units consumed by the entire operation. The values of the list are - * ordered according to the ordering of the statements.

- * @public - */ - ConsumedCapacity?: ConsumedCapacity[] | undefined; -} -/** - *

Represents the output of a BatchGetItem operation.

- * @public - */ -export interface BatchGetItemOutput { - /** - *

A map of table name or table ARN to a list of items. Each object in - * Responses consists of a table name or ARN, along with a map of - * attribute data consisting of the data type and attribute value.

- * @public - */ - Responses?: Record[]> | undefined; - /** - *

A map of tables and their respective keys that were not processed with the current - * response. The UnprocessedKeys value is in the same form as - * RequestItems, so the value can be provided directly to a subsequent - * BatchGetItem operation. For more information, see - * RequestItems in the Request Parameters section.

- *

Each element consists of:

- *
    - *
  • - *

    - * Keys - An array of primary key attribute values that define - * specific items in the table.

    - *
  • - *
  • - *

    - * ProjectionExpression - One or more attributes to be retrieved from - * the table or index. By default, all attributes are returned. If a requested - * attribute is not found, it does not appear in the result.

    - *
  • - *
  • - *

    - * ConsistentRead - The consistency of a read operation. If set to - * true, then a strongly consistent read is used; otherwise, an - * eventually consistent read is used.

    - *
  • - *
- *

If there are no unprocessed keys remaining, the response contains an empty - * UnprocessedKeys map.

- * @public - */ - UnprocessedKeys?: Record | undefined; - /** - *

The read capacity units consumed by the entire BatchGetItem - * operation.

- *

Each element consists of:

- *
    - *
  • - *

    - * TableName - The table that consumed the provisioned - * throughput.

    - *
  • - *
  • - *

    - * CapacityUnits - The total number of capacity units consumed.

    - *
  • - *
- * @public - */ - ConsumedCapacity?: ConsumedCapacity[] | undefined; -} -/** - *

Represents the input of a Scan operation.

- * @public - */ -export interface ScanInput { - /** - *

The name of the table containing the requested items or if you provide - * IndexName, the name of the table to which that index belongs.

- *

You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

The name of a secondary index to scan. This index can be any local secondary index or - * global secondary index. Note that if you use the IndexName parameter, you - * must also provide TableName.

- * @public - */ - IndexName?: string | undefined; - /** - *

This is a legacy parameter. Use ProjectionExpression instead. For more - * information, see AttributesToGet in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - AttributesToGet?: string[] | undefined; - /** - *

The maximum number of items to evaluate (not necessarily the number of matching - * items). If DynamoDB processes the number of items up to the limit while processing the - * results, it stops the operation and returns the matching values up to that point, and a - * key in LastEvaluatedKey to apply in a subsequent operation, so that you can - * pick up where you left off. Also, if the processed dataset size exceeds 1 MB before - * DynamoDB reaches this limit, it stops the operation and returns the matching values up - * to the limit, and a key in LastEvaluatedKey to apply in a subsequent - * operation to continue the operation. For more information, see Working with Queries in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - Limit?: number | undefined; - /** - *

The attributes to be returned in the result. You can retrieve all item attributes, - * specific item attributes, the count of matching items, or in the case of an index, some - * or all of the attributes projected into the index.

- *
    - *
  • - *

    - * ALL_ATTRIBUTES - Returns all of the item attributes from the - * specified table or index. If you query a local secondary index, then for each - * matching item in the index, DynamoDB fetches the entire item from the parent - * table. If the index is configured to project all item attributes, then all of - * the data can be obtained from the local secondary index, and no fetching is - * required.

    - *
  • - *
  • - *

    - * ALL_PROJECTED_ATTRIBUTES - Allowed only when querying an index. - * Retrieves all attributes that have been projected into the index. If the index - * is configured to project all attributes, this return value is equivalent to - * specifying ALL_ATTRIBUTES.

    - *
  • - *
  • - *

    - * COUNT - Returns the number of matching items, rather than the - * matching items themselves. Note that this uses the same quantity of read - * capacity units as getting the items, and is subject to the same item size - * calculations.

    - *
  • - *
  • - *

    - * SPECIFIC_ATTRIBUTES - Returns only the attributes listed in - * ProjectionExpression. This return value is equivalent to - * specifying ProjectionExpression without specifying any value for - * Select.

    - *

    If you query or scan a local secondary index and request only attributes that - * are projected into that index, the operation reads only the index and not the - * table. If any of the requested attributes are not projected into the local - * secondary index, DynamoDB fetches each of these attributes from the parent - * table. This extra fetching incurs additional throughput cost and latency.

    - *

    If you query or scan a global secondary index, you can only request attributes - * that are projected into the index. Global secondary index queries cannot fetch - * attributes from the parent table.

    - *
  • - *
- *

If neither Select nor ProjectionExpression are specified, - * DynamoDB defaults to ALL_ATTRIBUTES when accessing a table, and - * ALL_PROJECTED_ATTRIBUTES when accessing an index. You cannot use both - * Select and ProjectionExpression together in a single - * request, unless the value for Select is SPECIFIC_ATTRIBUTES. - * (This usage is equivalent to specifying ProjectionExpression without any - * value for Select.)

- * - *

If you use the ProjectionExpression parameter, then the value for - * Select can only be SPECIFIC_ATTRIBUTES. Any other - * value for Select will return an error.

- *
- * @public - */ - Select?: Select | undefined; - /** - *

This is a legacy parameter. Use FilterExpression instead. For more - * information, see ScanFilter in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ScanFilter?: Record | undefined; - /** - *

This is a legacy parameter. Use FilterExpression instead. For more - * information, see ConditionalOperator in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ConditionalOperator?: ConditionalOperator | undefined; - /** - *

The primary key of the first item that this operation will evaluate. Use the value - * that was returned for LastEvaluatedKey in the previous operation.

- *

The data type for ExclusiveStartKey must be String, Number or Binary. No - * set data types are allowed.

- *

In a parallel scan, a Scan request that includes - * ExclusiveStartKey must specify the same segment whose previous - * Scan returned the corresponding value of - * LastEvaluatedKey.

- * @public - */ - ExclusiveStartKey?: Record | undefined; - /** - *

Determines the level of detail about either provisioned or on-demand throughput - * consumption that is returned in the response:

- *
    - *
  • - *

    - * INDEXES - The response includes the aggregate - * ConsumedCapacity for the operation, together with - * ConsumedCapacity for each table and secondary index that was - * accessed.

    - *

    Note that some operations, such as GetItem and - * BatchGetItem, do not access any indexes at all. In these cases, - * specifying INDEXES will only return ConsumedCapacity - * information for table(s).

    - *
  • - *
  • - *

    - * TOTAL - The response includes only the aggregate - * ConsumedCapacity for the operation.

    - *
  • - *
  • - *

    - * NONE - No ConsumedCapacity details are included in the - * response.

    - *
  • - *
- * @public - */ - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - /** - *

For a parallel Scan request, TotalSegments represents the - * total number of segments into which the Scan operation will be divided. The - * value of TotalSegments corresponds to the number of application workers - * that will perform the parallel scan. For example, if you want to use four application - * threads to scan a table or an index, specify a TotalSegments value of - * 4.

- *

The value for TotalSegments must be greater than or equal to 1, and less - * than or equal to 1000000. If you specify a TotalSegments value of 1, the - * Scan operation will be sequential rather than parallel.

- *

If you specify TotalSegments, you must also specify - * Segment.

- * @public - */ - TotalSegments?: number | undefined; - /** - *

For a parallel Scan request, Segment identifies an - * individual segment to be scanned by an application worker.

- *

Segment IDs are zero-based, so the first segment is always 0. For example, if you want - * to use four application threads to scan a table or an index, then the first thread - * specifies a Segment value of 0, the second thread specifies 1, and so - * on.

- *

The value of LastEvaluatedKey returned from a parallel Scan - * request must be used as ExclusiveStartKey with the same segment ID in a - * subsequent Scan operation.

- *

The value for Segment must be greater than or equal to 0, and less than - * the value provided for TotalSegments.

- *

If you provide Segment, you must also provide - * TotalSegments.

- * @public - */ - Segment?: number | undefined; - /** - *

A string that identifies one or more attributes to retrieve from the specified table - * or index. These attributes can include scalars, sets, or elements of a JSON document. - * The attributes in the expression must be separated by commas.

- *

If no attribute names are specified, then all attributes will be returned. If any of - * the requested attributes are not found, they will not appear in the result.

- *

For more information, see Specifying Item Attributes in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ProjectionExpression?: string | undefined; - /** - *

A string that contains conditions that DynamoDB applies after the Scan - * operation, but before the data is returned to you. Items that do not satisfy the - * FilterExpression criteria are not returned.

- * - *

A FilterExpression is applied after the items have already been read; - * the process of filtering does not consume any additional read capacity units.

- *
- *

For more information, see Filter - * Expressions in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - FilterExpression?: string | undefined; - /** - *

One or more substitution tokens for attribute names in an expression. The following - * are some use cases for using ExpressionAttributeNames:

- *
    - *
  • - *

    To access an attribute whose name conflicts with a DynamoDB reserved - * word.

    - *
  • - *
  • - *

    To create a placeholder for repeating occurrences of an attribute name in an - * expression.

    - *
  • - *
  • - *

    To prevent special characters in an attribute name from being misinterpreted - * in an expression.

    - *
  • - *
- *

Use the # character in an expression to dereference - * an attribute name. For example, consider the following attribute name:

- *
    - *
  • - *

    - * Percentile - *

    - *
  • - *
- *

The name of this attribute conflicts with a reserved word, so it cannot be used - * directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer - * Guide). To work around this, you could specify the following for - * ExpressionAttributeNames:

- *
    - *
  • - *

    - * \{"#P":"Percentile"\} - *

    - *
  • - *
- *

You could then use this substitution in an expression, as in this example:

- *
    - *
  • - *

    - * #P = :val - *

    - *
  • - *
- * - *

Tokens that begin with the : character are - * expression attribute values, which are placeholders for the - * actual value at runtime.

- *
- *

For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ExpressionAttributeNames?: Record | undefined; - /** - *

One or more values that can be substituted in an expression.

- *

Use the : (colon) character in an expression to - * dereference an attribute value. For example, suppose that you wanted to check whether - * the value of the ProductStatus attribute was one of the following:

- *

- * Available | Backordered | Discontinued - *

- *

You would first need to specify ExpressionAttributeValues as - * follows:

- *

- * \{ ":avail":\{"S":"Available"\}, ":back":\{"S":"Backordered"\}, - * ":disc":\{"S":"Discontinued"\} \} - *

- *

You could then use these values in an expression, such as this:

- *

- * ProductStatus IN (:avail, :back, :disc) - *

- *

For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ExpressionAttributeValues?: Record | undefined; - /** - *

A Boolean value that determines the read consistency model during the scan:

- *
    - *
  • - *

    If ConsistentRead is false, then the data returned - * from Scan might not contain the results from other recently - * completed write operations (PutItem, UpdateItem, or - * DeleteItem).

    - *
  • - *
  • - *

    If ConsistentRead is true, then all of the write - * operations that completed before the Scan began are guaranteed to - * be contained in the Scan response.

    - *
  • - *
- *

The default setting for ConsistentRead is false.

- *

The ConsistentRead parameter is not supported on global secondary - * indexes. If you scan a global secondary index with ConsistentRead set to - * true, you will receive a ValidationException.

- * @public - */ - ConsistentRead?: boolean | undefined; -} -/** - *

Represents the input of a BatchWriteItem operation.

- * @public - */ -export interface BatchWriteItemInput { - /** - *

A map of one or more table names or table ARNs and, for each table, a list of - * operations to be performed (DeleteRequest or PutRequest). Each - * element in the map consists of the following:

- *
    - *
  • - *

    - * DeleteRequest - Perform a DeleteItem operation on the - * specified item. The item to be deleted is identified by a Key - * subelement:

    - *
      - *
    • - *

      - * Key - A map of primary key attribute values that uniquely - * identify the item. Each entry in this map consists of an attribute name - * and an attribute value. For each primary key, you must provide - * all of the key attributes. For example, with a - * simple primary key, you only need to provide a value for the partition - * key. For a composite primary key, you must provide values for - * both the partition key and the sort key.

      - *
    • - *
    - *
  • - *
  • - *

    - * PutRequest - Perform a PutItem operation on the - * specified item. The item to be put is identified by an Item - * subelement:

    - *
      - *
    • - *

      - * Item - A map of attributes and their values. Each entry in - * this map consists of an attribute name and an attribute value. Attribute - * values must not be null; string and binary type attributes must have - * lengths greater than zero; and set type attributes must not be empty. - * Requests that contain empty values are rejected with a - * ValidationException exception.

      - *

      If you specify any attributes that are part of an index key, then the - * data types for those attributes must match those of the schema in the - * table's attribute definition.

      - *
    • - *
    - *
  • - *
- * @public - */ - RequestItems: Record | undefined; - /** - *

Determines the level of detail about either provisioned or on-demand throughput - * consumption that is returned in the response:

- *
    - *
  • - *

    - * INDEXES - The response includes the aggregate - * ConsumedCapacity for the operation, together with - * ConsumedCapacity for each table and secondary index that was - * accessed.

    - *

    Note that some operations, such as GetItem and - * BatchGetItem, do not access any indexes at all. In these cases, - * specifying INDEXES will only return ConsumedCapacity - * information for table(s).

    - *
  • - *
  • - *

    - * TOTAL - The response includes only the aggregate - * ConsumedCapacity for the operation.

    - *
  • - *
  • - *

    - * NONE - No ConsumedCapacity details are included in the - * response.

    - *
  • - *
- * @public - */ - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - /** - *

Determines whether item collection metrics are returned. If set to SIZE, - * the response includes statistics about item collections, if any, that were modified - * during the operation are returned in the response. If set to NONE (the - * default), no statistics are returned.

- * @public - */ - ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | undefined; -} -/** - *

Represents the input of a DeleteItem operation.

- * @public - */ -export interface DeleteItemInput { - /** - *

The name of the table from which to delete the item. You can also provide the - * Amazon Resource Name (ARN) of the table in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

A map of attribute names to AttributeValue objects, representing the - * primary key of the item to delete.

- *

For the primary key, you must provide all of the key attributes. For example, with a - * simple primary key, you only need to provide a value for the partition key. For a - * composite primary key, you must provide values for both the partition key and the sort - * key.

- * @public - */ - Key: Record | undefined; - /** - *

This is a legacy parameter. Use ConditionExpression instead. For more - * information, see Expected in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - Expected?: Record | undefined; - /** - *

This is a legacy parameter. Use ConditionExpression instead. For more - * information, see ConditionalOperator in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ConditionalOperator?: ConditionalOperator | undefined; - /** - *

Use ReturnValues if you want to get the item attributes as they appeared - * before they were deleted. For DeleteItem, the valid values are:

- *
    - *
  • - *

    - * NONE - If ReturnValues is not specified, or if its - * value is NONE, then nothing is returned. (This setting is the - * default for ReturnValues.)

    - *
  • - *
  • - *

    - * ALL_OLD - The content of the old item is returned.

    - *
  • - *
- *

There is no additional cost associated with requesting a return value aside from the - * small network and processing overhead of receiving a larger response. No read capacity - * units are consumed.

- * - *

The ReturnValues parameter is used by several DynamoDB operations; - * however, DeleteItem does not recognize any values other than - * NONE or ALL_OLD.

- *
- * @public - */ - ReturnValues?: ReturnValue | undefined; - /** - *

Determines the level of detail about either provisioned or on-demand throughput - * consumption that is returned in the response:

- *
    - *
  • - *

    - * INDEXES - The response includes the aggregate - * ConsumedCapacity for the operation, together with - * ConsumedCapacity for each table and secondary index that was - * accessed.

    - *

    Note that some operations, such as GetItem and - * BatchGetItem, do not access any indexes at all. In these cases, - * specifying INDEXES will only return ConsumedCapacity - * information for table(s).

    - *
  • - *
  • - *

    - * TOTAL - The response includes only the aggregate - * ConsumedCapacity for the operation.

    - *
  • - *
  • - *

    - * NONE - No ConsumedCapacity details are included in the - * response.

    - *
  • - *
- * @public - */ - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - /** - *

Determines whether item collection metrics are returned. If set to SIZE, - * the response includes statistics about item collections, if any, that were modified - * during the operation are returned in the response. If set to NONE (the - * default), no statistics are returned.

- * @public - */ - ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | undefined; - /** - *

A condition that must be satisfied in order for a conditional DeleteItem - * to succeed.

- *

An expression can contain any of the following:

- *
    - *
  • - *

    Functions: attribute_exists | attribute_not_exists | attribute_type | - * contains | begins_with | size - *

    - *

    These function names are case-sensitive.

    - *
  • - *
  • - *

    Comparison operators: = | <> | - * < | > | <= | >= | - * BETWEEN | IN - *

    - *
  • - *
  • - *

    Logical operators: AND | OR | NOT - *

    - *
  • - *
- *

For more information about condition expressions, see Condition Expressions in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ConditionExpression?: string | undefined; - /** - *

One or more substitution tokens for attribute names in an expression. The following - * are some use cases for using ExpressionAttributeNames:

- *
    - *
  • - *

    To access an attribute whose name conflicts with a DynamoDB reserved - * word.

    - *
  • - *
  • - *

    To create a placeholder for repeating occurrences of an attribute name in an - * expression.

    - *
  • - *
  • - *

    To prevent special characters in an attribute name from being misinterpreted - * in an expression.

    - *
  • - *
- *

Use the # character in an expression to dereference - * an attribute name. For example, consider the following attribute name:

- *
    - *
  • - *

    - * Percentile - *

    - *
  • - *
- *

The name of this attribute conflicts with a reserved word, so it cannot be used - * directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer - * Guide). To work around this, you could specify the following for - * ExpressionAttributeNames:

- *
    - *
  • - *

    - * \{"#P":"Percentile"\} - *

    - *
  • - *
- *

You could then use this substitution in an expression, as in this example:

- *
    - *
  • - *

    - * #P = :val - *

    - *
  • - *
- * - *

Tokens that begin with the : character are - * expression attribute values, which are placeholders for the - * actual value at runtime.

- *
- *

For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ExpressionAttributeNames?: Record | undefined; - /** - *

One or more values that can be substituted in an expression.

- *

Use the : (colon) character in an expression to - * dereference an attribute value. For example, suppose that you wanted to check whether - * the value of the ProductStatus attribute was one of the following:

- *

- * Available | Backordered | Discontinued - *

- *

You would first need to specify ExpressionAttributeValues as - * follows:

- *

- * \{ ":avail":\{"S":"Available"\}, ":back":\{"S":"Backordered"\}, - * ":disc":\{"S":"Discontinued"\} \} - *

- *

You could then use these values in an expression, such as this:

- *

- * ProductStatus IN (:avail, :back, :disc) - *

- *

For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ExpressionAttributeValues?: Record | undefined; - /** - *

An optional parameter that returns the item attributes for a DeleteItem - * operation that failed a condition check.

- *

There is no additional cost associated with requesting a return value aside from the - * small network and processing overhead of receiving a larger response. No read capacity - * units are consumed.

- * @public - */ - ReturnValuesOnConditionCheckFailure?: ReturnValuesOnConditionCheckFailure | undefined; -} -/** - *

Represents the input of a PutItem operation.

- * @public - */ -export interface PutItemInput { - /** - *

The name of the table to contain the item. You can also provide the Amazon Resource Name (ARN) of the - * table in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

A map of attribute name/value pairs, one for each attribute. Only the primary key - * attributes are required; you can optionally provide other attribute name-value pairs for - * the item.

- *

You must provide all of the attributes for the primary key. For example, with a simple - * primary key, you only need to provide a value for the partition key. For a composite - * primary key, you must provide both values for both the partition key and the sort - * key.

- *

If you specify any attributes that are part of an index key, then the data types for - * those attributes must match those of the schema in the table's attribute - * definition.

- *

Empty String and Binary attribute values are allowed. Attribute values of type String - * and Binary must have a length greater than zero if the attribute is used as a key - * attribute for a table or index.

- *

For more information about primary keys, see Primary Key in the Amazon DynamoDB Developer - * Guide.

- *

Each element in the Item map is an AttributeValue - * object.

- * @public - */ - Item: Record | undefined; - /** - *

This is a legacy parameter. Use ConditionExpression instead. For more - * information, see Expected in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - Expected?: Record | undefined; - /** - *

Use ReturnValues if you want to get the item attributes as they appeared - * before they were updated with the PutItem request. For - * PutItem, the valid values are:

- *
    - *
  • - *

    - * NONE - If ReturnValues is not specified, or if its - * value is NONE, then nothing is returned. (This setting is the - * default for ReturnValues.)

    - *
  • - *
  • - *

    - * ALL_OLD - If PutItem overwrote an attribute name-value - * pair, then the content of the old item is returned.

    - *
  • - *
- *

The values returned are strongly consistent.

- *

There is no additional cost associated with requesting a return value aside from the - * small network and processing overhead of receiving a larger response. No read capacity - * units are consumed.

- * - *

The ReturnValues parameter is used by several DynamoDB operations; - * however, PutItem does not recognize any values other than - * NONE or ALL_OLD.

- *
- * @public - */ - ReturnValues?: ReturnValue | undefined; - /** - *

Determines the level of detail about either provisioned or on-demand throughput - * consumption that is returned in the response:

- *
    - *
  • - *

    - * INDEXES - The response includes the aggregate - * ConsumedCapacity for the operation, together with - * ConsumedCapacity for each table and secondary index that was - * accessed.

    - *

    Note that some operations, such as GetItem and - * BatchGetItem, do not access any indexes at all. In these cases, - * specifying INDEXES will only return ConsumedCapacity - * information for table(s).

    - *
  • - *
  • - *

    - * TOTAL - The response includes only the aggregate - * ConsumedCapacity for the operation.

    - *
  • - *
  • - *

    - * NONE - No ConsumedCapacity details are included in the - * response.

    - *
  • - *
- * @public - */ - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - /** - *

Determines whether item collection metrics are returned. If set to SIZE, - * the response includes statistics about item collections, if any, that were modified - * during the operation are returned in the response. If set to NONE (the - * default), no statistics are returned.

- * @public - */ - ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | undefined; - /** - *

This is a legacy parameter. Use ConditionExpression instead. For more - * information, see ConditionalOperator in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ConditionalOperator?: ConditionalOperator | undefined; - /** - *

A condition that must be satisfied in order for a conditional PutItem - * operation to succeed.

- *

An expression can contain any of the following:

- *
    - *
  • - *

    Functions: attribute_exists | attribute_not_exists | attribute_type | - * contains | begins_with | size - *

    - *

    These function names are case-sensitive.

    - *
  • - *
  • - *

    Comparison operators: = | <> | - * < | > | <= | >= | - * BETWEEN | IN - *

    - *
  • - *
  • - *

    Logical operators: AND | OR | NOT - *

    - *
  • - *
- *

For more information on condition expressions, see Condition Expressions in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ConditionExpression?: string | undefined; - /** - *

One or more substitution tokens for attribute names in an expression. The following - * are some use cases for using ExpressionAttributeNames:

- *
    - *
  • - *

    To access an attribute whose name conflicts with a DynamoDB reserved - * word.

    - *
  • - *
  • - *

    To create a placeholder for repeating occurrences of an attribute name in an - * expression.

    - *
  • - *
  • - *

    To prevent special characters in an attribute name from being misinterpreted - * in an expression.

    - *
  • - *
- *

Use the # character in an expression to dereference - * an attribute name. For example, consider the following attribute name:

- *
    - *
  • - *

    - * Percentile - *

    - *
  • - *
- *

The name of this attribute conflicts with a reserved word, so it cannot be used - * directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer - * Guide). To work around this, you could specify the following for - * ExpressionAttributeNames:

- *
    - *
  • - *

    - * \{"#P":"Percentile"\} - *

    - *
  • - *
- *

You could then use this substitution in an expression, as in this example:

- *
    - *
  • - *

    - * #P = :val - *

    - *
  • - *
- * - *

Tokens that begin with the : character are - * expression attribute values, which are placeholders for the - * actual value at runtime.

- *
- *

For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ExpressionAttributeNames?: Record | undefined; - /** - *

One or more values that can be substituted in an expression.

- *

Use the : (colon) character in an expression to - * dereference an attribute value. For example, suppose that you wanted to check whether - * the value of the ProductStatus attribute was one of the following:

- *

- * Available | Backordered | Discontinued - *

- *

You would first need to specify ExpressionAttributeValues as - * follows:

- *

- * \{ ":avail":\{"S":"Available"\}, ":back":\{"S":"Backordered"\}, - * ":disc":\{"S":"Discontinued"\} \} - *

- *

You could then use these values in an expression, such as this:

- *

- * ProductStatus IN (:avail, :back, :disc) - *

- *

For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ExpressionAttributeValues?: Record | undefined; - /** - *

An optional parameter that returns the item attributes for a PutItem - * operation that failed a condition check.

- *

There is no additional cost associated with requesting a return value aside from the - * small network and processing overhead of receiving a larger response. No read capacity - * units are consumed.

- * @public - */ - ReturnValuesOnConditionCheckFailure?: ReturnValuesOnConditionCheckFailure | undefined; -} -/** - *

Represents the input of a Query operation.

- * @public - */ -export interface QueryInput { - /** - *

The name of the table containing the requested items. You can also provide the - * Amazon Resource Name (ARN) of the table in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

The name of an index to query. This index can be any local secondary index or global - * secondary index on the table. Note that if you use the IndexName parameter, - * you must also provide TableName. - *

- * @public - */ - IndexName?: string | undefined; - /** - *

The attributes to be returned in the result. You can retrieve all item attributes, - * specific item attributes, the count of matching items, or in the case of an index, some - * or all of the attributes projected into the index.

- *
    - *
  • - *

    - * ALL_ATTRIBUTES - Returns all of the item attributes from the - * specified table or index. If you query a local secondary index, then for each - * matching item in the index, DynamoDB fetches the entire item from the parent - * table. If the index is configured to project all item attributes, then all of - * the data can be obtained from the local secondary index, and no fetching is - * required.

    - *
  • - *
  • - *

    - * ALL_PROJECTED_ATTRIBUTES - Allowed only when querying an index. - * Retrieves all attributes that have been projected into the index. If the index - * is configured to project all attributes, this return value is equivalent to - * specifying ALL_ATTRIBUTES.

    - *
  • - *
  • - *

    - * COUNT - Returns the number of matching items, rather than the - * matching items themselves. Note that this uses the same quantity of read - * capacity units as getting the items, and is subject to the same item size - * calculations.

    - *
  • - *
  • - *

    - * SPECIFIC_ATTRIBUTES - Returns only the attributes listed in - * ProjectionExpression. This return value is equivalent to - * specifying ProjectionExpression without specifying any value for - * Select.

    - *

    If you query or scan a local secondary index and request only attributes that - * are projected into that index, the operation will read only the index and not - * the table. If any of the requested attributes are not projected into the local - * secondary index, DynamoDB fetches each of these attributes from the parent - * table. This extra fetching incurs additional throughput cost and latency.

    - *

    If you query or scan a global secondary index, you can only request attributes - * that are projected into the index. Global secondary index queries cannot fetch - * attributes from the parent table.

    - *
  • - *
- *

If neither Select nor ProjectionExpression are specified, - * DynamoDB defaults to ALL_ATTRIBUTES when accessing a table, and - * ALL_PROJECTED_ATTRIBUTES when accessing an index. You cannot use both - * Select and ProjectionExpression together in a single - * request, unless the value for Select is SPECIFIC_ATTRIBUTES. - * (This usage is equivalent to specifying ProjectionExpression without any - * value for Select.)

- * - *

If you use the ProjectionExpression parameter, then the value for - * Select can only be SPECIFIC_ATTRIBUTES. Any other - * value for Select will return an error.

- *
- * @public - */ - Select?: Select | undefined; - /** - *

This is a legacy parameter. Use ProjectionExpression instead. For more - * information, see AttributesToGet in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - AttributesToGet?: string[] | undefined; - /** - *

The maximum number of items to evaluate (not necessarily the number of matching - * items). If DynamoDB processes the number of items up to the limit while processing the - * results, it stops the operation and returns the matching values up to that point, and a - * key in LastEvaluatedKey to apply in a subsequent operation, so that you can - * pick up where you left off. Also, if the processed dataset size exceeds 1 MB before - * DynamoDB reaches this limit, it stops the operation and returns the matching values up - * to the limit, and a key in LastEvaluatedKey to apply in a subsequent - * operation to continue the operation. For more information, see Query and Scan in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - Limit?: number | undefined; - /** - *

Determines the read consistency model: If set to true, then the operation - * uses strongly consistent reads; otherwise, the operation uses eventually consistent - * reads.

- *

Strongly consistent reads are not supported on global secondary indexes. If you query - * a global secondary index with ConsistentRead set to true, you - * will receive a ValidationException.

- * @public - */ - ConsistentRead?: boolean | undefined; - /** - *

This is a legacy parameter. Use KeyConditionExpression instead. For more - * information, see KeyConditions in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - KeyConditions?: Record | undefined; - /** - *

This is a legacy parameter. Use FilterExpression instead. For more - * information, see QueryFilter in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - QueryFilter?: Record | undefined; - /** - *

This is a legacy parameter. Use FilterExpression instead. For more - * information, see ConditionalOperator in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ConditionalOperator?: ConditionalOperator | undefined; - /** - *

Specifies the order for index traversal: If true (default), the traversal - * is performed in ascending order; if false, the traversal is performed in - * descending order.

- *

Items with the same partition key value are stored in sorted order by sort key. If the - * sort key data type is Number, the results are stored in numeric order. For type String, - * the results are stored in order of UTF-8 bytes. For type Binary, DynamoDB treats each - * byte of the binary data as unsigned.

- *

If ScanIndexForward is true, DynamoDB returns the results in - * the order in which they are stored (by sort key value). This is the default behavior. If - * ScanIndexForward is false, DynamoDB reads the results in - * reverse order by sort key value, and then returns the results to the client.

- * @public - */ - ScanIndexForward?: boolean | undefined; - /** - *

The primary key of the first item that this operation will evaluate. Use the value - * that was returned for LastEvaluatedKey in the previous operation.

- *

The data type for ExclusiveStartKey must be String, Number, or Binary. No - * set data types are allowed.

- * @public - */ - ExclusiveStartKey?: Record | undefined; - /** - *

Determines the level of detail about either provisioned or on-demand throughput - * consumption that is returned in the response:

- *
    - *
  • - *

    - * INDEXES - The response includes the aggregate - * ConsumedCapacity for the operation, together with - * ConsumedCapacity for each table and secondary index that was - * accessed.

    - *

    Note that some operations, such as GetItem and - * BatchGetItem, do not access any indexes at all. In these cases, - * specifying INDEXES will only return ConsumedCapacity - * information for table(s).

    - *
  • - *
  • - *

    - * TOTAL - The response includes only the aggregate - * ConsumedCapacity for the operation.

    - *
  • - *
  • - *

    - * NONE - No ConsumedCapacity details are included in the - * response.

    - *
  • - *
- * @public - */ - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - /** - *

A string that identifies one or more attributes to retrieve from the table. These - * attributes can include scalars, sets, or elements of a JSON document. The attributes in - * the expression must be separated by commas.

- *

If no attribute names are specified, then all attributes will be returned. If any of - * the requested attributes are not found, they will not appear in the result.

- *

For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ProjectionExpression?: string | undefined; - /** - *

A string that contains conditions that DynamoDB applies after the Query - * operation, but before the data is returned to you. Items that do not satisfy the - * FilterExpression criteria are not returned.

- *

A FilterExpression does not allow key attributes. You cannot define a - * filter expression based on a partition key or a sort key.

- * - *

A FilterExpression is applied after the items have already been read; - * the process of filtering does not consume any additional read capacity units.

- *
- *

For more information, see Filter - * Expressions in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - FilterExpression?: string | undefined; - /** - *

The condition that specifies the key values for items to be retrieved by the - * Query action.

- *

The condition must perform an equality test on a single partition key value.

- *

The condition can optionally perform one of several comparison tests on a single sort - * key value. This allows Query to retrieve one item with a given partition - * key value and sort key value, or several items that have the same partition key value - * but different sort key values.

- *

The partition key equality test is required, and must be specified in the following - * format:

- *

- * partitionKeyName - * = - * :partitionkeyval - *

- *

If you also want to provide a condition for the sort key, it must be combined using - * AND with the condition for the sort key. Following is an example, using - * the = comparison operator for the sort key:

- *

- * partitionKeyName - * = - * :partitionkeyval - * AND - * sortKeyName - * = - * :sortkeyval - *

- *

Valid comparisons for the sort key condition are as follows:

- *
    - *
  • - *

    - * sortKeyName - * = - * :sortkeyval - true if the sort key value is equal to - * :sortkeyval.

    - *
  • - *
  • - *

    - * sortKeyName - * < - * :sortkeyval - true if the sort key value is less than - * :sortkeyval.

    - *
  • - *
  • - *

    - * sortKeyName - * <= - * :sortkeyval - true if the sort key value is less than or equal to - * :sortkeyval.

    - *
  • - *
  • - *

    - * sortKeyName - * > - * :sortkeyval - true if the sort key value is greater than - * :sortkeyval.

    - *
  • - *
  • - *

    - * sortKeyName - * >= - * :sortkeyval - true if the sort key value is greater than or equal - * to :sortkeyval.

    - *
  • - *
  • - *

    - * sortKeyName - * BETWEEN - * :sortkeyval1 - * AND - * :sortkeyval2 - true if the sort key value is greater than or equal - * to :sortkeyval1, and less than or equal to - * :sortkeyval2.

    - *
  • - *
  • - *

    - * begins_with ( - * sortKeyName, :sortkeyval - * ) - true if the sort key value begins with a particular operand. - * (You cannot use this function with a sort key that is of type Number.) Note that - * the function name begins_with is case-sensitive.

    - *
  • - *
- *

Use the ExpressionAttributeValues parameter to replace tokens such as - * :partitionval and :sortval with actual values at - * runtime.

- *

You can optionally use the ExpressionAttributeNames parameter to replace - * the names of the partition key and sort key with placeholder tokens. This option might - * be necessary if an attribute name conflicts with a DynamoDB reserved word. For example, - * the following KeyConditionExpression parameter causes an error because - * Size is a reserved word:

- *
    - *
  • - *

    - * Size = :myval - *

    - *
  • - *
- *

To work around this, define a placeholder (such a #S) to represent the - * attribute name Size. KeyConditionExpression then is as - * follows:

- *
    - *
  • - *

    - * #S = :myval - *

    - *
  • - *
- *

For a list of reserved words, see Reserved Words - * in the Amazon DynamoDB Developer Guide.

- *

For more information on ExpressionAttributeNames and - * ExpressionAttributeValues, see Using - * Placeholders for Attribute Names and Values in the Amazon DynamoDB - * Developer Guide.

- * @public - */ - KeyConditionExpression?: string | undefined; - /** - *

One or more substitution tokens for attribute names in an expression. The following - * are some use cases for using ExpressionAttributeNames:

- *
    - *
  • - *

    To access an attribute whose name conflicts with a DynamoDB reserved - * word.

    - *
  • - *
  • - *

    To create a placeholder for repeating occurrences of an attribute name in an - * expression.

    - *
  • - *
  • - *

    To prevent special characters in an attribute name from being misinterpreted - * in an expression.

    - *
  • - *
- *

Use the # character in an expression to dereference - * an attribute name. For example, consider the following attribute name:

- *
    - *
  • - *

    - * Percentile - *

    - *
  • - *
- *

The name of this attribute conflicts with a reserved word, so it cannot be used - * directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer - * Guide). To work around this, you could specify the following for - * ExpressionAttributeNames:

- *
    - *
  • - *

    - * \{"#P":"Percentile"\} - *

    - *
  • - *
- *

You could then use this substitution in an expression, as in this example:

- *
    - *
  • - *

    - * #P = :val - *

    - *
  • - *
- * - *

Tokens that begin with the : character are - * expression attribute values, which are placeholders for the - * actual value at runtime.

- *
- *

For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ExpressionAttributeNames?: Record | undefined; - /** - *

One or more values that can be substituted in an expression.

- *

Use the : (colon) character in an expression to - * dereference an attribute value. For example, suppose that you wanted to check whether - * the value of the ProductStatus attribute was one of the following:

- *

- * Available | Backordered | Discontinued - *

- *

You would first need to specify ExpressionAttributeValues as - * follows:

- *

- * \{ ":avail":\{"S":"Available"\}, ":back":\{"S":"Backordered"\}, - * ":disc":\{"S":"Discontinued"\} \} - *

- *

You could then use these values in an expression, such as this:

- *

- * ProductStatus IN (:avail, :back, :disc) - *

- *

For more information on expression attribute values, see Specifying Conditions in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ExpressionAttributeValues?: Record | undefined; -} -/** - *

Represents the output of a BatchWriteItem operation.

- * @public - */ -export interface BatchWriteItemOutput { - /** - *

A map of tables and requests against those tables that were not processed. The - * UnprocessedItems value is in the same form as - * RequestItems, so you can provide this value directly to a subsequent - * BatchWriteItem operation. For more information, see - * RequestItems in the Request Parameters section.

- *

Each UnprocessedItems entry consists of a table name or table ARN - * and, for that table, a list of operations to perform (DeleteRequest or - * PutRequest).

- *
    - *
  • - *

    - * DeleteRequest - Perform a DeleteItem operation on the - * specified item. The item to be deleted is identified by a Key - * subelement:

    - *
      - *
    • - *

      - * Key - A map of primary key attribute values that uniquely - * identify the item. Each entry in this map consists of an attribute name - * and an attribute value.

      - *
    • - *
    - *
  • - *
  • - *

    - * PutRequest - Perform a PutItem operation on the - * specified item. The item to be put is identified by an Item - * subelement:

    - *
      - *
    • - *

      - * Item - A map of attributes and their values. Each entry in - * this map consists of an attribute name and an attribute value. Attribute - * values must not be null; string and binary type attributes must have - * lengths greater than zero; and set type attributes must not be empty. - * Requests that contain empty values will be rejected with a - * ValidationException exception.

      - *

      If you specify any attributes that are part of an index key, then the - * data types for those attributes must match those of the schema in the - * table's attribute definition.

      - *
    • - *
    - *
  • - *
- *

If there are no unprocessed items remaining, the response contains an empty - * UnprocessedItems map.

- * @public - */ - UnprocessedItems?: Record | undefined; - /** - *

A list of tables that were processed by BatchWriteItem and, for each - * table, information about any item collections that were affected by individual - * DeleteItem or PutItem operations.

- *

Each entry consists of the following subelements:

- *
    - *
  • - *

    - * ItemCollectionKey - The partition key value of the item collection. - * This is the same as the partition key value of the item.

    - *
  • - *
  • - *

    - * SizeEstimateRangeGB - An estimate of item collection size, - * expressed in GB. This is a two-element array containing a lower bound and an - * upper bound for the estimate. The estimate includes the size of all the items in - * the table, plus the size of all attributes projected into all of the local - * secondary indexes on the table. Use this estimate to measure whether a local - * secondary index is approaching its size limit.

    - *

    The estimate is subject to change over time; therefore, do not rely on the - * precision or accuracy of the estimate.

    - *
  • - *
- * @public - */ - ItemCollectionMetrics?: Record | undefined; - /** - *

The capacity units consumed by the entire BatchWriteItem - * operation.

- *

Each element consists of:

- *
    - *
  • - *

    - * TableName - The table that consumed the provisioned - * throughput.

    - *
  • - *
  • - *

    - * CapacityUnits - The total number of capacity units consumed.

    - *
  • - *
- * @public - */ - ConsumedCapacity?: ConsumedCapacity[] | undefined; -} -/** - *

Represents the input of an UpdateItem operation.

- * @public - */ -export interface UpdateItemInput { - /** - *

The name of the table containing the item to update. You can also provide the - * Amazon Resource Name (ARN) of the table in this parameter.

- * @public - */ - TableName: string | undefined; - /** - *

The primary key of the item to be updated. Each element consists of an attribute name - * and a value for that attribute.

- *

For the primary key, you must provide all of the attributes. For example, with a - * simple primary key, you only need to provide a value for the partition key. For a - * composite primary key, you must provide values for both the partition key and the sort - * key.

- * @public - */ - Key: Record | undefined; - /** - *

This is a legacy parameter. Use UpdateExpression instead. For more - * information, see AttributeUpdates in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - AttributeUpdates?: Record | undefined; - /** - *

This is a legacy parameter. Use ConditionExpression instead. For more - * information, see Expected in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - Expected?: Record | undefined; - /** - *

This is a legacy parameter. Use ConditionExpression instead. For more - * information, see ConditionalOperator in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ConditionalOperator?: ConditionalOperator | undefined; - /** - *

Use ReturnValues if you want to get the item attributes as they appear - * before or after they are successfully updated. For UpdateItem, the valid - * values are:

- *
    - *
  • - *

    - * NONE - If ReturnValues is not specified, or if its - * value is NONE, then nothing is returned. (This setting is the - * default for ReturnValues.)

    - *
  • - *
  • - *

    - * ALL_OLD - Returns all of the attributes of the item, as they - * appeared before the UpdateItem operation.

    - *
  • - *
  • - *

    - * UPDATED_OLD - Returns only the updated attributes, as they appeared - * before the UpdateItem operation.

    - *
  • - *
  • - *

    - * ALL_NEW - Returns all of the attributes of the item, as they appear - * after the UpdateItem operation.

    - *
  • - *
  • - *

    - * UPDATED_NEW - Returns only the updated attributes, as they appear - * after the UpdateItem operation.

    - *
  • - *
- *

There is no additional cost associated with requesting a return value aside from the - * small network and processing overhead of receiving a larger response. No read capacity - * units are consumed.

- *

The values returned are strongly consistent.

- * @public - */ - ReturnValues?: ReturnValue | undefined; - /** - *

Determines the level of detail about either provisioned or on-demand throughput - * consumption that is returned in the response:

- *
    - *
  • - *

    - * INDEXES - The response includes the aggregate - * ConsumedCapacity for the operation, together with - * ConsumedCapacity for each table and secondary index that was - * accessed.

    - *

    Note that some operations, such as GetItem and - * BatchGetItem, do not access any indexes at all. In these cases, - * specifying INDEXES will only return ConsumedCapacity - * information for table(s).

    - *
  • - *
  • - *

    - * TOTAL - The response includes only the aggregate - * ConsumedCapacity for the operation.

    - *
  • - *
  • - *

    - * NONE - No ConsumedCapacity details are included in the - * response.

    - *
  • - *
- * @public - */ - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - /** - *

Determines whether item collection metrics are returned. If set to SIZE, - * the response includes statistics about item collections, if any, that were modified - * during the operation are returned in the response. If set to NONE (the - * default), no statistics are returned.

- * @public - */ - ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | undefined; - /** - *

An expression that defines one or more attributes to be updated, the action to be - * performed on them, and new values for them.

- *

The following action values are available for UpdateExpression.

- *
    - *
  • - *

    - * SET - Adds one or more attributes and values to an item. If any of - * these attributes already exist, they are replaced by the new values. You can - * also use SET to add or subtract from an attribute that is of type - * Number. For example: SET myNum = myNum + :val - *

    - *

    - * SET supports the following functions:

    - *
      - *
    • - *

      - * if_not_exists (path, operand) - if the item does not - * contain an attribute at the specified path, then - * if_not_exists evaluates to operand; otherwise, it - * evaluates to path. You can use this function to avoid overwriting an - * attribute that may already be present in the item.

      - *
    • - *
    • - *

      - * list_append (operand, operand) - evaluates to a list with a - * new element added to it. You can append the new element to the start or - * the end of the list by reversing the order of the operands.

      - *
    • - *
    - *

    These function names are case-sensitive.

    - *
  • - *
  • - *

    - * REMOVE - Removes one or more attributes from an item.

    - *
  • - *
  • - *

    - * ADD - Adds the specified value to the item, if the attribute does - * not already exist. If the attribute does exist, then the behavior of - * ADD depends on the data type of the attribute:

    - *
      - *
    • - *

      If the existing attribute is a number, and if Value is - * also a number, then Value is mathematically added to the - * existing attribute. If Value is a negative number, then it - * is subtracted from the existing attribute.

      - * - *

      If you use ADD to increment or decrement a number - * value for an item that doesn't exist before the update, DynamoDB - * uses 0 as the initial value.

      - *

      Similarly, if you use ADD for an existing item to - * increment or decrement an attribute value that doesn't exist before - * the update, DynamoDB uses 0 as the initial value. For - * example, suppose that the item you want to update doesn't have an - * attribute named itemcount, but you decide to - * ADD the number 3 to this attribute - * anyway. DynamoDB will create the itemcount attribute, - * set its initial value to 0, and finally add - * 3 to it. The result will be a new - * itemcount attribute in the item, with a value of - * 3.

      - *
      - *
    • - *
    • - *

      If the existing data type is a set and if Value is also a - * set, then Value is added to the existing set. For example, - * if the attribute value is the set [1,2], and the - * ADD action specified [3], then the final - * attribute value is [1,2,3]. An error occurs if an - * ADD action is specified for a set attribute and the - * attribute type specified does not match the existing set type.

      - *

      Both sets must have the same primitive data type. For example, if the - * existing data type is a set of strings, the Value must also - * be a set of strings.

      - *
    • - *
    - * - *

    The ADD action only supports Number and set data types.

    - *
    - *
  • - *
  • - *

    - * DELETE - Deletes an element from a set.

    - *

    If a set of values is specified, then those values are subtracted from the old - * set. For example, if the attribute value was the set [a,b,c] and - * the DELETE action specifies [a,c], then the final - * attribute value is [b]. Specifying an empty set is an error.

    - * - *

    The DELETE action only supports set data types.

    - *
    - *
  • - *
- *

You can have many actions in a single expression, such as the following: SET - * a=:value1, b=:value2 DELETE :value3, :value4, :value5 - *

- *

For more information on update expressions, see Modifying - * Items and Attributes in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - UpdateExpression?: string | undefined; - /** - *

A condition that must be satisfied in order for a conditional update to - * succeed.

- *

An expression can contain any of the following:

- *
    - *
  • - *

    Functions: attribute_exists | attribute_not_exists | attribute_type | - * contains | begins_with | size - *

    - *

    These function names are case-sensitive.

    - *
  • - *
  • - *

    Comparison operators: = | <> | - * < | > | <= | >= | - * BETWEEN | IN - *

    - *
  • - *
  • - *

    Logical operators: AND | OR | NOT - *

    - *
  • - *
- *

For more information about condition expressions, see Specifying Conditions in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ConditionExpression?: string | undefined; - /** - *

One or more substitution tokens for attribute names in an expression. The following - * are some use cases for using ExpressionAttributeNames:

- *
    - *
  • - *

    To access an attribute whose name conflicts with a DynamoDB reserved - * word.

    - *
  • - *
  • - *

    To create a placeholder for repeating occurrences of an attribute name in an - * expression.

    - *
  • - *
  • - *

    To prevent special characters in an attribute name from being misinterpreted - * in an expression.

    - *
  • - *
- *

Use the # character in an expression to dereference - * an attribute name. For example, consider the following attribute name:

- *
    - *
  • - *

    - * Percentile - *

    - *
  • - *
- *

The name of this attribute conflicts with a reserved word, so it cannot be used - * directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer - * Guide.) To work around this, you could specify the following for - * ExpressionAttributeNames:

- *
    - *
  • - *

    - * \{"#P":"Percentile"\} - *

    - *
  • - *
- *

You could then use this substitution in an expression, as in this example:

- *
    - *
  • - *

    - * #P = :val - *

    - *
  • - *
- * - *

Tokens that begin with the : character are - * expression attribute values, which are placeholders for the - * actual value at runtime.

- *
- *

For more information about expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ExpressionAttributeNames?: Record | undefined; - /** - *

One or more values that can be substituted in an expression.

- *

Use the : (colon) character in an expression to - * dereference an attribute value. For example, suppose that you wanted to check whether - * the value of the ProductStatus attribute was one of the following:

- *

- * Available | Backordered | Discontinued - *

- *

You would first need to specify ExpressionAttributeValues as - * follows:

- *

- * \{ ":avail":\{"S":"Available"\}, ":back":\{"S":"Backordered"\}, - * ":disc":\{"S":"Discontinued"\} \} - *

- *

You could then use these values in an expression, such as this:

- *

- * ProductStatus IN (:avail, :back, :disc) - *

- *

For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer - * Guide.

- * @public - */ - ExpressionAttributeValues?: Record | undefined; - /** - *

An optional parameter that returns the item attributes for an UpdateItem - * operation that failed a condition check.

- *

There is no additional cost associated with requesting a return value aside from the - * small network and processing overhead of receiving a larger response. No read capacity - * units are consumed.

- * @public - */ - ReturnValuesOnConditionCheckFailure?: ReturnValuesOnConditionCheckFailure | undefined; -} -/** - *

A list of requests that can perform update, put, delete, or check operations on - * multiple items in one or more tables atomically.

- * @public - */ -export interface TransactWriteItem { - /** - *

A request to perform a check item operation.

- * @public - */ - ConditionCheck?: ConditionCheck | undefined; - /** - *

A request to perform a PutItem operation.

- * @public - */ - Put?: Put | undefined; - /** - *

A request to perform a DeleteItem operation.

- * @public - */ - Delete?: Delete | undefined; - /** - *

A request to perform an UpdateItem operation.

- * @public - */ - Update?: Update | undefined; -} -/** - * @public - */ -export interface TransactWriteItemsInput { - /** - *

An ordered array of up to 100 TransactWriteItem objects, each of which - * contains a ConditionCheck, Put, Update, or - * Delete object. These can operate on items in different tables, but the - * tables must reside in the same Amazon Web Services account and Region, and no two of them - * can operate on the same item.

- * @public - */ - TransactItems: TransactWriteItem[] | undefined; - /** - *

Determines the level of detail about either provisioned or on-demand throughput - * consumption that is returned in the response:

- *
    - *
  • - *

    - * INDEXES - The response includes the aggregate - * ConsumedCapacity for the operation, together with - * ConsumedCapacity for each table and secondary index that was - * accessed.

    - *

    Note that some operations, such as GetItem and - * BatchGetItem, do not access any indexes at all. In these cases, - * specifying INDEXES will only return ConsumedCapacity - * information for table(s).

    - *
  • - *
  • - *

    - * TOTAL - The response includes only the aggregate - * ConsumedCapacity for the operation.

    - *
  • - *
  • - *

    - * NONE - No ConsumedCapacity details are included in the - * response.

    - *
  • - *
- * @public - */ - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - /** - *

Determines whether item collection metrics are returned. If set to SIZE, - * the response includes statistics about item collections (if any), that were modified - * during the operation and are returned in the response. If set to NONE (the - * default), no statistics are returned.

- * @public - */ - ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | undefined; - /** - *

Providing a ClientRequestToken makes the call to - * TransactWriteItems idempotent, meaning that multiple identical calls - * have the same effect as one single call.

- *

Although multiple identical calls using the same client request token produce the same - * result on the server (no side effects), the responses to the calls might not be the - * same. If the ReturnConsumedCapacity parameter is set, then the initial - * TransactWriteItems call returns the amount of write capacity units - * consumed in making the changes. Subsequent TransactWriteItems calls with - * the same client token return the number of read capacity units consumed in reading the - * item.

- *

A client request token is valid for 10 minutes after the first request that uses it is - * completed. After 10 minutes, any request with the same client token is treated as a new - * request. Do not resubmit the same request with the same client token for more than 10 - * minutes, or the result might not be idempotent.

- *

If you submit a request with the same client token but a change in other parameters - * within the 10-minute idempotency window, DynamoDB returns an - * IdempotentParameterMismatch exception.

- * @public - */ - ClientRequestToken?: string | undefined; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/Interfaces.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/Interfaces.d.ts deleted file mode 100644 index 7201d5e7..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/Interfaces.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { PaginationConfiguration } from "@smithy/types"; -import { DynamoDBClient } from "../DynamoDBClient"; -/** - * @public - */ -export interface DynamoDBPaginationConfiguration extends PaginationConfiguration { - client: DynamoDBClient; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListContributorInsightsPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListContributorInsightsPaginator.d.ts deleted file mode 100644 index 85563553..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListContributorInsightsPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { Paginator } from "@smithy/types"; -import { ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput } from "../commands/ListContributorInsightsCommand"; -import { DynamoDBPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare const paginateListContributorInsights: (config: DynamoDBPaginationConfiguration, input: ListContributorInsightsCommandInput, ...rest: any[]) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListExportsPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListExportsPaginator.d.ts deleted file mode 100644 index 5d32fb0c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListExportsPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { Paginator } from "@smithy/types"; -import { ListExportsCommandInput, ListExportsCommandOutput } from "../commands/ListExportsCommand"; -import { DynamoDBPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare const paginateListExports: (config: DynamoDBPaginationConfiguration, input: ListExportsCommandInput, ...rest: any[]) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListImportsPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListImportsPaginator.d.ts deleted file mode 100644 index 6675a4f2..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListImportsPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { Paginator } from "@smithy/types"; -import { ListImportsCommandInput, ListImportsCommandOutput } from "../commands/ListImportsCommand"; -import { DynamoDBPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare const paginateListImports: (config: DynamoDBPaginationConfiguration, input: ListImportsCommandInput, ...rest: any[]) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListTablesPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListTablesPaginator.d.ts deleted file mode 100644 index abd550d1..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListTablesPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { Paginator } from "@smithy/types"; -import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand"; -import { DynamoDBPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare const paginateListTables: (config: DynamoDBPaginationConfiguration, input: ListTablesCommandInput, ...rest: any[]) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/QueryPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/QueryPaginator.d.ts deleted file mode 100644 index be43d72e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/QueryPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { Paginator } from "@smithy/types"; -import { QueryCommandInput, QueryCommandOutput } from "../commands/QueryCommand"; -import { DynamoDBPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare const paginateQuery: (config: DynamoDBPaginationConfiguration, input: QueryCommandInput, ...rest: any[]) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ScanPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ScanPaginator.d.ts deleted file mode 100644 index 6972cc33..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ScanPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { Paginator } from "@smithy/types"; -import { ScanCommandInput, ScanCommandOutput } from "../commands/ScanCommand"; -import { DynamoDBPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare const paginateScan: (config: DynamoDBPaginationConfiguration, input: ScanCommandInput, ...rest: any[]) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/index.d.ts deleted file mode 100644 index a6dfcd0e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/index.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from "./Interfaces"; -export * from "./ListContributorInsightsPaginator"; -export * from "./ListExportsPaginator"; -export * from "./ListImportsPaginator"; -export * from "./ListTablesPaginator"; -export * from "./QueryPaginator"; -export * from "./ScanPaginator"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.browser.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.browser.d.ts deleted file mode 100644 index ba69c059..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.browser.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; -import type { DynamoDBClientConfig } from "./DynamoDBClient"; -/** - * @internal - */ -export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => { - runtime: string; - defaultsMode: import("@smithy/types").Provider; - accountIdEndpointMode: "disabled" | "preferred" | "required" | (() => Promise); - bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; - credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise); - defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; - endpointDiscoveryEnabledProvider: import("@smithy/types").Provider; - maxAttempts: number | import("@smithy/types").Provider; - region: string | import("@smithy/types").Provider; - requestHandler: import("@smithy/protocol-http").HttpHandler | RequestHandler; - retryMode: string | import("@smithy/types").Provider; - sha256: import("@smithy/types").HashConstructor; - streamCollector: import("@smithy/types").StreamCollector; - useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); - useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); - cacheMiddleware?: boolean | undefined; - protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core").AwsJson1_0Protocol; - protocolSettings: { - defaultNamespace?: string; - [setting: string]: unknown; - }; - apiVersion: string; - urlParser: import("@smithy/types").UrlParser; - base64Decoder: import("@smithy/types").Decoder; - base64Encoder: (_input: Uint8Array | string) => string; - utf8Decoder: import("@smithy/types").Decoder; - utf8Encoder: (input: Uint8Array | string) => string; - disableHostPrefix: boolean; - serviceId: string; - profile?: string; - logger: import("@smithy/types").Logger; - extensions: import("./runtimeExtensions").RuntimeExtension[]; - customUserAgent?: string | import("@smithy/types").UserAgent; - userAgentAppId?: string | undefined | import("@smithy/types").Provider; - retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; - endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; - endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { - logger?: import("@smithy/types").Logger; - }) => import("@smithy/types").EndpointV2; - tls?: boolean; - serviceConfiguredEndpoint?: never; - authSchemePreference?: string[] | import("@smithy/types").Provider; - httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; - httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider; - credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; - signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); - signingEscapePath?: boolean; - systemClockOffset?: number; - signingRegion?: string; - signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; - endpointCacheSize?: number; - endpointDiscoveryEnabled?: boolean | undefined; - accountId?: string | undefined | import("@smithy/types").Provider; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.d.ts deleted file mode 100644 index e8c2c4af..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; -import type { DynamoDBClientConfig } from "./DynamoDBClient"; -/** - * @internal - */ -export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => { - runtime: string; - defaultsMode: import("@smithy/types").Provider; - accountIdEndpointMode: "disabled" | "preferred" | "required" | import("@smithy/types").Provider; - authSchemePreference: string[] | import("@smithy/types").Provider; - bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; - credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider); - defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise; - endpointDiscoveryEnabledProvider: import("@smithy/types").Provider; - maxAttempts: number | import("@smithy/types").Provider; - region: string | import("@smithy/types").Provider; - requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler; - retryMode: string | import("@smithy/types").Provider; - sha256: import("@smithy/types").HashConstructor; - streamCollector: import("@smithy/types").StreamCollector; - useDualstackEndpoint: boolean | import("@smithy/types").Provider; - useFipsEndpoint: boolean | import("@smithy/types").Provider; - userAgentAppId: string | import("@smithy/types").Provider; - cacheMiddleware?: boolean | undefined; - protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core").AwsJson1_0Protocol; - protocolSettings: { - defaultNamespace?: string; - [setting: string]: unknown; - }; - apiVersion: string; - urlParser: import("@smithy/types").UrlParser; - base64Decoder: import("@smithy/types").Decoder; - base64Encoder: (_input: Uint8Array | string) => string; - utf8Decoder: import("@smithy/types").Decoder; - utf8Encoder: (input: Uint8Array | string) => string; - disableHostPrefix: boolean; - serviceId: string; - profile?: string; - logger: import("@smithy/types").Logger; - extensions: import("./runtimeExtensions").RuntimeExtension[]; - customUserAgent?: string | import("@smithy/types").UserAgent; - retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; - endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; - endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { - logger?: import("@smithy/types").Logger; - }) => import("@smithy/types").EndpointV2; - tls?: boolean; - serviceConfiguredEndpoint?: never; - httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; - httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider; - credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; - signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); - signingEscapePath?: boolean; - systemClockOffset?: number; - signingRegion?: string; - signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; - endpointCacheSize?: number; - endpointDiscoveryEnabled?: boolean | undefined; - accountId?: string | undefined | import("@smithy/types").Provider; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.native.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.native.d.ts deleted file mode 100644 index 2bbc646e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.native.d.ts +++ /dev/null @@ -1,59 +0,0 @@ -import type { DynamoDBClientConfig } from "./DynamoDBClient"; -/** - * @internal - */ -export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => { - runtime: string; - sha256: import("@smithy/types").HashConstructor; - requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record | import("@smithy/protocol-http").HttpHandler | import("@smithy/fetch-http-handler").FetchHttpHandler; - cacheMiddleware?: boolean; - protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof import("@aws-sdk/core").AwsJson1_0Protocol; - protocolSettings: { - defaultNamespace?: string; - [setting: string]: unknown; - }; - apiVersion: string; - urlParser: import("@smithy/types").UrlParser; - bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; - streamCollector: import("@smithy/types").StreamCollector; - base64Decoder: import("@smithy/types").Decoder; - base64Encoder: (_input: Uint8Array | string) => string; - utf8Decoder: import("@smithy/types").Decoder; - utf8Encoder: (input: Uint8Array | string) => string; - disableHostPrefix: boolean; - serviceId: string; - useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); - useFipsEndpoint: (boolean | import("@smithy/types").Provider) & (boolean | import("@smithy/types").Provider); - region: string | import("@smithy/types").Provider; - profile?: string; - accountIdEndpointMode: "disabled" | "preferred" | "required" | (() => Promise); - defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise; - credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise); - maxAttempts: number | import("@smithy/types").Provider; - retryMode: string | import("@smithy/types").Provider; - logger: import("@smithy/types").Logger; - extensions: import("./runtimeExtensions").RuntimeExtension[]; - defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider; - endpointDiscoveryEnabledProvider: import("@smithy/types").Provider; - customUserAgent?: string | import("@smithy/types").UserAgent; - userAgentAppId?: string | undefined | import("@smithy/types").Provider; - retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2; - endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider) & (string | import("@smithy/types").Provider | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider)) | undefined; - endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { - logger?: import("@smithy/types").Logger; - }) => import("@smithy/types").EndpointV2; - tls?: boolean; - serviceConfiguredEndpoint?: never; - authSchemePreference?: string[] | import("@smithy/types").Provider; - httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; - httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider; - credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider; - signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise); - signingEscapePath?: boolean; - systemClockOffset?: number; - signingRegion?: string; - signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner; - endpointCacheSize?: number; - endpointDiscoveryEnabled?: boolean | undefined; - accountId?: string | undefined | import("@smithy/types").Provider; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.shared.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.shared.d.ts deleted file mode 100644 index b0f516e0..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.shared.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols"; -import type { DynamoDBClientConfig } from "./DynamoDBClient"; -/** - * @internal - */ -export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => { - apiVersion: string; - base64Decoder: import("@smithy/types").Decoder; - base64Encoder: (_input: Uint8Array | string) => string; - disableHostPrefix: boolean; - endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { - logger?: import("@smithy/types").Logger; - }) => import("@smithy/types").EndpointV2; - extensions: import("./runtimeExtensions").RuntimeExtension[]; - httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider; - httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; - logger: import("@smithy/types").Logger; - protocol: import("@smithy/types").ClientProtocol | import("@smithy/types").ClientProtocolCtor | typeof AwsJson1_0Protocol; - protocolSettings: { - [setting: string]: unknown; - defaultNamespace?: string; - }; - serviceId: string; - urlParser: import("@smithy/types").UrlParser; - utf8Decoder: import("@smithy/types").Decoder; - utf8Encoder: (input: Uint8Array | string) => string; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeExtensions.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeExtensions.d.ts deleted file mode 100644 index d511319c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeExtensions.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import type { DynamoDBExtensionConfiguration } from "./extensionConfiguration"; -/** - * @public - */ -export interface RuntimeExtension { - configure(extensionConfiguration: DynamoDBExtensionConfiguration): void; -} -/** - * @public - */ -export interface RuntimeExtensionsConfig { - extensions: RuntimeExtension[]; -} -/** - * @internal - */ -export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/schemas/schemas_0.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/schemas/schemas_0.d.ts deleted file mode 100644 index 2fb557d1..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/schemas/schemas_0.d.ts +++ /dev/null @@ -1,325 +0,0 @@ -import { TypeRegistry } from "@smithy/core/schema"; -import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types"; -export declare var DynamoDBServiceException$: StaticErrorSchema; -export declare var BackupInUseException$: StaticErrorSchema; -export declare var BackupNotFoundException$: StaticErrorSchema; -export declare var ConditionalCheckFailedException$: StaticErrorSchema; -export declare var ContinuousBackupsUnavailableException$: StaticErrorSchema; -export declare var DuplicateItemException$: StaticErrorSchema; -export declare var ExportConflictException$: StaticErrorSchema; -export declare var ExportNotFoundException$: StaticErrorSchema; -export declare var GlobalTableAlreadyExistsException$: StaticErrorSchema; -export declare var GlobalTableNotFoundException$: StaticErrorSchema; -export declare var IdempotentParameterMismatchException$: StaticErrorSchema; -export declare var ImportConflictException$: StaticErrorSchema; -export declare var ImportNotFoundException$: StaticErrorSchema; -export declare var IndexNotFoundException$: StaticErrorSchema; -export declare var InternalServerError$: StaticErrorSchema; -export declare var InvalidEndpointException$: StaticErrorSchema; -export declare var InvalidExportTimeException$: StaticErrorSchema; -export declare var InvalidRestoreTimeException$: StaticErrorSchema; -export declare var ItemCollectionSizeLimitExceededException$: StaticErrorSchema; -export declare var LimitExceededException$: StaticErrorSchema; -export declare var PointInTimeRecoveryUnavailableException$: StaticErrorSchema; -export declare var PolicyNotFoundException$: StaticErrorSchema; -export declare var ProvisionedThroughputExceededException$: StaticErrorSchema; -export declare var ReplicaAlreadyExistsException$: StaticErrorSchema; -export declare var ReplicaNotFoundException$: StaticErrorSchema; -export declare var ReplicatedWriteConflictException$: StaticErrorSchema; -export declare var RequestLimitExceeded$: StaticErrorSchema; -export declare var ResourceInUseException$: StaticErrorSchema; -export declare var ResourceNotFoundException$: StaticErrorSchema; -export declare var TableAlreadyExistsException$: StaticErrorSchema; -export declare var TableInUseException$: StaticErrorSchema; -export declare var TableNotFoundException$: StaticErrorSchema; -export declare var ThrottlingException$: StaticErrorSchema; -export declare var TransactionCanceledException$: StaticErrorSchema; -export declare var TransactionConflictException$: StaticErrorSchema; -export declare var TransactionInProgressException$: StaticErrorSchema; -/** - * TypeRegistry instances containing modeled errors. - * @internal - * - */ -export declare const errorTypeRegistries: TypeRegistry[]; -export declare var ArchivalSummary$: StaticStructureSchema; -export declare var AttributeDefinition$: StaticStructureSchema; -export declare var AttributeValueUpdate$: StaticStructureSchema; -export declare var AutoScalingPolicyDescription$: StaticStructureSchema; -export declare var AutoScalingPolicyUpdate$: StaticStructureSchema; -export declare var AutoScalingSettingsDescription$: StaticStructureSchema; -export declare var AutoScalingSettingsUpdate$: StaticStructureSchema; -export declare var AutoScalingTargetTrackingScalingPolicyConfigurationDescription$: StaticStructureSchema; -export declare var AutoScalingTargetTrackingScalingPolicyConfigurationUpdate$: StaticStructureSchema; -export declare var BackupDescription$: StaticStructureSchema; -export declare var BackupDetails$: StaticStructureSchema; -export declare var BackupSummary$: StaticStructureSchema; -export declare var BatchExecuteStatementInput$: StaticStructureSchema; -export declare var BatchExecuteStatementOutput$: StaticStructureSchema; -export declare var BatchGetItemInput$: StaticStructureSchema; -export declare var BatchGetItemOutput$: StaticStructureSchema; -export declare var BatchStatementError$: StaticStructureSchema; -export declare var BatchStatementRequest$: StaticStructureSchema; -export declare var BatchStatementResponse$: StaticStructureSchema; -export declare var BatchWriteItemInput$: StaticStructureSchema; -export declare var BatchWriteItemOutput$: StaticStructureSchema; -export declare var BillingModeSummary$: StaticStructureSchema; -export declare var CancellationReason$: StaticStructureSchema; -export declare var Capacity$: StaticStructureSchema; -export declare var Condition$: StaticStructureSchema; -export declare var ConditionCheck$: StaticStructureSchema; -export declare var ConsumedCapacity$: StaticStructureSchema; -export declare var ContinuousBackupsDescription$: StaticStructureSchema; -export declare var ContributorInsightsSummary$: StaticStructureSchema; -export declare var CreateBackupInput$: StaticStructureSchema; -export declare var CreateBackupOutput$: StaticStructureSchema; -export declare var CreateGlobalSecondaryIndexAction$: StaticStructureSchema; -export declare var CreateGlobalTableInput$: StaticStructureSchema; -export declare var CreateGlobalTableOutput$: StaticStructureSchema; -export declare var CreateGlobalTableWitnessGroupMemberAction$: StaticStructureSchema; -export declare var CreateReplicaAction$: StaticStructureSchema; -export declare var CreateReplicationGroupMemberAction$: StaticStructureSchema; -export declare var CreateTableInput$: StaticStructureSchema; -export declare var CreateTableOutput$: StaticStructureSchema; -export declare var CsvOptions$: StaticStructureSchema; -export declare var Delete$: StaticStructureSchema; -export declare var DeleteBackupInput$: StaticStructureSchema; -export declare var DeleteBackupOutput$: StaticStructureSchema; -export declare var DeleteGlobalSecondaryIndexAction$: StaticStructureSchema; -export declare var DeleteGlobalTableWitnessGroupMemberAction$: StaticStructureSchema; -export declare var DeleteItemInput$: StaticStructureSchema; -export declare var DeleteItemOutput$: StaticStructureSchema; -export declare var DeleteReplicaAction$: StaticStructureSchema; -export declare var DeleteReplicationGroupMemberAction$: StaticStructureSchema; -export declare var DeleteRequest$: StaticStructureSchema; -export declare var DeleteResourcePolicyInput$: StaticStructureSchema; -export declare var DeleteResourcePolicyOutput$: StaticStructureSchema; -export declare var DeleteTableInput$: StaticStructureSchema; -export declare var DeleteTableOutput$: StaticStructureSchema; -export declare var DescribeBackupInput$: StaticStructureSchema; -export declare var DescribeBackupOutput$: StaticStructureSchema; -export declare var DescribeContinuousBackupsInput$: StaticStructureSchema; -export declare var DescribeContinuousBackupsOutput$: StaticStructureSchema; -export declare var DescribeContributorInsightsInput$: StaticStructureSchema; -export declare var DescribeContributorInsightsOutput$: StaticStructureSchema; -export declare var DescribeEndpointsRequest$: StaticStructureSchema; -export declare var DescribeEndpointsResponse$: StaticStructureSchema; -export declare var DescribeExportInput$: StaticStructureSchema; -export declare var DescribeExportOutput$: StaticStructureSchema; -export declare var DescribeGlobalTableInput$: StaticStructureSchema; -export declare var DescribeGlobalTableOutput$: StaticStructureSchema; -export declare var DescribeGlobalTableSettingsInput$: StaticStructureSchema; -export declare var DescribeGlobalTableSettingsOutput$: StaticStructureSchema; -export declare var DescribeImportInput$: StaticStructureSchema; -export declare var DescribeImportOutput$: StaticStructureSchema; -export declare var DescribeKinesisStreamingDestinationInput$: StaticStructureSchema; -export declare var DescribeKinesisStreamingDestinationOutput$: StaticStructureSchema; -export declare var DescribeLimitsInput$: StaticStructureSchema; -export declare var DescribeLimitsOutput$: StaticStructureSchema; -export declare var DescribeTableInput$: StaticStructureSchema; -export declare var DescribeTableOutput$: StaticStructureSchema; -export declare var DescribeTableReplicaAutoScalingInput$: StaticStructureSchema; -export declare var DescribeTableReplicaAutoScalingOutput$: StaticStructureSchema; -export declare var DescribeTimeToLiveInput$: StaticStructureSchema; -export declare var DescribeTimeToLiveOutput$: StaticStructureSchema; -export declare var EnableKinesisStreamingConfiguration$: StaticStructureSchema; -export declare var Endpoint$: StaticStructureSchema; -export declare var ExecuteStatementInput$: StaticStructureSchema; -export declare var ExecuteStatementOutput$: StaticStructureSchema; -export declare var ExecuteTransactionInput$: StaticStructureSchema; -export declare var ExecuteTransactionOutput$: StaticStructureSchema; -export declare var ExpectedAttributeValue$: StaticStructureSchema; -export declare var ExportDescription$: StaticStructureSchema; -export declare var ExportSummary$: StaticStructureSchema; -export declare var ExportTableToPointInTimeInput$: StaticStructureSchema; -export declare var ExportTableToPointInTimeOutput$: StaticStructureSchema; -export declare var FailureException$: StaticStructureSchema; -export declare var Get$: StaticStructureSchema; -export declare var GetItemInput$: StaticStructureSchema; -export declare var GetItemOutput$: StaticStructureSchema; -export declare var GetResourcePolicyInput$: StaticStructureSchema; -export declare var GetResourcePolicyOutput$: StaticStructureSchema; -export declare var GlobalSecondaryIndex$: StaticStructureSchema; -export declare var GlobalSecondaryIndexAutoScalingUpdate$: StaticStructureSchema; -export declare var GlobalSecondaryIndexDescription$: StaticStructureSchema; -export declare var GlobalSecondaryIndexInfo$: StaticStructureSchema; -export declare var GlobalSecondaryIndexUpdate$: StaticStructureSchema; -export declare var GlobalSecondaryIndexWarmThroughputDescription$: StaticStructureSchema; -export declare var GlobalTable$: StaticStructureSchema; -export declare var GlobalTableDescription$: StaticStructureSchema; -export declare var GlobalTableGlobalSecondaryIndexSettingsUpdate$: StaticStructureSchema; -export declare var GlobalTableWitnessDescription$: StaticStructureSchema; -export declare var GlobalTableWitnessGroupUpdate$: StaticStructureSchema; -export declare var ImportSummary$: StaticStructureSchema; -export declare var ImportTableDescription$: StaticStructureSchema; -export declare var ImportTableInput$: StaticStructureSchema; -export declare var ImportTableOutput$: StaticStructureSchema; -export declare var IncrementalExportSpecification$: StaticStructureSchema; -export declare var InputFormatOptions$: StaticStructureSchema; -export declare var ItemCollectionMetrics$: StaticStructureSchema; -export declare var ItemResponse$: StaticStructureSchema; -export declare var KeysAndAttributes$: StaticStructureSchema; -export declare var KeySchemaElement$: StaticStructureSchema; -export declare var KinesisDataStreamDestination$: StaticStructureSchema; -export declare var KinesisStreamingDestinationInput$: StaticStructureSchema; -export declare var KinesisStreamingDestinationOutput$: StaticStructureSchema; -export declare var ListBackupsInput$: StaticStructureSchema; -export declare var ListBackupsOutput$: StaticStructureSchema; -export declare var ListContributorInsightsInput$: StaticStructureSchema; -export declare var ListContributorInsightsOutput$: StaticStructureSchema; -export declare var ListExportsInput$: StaticStructureSchema; -export declare var ListExportsOutput$: StaticStructureSchema; -export declare var ListGlobalTablesInput$: StaticStructureSchema; -export declare var ListGlobalTablesOutput$: StaticStructureSchema; -export declare var ListImportsInput$: StaticStructureSchema; -export declare var ListImportsOutput$: StaticStructureSchema; -export declare var ListTablesInput$: StaticStructureSchema; -export declare var ListTablesOutput$: StaticStructureSchema; -export declare var ListTagsOfResourceInput$: StaticStructureSchema; -export declare var ListTagsOfResourceOutput$: StaticStructureSchema; -export declare var LocalSecondaryIndex$: StaticStructureSchema; -export declare var LocalSecondaryIndexDescription$: StaticStructureSchema; -export declare var LocalSecondaryIndexInfo$: StaticStructureSchema; -export declare var OnDemandThroughput$: StaticStructureSchema; -export declare var OnDemandThroughputOverride$: StaticStructureSchema; -export declare var ParameterizedStatement$: StaticStructureSchema; -export declare var PointInTimeRecoveryDescription$: StaticStructureSchema; -export declare var PointInTimeRecoverySpecification$: StaticStructureSchema; -export declare var Projection$: StaticStructureSchema; -export declare var ProvisionedThroughput$: StaticStructureSchema; -export declare var ProvisionedThroughputDescription$: StaticStructureSchema; -export declare var ProvisionedThroughputOverride$: StaticStructureSchema; -export declare var Put$: StaticStructureSchema; -export declare var PutItemInput$: StaticStructureSchema; -export declare var PutItemOutput$: StaticStructureSchema; -export declare var PutRequest$: StaticStructureSchema; -export declare var PutResourcePolicyInput$: StaticStructureSchema; -export declare var PutResourcePolicyOutput$: StaticStructureSchema; -export declare var QueryInput$: StaticStructureSchema; -export declare var QueryOutput$: StaticStructureSchema; -export declare var Replica$: StaticStructureSchema; -export declare var ReplicaAutoScalingDescription$: StaticStructureSchema; -export declare var ReplicaAutoScalingUpdate$: StaticStructureSchema; -export declare var ReplicaDescription$: StaticStructureSchema; -export declare var ReplicaGlobalSecondaryIndex$: StaticStructureSchema; -export declare var ReplicaGlobalSecondaryIndexAutoScalingDescription$: StaticStructureSchema; -export declare var ReplicaGlobalSecondaryIndexAutoScalingUpdate$: StaticStructureSchema; -export declare var ReplicaGlobalSecondaryIndexDescription$: StaticStructureSchema; -export declare var ReplicaGlobalSecondaryIndexSettingsDescription$: StaticStructureSchema; -export declare var ReplicaGlobalSecondaryIndexSettingsUpdate$: StaticStructureSchema; -export declare var ReplicaSettingsDescription$: StaticStructureSchema; -export declare var ReplicaSettingsUpdate$: StaticStructureSchema; -export declare var ReplicationGroupUpdate$: StaticStructureSchema; -export declare var ReplicaUpdate$: StaticStructureSchema; -export declare var RestoreSummary$: StaticStructureSchema; -export declare var RestoreTableFromBackupInput$: StaticStructureSchema; -export declare var RestoreTableFromBackupOutput$: StaticStructureSchema; -export declare var RestoreTableToPointInTimeInput$: StaticStructureSchema; -export declare var RestoreTableToPointInTimeOutput$: StaticStructureSchema; -export declare var S3BucketSource$: StaticStructureSchema; -export declare var ScanInput$: StaticStructureSchema; -export declare var ScanOutput$: StaticStructureSchema; -export declare var SourceTableDetails$: StaticStructureSchema; -export declare var SourceTableFeatureDetails$: StaticStructureSchema; -export declare var SSEDescription$: StaticStructureSchema; -export declare var SSESpecification$: StaticStructureSchema; -export declare var StreamSpecification$: StaticStructureSchema; -export declare var TableAutoScalingDescription$: StaticStructureSchema; -export declare var TableClassSummary$: StaticStructureSchema; -export declare var TableCreationParameters$: StaticStructureSchema; -export declare var TableDescription$: StaticStructureSchema; -export declare var TableWarmThroughputDescription$: StaticStructureSchema; -export declare var Tag$: StaticStructureSchema; -export declare var TagResourceInput$: StaticStructureSchema; -export declare var ThrottlingReason$: StaticStructureSchema; -export declare var TimeToLiveDescription$: StaticStructureSchema; -export declare var TimeToLiveSpecification$: StaticStructureSchema; -export declare var TransactGetItem$: StaticStructureSchema; -export declare var TransactGetItemsInput$: StaticStructureSchema; -export declare var TransactGetItemsOutput$: StaticStructureSchema; -export declare var TransactWriteItem$: StaticStructureSchema; -export declare var TransactWriteItemsInput$: StaticStructureSchema; -export declare var TransactWriteItemsOutput$: StaticStructureSchema; -export declare var UntagResourceInput$: StaticStructureSchema; -export declare var Update$: StaticStructureSchema; -export declare var UpdateContinuousBackupsInput$: StaticStructureSchema; -export declare var UpdateContinuousBackupsOutput$: StaticStructureSchema; -export declare var UpdateContributorInsightsInput$: StaticStructureSchema; -export declare var UpdateContributorInsightsOutput$: StaticStructureSchema; -export declare var UpdateGlobalSecondaryIndexAction$: StaticStructureSchema; -export declare var UpdateGlobalTableInput$: StaticStructureSchema; -export declare var UpdateGlobalTableOutput$: StaticStructureSchema; -export declare var UpdateGlobalTableSettingsInput$: StaticStructureSchema; -export declare var UpdateGlobalTableSettingsOutput$: StaticStructureSchema; -export declare var UpdateItemInput$: StaticStructureSchema; -export declare var UpdateItemOutput$: StaticStructureSchema; -export declare var UpdateKinesisStreamingConfiguration$: StaticStructureSchema; -export declare var UpdateKinesisStreamingDestinationInput$: StaticStructureSchema; -export declare var UpdateKinesisStreamingDestinationOutput$: StaticStructureSchema; -export declare var UpdateReplicationGroupMemberAction$: StaticStructureSchema; -export declare var UpdateTableInput$: StaticStructureSchema; -export declare var UpdateTableOutput$: StaticStructureSchema; -export declare var UpdateTableReplicaAutoScalingInput$: StaticStructureSchema; -export declare var UpdateTableReplicaAutoScalingOutput$: StaticStructureSchema; -export declare var UpdateTimeToLiveInput$: StaticStructureSchema; -export declare var UpdateTimeToLiveOutput$: StaticStructureSchema; -export declare var WarmThroughput$: StaticStructureSchema; -export declare var WriteRequest$: StaticStructureSchema; -export declare var AttributeValue$: StaticUnionSchema; -export declare var BatchExecuteStatement$: StaticOperationSchema; -export declare var BatchGetItem$: StaticOperationSchema; -export declare var BatchWriteItem$: StaticOperationSchema; -export declare var CreateBackup$: StaticOperationSchema; -export declare var CreateGlobalTable$: StaticOperationSchema; -export declare var CreateTable$: StaticOperationSchema; -export declare var DeleteBackup$: StaticOperationSchema; -export declare var DeleteItem$: StaticOperationSchema; -export declare var DeleteResourcePolicy$: StaticOperationSchema; -export declare var DeleteTable$: StaticOperationSchema; -export declare var DescribeBackup$: StaticOperationSchema; -export declare var DescribeContinuousBackups$: StaticOperationSchema; -export declare var DescribeContributorInsights$: StaticOperationSchema; -export declare var DescribeEndpoints$: StaticOperationSchema; -export declare var DescribeExport$: StaticOperationSchema; -export declare var DescribeGlobalTable$: StaticOperationSchema; -export declare var DescribeGlobalTableSettings$: StaticOperationSchema; -export declare var DescribeImport$: StaticOperationSchema; -export declare var DescribeKinesisStreamingDestination$: StaticOperationSchema; -export declare var DescribeLimits$: StaticOperationSchema; -export declare var DescribeTable$: StaticOperationSchema; -export declare var DescribeTableReplicaAutoScaling$: StaticOperationSchema; -export declare var DescribeTimeToLive$: StaticOperationSchema; -export declare var DisableKinesisStreamingDestination$: StaticOperationSchema; -export declare var EnableKinesisStreamingDestination$: StaticOperationSchema; -export declare var ExecuteStatement$: StaticOperationSchema; -export declare var ExecuteTransaction$: StaticOperationSchema; -export declare var ExportTableToPointInTime$: StaticOperationSchema; -export declare var GetItem$: StaticOperationSchema; -export declare var GetResourcePolicy$: StaticOperationSchema; -export declare var ImportTable$: StaticOperationSchema; -export declare var ListBackups$: StaticOperationSchema; -export declare var ListContributorInsights$: StaticOperationSchema; -export declare var ListExports$: StaticOperationSchema; -export declare var ListGlobalTables$: StaticOperationSchema; -export declare var ListImports$: StaticOperationSchema; -export declare var ListTables$: StaticOperationSchema; -export declare var ListTagsOfResource$: StaticOperationSchema; -export declare var PutItem$: StaticOperationSchema; -export declare var PutResourcePolicy$: StaticOperationSchema; -export declare var Query$: StaticOperationSchema; -export declare var RestoreTableFromBackup$: StaticOperationSchema; -export declare var RestoreTableToPointInTime$: StaticOperationSchema; -export declare var Scan$: StaticOperationSchema; -export declare var TagResource$: StaticOperationSchema; -export declare var TransactGetItems$: StaticOperationSchema; -export declare var TransactWriteItems$: StaticOperationSchema; -export declare var UntagResource$: StaticOperationSchema; -export declare var UpdateContinuousBackups$: StaticOperationSchema; -export declare var UpdateContributorInsights$: StaticOperationSchema; -export declare var UpdateGlobalTable$: StaticOperationSchema; -export declare var UpdateGlobalTableSettings$: StaticOperationSchema; -export declare var UpdateItem$: StaticOperationSchema; -export declare var UpdateKinesisStreamingDestination$: StaticOperationSchema; -export declare var UpdateTable$: StaticOperationSchema; -export declare var UpdateTableReplicaAutoScaling$: StaticOperationSchema; -export declare var UpdateTimeToLive$: StaticOperationSchema; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/DynamoDB.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/DynamoDB.d.ts deleted file mode 100644 index 3bb70bd4..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/DynamoDB.d.ts +++ /dev/null @@ -1,1102 +0,0 @@ -import { - HttpHandlerOptions as __HttpHandlerOptions, - PaginationConfiguration, - Paginator, - WaiterConfiguration, -} from "@smithy/types"; -import { WaiterResult } from "@smithy/util-waiter"; -import { - BatchExecuteStatementCommandInput, - BatchExecuteStatementCommandOutput, -} from "./commands/BatchExecuteStatementCommand"; -import { - BatchGetItemCommandInput, - BatchGetItemCommandOutput, -} from "./commands/BatchGetItemCommand"; -import { - BatchWriteItemCommandInput, - BatchWriteItemCommandOutput, -} from "./commands/BatchWriteItemCommand"; -import { - CreateBackupCommandInput, - CreateBackupCommandOutput, -} from "./commands/CreateBackupCommand"; -import { - CreateGlobalTableCommandInput, - CreateGlobalTableCommandOutput, -} from "./commands/CreateGlobalTableCommand"; -import { - CreateTableCommandInput, - CreateTableCommandOutput, -} from "./commands/CreateTableCommand"; -import { - DeleteBackupCommandInput, - DeleteBackupCommandOutput, -} from "./commands/DeleteBackupCommand"; -import { - DeleteItemCommandInput, - DeleteItemCommandOutput, -} from "./commands/DeleteItemCommand"; -import { - DeleteResourcePolicyCommandInput, - DeleteResourcePolicyCommandOutput, -} from "./commands/DeleteResourcePolicyCommand"; -import { - DeleteTableCommandInput, - DeleteTableCommandOutput, -} from "./commands/DeleteTableCommand"; -import { - DescribeBackupCommandInput, - DescribeBackupCommandOutput, -} from "./commands/DescribeBackupCommand"; -import { - DescribeContinuousBackupsCommandInput, - DescribeContinuousBackupsCommandOutput, -} from "./commands/DescribeContinuousBackupsCommand"; -import { - DescribeContributorInsightsCommandInput, - DescribeContributorInsightsCommandOutput, -} from "./commands/DescribeContributorInsightsCommand"; -import { - DescribeEndpointsCommandInput, - DescribeEndpointsCommandOutput, -} from "./commands/DescribeEndpointsCommand"; -import { - DescribeExportCommandInput, - DescribeExportCommandOutput, -} from "./commands/DescribeExportCommand"; -import { - DescribeGlobalTableCommandInput, - DescribeGlobalTableCommandOutput, -} from "./commands/DescribeGlobalTableCommand"; -import { - DescribeGlobalTableSettingsCommandInput, - DescribeGlobalTableSettingsCommandOutput, -} from "./commands/DescribeGlobalTableSettingsCommand"; -import { - DescribeImportCommandInput, - DescribeImportCommandOutput, -} from "./commands/DescribeImportCommand"; -import { - DescribeKinesisStreamingDestinationCommandInput, - DescribeKinesisStreamingDestinationCommandOutput, -} from "./commands/DescribeKinesisStreamingDestinationCommand"; -import { - DescribeLimitsCommandInput, - DescribeLimitsCommandOutput, -} from "./commands/DescribeLimitsCommand"; -import { - DescribeTableCommandInput, - DescribeTableCommandOutput, -} from "./commands/DescribeTableCommand"; -import { - DescribeTableReplicaAutoScalingCommandInput, - DescribeTableReplicaAutoScalingCommandOutput, -} from "./commands/DescribeTableReplicaAutoScalingCommand"; -import { - DescribeTimeToLiveCommandInput, - DescribeTimeToLiveCommandOutput, -} from "./commands/DescribeTimeToLiveCommand"; -import { - DisableKinesisStreamingDestinationCommandInput, - DisableKinesisStreamingDestinationCommandOutput, -} from "./commands/DisableKinesisStreamingDestinationCommand"; -import { - EnableKinesisStreamingDestinationCommandInput, - EnableKinesisStreamingDestinationCommandOutput, -} from "./commands/EnableKinesisStreamingDestinationCommand"; -import { - ExecuteStatementCommandInput, - ExecuteStatementCommandOutput, -} from "./commands/ExecuteStatementCommand"; -import { - ExecuteTransactionCommandInput, - ExecuteTransactionCommandOutput, -} from "./commands/ExecuteTransactionCommand"; -import { - ExportTableToPointInTimeCommandInput, - ExportTableToPointInTimeCommandOutput, -} from "./commands/ExportTableToPointInTimeCommand"; -import { - GetItemCommandInput, - GetItemCommandOutput, -} from "./commands/GetItemCommand"; -import { - GetResourcePolicyCommandInput, - GetResourcePolicyCommandOutput, -} from "./commands/GetResourcePolicyCommand"; -import { - ImportTableCommandInput, - ImportTableCommandOutput, -} from "./commands/ImportTableCommand"; -import { - ListBackupsCommandInput, - ListBackupsCommandOutput, -} from "./commands/ListBackupsCommand"; -import { - ListContributorInsightsCommandInput, - ListContributorInsightsCommandOutput, -} from "./commands/ListContributorInsightsCommand"; -import { - ListExportsCommandInput, - ListExportsCommandOutput, -} from "./commands/ListExportsCommand"; -import { - ListGlobalTablesCommandInput, - ListGlobalTablesCommandOutput, -} from "./commands/ListGlobalTablesCommand"; -import { - ListImportsCommandInput, - ListImportsCommandOutput, -} from "./commands/ListImportsCommand"; -import { - ListTablesCommandInput, - ListTablesCommandOutput, -} from "./commands/ListTablesCommand"; -import { - ListTagsOfResourceCommandInput, - ListTagsOfResourceCommandOutput, -} from "./commands/ListTagsOfResourceCommand"; -import { - PutItemCommandInput, - PutItemCommandOutput, -} from "./commands/PutItemCommand"; -import { - PutResourcePolicyCommandInput, - PutResourcePolicyCommandOutput, -} from "./commands/PutResourcePolicyCommand"; -import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand"; -import { - RestoreTableFromBackupCommandInput, - RestoreTableFromBackupCommandOutput, -} from "./commands/RestoreTableFromBackupCommand"; -import { - RestoreTableToPointInTimeCommandInput, - RestoreTableToPointInTimeCommandOutput, -} from "./commands/RestoreTableToPointInTimeCommand"; -import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand"; -import { - TagResourceCommandInput, - TagResourceCommandOutput, -} from "./commands/TagResourceCommand"; -import { - TransactGetItemsCommandInput, - TransactGetItemsCommandOutput, -} from "./commands/TransactGetItemsCommand"; -import { - TransactWriteItemsCommandInput, - TransactWriteItemsCommandOutput, -} from "./commands/TransactWriteItemsCommand"; -import { - UntagResourceCommandInput, - UntagResourceCommandOutput, -} from "./commands/UntagResourceCommand"; -import { - UpdateContinuousBackupsCommandInput, - UpdateContinuousBackupsCommandOutput, -} from "./commands/UpdateContinuousBackupsCommand"; -import { - UpdateContributorInsightsCommandInput, - UpdateContributorInsightsCommandOutput, -} from "./commands/UpdateContributorInsightsCommand"; -import { - UpdateGlobalTableCommandInput, - UpdateGlobalTableCommandOutput, -} from "./commands/UpdateGlobalTableCommand"; -import { - UpdateGlobalTableSettingsCommandInput, - UpdateGlobalTableSettingsCommandOutput, -} from "./commands/UpdateGlobalTableSettingsCommand"; -import { - UpdateItemCommandInput, - UpdateItemCommandOutput, -} from "./commands/UpdateItemCommand"; -import { - UpdateKinesisStreamingDestinationCommandInput, - UpdateKinesisStreamingDestinationCommandOutput, -} from "./commands/UpdateKinesisStreamingDestinationCommand"; -import { - UpdateTableCommandInput, - UpdateTableCommandOutput, -} from "./commands/UpdateTableCommand"; -import { - UpdateTableReplicaAutoScalingCommandInput, - UpdateTableReplicaAutoScalingCommandOutput, -} from "./commands/UpdateTableReplicaAutoScalingCommand"; -import { - UpdateTimeToLiveCommandInput, - UpdateTimeToLiveCommandOutput, -} from "./commands/UpdateTimeToLiveCommand"; -import { DynamoDBClient } from "./DynamoDBClient"; -export interface DynamoDB { - batchExecuteStatement( - args: BatchExecuteStatementCommandInput, - options?: __HttpHandlerOptions - ): Promise; - batchExecuteStatement( - args: BatchExecuteStatementCommandInput, - cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void - ): void; - batchExecuteStatement( - args: BatchExecuteStatementCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void - ): void; - batchGetItem( - args: BatchGetItemCommandInput, - options?: __HttpHandlerOptions - ): Promise; - batchGetItem( - args: BatchGetItemCommandInput, - cb: (err: any, data?: BatchGetItemCommandOutput) => void - ): void; - batchGetItem( - args: BatchGetItemCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: BatchGetItemCommandOutput) => void - ): void; - batchWriteItem( - args: BatchWriteItemCommandInput, - options?: __HttpHandlerOptions - ): Promise; - batchWriteItem( - args: BatchWriteItemCommandInput, - cb: (err: any, data?: BatchWriteItemCommandOutput) => void - ): void; - batchWriteItem( - args: BatchWriteItemCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: BatchWriteItemCommandOutput) => void - ): void; - createBackup( - args: CreateBackupCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createBackup( - args: CreateBackupCommandInput, - cb: (err: any, data?: CreateBackupCommandOutput) => void - ): void; - createBackup( - args: CreateBackupCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateBackupCommandOutput) => void - ): void; - createGlobalTable( - args: CreateGlobalTableCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createGlobalTable( - args: CreateGlobalTableCommandInput, - cb: (err: any, data?: CreateGlobalTableCommandOutput) => void - ): void; - createGlobalTable( - args: CreateGlobalTableCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateGlobalTableCommandOutput) => void - ): void; - createTable( - args: CreateTableCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createTable( - args: CreateTableCommandInput, - cb: (err: any, data?: CreateTableCommandOutput) => void - ): void; - createTable( - args: CreateTableCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateTableCommandOutput) => void - ): void; - deleteBackup( - args: DeleteBackupCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteBackup( - args: DeleteBackupCommandInput, - cb: (err: any, data?: DeleteBackupCommandOutput) => void - ): void; - deleteBackup( - args: DeleteBackupCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteBackupCommandOutput) => void - ): void; - deleteItem( - args: DeleteItemCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteItem( - args: DeleteItemCommandInput, - cb: (err: any, data?: DeleteItemCommandOutput) => void - ): void; - deleteItem( - args: DeleteItemCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteItemCommandOutput) => void - ): void; - deleteResourcePolicy( - args: DeleteResourcePolicyCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteResourcePolicy( - args: DeleteResourcePolicyCommandInput, - cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void - ): void; - deleteResourcePolicy( - args: DeleteResourcePolicyCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void - ): void; - deleteTable( - args: DeleteTableCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteTable( - args: DeleteTableCommandInput, - cb: (err: any, data?: DeleteTableCommandOutput) => void - ): void; - deleteTable( - args: DeleteTableCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteTableCommandOutput) => void - ): void; - describeBackup( - args: DescribeBackupCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeBackup( - args: DescribeBackupCommandInput, - cb: (err: any, data?: DescribeBackupCommandOutput) => void - ): void; - describeBackup( - args: DescribeBackupCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeBackupCommandOutput) => void - ): void; - describeContinuousBackups( - args: DescribeContinuousBackupsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeContinuousBackups( - args: DescribeContinuousBackupsCommandInput, - cb: (err: any, data?: DescribeContinuousBackupsCommandOutput) => void - ): void; - describeContinuousBackups( - args: DescribeContinuousBackupsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeContinuousBackupsCommandOutput) => void - ): void; - describeContributorInsights( - args: DescribeContributorInsightsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeContributorInsights( - args: DescribeContributorInsightsCommandInput, - cb: (err: any, data?: DescribeContributorInsightsCommandOutput) => void - ): void; - describeContributorInsights( - args: DescribeContributorInsightsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeContributorInsightsCommandOutput) => void - ): void; - describeEndpoints(): Promise; - describeEndpoints( - args: DescribeEndpointsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeEndpoints( - args: DescribeEndpointsCommandInput, - cb: (err: any, data?: DescribeEndpointsCommandOutput) => void - ): void; - describeEndpoints( - args: DescribeEndpointsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeEndpointsCommandOutput) => void - ): void; - describeExport( - args: DescribeExportCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeExport( - args: DescribeExportCommandInput, - cb: (err: any, data?: DescribeExportCommandOutput) => void - ): void; - describeExport( - args: DescribeExportCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeExportCommandOutput) => void - ): void; - describeGlobalTable( - args: DescribeGlobalTableCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeGlobalTable( - args: DescribeGlobalTableCommandInput, - cb: (err: any, data?: DescribeGlobalTableCommandOutput) => void - ): void; - describeGlobalTable( - args: DescribeGlobalTableCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeGlobalTableCommandOutput) => void - ): void; - describeGlobalTableSettings( - args: DescribeGlobalTableSettingsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeGlobalTableSettings( - args: DescribeGlobalTableSettingsCommandInput, - cb: (err: any, data?: DescribeGlobalTableSettingsCommandOutput) => void - ): void; - describeGlobalTableSettings( - args: DescribeGlobalTableSettingsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeGlobalTableSettingsCommandOutput) => void - ): void; - describeImport( - args: DescribeImportCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeImport( - args: DescribeImportCommandInput, - cb: (err: any, data?: DescribeImportCommandOutput) => void - ): void; - describeImport( - args: DescribeImportCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeImportCommandOutput) => void - ): void; - describeKinesisStreamingDestination( - args: DescribeKinesisStreamingDestinationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeKinesisStreamingDestination( - args: DescribeKinesisStreamingDestinationCommandInput, - cb: ( - err: any, - data?: DescribeKinesisStreamingDestinationCommandOutput - ) => void - ): void; - describeKinesisStreamingDestination( - args: DescribeKinesisStreamingDestinationCommandInput, - options: __HttpHandlerOptions, - cb: ( - err: any, - data?: DescribeKinesisStreamingDestinationCommandOutput - ) => void - ): void; - describeLimits(): Promise; - describeLimits( - args: DescribeLimitsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeLimits( - args: DescribeLimitsCommandInput, - cb: (err: any, data?: DescribeLimitsCommandOutput) => void - ): void; - describeLimits( - args: DescribeLimitsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeLimitsCommandOutput) => void - ): void; - describeTable( - args: DescribeTableCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeTable( - args: DescribeTableCommandInput, - cb: (err: any, data?: DescribeTableCommandOutput) => void - ): void; - describeTable( - args: DescribeTableCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeTableCommandOutput) => void - ): void; - describeTableReplicaAutoScaling( - args: DescribeTableReplicaAutoScalingCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeTableReplicaAutoScaling( - args: DescribeTableReplicaAutoScalingCommandInput, - cb: (err: any, data?: DescribeTableReplicaAutoScalingCommandOutput) => void - ): void; - describeTableReplicaAutoScaling( - args: DescribeTableReplicaAutoScalingCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeTableReplicaAutoScalingCommandOutput) => void - ): void; - describeTimeToLive( - args: DescribeTimeToLiveCommandInput, - options?: __HttpHandlerOptions - ): Promise; - describeTimeToLive( - args: DescribeTimeToLiveCommandInput, - cb: (err: any, data?: DescribeTimeToLiveCommandOutput) => void - ): void; - describeTimeToLive( - args: DescribeTimeToLiveCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeTimeToLiveCommandOutput) => void - ): void; - disableKinesisStreamingDestination( - args: DisableKinesisStreamingDestinationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - disableKinesisStreamingDestination( - args: DisableKinesisStreamingDestinationCommandInput, - cb: ( - err: any, - data?: DisableKinesisStreamingDestinationCommandOutput - ) => void - ): void; - disableKinesisStreamingDestination( - args: DisableKinesisStreamingDestinationCommandInput, - options: __HttpHandlerOptions, - cb: ( - err: any, - data?: DisableKinesisStreamingDestinationCommandOutput - ) => void - ): void; - enableKinesisStreamingDestination( - args: EnableKinesisStreamingDestinationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - enableKinesisStreamingDestination( - args: EnableKinesisStreamingDestinationCommandInput, - cb: ( - err: any, - data?: EnableKinesisStreamingDestinationCommandOutput - ) => void - ): void; - enableKinesisStreamingDestination( - args: EnableKinesisStreamingDestinationCommandInput, - options: __HttpHandlerOptions, - cb: ( - err: any, - data?: EnableKinesisStreamingDestinationCommandOutput - ) => void - ): void; - executeStatement( - args: ExecuteStatementCommandInput, - options?: __HttpHandlerOptions - ): Promise; - executeStatement( - args: ExecuteStatementCommandInput, - cb: (err: any, data?: ExecuteStatementCommandOutput) => void - ): void; - executeStatement( - args: ExecuteStatementCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ExecuteStatementCommandOutput) => void - ): void; - executeTransaction( - args: ExecuteTransactionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - executeTransaction( - args: ExecuteTransactionCommandInput, - cb: (err: any, data?: ExecuteTransactionCommandOutput) => void - ): void; - executeTransaction( - args: ExecuteTransactionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ExecuteTransactionCommandOutput) => void - ): void; - exportTableToPointInTime( - args: ExportTableToPointInTimeCommandInput, - options?: __HttpHandlerOptions - ): Promise; - exportTableToPointInTime( - args: ExportTableToPointInTimeCommandInput, - cb: (err: any, data?: ExportTableToPointInTimeCommandOutput) => void - ): void; - exportTableToPointInTime( - args: ExportTableToPointInTimeCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ExportTableToPointInTimeCommandOutput) => void - ): void; - getItem( - args: GetItemCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getItem( - args: GetItemCommandInput, - cb: (err: any, data?: GetItemCommandOutput) => void - ): void; - getItem( - args: GetItemCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetItemCommandOutput) => void - ): void; - getResourcePolicy( - args: GetResourcePolicyCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getResourcePolicy( - args: GetResourcePolicyCommandInput, - cb: (err: any, data?: GetResourcePolicyCommandOutput) => void - ): void; - getResourcePolicy( - args: GetResourcePolicyCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetResourcePolicyCommandOutput) => void - ): void; - importTable( - args: ImportTableCommandInput, - options?: __HttpHandlerOptions - ): Promise; - importTable( - args: ImportTableCommandInput, - cb: (err: any, data?: ImportTableCommandOutput) => void - ): void; - importTable( - args: ImportTableCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ImportTableCommandOutput) => void - ): void; - listBackups(): Promise; - listBackups( - args: ListBackupsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listBackups( - args: ListBackupsCommandInput, - cb: (err: any, data?: ListBackupsCommandOutput) => void - ): void; - listBackups( - args: ListBackupsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListBackupsCommandOutput) => void - ): void; - listContributorInsights(): Promise; - listContributorInsights( - args: ListContributorInsightsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listContributorInsights( - args: ListContributorInsightsCommandInput, - cb: (err: any, data?: ListContributorInsightsCommandOutput) => void - ): void; - listContributorInsights( - args: ListContributorInsightsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListContributorInsightsCommandOutput) => void - ): void; - listExports(): Promise; - listExports( - args: ListExportsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listExports( - args: ListExportsCommandInput, - cb: (err: any, data?: ListExportsCommandOutput) => void - ): void; - listExports( - args: ListExportsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListExportsCommandOutput) => void - ): void; - listGlobalTables(): Promise; - listGlobalTables( - args: ListGlobalTablesCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listGlobalTables( - args: ListGlobalTablesCommandInput, - cb: (err: any, data?: ListGlobalTablesCommandOutput) => void - ): void; - listGlobalTables( - args: ListGlobalTablesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListGlobalTablesCommandOutput) => void - ): void; - listImports(): Promise; - listImports( - args: ListImportsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listImports( - args: ListImportsCommandInput, - cb: (err: any, data?: ListImportsCommandOutput) => void - ): void; - listImports( - args: ListImportsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListImportsCommandOutput) => void - ): void; - listTables(): Promise; - listTables( - args: ListTablesCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listTables( - args: ListTablesCommandInput, - cb: (err: any, data?: ListTablesCommandOutput) => void - ): void; - listTables( - args: ListTablesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListTablesCommandOutput) => void - ): void; - listTagsOfResource( - args: ListTagsOfResourceCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listTagsOfResource( - args: ListTagsOfResourceCommandInput, - cb: (err: any, data?: ListTagsOfResourceCommandOutput) => void - ): void; - listTagsOfResource( - args: ListTagsOfResourceCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListTagsOfResourceCommandOutput) => void - ): void; - putItem( - args: PutItemCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putItem( - args: PutItemCommandInput, - cb: (err: any, data?: PutItemCommandOutput) => void - ): void; - putItem( - args: PutItemCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutItemCommandOutput) => void - ): void; - putResourcePolicy( - args: PutResourcePolicyCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putResourcePolicy( - args: PutResourcePolicyCommandInput, - cb: (err: any, data?: PutResourcePolicyCommandOutput) => void - ): void; - putResourcePolicy( - args: PutResourcePolicyCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutResourcePolicyCommandOutput) => void - ): void; - query( - args: QueryCommandInput, - options?: __HttpHandlerOptions - ): Promise; - query( - args: QueryCommandInput, - cb: (err: any, data?: QueryCommandOutput) => void - ): void; - query( - args: QueryCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: QueryCommandOutput) => void - ): void; - restoreTableFromBackup( - args: RestoreTableFromBackupCommandInput, - options?: __HttpHandlerOptions - ): Promise; - restoreTableFromBackup( - args: RestoreTableFromBackupCommandInput, - cb: (err: any, data?: RestoreTableFromBackupCommandOutput) => void - ): void; - restoreTableFromBackup( - args: RestoreTableFromBackupCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: RestoreTableFromBackupCommandOutput) => void - ): void; - restoreTableToPointInTime( - args: RestoreTableToPointInTimeCommandInput, - options?: __HttpHandlerOptions - ): Promise; - restoreTableToPointInTime( - args: RestoreTableToPointInTimeCommandInput, - cb: (err: any, data?: RestoreTableToPointInTimeCommandOutput) => void - ): void; - restoreTableToPointInTime( - args: RestoreTableToPointInTimeCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: RestoreTableToPointInTimeCommandOutput) => void - ): void; - scan( - args: ScanCommandInput, - options?: __HttpHandlerOptions - ): Promise; - scan( - args: ScanCommandInput, - cb: (err: any, data?: ScanCommandOutput) => void - ): void; - scan( - args: ScanCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ScanCommandOutput) => void - ): void; - tagResource( - args: TagResourceCommandInput, - options?: __HttpHandlerOptions - ): Promise; - tagResource( - args: TagResourceCommandInput, - cb: (err: any, data?: TagResourceCommandOutput) => void - ): void; - tagResource( - args: TagResourceCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: TagResourceCommandOutput) => void - ): void; - transactGetItems( - args: TransactGetItemsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - transactGetItems( - args: TransactGetItemsCommandInput, - cb: (err: any, data?: TransactGetItemsCommandOutput) => void - ): void; - transactGetItems( - args: TransactGetItemsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: TransactGetItemsCommandOutput) => void - ): void; - transactWriteItems( - args: TransactWriteItemsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - transactWriteItems( - args: TransactWriteItemsCommandInput, - cb: (err: any, data?: TransactWriteItemsCommandOutput) => void - ): void; - transactWriteItems( - args: TransactWriteItemsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: TransactWriteItemsCommandOutput) => void - ): void; - untagResource( - args: UntagResourceCommandInput, - options?: __HttpHandlerOptions - ): Promise; - untagResource( - args: UntagResourceCommandInput, - cb: (err: any, data?: UntagResourceCommandOutput) => void - ): void; - untagResource( - args: UntagResourceCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UntagResourceCommandOutput) => void - ): void; - updateContinuousBackups( - args: UpdateContinuousBackupsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateContinuousBackups( - args: UpdateContinuousBackupsCommandInput, - cb: (err: any, data?: UpdateContinuousBackupsCommandOutput) => void - ): void; - updateContinuousBackups( - args: UpdateContinuousBackupsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateContinuousBackupsCommandOutput) => void - ): void; - updateContributorInsights( - args: UpdateContributorInsightsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateContributorInsights( - args: UpdateContributorInsightsCommandInput, - cb: (err: any, data?: UpdateContributorInsightsCommandOutput) => void - ): void; - updateContributorInsights( - args: UpdateContributorInsightsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateContributorInsightsCommandOutput) => void - ): void; - updateGlobalTable( - args: UpdateGlobalTableCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateGlobalTable( - args: UpdateGlobalTableCommandInput, - cb: (err: any, data?: UpdateGlobalTableCommandOutput) => void - ): void; - updateGlobalTable( - args: UpdateGlobalTableCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateGlobalTableCommandOutput) => void - ): void; - updateGlobalTableSettings( - args: UpdateGlobalTableSettingsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateGlobalTableSettings( - args: UpdateGlobalTableSettingsCommandInput, - cb: (err: any, data?: UpdateGlobalTableSettingsCommandOutput) => void - ): void; - updateGlobalTableSettings( - args: UpdateGlobalTableSettingsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateGlobalTableSettingsCommandOutput) => void - ): void; - updateItem( - args: UpdateItemCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateItem( - args: UpdateItemCommandInput, - cb: (err: any, data?: UpdateItemCommandOutput) => void - ): void; - updateItem( - args: UpdateItemCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateItemCommandOutput) => void - ): void; - updateKinesisStreamingDestination( - args: UpdateKinesisStreamingDestinationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateKinesisStreamingDestination( - args: UpdateKinesisStreamingDestinationCommandInput, - cb: ( - err: any, - data?: UpdateKinesisStreamingDestinationCommandOutput - ) => void - ): void; - updateKinesisStreamingDestination( - args: UpdateKinesisStreamingDestinationCommandInput, - options: __HttpHandlerOptions, - cb: ( - err: any, - data?: UpdateKinesisStreamingDestinationCommandOutput - ) => void - ): void; - updateTable( - args: UpdateTableCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateTable( - args: UpdateTableCommandInput, - cb: (err: any, data?: UpdateTableCommandOutput) => void - ): void; - updateTable( - args: UpdateTableCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateTableCommandOutput) => void - ): void; - updateTableReplicaAutoScaling( - args: UpdateTableReplicaAutoScalingCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateTableReplicaAutoScaling( - args: UpdateTableReplicaAutoScalingCommandInput, - cb: (err: any, data?: UpdateTableReplicaAutoScalingCommandOutput) => void - ): void; - updateTableReplicaAutoScaling( - args: UpdateTableReplicaAutoScalingCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateTableReplicaAutoScalingCommandOutput) => void - ): void; - updateTimeToLive( - args: UpdateTimeToLiveCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateTimeToLive( - args: UpdateTimeToLiveCommandInput, - cb: (err: any, data?: UpdateTimeToLiveCommandOutput) => void - ): void; - updateTimeToLive( - args: UpdateTimeToLiveCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateTimeToLiveCommandOutput) => void - ): void; - paginateListContributorInsights( - args?: ListContributorInsightsCommandInput, - paginationConfig?: Pick< - PaginationConfiguration, - Exclude - > - ): Paginator; - paginateListExports( - args?: ListExportsCommandInput, - paginationConfig?: Pick< - PaginationConfiguration, - Exclude - > - ): Paginator; - paginateListImports( - args?: ListImportsCommandInput, - paginationConfig?: Pick< - PaginationConfiguration, - Exclude - > - ): Paginator; - paginateListTables( - args?: ListTablesCommandInput, - paginationConfig?: Pick< - PaginationConfiguration, - Exclude - > - ): Paginator; - paginateQuery( - args: QueryCommandInput, - paginationConfig?: Pick< - PaginationConfiguration, - Exclude - > - ): Paginator; - paginateScan( - args: ScanCommandInput, - paginationConfig?: Pick< - PaginationConfiguration, - Exclude - > - ): Paginator; - waitUntilContributorInsightsEnabled( - args: DescribeContributorInsightsCommandInput, - waiterConfig: - | number - | Pick< - WaiterConfiguration, - Exclude, "client"> - > - ): Promise; - waitUntilExportCompleted( - args: DescribeExportCommandInput, - waiterConfig: - | number - | Pick< - WaiterConfiguration, - Exclude, "client"> - > - ): Promise; - waitUntilImportCompleted( - args: DescribeImportCommandInput, - waiterConfig: - | number - | Pick< - WaiterConfiguration, - Exclude, "client"> - > - ): Promise; - waitUntilKinesisStreamingDestinationActive( - args: DescribeKinesisStreamingDestinationCommandInput, - waiterConfig: - | number - | Pick< - WaiterConfiguration, - Exclude, "client"> - > - ): Promise; - waitUntilTableExists( - args: DescribeTableCommandInput, - waiterConfig: - | number - | Pick< - WaiterConfiguration, - Exclude, "client"> - > - ): Promise; - waitUntilTableNotExists( - args: DescribeTableCommandInput, - waiterConfig: - | number - | Pick< - WaiterConfiguration, - Exclude, "client"> - > - ): Promise; -} -export declare class DynamoDB extends DynamoDBClient implements DynamoDB {} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/DynamoDBClient.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/DynamoDBClient.d.ts deleted file mode 100644 index 69673ed8..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/DynamoDBClient.d.ts +++ /dev/null @@ -1,472 +0,0 @@ -import { - AccountIdEndpointMode, - AccountIdEndpointModeInputConfig, - AccountIdEndpointModeResolvedConfig, -} from "@aws-sdk/core/account-id-endpoint"; -import { - EndpointDiscoveryInputConfig, - EndpointDiscoveryResolvedConfig, -} from "@aws-sdk/middleware-endpoint-discovery"; -import { - HostHeaderInputConfig, - HostHeaderResolvedConfig, -} from "@aws-sdk/middleware-host-header"; -import { - UserAgentInputConfig, - UserAgentResolvedConfig, -} from "@aws-sdk/middleware-user-agent"; -import { - RegionInputConfig, - RegionResolvedConfig, -} from "@smithy/config-resolver"; -import { - EndpointInputConfig, - EndpointResolvedConfig, -} from "@smithy/middleware-endpoint"; -import { - RetryInputConfig, - RetryResolvedConfig, -} from "@smithy/middleware-retry"; -import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; -import { - DefaultsMode as __DefaultsMode, - SmithyConfiguration as __SmithyConfiguration, - SmithyResolvedConfiguration as __SmithyResolvedConfiguration, - Client as __Client, -} from "@smithy/smithy-client"; -import { - BodyLengthCalculator as __BodyLengthCalculator, - CheckOptionalClientConfig as __CheckOptionalClientConfig, - ChecksumConstructor as __ChecksumConstructor, - Decoder as __Decoder, - Encoder as __Encoder, - HashConstructor as __HashConstructor, - HttpHandlerOptions as __HttpHandlerOptions, - Logger as __Logger, - StreamCollector as __StreamCollector, - UrlParser as __UrlParser, - AwsCredentialIdentityProvider, - Provider, - Provider as __Provider, - UserAgent as __UserAgent, -} from "@smithy/types"; -import { - HttpAuthSchemeInputConfig, - HttpAuthSchemeResolvedConfig, -} from "./auth/httpAuthSchemeProvider"; -import { - BatchExecuteStatementCommandInput, - BatchExecuteStatementCommandOutput, -} from "./commands/BatchExecuteStatementCommand"; -import { - BatchGetItemCommandInput, - BatchGetItemCommandOutput, -} from "./commands/BatchGetItemCommand"; -import { - BatchWriteItemCommandInput, - BatchWriteItemCommandOutput, -} from "./commands/BatchWriteItemCommand"; -import { - CreateBackupCommandInput, - CreateBackupCommandOutput, -} from "./commands/CreateBackupCommand"; -import { - CreateGlobalTableCommandInput, - CreateGlobalTableCommandOutput, -} from "./commands/CreateGlobalTableCommand"; -import { - CreateTableCommandInput, - CreateTableCommandOutput, -} from "./commands/CreateTableCommand"; -import { - DeleteBackupCommandInput, - DeleteBackupCommandOutput, -} from "./commands/DeleteBackupCommand"; -import { - DeleteItemCommandInput, - DeleteItemCommandOutput, -} from "./commands/DeleteItemCommand"; -import { - DeleteResourcePolicyCommandInput, - DeleteResourcePolicyCommandOutput, -} from "./commands/DeleteResourcePolicyCommand"; -import { - DeleteTableCommandInput, - DeleteTableCommandOutput, -} from "./commands/DeleteTableCommand"; -import { - DescribeBackupCommandInput, - DescribeBackupCommandOutput, -} from "./commands/DescribeBackupCommand"; -import { - DescribeContinuousBackupsCommandInput, - DescribeContinuousBackupsCommandOutput, -} from "./commands/DescribeContinuousBackupsCommand"; -import { - DescribeContributorInsightsCommandInput, - DescribeContributorInsightsCommandOutput, -} from "./commands/DescribeContributorInsightsCommand"; -import { - DescribeEndpointsCommandInput, - DescribeEndpointsCommandOutput, -} from "./commands/DescribeEndpointsCommand"; -import { - DescribeExportCommandInput, - DescribeExportCommandOutput, -} from "./commands/DescribeExportCommand"; -import { - DescribeGlobalTableCommandInput, - DescribeGlobalTableCommandOutput, -} from "./commands/DescribeGlobalTableCommand"; -import { - DescribeGlobalTableSettingsCommandInput, - DescribeGlobalTableSettingsCommandOutput, -} from "./commands/DescribeGlobalTableSettingsCommand"; -import { - DescribeImportCommandInput, - DescribeImportCommandOutput, -} from "./commands/DescribeImportCommand"; -import { - DescribeKinesisStreamingDestinationCommandInput, - DescribeKinesisStreamingDestinationCommandOutput, -} from "./commands/DescribeKinesisStreamingDestinationCommand"; -import { - DescribeLimitsCommandInput, - DescribeLimitsCommandOutput, -} from "./commands/DescribeLimitsCommand"; -import { - DescribeTableCommandInput, - DescribeTableCommandOutput, -} from "./commands/DescribeTableCommand"; -import { - DescribeTableReplicaAutoScalingCommandInput, - DescribeTableReplicaAutoScalingCommandOutput, -} from "./commands/DescribeTableReplicaAutoScalingCommand"; -import { - DescribeTimeToLiveCommandInput, - DescribeTimeToLiveCommandOutput, -} from "./commands/DescribeTimeToLiveCommand"; -import { - DisableKinesisStreamingDestinationCommandInput, - DisableKinesisStreamingDestinationCommandOutput, -} from "./commands/DisableKinesisStreamingDestinationCommand"; -import { - EnableKinesisStreamingDestinationCommandInput, - EnableKinesisStreamingDestinationCommandOutput, -} from "./commands/EnableKinesisStreamingDestinationCommand"; -import { - ExecuteStatementCommandInput, - ExecuteStatementCommandOutput, -} from "./commands/ExecuteStatementCommand"; -import { - ExecuteTransactionCommandInput, - ExecuteTransactionCommandOutput, -} from "./commands/ExecuteTransactionCommand"; -import { - ExportTableToPointInTimeCommandInput, - ExportTableToPointInTimeCommandOutput, -} from "./commands/ExportTableToPointInTimeCommand"; -import { - GetItemCommandInput, - GetItemCommandOutput, -} from "./commands/GetItemCommand"; -import { - GetResourcePolicyCommandInput, - GetResourcePolicyCommandOutput, -} from "./commands/GetResourcePolicyCommand"; -import { - ImportTableCommandInput, - ImportTableCommandOutput, -} from "./commands/ImportTableCommand"; -import { - ListBackupsCommandInput, - ListBackupsCommandOutput, -} from "./commands/ListBackupsCommand"; -import { - ListContributorInsightsCommandInput, - ListContributorInsightsCommandOutput, -} from "./commands/ListContributorInsightsCommand"; -import { - ListExportsCommandInput, - ListExportsCommandOutput, -} from "./commands/ListExportsCommand"; -import { - ListGlobalTablesCommandInput, - ListGlobalTablesCommandOutput, -} from "./commands/ListGlobalTablesCommand"; -import { - ListImportsCommandInput, - ListImportsCommandOutput, -} from "./commands/ListImportsCommand"; -import { - ListTablesCommandInput, - ListTablesCommandOutput, -} from "./commands/ListTablesCommand"; -import { - ListTagsOfResourceCommandInput, - ListTagsOfResourceCommandOutput, -} from "./commands/ListTagsOfResourceCommand"; -import { - PutItemCommandInput, - PutItemCommandOutput, -} from "./commands/PutItemCommand"; -import { - PutResourcePolicyCommandInput, - PutResourcePolicyCommandOutput, -} from "./commands/PutResourcePolicyCommand"; -import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand"; -import { - RestoreTableFromBackupCommandInput, - RestoreTableFromBackupCommandOutput, -} from "./commands/RestoreTableFromBackupCommand"; -import { - RestoreTableToPointInTimeCommandInput, - RestoreTableToPointInTimeCommandOutput, -} from "./commands/RestoreTableToPointInTimeCommand"; -import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand"; -import { - TagResourceCommandInput, - TagResourceCommandOutput, -} from "./commands/TagResourceCommand"; -import { - TransactGetItemsCommandInput, - TransactGetItemsCommandOutput, -} from "./commands/TransactGetItemsCommand"; -import { - TransactWriteItemsCommandInput, - TransactWriteItemsCommandOutput, -} from "./commands/TransactWriteItemsCommand"; -import { - UntagResourceCommandInput, - UntagResourceCommandOutput, -} from "./commands/UntagResourceCommand"; -import { - UpdateContinuousBackupsCommandInput, - UpdateContinuousBackupsCommandOutput, -} from "./commands/UpdateContinuousBackupsCommand"; -import { - UpdateContributorInsightsCommandInput, - UpdateContributorInsightsCommandOutput, -} from "./commands/UpdateContributorInsightsCommand"; -import { - UpdateGlobalTableCommandInput, - UpdateGlobalTableCommandOutput, -} from "./commands/UpdateGlobalTableCommand"; -import { - UpdateGlobalTableSettingsCommandInput, - UpdateGlobalTableSettingsCommandOutput, -} from "./commands/UpdateGlobalTableSettingsCommand"; -import { - UpdateItemCommandInput, - UpdateItemCommandOutput, -} from "./commands/UpdateItemCommand"; -import { - UpdateKinesisStreamingDestinationCommandInput, - UpdateKinesisStreamingDestinationCommandOutput, -} from "./commands/UpdateKinesisStreamingDestinationCommand"; -import { - UpdateTableCommandInput, - UpdateTableCommandOutput, -} from "./commands/UpdateTableCommand"; -import { - UpdateTableReplicaAutoScalingCommandInput, - UpdateTableReplicaAutoScalingCommandOutput, -} from "./commands/UpdateTableReplicaAutoScalingCommand"; -import { - UpdateTimeToLiveCommandInput, - UpdateTimeToLiveCommandOutput, -} from "./commands/UpdateTimeToLiveCommand"; -import { - ClientInputEndpointParameters, - ClientResolvedEndpointParameters, - EndpointParameters, -} from "./endpoint/EndpointParameters"; -import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; -export { __Client }; -export type ServiceInputTypes = - | BatchExecuteStatementCommandInput - | BatchGetItemCommandInput - | BatchWriteItemCommandInput - | CreateBackupCommandInput - | CreateGlobalTableCommandInput - | CreateTableCommandInput - | DeleteBackupCommandInput - | DeleteItemCommandInput - | DeleteResourcePolicyCommandInput - | DeleteTableCommandInput - | DescribeBackupCommandInput - | DescribeContinuousBackupsCommandInput - | DescribeContributorInsightsCommandInput - | DescribeEndpointsCommandInput - | DescribeExportCommandInput - | DescribeGlobalTableCommandInput - | DescribeGlobalTableSettingsCommandInput - | DescribeImportCommandInput - | DescribeKinesisStreamingDestinationCommandInput - | DescribeLimitsCommandInput - | DescribeTableCommandInput - | DescribeTableReplicaAutoScalingCommandInput - | DescribeTimeToLiveCommandInput - | DisableKinesisStreamingDestinationCommandInput - | EnableKinesisStreamingDestinationCommandInput - | ExecuteStatementCommandInput - | ExecuteTransactionCommandInput - | ExportTableToPointInTimeCommandInput - | GetItemCommandInput - | GetResourcePolicyCommandInput - | ImportTableCommandInput - | ListBackupsCommandInput - | ListContributorInsightsCommandInput - | ListExportsCommandInput - | ListGlobalTablesCommandInput - | ListImportsCommandInput - | ListTablesCommandInput - | ListTagsOfResourceCommandInput - | PutItemCommandInput - | PutResourcePolicyCommandInput - | QueryCommandInput - | RestoreTableFromBackupCommandInput - | RestoreTableToPointInTimeCommandInput - | ScanCommandInput - | TagResourceCommandInput - | TransactGetItemsCommandInput - | TransactWriteItemsCommandInput - | UntagResourceCommandInput - | UpdateContinuousBackupsCommandInput - | UpdateContributorInsightsCommandInput - | UpdateGlobalTableCommandInput - | UpdateGlobalTableSettingsCommandInput - | UpdateItemCommandInput - | UpdateKinesisStreamingDestinationCommandInput - | UpdateTableCommandInput - | UpdateTableReplicaAutoScalingCommandInput - | UpdateTimeToLiveCommandInput; -export type ServiceOutputTypes = - | BatchExecuteStatementCommandOutput - | BatchGetItemCommandOutput - | BatchWriteItemCommandOutput - | CreateBackupCommandOutput - | CreateGlobalTableCommandOutput - | CreateTableCommandOutput - | DeleteBackupCommandOutput - | DeleteItemCommandOutput - | DeleteResourcePolicyCommandOutput - | DeleteTableCommandOutput - | DescribeBackupCommandOutput - | DescribeContinuousBackupsCommandOutput - | DescribeContributorInsightsCommandOutput - | DescribeEndpointsCommandOutput - | DescribeExportCommandOutput - | DescribeGlobalTableCommandOutput - | DescribeGlobalTableSettingsCommandOutput - | DescribeImportCommandOutput - | DescribeKinesisStreamingDestinationCommandOutput - | DescribeLimitsCommandOutput - | DescribeTableCommandOutput - | DescribeTableReplicaAutoScalingCommandOutput - | DescribeTimeToLiveCommandOutput - | DisableKinesisStreamingDestinationCommandOutput - | EnableKinesisStreamingDestinationCommandOutput - | ExecuteStatementCommandOutput - | ExecuteTransactionCommandOutput - | ExportTableToPointInTimeCommandOutput - | GetItemCommandOutput - | GetResourcePolicyCommandOutput - | ImportTableCommandOutput - | ListBackupsCommandOutput - | ListContributorInsightsCommandOutput - | ListExportsCommandOutput - | ListGlobalTablesCommandOutput - | ListImportsCommandOutput - | ListTablesCommandOutput - | ListTagsOfResourceCommandOutput - | PutItemCommandOutput - | PutResourcePolicyCommandOutput - | QueryCommandOutput - | RestoreTableFromBackupCommandOutput - | RestoreTableToPointInTimeCommandOutput - | ScanCommandOutput - | TagResourceCommandOutput - | TransactGetItemsCommandOutput - | TransactWriteItemsCommandOutput - | UntagResourceCommandOutput - | UpdateContinuousBackupsCommandOutput - | UpdateContributorInsightsCommandOutput - | UpdateGlobalTableCommandOutput - | UpdateGlobalTableSettingsCommandOutput - | UpdateItemCommandOutput - | UpdateKinesisStreamingDestinationCommandOutput - | UpdateTableCommandOutput - | UpdateTableReplicaAutoScalingCommandOutput - | UpdateTimeToLiveCommandOutput; -export interface ClientDefaults - extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { - requestHandler?: __HttpHandlerUserInput; - sha256?: __ChecksumConstructor | __HashConstructor; - urlParser?: __UrlParser; - bodyLengthChecker?: __BodyLengthCalculator; - streamCollector?: __StreamCollector; - base64Decoder?: __Decoder; - base64Encoder?: __Encoder; - utf8Decoder?: __Decoder; - utf8Encoder?: __Encoder; - runtime?: string; - disableHostPrefix?: boolean; - serviceId?: string; - useDualstackEndpoint?: boolean | __Provider; - useFipsEndpoint?: boolean | __Provider; - region?: string | __Provider; - profile?: string; - accountIdEndpointMode?: - | AccountIdEndpointMode - | __Provider; - defaultUserAgentProvider?: Provider<__UserAgent>; - credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; - maxAttempts?: number | __Provider; - retryMode?: string | __Provider; - logger?: __Logger; - extensions?: RuntimeExtension[]; - defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; - endpointDiscoveryEnabledProvider?: __Provider; -} -export type DynamoDBClientConfigType = Partial< - __SmithyConfiguration<__HttpHandlerOptions> -> & - ClientDefaults & - AccountIdEndpointModeInputConfig & - UserAgentInputConfig & - RetryInputConfig & - RegionInputConfig & - HostHeaderInputConfig & - EndpointInputConfig & - HttpAuthSchemeInputConfig & - EndpointDiscoveryInputConfig & - ClientInputEndpointParameters; -export interface DynamoDBClientConfig extends DynamoDBClientConfigType {} -export type DynamoDBClientResolvedConfigType = - __SmithyResolvedConfiguration<__HttpHandlerOptions> & - Required & - RuntimeExtensionsConfig & - AccountIdEndpointModeResolvedConfig & - UserAgentResolvedConfig & - RetryResolvedConfig & - RegionResolvedConfig & - HostHeaderResolvedConfig & - EndpointResolvedConfig & - HttpAuthSchemeResolvedConfig & - EndpointDiscoveryResolvedConfig & - ClientResolvedEndpointParameters; -export interface DynamoDBClientResolvedConfig - extends DynamoDBClientResolvedConfigType {} -export declare class DynamoDBClient extends __Client< - __HttpHandlerOptions, - ServiceInputTypes, - ServiceOutputTypes, - DynamoDBClientResolvedConfig -> { - readonly config: DynamoDBClientResolvedConfig; - constructor( - ...[configuration]: __CheckOptionalClientConfig - ); - destroy(): void; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts deleted file mode 100644 index bd53498b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { - HttpAuthScheme, - AwsCredentialIdentity, - AwsCredentialIdentityProvider, -} from "@smithy/types"; -import { DynamoDBHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"; -export interface HttpAuthExtensionConfiguration { - setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void; - httpAuthSchemes(): HttpAuthScheme[]; - setHttpAuthSchemeProvider( - httpAuthSchemeProvider: DynamoDBHttpAuthSchemeProvider - ): void; - httpAuthSchemeProvider(): DynamoDBHttpAuthSchemeProvider; - setCredentials( - credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider - ): void; - credentials(): - | AwsCredentialIdentity - | AwsCredentialIdentityProvider - | undefined; -} -export type HttpAuthRuntimeConfig = Partial<{ - httpAuthSchemes: HttpAuthScheme[]; - httpAuthSchemeProvider: DynamoDBHttpAuthSchemeProvider; - credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider; -}>; -export declare const getHttpAuthExtensionConfiguration: ( - runtimeConfig: HttpAuthRuntimeConfig -) => HttpAuthExtensionConfiguration; -export declare const resolveHttpAuthRuntimeConfig: ( - config: HttpAuthExtensionConfiguration -) => HttpAuthRuntimeConfig; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts deleted file mode 100644 index 299733cd..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { - AwsSdkSigV4AuthInputConfig, - AwsSdkSigV4AuthResolvedConfig, - AwsSdkSigV4PreviouslyResolved, -} from "@aws-sdk/core"; -import { - HandlerExecutionContext, - HttpAuthScheme, - HttpAuthSchemeParameters, - HttpAuthSchemeParametersProvider, - HttpAuthSchemeProvider, - Provider, -} from "@smithy/types"; -import { DynamoDBClientResolvedConfig } from "../DynamoDBClient"; -export interface DynamoDBHttpAuthSchemeParameters - extends HttpAuthSchemeParameters { - region?: string; -} -export interface DynamoDBHttpAuthSchemeParametersProvider - extends HttpAuthSchemeParametersProvider< - DynamoDBClientResolvedConfig, - HandlerExecutionContext, - DynamoDBHttpAuthSchemeParameters, - object - > {} -export declare const defaultDynamoDBHttpAuthSchemeParametersProvider: ( - config: DynamoDBClientResolvedConfig, - context: HandlerExecutionContext, - input: object -) => Promise; -export interface DynamoDBHttpAuthSchemeProvider - extends HttpAuthSchemeProvider {} -export declare const defaultDynamoDBHttpAuthSchemeProvider: DynamoDBHttpAuthSchemeProvider; -export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig { - authSchemePreference?: string[] | Provider; - httpAuthSchemes?: HttpAuthScheme[]; - httpAuthSchemeProvider?: DynamoDBHttpAuthSchemeProvider; -} -export interface HttpAuthSchemeResolvedConfig - extends AwsSdkSigV4AuthResolvedConfig { - readonly authSchemePreference: Provider; - readonly httpAuthSchemes: HttpAuthScheme[]; - readonly httpAuthSchemeProvider: DynamoDBHttpAuthSchemeProvider; -} -export declare const resolveHttpAuthSchemeConfig: ( - config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved -) => T & HttpAuthSchemeResolvedConfig; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts deleted file mode 100644 index eb8d1663..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - BatchExecuteStatementInput, - BatchExecuteStatementOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface BatchExecuteStatementCommandInput - extends BatchExecuteStatementInput {} -export interface BatchExecuteStatementCommandOutput - extends BatchExecuteStatementOutput, - __MetadataBearer {} -declare const BatchExecuteStatementCommand_base: { - new ( - input: BatchExecuteStatementCommandInput - ): import("@smithy/smithy-client").CommandImpl< - BatchExecuteStatementCommandInput, - BatchExecuteStatementCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: BatchExecuteStatementCommandInput - ): import("@smithy/smithy-client").CommandImpl< - BatchExecuteStatementCommandInput, - BatchExecuteStatementCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class BatchExecuteStatementCommand extends BatchExecuteStatementCommand_base { - protected static __types: { - api: { - input: BatchExecuteStatementInput; - output: BatchExecuteStatementOutput; - }; - sdk: { - input: BatchExecuteStatementCommandInput; - output: BatchExecuteStatementCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts deleted file mode 100644 index 0906bbf7..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { BatchGetItemInput, BatchGetItemOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface BatchGetItemCommandInput extends BatchGetItemInput {} -export interface BatchGetItemCommandOutput - extends BatchGetItemOutput, - __MetadataBearer {} -declare const BatchGetItemCommand_base: { - new ( - input: BatchGetItemCommandInput - ): import("@smithy/smithy-client").CommandImpl< - BatchGetItemCommandInput, - BatchGetItemCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: BatchGetItemCommandInput - ): import("@smithy/smithy-client").CommandImpl< - BatchGetItemCommandInput, - BatchGetItemCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class BatchGetItemCommand extends BatchGetItemCommand_base { - protected static __types: { - api: { - input: BatchGetItemInput; - output: BatchGetItemOutput; - }; - sdk: { - input: BatchGetItemCommandInput; - output: BatchGetItemCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts deleted file mode 100644 index 4e9a918f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { BatchWriteItemInput, BatchWriteItemOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface BatchWriteItemCommandInput extends BatchWriteItemInput {} -export interface BatchWriteItemCommandOutput - extends BatchWriteItemOutput, - __MetadataBearer {} -declare const BatchWriteItemCommand_base: { - new ( - input: BatchWriteItemCommandInput - ): import("@smithy/smithy-client").CommandImpl< - BatchWriteItemCommandInput, - BatchWriteItemCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: BatchWriteItemCommandInput - ): import("@smithy/smithy-client").CommandImpl< - BatchWriteItemCommandInput, - BatchWriteItemCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class BatchWriteItemCommand extends BatchWriteItemCommand_base { - protected static __types: { - api: { - input: BatchWriteItemInput; - output: BatchWriteItemOutput; - }; - sdk: { - input: BatchWriteItemCommandInput; - output: BatchWriteItemCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/CreateBackupCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/CreateBackupCommand.d.ts deleted file mode 100644 index 62a065ab..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { CreateBackupInput, CreateBackupOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface CreateBackupCommandInput extends CreateBackupInput {} -export interface CreateBackupCommandOutput - extends CreateBackupOutput, - __MetadataBearer {} -declare const CreateBackupCommand_base: { - new ( - input: CreateBackupCommandInput - ): import("@smithy/smithy-client").CommandImpl< - CreateBackupCommandInput, - CreateBackupCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: CreateBackupCommandInput - ): import("@smithy/smithy-client").CommandImpl< - CreateBackupCommandInput, - CreateBackupCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class CreateBackupCommand extends CreateBackupCommand_base { - protected static __types: { - api: { - input: CreateBackupInput; - output: CreateBackupOutput; - }; - sdk: { - input: CreateBackupCommandInput; - output: CreateBackupCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts deleted file mode 100644 index af40bd1a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - CreateGlobalTableInput, - CreateGlobalTableOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface CreateGlobalTableCommandInput extends CreateGlobalTableInput {} -export interface CreateGlobalTableCommandOutput - extends CreateGlobalTableOutput, - __MetadataBearer {} -declare const CreateGlobalTableCommand_base: { - new ( - input: CreateGlobalTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - CreateGlobalTableCommandInput, - CreateGlobalTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: CreateGlobalTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - CreateGlobalTableCommandInput, - CreateGlobalTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class CreateGlobalTableCommand extends CreateGlobalTableCommand_base { - protected static __types: { - api: { - input: CreateGlobalTableInput; - output: CreateGlobalTableOutput; - }; - sdk: { - input: CreateGlobalTableCommandInput; - output: CreateGlobalTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/CreateTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/CreateTableCommand.d.ts deleted file mode 100644 index dd1d0aca..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/CreateTableCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { CreateTableInput, CreateTableOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface CreateTableCommandInput extends CreateTableInput {} -export interface CreateTableCommandOutput - extends CreateTableOutput, - __MetadataBearer {} -declare const CreateTableCommand_base: { - new ( - input: CreateTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - CreateTableCommandInput, - CreateTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: CreateTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - CreateTableCommandInput, - CreateTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class CreateTableCommand extends CreateTableCommand_base { - protected static __types: { - api: { - input: CreateTableInput; - output: CreateTableOutput; - }; - sdk: { - input: CreateTableCommandInput; - output: CreateTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts deleted file mode 100644 index aa35fea4..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { DeleteBackupInput, DeleteBackupOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DeleteBackupCommandInput extends DeleteBackupInput {} -export interface DeleteBackupCommandOutput - extends DeleteBackupOutput, - __MetadataBearer {} -declare const DeleteBackupCommand_base: { - new ( - input: DeleteBackupCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DeleteBackupCommandInput, - DeleteBackupCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DeleteBackupCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DeleteBackupCommandInput, - DeleteBackupCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DeleteBackupCommand extends DeleteBackupCommand_base { - protected static __types: { - api: { - input: DeleteBackupInput; - output: DeleteBackupOutput; - }; - sdk: { - input: DeleteBackupCommandInput; - output: DeleteBackupCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteItemCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteItemCommand.d.ts deleted file mode 100644 index b11b0ce1..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { DeleteItemInput, DeleteItemOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DeleteItemCommandInput extends DeleteItemInput {} -export interface DeleteItemCommandOutput - extends DeleteItemOutput, - __MetadataBearer {} -declare const DeleteItemCommand_base: { - new ( - input: DeleteItemCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DeleteItemCommandInput, - DeleteItemCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DeleteItemCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DeleteItemCommandInput, - DeleteItemCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DeleteItemCommand extends DeleteItemCommand_base { - protected static __types: { - api: { - input: DeleteItemInput; - output: DeleteItemOutput; - }; - sdk: { - input: DeleteItemCommandInput; - output: DeleteItemCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts deleted file mode 100644 index 3dd9be54..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - DeleteResourcePolicyInput, - DeleteResourcePolicyOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DeleteResourcePolicyCommandInput - extends DeleteResourcePolicyInput {} -export interface DeleteResourcePolicyCommandOutput - extends DeleteResourcePolicyOutput, - __MetadataBearer {} -declare const DeleteResourcePolicyCommand_base: { - new ( - input: DeleteResourcePolicyCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DeleteResourcePolicyCommandInput, - DeleteResourcePolicyCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DeleteResourcePolicyCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DeleteResourcePolicyCommandInput, - DeleteResourcePolicyCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base { - protected static __types: { - api: { - input: DeleteResourcePolicyInput; - output: DeleteResourcePolicyOutput; - }; - sdk: { - input: DeleteResourcePolicyCommandInput; - output: DeleteResourcePolicyCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteTableCommand.d.ts deleted file mode 100644 index ed2385f1..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { DeleteTableInput, DeleteTableOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DeleteTableCommandInput extends DeleteTableInput {} -export interface DeleteTableCommandOutput - extends DeleteTableOutput, - __MetadataBearer {} -declare const DeleteTableCommand_base: { - new ( - input: DeleteTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DeleteTableCommandInput, - DeleteTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DeleteTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DeleteTableCommandInput, - DeleteTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DeleteTableCommand extends DeleteTableCommand_base { - protected static __types: { - api: { - input: DeleteTableInput; - output: DeleteTableOutput; - }; - sdk: { - input: DeleteTableCommandInput; - output: DeleteTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts deleted file mode 100644 index 8778bf89..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { DescribeBackupInput, DescribeBackupOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DescribeBackupCommandInput extends DescribeBackupInput {} -export interface DescribeBackupCommandOutput - extends DescribeBackupOutput, - __MetadataBearer {} -declare const DescribeBackupCommand_base: { - new ( - input: DescribeBackupCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeBackupCommandInput, - DescribeBackupCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DescribeBackupCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeBackupCommandInput, - DescribeBackupCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DescribeBackupCommand extends DescribeBackupCommand_base { - protected static __types: { - api: { - input: DescribeBackupInput; - output: DescribeBackupOutput; - }; - sdk: { - input: DescribeBackupCommandInput; - output: DescribeBackupCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts deleted file mode 100644 index d072371d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - DescribeContinuousBackupsInput, - DescribeContinuousBackupsOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DescribeContinuousBackupsCommandInput - extends DescribeContinuousBackupsInput {} -export interface DescribeContinuousBackupsCommandOutput - extends DescribeContinuousBackupsOutput, - __MetadataBearer {} -declare const DescribeContinuousBackupsCommand_base: { - new ( - input: DescribeContinuousBackupsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeContinuousBackupsCommandInput, - DescribeContinuousBackupsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DescribeContinuousBackupsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeContinuousBackupsCommandInput, - DescribeContinuousBackupsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DescribeContinuousBackupsCommand extends DescribeContinuousBackupsCommand_base { - protected static __types: { - api: { - input: DescribeContinuousBackupsInput; - output: DescribeContinuousBackupsOutput; - }; - sdk: { - input: DescribeContinuousBackupsCommandInput; - output: DescribeContinuousBackupsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts deleted file mode 100644 index b53e9d58..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - DescribeContributorInsightsInput, - DescribeContributorInsightsOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DescribeContributorInsightsCommandInput - extends DescribeContributorInsightsInput {} -export interface DescribeContributorInsightsCommandOutput - extends DescribeContributorInsightsOutput, - __MetadataBearer {} -declare const DescribeContributorInsightsCommand_base: { - new ( - input: DescribeContributorInsightsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeContributorInsightsCommandInput, - DescribeContributorInsightsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DescribeContributorInsightsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeContributorInsightsCommandInput, - DescribeContributorInsightsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DescribeContributorInsightsCommand extends DescribeContributorInsightsCommand_base { - protected static __types: { - api: { - input: DescribeContributorInsightsInput; - output: DescribeContributorInsightsOutput; - }; - sdk: { - input: DescribeContributorInsightsCommandInput; - output: DescribeContributorInsightsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts deleted file mode 100644 index 2f88f7e2..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - DescribeEndpointsRequest, - DescribeEndpointsResponse, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DescribeEndpointsCommandInput - extends DescribeEndpointsRequest {} -export interface DescribeEndpointsCommandOutput - extends DescribeEndpointsResponse, - __MetadataBearer {} -declare const DescribeEndpointsCommand_base: { - new ( - input: DescribeEndpointsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeEndpointsCommandInput, - DescribeEndpointsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - ...[input]: [] | [DescribeEndpointsCommandInput] - ): import("@smithy/smithy-client").CommandImpl< - DescribeEndpointsCommandInput, - DescribeEndpointsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DescribeEndpointsCommand extends DescribeEndpointsCommand_base { - protected static __types: { - api: { - input: {}; - output: DescribeEndpointsResponse; - }; - sdk: { - input: DescribeEndpointsCommandInput; - output: DescribeEndpointsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeExportCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeExportCommand.d.ts deleted file mode 100644 index d0222189..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { DescribeExportInput, DescribeExportOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DescribeExportCommandInput extends DescribeExportInput {} -export interface DescribeExportCommandOutput - extends DescribeExportOutput, - __MetadataBearer {} -declare const DescribeExportCommand_base: { - new ( - input: DescribeExportCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeExportCommandInput, - DescribeExportCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DescribeExportCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeExportCommandInput, - DescribeExportCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DescribeExportCommand extends DescribeExportCommand_base { - protected static __types: { - api: { - input: DescribeExportInput; - output: DescribeExportOutput; - }; - sdk: { - input: DescribeExportCommandInput; - output: DescribeExportCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts deleted file mode 100644 index d28ac38d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - DescribeGlobalTableInput, - DescribeGlobalTableOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DescribeGlobalTableCommandInput - extends DescribeGlobalTableInput {} -export interface DescribeGlobalTableCommandOutput - extends DescribeGlobalTableOutput, - __MetadataBearer {} -declare const DescribeGlobalTableCommand_base: { - new ( - input: DescribeGlobalTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeGlobalTableCommandInput, - DescribeGlobalTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DescribeGlobalTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeGlobalTableCommandInput, - DescribeGlobalTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DescribeGlobalTableCommand extends DescribeGlobalTableCommand_base { - protected static __types: { - api: { - input: DescribeGlobalTableInput; - output: DescribeGlobalTableOutput; - }; - sdk: { - input: DescribeGlobalTableCommandInput; - output: DescribeGlobalTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts deleted file mode 100644 index d1d908e6..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - DescribeGlobalTableSettingsInput, - DescribeGlobalTableSettingsOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DescribeGlobalTableSettingsCommandInput - extends DescribeGlobalTableSettingsInput {} -export interface DescribeGlobalTableSettingsCommandOutput - extends DescribeGlobalTableSettingsOutput, - __MetadataBearer {} -declare const DescribeGlobalTableSettingsCommand_base: { - new ( - input: DescribeGlobalTableSettingsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeGlobalTableSettingsCommandInput, - DescribeGlobalTableSettingsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DescribeGlobalTableSettingsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeGlobalTableSettingsCommandInput, - DescribeGlobalTableSettingsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DescribeGlobalTableSettingsCommand extends DescribeGlobalTableSettingsCommand_base { - protected static __types: { - api: { - input: DescribeGlobalTableSettingsInput; - output: DescribeGlobalTableSettingsOutput; - }; - sdk: { - input: DescribeGlobalTableSettingsCommandInput; - output: DescribeGlobalTableSettingsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeImportCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeImportCommand.d.ts deleted file mode 100644 index b8b758f9..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { DescribeImportInput, DescribeImportOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DescribeImportCommandInput extends DescribeImportInput {} -export interface DescribeImportCommandOutput - extends DescribeImportOutput, - __MetadataBearer {} -declare const DescribeImportCommand_base: { - new ( - input: DescribeImportCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeImportCommandInput, - DescribeImportCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DescribeImportCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeImportCommandInput, - DescribeImportCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DescribeImportCommand extends DescribeImportCommand_base { - protected static __types: { - api: { - input: DescribeImportInput; - output: DescribeImportOutput; - }; - sdk: { - input: DescribeImportCommandInput; - output: DescribeImportCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts deleted file mode 100644 index 4f600acc..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - DescribeKinesisStreamingDestinationInput, - DescribeKinesisStreamingDestinationOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DescribeKinesisStreamingDestinationCommandInput - extends DescribeKinesisStreamingDestinationInput {} -export interface DescribeKinesisStreamingDestinationCommandOutput - extends DescribeKinesisStreamingDestinationOutput, - __MetadataBearer {} -declare const DescribeKinesisStreamingDestinationCommand_base: { - new ( - input: DescribeKinesisStreamingDestinationCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeKinesisStreamingDestinationCommandInput, - DescribeKinesisStreamingDestinationCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DescribeKinesisStreamingDestinationCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeKinesisStreamingDestinationCommandInput, - DescribeKinesisStreamingDestinationCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DescribeKinesisStreamingDestinationCommand extends DescribeKinesisStreamingDestinationCommand_base { - protected static __types: { - api: { - input: DescribeKinesisStreamingDestinationInput; - output: DescribeKinesisStreamingDestinationOutput; - }; - sdk: { - input: DescribeKinesisStreamingDestinationCommandInput; - output: DescribeKinesisStreamingDestinationCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts deleted file mode 100644 index 52ce46ba..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { DescribeLimitsInput, DescribeLimitsOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DescribeLimitsCommandInput extends DescribeLimitsInput {} -export interface DescribeLimitsCommandOutput - extends DescribeLimitsOutput, - __MetadataBearer {} -declare const DescribeLimitsCommand_base: { - new ( - input: DescribeLimitsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeLimitsCommandInput, - DescribeLimitsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - ...[input]: [] | [DescribeLimitsCommandInput] - ): import("@smithy/smithy-client").CommandImpl< - DescribeLimitsCommandInput, - DescribeLimitsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DescribeLimitsCommand extends DescribeLimitsCommand_base { - protected static __types: { - api: { - input: {}; - output: DescribeLimitsOutput; - }; - sdk: { - input: DescribeLimitsCommandInput; - output: DescribeLimitsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeTableCommand.d.ts deleted file mode 100644 index 74f395e8..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { DescribeTableInput, DescribeTableOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DescribeTableCommandInput extends DescribeTableInput {} -export interface DescribeTableCommandOutput - extends DescribeTableOutput, - __MetadataBearer {} -declare const DescribeTableCommand_base: { - new ( - input: DescribeTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeTableCommandInput, - DescribeTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DescribeTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeTableCommandInput, - DescribeTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DescribeTableCommand extends DescribeTableCommand_base { - protected static __types: { - api: { - input: DescribeTableInput; - output: DescribeTableOutput; - }; - sdk: { - input: DescribeTableCommandInput; - output: DescribeTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts deleted file mode 100644 index 699c1730..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - DescribeTableReplicaAutoScalingInput, - DescribeTableReplicaAutoScalingOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DescribeTableReplicaAutoScalingCommandInput - extends DescribeTableReplicaAutoScalingInput {} -export interface DescribeTableReplicaAutoScalingCommandOutput - extends DescribeTableReplicaAutoScalingOutput, - __MetadataBearer {} -declare const DescribeTableReplicaAutoScalingCommand_base: { - new ( - input: DescribeTableReplicaAutoScalingCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeTableReplicaAutoScalingCommandInput, - DescribeTableReplicaAutoScalingCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DescribeTableReplicaAutoScalingCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeTableReplicaAutoScalingCommandInput, - DescribeTableReplicaAutoScalingCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DescribeTableReplicaAutoScalingCommand extends DescribeTableReplicaAutoScalingCommand_base { - protected static __types: { - api: { - input: DescribeTableReplicaAutoScalingInput; - output: DescribeTableReplicaAutoScalingOutput; - }; - sdk: { - input: DescribeTableReplicaAutoScalingCommandInput; - output: DescribeTableReplicaAutoScalingCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts deleted file mode 100644 index 0c90342b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - DescribeTimeToLiveInput, - DescribeTimeToLiveOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DescribeTimeToLiveCommandInput - extends DescribeTimeToLiveInput {} -export interface DescribeTimeToLiveCommandOutput - extends DescribeTimeToLiveOutput, - __MetadataBearer {} -declare const DescribeTimeToLiveCommand_base: { - new ( - input: DescribeTimeToLiveCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeTimeToLiveCommandInput, - DescribeTimeToLiveCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DescribeTimeToLiveCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DescribeTimeToLiveCommandInput, - DescribeTimeToLiveCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DescribeTimeToLiveCommand extends DescribeTimeToLiveCommand_base { - protected static __types: { - api: { - input: DescribeTimeToLiveInput; - output: DescribeTimeToLiveOutput; - }; - sdk: { - input: DescribeTimeToLiveCommandInput; - output: DescribeTimeToLiveCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts deleted file mode 100644 index aac0a3dc..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - KinesisStreamingDestinationInput, - KinesisStreamingDestinationOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface DisableKinesisStreamingDestinationCommandInput - extends KinesisStreamingDestinationInput {} -export interface DisableKinesisStreamingDestinationCommandOutput - extends KinesisStreamingDestinationOutput, - __MetadataBearer {} -declare const DisableKinesisStreamingDestinationCommand_base: { - new ( - input: DisableKinesisStreamingDestinationCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DisableKinesisStreamingDestinationCommandInput, - DisableKinesisStreamingDestinationCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: DisableKinesisStreamingDestinationCommandInput - ): import("@smithy/smithy-client").CommandImpl< - DisableKinesisStreamingDestinationCommandInput, - DisableKinesisStreamingDestinationCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class DisableKinesisStreamingDestinationCommand extends DisableKinesisStreamingDestinationCommand_base { - protected static __types: { - api: { - input: KinesisStreamingDestinationInput; - output: KinesisStreamingDestinationOutput; - }; - sdk: { - input: DisableKinesisStreamingDestinationCommandInput; - output: DisableKinesisStreamingDestinationCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts deleted file mode 100644 index f0f15476..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - KinesisStreamingDestinationInput, - KinesisStreamingDestinationOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface EnableKinesisStreamingDestinationCommandInput - extends KinesisStreamingDestinationInput {} -export interface EnableKinesisStreamingDestinationCommandOutput - extends KinesisStreamingDestinationOutput, - __MetadataBearer {} -declare const EnableKinesisStreamingDestinationCommand_base: { - new ( - input: EnableKinesisStreamingDestinationCommandInput - ): import("@smithy/smithy-client").CommandImpl< - EnableKinesisStreamingDestinationCommandInput, - EnableKinesisStreamingDestinationCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: EnableKinesisStreamingDestinationCommandInput - ): import("@smithy/smithy-client").CommandImpl< - EnableKinesisStreamingDestinationCommandInput, - EnableKinesisStreamingDestinationCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class EnableKinesisStreamingDestinationCommand extends EnableKinesisStreamingDestinationCommand_base { - protected static __types: { - api: { - input: KinesisStreamingDestinationInput; - output: KinesisStreamingDestinationOutput; - }; - sdk: { - input: EnableKinesisStreamingDestinationCommandInput; - output: EnableKinesisStreamingDestinationCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts deleted file mode 100644 index 1184a0ac..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - ExecuteStatementInput, - ExecuteStatementOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface ExecuteStatementCommandInput extends ExecuteStatementInput {} -export interface ExecuteStatementCommandOutput - extends ExecuteStatementOutput, - __MetadataBearer {} -declare const ExecuteStatementCommand_base: { - new ( - input: ExecuteStatementCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ExecuteStatementCommandInput, - ExecuteStatementCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: ExecuteStatementCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ExecuteStatementCommandInput, - ExecuteStatementCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class ExecuteStatementCommand extends ExecuteStatementCommand_base { - protected static __types: { - api: { - input: ExecuteStatementInput; - output: ExecuteStatementOutput; - }; - sdk: { - input: ExecuteStatementCommandInput; - output: ExecuteStatementCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts deleted file mode 100644 index 5f53e915..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - ExecuteTransactionInput, - ExecuteTransactionOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface ExecuteTransactionCommandInput - extends ExecuteTransactionInput {} -export interface ExecuteTransactionCommandOutput - extends ExecuteTransactionOutput, - __MetadataBearer {} -declare const ExecuteTransactionCommand_base: { - new ( - input: ExecuteTransactionCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ExecuteTransactionCommandInput, - ExecuteTransactionCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: ExecuteTransactionCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ExecuteTransactionCommandInput, - ExecuteTransactionCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class ExecuteTransactionCommand extends ExecuteTransactionCommand_base { - protected static __types: { - api: { - input: ExecuteTransactionInput; - output: ExecuteTransactionOutput; - }; - sdk: { - input: ExecuteTransactionCommandInput; - output: ExecuteTransactionCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts deleted file mode 100644 index b74a398a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - ExportTableToPointInTimeInput, - ExportTableToPointInTimeOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface ExportTableToPointInTimeCommandInput - extends ExportTableToPointInTimeInput {} -export interface ExportTableToPointInTimeCommandOutput - extends ExportTableToPointInTimeOutput, - __MetadataBearer {} -declare const ExportTableToPointInTimeCommand_base: { - new ( - input: ExportTableToPointInTimeCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ExportTableToPointInTimeCommandInput, - ExportTableToPointInTimeCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: ExportTableToPointInTimeCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ExportTableToPointInTimeCommandInput, - ExportTableToPointInTimeCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class ExportTableToPointInTimeCommand extends ExportTableToPointInTimeCommand_base { - protected static __types: { - api: { - input: ExportTableToPointInTimeInput; - output: ExportTableToPointInTimeOutput; - }; - sdk: { - input: ExportTableToPointInTimeCommandInput; - output: ExportTableToPointInTimeCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/GetItemCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/GetItemCommand.d.ts deleted file mode 100644 index 3fd9b18f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/GetItemCommand.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { GetItemInput, GetItemOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface GetItemCommandInput extends GetItemInput {} -export interface GetItemCommandOutput extends GetItemOutput, __MetadataBearer {} -declare const GetItemCommand_base: { - new (input: GetItemCommandInput): import("@smithy/smithy-client").CommandImpl< - GetItemCommandInput, - GetItemCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new (input: GetItemCommandInput): import("@smithy/smithy-client").CommandImpl< - GetItemCommandInput, - GetItemCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class GetItemCommand extends GetItemCommand_base { - protected static __types: { - api: { - input: GetItemInput; - output: GetItemOutput; - }; - sdk: { - input: GetItemCommandInput; - output: GetItemCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts deleted file mode 100644 index bf92b96e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - GetResourcePolicyInput, - GetResourcePolicyOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface GetResourcePolicyCommandInput extends GetResourcePolicyInput {} -export interface GetResourcePolicyCommandOutput - extends GetResourcePolicyOutput, - __MetadataBearer {} -declare const GetResourcePolicyCommand_base: { - new ( - input: GetResourcePolicyCommandInput - ): import("@smithy/smithy-client").CommandImpl< - GetResourcePolicyCommandInput, - GetResourcePolicyCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: GetResourcePolicyCommandInput - ): import("@smithy/smithy-client").CommandImpl< - GetResourcePolicyCommandInput, - GetResourcePolicyCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base { - protected static __types: { - api: { - input: GetResourcePolicyInput; - output: GetResourcePolicyOutput; - }; - sdk: { - input: GetResourcePolicyCommandInput; - output: GetResourcePolicyCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ImportTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ImportTableCommand.d.ts deleted file mode 100644 index 8384c31e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ImportTableCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { ImportTableInput, ImportTableOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface ImportTableCommandInput extends ImportTableInput {} -export interface ImportTableCommandOutput - extends ImportTableOutput, - __MetadataBearer {} -declare const ImportTableCommand_base: { - new ( - input: ImportTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ImportTableCommandInput, - ImportTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: ImportTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ImportTableCommandInput, - ImportTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class ImportTableCommand extends ImportTableCommand_base { - protected static __types: { - api: { - input: ImportTableInput; - output: ImportTableOutput; - }; - sdk: { - input: ImportTableCommandInput; - output: ImportTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListBackupsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListBackupsCommand.d.ts deleted file mode 100644 index 2b00a392..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { ListBackupsInput, ListBackupsOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface ListBackupsCommandInput extends ListBackupsInput {} -export interface ListBackupsCommandOutput - extends ListBackupsOutput, - __MetadataBearer {} -declare const ListBackupsCommand_base: { - new ( - input: ListBackupsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ListBackupsCommandInput, - ListBackupsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - ...[input]: [] | [ListBackupsCommandInput] - ): import("@smithy/smithy-client").CommandImpl< - ListBackupsCommandInput, - ListBackupsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class ListBackupsCommand extends ListBackupsCommand_base { - protected static __types: { - api: { - input: ListBackupsInput; - output: ListBackupsOutput; - }; - sdk: { - input: ListBackupsCommandInput; - output: ListBackupsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts deleted file mode 100644 index 455495e1..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - ListContributorInsightsInput, - ListContributorInsightsOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface ListContributorInsightsCommandInput - extends ListContributorInsightsInput {} -export interface ListContributorInsightsCommandOutput - extends ListContributorInsightsOutput, - __MetadataBearer {} -declare const ListContributorInsightsCommand_base: { - new ( - input: ListContributorInsightsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ListContributorInsightsCommandInput, - ListContributorInsightsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - ...[input]: [] | [ListContributorInsightsCommandInput] - ): import("@smithy/smithy-client").CommandImpl< - ListContributorInsightsCommandInput, - ListContributorInsightsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class ListContributorInsightsCommand extends ListContributorInsightsCommand_base { - protected static __types: { - api: { - input: ListContributorInsightsInput; - output: ListContributorInsightsOutput; - }; - sdk: { - input: ListContributorInsightsCommandInput; - output: ListContributorInsightsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListExportsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListExportsCommand.d.ts deleted file mode 100644 index b9687469..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListExportsCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { ListExportsInput, ListExportsOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface ListExportsCommandInput extends ListExportsInput {} -export interface ListExportsCommandOutput - extends ListExportsOutput, - __MetadataBearer {} -declare const ListExportsCommand_base: { - new ( - input: ListExportsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ListExportsCommandInput, - ListExportsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - ...[input]: [] | [ListExportsCommandInput] - ): import("@smithy/smithy-client").CommandImpl< - ListExportsCommandInput, - ListExportsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class ListExportsCommand extends ListExportsCommand_base { - protected static __types: { - api: { - input: ListExportsInput; - output: ListExportsOutput; - }; - sdk: { - input: ListExportsCommandInput; - output: ListExportsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts deleted file mode 100644 index 3428e571..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - ListGlobalTablesInput, - ListGlobalTablesOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface ListGlobalTablesCommandInput extends ListGlobalTablesInput {} -export interface ListGlobalTablesCommandOutput - extends ListGlobalTablesOutput, - __MetadataBearer {} -declare const ListGlobalTablesCommand_base: { - new ( - input: ListGlobalTablesCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ListGlobalTablesCommandInput, - ListGlobalTablesCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - ...[input]: [] | [ListGlobalTablesCommandInput] - ): import("@smithy/smithy-client").CommandImpl< - ListGlobalTablesCommandInput, - ListGlobalTablesCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class ListGlobalTablesCommand extends ListGlobalTablesCommand_base { - protected static __types: { - api: { - input: ListGlobalTablesInput; - output: ListGlobalTablesOutput; - }; - sdk: { - input: ListGlobalTablesCommandInput; - output: ListGlobalTablesCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListImportsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListImportsCommand.d.ts deleted file mode 100644 index 07bfebfc..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListImportsCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { ListImportsInput, ListImportsOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface ListImportsCommandInput extends ListImportsInput {} -export interface ListImportsCommandOutput - extends ListImportsOutput, - __MetadataBearer {} -declare const ListImportsCommand_base: { - new ( - input: ListImportsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ListImportsCommandInput, - ListImportsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - ...[input]: [] | [ListImportsCommandInput] - ): import("@smithy/smithy-client").CommandImpl< - ListImportsCommandInput, - ListImportsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class ListImportsCommand extends ListImportsCommand_base { - protected static __types: { - api: { - input: ListImportsInput; - output: ListImportsOutput; - }; - sdk: { - input: ListImportsCommandInput; - output: ListImportsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListTablesCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListTablesCommand.d.ts deleted file mode 100644 index 497f02fa..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListTablesCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { ListTablesInput, ListTablesOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface ListTablesCommandInput extends ListTablesInput {} -export interface ListTablesCommandOutput - extends ListTablesOutput, - __MetadataBearer {} -declare const ListTablesCommand_base: { - new ( - input: ListTablesCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ListTablesCommandInput, - ListTablesCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - ...[input]: [] | [ListTablesCommandInput] - ): import("@smithy/smithy-client").CommandImpl< - ListTablesCommandInput, - ListTablesCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class ListTablesCommand extends ListTablesCommand_base { - protected static __types: { - api: { - input: ListTablesInput; - output: ListTablesOutput; - }; - sdk: { - input: ListTablesCommandInput; - output: ListTablesCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts deleted file mode 100644 index b18c1b6b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - ListTagsOfResourceInput, - ListTagsOfResourceOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface ListTagsOfResourceCommandInput - extends ListTagsOfResourceInput {} -export interface ListTagsOfResourceCommandOutput - extends ListTagsOfResourceOutput, - __MetadataBearer {} -declare const ListTagsOfResourceCommand_base: { - new ( - input: ListTagsOfResourceCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ListTagsOfResourceCommandInput, - ListTagsOfResourceCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: ListTagsOfResourceCommandInput - ): import("@smithy/smithy-client").CommandImpl< - ListTagsOfResourceCommandInput, - ListTagsOfResourceCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class ListTagsOfResourceCommand extends ListTagsOfResourceCommand_base { - protected static __types: { - api: { - input: ListTagsOfResourceInput; - output: ListTagsOfResourceOutput; - }; - sdk: { - input: ListTagsOfResourceCommandInput; - output: ListTagsOfResourceCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/PutItemCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/PutItemCommand.d.ts deleted file mode 100644 index 98a32752..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/PutItemCommand.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { PutItemInput, PutItemOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface PutItemCommandInput extends PutItemInput {} -export interface PutItemCommandOutput extends PutItemOutput, __MetadataBearer {} -declare const PutItemCommand_base: { - new (input: PutItemCommandInput): import("@smithy/smithy-client").CommandImpl< - PutItemCommandInput, - PutItemCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new (input: PutItemCommandInput): import("@smithy/smithy-client").CommandImpl< - PutItemCommandInput, - PutItemCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class PutItemCommand extends PutItemCommand_base { - protected static __types: { - api: { - input: PutItemInput; - output: PutItemOutput; - }; - sdk: { - input: PutItemCommandInput; - output: PutItemCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts deleted file mode 100644 index 5ab1c713..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - PutResourcePolicyInput, - PutResourcePolicyOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface PutResourcePolicyCommandInput extends PutResourcePolicyInput {} -export interface PutResourcePolicyCommandOutput - extends PutResourcePolicyOutput, - __MetadataBearer {} -declare const PutResourcePolicyCommand_base: { - new ( - input: PutResourcePolicyCommandInput - ): import("@smithy/smithy-client").CommandImpl< - PutResourcePolicyCommandInput, - PutResourcePolicyCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: PutResourcePolicyCommandInput - ): import("@smithy/smithy-client").CommandImpl< - PutResourcePolicyCommandInput, - PutResourcePolicyCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base { - protected static __types: { - api: { - input: PutResourcePolicyInput; - output: PutResourcePolicyOutput; - }; - sdk: { - input: PutResourcePolicyCommandInput; - output: PutResourcePolicyCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/QueryCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/QueryCommand.d.ts deleted file mode 100644 index 78e1b202..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/QueryCommand.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { QueryInput, QueryOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface QueryCommandInput extends QueryInput {} -export interface QueryCommandOutput extends QueryOutput, __MetadataBearer {} -declare const QueryCommand_base: { - new (input: QueryCommandInput): import("@smithy/smithy-client").CommandImpl< - QueryCommandInput, - QueryCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new (input: QueryCommandInput): import("@smithy/smithy-client").CommandImpl< - QueryCommandInput, - QueryCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class QueryCommand extends QueryCommand_base { - protected static __types: { - api: { - input: QueryInput; - output: QueryOutput; - }; - sdk: { - input: QueryCommandInput; - output: QueryCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts deleted file mode 100644 index 31014244..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - RestoreTableFromBackupInput, - RestoreTableFromBackupOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface RestoreTableFromBackupCommandInput - extends RestoreTableFromBackupInput {} -export interface RestoreTableFromBackupCommandOutput - extends RestoreTableFromBackupOutput, - __MetadataBearer {} -declare const RestoreTableFromBackupCommand_base: { - new ( - input: RestoreTableFromBackupCommandInput - ): import("@smithy/smithy-client").CommandImpl< - RestoreTableFromBackupCommandInput, - RestoreTableFromBackupCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: RestoreTableFromBackupCommandInput - ): import("@smithy/smithy-client").CommandImpl< - RestoreTableFromBackupCommandInput, - RestoreTableFromBackupCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class RestoreTableFromBackupCommand extends RestoreTableFromBackupCommand_base { - protected static __types: { - api: { - input: RestoreTableFromBackupInput; - output: RestoreTableFromBackupOutput; - }; - sdk: { - input: RestoreTableFromBackupCommandInput; - output: RestoreTableFromBackupCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts deleted file mode 100644 index 0f9af68d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - RestoreTableToPointInTimeInput, - RestoreTableToPointInTimeOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface RestoreTableToPointInTimeCommandInput - extends RestoreTableToPointInTimeInput {} -export interface RestoreTableToPointInTimeCommandOutput - extends RestoreTableToPointInTimeOutput, - __MetadataBearer {} -declare const RestoreTableToPointInTimeCommand_base: { - new ( - input: RestoreTableToPointInTimeCommandInput - ): import("@smithy/smithy-client").CommandImpl< - RestoreTableToPointInTimeCommandInput, - RestoreTableToPointInTimeCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: RestoreTableToPointInTimeCommandInput - ): import("@smithy/smithy-client").CommandImpl< - RestoreTableToPointInTimeCommandInput, - RestoreTableToPointInTimeCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class RestoreTableToPointInTimeCommand extends RestoreTableToPointInTimeCommand_base { - protected static __types: { - api: { - input: RestoreTableToPointInTimeInput; - output: RestoreTableToPointInTimeOutput; - }; - sdk: { - input: RestoreTableToPointInTimeCommandInput; - output: RestoreTableToPointInTimeCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ScanCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ScanCommand.d.ts deleted file mode 100644 index d62a75e6..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/ScanCommand.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { ScanInput, ScanOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface ScanCommandInput extends ScanInput {} -export interface ScanCommandOutput extends ScanOutput, __MetadataBearer {} -declare const ScanCommand_base: { - new (input: ScanCommandInput): import("@smithy/smithy-client").CommandImpl< - ScanCommandInput, - ScanCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new (input: ScanCommandInput): import("@smithy/smithy-client").CommandImpl< - ScanCommandInput, - ScanCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class ScanCommand extends ScanCommand_base { - protected static __types: { - api: { - input: ScanInput; - output: ScanOutput; - }; - sdk: { - input: ScanCommandInput; - output: ScanCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TagResourceCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TagResourceCommand.d.ts deleted file mode 100644 index d8202983..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TagResourceCommand.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { TagResourceInput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface TagResourceCommandInput extends TagResourceInput {} -export interface TagResourceCommandOutput extends __MetadataBearer {} -declare const TagResourceCommand_base: { - new ( - input: TagResourceCommandInput - ): import("@smithy/smithy-client").CommandImpl< - TagResourceCommandInput, - TagResourceCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: TagResourceCommandInput - ): import("@smithy/smithy-client").CommandImpl< - TagResourceCommandInput, - TagResourceCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class TagResourceCommand extends TagResourceCommand_base { - protected static __types: { - api: { - input: TagResourceInput; - output: {}; - }; - sdk: { - input: TagResourceCommandInput; - output: TagResourceCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts deleted file mode 100644 index a82f0caa..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - TransactGetItemsInput, - TransactGetItemsOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface TransactGetItemsCommandInput extends TransactGetItemsInput {} -export interface TransactGetItemsCommandOutput - extends TransactGetItemsOutput, - __MetadataBearer {} -declare const TransactGetItemsCommand_base: { - new ( - input: TransactGetItemsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - TransactGetItemsCommandInput, - TransactGetItemsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: TransactGetItemsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - TransactGetItemsCommandInput, - TransactGetItemsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class TransactGetItemsCommand extends TransactGetItemsCommand_base { - protected static __types: { - api: { - input: TransactGetItemsInput; - output: TransactGetItemsOutput; - }; - sdk: { - input: TransactGetItemsCommandInput; - output: TransactGetItemsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts deleted file mode 100644 index bb0a4a7d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - TransactWriteItemsInput, - TransactWriteItemsOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface TransactWriteItemsCommandInput - extends TransactWriteItemsInput {} -export interface TransactWriteItemsCommandOutput - extends TransactWriteItemsOutput, - __MetadataBearer {} -declare const TransactWriteItemsCommand_base: { - new ( - input: TransactWriteItemsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - TransactWriteItemsCommandInput, - TransactWriteItemsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: TransactWriteItemsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - TransactWriteItemsCommandInput, - TransactWriteItemsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class TransactWriteItemsCommand extends TransactWriteItemsCommand_base { - protected static __types: { - api: { - input: TransactWriteItemsInput; - output: TransactWriteItemsOutput; - }; - sdk: { - input: TransactWriteItemsCommandInput; - output: TransactWriteItemsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UntagResourceCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UntagResourceCommand.d.ts deleted file mode 100644 index 175925a6..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { UntagResourceInput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface UntagResourceCommandInput extends UntagResourceInput {} -export interface UntagResourceCommandOutput extends __MetadataBearer {} -declare const UntagResourceCommand_base: { - new ( - input: UntagResourceCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UntagResourceCommandInput, - UntagResourceCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: UntagResourceCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UntagResourceCommandInput, - UntagResourceCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class UntagResourceCommand extends UntagResourceCommand_base { - protected static __types: { - api: { - input: UntagResourceInput; - output: {}; - }; - sdk: { - input: UntagResourceCommandInput; - output: UntagResourceCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts deleted file mode 100644 index 39556d2c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - UpdateContinuousBackupsInput, - UpdateContinuousBackupsOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface UpdateContinuousBackupsCommandInput - extends UpdateContinuousBackupsInput {} -export interface UpdateContinuousBackupsCommandOutput - extends UpdateContinuousBackupsOutput, - __MetadataBearer {} -declare const UpdateContinuousBackupsCommand_base: { - new ( - input: UpdateContinuousBackupsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateContinuousBackupsCommandInput, - UpdateContinuousBackupsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: UpdateContinuousBackupsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateContinuousBackupsCommandInput, - UpdateContinuousBackupsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class UpdateContinuousBackupsCommand extends UpdateContinuousBackupsCommand_base { - protected static __types: { - api: { - input: UpdateContinuousBackupsInput; - output: UpdateContinuousBackupsOutput; - }; - sdk: { - input: UpdateContinuousBackupsCommandInput; - output: UpdateContinuousBackupsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts deleted file mode 100644 index d6c1423f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - UpdateContributorInsightsInput, - UpdateContributorInsightsOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface UpdateContributorInsightsCommandInput - extends UpdateContributorInsightsInput {} -export interface UpdateContributorInsightsCommandOutput - extends UpdateContributorInsightsOutput, - __MetadataBearer {} -declare const UpdateContributorInsightsCommand_base: { - new ( - input: UpdateContributorInsightsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateContributorInsightsCommandInput, - UpdateContributorInsightsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: UpdateContributorInsightsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateContributorInsightsCommandInput, - UpdateContributorInsightsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class UpdateContributorInsightsCommand extends UpdateContributorInsightsCommand_base { - protected static __types: { - api: { - input: UpdateContributorInsightsInput; - output: UpdateContributorInsightsOutput; - }; - sdk: { - input: UpdateContributorInsightsCommandInput; - output: UpdateContributorInsightsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts deleted file mode 100644 index 63533098..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - UpdateGlobalTableInput, - UpdateGlobalTableOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface UpdateGlobalTableCommandInput extends UpdateGlobalTableInput {} -export interface UpdateGlobalTableCommandOutput - extends UpdateGlobalTableOutput, - __MetadataBearer {} -declare const UpdateGlobalTableCommand_base: { - new ( - input: UpdateGlobalTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateGlobalTableCommandInput, - UpdateGlobalTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: UpdateGlobalTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateGlobalTableCommandInput, - UpdateGlobalTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class UpdateGlobalTableCommand extends UpdateGlobalTableCommand_base { - protected static __types: { - api: { - input: UpdateGlobalTableInput; - output: UpdateGlobalTableOutput; - }; - sdk: { - input: UpdateGlobalTableCommandInput; - output: UpdateGlobalTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts deleted file mode 100644 index a09f36e5..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - UpdateGlobalTableSettingsInput, - UpdateGlobalTableSettingsOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface UpdateGlobalTableSettingsCommandInput - extends UpdateGlobalTableSettingsInput {} -export interface UpdateGlobalTableSettingsCommandOutput - extends UpdateGlobalTableSettingsOutput, - __MetadataBearer {} -declare const UpdateGlobalTableSettingsCommand_base: { - new ( - input: UpdateGlobalTableSettingsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateGlobalTableSettingsCommandInput, - UpdateGlobalTableSettingsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: UpdateGlobalTableSettingsCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateGlobalTableSettingsCommandInput, - UpdateGlobalTableSettingsCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class UpdateGlobalTableSettingsCommand extends UpdateGlobalTableSettingsCommand_base { - protected static __types: { - api: { - input: UpdateGlobalTableSettingsInput; - output: UpdateGlobalTableSettingsOutput; - }; - sdk: { - input: UpdateGlobalTableSettingsCommandInput; - output: UpdateGlobalTableSettingsCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateItemCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateItemCommand.d.ts deleted file mode 100644 index d3ca5ddc..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { UpdateItemInput, UpdateItemOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface UpdateItemCommandInput extends UpdateItemInput {} -export interface UpdateItemCommandOutput - extends UpdateItemOutput, - __MetadataBearer {} -declare const UpdateItemCommand_base: { - new ( - input: UpdateItemCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateItemCommandInput, - UpdateItemCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: UpdateItemCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateItemCommandInput, - UpdateItemCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class UpdateItemCommand extends UpdateItemCommand_base { - protected static __types: { - api: { - input: UpdateItemInput; - output: UpdateItemOutput; - }; - sdk: { - input: UpdateItemCommandInput; - output: UpdateItemCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts deleted file mode 100644 index ca53e224..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - UpdateKinesisStreamingDestinationInput, - UpdateKinesisStreamingDestinationOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface UpdateKinesisStreamingDestinationCommandInput - extends UpdateKinesisStreamingDestinationInput {} -export interface UpdateKinesisStreamingDestinationCommandOutput - extends UpdateKinesisStreamingDestinationOutput, - __MetadataBearer {} -declare const UpdateKinesisStreamingDestinationCommand_base: { - new ( - input: UpdateKinesisStreamingDestinationCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateKinesisStreamingDestinationCommandInput, - UpdateKinesisStreamingDestinationCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: UpdateKinesisStreamingDestinationCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateKinesisStreamingDestinationCommandInput, - UpdateKinesisStreamingDestinationCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class UpdateKinesisStreamingDestinationCommand extends UpdateKinesisStreamingDestinationCommand_base { - protected static __types: { - api: { - input: UpdateKinesisStreamingDestinationInput; - output: UpdateKinesisStreamingDestinationOutput; - }; - sdk: { - input: UpdateKinesisStreamingDestinationCommandInput; - output: UpdateKinesisStreamingDestinationCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateTableCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateTableCommand.d.ts deleted file mode 100644 index db41d212..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { UpdateTableInput, UpdateTableOutput } from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface UpdateTableCommandInput extends UpdateTableInput {} -export interface UpdateTableCommandOutput - extends UpdateTableOutput, - __MetadataBearer {} -declare const UpdateTableCommand_base: { - new ( - input: UpdateTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateTableCommandInput, - UpdateTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: UpdateTableCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateTableCommandInput, - UpdateTableCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class UpdateTableCommand extends UpdateTableCommand_base { - protected static __types: { - api: { - input: UpdateTableInput; - output: UpdateTableOutput; - }; - sdk: { - input: UpdateTableCommandInput; - output: UpdateTableCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts deleted file mode 100644 index 459a5273..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - UpdateTableReplicaAutoScalingInput, - UpdateTableReplicaAutoScalingOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface UpdateTableReplicaAutoScalingCommandInput - extends UpdateTableReplicaAutoScalingInput {} -export interface UpdateTableReplicaAutoScalingCommandOutput - extends UpdateTableReplicaAutoScalingOutput, - __MetadataBearer {} -declare const UpdateTableReplicaAutoScalingCommand_base: { - new ( - input: UpdateTableReplicaAutoScalingCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateTableReplicaAutoScalingCommandInput, - UpdateTableReplicaAutoScalingCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: UpdateTableReplicaAutoScalingCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateTableReplicaAutoScalingCommandInput, - UpdateTableReplicaAutoScalingCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class UpdateTableReplicaAutoScalingCommand extends UpdateTableReplicaAutoScalingCommand_base { - protected static __types: { - api: { - input: UpdateTableReplicaAutoScalingInput; - output: UpdateTableReplicaAutoScalingOutput; - }; - sdk: { - input: UpdateTableReplicaAutoScalingCommandInput; - output: UpdateTableReplicaAutoScalingCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts deleted file mode 100644 index 68500102..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer } from "@smithy/types"; -import { - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBClient"; -import { - UpdateTimeToLiveInput, - UpdateTimeToLiveOutput, -} from "../models/models_0"; -export { __MetadataBearer }; -export { $Command }; -export interface UpdateTimeToLiveCommandInput extends UpdateTimeToLiveInput {} -export interface UpdateTimeToLiveCommandOutput - extends UpdateTimeToLiveOutput, - __MetadataBearer {} -declare const UpdateTimeToLiveCommand_base: { - new ( - input: UpdateTimeToLiveCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateTimeToLiveCommandInput, - UpdateTimeToLiveCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - new ( - input: UpdateTimeToLiveCommandInput - ): import("@smithy/smithy-client").CommandImpl< - UpdateTimeToLiveCommandInput, - UpdateTimeToLiveCommandOutput, - DynamoDBClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes - >; - getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; -}; -export declare class UpdateTimeToLiveCommand extends UpdateTimeToLiveCommand_base { - protected static __types: { - api: { - input: UpdateTimeToLiveInput; - output: UpdateTimeToLiveOutput; - }; - sdk: { - input: UpdateTimeToLiveCommandInput; - output: UpdateTimeToLiveCommandOutput; - }; - }; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/index.d.ts deleted file mode 100644 index a5053a45..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/index.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -export * from "./BatchExecuteStatementCommand"; -export * from "./BatchGetItemCommand"; -export * from "./BatchWriteItemCommand"; -export * from "./CreateBackupCommand"; -export * from "./CreateGlobalTableCommand"; -export * from "./CreateTableCommand"; -export * from "./DeleteBackupCommand"; -export * from "./DeleteItemCommand"; -export * from "./DeleteResourcePolicyCommand"; -export * from "./DeleteTableCommand"; -export * from "./DescribeBackupCommand"; -export * from "./DescribeContinuousBackupsCommand"; -export * from "./DescribeContributorInsightsCommand"; -export * from "./DescribeEndpointsCommand"; -export * from "./DescribeExportCommand"; -export * from "./DescribeGlobalTableCommand"; -export * from "./DescribeGlobalTableSettingsCommand"; -export * from "./DescribeImportCommand"; -export * from "./DescribeKinesisStreamingDestinationCommand"; -export * from "./DescribeLimitsCommand"; -export * from "./DescribeTableCommand"; -export * from "./DescribeTableReplicaAutoScalingCommand"; -export * from "./DescribeTimeToLiveCommand"; -export * from "./DisableKinesisStreamingDestinationCommand"; -export * from "./EnableKinesisStreamingDestinationCommand"; -export * from "./ExecuteStatementCommand"; -export * from "./ExecuteTransactionCommand"; -export * from "./ExportTableToPointInTimeCommand"; -export * from "./GetItemCommand"; -export * from "./GetResourcePolicyCommand"; -export * from "./ImportTableCommand"; -export * from "./ListBackupsCommand"; -export * from "./ListContributorInsightsCommand"; -export * from "./ListExportsCommand"; -export * from "./ListGlobalTablesCommand"; -export * from "./ListImportsCommand"; -export * from "./ListTablesCommand"; -export * from "./ListTagsOfResourceCommand"; -export * from "./PutItemCommand"; -export * from "./PutResourcePolicyCommand"; -export * from "./QueryCommand"; -export * from "./RestoreTableFromBackupCommand"; -export * from "./RestoreTableToPointInTimeCommand"; -export * from "./ScanCommand"; -export * from "./TagResourceCommand"; -export * from "./TransactGetItemsCommand"; -export * from "./TransactWriteItemsCommand"; -export * from "./UntagResourceCommand"; -export * from "./UpdateContinuousBackupsCommand"; -export * from "./UpdateContributorInsightsCommand"; -export * from "./UpdateGlobalTableCommand"; -export * from "./UpdateGlobalTableSettingsCommand"; -export * from "./UpdateItemCommand"; -export * from "./UpdateKinesisStreamingDestinationCommand"; -export * from "./UpdateTableCommand"; -export * from "./UpdateTableReplicaAutoScalingCommand"; -export * from "./UpdateTimeToLiveCommand"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/EndpointParameters.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/EndpointParameters.d.ts deleted file mode 100644 index bef9c1a4..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { - Endpoint, - EndpointParameters as __EndpointParameters, - EndpointV2, - Provider, -} from "@smithy/types"; -export interface ClientInputEndpointParameters { - region?: string | undefined | Provider; - useDualstackEndpoint?: boolean | undefined | Provider; - useFipsEndpoint?: boolean | undefined | Provider; - endpoint?: - | string - | Provider - | Endpoint - | Provider - | EndpointV2 - | Provider; - accountId?: string | undefined | Provider; - accountIdEndpointMode?: string | undefined | Provider; -} -export type ClientResolvedEndpointParameters = Pick< - ClientInputEndpointParameters, - Exclude -> & { - defaultSigningName: string; -}; -export declare const resolveClientEndpointParameters: ( - options: T & ClientInputEndpointParameters -) => T & ClientResolvedEndpointParameters; -export declare const commonParams: { - readonly UseFIPS: { - readonly type: "builtInParams"; - readonly name: "useFipsEndpoint"; - }; - readonly AccountId: { - readonly type: "builtInParams"; - readonly name: "accountId"; - }; - readonly Endpoint: { - readonly type: "builtInParams"; - readonly name: "endpoint"; - }; - readonly Region: { - readonly type: "builtInParams"; - readonly name: "region"; - }; - readonly UseDualStack: { - readonly type: "builtInParams"; - readonly name: "useDualstackEndpoint"; - }; - readonly AccountIdEndpointMode: { - readonly type: "builtInParams"; - readonly name: "accountIdEndpointMode"; - }; -}; -export interface EndpointParameters extends __EndpointParameters { - Region?: string | undefined; - UseDualStack?: boolean | undefined; - UseFIPS?: boolean | undefined; - Endpoint?: string | undefined; - AccountId?: string | undefined; - AccountIdEndpointMode?: string | undefined; - ResourceArn?: string | undefined; - ResourceArnList?: string[] | undefined; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/endpointResolver.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/endpointResolver.d.ts deleted file mode 100644 index 59099254..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/endpointResolver.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { EndpointV2, Logger } from "@smithy/types"; -import { EndpointParameters } from "./EndpointParameters"; -export declare const defaultEndpointResolver: ( - endpointParams: EndpointParameters, - context?: { - logger?: Logger; - } -) => EndpointV2; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/ruleset.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/ruleset.d.ts deleted file mode 100644 index 4b238994..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/ruleset.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { RuleSetObject } from "@smithy/types"; -export declare const ruleSet: RuleSetObject; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/extensionConfiguration.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/extensionConfiguration.d.ts deleted file mode 100644 index 7db993d4..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/extensionConfiguration.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; -import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; -import { DefaultExtensionConfiguration } from "@smithy/types"; -import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; -export interface DynamoDBExtensionConfiguration - extends HttpHandlerExtensionConfiguration, - DefaultExtensionConfiguration, - AwsRegionExtensionConfiguration, - HttpAuthExtensionConfiguration {} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/index.d.ts deleted file mode 100644 index 0c8e9780..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export * from "./DynamoDBClient"; -export * from "./DynamoDB"; -export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; -export { RuntimeExtension } from "./runtimeExtensions"; -export { DynamoDBExtensionConfiguration } from "./extensionConfiguration"; -export * from "./commands"; -export * from "./schemas/schemas_0"; -export * from "./pagination"; -export * from "./waiters"; -export * from "./models/enums"; -export * from "./models/errors"; -export * from "./models/models_0"; -export { DynamoDBServiceException } from "./models/DynamoDBServiceException"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/DynamoDBServiceException.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/DynamoDBServiceException.d.ts deleted file mode 100644 index 7fc01637..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/DynamoDBServiceException.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { - ServiceExceptionOptions as __ServiceExceptionOptions, - ServiceException as __ServiceException, -} from "@smithy/smithy-client"; -export { __ServiceExceptionOptions }; -export { __ServiceException }; -export declare class DynamoDBServiceException extends __ServiceException { - constructor(options: __ServiceExceptionOptions); -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/enums.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/enums.d.ts deleted file mode 100644 index 7c3c8f29..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/enums.d.ts +++ /dev/null @@ -1,313 +0,0 @@ -export declare const ApproximateCreationDateTimePrecision: { - readonly MICROSECOND: "MICROSECOND"; - readonly MILLISECOND: "MILLISECOND"; -}; -export type ApproximateCreationDateTimePrecision = - (typeof ApproximateCreationDateTimePrecision)[keyof typeof ApproximateCreationDateTimePrecision]; -export declare const AttributeAction: { - readonly ADD: "ADD"; - readonly DELETE: "DELETE"; - readonly PUT: "PUT"; -}; -export type AttributeAction = - (typeof AttributeAction)[keyof typeof AttributeAction]; -export declare const ScalarAttributeType: { - readonly B: "B"; - readonly N: "N"; - readonly S: "S"; -}; -export type ScalarAttributeType = - (typeof ScalarAttributeType)[keyof typeof ScalarAttributeType]; -export declare const BackupStatus: { - readonly AVAILABLE: "AVAILABLE"; - readonly CREATING: "CREATING"; - readonly DELETED: "DELETED"; -}; -export type BackupStatus = (typeof BackupStatus)[keyof typeof BackupStatus]; -export declare const BackupType: { - readonly AWS_BACKUP: "AWS_BACKUP"; - readonly SYSTEM: "SYSTEM"; - readonly USER: "USER"; -}; -export type BackupType = (typeof BackupType)[keyof typeof BackupType]; -export declare const BillingMode: { - readonly PAY_PER_REQUEST: "PAY_PER_REQUEST"; - readonly PROVISIONED: "PROVISIONED"; -}; -export type BillingMode = (typeof BillingMode)[keyof typeof BillingMode]; -export declare const KeyType: { - readonly HASH: "HASH"; - readonly RANGE: "RANGE"; -}; -export type KeyType = (typeof KeyType)[keyof typeof KeyType]; -export declare const ProjectionType: { - readonly ALL: "ALL"; - readonly INCLUDE: "INCLUDE"; - readonly KEYS_ONLY: "KEYS_ONLY"; -}; -export type ProjectionType = - (typeof ProjectionType)[keyof typeof ProjectionType]; -export declare const SSEType: { - readonly AES256: "AES256"; - readonly KMS: "KMS"; -}; -export type SSEType = (typeof SSEType)[keyof typeof SSEType]; -export declare const SSEStatus: { - readonly DISABLED: "DISABLED"; - readonly DISABLING: "DISABLING"; - readonly ENABLED: "ENABLED"; - readonly ENABLING: "ENABLING"; - readonly UPDATING: "UPDATING"; -}; -export type SSEStatus = (typeof SSEStatus)[keyof typeof SSEStatus]; -export declare const StreamViewType: { - readonly KEYS_ONLY: "KEYS_ONLY"; - readonly NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES"; - readonly NEW_IMAGE: "NEW_IMAGE"; - readonly OLD_IMAGE: "OLD_IMAGE"; -}; -export type StreamViewType = - (typeof StreamViewType)[keyof typeof StreamViewType]; -export declare const TimeToLiveStatus: { - readonly DISABLED: "DISABLED"; - readonly DISABLING: "DISABLING"; - readonly ENABLED: "ENABLED"; - readonly ENABLING: "ENABLING"; -}; -export type TimeToLiveStatus = - (typeof TimeToLiveStatus)[keyof typeof TimeToLiveStatus]; -export declare const BackupTypeFilter: { - readonly ALL: "ALL"; - readonly AWS_BACKUP: "AWS_BACKUP"; - readonly SYSTEM: "SYSTEM"; - readonly USER: "USER"; -}; -export type BackupTypeFilter = - (typeof BackupTypeFilter)[keyof typeof BackupTypeFilter]; -export declare const ReturnConsumedCapacity: { - readonly INDEXES: "INDEXES"; - readonly NONE: "NONE"; - readonly TOTAL: "TOTAL"; -}; -export type ReturnConsumedCapacity = - (typeof ReturnConsumedCapacity)[keyof typeof ReturnConsumedCapacity]; -export declare const ReturnValuesOnConditionCheckFailure: { - readonly ALL_OLD: "ALL_OLD"; - readonly NONE: "NONE"; -}; -export type ReturnValuesOnConditionCheckFailure = - (typeof ReturnValuesOnConditionCheckFailure)[keyof typeof ReturnValuesOnConditionCheckFailure]; -export declare const BatchStatementErrorCodeEnum: { - readonly AccessDenied: "AccessDenied"; - readonly ConditionalCheckFailed: "ConditionalCheckFailed"; - readonly DuplicateItem: "DuplicateItem"; - readonly InternalServerError: "InternalServerError"; - readonly ItemCollectionSizeLimitExceeded: "ItemCollectionSizeLimitExceeded"; - readonly ProvisionedThroughputExceeded: "ProvisionedThroughputExceeded"; - readonly RequestLimitExceeded: "RequestLimitExceeded"; - readonly ResourceNotFound: "ResourceNotFound"; - readonly ThrottlingError: "ThrottlingError"; - readonly TransactionConflict: "TransactionConflict"; - readonly ValidationError: "ValidationError"; -}; -export type BatchStatementErrorCodeEnum = - (typeof BatchStatementErrorCodeEnum)[keyof typeof BatchStatementErrorCodeEnum]; -export declare const ReturnItemCollectionMetrics: { - readonly NONE: "NONE"; - readonly SIZE: "SIZE"; -}; -export type ReturnItemCollectionMetrics = - (typeof ReturnItemCollectionMetrics)[keyof typeof ReturnItemCollectionMetrics]; -export declare const ComparisonOperator: { - readonly BEGINS_WITH: "BEGINS_WITH"; - readonly BETWEEN: "BETWEEN"; - readonly CONTAINS: "CONTAINS"; - readonly EQ: "EQ"; - readonly GE: "GE"; - readonly GT: "GT"; - readonly IN: "IN"; - readonly LE: "LE"; - readonly LT: "LT"; - readonly NE: "NE"; - readonly NOT_CONTAINS: "NOT_CONTAINS"; - readonly NOT_NULL: "NOT_NULL"; - readonly NULL: "NULL"; -}; -export type ComparisonOperator = - (typeof ComparisonOperator)[keyof typeof ComparisonOperator]; -export declare const ConditionalOperator: { - readonly AND: "AND"; - readonly OR: "OR"; -}; -export type ConditionalOperator = - (typeof ConditionalOperator)[keyof typeof ConditionalOperator]; -export declare const ContinuousBackupsStatus: { - readonly DISABLED: "DISABLED"; - readonly ENABLED: "ENABLED"; -}; -export type ContinuousBackupsStatus = - (typeof ContinuousBackupsStatus)[keyof typeof ContinuousBackupsStatus]; -export declare const PointInTimeRecoveryStatus: { - readonly DISABLED: "DISABLED"; - readonly ENABLED: "ENABLED"; -}; -export type PointInTimeRecoveryStatus = - (typeof PointInTimeRecoveryStatus)[keyof typeof PointInTimeRecoveryStatus]; -export declare const ContributorInsightsAction: { - readonly DISABLE: "DISABLE"; - readonly ENABLE: "ENABLE"; -}; -export type ContributorInsightsAction = - (typeof ContributorInsightsAction)[keyof typeof ContributorInsightsAction]; -export declare const ContributorInsightsMode: { - readonly ACCESSED_AND_THROTTLED_KEYS: "ACCESSED_AND_THROTTLED_KEYS"; - readonly THROTTLED_KEYS: "THROTTLED_KEYS"; -}; -export type ContributorInsightsMode = - (typeof ContributorInsightsMode)[keyof typeof ContributorInsightsMode]; -export declare const ContributorInsightsStatus: { - readonly DISABLED: "DISABLED"; - readonly DISABLING: "DISABLING"; - readonly ENABLED: "ENABLED"; - readonly ENABLING: "ENABLING"; - readonly FAILED: "FAILED"; -}; -export type ContributorInsightsStatus = - (typeof ContributorInsightsStatus)[keyof typeof ContributorInsightsStatus]; -export declare const GlobalTableStatus: { - readonly ACTIVE: "ACTIVE"; - readonly CREATING: "CREATING"; - readonly DELETING: "DELETING"; - readonly UPDATING: "UPDATING"; -}; -export type GlobalTableStatus = - (typeof GlobalTableStatus)[keyof typeof GlobalTableStatus]; -export declare const IndexStatus: { - readonly ACTIVE: "ACTIVE"; - readonly CREATING: "CREATING"; - readonly DELETING: "DELETING"; - readonly UPDATING: "UPDATING"; -}; -export type IndexStatus = (typeof IndexStatus)[keyof typeof IndexStatus]; -export declare const GlobalTableSettingsReplicationMode: { - readonly DISABLED: "DISABLED"; - readonly ENABLED: "ENABLED"; - readonly ENABLED_WITH_OVERRIDES: "ENABLED_WITH_OVERRIDES"; -}; -export type GlobalTableSettingsReplicationMode = - (typeof GlobalTableSettingsReplicationMode)[keyof typeof GlobalTableSettingsReplicationMode]; -export declare const ReplicaStatus: { - readonly ACTIVE: "ACTIVE"; - readonly ARCHIVED: "ARCHIVED"; - readonly ARCHIVING: "ARCHIVING"; - readonly CREATING: "CREATING"; - readonly CREATION_FAILED: "CREATION_FAILED"; - readonly DELETING: "DELETING"; - readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS"; - readonly REGION_DISABLED: "REGION_DISABLED"; - readonly REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED"; - readonly UPDATING: "UPDATING"; -}; -export type ReplicaStatus = (typeof ReplicaStatus)[keyof typeof ReplicaStatus]; -export declare const TableClass: { - readonly STANDARD: "STANDARD"; - readonly STANDARD_INFREQUENT_ACCESS: "STANDARD_INFREQUENT_ACCESS"; -}; -export type TableClass = (typeof TableClass)[keyof typeof TableClass]; -export declare const TableStatus: { - readonly ACTIVE: "ACTIVE"; - readonly ARCHIVED: "ARCHIVED"; - readonly ARCHIVING: "ARCHIVING"; - readonly CREATING: "CREATING"; - readonly DELETING: "DELETING"; - readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS"; - readonly REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED"; - readonly UPDATING: "UPDATING"; -}; -export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus]; -export declare const WitnessStatus: { - readonly ACTIVE: "ACTIVE"; - readonly CREATING: "CREATING"; - readonly DELETING: "DELETING"; -}; -export type WitnessStatus = (typeof WitnessStatus)[keyof typeof WitnessStatus]; -export declare const MultiRegionConsistency: { - readonly EVENTUAL: "EVENTUAL"; - readonly STRONG: "STRONG"; -}; -export type MultiRegionConsistency = - (typeof MultiRegionConsistency)[keyof typeof MultiRegionConsistency]; -export declare const ReturnValue: { - readonly ALL_NEW: "ALL_NEW"; - readonly ALL_OLD: "ALL_OLD"; - readonly NONE: "NONE"; - readonly UPDATED_NEW: "UPDATED_NEW"; - readonly UPDATED_OLD: "UPDATED_OLD"; -}; -export type ReturnValue = (typeof ReturnValue)[keyof typeof ReturnValue]; -export declare const ExportFormat: { - readonly DYNAMODB_JSON: "DYNAMODB_JSON"; - readonly ION: "ION"; -}; -export type ExportFormat = (typeof ExportFormat)[keyof typeof ExportFormat]; -export declare const ExportStatus: { - readonly COMPLETED: "COMPLETED"; - readonly FAILED: "FAILED"; - readonly IN_PROGRESS: "IN_PROGRESS"; -}; -export type ExportStatus = (typeof ExportStatus)[keyof typeof ExportStatus]; -export declare const ExportType: { - readonly FULL_EXPORT: "FULL_EXPORT"; - readonly INCREMENTAL_EXPORT: "INCREMENTAL_EXPORT"; -}; -export type ExportType = (typeof ExportType)[keyof typeof ExportType]; -export declare const ExportViewType: { - readonly NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES"; - readonly NEW_IMAGE: "NEW_IMAGE"; -}; -export type ExportViewType = - (typeof ExportViewType)[keyof typeof ExportViewType]; -export declare const S3SseAlgorithm: { - readonly AES256: "AES256"; - readonly KMS: "KMS"; -}; -export type S3SseAlgorithm = - (typeof S3SseAlgorithm)[keyof typeof S3SseAlgorithm]; -export declare const ImportStatus: { - readonly CANCELLED: "CANCELLED"; - readonly CANCELLING: "CANCELLING"; - readonly COMPLETED: "COMPLETED"; - readonly FAILED: "FAILED"; - readonly IN_PROGRESS: "IN_PROGRESS"; -}; -export type ImportStatus = (typeof ImportStatus)[keyof typeof ImportStatus]; -export declare const InputCompressionType: { - readonly GZIP: "GZIP"; - readonly NONE: "NONE"; - readonly ZSTD: "ZSTD"; -}; -export type InputCompressionType = - (typeof InputCompressionType)[keyof typeof InputCompressionType]; -export declare const InputFormat: { - readonly CSV: "CSV"; - readonly DYNAMODB_JSON: "DYNAMODB_JSON"; - readonly ION: "ION"; -}; -export type InputFormat = (typeof InputFormat)[keyof typeof InputFormat]; -export declare const DestinationStatus: { - readonly ACTIVE: "ACTIVE"; - readonly DISABLED: "DISABLED"; - readonly DISABLING: "DISABLING"; - readonly ENABLE_FAILED: "ENABLE_FAILED"; - readonly ENABLING: "ENABLING"; - readonly UPDATING: "UPDATING"; -}; -export type DestinationStatus = - (typeof DestinationStatus)[keyof typeof DestinationStatus]; -export declare const Select: { - readonly ALL_ATTRIBUTES: "ALL_ATTRIBUTES"; - readonly ALL_PROJECTED_ATTRIBUTES: "ALL_PROJECTED_ATTRIBUTES"; - readonly COUNT: "COUNT"; - readonly SPECIFIC_ATTRIBUTES: "SPECIFIC_ATTRIBUTES"; -}; -export type Select = (typeof Select)[keyof typeof Select]; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/errors.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/errors.d.ts deleted file mode 100644 index 7cde3f4a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/errors.d.ts +++ /dev/null @@ -1,286 +0,0 @@ -import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; -import { DynamoDBServiceException as __BaseException } from "./DynamoDBServiceException"; -import { - AttributeValue, - CancellationReason, - ThrottlingReason, -} from "./models_0"; -export declare class BackupInUseException extends __BaseException { - readonly name: "BackupInUseException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class BackupNotFoundException extends __BaseException { - readonly name: "BackupNotFoundException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class InternalServerError extends __BaseException { - readonly name: "InternalServerError"; - readonly $fault: "server"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class RequestLimitExceeded extends __BaseException { - readonly name: "RequestLimitExceeded"; - readonly $fault: "client"; - ThrottlingReasons?: ThrottlingReason[] | undefined; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class ThrottlingException extends __BaseException { - readonly name: "ThrottlingException"; - readonly $fault: "client"; - throttlingReasons?: ThrottlingReason[] | undefined; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class InvalidEndpointException extends __BaseException { - readonly name: "InvalidEndpointException"; - readonly $fault: "client"; - Message?: string | undefined; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class ProvisionedThroughputExceededException extends __BaseException { - readonly name: "ProvisionedThroughputExceededException"; - readonly $fault: "client"; - ThrottlingReasons?: ThrottlingReason[] | undefined; - constructor( - opts: __ExceptionOptionType< - ProvisionedThroughputExceededException, - __BaseException - > - ); -} -export declare class ResourceNotFoundException extends __BaseException { - readonly name: "ResourceNotFoundException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class ItemCollectionSizeLimitExceededException extends __BaseException { - readonly name: "ItemCollectionSizeLimitExceededException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType< - ItemCollectionSizeLimitExceededException, - __BaseException - > - ); -} -export declare class ReplicatedWriteConflictException extends __BaseException { - readonly name: "ReplicatedWriteConflictException"; - readonly $fault: "client"; - $retryable: {}; - constructor( - opts: __ExceptionOptionType< - ReplicatedWriteConflictException, - __BaseException - > - ); -} -export declare class ContinuousBackupsUnavailableException extends __BaseException { - readonly name: "ContinuousBackupsUnavailableException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType< - ContinuousBackupsUnavailableException, - __BaseException - > - ); -} -export declare class LimitExceededException extends __BaseException { - readonly name: "LimitExceededException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class TableInUseException extends __BaseException { - readonly name: "TableInUseException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class TableNotFoundException extends __BaseException { - readonly name: "TableNotFoundException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class GlobalTableAlreadyExistsException extends __BaseException { - readonly name: "GlobalTableAlreadyExistsException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType< - GlobalTableAlreadyExistsException, - __BaseException - > - ); -} -export declare class ResourceInUseException extends __BaseException { - readonly name: "ResourceInUseException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class TransactionConflictException extends __BaseException { - readonly name: "TransactionConflictException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class PolicyNotFoundException extends __BaseException { - readonly name: "PolicyNotFoundException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class ExportNotFoundException extends __BaseException { - readonly name: "ExportNotFoundException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class GlobalTableNotFoundException extends __BaseException { - readonly name: "GlobalTableNotFoundException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class ImportNotFoundException extends __BaseException { - readonly name: "ImportNotFoundException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class DuplicateItemException extends __BaseException { - readonly name: "DuplicateItemException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class IdempotentParameterMismatchException extends __BaseException { - readonly name: "IdempotentParameterMismatchException"; - readonly $fault: "client"; - Message?: string | undefined; - constructor( - opts: __ExceptionOptionType< - IdempotentParameterMismatchException, - __BaseException - > - ); -} -export declare class TransactionInProgressException extends __BaseException { - readonly name: "TransactionInProgressException"; - readonly $fault: "client"; - Message?: string | undefined; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class ExportConflictException extends __BaseException { - readonly name: "ExportConflictException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class InvalidExportTimeException extends __BaseException { - readonly name: "InvalidExportTimeException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class PointInTimeRecoveryUnavailableException extends __BaseException { - readonly name: "PointInTimeRecoveryUnavailableException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType< - PointInTimeRecoveryUnavailableException, - __BaseException - > - ); -} -export declare class ImportConflictException extends __BaseException { - readonly name: "ImportConflictException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class TableAlreadyExistsException extends __BaseException { - readonly name: "TableAlreadyExistsException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class InvalidRestoreTimeException extends __BaseException { - readonly name: "InvalidRestoreTimeException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class ReplicaAlreadyExistsException extends __BaseException { - readonly name: "ReplicaAlreadyExistsException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class ReplicaNotFoundException extends __BaseException { - readonly name: "ReplicaNotFoundException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class IndexNotFoundException extends __BaseException { - readonly name: "IndexNotFoundException"; - readonly $fault: "client"; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class ConditionalCheckFailedException extends __BaseException { - readonly name: "ConditionalCheckFailedException"; - readonly $fault: "client"; - Item?: Record | undefined; - constructor( - opts: __ExceptionOptionType< - ConditionalCheckFailedException, - __BaseException - > - ); -} -export declare class TransactionCanceledException extends __BaseException { - readonly name: "TransactionCanceledException"; - readonly $fault: "client"; - Message?: string | undefined; - CancellationReasons?: CancellationReason[] | undefined; - constructor( - opts: __ExceptionOptionType - ); -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_0.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_0.d.ts deleted file mode 100644 index a001c995..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_0.d.ts +++ /dev/null @@ -1,1558 +0,0 @@ -import { - ApproximateCreationDateTimePrecision, - AttributeAction, - BackupStatus, - BackupType, - BackupTypeFilter, - BatchStatementErrorCodeEnum, - BillingMode, - ComparisonOperator, - ConditionalOperator, - ContinuousBackupsStatus, - ContributorInsightsAction, - ContributorInsightsMode, - ContributorInsightsStatus, - DestinationStatus, - ExportFormat, - ExportStatus, - ExportType, - ExportViewType, - GlobalTableSettingsReplicationMode, - GlobalTableStatus, - ImportStatus, - IndexStatus, - InputCompressionType, - InputFormat, - KeyType, - MultiRegionConsistency, - PointInTimeRecoveryStatus, - ProjectionType, - ReplicaStatus, - ReturnConsumedCapacity, - ReturnItemCollectionMetrics, - ReturnValue, - ReturnValuesOnConditionCheckFailure, - S3SseAlgorithm, - ScalarAttributeType, - Select, - SSEStatus, - SSEType, - StreamViewType, - TableClass, - TableStatus, - TimeToLiveStatus, - WitnessStatus, -} from "./enums"; -export interface ArchivalSummary { - ArchivalDateTime?: Date | undefined; - ArchivalReason?: string | undefined; - ArchivalBackupArn?: string | undefined; -} -export interface AttributeDefinition { - AttributeName: string | undefined; - AttributeType: ScalarAttributeType | undefined; -} -export interface AutoScalingTargetTrackingScalingPolicyConfigurationDescription { - DisableScaleIn?: boolean | undefined; - ScaleInCooldown?: number | undefined; - ScaleOutCooldown?: number | undefined; - TargetValue: number | undefined; -} -export interface AutoScalingPolicyDescription { - PolicyName?: string | undefined; - TargetTrackingScalingPolicyConfiguration?: - | AutoScalingTargetTrackingScalingPolicyConfigurationDescription - | undefined; -} -export interface AutoScalingTargetTrackingScalingPolicyConfigurationUpdate { - DisableScaleIn?: boolean | undefined; - ScaleInCooldown?: number | undefined; - ScaleOutCooldown?: number | undefined; - TargetValue: number | undefined; -} -export interface AutoScalingPolicyUpdate { - PolicyName?: string | undefined; - TargetTrackingScalingPolicyConfiguration: - | AutoScalingTargetTrackingScalingPolicyConfigurationUpdate - | undefined; -} -export interface AutoScalingSettingsDescription { - MinimumUnits?: number | undefined; - MaximumUnits?: number | undefined; - AutoScalingDisabled?: boolean | undefined; - AutoScalingRoleArn?: string | undefined; - ScalingPolicies?: AutoScalingPolicyDescription[] | undefined; -} -export interface AutoScalingSettingsUpdate { - MinimumUnits?: number | undefined; - MaximumUnits?: number | undefined; - AutoScalingDisabled?: boolean | undefined; - AutoScalingRoleArn?: string | undefined; - ScalingPolicyUpdate?: AutoScalingPolicyUpdate | undefined; -} -export interface BackupDetails { - BackupArn: string | undefined; - BackupName: string | undefined; - BackupSizeBytes?: number | undefined; - BackupStatus: BackupStatus | undefined; - BackupType: BackupType | undefined; - BackupCreationDateTime: Date | undefined; - BackupExpiryDateTime?: Date | undefined; -} -export interface KeySchemaElement { - AttributeName: string | undefined; - KeyType: KeyType | undefined; -} -export interface OnDemandThroughput { - MaxReadRequestUnits?: number | undefined; - MaxWriteRequestUnits?: number | undefined; -} -export interface ProvisionedThroughput { - ReadCapacityUnits: number | undefined; - WriteCapacityUnits: number | undefined; -} -export interface SourceTableDetails { - TableName: string | undefined; - TableId: string | undefined; - TableArn?: string | undefined; - TableSizeBytes?: number | undefined; - KeySchema: KeySchemaElement[] | undefined; - TableCreationDateTime: Date | undefined; - ProvisionedThroughput: ProvisionedThroughput | undefined; - OnDemandThroughput?: OnDemandThroughput | undefined; - ItemCount?: number | undefined; - BillingMode?: BillingMode | undefined; -} -export interface Projection { - ProjectionType?: ProjectionType | undefined; - NonKeyAttributes?: string[] | undefined; -} -export interface GlobalSecondaryIndexInfo { - IndexName?: string | undefined; - KeySchema?: KeySchemaElement[] | undefined; - Projection?: Projection | undefined; - ProvisionedThroughput?: ProvisionedThroughput | undefined; - OnDemandThroughput?: OnDemandThroughput | undefined; -} -export interface LocalSecondaryIndexInfo { - IndexName?: string | undefined; - KeySchema?: KeySchemaElement[] | undefined; - Projection?: Projection | undefined; -} -export interface SSEDescription { - Status?: SSEStatus | undefined; - SSEType?: SSEType | undefined; - KMSMasterKeyArn?: string | undefined; - InaccessibleEncryptionDateTime?: Date | undefined; -} -export interface StreamSpecification { - StreamEnabled: boolean | undefined; - StreamViewType?: StreamViewType | undefined; -} -export interface TimeToLiveDescription { - TimeToLiveStatus?: TimeToLiveStatus | undefined; - AttributeName?: string | undefined; -} -export interface SourceTableFeatureDetails { - LocalSecondaryIndexes?: LocalSecondaryIndexInfo[] | undefined; - GlobalSecondaryIndexes?: GlobalSecondaryIndexInfo[] | undefined; - StreamDescription?: StreamSpecification | undefined; - TimeToLiveDescription?: TimeToLiveDescription | undefined; - SSEDescription?: SSEDescription | undefined; -} -export interface BackupDescription { - BackupDetails?: BackupDetails | undefined; - SourceTableDetails?: SourceTableDetails | undefined; - SourceTableFeatureDetails?: SourceTableFeatureDetails | undefined; -} -export interface BackupSummary { - TableName?: string | undefined; - TableId?: string | undefined; - TableArn?: string | undefined; - BackupArn?: string | undefined; - BackupName?: string | undefined; - BackupCreationDateTime?: Date | undefined; - BackupExpiryDateTime?: Date | undefined; - BackupStatus?: BackupStatus | undefined; - BackupType?: BackupType | undefined; - BackupSizeBytes?: number | undefined; -} -export interface Capacity { - ReadCapacityUnits?: number | undefined; - WriteCapacityUnits?: number | undefined; - CapacityUnits?: number | undefined; -} -export interface ConsumedCapacity { - TableName?: string | undefined; - CapacityUnits?: number | undefined; - ReadCapacityUnits?: number | undefined; - WriteCapacityUnits?: number | undefined; - Table?: Capacity | undefined; - LocalSecondaryIndexes?: Record | undefined; - GlobalSecondaryIndexes?: Record | undefined; -} -export interface ThrottlingReason { - reason?: string | undefined; - resource?: string | undefined; -} -export interface BillingModeSummary { - BillingMode?: BillingMode | undefined; - LastUpdateToPayPerRequestDateTime?: Date | undefined; -} -export interface PointInTimeRecoveryDescription { - PointInTimeRecoveryStatus?: PointInTimeRecoveryStatus | undefined; - RecoveryPeriodInDays?: number | undefined; - EarliestRestorableDateTime?: Date | undefined; - LatestRestorableDateTime?: Date | undefined; -} -export interface ContinuousBackupsDescription { - ContinuousBackupsStatus: ContinuousBackupsStatus | undefined; - PointInTimeRecoveryDescription?: PointInTimeRecoveryDescription | undefined; -} -export interface ContributorInsightsSummary { - TableName?: string | undefined; - IndexName?: string | undefined; - ContributorInsightsStatus?: ContributorInsightsStatus | undefined; - ContributorInsightsMode?: ContributorInsightsMode | undefined; -} -export interface CreateBackupInput { - TableName: string | undefined; - BackupName: string | undefined; -} -export interface CreateBackupOutput { - BackupDetails?: BackupDetails | undefined; -} -export interface WarmThroughput { - ReadUnitsPerSecond?: number | undefined; - WriteUnitsPerSecond?: number | undefined; -} -export interface CreateGlobalSecondaryIndexAction { - IndexName: string | undefined; - KeySchema: KeySchemaElement[] | undefined; - Projection: Projection | undefined; - ProvisionedThroughput?: ProvisionedThroughput | undefined; - OnDemandThroughput?: OnDemandThroughput | undefined; - WarmThroughput?: WarmThroughput | undefined; -} -export interface Replica { - RegionName?: string | undefined; -} -export interface CreateGlobalTableInput { - GlobalTableName: string | undefined; - ReplicationGroup: Replica[] | undefined; -} -export interface OnDemandThroughputOverride { - MaxReadRequestUnits?: number | undefined; -} -export interface ProvisionedThroughputOverride { - ReadCapacityUnits?: number | undefined; -} -export interface GlobalSecondaryIndexWarmThroughputDescription { - ReadUnitsPerSecond?: number | undefined; - WriteUnitsPerSecond?: number | undefined; - Status?: IndexStatus | undefined; -} -export interface ReplicaGlobalSecondaryIndexDescription { - IndexName?: string | undefined; - ProvisionedThroughputOverride?: ProvisionedThroughputOverride | undefined; - OnDemandThroughputOverride?: OnDemandThroughputOverride | undefined; - WarmThroughput?: GlobalSecondaryIndexWarmThroughputDescription | undefined; -} -export interface TableClassSummary { - TableClass?: TableClass | undefined; - LastUpdateDateTime?: Date | undefined; -} -export interface TableWarmThroughputDescription { - ReadUnitsPerSecond?: number | undefined; - WriteUnitsPerSecond?: number | undefined; - Status?: TableStatus | undefined; -} -export interface ReplicaDescription { - RegionName?: string | undefined; - ReplicaStatus?: ReplicaStatus | undefined; - ReplicaArn?: string | undefined; - ReplicaStatusDescription?: string | undefined; - ReplicaStatusPercentProgress?: string | undefined; - KMSMasterKeyId?: string | undefined; - ProvisionedThroughputOverride?: ProvisionedThroughputOverride | undefined; - OnDemandThroughputOverride?: OnDemandThroughputOverride | undefined; - WarmThroughput?: TableWarmThroughputDescription | undefined; - GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndexDescription[] | undefined; - ReplicaInaccessibleDateTime?: Date | undefined; - ReplicaTableClassSummary?: TableClassSummary | undefined; - GlobalTableSettingsReplicationMode?: - | GlobalTableSettingsReplicationMode - | undefined; -} -export interface GlobalTableDescription { - ReplicationGroup?: ReplicaDescription[] | undefined; - GlobalTableArn?: string | undefined; - CreationDateTime?: Date | undefined; - GlobalTableStatus?: GlobalTableStatus | undefined; - GlobalTableName?: string | undefined; -} -export interface CreateGlobalTableOutput { - GlobalTableDescription?: GlobalTableDescription | undefined; -} -export interface CreateGlobalTableWitnessGroupMemberAction { - RegionName: string | undefined; -} -export interface CreateReplicaAction { - RegionName: string | undefined; -} -export interface ReplicaGlobalSecondaryIndex { - IndexName: string | undefined; - ProvisionedThroughputOverride?: ProvisionedThroughputOverride | undefined; - OnDemandThroughputOverride?: OnDemandThroughputOverride | undefined; -} -export interface CreateReplicationGroupMemberAction { - RegionName: string | undefined; - KMSMasterKeyId?: string | undefined; - ProvisionedThroughputOverride?: ProvisionedThroughputOverride | undefined; - OnDemandThroughputOverride?: OnDemandThroughputOverride | undefined; - GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndex[] | undefined; - TableClassOverride?: TableClass | undefined; -} -export interface GlobalSecondaryIndex { - IndexName: string | undefined; - KeySchema: KeySchemaElement[] | undefined; - Projection: Projection | undefined; - ProvisionedThroughput?: ProvisionedThroughput | undefined; - OnDemandThroughput?: OnDemandThroughput | undefined; - WarmThroughput?: WarmThroughput | undefined; -} -export interface LocalSecondaryIndex { - IndexName: string | undefined; - KeySchema: KeySchemaElement[] | undefined; - Projection: Projection | undefined; -} -export interface SSESpecification { - Enabled?: boolean | undefined; - SSEType?: SSEType | undefined; - KMSMasterKeyId?: string | undefined; -} -export interface Tag { - Key: string | undefined; - Value: string | undefined; -} -export interface CreateTableInput { - AttributeDefinitions?: AttributeDefinition[] | undefined; - TableName: string | undefined; - KeySchema?: KeySchemaElement[] | undefined; - LocalSecondaryIndexes?: LocalSecondaryIndex[] | undefined; - GlobalSecondaryIndexes?: GlobalSecondaryIndex[] | undefined; - BillingMode?: BillingMode | undefined; - ProvisionedThroughput?: ProvisionedThroughput | undefined; - StreamSpecification?: StreamSpecification | undefined; - SSESpecification?: SSESpecification | undefined; - Tags?: Tag[] | undefined; - TableClass?: TableClass | undefined; - DeletionProtectionEnabled?: boolean | undefined; - WarmThroughput?: WarmThroughput | undefined; - ResourcePolicy?: string | undefined; - OnDemandThroughput?: OnDemandThroughput | undefined; - GlobalTableSourceArn?: string | undefined; - GlobalTableSettingsReplicationMode?: - | GlobalTableSettingsReplicationMode - | undefined; -} -export interface ProvisionedThroughputDescription { - LastIncreaseDateTime?: Date | undefined; - LastDecreaseDateTime?: Date | undefined; - NumberOfDecreasesToday?: number | undefined; - ReadCapacityUnits?: number | undefined; - WriteCapacityUnits?: number | undefined; -} -export interface GlobalSecondaryIndexDescription { - IndexName?: string | undefined; - KeySchema?: KeySchemaElement[] | undefined; - Projection?: Projection | undefined; - IndexStatus?: IndexStatus | undefined; - Backfilling?: boolean | undefined; - ProvisionedThroughput?: ProvisionedThroughputDescription | undefined; - IndexSizeBytes?: number | undefined; - ItemCount?: number | undefined; - IndexArn?: string | undefined; - OnDemandThroughput?: OnDemandThroughput | undefined; - WarmThroughput?: GlobalSecondaryIndexWarmThroughputDescription | undefined; -} -export interface GlobalTableWitnessDescription { - RegionName?: string | undefined; - WitnessStatus?: WitnessStatus | undefined; -} -export interface LocalSecondaryIndexDescription { - IndexName?: string | undefined; - KeySchema?: KeySchemaElement[] | undefined; - Projection?: Projection | undefined; - IndexSizeBytes?: number | undefined; - ItemCount?: number | undefined; - IndexArn?: string | undefined; -} -export interface RestoreSummary { - SourceBackupArn?: string | undefined; - SourceTableArn?: string | undefined; - RestoreDateTime: Date | undefined; - RestoreInProgress: boolean | undefined; -} -export interface TableDescription { - AttributeDefinitions?: AttributeDefinition[] | undefined; - TableName?: string | undefined; - KeySchema?: KeySchemaElement[] | undefined; - TableStatus?: TableStatus | undefined; - CreationDateTime?: Date | undefined; - ProvisionedThroughput?: ProvisionedThroughputDescription | undefined; - TableSizeBytes?: number | undefined; - ItemCount?: number | undefined; - TableArn?: string | undefined; - TableId?: string | undefined; - BillingModeSummary?: BillingModeSummary | undefined; - LocalSecondaryIndexes?: LocalSecondaryIndexDescription[] | undefined; - GlobalSecondaryIndexes?: GlobalSecondaryIndexDescription[] | undefined; - StreamSpecification?: StreamSpecification | undefined; - LatestStreamLabel?: string | undefined; - LatestStreamArn?: string | undefined; - GlobalTableVersion?: string | undefined; - Replicas?: ReplicaDescription[] | undefined; - GlobalTableWitnesses?: GlobalTableWitnessDescription[] | undefined; - GlobalTableSettingsReplicationMode?: - | GlobalTableSettingsReplicationMode - | undefined; - RestoreSummary?: RestoreSummary | undefined; - SSEDescription?: SSEDescription | undefined; - ArchivalSummary?: ArchivalSummary | undefined; - TableClassSummary?: TableClassSummary | undefined; - DeletionProtectionEnabled?: boolean | undefined; - OnDemandThroughput?: OnDemandThroughput | undefined; - WarmThroughput?: TableWarmThroughputDescription | undefined; - MultiRegionConsistency?: MultiRegionConsistency | undefined; -} -export interface CreateTableOutput { - TableDescription?: TableDescription | undefined; -} -export interface CsvOptions { - Delimiter?: string | undefined; - HeaderList?: string[] | undefined; -} -export interface DeleteBackupInput { - BackupArn: string | undefined; -} -export interface DeleteBackupOutput { - BackupDescription?: BackupDescription | undefined; -} -export interface DeleteGlobalSecondaryIndexAction { - IndexName: string | undefined; -} -export interface DeleteGlobalTableWitnessGroupMemberAction { - RegionName: string | undefined; -} -export interface DeleteReplicaAction { - RegionName: string | undefined; -} -export interface DeleteReplicationGroupMemberAction { - RegionName: string | undefined; -} -export interface DeleteResourcePolicyInput { - ResourceArn: string | undefined; - ExpectedRevisionId?: string | undefined; -} -export interface DeleteResourcePolicyOutput { - RevisionId?: string | undefined; -} -export interface DeleteTableInput { - TableName: string | undefined; -} -export interface DeleteTableOutput { - TableDescription?: TableDescription | undefined; -} -export interface DescribeBackupInput { - BackupArn: string | undefined; -} -export interface DescribeBackupOutput { - BackupDescription?: BackupDescription | undefined; -} -export interface DescribeContinuousBackupsInput { - TableName: string | undefined; -} -export interface DescribeContinuousBackupsOutput { - ContinuousBackupsDescription?: ContinuousBackupsDescription | undefined; -} -export interface DescribeContributorInsightsInput { - TableName: string | undefined; - IndexName?: string | undefined; -} -export interface FailureException { - ExceptionName?: string | undefined; - ExceptionDescription?: string | undefined; -} -export interface DescribeContributorInsightsOutput { - TableName?: string | undefined; - IndexName?: string | undefined; - ContributorInsightsRuleList?: string[] | undefined; - ContributorInsightsStatus?: ContributorInsightsStatus | undefined; - LastUpdateDateTime?: Date | undefined; - FailureException?: FailureException | undefined; - ContributorInsightsMode?: ContributorInsightsMode | undefined; -} -export interface DescribeEndpointsRequest {} -export interface Endpoint { - Address: string | undefined; - CachePeriodInMinutes: number | undefined; -} -export interface DescribeEndpointsResponse { - Endpoints: Endpoint[] | undefined; -} -export interface DescribeExportInput { - ExportArn: string | undefined; -} -export interface IncrementalExportSpecification { - ExportFromTime?: Date | undefined; - ExportToTime?: Date | undefined; - ExportViewType?: ExportViewType | undefined; -} -export interface ExportDescription { - ExportArn?: string | undefined; - ExportStatus?: ExportStatus | undefined; - StartTime?: Date | undefined; - EndTime?: Date | undefined; - ExportManifest?: string | undefined; - TableArn?: string | undefined; - TableId?: string | undefined; - ExportTime?: Date | undefined; - ClientToken?: string | undefined; - S3Bucket?: string | undefined; - S3BucketOwner?: string | undefined; - S3Prefix?: string | undefined; - S3SseAlgorithm?: S3SseAlgorithm | undefined; - S3SseKmsKeyId?: string | undefined; - FailureCode?: string | undefined; - FailureMessage?: string | undefined; - ExportFormat?: ExportFormat | undefined; - BilledSizeBytes?: number | undefined; - ItemCount?: number | undefined; - ExportType?: ExportType | undefined; - IncrementalExportSpecification?: IncrementalExportSpecification | undefined; -} -export interface DescribeExportOutput { - ExportDescription?: ExportDescription | undefined; -} -export interface DescribeGlobalTableInput { - GlobalTableName: string | undefined; -} -export interface DescribeGlobalTableOutput { - GlobalTableDescription?: GlobalTableDescription | undefined; -} -export interface DescribeGlobalTableSettingsInput { - GlobalTableName: string | undefined; -} -export interface ReplicaGlobalSecondaryIndexSettingsDescription { - IndexName: string | undefined; - IndexStatus?: IndexStatus | undefined; - ProvisionedReadCapacityUnits?: number | undefined; - ProvisionedReadCapacityAutoScalingSettings?: - | AutoScalingSettingsDescription - | undefined; - ProvisionedWriteCapacityUnits?: number | undefined; - ProvisionedWriteCapacityAutoScalingSettings?: - | AutoScalingSettingsDescription - | undefined; -} -export interface ReplicaSettingsDescription { - RegionName: string | undefined; - ReplicaStatus?: ReplicaStatus | undefined; - ReplicaBillingModeSummary?: BillingModeSummary | undefined; - ReplicaProvisionedReadCapacityUnits?: number | undefined; - ReplicaProvisionedReadCapacityAutoScalingSettings?: - | AutoScalingSettingsDescription - | undefined; - ReplicaProvisionedWriteCapacityUnits?: number | undefined; - ReplicaProvisionedWriteCapacityAutoScalingSettings?: - | AutoScalingSettingsDescription - | undefined; - ReplicaGlobalSecondaryIndexSettings?: - | ReplicaGlobalSecondaryIndexSettingsDescription[] - | undefined; - ReplicaTableClassSummary?: TableClassSummary | undefined; -} -export interface DescribeGlobalTableSettingsOutput { - GlobalTableName?: string | undefined; - ReplicaSettings?: ReplicaSettingsDescription[] | undefined; -} -export interface DescribeImportInput { - ImportArn: string | undefined; -} -export interface InputFormatOptions { - Csv?: CsvOptions | undefined; -} -export interface S3BucketSource { - S3BucketOwner?: string | undefined; - S3Bucket: string | undefined; - S3KeyPrefix?: string | undefined; -} -export interface TableCreationParameters { - TableName: string | undefined; - AttributeDefinitions: AttributeDefinition[] | undefined; - KeySchema: KeySchemaElement[] | undefined; - BillingMode?: BillingMode | undefined; - ProvisionedThroughput?: ProvisionedThroughput | undefined; - OnDemandThroughput?: OnDemandThroughput | undefined; - SSESpecification?: SSESpecification | undefined; - GlobalSecondaryIndexes?: GlobalSecondaryIndex[] | undefined; -} -export interface ImportTableDescription { - ImportArn?: string | undefined; - ImportStatus?: ImportStatus | undefined; - TableArn?: string | undefined; - TableId?: string | undefined; - ClientToken?: string | undefined; - S3BucketSource?: S3BucketSource | undefined; - ErrorCount?: number | undefined; - CloudWatchLogGroupArn?: string | undefined; - InputFormat?: InputFormat | undefined; - InputFormatOptions?: InputFormatOptions | undefined; - InputCompressionType?: InputCompressionType | undefined; - TableCreationParameters?: TableCreationParameters | undefined; - StartTime?: Date | undefined; - EndTime?: Date | undefined; - ProcessedSizeBytes?: number | undefined; - ProcessedItemCount?: number | undefined; - ImportedItemCount?: number | undefined; - FailureCode?: string | undefined; - FailureMessage?: string | undefined; -} -export interface DescribeImportOutput { - ImportTableDescription: ImportTableDescription | undefined; -} -export interface DescribeKinesisStreamingDestinationInput { - TableName: string | undefined; -} -export interface KinesisDataStreamDestination { - StreamArn?: string | undefined; - DestinationStatus?: DestinationStatus | undefined; - DestinationStatusDescription?: string | undefined; - ApproximateCreationDateTimePrecision?: - | ApproximateCreationDateTimePrecision - | undefined; -} -export interface DescribeKinesisStreamingDestinationOutput { - TableName?: string | undefined; - KinesisDataStreamDestinations?: KinesisDataStreamDestination[] | undefined; -} -export interface DescribeLimitsInput {} -export interface DescribeLimitsOutput { - AccountMaxReadCapacityUnits?: number | undefined; - AccountMaxWriteCapacityUnits?: number | undefined; - TableMaxReadCapacityUnits?: number | undefined; - TableMaxWriteCapacityUnits?: number | undefined; -} -export interface DescribeTableInput { - TableName: string | undefined; -} -export interface DescribeTableOutput { - Table?: TableDescription | undefined; -} -export interface DescribeTableReplicaAutoScalingInput { - TableName: string | undefined; -} -export interface ReplicaGlobalSecondaryIndexAutoScalingDescription { - IndexName?: string | undefined; - IndexStatus?: IndexStatus | undefined; - ProvisionedReadCapacityAutoScalingSettings?: - | AutoScalingSettingsDescription - | undefined; - ProvisionedWriteCapacityAutoScalingSettings?: - | AutoScalingSettingsDescription - | undefined; -} -export interface ReplicaAutoScalingDescription { - RegionName?: string | undefined; - GlobalSecondaryIndexes?: - | ReplicaGlobalSecondaryIndexAutoScalingDescription[] - | undefined; - ReplicaProvisionedReadCapacityAutoScalingSettings?: - | AutoScalingSettingsDescription - | undefined; - ReplicaProvisionedWriteCapacityAutoScalingSettings?: - | AutoScalingSettingsDescription - | undefined; - ReplicaStatus?: ReplicaStatus | undefined; -} -export interface TableAutoScalingDescription { - TableName?: string | undefined; - TableStatus?: TableStatus | undefined; - Replicas?: ReplicaAutoScalingDescription[] | undefined; -} -export interface DescribeTableReplicaAutoScalingOutput { - TableAutoScalingDescription?: TableAutoScalingDescription | undefined; -} -export interface DescribeTimeToLiveInput { - TableName: string | undefined; -} -export interface DescribeTimeToLiveOutput { - TimeToLiveDescription?: TimeToLiveDescription | undefined; -} -export interface EnableKinesisStreamingConfiguration { - ApproximateCreationDateTimePrecision?: - | ApproximateCreationDateTimePrecision - | undefined; -} -export interface KinesisStreamingDestinationInput { - TableName: string | undefined; - StreamArn: string | undefined; - EnableKinesisStreamingConfiguration?: - | EnableKinesisStreamingConfiguration - | undefined; -} -export interface KinesisStreamingDestinationOutput { - TableName?: string | undefined; - StreamArn?: string | undefined; - DestinationStatus?: DestinationStatus | undefined; - EnableKinesisStreamingConfiguration?: - | EnableKinesisStreamingConfiguration - | undefined; -} -export interface ExportTableToPointInTimeInput { - TableArn: string | undefined; - ExportTime?: Date | undefined; - ClientToken?: string | undefined; - S3Bucket: string | undefined; - S3BucketOwner?: string | undefined; - S3Prefix?: string | undefined; - S3SseAlgorithm?: S3SseAlgorithm | undefined; - S3SseKmsKeyId?: string | undefined; - ExportFormat?: ExportFormat | undefined; - ExportType?: ExportType | undefined; - IncrementalExportSpecification?: IncrementalExportSpecification | undefined; -} -export interface ExportTableToPointInTimeOutput { - ExportDescription?: ExportDescription | undefined; -} -export interface GetResourcePolicyInput { - ResourceArn: string | undefined; -} -export interface GetResourcePolicyOutput { - Policy?: string | undefined; - RevisionId?: string | undefined; -} -export interface ImportTableInput { - ClientToken?: string | undefined; - S3BucketSource: S3BucketSource | undefined; - InputFormat: InputFormat | undefined; - InputFormatOptions?: InputFormatOptions | undefined; - InputCompressionType?: InputCompressionType | undefined; - TableCreationParameters: TableCreationParameters | undefined; -} -export interface ImportTableOutput { - ImportTableDescription: ImportTableDescription | undefined; -} -export interface ListBackupsInput { - TableName?: string | undefined; - Limit?: number | undefined; - TimeRangeLowerBound?: Date | undefined; - TimeRangeUpperBound?: Date | undefined; - ExclusiveStartBackupArn?: string | undefined; - BackupType?: BackupTypeFilter | undefined; -} -export interface ListBackupsOutput { - BackupSummaries?: BackupSummary[] | undefined; - LastEvaluatedBackupArn?: string | undefined; -} -export interface ListContributorInsightsInput { - TableName?: string | undefined; - NextToken?: string | undefined; - MaxResults?: number | undefined; -} -export interface ListContributorInsightsOutput { - ContributorInsightsSummaries?: ContributorInsightsSummary[] | undefined; - NextToken?: string | undefined; -} -export interface ListExportsInput { - TableArn?: string | undefined; - MaxResults?: number | undefined; - NextToken?: string | undefined; -} -export interface ExportSummary { - ExportArn?: string | undefined; - ExportStatus?: ExportStatus | undefined; - ExportType?: ExportType | undefined; -} -export interface ListExportsOutput { - ExportSummaries?: ExportSummary[] | undefined; - NextToken?: string | undefined; -} -export interface ListGlobalTablesInput { - ExclusiveStartGlobalTableName?: string | undefined; - Limit?: number | undefined; - RegionName?: string | undefined; -} -export interface GlobalTable { - GlobalTableName?: string | undefined; - ReplicationGroup?: Replica[] | undefined; -} -export interface ListGlobalTablesOutput { - GlobalTables?: GlobalTable[] | undefined; - LastEvaluatedGlobalTableName?: string | undefined; -} -export interface ListImportsInput { - TableArn?: string | undefined; - PageSize?: number | undefined; - NextToken?: string | undefined; -} -export interface ImportSummary { - ImportArn?: string | undefined; - ImportStatus?: ImportStatus | undefined; - TableArn?: string | undefined; - S3BucketSource?: S3BucketSource | undefined; - CloudWatchLogGroupArn?: string | undefined; - InputFormat?: InputFormat | undefined; - StartTime?: Date | undefined; - EndTime?: Date | undefined; -} -export interface ListImportsOutput { - ImportSummaryList?: ImportSummary[] | undefined; - NextToken?: string | undefined; -} -export interface ListTablesInput { - ExclusiveStartTableName?: string | undefined; - Limit?: number | undefined; -} -export interface ListTablesOutput { - TableNames?: string[] | undefined; - LastEvaluatedTableName?: string | undefined; -} -export interface ListTagsOfResourceInput { - ResourceArn: string | undefined; - NextToken?: string | undefined; -} -export interface ListTagsOfResourceOutput { - Tags?: Tag[] | undefined; - NextToken?: string | undefined; -} -export interface PutResourcePolicyInput { - ResourceArn: string | undefined; - Policy: string | undefined; - ExpectedRevisionId?: string | undefined; - ConfirmRemoveSelfResourceAccess?: boolean | undefined; -} -export interface PutResourcePolicyOutput { - RevisionId?: string | undefined; -} -export interface RestoreTableFromBackupInput { - TargetTableName: string | undefined; - BackupArn: string | undefined; - BillingModeOverride?: BillingMode | undefined; - GlobalSecondaryIndexOverride?: GlobalSecondaryIndex[] | undefined; - LocalSecondaryIndexOverride?: LocalSecondaryIndex[] | undefined; - ProvisionedThroughputOverride?: ProvisionedThroughput | undefined; - OnDemandThroughputOverride?: OnDemandThroughput | undefined; - SSESpecificationOverride?: SSESpecification | undefined; -} -export interface RestoreTableFromBackupOutput { - TableDescription?: TableDescription | undefined; -} -export interface RestoreTableToPointInTimeInput { - SourceTableArn?: string | undefined; - SourceTableName?: string | undefined; - TargetTableName: string | undefined; - UseLatestRestorableTime?: boolean | undefined; - RestoreDateTime?: Date | undefined; - BillingModeOverride?: BillingMode | undefined; - GlobalSecondaryIndexOverride?: GlobalSecondaryIndex[] | undefined; - LocalSecondaryIndexOverride?: LocalSecondaryIndex[] | undefined; - ProvisionedThroughputOverride?: ProvisionedThroughput | undefined; - OnDemandThroughputOverride?: OnDemandThroughput | undefined; - SSESpecificationOverride?: SSESpecification | undefined; -} -export interface RestoreTableToPointInTimeOutput { - TableDescription?: TableDescription | undefined; -} -export interface TagResourceInput { - ResourceArn: string | undefined; - Tags: Tag[] | undefined; -} -export interface UntagResourceInput { - ResourceArn: string | undefined; - TagKeys: string[] | undefined; -} -export interface PointInTimeRecoverySpecification { - PointInTimeRecoveryEnabled: boolean | undefined; - RecoveryPeriodInDays?: number | undefined; -} -export interface UpdateContinuousBackupsInput { - TableName: string | undefined; - PointInTimeRecoverySpecification: - | PointInTimeRecoverySpecification - | undefined; -} -export interface UpdateContinuousBackupsOutput { - ContinuousBackupsDescription?: ContinuousBackupsDescription | undefined; -} -export interface UpdateContributorInsightsInput { - TableName: string | undefined; - IndexName?: string | undefined; - ContributorInsightsAction: ContributorInsightsAction | undefined; - ContributorInsightsMode?: ContributorInsightsMode | undefined; -} -export interface UpdateContributorInsightsOutput { - TableName?: string | undefined; - IndexName?: string | undefined; - ContributorInsightsStatus?: ContributorInsightsStatus | undefined; - ContributorInsightsMode?: ContributorInsightsMode | undefined; -} -export interface ReplicaUpdate { - Create?: CreateReplicaAction | undefined; - Delete?: DeleteReplicaAction | undefined; -} -export interface UpdateGlobalTableInput { - GlobalTableName: string | undefined; - ReplicaUpdates: ReplicaUpdate[] | undefined; -} -export interface UpdateGlobalTableOutput { - GlobalTableDescription?: GlobalTableDescription | undefined; -} -export interface GlobalTableGlobalSecondaryIndexSettingsUpdate { - IndexName: string | undefined; - ProvisionedWriteCapacityUnits?: number | undefined; - ProvisionedWriteCapacityAutoScalingSettingsUpdate?: - | AutoScalingSettingsUpdate - | undefined; -} -export interface ReplicaGlobalSecondaryIndexSettingsUpdate { - IndexName: string | undefined; - ProvisionedReadCapacityUnits?: number | undefined; - ProvisionedReadCapacityAutoScalingSettingsUpdate?: - | AutoScalingSettingsUpdate - | undefined; -} -export interface ReplicaSettingsUpdate { - RegionName: string | undefined; - ReplicaProvisionedReadCapacityUnits?: number | undefined; - ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate?: - | AutoScalingSettingsUpdate - | undefined; - ReplicaGlobalSecondaryIndexSettingsUpdate?: - | ReplicaGlobalSecondaryIndexSettingsUpdate[] - | undefined; - ReplicaTableClass?: TableClass | undefined; -} -export interface UpdateGlobalTableSettingsInput { - GlobalTableName: string | undefined; - GlobalTableBillingMode?: BillingMode | undefined; - GlobalTableProvisionedWriteCapacityUnits?: number | undefined; - GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate?: - | AutoScalingSettingsUpdate - | undefined; - GlobalTableGlobalSecondaryIndexSettingsUpdate?: - | GlobalTableGlobalSecondaryIndexSettingsUpdate[] - | undefined; - ReplicaSettingsUpdate?: ReplicaSettingsUpdate[] | undefined; -} -export interface UpdateGlobalTableSettingsOutput { - GlobalTableName?: string | undefined; - ReplicaSettings?: ReplicaSettingsDescription[] | undefined; -} -export interface UpdateKinesisStreamingConfiguration { - ApproximateCreationDateTimePrecision?: - | ApproximateCreationDateTimePrecision - | undefined; -} -export interface UpdateKinesisStreamingDestinationInput { - TableName: string | undefined; - StreamArn: string | undefined; - UpdateKinesisStreamingConfiguration?: - | UpdateKinesisStreamingConfiguration - | undefined; -} -export interface UpdateKinesisStreamingDestinationOutput { - TableName?: string | undefined; - StreamArn?: string | undefined; - DestinationStatus?: DestinationStatus | undefined; - UpdateKinesisStreamingConfiguration?: - | UpdateKinesisStreamingConfiguration - | undefined; -} -export interface UpdateGlobalSecondaryIndexAction { - IndexName: string | undefined; - ProvisionedThroughput?: ProvisionedThroughput | undefined; - OnDemandThroughput?: OnDemandThroughput | undefined; - WarmThroughput?: WarmThroughput | undefined; -} -export interface GlobalSecondaryIndexUpdate { - Update?: UpdateGlobalSecondaryIndexAction | undefined; - Create?: CreateGlobalSecondaryIndexAction | undefined; - Delete?: DeleteGlobalSecondaryIndexAction | undefined; -} -export interface GlobalTableWitnessGroupUpdate { - Create?: CreateGlobalTableWitnessGroupMemberAction | undefined; - Delete?: DeleteGlobalTableWitnessGroupMemberAction | undefined; -} -export interface UpdateReplicationGroupMemberAction { - RegionName: string | undefined; - KMSMasterKeyId?: string | undefined; - ProvisionedThroughputOverride?: ProvisionedThroughputOverride | undefined; - OnDemandThroughputOverride?: OnDemandThroughputOverride | undefined; - GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndex[] | undefined; - TableClassOverride?: TableClass | undefined; -} -export interface ReplicationGroupUpdate { - Create?: CreateReplicationGroupMemberAction | undefined; - Update?: UpdateReplicationGroupMemberAction | undefined; - Delete?: DeleteReplicationGroupMemberAction | undefined; -} -export interface UpdateTableInput { - AttributeDefinitions?: AttributeDefinition[] | undefined; - TableName: string | undefined; - BillingMode?: BillingMode | undefined; - ProvisionedThroughput?: ProvisionedThroughput | undefined; - GlobalSecondaryIndexUpdates?: GlobalSecondaryIndexUpdate[] | undefined; - StreamSpecification?: StreamSpecification | undefined; - SSESpecification?: SSESpecification | undefined; - ReplicaUpdates?: ReplicationGroupUpdate[] | undefined; - TableClass?: TableClass | undefined; - DeletionProtectionEnabled?: boolean | undefined; - MultiRegionConsistency?: MultiRegionConsistency | undefined; - GlobalTableWitnessUpdates?: GlobalTableWitnessGroupUpdate[] | undefined; - OnDemandThroughput?: OnDemandThroughput | undefined; - WarmThroughput?: WarmThroughput | undefined; - GlobalTableSettingsReplicationMode?: - | GlobalTableSettingsReplicationMode - | undefined; -} -export interface UpdateTableOutput { - TableDescription?: TableDescription | undefined; -} -export interface GlobalSecondaryIndexAutoScalingUpdate { - IndexName?: string | undefined; - ProvisionedWriteCapacityAutoScalingUpdate?: - | AutoScalingSettingsUpdate - | undefined; -} -export interface ReplicaGlobalSecondaryIndexAutoScalingUpdate { - IndexName?: string | undefined; - ProvisionedReadCapacityAutoScalingUpdate?: - | AutoScalingSettingsUpdate - | undefined; -} -export interface ReplicaAutoScalingUpdate { - RegionName: string | undefined; - ReplicaGlobalSecondaryIndexUpdates?: - | ReplicaGlobalSecondaryIndexAutoScalingUpdate[] - | undefined; - ReplicaProvisionedReadCapacityAutoScalingUpdate?: - | AutoScalingSettingsUpdate - | undefined; -} -export interface UpdateTableReplicaAutoScalingInput { - GlobalSecondaryIndexUpdates?: - | GlobalSecondaryIndexAutoScalingUpdate[] - | undefined; - TableName: string | undefined; - ProvisionedWriteCapacityAutoScalingUpdate?: - | AutoScalingSettingsUpdate - | undefined; - ReplicaUpdates?: ReplicaAutoScalingUpdate[] | undefined; -} -export interface UpdateTableReplicaAutoScalingOutput { - TableAutoScalingDescription?: TableAutoScalingDescription | undefined; -} -export interface TimeToLiveSpecification { - Enabled: boolean | undefined; - AttributeName: string | undefined; -} -export interface UpdateTimeToLiveInput { - TableName: string | undefined; - TimeToLiveSpecification: TimeToLiveSpecification | undefined; -} -export interface UpdateTimeToLiveOutput { - TimeToLiveSpecification?: TimeToLiveSpecification | undefined; -} -export type AttributeValue = - | AttributeValue.BMember - | AttributeValue.BOOLMember - | AttributeValue.BSMember - | AttributeValue.LMember - | AttributeValue.MMember - | AttributeValue.NMember - | AttributeValue.NSMember - | AttributeValue.NULLMember - | AttributeValue.SMember - | AttributeValue.SSMember - | AttributeValue.$UnknownMember; -export declare namespace AttributeValue { - interface SMember { - S: string; - N?: never; - B?: never; - SS?: never; - NS?: never; - BS?: never; - M?: never; - L?: never; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - interface NMember { - S?: never; - N: string; - B?: never; - SS?: never; - NS?: never; - BS?: never; - M?: never; - L?: never; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - interface BMember { - S?: never; - N?: never; - B: Uint8Array; - SS?: never; - NS?: never; - BS?: never; - M?: never; - L?: never; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - interface SSMember { - S?: never; - N?: never; - B?: never; - SS: string[]; - NS?: never; - BS?: never; - M?: never; - L?: never; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - interface NSMember { - S?: never; - N?: never; - B?: never; - SS?: never; - NS: string[]; - BS?: never; - M?: never; - L?: never; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - interface BSMember { - S?: never; - N?: never; - B?: never; - SS?: never; - NS?: never; - BS: Uint8Array[]; - M?: never; - L?: never; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - interface MMember { - S?: never; - N?: never; - B?: never; - SS?: never; - NS?: never; - BS?: never; - M: Record; - L?: never; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - interface LMember { - S?: never; - N?: never; - B?: never; - SS?: never; - NS?: never; - BS?: never; - M?: never; - L: AttributeValue[]; - NULL?: never; - BOOL?: never; - $unknown?: never; - } - interface NULLMember { - S?: never; - N?: never; - B?: never; - SS?: never; - NS?: never; - BS?: never; - M?: never; - L?: never; - NULL: boolean; - BOOL?: never; - $unknown?: never; - } - interface BOOLMember { - S?: never; - N?: never; - B?: never; - SS?: never; - NS?: never; - BS?: never; - M?: never; - L?: never; - NULL?: never; - BOOL: boolean; - $unknown?: never; - } - interface $UnknownMember { - S?: never; - N?: never; - B?: never; - SS?: never; - NS?: never; - BS?: never; - M?: never; - L?: never; - NULL?: never; - BOOL?: never; - $unknown: [string, any]; - } - interface Visitor { - S: (value: string) => T; - N: (value: string) => T; - B: (value: Uint8Array) => T; - SS: (value: string[]) => T; - NS: (value: string[]) => T; - BS: (value: Uint8Array[]) => T; - M: (value: Record) => T; - L: (value: AttributeValue[]) => T; - NULL: (value: boolean) => T; - BOOL: (value: boolean) => T; - _: (name: string, value: any) => T; - } -} -export interface AttributeValueUpdate { - Value?: AttributeValue | undefined; - Action?: AttributeAction | undefined; -} -export interface BatchStatementError { - Code?: BatchStatementErrorCodeEnum | undefined; - Message?: string | undefined; - Item?: Record | undefined; -} -export interface BatchStatementRequest { - Statement: string | undefined; - Parameters?: AttributeValue[] | undefined; - ConsistentRead?: boolean | undefined; - ReturnValuesOnConditionCheckFailure?: - | ReturnValuesOnConditionCheckFailure - | undefined; -} -export interface CancellationReason { - Item?: Record | undefined; - Code?: string | undefined; - Message?: string | undefined; -} -export interface Condition { - AttributeValueList?: AttributeValue[] | undefined; - ComparisonOperator: ComparisonOperator | undefined; -} -export interface DeleteRequest { - Key: Record | undefined; -} -export interface ExecuteStatementInput { - Statement: string | undefined; - Parameters?: AttributeValue[] | undefined; - ConsistentRead?: boolean | undefined; - NextToken?: string | undefined; - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - Limit?: number | undefined; - ReturnValuesOnConditionCheckFailure?: - | ReturnValuesOnConditionCheckFailure - | undefined; -} -export interface Get { - Key: Record | undefined; - TableName: string | undefined; - ProjectionExpression?: string | undefined; - ExpressionAttributeNames?: Record | undefined; -} -export interface GetItemInput { - TableName: string | undefined; - Key: Record | undefined; - AttributesToGet?: string[] | undefined; - ConsistentRead?: boolean | undefined; - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - ProjectionExpression?: string | undefined; - ExpressionAttributeNames?: Record | undefined; -} -export interface GetItemOutput { - Item?: Record | undefined; - ConsumedCapacity?: ConsumedCapacity | undefined; -} -export interface ItemCollectionMetrics { - ItemCollectionKey?: Record | undefined; - SizeEstimateRangeGB?: number[] | undefined; -} -export interface ItemResponse { - Item?: Record | undefined; -} -export interface ParameterizedStatement { - Statement: string | undefined; - Parameters?: AttributeValue[] | undefined; - ReturnValuesOnConditionCheckFailure?: - | ReturnValuesOnConditionCheckFailure - | undefined; -} -export interface PutRequest { - Item: Record | undefined; -} -export interface KeysAndAttributes { - Keys: Record[] | undefined; - AttributesToGet?: string[] | undefined; - ConsistentRead?: boolean | undefined; - ProjectionExpression?: string | undefined; - ExpressionAttributeNames?: Record | undefined; -} -export interface TransactGetItem { - Get: Get | undefined; -} -export interface BatchExecuteStatementInput { - Statements: BatchStatementRequest[] | undefined; - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; -} -export interface ExecuteTransactionInput { - TransactStatements: ParameterizedStatement[] | undefined; - ClientRequestToken?: string | undefined; - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; -} -export interface ExecuteTransactionOutput { - Responses?: ItemResponse[] | undefined; - ConsumedCapacity?: ConsumedCapacity[] | undefined; -} -export interface TransactGetItemsOutput { - ConsumedCapacity?: ConsumedCapacity[] | undefined; - Responses?: ItemResponse[] | undefined; -} -export interface BatchGetItemInput { - RequestItems: Record | undefined; - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; -} -export interface ExpectedAttributeValue { - Value?: AttributeValue | undefined; - Exists?: boolean | undefined; - ComparisonOperator?: ComparisonOperator | undefined; - AttributeValueList?: AttributeValue[] | undefined; -} -export interface TransactGetItemsInput { - TransactItems: TransactGetItem[] | undefined; - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; -} -export interface TransactWriteItemsOutput { - ConsumedCapacity?: ConsumedCapacity[] | undefined; - ItemCollectionMetrics?: Record | undefined; -} -export interface ConditionCheck { - Key: Record | undefined; - TableName: string | undefined; - ConditionExpression: string | undefined; - ExpressionAttributeNames?: Record | undefined; - ExpressionAttributeValues?: Record | undefined; - ReturnValuesOnConditionCheckFailure?: - | ReturnValuesOnConditionCheckFailure - | undefined; -} -export interface Delete { - Key: Record | undefined; - TableName: string | undefined; - ConditionExpression?: string | undefined; - ExpressionAttributeNames?: Record | undefined; - ExpressionAttributeValues?: Record | undefined; - ReturnValuesOnConditionCheckFailure?: - | ReturnValuesOnConditionCheckFailure - | undefined; -} -export interface Put { - Item: Record | undefined; - TableName: string | undefined; - ConditionExpression?: string | undefined; - ExpressionAttributeNames?: Record | undefined; - ExpressionAttributeValues?: Record | undefined; - ReturnValuesOnConditionCheckFailure?: - | ReturnValuesOnConditionCheckFailure - | undefined; -} -export interface Update { - Key: Record | undefined; - UpdateExpression: string | undefined; - TableName: string | undefined; - ConditionExpression?: string | undefined; - ExpressionAttributeNames?: Record | undefined; - ExpressionAttributeValues?: Record | undefined; - ReturnValuesOnConditionCheckFailure?: - | ReturnValuesOnConditionCheckFailure - | undefined; -} -export interface BatchStatementResponse { - Error?: BatchStatementError | undefined; - TableName?: string | undefined; - Item?: Record | undefined; -} -export interface DeleteItemOutput { - Attributes?: Record | undefined; - ConsumedCapacity?: ConsumedCapacity | undefined; - ItemCollectionMetrics?: ItemCollectionMetrics | undefined; -} -export interface ExecuteStatementOutput { - Items?: Record[] | undefined; - NextToken?: string | undefined; - ConsumedCapacity?: ConsumedCapacity | undefined; - LastEvaluatedKey?: Record | undefined; -} -export interface PutItemOutput { - Attributes?: Record | undefined; - ConsumedCapacity?: ConsumedCapacity | undefined; - ItemCollectionMetrics?: ItemCollectionMetrics | undefined; -} -export interface QueryOutput { - Items?: Record[] | undefined; - Count?: number | undefined; - ScannedCount?: number | undefined; - LastEvaluatedKey?: Record | undefined; - ConsumedCapacity?: ConsumedCapacity | undefined; -} -export interface ScanOutput { - Items?: Record[] | undefined; - Count?: number | undefined; - ScannedCount?: number | undefined; - LastEvaluatedKey?: Record | undefined; - ConsumedCapacity?: ConsumedCapacity | undefined; -} -export interface UpdateItemOutput { - Attributes?: Record | undefined; - ConsumedCapacity?: ConsumedCapacity | undefined; - ItemCollectionMetrics?: ItemCollectionMetrics | undefined; -} -export interface WriteRequest { - PutRequest?: PutRequest | undefined; - DeleteRequest?: DeleteRequest | undefined; -} -export interface BatchExecuteStatementOutput { - Responses?: BatchStatementResponse[] | undefined; - ConsumedCapacity?: ConsumedCapacity[] | undefined; -} -export interface BatchGetItemOutput { - Responses?: Record[]> | undefined; - UnprocessedKeys?: Record | undefined; - ConsumedCapacity?: ConsumedCapacity[] | undefined; -} -export interface ScanInput { - TableName: string | undefined; - IndexName?: string | undefined; - AttributesToGet?: string[] | undefined; - Limit?: number | undefined; - Select?: Select | undefined; - ScanFilter?: Record | undefined; - ConditionalOperator?: ConditionalOperator | undefined; - ExclusiveStartKey?: Record | undefined; - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - TotalSegments?: number | undefined; - Segment?: number | undefined; - ProjectionExpression?: string | undefined; - FilterExpression?: string | undefined; - ExpressionAttributeNames?: Record | undefined; - ExpressionAttributeValues?: Record | undefined; - ConsistentRead?: boolean | undefined; -} -export interface BatchWriteItemInput { - RequestItems: Record | undefined; - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | undefined; -} -export interface DeleteItemInput { - TableName: string | undefined; - Key: Record | undefined; - Expected?: Record | undefined; - ConditionalOperator?: ConditionalOperator | undefined; - ReturnValues?: ReturnValue | undefined; - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | undefined; - ConditionExpression?: string | undefined; - ExpressionAttributeNames?: Record | undefined; - ExpressionAttributeValues?: Record | undefined; - ReturnValuesOnConditionCheckFailure?: - | ReturnValuesOnConditionCheckFailure - | undefined; -} -export interface PutItemInput { - TableName: string | undefined; - Item: Record | undefined; - Expected?: Record | undefined; - ReturnValues?: ReturnValue | undefined; - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | undefined; - ConditionalOperator?: ConditionalOperator | undefined; - ConditionExpression?: string | undefined; - ExpressionAttributeNames?: Record | undefined; - ExpressionAttributeValues?: Record | undefined; - ReturnValuesOnConditionCheckFailure?: - | ReturnValuesOnConditionCheckFailure - | undefined; -} -export interface QueryInput { - TableName: string | undefined; - IndexName?: string | undefined; - Select?: Select | undefined; - AttributesToGet?: string[] | undefined; - Limit?: number | undefined; - ConsistentRead?: boolean | undefined; - KeyConditions?: Record | undefined; - QueryFilter?: Record | undefined; - ConditionalOperator?: ConditionalOperator | undefined; - ScanIndexForward?: boolean | undefined; - ExclusiveStartKey?: Record | undefined; - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - ProjectionExpression?: string | undefined; - FilterExpression?: string | undefined; - KeyConditionExpression?: string | undefined; - ExpressionAttributeNames?: Record | undefined; - ExpressionAttributeValues?: Record | undefined; -} -export interface BatchWriteItemOutput { - UnprocessedItems?: Record | undefined; - ItemCollectionMetrics?: Record | undefined; - ConsumedCapacity?: ConsumedCapacity[] | undefined; -} -export interface UpdateItemInput { - TableName: string | undefined; - Key: Record | undefined; - AttributeUpdates?: Record | undefined; - Expected?: Record | undefined; - ConditionalOperator?: ConditionalOperator | undefined; - ReturnValues?: ReturnValue | undefined; - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | undefined; - UpdateExpression?: string | undefined; - ConditionExpression?: string | undefined; - ExpressionAttributeNames?: Record | undefined; - ExpressionAttributeValues?: Record | undefined; - ReturnValuesOnConditionCheckFailure?: - | ReturnValuesOnConditionCheckFailure - | undefined; -} -export interface TransactWriteItem { - ConditionCheck?: ConditionCheck | undefined; - Put?: Put | undefined; - Delete?: Delete | undefined; - Update?: Update | undefined; -} -export interface TransactWriteItemsInput { - TransactItems: TransactWriteItem[] | undefined; - ReturnConsumedCapacity?: ReturnConsumedCapacity | undefined; - ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | undefined; - ClientRequestToken?: string | undefined; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/Interfaces.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/Interfaces.d.ts deleted file mode 100644 index 109e7f1a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/Interfaces.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { PaginationConfiguration } from "@smithy/types"; -import { DynamoDBClient } from "../DynamoDBClient"; -export interface DynamoDBPaginationConfiguration - extends PaginationConfiguration { - client: DynamoDBClient; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts deleted file mode 100644 index f4961a04..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - ListContributorInsightsCommandInput, - ListContributorInsightsCommandOutput, -} from "../commands/ListContributorInsightsCommand"; -import { DynamoDBPaginationConfiguration } from "./Interfaces"; -export declare const paginateListContributorInsights: ( - config: DynamoDBPaginationConfiguration, - input: ListContributorInsightsCommandInput, - ...rest: any[] -) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts deleted file mode 100644 index 29a86036..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - ListExportsCommandInput, - ListExportsCommandOutput, -} from "../commands/ListExportsCommand"; -import { DynamoDBPaginationConfiguration } from "./Interfaces"; -export declare const paginateListExports: ( - config: DynamoDBPaginationConfiguration, - input: ListExportsCommandInput, - ...rest: any[] -) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts deleted file mode 100644 index f8903e8e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - ListImportsCommandInput, - ListImportsCommandOutput, -} from "../commands/ListImportsCommand"; -import { DynamoDBPaginationConfiguration } from "./Interfaces"; -export declare const paginateListImports: ( - config: DynamoDBPaginationConfiguration, - input: ListImportsCommandInput, - ...rest: any[] -) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts deleted file mode 100644 index 6246d6ec..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - ListTablesCommandInput, - ListTablesCommandOutput, -} from "../commands/ListTablesCommand"; -import { DynamoDBPaginationConfiguration } from "./Interfaces"; -export declare const paginateListTables: ( - config: DynamoDBPaginationConfiguration, - input: ListTablesCommandInput, - ...rest: any[] -) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/QueryPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/QueryPaginator.d.ts deleted file mode 100644 index 2ff4976e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/QueryPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - QueryCommandInput, - QueryCommandOutput, -} from "../commands/QueryCommand"; -import { DynamoDBPaginationConfiguration } from "./Interfaces"; -export declare const paginateQuery: ( - config: DynamoDBPaginationConfiguration, - input: QueryCommandInput, - ...rest: any[] -) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ScanPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ScanPaginator.d.ts deleted file mode 100644 index a84dfd16..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/ScanPaginator.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { ScanCommandInput, ScanCommandOutput } from "../commands/ScanCommand"; -import { DynamoDBPaginationConfiguration } from "./Interfaces"; -export declare const paginateScan: ( - config: DynamoDBPaginationConfiguration, - input: ScanCommandInput, - ...rest: any[] -) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/index.d.ts deleted file mode 100644 index a6dfcd0e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/pagination/index.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from "./Interfaces"; -export * from "./ListContributorInsightsPaginator"; -export * from "./ListExportsPaginator"; -export * from "./ListImportsPaginator"; -export * from "./ListTablesPaginator"; -export * from "./QueryPaginator"; -export * from "./ScanPaginator"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.browser.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.browser.d.ts deleted file mode 100644 index 03d57ee9..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.browser.d.ts +++ /dev/null @@ -1,114 +0,0 @@ -import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; -import { DynamoDBClientConfig } from "./DynamoDBClient"; -export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => { - runtime: string; - defaultsMode: import("@smithy/types").Provider< - import("@smithy/smithy-client").ResolvedDefaultsMode - >; - accountIdEndpointMode: - | "disabled" - | "preferred" - | "required" - | (() => Promise); - bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; - credentialDefaultProvider: - | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) - | (( - _: unknown - ) => () => Promise); - defaultUserAgentProvider: ( - config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved - ) => Promise; - endpointDiscoveryEnabledProvider: import("@smithy/types").Provider< - boolean | undefined - >; - maxAttempts: number | import("@smithy/types").Provider; - region: string | import("@smithy/types").Provider; - requestHandler: - | import("@smithy/protocol-http").HttpHandler - | RequestHandler; - retryMode: string | import("@smithy/types").Provider; - sha256: import("@smithy/types").HashConstructor; - streamCollector: import("@smithy/types").StreamCollector; - useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & - (boolean | import("@smithy/types").Provider); - useFipsEndpoint: (boolean | import("@smithy/types").Provider) & - (boolean | import("@smithy/types").Provider); - cacheMiddleware?: boolean | undefined; - protocol: - | import("@smithy/types").ClientProtocol - | import("@smithy/types").ClientProtocolCtor - | typeof import("@aws-sdk/core").AwsJson1_0Protocol; - protocolSettings: { - defaultNamespace?: string; - [setting: string]: unknown; - }; - apiVersion: string; - urlParser: import("@smithy/types").UrlParser; - base64Decoder: import("@smithy/types").Decoder; - base64Encoder: (_input: Uint8Array | string) => string; - utf8Decoder: import("@smithy/types").Decoder; - utf8Encoder: (input: Uint8Array | string) => string; - disableHostPrefix: boolean; - serviceId: string; - profile?: string; - logger: import("@smithy/types").Logger; - extensions: import("./runtimeExtensions").RuntimeExtension[]; - customUserAgent?: string | import("@smithy/types").UserAgent; - userAgentAppId?: - | string - | undefined - | import("@smithy/types").Provider; - retryStrategy?: - | import("@smithy/types").RetryStrategy - | import("@smithy/types").RetryStrategyV2; - endpoint?: - | (( - | string - | import("@smithy/types").Endpoint - | import("@smithy/types").Provider - | import("@smithy/types").EndpointV2 - | import("@smithy/types").Provider - ) & - ( - | string - | import("@smithy/types").Provider - | import("@smithy/types").Endpoint - | import("@smithy/types").Provider - | import("@smithy/types").EndpointV2 - | import("@smithy/types").Provider - )) - | undefined; - endpointProvider: ( - endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, - context?: { - logger?: import("@smithy/types").Logger; - } - ) => import("@smithy/types").EndpointV2; - tls?: boolean; - serviceConfiguredEndpoint?: never; - authSchemePreference?: string[] | import("@smithy/types").Provider; - httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; - httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider; - credentials?: - | import("@smithy/types").AwsCredentialIdentity - | import("@smithy/types").AwsCredentialIdentityProvider; - signer?: - | import("@smithy/types").RequestSigner - | (( - authScheme?: import("@smithy/types").AuthScheme - ) => Promise); - signingEscapePath?: boolean; - systemClockOffset?: number; - signingRegion?: string; - signerConstructor?: new ( - options: import("@smithy/signature-v4").SignatureV4Init & - import("@smithy/signature-v4").SignatureV4CryptoInit - ) => import("@smithy/types").RequestSigner; - endpointCacheSize?: number; - endpointDiscoveryEnabled?: boolean | undefined; - accountId?: - | string - | undefined - | import("@smithy/types").Provider; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.d.ts deleted file mode 100644 index c55aee2a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.d.ts +++ /dev/null @@ -1,111 +0,0 @@ -import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; -import { DynamoDBClientConfig } from "./DynamoDBClient"; -export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => { - runtime: string; - defaultsMode: import("@smithy/types").Provider< - import("@smithy/smithy-client").ResolvedDefaultsMode - >; - accountIdEndpointMode: - | "disabled" - | "preferred" - | "required" - | import("@smithy/types").Provider< - import("@aws-sdk/core/account-id-endpoint").AccountIdEndpointMode - >; - authSchemePreference: string[] | import("@smithy/types").Provider; - bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; - credentialDefaultProvider: - | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) - | (( - init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit - ) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider); - defaultUserAgentProvider: ( - config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved - ) => Promise; - endpointDiscoveryEnabledProvider: import("@smithy/types").Provider< - boolean | undefined - >; - maxAttempts: number | import("@smithy/types").Provider; - region: string | import("@smithy/types").Provider; - requestHandler: - | RequestHandler - | import("@smithy/protocol-http").HttpHandler; - retryMode: string | import("@smithy/types").Provider; - sha256: import("@smithy/types").HashConstructor; - streamCollector: import("@smithy/types").StreamCollector; - useDualstackEndpoint: boolean | import("@smithy/types").Provider; - useFipsEndpoint: boolean | import("@smithy/types").Provider; - userAgentAppId: string | import("@smithy/types").Provider; - cacheMiddleware?: boolean | undefined; - protocol: - | import("@smithy/types").ClientProtocol - | import("@smithy/types").ClientProtocolCtor - | typeof import("@aws-sdk/core").AwsJson1_0Protocol; - protocolSettings: { - defaultNamespace?: string; - [setting: string]: unknown; - }; - apiVersion: string; - urlParser: import("@smithy/types").UrlParser; - base64Decoder: import("@smithy/types").Decoder; - base64Encoder: (_input: Uint8Array | string) => string; - utf8Decoder: import("@smithy/types").Decoder; - utf8Encoder: (input: Uint8Array | string) => string; - disableHostPrefix: boolean; - serviceId: string; - profile?: string; - logger: import("@smithy/types").Logger; - extensions: import("./runtimeExtensions").RuntimeExtension[]; - customUserAgent?: string | import("@smithy/types").UserAgent; - retryStrategy?: - | import("@smithy/types").RetryStrategy - | import("@smithy/types").RetryStrategyV2; - endpoint?: - | (( - | string - | import("@smithy/types").Endpoint - | import("@smithy/types").Provider - | import("@smithy/types").EndpointV2 - | import("@smithy/types").Provider - ) & - ( - | string - | import("@smithy/types").Provider - | import("@smithy/types").Endpoint - | import("@smithy/types").Provider - | import("@smithy/types").EndpointV2 - | import("@smithy/types").Provider - )) - | undefined; - endpointProvider: ( - endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, - context?: { - logger?: import("@smithy/types").Logger; - } - ) => import("@smithy/types").EndpointV2; - tls?: boolean; - serviceConfiguredEndpoint?: never; - httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; - httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider; - credentials?: - | import("@smithy/types").AwsCredentialIdentity - | import("@smithy/types").AwsCredentialIdentityProvider; - signer?: - | import("@smithy/types").RequestSigner - | (( - authScheme?: import("@smithy/types").AuthScheme - ) => Promise); - signingEscapePath?: boolean; - systemClockOffset?: number; - signingRegion?: string; - signerConstructor?: new ( - options: import("@smithy/signature-v4").SignatureV4Init & - import("@smithy/signature-v4").SignatureV4CryptoInit - ) => import("@smithy/types").RequestSigner; - endpointCacheSize?: number; - endpointDiscoveryEnabled?: boolean | undefined; - accountId?: - | string - | undefined - | import("@smithy/types").Provider; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.native.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.native.d.ts deleted file mode 100644 index 09079945..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.native.d.ts +++ /dev/null @@ -1,118 +0,0 @@ -import { DynamoDBClientConfig } from "./DynamoDBClient"; -export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => { - runtime: string; - sha256: import("@smithy/types").HashConstructor; - requestHandler: - | import("@smithy/types").NodeHttpHandlerOptions - | import("@smithy/types").FetchHttpHandlerOptions - | Record - | import("@smithy/protocol-http").HttpHandler - | import("@smithy/fetch-http-handler").FetchHttpHandler; - cacheMiddleware?: boolean; - protocol: - | import("@smithy/types").ClientProtocol - | import("@smithy/types").ClientProtocolCtor - | typeof import("@aws-sdk/core").AwsJson1_0Protocol; - protocolSettings: { - defaultNamespace?: string; - [setting: string]: unknown; - }; - apiVersion: string; - urlParser: import("@smithy/types").UrlParser; - bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; - streamCollector: import("@smithy/types").StreamCollector; - base64Decoder: import("@smithy/types").Decoder; - base64Encoder: (_input: Uint8Array | string) => string; - utf8Decoder: import("@smithy/types").Decoder; - utf8Encoder: (input: Uint8Array | string) => string; - disableHostPrefix: boolean; - serviceId: string; - useDualstackEndpoint: (boolean | import("@smithy/types").Provider) & - (boolean | import("@smithy/types").Provider); - useFipsEndpoint: (boolean | import("@smithy/types").Provider) & - (boolean | import("@smithy/types").Provider); - region: string | import("@smithy/types").Provider; - profile?: string; - accountIdEndpointMode: - | "disabled" - | "preferred" - | "required" - | (() => Promise); - defaultUserAgentProvider: ( - config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved - ) => Promise; - credentialDefaultProvider: - | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) - | (( - _: unknown - ) => () => Promise); - maxAttempts: number | import("@smithy/types").Provider; - retryMode: string | import("@smithy/types").Provider; - logger: import("@smithy/types").Logger; - extensions: import("./runtimeExtensions").RuntimeExtension[]; - defaultsMode: - | import("@smithy/smithy-client").DefaultsMode - | import("@smithy/types").Provider< - import("@smithy/smithy-client").DefaultsMode - >; - endpointDiscoveryEnabledProvider: import("@smithy/types").Provider< - boolean | undefined - >; - customUserAgent?: string | import("@smithy/types").UserAgent; - userAgentAppId?: - | string - | undefined - | import("@smithy/types").Provider; - retryStrategy?: - | import("@smithy/types").RetryStrategy - | import("@smithy/types").RetryStrategyV2; - endpoint?: - | (( - | string - | import("@smithy/types").Endpoint - | import("@smithy/types").Provider - | import("@smithy/types").EndpointV2 - | import("@smithy/types").Provider - ) & - ( - | string - | import("@smithy/types").Provider - | import("@smithy/types").Endpoint - | import("@smithy/types").Provider - | import("@smithy/types").EndpointV2 - | import("@smithy/types").Provider - )) - | undefined; - endpointProvider: ( - endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, - context?: { - logger?: import("@smithy/types").Logger; - } - ) => import("@smithy/types").EndpointV2; - tls?: boolean; - serviceConfiguredEndpoint?: never; - authSchemePreference?: string[] | import("@smithy/types").Provider; - httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; - httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider; - credentials?: - | import("@smithy/types").AwsCredentialIdentity - | import("@smithy/types").AwsCredentialIdentityProvider; - signer?: - | import("@smithy/types").RequestSigner - | (( - authScheme?: import("@smithy/types").AuthScheme - ) => Promise); - signingEscapePath?: boolean; - systemClockOffset?: number; - signingRegion?: string; - signerConstructor?: new ( - options: import("@smithy/signature-v4").SignatureV4Init & - import("@smithy/signature-v4").SignatureV4CryptoInit - ) => import("@smithy/types").RequestSigner; - endpointCacheSize?: number; - endpointDiscoveryEnabled?: boolean | undefined; - accountId?: - | string - | undefined - | import("@smithy/types").Provider; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.shared.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.shared.d.ts deleted file mode 100644 index ccaa5e88..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.shared.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols"; -import { DynamoDBClientConfig } from "./DynamoDBClient"; -export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => { - apiVersion: string; - base64Decoder: import("@smithy/types").Decoder; - base64Encoder: (_input: Uint8Array | string) => string; - disableHostPrefix: boolean; - endpointProvider: ( - endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, - context?: { - logger?: import("@smithy/types").Logger; - } - ) => import("@smithy/types").EndpointV2; - extensions: import("./runtimeExtensions").RuntimeExtension[]; - httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBHttpAuthSchemeProvider; - httpAuthSchemes: import("@smithy/types").HttpAuthScheme[]; - logger: import("@smithy/types").Logger; - protocol: - | import("@smithy/types").ClientProtocol - | import("@smithy/types").ClientProtocolCtor - | typeof AwsJson1_0Protocol; - protocolSettings: { - [setting: string]: unknown; - defaultNamespace?: string; - }; - serviceId: string; - urlParser: import("@smithy/types").UrlParser; - utf8Decoder: import("@smithy/types").Decoder; - utf8Encoder: (input: Uint8Array | string) => string; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeExtensions.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeExtensions.d.ts deleted file mode 100644 index 632b45ba..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeExtensions.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { DynamoDBExtensionConfiguration } from "./extensionConfiguration"; -export interface RuntimeExtension { - configure(extensionConfiguration: DynamoDBExtensionConfiguration): void; -} -export interface RuntimeExtensionsConfig { - extensions: RuntimeExtension[]; -} -export declare const resolveRuntimeExtensions: ( - runtimeConfig: any, - extensions: RuntimeExtension[] -) => any; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/schemas/schemas_0.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/schemas/schemas_0.d.ts deleted file mode 100644 index ee530fab..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/schemas/schemas_0.d.ts +++ /dev/null @@ -1,325 +0,0 @@ -import { TypeRegistry } from "@smithy/core/schema"; -import { - StaticErrorSchema, - StaticOperationSchema, - StaticStructureSchema, - StaticUnionSchema, -} from "@smithy/types"; -export declare var DynamoDBServiceException$: StaticErrorSchema; -export declare var BackupInUseException$: StaticErrorSchema; -export declare var BackupNotFoundException$: StaticErrorSchema; -export declare var ConditionalCheckFailedException$: StaticErrorSchema; -export declare var ContinuousBackupsUnavailableException$: StaticErrorSchema; -export declare var DuplicateItemException$: StaticErrorSchema; -export declare var ExportConflictException$: StaticErrorSchema; -export declare var ExportNotFoundException$: StaticErrorSchema; -export declare var GlobalTableAlreadyExistsException$: StaticErrorSchema; -export declare var GlobalTableNotFoundException$: StaticErrorSchema; -export declare var IdempotentParameterMismatchException$: StaticErrorSchema; -export declare var ImportConflictException$: StaticErrorSchema; -export declare var ImportNotFoundException$: StaticErrorSchema; -export declare var IndexNotFoundException$: StaticErrorSchema; -export declare var InternalServerError$: StaticErrorSchema; -export declare var InvalidEndpointException$: StaticErrorSchema; -export declare var InvalidExportTimeException$: StaticErrorSchema; -export declare var InvalidRestoreTimeException$: StaticErrorSchema; -export declare var ItemCollectionSizeLimitExceededException$: StaticErrorSchema; -export declare var LimitExceededException$: StaticErrorSchema; -export declare var PointInTimeRecoveryUnavailableException$: StaticErrorSchema; -export declare var PolicyNotFoundException$: StaticErrorSchema; -export declare var ProvisionedThroughputExceededException$: StaticErrorSchema; -export declare var ReplicaAlreadyExistsException$: StaticErrorSchema; -export declare var ReplicaNotFoundException$: StaticErrorSchema; -export declare var ReplicatedWriteConflictException$: StaticErrorSchema; -export declare var RequestLimitExceeded$: StaticErrorSchema; -export declare var ResourceInUseException$: StaticErrorSchema; -export declare var ResourceNotFoundException$: StaticErrorSchema; -export declare var TableAlreadyExistsException$: StaticErrorSchema; -export declare var TableInUseException$: StaticErrorSchema; -export declare var TableNotFoundException$: StaticErrorSchema; -export declare var ThrottlingException$: StaticErrorSchema; -export declare var TransactionCanceledException$: StaticErrorSchema; -export declare var TransactionConflictException$: StaticErrorSchema; -export declare var TransactionInProgressException$: StaticErrorSchema; -export declare const errorTypeRegistries: TypeRegistry[]; -export declare var ArchivalSummary$: StaticStructureSchema; -export declare var AttributeDefinition$: StaticStructureSchema; -export declare var AttributeValueUpdate$: StaticStructureSchema; -export declare var AutoScalingPolicyDescription$: StaticStructureSchema; -export declare var AutoScalingPolicyUpdate$: StaticStructureSchema; -export declare var AutoScalingSettingsDescription$: StaticStructureSchema; -export declare var AutoScalingSettingsUpdate$: StaticStructureSchema; -export declare var AutoScalingTargetTrackingScalingPolicyConfigurationDescription$: StaticStructureSchema; -export declare var AutoScalingTargetTrackingScalingPolicyConfigurationUpdate$: StaticStructureSchema; -export declare var BackupDescription$: StaticStructureSchema; -export declare var BackupDetails$: StaticStructureSchema; -export declare var BackupSummary$: StaticStructureSchema; -export declare var BatchExecuteStatementInput$: StaticStructureSchema; -export declare var BatchExecuteStatementOutput$: StaticStructureSchema; -export declare var BatchGetItemInput$: StaticStructureSchema; -export declare var BatchGetItemOutput$: StaticStructureSchema; -export declare var BatchStatementError$: StaticStructureSchema; -export declare var BatchStatementRequest$: StaticStructureSchema; -export declare var BatchStatementResponse$: StaticStructureSchema; -export declare var BatchWriteItemInput$: StaticStructureSchema; -export declare var BatchWriteItemOutput$: StaticStructureSchema; -export declare var BillingModeSummary$: StaticStructureSchema; -export declare var CancellationReason$: StaticStructureSchema; -export declare var Capacity$: StaticStructureSchema; -export declare var Condition$: StaticStructureSchema; -export declare var ConditionCheck$: StaticStructureSchema; -export declare var ConsumedCapacity$: StaticStructureSchema; -export declare var ContinuousBackupsDescription$: StaticStructureSchema; -export declare var ContributorInsightsSummary$: StaticStructureSchema; -export declare var CreateBackupInput$: StaticStructureSchema; -export declare var CreateBackupOutput$: StaticStructureSchema; -export declare var CreateGlobalSecondaryIndexAction$: StaticStructureSchema; -export declare var CreateGlobalTableInput$: StaticStructureSchema; -export declare var CreateGlobalTableOutput$: StaticStructureSchema; -export declare var CreateGlobalTableWitnessGroupMemberAction$: StaticStructureSchema; -export declare var CreateReplicaAction$: StaticStructureSchema; -export declare var CreateReplicationGroupMemberAction$: StaticStructureSchema; -export declare var CreateTableInput$: StaticStructureSchema; -export declare var CreateTableOutput$: StaticStructureSchema; -export declare var CsvOptions$: StaticStructureSchema; -export declare var Delete$: StaticStructureSchema; -export declare var DeleteBackupInput$: StaticStructureSchema; -export declare var DeleteBackupOutput$: StaticStructureSchema; -export declare var DeleteGlobalSecondaryIndexAction$: StaticStructureSchema; -export declare var DeleteGlobalTableWitnessGroupMemberAction$: StaticStructureSchema; -export declare var DeleteItemInput$: StaticStructureSchema; -export declare var DeleteItemOutput$: StaticStructureSchema; -export declare var DeleteReplicaAction$: StaticStructureSchema; -export declare var DeleteReplicationGroupMemberAction$: StaticStructureSchema; -export declare var DeleteRequest$: StaticStructureSchema; -export declare var DeleteResourcePolicyInput$: StaticStructureSchema; -export declare var DeleteResourcePolicyOutput$: StaticStructureSchema; -export declare var DeleteTableInput$: StaticStructureSchema; -export declare var DeleteTableOutput$: StaticStructureSchema; -export declare var DescribeBackupInput$: StaticStructureSchema; -export declare var DescribeBackupOutput$: StaticStructureSchema; -export declare var DescribeContinuousBackupsInput$: StaticStructureSchema; -export declare var DescribeContinuousBackupsOutput$: StaticStructureSchema; -export declare var DescribeContributorInsightsInput$: StaticStructureSchema; -export declare var DescribeContributorInsightsOutput$: StaticStructureSchema; -export declare var DescribeEndpointsRequest$: StaticStructureSchema; -export declare var DescribeEndpointsResponse$: StaticStructureSchema; -export declare var DescribeExportInput$: StaticStructureSchema; -export declare var DescribeExportOutput$: StaticStructureSchema; -export declare var DescribeGlobalTableInput$: StaticStructureSchema; -export declare var DescribeGlobalTableOutput$: StaticStructureSchema; -export declare var DescribeGlobalTableSettingsInput$: StaticStructureSchema; -export declare var DescribeGlobalTableSettingsOutput$: StaticStructureSchema; -export declare var DescribeImportInput$: StaticStructureSchema; -export declare var DescribeImportOutput$: StaticStructureSchema; -export declare var DescribeKinesisStreamingDestinationInput$: StaticStructureSchema; -export declare var DescribeKinesisStreamingDestinationOutput$: StaticStructureSchema; -export declare var DescribeLimitsInput$: StaticStructureSchema; -export declare var DescribeLimitsOutput$: StaticStructureSchema; -export declare var DescribeTableInput$: StaticStructureSchema; -export declare var DescribeTableOutput$: StaticStructureSchema; -export declare var DescribeTableReplicaAutoScalingInput$: StaticStructureSchema; -export declare var DescribeTableReplicaAutoScalingOutput$: StaticStructureSchema; -export declare var DescribeTimeToLiveInput$: StaticStructureSchema; -export declare var DescribeTimeToLiveOutput$: StaticStructureSchema; -export declare var EnableKinesisStreamingConfiguration$: StaticStructureSchema; -export declare var Endpoint$: StaticStructureSchema; -export declare var ExecuteStatementInput$: StaticStructureSchema; -export declare var ExecuteStatementOutput$: StaticStructureSchema; -export declare var ExecuteTransactionInput$: StaticStructureSchema; -export declare var ExecuteTransactionOutput$: StaticStructureSchema; -export declare var ExpectedAttributeValue$: StaticStructureSchema; -export declare var ExportDescription$: StaticStructureSchema; -export declare var ExportSummary$: StaticStructureSchema; -export declare var ExportTableToPointInTimeInput$: StaticStructureSchema; -export declare var ExportTableToPointInTimeOutput$: StaticStructureSchema; -export declare var FailureException$: StaticStructureSchema; -export declare var Get$: StaticStructureSchema; -export declare var GetItemInput$: StaticStructureSchema; -export declare var GetItemOutput$: StaticStructureSchema; -export declare var GetResourcePolicyInput$: StaticStructureSchema; -export declare var GetResourcePolicyOutput$: StaticStructureSchema; -export declare var GlobalSecondaryIndex$: StaticStructureSchema; -export declare var GlobalSecondaryIndexAutoScalingUpdate$: StaticStructureSchema; -export declare var GlobalSecondaryIndexDescription$: StaticStructureSchema; -export declare var GlobalSecondaryIndexInfo$: StaticStructureSchema; -export declare var GlobalSecondaryIndexUpdate$: StaticStructureSchema; -export declare var GlobalSecondaryIndexWarmThroughputDescription$: StaticStructureSchema; -export declare var GlobalTable$: StaticStructureSchema; -export declare var GlobalTableDescription$: StaticStructureSchema; -export declare var GlobalTableGlobalSecondaryIndexSettingsUpdate$: StaticStructureSchema; -export declare var GlobalTableWitnessDescription$: StaticStructureSchema; -export declare var GlobalTableWitnessGroupUpdate$: StaticStructureSchema; -export declare var ImportSummary$: StaticStructureSchema; -export declare var ImportTableDescription$: StaticStructureSchema; -export declare var ImportTableInput$: StaticStructureSchema; -export declare var ImportTableOutput$: StaticStructureSchema; -export declare var IncrementalExportSpecification$: StaticStructureSchema; -export declare var InputFormatOptions$: StaticStructureSchema; -export declare var ItemCollectionMetrics$: StaticStructureSchema; -export declare var ItemResponse$: StaticStructureSchema; -export declare var KeysAndAttributes$: StaticStructureSchema; -export declare var KeySchemaElement$: StaticStructureSchema; -export declare var KinesisDataStreamDestination$: StaticStructureSchema; -export declare var KinesisStreamingDestinationInput$: StaticStructureSchema; -export declare var KinesisStreamingDestinationOutput$: StaticStructureSchema; -export declare var ListBackupsInput$: StaticStructureSchema; -export declare var ListBackupsOutput$: StaticStructureSchema; -export declare var ListContributorInsightsInput$: StaticStructureSchema; -export declare var ListContributorInsightsOutput$: StaticStructureSchema; -export declare var ListExportsInput$: StaticStructureSchema; -export declare var ListExportsOutput$: StaticStructureSchema; -export declare var ListGlobalTablesInput$: StaticStructureSchema; -export declare var ListGlobalTablesOutput$: StaticStructureSchema; -export declare var ListImportsInput$: StaticStructureSchema; -export declare var ListImportsOutput$: StaticStructureSchema; -export declare var ListTablesInput$: StaticStructureSchema; -export declare var ListTablesOutput$: StaticStructureSchema; -export declare var ListTagsOfResourceInput$: StaticStructureSchema; -export declare var ListTagsOfResourceOutput$: StaticStructureSchema; -export declare var LocalSecondaryIndex$: StaticStructureSchema; -export declare var LocalSecondaryIndexDescription$: StaticStructureSchema; -export declare var LocalSecondaryIndexInfo$: StaticStructureSchema; -export declare var OnDemandThroughput$: StaticStructureSchema; -export declare var OnDemandThroughputOverride$: StaticStructureSchema; -export declare var ParameterizedStatement$: StaticStructureSchema; -export declare var PointInTimeRecoveryDescription$: StaticStructureSchema; -export declare var PointInTimeRecoverySpecification$: StaticStructureSchema; -export declare var Projection$: StaticStructureSchema; -export declare var ProvisionedThroughput$: StaticStructureSchema; -export declare var ProvisionedThroughputDescription$: StaticStructureSchema; -export declare var ProvisionedThroughputOverride$: StaticStructureSchema; -export declare var Put$: StaticStructureSchema; -export declare var PutItemInput$: StaticStructureSchema; -export declare var PutItemOutput$: StaticStructureSchema; -export declare var PutRequest$: StaticStructureSchema; -export declare var PutResourcePolicyInput$: StaticStructureSchema; -export declare var PutResourcePolicyOutput$: StaticStructureSchema; -export declare var QueryInput$: StaticStructureSchema; -export declare var QueryOutput$: StaticStructureSchema; -export declare var Replica$: StaticStructureSchema; -export declare var ReplicaAutoScalingDescription$: StaticStructureSchema; -export declare var ReplicaAutoScalingUpdate$: StaticStructureSchema; -export declare var ReplicaDescription$: StaticStructureSchema; -export declare var ReplicaGlobalSecondaryIndex$: StaticStructureSchema; -export declare var ReplicaGlobalSecondaryIndexAutoScalingDescription$: StaticStructureSchema; -export declare var ReplicaGlobalSecondaryIndexAutoScalingUpdate$: StaticStructureSchema; -export declare var ReplicaGlobalSecondaryIndexDescription$: StaticStructureSchema; -export declare var ReplicaGlobalSecondaryIndexSettingsDescription$: StaticStructureSchema; -export declare var ReplicaGlobalSecondaryIndexSettingsUpdate$: StaticStructureSchema; -export declare var ReplicaSettingsDescription$: StaticStructureSchema; -export declare var ReplicaSettingsUpdate$: StaticStructureSchema; -export declare var ReplicationGroupUpdate$: StaticStructureSchema; -export declare var ReplicaUpdate$: StaticStructureSchema; -export declare var RestoreSummary$: StaticStructureSchema; -export declare var RestoreTableFromBackupInput$: StaticStructureSchema; -export declare var RestoreTableFromBackupOutput$: StaticStructureSchema; -export declare var RestoreTableToPointInTimeInput$: StaticStructureSchema; -export declare var RestoreTableToPointInTimeOutput$: StaticStructureSchema; -export declare var S3BucketSource$: StaticStructureSchema; -export declare var ScanInput$: StaticStructureSchema; -export declare var ScanOutput$: StaticStructureSchema; -export declare var SourceTableDetails$: StaticStructureSchema; -export declare var SourceTableFeatureDetails$: StaticStructureSchema; -export declare var SSEDescription$: StaticStructureSchema; -export declare var SSESpecification$: StaticStructureSchema; -export declare var StreamSpecification$: StaticStructureSchema; -export declare var TableAutoScalingDescription$: StaticStructureSchema; -export declare var TableClassSummary$: StaticStructureSchema; -export declare var TableCreationParameters$: StaticStructureSchema; -export declare var TableDescription$: StaticStructureSchema; -export declare var TableWarmThroughputDescription$: StaticStructureSchema; -export declare var Tag$: StaticStructureSchema; -export declare var TagResourceInput$: StaticStructureSchema; -export declare var ThrottlingReason$: StaticStructureSchema; -export declare var TimeToLiveDescription$: StaticStructureSchema; -export declare var TimeToLiveSpecification$: StaticStructureSchema; -export declare var TransactGetItem$: StaticStructureSchema; -export declare var TransactGetItemsInput$: StaticStructureSchema; -export declare var TransactGetItemsOutput$: StaticStructureSchema; -export declare var TransactWriteItem$: StaticStructureSchema; -export declare var TransactWriteItemsInput$: StaticStructureSchema; -export declare var TransactWriteItemsOutput$: StaticStructureSchema; -export declare var UntagResourceInput$: StaticStructureSchema; -export declare var Update$: StaticStructureSchema; -export declare var UpdateContinuousBackupsInput$: StaticStructureSchema; -export declare var UpdateContinuousBackupsOutput$: StaticStructureSchema; -export declare var UpdateContributorInsightsInput$: StaticStructureSchema; -export declare var UpdateContributorInsightsOutput$: StaticStructureSchema; -export declare var UpdateGlobalSecondaryIndexAction$: StaticStructureSchema; -export declare var UpdateGlobalTableInput$: StaticStructureSchema; -export declare var UpdateGlobalTableOutput$: StaticStructureSchema; -export declare var UpdateGlobalTableSettingsInput$: StaticStructureSchema; -export declare var UpdateGlobalTableSettingsOutput$: StaticStructureSchema; -export declare var UpdateItemInput$: StaticStructureSchema; -export declare var UpdateItemOutput$: StaticStructureSchema; -export declare var UpdateKinesisStreamingConfiguration$: StaticStructureSchema; -export declare var UpdateKinesisStreamingDestinationInput$: StaticStructureSchema; -export declare var UpdateKinesisStreamingDestinationOutput$: StaticStructureSchema; -export declare var UpdateReplicationGroupMemberAction$: StaticStructureSchema; -export declare var UpdateTableInput$: StaticStructureSchema; -export declare var UpdateTableOutput$: StaticStructureSchema; -export declare var UpdateTableReplicaAutoScalingInput$: StaticStructureSchema; -export declare var UpdateTableReplicaAutoScalingOutput$: StaticStructureSchema; -export declare var UpdateTimeToLiveInput$: StaticStructureSchema; -export declare var UpdateTimeToLiveOutput$: StaticStructureSchema; -export declare var WarmThroughput$: StaticStructureSchema; -export declare var WriteRequest$: StaticStructureSchema; -export declare var AttributeValue$: StaticUnionSchema; -export declare var BatchExecuteStatement$: StaticOperationSchema; -export declare var BatchGetItem$: StaticOperationSchema; -export declare var BatchWriteItem$: StaticOperationSchema; -export declare var CreateBackup$: StaticOperationSchema; -export declare var CreateGlobalTable$: StaticOperationSchema; -export declare var CreateTable$: StaticOperationSchema; -export declare var DeleteBackup$: StaticOperationSchema; -export declare var DeleteItem$: StaticOperationSchema; -export declare var DeleteResourcePolicy$: StaticOperationSchema; -export declare var DeleteTable$: StaticOperationSchema; -export declare var DescribeBackup$: StaticOperationSchema; -export declare var DescribeContinuousBackups$: StaticOperationSchema; -export declare var DescribeContributorInsights$: StaticOperationSchema; -export declare var DescribeEndpoints$: StaticOperationSchema; -export declare var DescribeExport$: StaticOperationSchema; -export declare var DescribeGlobalTable$: StaticOperationSchema; -export declare var DescribeGlobalTableSettings$: StaticOperationSchema; -export declare var DescribeImport$: StaticOperationSchema; -export declare var DescribeKinesisStreamingDestination$: StaticOperationSchema; -export declare var DescribeLimits$: StaticOperationSchema; -export declare var DescribeTable$: StaticOperationSchema; -export declare var DescribeTableReplicaAutoScaling$: StaticOperationSchema; -export declare var DescribeTimeToLive$: StaticOperationSchema; -export declare var DisableKinesisStreamingDestination$: StaticOperationSchema; -export declare var EnableKinesisStreamingDestination$: StaticOperationSchema; -export declare var ExecuteStatement$: StaticOperationSchema; -export declare var ExecuteTransaction$: StaticOperationSchema; -export declare var ExportTableToPointInTime$: StaticOperationSchema; -export declare var GetItem$: StaticOperationSchema; -export declare var GetResourcePolicy$: StaticOperationSchema; -export declare var ImportTable$: StaticOperationSchema; -export declare var ListBackups$: StaticOperationSchema; -export declare var ListContributorInsights$: StaticOperationSchema; -export declare var ListExports$: StaticOperationSchema; -export declare var ListGlobalTables$: StaticOperationSchema; -export declare var ListImports$: StaticOperationSchema; -export declare var ListTables$: StaticOperationSchema; -export declare var ListTagsOfResource$: StaticOperationSchema; -export declare var PutItem$: StaticOperationSchema; -export declare var PutResourcePolicy$: StaticOperationSchema; -export declare var Query$: StaticOperationSchema; -export declare var RestoreTableFromBackup$: StaticOperationSchema; -export declare var RestoreTableToPointInTime$: StaticOperationSchema; -export declare var Scan$: StaticOperationSchema; -export declare var TagResource$: StaticOperationSchema; -export declare var TransactGetItems$: StaticOperationSchema; -export declare var TransactWriteItems$: StaticOperationSchema; -export declare var UntagResource$: StaticOperationSchema; -export declare var UpdateContinuousBackups$: StaticOperationSchema; -export declare var UpdateContributorInsights$: StaticOperationSchema; -export declare var UpdateGlobalTable$: StaticOperationSchema; -export declare var UpdateGlobalTableSettings$: StaticOperationSchema; -export declare var UpdateItem$: StaticOperationSchema; -export declare var UpdateKinesisStreamingDestination$: StaticOperationSchema; -export declare var UpdateTable$: StaticOperationSchema; -export declare var UpdateTableReplicaAutoScaling$: StaticOperationSchema; -export declare var UpdateTimeToLive$: StaticOperationSchema; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/index.d.ts deleted file mode 100644 index d0836c24..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from "./waitForContributorInsightsEnabled"; -export * from "./waitForExportCompleted"; -export * from "./waitForImportCompleted"; -export * from "./waitForKinesisStreamingDestinationActive"; -export * from "./waitForTableExists"; -export * from "./waitForTableNotExists"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForContributorInsightsEnabled.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForContributorInsightsEnabled.d.ts deleted file mode 100644 index df6b01d3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForContributorInsightsEnabled.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { DescribeContributorInsightsCommandInput } from "../commands/DescribeContributorInsightsCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -export declare const waitForContributorInsightsEnabled: ( - params: WaiterConfiguration, - input: DescribeContributorInsightsCommandInput -) => Promise; -export declare const waitUntilContributorInsightsEnabled: ( - params: WaiterConfiguration, - input: DescribeContributorInsightsCommandInput -) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForExportCompleted.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForExportCompleted.d.ts deleted file mode 100644 index 3d8722f6..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForExportCompleted.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { DescribeExportCommandInput } from "../commands/DescribeExportCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -export declare const waitForExportCompleted: ( - params: WaiterConfiguration, - input: DescribeExportCommandInput -) => Promise; -export declare const waitUntilExportCompleted: ( - params: WaiterConfiguration, - input: DescribeExportCommandInput -) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForImportCompleted.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForImportCompleted.d.ts deleted file mode 100644 index 75313b1a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForImportCompleted.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { DescribeImportCommandInput } from "../commands/DescribeImportCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -export declare const waitForImportCompleted: ( - params: WaiterConfiguration, - input: DescribeImportCommandInput -) => Promise; -export declare const waitUntilImportCompleted: ( - params: WaiterConfiguration, - input: DescribeImportCommandInput -) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForKinesisStreamingDestinationActive.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForKinesisStreamingDestinationActive.d.ts deleted file mode 100644 index d8b36218..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForKinesisStreamingDestinationActive.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { DescribeKinesisStreamingDestinationCommandInput } from "../commands/DescribeKinesisStreamingDestinationCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -export declare const waitForKinesisStreamingDestinationActive: ( - params: WaiterConfiguration, - input: DescribeKinesisStreamingDestinationCommandInput -) => Promise; -export declare const waitUntilKinesisStreamingDestinationActive: ( - params: WaiterConfiguration, - input: DescribeKinesisStreamingDestinationCommandInput -) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForTableExists.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForTableExists.d.ts deleted file mode 100644 index 5dba2241..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForTableExists.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { DescribeTableCommandInput } from "../commands/DescribeTableCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -export declare const waitForTableExists: ( - params: WaiterConfiguration, - input: DescribeTableCommandInput -) => Promise; -export declare const waitUntilTableExists: ( - params: WaiterConfiguration, - input: DescribeTableCommandInput -) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts deleted file mode 100644 index 1df1b340..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { DescribeTableCommandInput } from "../commands/DescribeTableCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -export declare const waitForTableNotExists: ( - params: WaiterConfiguration, - input: DescribeTableCommandInput -) => Promise; -export declare const waitUntilTableNotExists: ( - params: WaiterConfiguration, - input: DescribeTableCommandInput -) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/index.d.ts deleted file mode 100644 index d0836c24..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from "./waitForContributorInsightsEnabled"; -export * from "./waitForExportCompleted"; -export * from "./waitForImportCompleted"; -export * from "./waitForKinesisStreamingDestinationActive"; -export * from "./waitForTableExists"; -export * from "./waitForTableNotExists"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForContributorInsightsEnabled.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForContributorInsightsEnabled.d.ts deleted file mode 100644 index 9bce2be8..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForContributorInsightsEnabled.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { DescribeContributorInsightsCommandInput } from "../commands/DescribeContributorInsightsCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -/** - * - * @deprecated Use waitUntilContributorInsightsEnabled instead. waitForContributorInsightsEnabled does not throw error in non-success cases. - */ -export declare const waitForContributorInsightsEnabled: (params: WaiterConfiguration, input: DescribeContributorInsightsCommandInput) => Promise; -/** - * - * @param params - Waiter configuration options. - * @param input - The input to DescribeContributorInsightsCommand for polling. - */ -export declare const waitUntilContributorInsightsEnabled: (params: WaiterConfiguration, input: DescribeContributorInsightsCommandInput) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForExportCompleted.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForExportCompleted.d.ts deleted file mode 100644 index 3258bacf..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForExportCompleted.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { DescribeExportCommandInput } from "../commands/DescribeExportCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -/** - * - * @deprecated Use waitUntilExportCompleted instead. waitForExportCompleted does not throw error in non-success cases. - */ -export declare const waitForExportCompleted: (params: WaiterConfiguration, input: DescribeExportCommandInput) => Promise; -/** - * - * @param params - Waiter configuration options. - * @param input - The input to DescribeExportCommand for polling. - */ -export declare const waitUntilExportCompleted: (params: WaiterConfiguration, input: DescribeExportCommandInput) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForImportCompleted.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForImportCompleted.d.ts deleted file mode 100644 index 0ae5b2da..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForImportCompleted.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { DescribeImportCommandInput } from "../commands/DescribeImportCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -/** - * - * @deprecated Use waitUntilImportCompleted instead. waitForImportCompleted does not throw error in non-success cases. - */ -export declare const waitForImportCompleted: (params: WaiterConfiguration, input: DescribeImportCommandInput) => Promise; -/** - * - * @param params - Waiter configuration options. - * @param input - The input to DescribeImportCommand for polling. - */ -export declare const waitUntilImportCompleted: (params: WaiterConfiguration, input: DescribeImportCommandInput) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForKinesisStreamingDestinationActive.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForKinesisStreamingDestinationActive.d.ts deleted file mode 100644 index f13bfe37..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForKinesisStreamingDestinationActive.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { DescribeKinesisStreamingDestinationCommandInput } from "../commands/DescribeKinesisStreamingDestinationCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -/** - * - * @deprecated Use waitUntilKinesisStreamingDestinationActive instead. waitForKinesisStreamingDestinationActive does not throw error in non-success cases. - */ -export declare const waitForKinesisStreamingDestinationActive: (params: WaiterConfiguration, input: DescribeKinesisStreamingDestinationCommandInput) => Promise; -/** - * - * @param params - Waiter configuration options. - * @param input - The input to DescribeKinesisStreamingDestinationCommand for polling. - */ -export declare const waitUntilKinesisStreamingDestinationActive: (params: WaiterConfiguration, input: DescribeKinesisStreamingDestinationCommandInput) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForTableExists.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForTableExists.d.ts deleted file mode 100644 index a8ae4967..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForTableExists.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { DescribeTableCommandInput } from "../commands/DescribeTableCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -/** - * - * @deprecated Use waitUntilTableExists instead. waitForTableExists does not throw error in non-success cases. - */ -export declare const waitForTableExists: (params: WaiterConfiguration, input: DescribeTableCommandInput) => Promise; -/** - * - * @param params - Waiter configuration options. - * @param input - The input to DescribeTableCommand for polling. - */ -export declare const waitUntilTableExists: (params: WaiterConfiguration, input: DescribeTableCommandInput) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForTableNotExists.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForTableNotExists.d.ts deleted file mode 100644 index df87d8a5..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForTableNotExists.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { DescribeTableCommandInput } from "../commands/DescribeTableCommand"; -import { DynamoDBClient } from "../DynamoDBClient"; -/** - * - * @deprecated Use waitUntilTableNotExists instead. waitForTableNotExists does not throw error in non-success cases. - */ -export declare const waitForTableNotExists: (params: WaiterConfiguration, input: DescribeTableCommandInput) => Promise; -/** - * - * @param params - Waiter configuration options. - * @param input - The input to DescribeTableCommand for polling. - */ -export declare const waitUntilTableNotExists: (params: WaiterConfiguration, input: DescribeTableCommandInput) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/package.json b/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/package.json deleted file mode 100644 index f13ca39c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/client-dynamodb/package.json +++ /dev/null @@ -1,111 +0,0 @@ -{ - "name": "@aws-sdk/client-dynamodb", - "description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native", - "version": "3.1018.0", - "scripts": { - "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", - "build:cjs": "node ../../scripts/compilation/inline client-dynamodb", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", - "extract:docs": "api-extractor run --local", - "generate:client": "node ../../scripts/generate-clients/single-service --solo dynamodb", - "test": "yarn g:vitest run --passWithNoTests", - "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts", - "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts", - "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs", - "test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts", - "test:integration:watch": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts", - "test:watch": "yarn g:vitest watch --passWithNoTests" - }, - "main": "./dist-cjs/index.js", - "types": "./dist-types/index.d.ts", - "module": "./dist-es/index.js", - "sideEffects": false, - "dependencies": { - "@aws-crypto/sha256-browser": "5.2.0", - "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "^3.973.25", - "@aws-sdk/credential-provider-node": "^3.972.26", - "@aws-sdk/dynamodb-codec": "^3.972.26", - "@aws-sdk/middleware-endpoint-discovery": "^3.972.9", - "@aws-sdk/middleware-host-header": "^3.972.8", - "@aws-sdk/middleware-logger": "^3.972.8", - "@aws-sdk/middleware-recursion-detection": "^3.972.9", - "@aws-sdk/middleware-user-agent": "^3.972.26", - "@aws-sdk/region-config-resolver": "^3.972.10", - "@aws-sdk/types": "^3.973.6", - "@aws-sdk/util-endpoints": "^3.996.5", - "@aws-sdk/util-user-agent-browser": "^3.972.8", - "@aws-sdk/util-user-agent-node": "^3.973.12", - "@smithy/config-resolver": "^4.4.13", - "@smithy/core": "^3.23.12", - "@smithy/fetch-http-handler": "^5.3.15", - "@smithy/hash-node": "^4.2.12", - "@smithy/invalid-dependency": "^4.2.12", - "@smithy/middleware-content-length": "^4.2.12", - "@smithy/middleware-endpoint": "^4.4.27", - "@smithy/middleware-retry": "^4.4.44", - "@smithy/middleware-serde": "^4.2.15", - "@smithy/middleware-stack": "^4.2.12", - "@smithy/node-config-provider": "^4.3.12", - "@smithy/node-http-handler": "^4.5.0", - "@smithy/protocol-http": "^5.3.12", - "@smithy/smithy-client": "^4.12.7", - "@smithy/types": "^4.13.1", - "@smithy/url-parser": "^4.2.12", - "@smithy/util-base64": "^4.3.2", - "@smithy/util-body-length-browser": "^4.2.2", - "@smithy/util-body-length-node": "^4.2.3", - "@smithy/util-defaults-mode-browser": "^4.3.43", - "@smithy/util-defaults-mode-node": "^4.2.47", - "@smithy/util-endpoints": "^3.3.3", - "@smithy/util-middleware": "^4.2.12", - "@smithy/util-retry": "^4.2.12", - "@smithy/util-utf8": "^4.2.2", - "@smithy/util-waiter": "^4.2.13", - "tslib": "^2.6.2" - }, - "devDependencies": { - "@smithy/snapshot-testing": "^2.0.3", - "@tsconfig/node20": "20.1.8", - "@types/node": "^20.14.8", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "premove": "4.0.0", - "typescript": "~5.8.3", - "vitest": "^4.0.17" - }, - "engines": { - "node": ">=20.0.0" - }, - "typesVersions": { - "<4.5": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "browser": { - "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" - }, - "react-native": { - "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" - }, - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-dynamodb", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "clients/client-dynamodb" - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/LICENSE b/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/LICENSE deleted file mode 100644 index 7b6491ba..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/README.md b/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/README.md deleted file mode 100644 index 3fcf4523..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# @aws-sdk/dynamodb-codec - -This is an internal dependency used with `@aws-sdk/client-dynamodb`. -You should not take a direct dependency on this package. diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-cjs/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-cjs/index.js deleted file mode 100644 index 5ec1a054..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-cjs/index.js +++ /dev/null @@ -1,91 +0,0 @@ -'use strict'; - -var protocols = require('@aws-sdk/core/protocols'); -var schema = require('@smithy/core/schema'); -var smithyClient = require('@smithy/smithy-client'); -var utilBase64 = require('@smithy/util-base64'); - -class DynamoDBJsonCodec extends protocols.JsonCodec { - constructor() { - super({ - timestampFormat: { - useTrait: true, - default: 7, - }, - jsonName: false, - }); - } - createSerializer() { - const serializer = new DynamoDBJsonShapeSerializer(this.settings); - serializer.setSerdeContext(this.serdeContext); - return serializer; - } - createDeserializer() { - const deserializer = new DynamoDBJsonShapeDeserializer(this.settings); - deserializer.setSerdeContext(this.serdeContext); - return deserializer; - } -} -const ATTRIBUTE_VALUE = "com.amazonaws.dynamodb#AttributeValue"; -class DynamoDBJsonShapeSerializer extends protocols.JsonShapeSerializer { - _write(schema$1, value, container) { - const ns = schema.NormalizedSchema.of(schema$1); - if (ns.isStructSchema() && ns.getName(true) === ATTRIBUTE_VALUE) { - if (value && typeof value === "object") { - const av = value; - const out = smithyClient._json(av); - const base64Encode = this.serdeContext?.base64Encoder ?? utilBase64.toBase64; - if (av.B instanceof Uint8Array) { - out.B = base64Encode(av.B); - } - if (Array.isArray(av.BS)) { - out.BS = av.BS.map(base64Encode); - } - if (Array.isArray(av.L)) { - out.L = av.L.filter((v) => v != null).map((v) => this._write(ns, v, container)); - } - if (av.M && typeof av.M === "object") { - out.M = {}; - for (const [k, v] of Object.entries(av.M)) { - if (v != null) { - out.M[k] = this._write(ns, v, container); - } - } - } - return out; - } - } - return super._write(ns, value, container); - } -} -class DynamoDBJsonShapeDeserializer extends protocols.JsonShapeDeserializer { - _read(schema$1, value) { - const ns = schema.NormalizedSchema.of(schema$1); - if (ns.isStructSchema() && ns.getName(true) === ATTRIBUTE_VALUE) { - if (value && typeof value === "object") { - const av = value; - const out = smithyClient._json(av); - const base64Decoder = this.serdeContext?.base64Decoder ?? utilBase64.fromBase64; - if (typeof av.B === "string") { - out.B = base64Decoder(av.B); - } - if (Array.isArray(av.BS)) { - out.BS = av.BS.map(base64Decoder); - } - if (Array.isArray(av.L)) { - out.L = av.L.map((v) => this._read(ns, v)); - } - if (av.M && typeof av.M === "object") { - out.M = {}; - for (const [k, v] of Object.entries(av.M)) { - out.M[k] = this._read(ns, v); - } - } - return out; - } - } - return super._read(ns, value); - } -} - -exports.DynamoDBJsonCodec = DynamoDBJsonCodec; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-es/codec/DynamoDBJsonCodec.js b/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-es/codec/DynamoDBJsonCodec.js deleted file mode 100644 index 62b83713..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-es/codec/DynamoDBJsonCodec.js +++ /dev/null @@ -1,86 +0,0 @@ -import { JsonCodec, JsonShapeDeserializer, JsonShapeSerializer } from "@aws-sdk/core/protocols"; -import { NormalizedSchema } from "@smithy/core/schema"; -import { _json } from "@smithy/smithy-client"; -import { fromBase64, toBase64 } from "@smithy/util-base64"; -export class DynamoDBJsonCodec extends JsonCodec { - constructor() { - super({ - timestampFormat: { - useTrait: true, - default: 7, - }, - jsonName: false, - }); - } - createSerializer() { - const serializer = new DynamoDBJsonShapeSerializer(this.settings); - serializer.setSerdeContext(this.serdeContext); - return serializer; - } - createDeserializer() { - const deserializer = new DynamoDBJsonShapeDeserializer(this.settings); - deserializer.setSerdeContext(this.serdeContext); - return deserializer; - } -} -const ATTRIBUTE_VALUE = "com.amazonaws.dynamodb#AttributeValue"; -class DynamoDBJsonShapeSerializer extends JsonShapeSerializer { - _write(schema, value, container) { - const ns = NormalizedSchema.of(schema); - if (ns.isStructSchema() && ns.getName(true) === ATTRIBUTE_VALUE) { - if (value && typeof value === "object") { - const av = value; - const out = _json(av); - const base64Encode = this.serdeContext?.base64Encoder ?? toBase64; - if (av.B instanceof Uint8Array) { - out.B = base64Encode(av.B); - } - if (Array.isArray(av.BS)) { - out.BS = av.BS.map(base64Encode); - } - if (Array.isArray(av.L)) { - out.L = av.L.filter((v) => v != null).map((v) => this._write(ns, v, container)); - } - if (av.M && typeof av.M === "object") { - out.M = {}; - for (const [k, v] of Object.entries(av.M)) { - if (v != null) { - out.M[k] = this._write(ns, v, container); - } - } - } - return out; - } - } - return super._write(ns, value, container); - } -} -class DynamoDBJsonShapeDeserializer extends JsonShapeDeserializer { - _read(schema, value) { - const ns = NormalizedSchema.of(schema); - if (ns.isStructSchema() && ns.getName(true) === ATTRIBUTE_VALUE) { - if (value && typeof value === "object") { - const av = value; - const out = _json(av); - const base64Decoder = this.serdeContext?.base64Decoder ?? fromBase64; - if (typeof av.B === "string") { - out.B = base64Decoder(av.B); - } - if (Array.isArray(av.BS)) { - out.BS = av.BS.map(base64Decoder); - } - if (Array.isArray(av.L)) { - out.L = av.L.map((v) => this._read(ns, v)); - } - if (av.M && typeof av.M === "object") { - out.M = {}; - for (const [k, v] of Object.entries(av.M)) { - out.M[k] = this._read(ns, v); - } - } - return out; - } - } - return super._read(ns, value); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-es/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-es/index.js deleted file mode 100644 index e6413c5a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-es/index.js +++ /dev/null @@ -1 +0,0 @@ -export * from "./codec/DynamoDBJsonCodec"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/codec/DynamoDBJsonCodec.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/codec/DynamoDBJsonCodec.d.ts deleted file mode 100644 index 40a9b8c8..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/codec/DynamoDBJsonCodec.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { JsonCodec, JsonShapeDeserializer, JsonShapeSerializer } from "@aws-sdk/core/protocols"; -/** - * A throughput optimized version of the AWS JSON Codec - * for use with Amazon DynamoDB in JSON RPC mode. - * - * @internal - */ -export declare class DynamoDBJsonCodec extends JsonCodec { - constructor(); - /** - * @override - */ - createSerializer(): JsonShapeSerializer; - /** - * @override - */ - createDeserializer(): JsonShapeDeserializer; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/index.d.ts deleted file mode 100644 index e6413c5a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./codec/DynamoDBJsonCodec"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/ts3.4/codec/DynamoDBJsonCodec.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/ts3.4/codec/DynamoDBJsonCodec.d.ts deleted file mode 100644 index 73523989..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/ts3.4/codec/DynamoDBJsonCodec.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { - JsonCodec, - JsonShapeDeserializer, - JsonShapeSerializer, -} from "@aws-sdk/core/protocols"; -export declare class DynamoDBJsonCodec extends JsonCodec { - constructor(); - createSerializer(): JsonShapeSerializer; - createDeserializer(): JsonShapeDeserializer; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/ts3.4/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/ts3.4/index.d.ts deleted file mode 100644 index e6413c5a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./codec/DynamoDBJsonCodec"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/package.json b/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/package.json deleted file mode 100644 index c645749d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/dynamodb-codec/package.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "name": "@aws-sdk/dynamodb-codec", - "version": "3.972.26", - "scripts": { - "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", - "build:cjs": "node ../../scripts/compilation/inline dynamodb-codec", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", - "test": "yarn g:vitest run", - "test:watch": "yarn g:vitest watch" - }, - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "sideEffects": false, - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/core": "^3.973.25", - "@smithy/core": "^3.23.12", - "@smithy/smithy-client": "^4.12.7", - "@smithy/types": "^4.13.1", - "@smithy/util-base64": "^4.3.2", - "tslib": "^2.6.2" - }, - "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "premove": "4.0.0", - "typescript": "~5.8.3" - }, - "engines": { - "node": ">=20.0.0" - }, - "typesVersions": { - "<4.5": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/dynamodb-codec", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "packages-internal/dynamodb-codec" - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/LICENSE b/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/LICENSE deleted file mode 100644 index 74d4e5c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/README.md b/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/README.md deleted file mode 100644 index d48a8501..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/README.md +++ /dev/null @@ -1,24 +0,0 @@ -# @aws-sdk/endpoint-cache - -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/endpoint-cache/latest.svg)](https://www.npmjs.com/package/@aws-sdk/endpoint-cache) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/endpoint-cache.svg)](https://www.npmjs.com/package/@aws-sdk/endpoint-cache) - -### :warning: Internal API :warning: - -> This is an internal package. -> That means this is used as a dependency for other, public packages, but -> should not be taken directly as a dependency in your application's `package.json`. - -> If you are updating the version of this package, for example to bring in a -> bug-fix, you should do so by updating your application lockfile with -> e.g. `npm up @scope/package` or equivalent command in another -> package manager, rather than taking a direct dependency. - ---- - -## EndpointCache - -- uses `mnemonist/lru-cache` for storing the cache. -- the `set` operation stores milliseconds elapsed since the UNIX epoch in Expires param based on CachePeriodInMinutes provided in Endpoint. -- the `get` operation returns all un-expired endpoints with their Expires values. -- the `getEndpoint` operation returns a randomly selected un-expired endpoint. diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-cjs/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-cjs/index.js deleted file mode 100644 index 6933bc15..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-cjs/index.js +++ /dev/null @@ -1,59 +0,0 @@ -'use strict'; - -var LRUCache = require('mnemonist/lru-cache'); - -class EndpointCache { - cache; - constructor(capacity) { - this.cache = new LRUCache(capacity); - } - getEndpoint(key) { - const endpointsWithExpiry = this.get(key); - if (!endpointsWithExpiry || endpointsWithExpiry.length === 0) { - return undefined; - } - const endpoints = endpointsWithExpiry.map((endpoint) => endpoint.Address); - return endpoints[Math.floor(Math.random() * endpoints.length)]; - } - get(key) { - if (!this.has(key)) { - return; - } - const value = this.cache.get(key); - if (!value) { - return; - } - const now = Date.now(); - const endpointsWithExpiry = value.filter((endpoint) => now < endpoint.Expires); - if (endpointsWithExpiry.length === 0) { - this.delete(key); - return undefined; - } - return endpointsWithExpiry; - } - set(key, endpoints) { - const now = Date.now(); - this.cache.set(key, endpoints.map(({ Address, CachePeriodInMinutes }) => ({ - Address, - Expires: now + CachePeriodInMinutes * 60 * 1000, - }))); - } - delete(key) { - this.cache.set(key, []); - } - has(key) { - if (!this.cache.has(key)) { - return false; - } - const endpoints = this.cache.peek(key); - if (!endpoints) { - return false; - } - return endpoints.length > 0; - } - clear() { - this.cache.clear(); - } -} - -exports.EndpointCache = EndpointCache; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-es/Endpoint.js b/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-es/Endpoint.js deleted file mode 100644 index cb0ff5c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-es/Endpoint.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-es/EndpointCache.js b/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-es/EndpointCache.js deleted file mode 100644 index decd3f22..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-es/EndpointCache.js +++ /dev/null @@ -1,54 +0,0 @@ -import LRUCache from "mnemonist/lru-cache"; -export class EndpointCache { - cache; - constructor(capacity) { - this.cache = new LRUCache(capacity); - } - getEndpoint(key) { - const endpointsWithExpiry = this.get(key); - if (!endpointsWithExpiry || endpointsWithExpiry.length === 0) { - return undefined; - } - const endpoints = endpointsWithExpiry.map((endpoint) => endpoint.Address); - return endpoints[Math.floor(Math.random() * endpoints.length)]; - } - get(key) { - if (!this.has(key)) { - return; - } - const value = this.cache.get(key); - if (!value) { - return; - } - const now = Date.now(); - const endpointsWithExpiry = value.filter((endpoint) => now < endpoint.Expires); - if (endpointsWithExpiry.length === 0) { - this.delete(key); - return undefined; - } - return endpointsWithExpiry; - } - set(key, endpoints) { - const now = Date.now(); - this.cache.set(key, endpoints.map(({ Address, CachePeriodInMinutes }) => ({ - Address, - Expires: now + CachePeriodInMinutes * 60 * 1000, - }))); - } - delete(key) { - this.cache.set(key, []); - } - has(key) { - if (!this.cache.has(key)) { - return false; - } - const endpoints = this.cache.peek(key); - if (!endpoints) { - return false; - } - return endpoints.length > 0; - } - clear() { - this.cache.clear(); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-es/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-es/index.js deleted file mode 100644 index 41fce6de..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-es/index.js +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./Endpoint"; -export * from "./EndpointCache"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/Endpoint.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/Endpoint.d.ts deleted file mode 100644 index 17b37cff..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/Endpoint.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * @internal - */ -export interface Endpoint { - /** - *

An endpoint address.

- */ - Address: string; - /** - *

The TTL for the endpoint, in minutes.

- */ - CachePeriodInMinutes: number; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/EndpointCache.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/EndpointCache.d.ts deleted file mode 100644 index 40ae767f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/EndpointCache.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import type { Endpoint } from "./Endpoint"; -/** - * @internal - */ -export interface EndpointWithExpiry extends Pick { - Expires: number; -} -/** - * @internal - */ -export declare class EndpointCache { - private readonly cache; - constructor(capacity: number); - /** - * Returns an un-expired endpoint for the given key. - * - * @param endpointsWithExpiry - * @returns - */ - getEndpoint(key: string): string | undefined; - /** - * Returns un-expired endpoints for the given key. - * - * @param key - * @returns - */ - get(key: string): EndpointWithExpiry[] | undefined; - /** - * Stores the endpoints passed for the key in cache. - * If not defined, uses empty string for the Address in endpoint. - * If not defined, uses one minute for CachePeriodInMinutes in endpoint. - * Stores milliseconds elapsed since the UNIX epoch in Expires param based - * on value provided in CachePeriodInMinutes. - * - * @param key - * @param endpoints - */ - set(key: string, endpoints: Endpoint[]): void; - /** - * Deletes the value for the given key in the cache. - * - * @param {string} key - */ - delete(key: string): void; - /** - * Checks whether the key exists in cache. - * - * @param {string} key - * @returns {boolean} - */ - has(key: string): boolean; - /** - * Clears the cache. - */ - clear(): void; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/index.d.ts deleted file mode 100644 index f2f149f4..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @internal - */ -export * from "./Endpoint"; -/** - * @internal - */ -export * from "./EndpointCache"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/ts3.4/Endpoint.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/ts3.4/Endpoint.d.ts deleted file mode 100644 index c1caacbc..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/ts3.4/Endpoint.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface Endpoint { - Address: string; - CachePeriodInMinutes: number; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/ts3.4/EndpointCache.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/ts3.4/EndpointCache.d.ts deleted file mode 100644 index c01e2b3f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/ts3.4/EndpointCache.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { Endpoint } from "./Endpoint"; -export interface EndpointWithExpiry extends Pick { - Expires: number; -} -export declare class EndpointCache { - private readonly cache; - constructor(capacity: number); - getEndpoint(key: string): string | undefined; - get(key: string): EndpointWithExpiry[] | undefined; - set(key: string, endpoints: Endpoint[]): void; - delete(key: string): void; - has(key: string): boolean; - clear(): void; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/ts3.4/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/ts3.4/index.d.ts deleted file mode 100644 index 41fce6de..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./Endpoint"; -export * from "./EndpointCache"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/package.json b/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/package.json deleted file mode 100644 index 14c0de82..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/endpoint-cache/package.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "@aws-sdk/endpoint-cache", - "version": "3.972.5", - "scripts": { - "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", - "build:cjs": "node ../../scripts/compilation/inline endpoint-cache", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", - "test": "yarn g:vitest run", - "test:watch": "yarn g:vitest watch" - }, - "sideEffects": false, - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "dependencies": { - "mnemonist": "0.38.3", - "tslib": "^2.6.2" - }, - "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^20.14.8", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "premove": "4.0.0", - "typescript": "~5.8.3" - }, - "engines": { - "node": ">=20.0.0" - }, - "typesVersions": { - "<4.5": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/endpoint-cache", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "packages-internal/endpoint-cache" - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/LICENSE b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/LICENSE deleted file mode 100644 index 7b6491ba..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/README.md b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/README.md deleted file mode 100644 index 7da3d68f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/README.md +++ /dev/null @@ -1,464 +0,0 @@ -# @aws-sdk/lib-dynamodb - -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/lib-dynamodb/latest.svg)](https://www.npmjs.com/package/@aws-sdk/lib-dynamodb) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/lib-dynamodb.svg)](https://www.npmjs.com/package/@aws-sdk/lib-dynamodb) - -## Overview - -The document client simplifies working with items in Amazon DynamoDB by -abstracting away the notion of attribute values. This abstraction annotates native -JavaScript types supplied as input parameters, as well as converts annotated -response data to native JavaScript types. - -## Marshalling Input and Unmarshalling Response Data - -The document client affords developers the use of native JavaScript types -instead of `AttributeValue`s to simplify the JavaScript development -experience with Amazon DynamoDB. JavaScript objects passed in as parameters -are marshalled into `AttributeValue` shapes required by Amazon DynamoDB. -Responses from DynamoDB are unmarshalled into plain JavaScript objects -by the `DocumentClient`. The `DocumentClient` does not accept -`AttributeValue`s in favor of native JavaScript types. - -| JavaScript Type | DynamoDB AttributeValue | -| :--------------------------------: | ----------------------- | -| String | S | -| Number / BigInt / NumberValue | N | -| Boolean | BOOL | -| null | NULL | -| Array | L | -| Object | M | -| Set\ | BS | -| Set\ | NS | -| Set\ | SS | -| Uint8Array, Buffer, File, Blob... | B | - -### Example - -Here is an example list which is sent to DynamoDB client in an operation: - -```json -{ "L": [{ "NULL": true }, { "BOOL": false }, { "N": 1 }, { "S": "two" }] } -``` - -The DynamoDB document client abstracts the attribute values as follows in -both input and output: - -```json -[null, false, 1, "two"] -``` - -## Usage - -To create document client, you need to create DynamoDB client first as follows: - -```js -import { DynamoDBClient } from "@aws-sdk/client-dynamodb"; // ES6 import -// const { DynamoDBClient } = require("@aws-sdk/client-dynamodb"); // CommonJS import - -// Bare-bones DynamoDB Client -const client = new DynamoDBClient({}); -``` - -```js -import { DynamoDB } from "@aws-sdk/client-dynamodb"; // ES6 import -// const { DynamoDB } = require("@aws-sdk/client-dynamodb"); // CommonJS import - -// Full DynamoDB Client -const client = new DynamoDB({}); -``` - -The bare-bones clients are more modular. They reduce bundle size and improve -loading performance over full clients as explained in blog post on -[modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/). - -### Constructor - -Once DynamoDB client is created, you can either create the bare-bones -document client or full document client as follows: - -```js -import { DynamoDBDocumentClient } from "@aws-sdk/lib-dynamodb"; // ES6 import -// const { DynamoDBDocumentClient } = require("@aws-sdk/lib-dynamodb"); // CommonJS import - -// Bare-bones document client -const ddbDocClient = DynamoDBDocumentClient.from(client); // client is DynamoDB client -``` - -```js -import { DynamoDBDocument } from "@aws-sdk/lib-dynamodb"; // ES6 import -// const { DynamoDBDocument } = require("@aws-sdk/lib-dynamodb"); // CommonJS import - -// Full document client -const ddbDocClient = DynamoDBDocument.from(client); // client is DynamoDB client -``` - -### Configuration - -The configuration for marshalling and unmarshalling can be sent as an optional -second parameter during creation of document client as follows: - -```ts -export interface marshallOptions { - /** - * Whether to automatically convert empty strings, blobs, and sets to `null` - */ - convertEmptyValues?: boolean; - /** - * Whether to remove undefined values from JS arrays/Sets/objects - * when marshalling to DynamoDB lists/sets/maps respectively. - * - * A DynamoDB item is not itself considered a map. Only - * attributes of an item are examined. - */ - removeUndefinedValues?: boolean; - /** - * Whether to convert typeof object to map attribute. - */ - convertClassInstanceToMap?: boolean; - /** - * Whether to convert the top level container - * if it is a map or list. - * - * Default is true when using the DynamoDBDocumentClient, - * but false if directly using the marshall function (backwards compatibility). - */ - convertTopLevelContainer?: boolean; - /** - * Whether to allow numbers beyond Number.MAX_SAFE_INTEGER during marshalling. - * When set to true, allows numbers that may lose precision when converted to JavaScript numbers. - * When false (default), throws an error if a number exceeds Number.MAX_SAFE_INTEGER to prevent - * unintended loss of precision. Consider using the NumberValue type from @aws-sdk/lib-dynamodb - * for precise handling of large numbers. - */ - allowImpreciseNumbers?: boolean; -} - -export interface unmarshallOptions { - /** - * Whether to modify how numbers are unmarshalled from DynamoDB. - * When set to true, returns numbers as NumberValue instances instead of native JavaScript numbers. - * This allows for the safe round-trip transport of numbers of arbitrary size. - * - * If a function is provided, it will be called with the string representation of numbers to handle - * custom conversions (e.g., using BigInt or decimal libraries). - */ - wrapNumbers?: boolean | ((value: string) => number | bigint | NumberValue | any); - /** - * When true, skip wrapping the data in `{ M: data }` before converting. - * - * Default is true when using the DynamoDBDocumentClient, - * but false if directly using the unmarshall function (backwards compatibility). - */ - convertWithoutMapWrapper?: boolean; -} - -const marshallOptions: marshallOptions = {}; -const unmarshallOptions: unmarshallOptions = {}; - -const translateConfig = { marshallOptions, unmarshallOptions }; - -const client = new DynamoDBClient({}); -const ddbDocClient = DynamoDBDocument.from(client, translateConfig); -``` - -### Calling operations - -You can call the document client operations using command objects on bare-bones -client as follows: - -```js -import { DynamoDBDocumentClient, PutCommand } from "@aws-sdk/lib-dynamodb"; - -// ... DynamoDB client creation - -const ddbDocClient = DynamoDBDocumentClient.from(client); -// Call using bare-bones client and Command object. -await ddbDocClient.send( - new PutCommand({ - TableName, - Item: { - id: "1", - content: "content from DynamoDBDocumentClient", - }, - }) -); -``` - -You can also call operations on full client as follows: - -```js -import { DynamoDBDocument } from "@aws-sdk/lib-dynamodb"; - -// ... DynamoDB client creation - -const ddbDocClient = DynamoDBDocument.from(client); -// Call using full client. -await ddbDocClient.put({ - TableName, - Item: { - id: "2", - content: "content from DynamoDBDocument", - }, -}); -``` - -### Large Numbers and `NumberValue`. - -On the input or marshalling side, the class `NumberValue` can be used -anywhere to represent a DynamoDB number value, even small numbers. - -```ts -import { DynamoDB } from "@aws-sdk/client-dynamodb"; -import { NumberValue, DynamoDBDocument } from "@aws-sdk/lib-dynamodb"; - -// Note, the client will not validate the acceptability of the number -// in terms of size or format. -// It is only here to preserve your precise representation. -const client = DynamoDBDocument.from(new DynamoDB({})); - -await client.put({ - Item: { - id: 1, - smallNumber: NumberValue.from("123"), - bigNumber: NumberValue.from("1000000000000000000000.000000000001"), - nSet: new Set([123, NumberValue.from("456"), 789]), - }, -}); -``` - -On the output or unmarshalling side, the class `NumberValue` is used -depending on your setting for the `unmarshallOptions` flag `wrapnumbers`, -shown above. - -```ts -import { DynamoDB } from "@aws-sdk/client-dynamodb"; -import { NumberValue, DynamoDBDocument } from "@aws-sdk/lib-dynamodb"; - -const client = DynamoDBDocument.from(new DynamoDB({})); - -const response = await client.get({ - Key: { - id: 1, - }, -}); - -/** - * Numbers in the response may be a number, a BigInt, or a NumberValue depending - * on how you set `wrapNumbers`. - */ -const value = response.Item.bigNumber; -``` - -You can also provide a custom function to handle number conversion during unmarshalling: - -```typescript -const client = DynamoDBDocument.from(new DynamoDB({}), { - unmarshallOptions: { - // Use BigInt for all numbers - wrapNumbers: (str) => BigInt(str), - }, -}); - -const response = await client.get({ - Key: { id: 1 }, -}); - -// Numbers in response will be BigInt instead of NumberValue or regular numbers -``` - -`NumberValue` does not provide a way to do mathematical operations on itself. -To do mathematical operations, take the string value of `NumberValue` by calling -`.toString()` and supply it to your chosen big number implementation. - -The client protects against precision loss by throwing an error on large numbers, but you can either -allow imprecise values with `allowImpreciseNumbers` or maintain exact precision using `NumberValue`. - -```typescript -const preciseValue = "34567890123456789012345678901234567890"; - -// 1. Default behavior - will throw error -await client.send( - new PutCommand({ - TableName: "Table", - Item: { - id: "1", - number: Number(preciseValue), // Throws error: Number is greater than Number.MAX_SAFE_INTEGER - }, - }) -); - -// 2. Using allowImpreciseNumbers - will store but loses precision (mimics the v2 implicit behavior) -const impreciseClient = DynamoDBDocumentClient.from(new DynamoDBClient({}), { - marshallOptions: { allowImpreciseNumbers: true }, -}); -await impreciseClient.send( - new PutCommand({ - TableName: "Table", - Item: { - id: "2", - number: Number(preciseValue), // Loses precision 34567890123456790000000000000000000000n - }, - }) -); -``` - -### Example: performing a full table scan - -Before performing a full table scan, consider whether your query can be satisfied by a more efficient operation. -For instance, if you are searching for a set of rows by primary keys, `BatchGetItem` may be better. - -First, initialize the base Client and Document Client. - -```ts -import { DynamoDBClient } from "@aws-sdk/client-dynamodb"; -import { DynamoDBDocumentClient, paginateScan, ScanCommand } from "@aws-sdk/lib-dynamodb"; - -const client = new DynamoDBClient({ - region: "us-west-2", -}); - -const docClient = DynamoDBDocumentClient.from(client); - -const paginatorConfiguration = { - client: docClient, -}; - -/** - * This is a function so as to create - * separate objects per request. - * - * The objects passed into AWS SDK Command instances - * are retained as references, so this prevents unexpected mutations. - */ -const scanRequestInput = () => ({ - TableName: "YOUR_TABLE_NAME", - Limit: 100, -}); -``` - -The recommended way to iterate the scan is with our library's paginator helper function. - -```ts -// Recommended method, using the AWS SDK paginator: -let pageNumber = 1; -for await (const page of paginateScan(paginatorConfiguration, scanRequestInput())) { - console.log("page:", pageNumber++); - console.log(page.Items); -} -``` - -Alternatively, the equivalent manual method, which is exactly what the paginator function -is doing internally, is with a loop utilizing the pagination token from the responses: - -```ts -// Manual method, using the ScanCommand and pagination token: -let pageNumber = 1; -const firstPage = await docClient.send(new ScanCommand(scanRequestInput())); -console.log("page:", pageNumber++); -console.log(firstPage.Items); - -let paginationToken = firstPage.LastEvaluatedKey; - -while (paginationToken) { - const page = await docClient.send( - new ScanCommand({ - ...scanRequestInput(), - ExclusiveStartKey: paginationToken, - }) - ); - paginationToken = page.LastEvaluatedKey; - - console.log("page:", pageNumber++); - console.log(page.Items); -} -``` - -### Client and Command middleware stacks - -As with other AWS SDK for JavaScript v3 clients, you can apply middleware functions -both on the client itself and individual `Command`s. - -For individual `Command`s, here are examples of how to add middleware before and after -both marshalling and unmarshalling. We will use `QueryCommand` as an example. -Others follow the same pattern. - -```js -import { DynamoDBDocumentClient, QueryCommand } from "@aws-sdk/lib-dynamodb"; - -const client = new DynamoDBClient({ - /*...*/ -}); -const doc = DynamoDBDocumentClient.from(client); -const command = new QueryCommand({ - /*...*/ -}); -``` - -Before and after marshalling: - -```js -command.middlewareStack.addRelativeTo( - (next) => async (args) => { - console.log("pre-marshall", args.input); - return next(args); - }, - { - relation: "before", - toMiddleware: "DocumentMarshall", - } -); -command.middlewareStack.addRelativeTo( - (next) => async (args) => { - console.log("post-marshall", args.input); - return next(args); - }, - { - relation: "after", - toMiddleware: "DocumentMarshall", - } -); -``` - -Before and after unmarshalling: - -```js -command.middlewareStack.addRelativeTo( - (next) => async (args) => { - const result = await next(args); - console.log("pre-unmarshall", result.output.Items); - return result; - }, - { - relation: "after", // <- after for pre-unmarshall - toMiddleware: "DocumentUnmarshall", - } -); -command.middlewareStack.addRelativeTo( - (next) => async (args) => { - const result = await next(args); - console.log("post-unmarshall", result.output.Items); - return result; - }, - { - relation: "before", // <- before for post-unmarshall - toMiddleware: "DocumentUnmarshall", - } -); -``` - -### Destroying document client - -The `destroy()` call on document client is a no-op as document client does not -create a new DynamoDB client. You need to call `destroy()` on DynamoDB client to -clean resources used by it as shown below. - -```js -const client = new DynamoDBClient({}); -const ddbDocClient = DynamoDBDocumentClient.from(client); - -// Perform operations on document client. - -ddbDocClient.destroy(); // no-op -client.destroy(); // destroys DynamoDBClient -``` diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js deleted file mode 100644 index a855ee63..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js +++ /dev/null @@ -1,836 +0,0 @@ -'use strict'; - -var smithyClient = require('@smithy/smithy-client'); -var core = require('@aws-sdk/core'); -var utilDynamodb = require('@aws-sdk/util-dynamodb'); -var clientDynamodb = require('@aws-sdk/client-dynamodb'); -var core$1 = require('@smithy/core'); - -const SELF = null; -const ALL_VALUES = {}; -const ALL_MEMBERS = []; -const NEXT_LEVEL = "*"; -const processObj = (obj, processFunc, keyNodes) => { - if (obj !== undefined) { - if (keyNodes == null) { - return processFunc(obj); - } - else { - const keys = Object.keys(keyNodes); - const goToNextLevel = keys.length === 1 && keys[0] === NEXT_LEVEL; - const someChildren = keys.length >= 1 && !goToNextLevel; - const allChildren = keys.length === 0; - if (someChildren) { - return processKeysInObj(obj, processFunc, keyNodes); - } - else if (allChildren) { - return processAllKeysInObj(obj, processFunc, SELF); - } - else if (goToNextLevel) { - return Object.entries(obj ?? {}).reduce((acc, [k, v]) => { - if (typeof v !== "function") { - acc[k] = processObj(v, processFunc, keyNodes[NEXT_LEVEL]); - } - return acc; - }, (Array.isArray(obj) ? [] : {})); - } - } - } - return undefined; -}; -const processKeysInObj = (obj, processFunc, keyNodes) => { - let accumulator; - if (Array.isArray(obj)) { - accumulator = obj.filter((item) => typeof item !== "function"); - } - else { - accumulator = {}; - for (const [k, v] of Object.entries(obj)) { - if (typeof v !== "function") { - accumulator[k] = v; - } - } - } - for (const [nodeKey, nodes] of Object.entries(keyNodes)) { - if (typeof obj[nodeKey] === "function") { - continue; - } - const processedValue = processObj(obj[nodeKey], processFunc, nodes); - if (processedValue !== undefined && typeof processedValue !== "function") { - accumulator[nodeKey] = processedValue; - } - } - return accumulator; -}; -const processAllKeysInObj = (obj, processFunc, keyNodes) => { - if (Array.isArray(obj)) { - return obj.filter((item) => typeof item !== "function").map((item) => processObj(item, processFunc, keyNodes)); - } - return Object.entries(obj).reduce((acc, [key, value]) => { - if (typeof value === "function") { - return acc; - } - const processedValue = processObj(value, processFunc, keyNodes); - if (processedValue !== undefined && typeof processedValue !== "function") { - acc[key] = processedValue; - } - return acc; - }, {}); -}; -const marshallInput = (obj, keyNodes, options) => { - const marshallFunc = (toMarshall) => utilDynamodb.marshall(toMarshall, options); - return processKeysInObj(obj, marshallFunc, keyNodes); -}; -const unmarshallOutput = (obj, keyNodes, options) => { - const unmarshallFunc = (toMarshall) => utilDynamodb.unmarshall(toMarshall, options); - return processKeysInObj(obj, unmarshallFunc, keyNodes); -}; - -class DynamoDBDocumentClientCommand extends smithyClient.Command { - addMarshallingMiddleware(configuration) { - const { marshallOptions = {}, unmarshallOptions = {} } = configuration.translateConfig || {}; - marshallOptions.convertTopLevelContainer = marshallOptions.convertTopLevelContainer ?? true; - unmarshallOptions.convertWithoutMapWrapper = unmarshallOptions.convertWithoutMapWrapper ?? true; - this.clientCommand.middlewareStack.addRelativeTo((next, context) => async (args) => { - core.setFeature(context, "DDB_MAPPER", "d"); - return next({ - ...args, - input: marshallInput(args.input, this.inputKeyNodes, marshallOptions), - }); - }, { - name: "DocumentMarshall", - relation: "before", - toMiddleware: "serializerMiddleware", - override: true, - }); - this.clientCommand.middlewareStack.addRelativeTo((next, context) => async (args) => { - const deserialized = await next(args); - deserialized.output = unmarshallOutput(deserialized.output, this.outputKeyNodes, unmarshallOptions); - return deserialized; - }, { - name: "DocumentUnmarshall", - relation: "before", - toMiddleware: "deserializerMiddleware", - override: true, - }); - } -} - -class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'Statements': { - '*': { - 'Parameters': ALL_MEMBERS, - } - }, - }; - outputKeyNodes = { - 'Responses': { - '*': { - 'Error': { - 'Item': ALL_VALUES, - }, - 'Item': ALL_VALUES, - } - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new clientDynamodb.BatchExecuteStatementCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} - -class BatchGetCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'RequestItems': { - '*': { - 'Keys': { - '*': ALL_VALUES - }, - } - }, - }; - outputKeyNodes = { - 'Responses': { - '*': { - '*': ALL_VALUES - } - }, - 'UnprocessedKeys': { - '*': { - 'Keys': { - '*': ALL_VALUES - }, - } - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new clientDynamodb.BatchGetItemCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} - -class BatchWriteCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'RequestItems': { - '*': { - '*': { - 'PutRequest': { - 'Item': ALL_VALUES, - }, - 'DeleteRequest': { - 'Key': ALL_VALUES, - }, - } - } - }, - }; - outputKeyNodes = { - 'UnprocessedItems': { - '*': { - '*': { - 'PutRequest': { - 'Item': ALL_VALUES, - }, - 'DeleteRequest': { - 'Key': ALL_VALUES, - }, - } - } - }, - 'ItemCollectionMetrics': { - '*': { - '*': { - 'ItemCollectionKey': ALL_VALUES, - } - } - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new clientDynamodb.BatchWriteItemCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} - -class DeleteCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'Key': ALL_VALUES, - 'Expected': { - '*': { - 'Value': SELF, - 'AttributeValueList': ALL_MEMBERS, - } - }, - 'ExpressionAttributeValues': ALL_VALUES, - }; - outputKeyNodes = { - 'Attributes': ALL_VALUES, - 'ItemCollectionMetrics': { - 'ItemCollectionKey': ALL_VALUES, - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new clientDynamodb.DeleteItemCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} - -class ExecuteStatementCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'Parameters': ALL_MEMBERS, - }; - outputKeyNodes = { - 'Items': { - '*': ALL_VALUES - }, - 'LastEvaluatedKey': ALL_VALUES, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new clientDynamodb.ExecuteStatementCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} - -class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'TransactStatements': { - '*': { - 'Parameters': ALL_MEMBERS, - } - }, - }; - outputKeyNodes = { - 'Responses': { - '*': { - 'Item': ALL_VALUES, - } - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new clientDynamodb.ExecuteTransactionCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} - -class GetCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'Key': ALL_VALUES, - }; - outputKeyNodes = { - 'Item': ALL_VALUES, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new clientDynamodb.GetItemCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} - -class PutCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'Item': ALL_VALUES, - 'Expected': { - '*': { - 'Value': SELF, - 'AttributeValueList': ALL_MEMBERS, - } - }, - 'ExpressionAttributeValues': ALL_VALUES, - }; - outputKeyNodes = { - 'Attributes': ALL_VALUES, - 'ItemCollectionMetrics': { - 'ItemCollectionKey': ALL_VALUES, - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new clientDynamodb.PutItemCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} - -class QueryCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'KeyConditions': { - '*': { - 'AttributeValueList': ALL_MEMBERS, - } - }, - 'QueryFilter': { - '*': { - 'AttributeValueList': ALL_MEMBERS, - } - }, - 'ExclusiveStartKey': ALL_VALUES, - 'ExpressionAttributeValues': ALL_VALUES, - }; - outputKeyNodes = { - 'Items': { - '*': ALL_VALUES - }, - 'LastEvaluatedKey': ALL_VALUES, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new clientDynamodb.QueryCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} - -class ScanCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'ScanFilter': { - '*': { - 'AttributeValueList': ALL_MEMBERS, - } - }, - 'ExclusiveStartKey': ALL_VALUES, - 'ExpressionAttributeValues': ALL_VALUES, - }; - outputKeyNodes = { - 'Items': { - '*': ALL_VALUES - }, - 'LastEvaluatedKey': ALL_VALUES, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new clientDynamodb.ScanCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} - -class TransactGetCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'TransactItems': { - '*': { - 'Get': { - 'Key': ALL_VALUES, - }, - } - }, - }; - outputKeyNodes = { - 'Responses': { - '*': { - 'Item': ALL_VALUES, - } - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new clientDynamodb.TransactGetItemsCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} - -class TransactWriteCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'TransactItems': { - '*': { - 'ConditionCheck': { - 'Key': ALL_VALUES, - 'ExpressionAttributeValues': ALL_VALUES, - }, - 'Put': { - 'Item': ALL_VALUES, - 'ExpressionAttributeValues': ALL_VALUES, - }, - 'Delete': { - 'Key': ALL_VALUES, - 'ExpressionAttributeValues': ALL_VALUES, - }, - 'Update': { - 'Key': ALL_VALUES, - 'ExpressionAttributeValues': ALL_VALUES, - }, - } - }, - }; - outputKeyNodes = { - 'ItemCollectionMetrics': { - '*': { - '*': { - 'ItemCollectionKey': ALL_VALUES, - } - } - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new clientDynamodb.TransactWriteItemsCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} - -class UpdateCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'Key': ALL_VALUES, - 'AttributeUpdates': { - '*': { - 'Value': SELF, - } - }, - 'Expected': { - '*': { - 'Value': SELF, - 'AttributeValueList': ALL_MEMBERS, - } - }, - 'ExpressionAttributeValues': ALL_VALUES, - }; - outputKeyNodes = { - 'Attributes': ALL_VALUES, - 'ItemCollectionMetrics': { - 'ItemCollectionKey': ALL_VALUES, - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new clientDynamodb.UpdateItemCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} - -class DynamoDBDocumentClient extends smithyClient.Client { - config; - constructor(client, translateConfig) { - super(client.config); - this.config = client.config; - this.config.translateConfig = translateConfig; - this.middlewareStack = client.middlewareStack; - if (this.config?.cacheMiddleware) { - throw new Error("@aws-sdk/lib-dynamodb - cacheMiddleware=true is not compatible with the" - + " DynamoDBDocumentClient. This option must be set to false."); - } - } - static from(client, translateConfig) { - return new DynamoDBDocumentClient(client, translateConfig); - } - destroy() { - } -} - -const paginateQuery = core$1.createPaginator(DynamoDBDocumentClient, QueryCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit"); - -const paginateScan = core$1.createPaginator(DynamoDBDocumentClient, ScanCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit"); - -class DynamoDBDocument extends DynamoDBDocumentClient { - static from(client, translateConfig) { - return new DynamoDBDocument(client, translateConfig); - } - batchExecuteStatement(args, optionsOrCb, cb) { - const command = new BatchExecuteStatementCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - batchGet(args, optionsOrCb, cb) { - const command = new BatchGetCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - batchWrite(args, optionsOrCb, cb) { - const command = new BatchWriteCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - delete(args, optionsOrCb, cb) { - const command = new DeleteCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - executeStatement(args, optionsOrCb, cb) { - const command = new ExecuteStatementCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - executeTransaction(args, optionsOrCb, cb) { - const command = new ExecuteTransactionCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - get(args, optionsOrCb, cb) { - const command = new GetCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - put(args, optionsOrCb, cb) { - const command = new PutCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - query(args, optionsOrCb, cb) { - const command = new QueryCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - scan(args, optionsOrCb, cb) { - const command = new ScanCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - transactGet(args, optionsOrCb, cb) { - const command = new TransactGetCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - transactWrite(args, optionsOrCb, cb) { - const command = new TransactWriteCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - update(args, optionsOrCb, cb) { - const command = new UpdateCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } -} - -exports.$Command = smithyClient.Command; -exports.__Client = smithyClient.Client; -exports.NumberValue = utilDynamodb.NumberValueImpl; -exports.BatchExecuteStatementCommand = BatchExecuteStatementCommand; -exports.BatchGetCommand = BatchGetCommand; -exports.BatchWriteCommand = BatchWriteCommand; -exports.DeleteCommand = DeleteCommand; -exports.DynamoDBDocument = DynamoDBDocument; -exports.DynamoDBDocumentClient = DynamoDBDocumentClient; -exports.DynamoDBDocumentClientCommand = DynamoDBDocumentClientCommand; -exports.ExecuteStatementCommand = ExecuteStatementCommand; -exports.ExecuteTransactionCommand = ExecuteTransactionCommand; -exports.GetCommand = GetCommand; -exports.PutCommand = PutCommand; -exports.QueryCommand = QueryCommand; -exports.ScanCommand = ScanCommand; -exports.TransactGetCommand = TransactGetCommand; -exports.TransactWriteCommand = TransactWriteCommand; -exports.UpdateCommand = UpdateCommand; -exports.paginateQuery = paginateQuery; -exports.paginateScan = paginateScan; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/DynamoDBDocument.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/DynamoDBDocument.js deleted file mode 100644 index 206f25af..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/DynamoDBDocument.js +++ /dev/null @@ -1,214 +0,0 @@ -import { BatchExecuteStatementCommand, } from "./commands/BatchExecuteStatementCommand"; -import { BatchGetCommand } from "./commands/BatchGetCommand"; -import { BatchWriteCommand } from "./commands/BatchWriteCommand"; -import { DeleteCommand } from "./commands/DeleteCommand"; -import { ExecuteStatementCommand, } from "./commands/ExecuteStatementCommand"; -import { ExecuteTransactionCommand, } from "./commands/ExecuteTransactionCommand"; -import { GetCommand } from "./commands/GetCommand"; -import { PutCommand } from "./commands/PutCommand"; -import { QueryCommand } from "./commands/QueryCommand"; -import { ScanCommand } from "./commands/ScanCommand"; -import { TransactGetCommand } from "./commands/TransactGetCommand"; -import { TransactWriteCommand, } from "./commands/TransactWriteCommand"; -import { UpdateCommand } from "./commands/UpdateCommand"; -import { DynamoDBDocumentClient } from "./DynamoDBDocumentClient"; -export class DynamoDBDocument extends DynamoDBDocumentClient { - static from(client, translateConfig) { - return new DynamoDBDocument(client, translateConfig); - } - batchExecuteStatement(args, optionsOrCb, cb) { - const command = new BatchExecuteStatementCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - batchGet(args, optionsOrCb, cb) { - const command = new BatchGetCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - batchWrite(args, optionsOrCb, cb) { - const command = new BatchWriteCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - delete(args, optionsOrCb, cb) { - const command = new DeleteCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - executeStatement(args, optionsOrCb, cb) { - const command = new ExecuteStatementCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - executeTransaction(args, optionsOrCb, cb) { - const command = new ExecuteTransactionCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - get(args, optionsOrCb, cb) { - const command = new GetCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - put(args, optionsOrCb, cb) { - const command = new PutCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - query(args, optionsOrCb, cb) { - const command = new QueryCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - scan(args, optionsOrCb, cb) { - const command = new ScanCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - transactGet(args, optionsOrCb, cb) { - const command = new TransactGetCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - transactWrite(args, optionsOrCb, cb) { - const command = new TransactWriteCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } - update(args, optionsOrCb, cb) { - const command = new UpdateCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } - else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") { - throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - } - this.send(command, optionsOrCb || {}, cb); - } - else { - return this.send(command, optionsOrCb); - } - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/DynamoDBDocumentClient.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/DynamoDBDocumentClient.js deleted file mode 100644 index 7ed0f398..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/DynamoDBDocumentClient.js +++ /dev/null @@ -1,20 +0,0 @@ -import { Client as __Client } from "@smithy/smithy-client"; -export { __Client }; -export class DynamoDBDocumentClient extends __Client { - config; - constructor(client, translateConfig) { - super(client.config); - this.config = client.config; - this.config.translateConfig = translateConfig; - this.middlewareStack = client.middlewareStack; - if (this.config?.cacheMiddleware) { - throw new Error("@aws-sdk/lib-dynamodb - cacheMiddleware=true is not compatible with the" - + " DynamoDBDocumentClient. This option must be set to false."); - } - } - static from(client, translateConfig) { - return new DynamoDBDocumentClient(client, translateConfig); - } - destroy() { - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/baseCommand/DynamoDBDocumentClientCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/baseCommand/DynamoDBDocumentClientCommand.js deleted file mode 100644 index 22d37b97..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/baseCommand/DynamoDBDocumentClientCommand.js +++ /dev/null @@ -1,32 +0,0 @@ -import { setFeature } from "@aws-sdk/core"; -import { Command as $Command } from "@smithy/smithy-client"; -import { marshallInput, unmarshallOutput } from "../commands/utils"; -export class DynamoDBDocumentClientCommand extends $Command { - addMarshallingMiddleware(configuration) { - const { marshallOptions = {}, unmarshallOptions = {} } = configuration.translateConfig || {}; - marshallOptions.convertTopLevelContainer = marshallOptions.convertTopLevelContainer ?? true; - unmarshallOptions.convertWithoutMapWrapper = unmarshallOptions.convertWithoutMapWrapper ?? true; - this.clientCommand.middlewareStack.addRelativeTo((next, context) => async (args) => { - setFeature(context, "DDB_MAPPER", "d"); - return next({ - ...args, - input: marshallInput(args.input, this.inputKeyNodes, marshallOptions), - }); - }, { - name: "DocumentMarshall", - relation: "before", - toMiddleware: "serializerMiddleware", - override: true, - }); - this.clientCommand.middlewareStack.addRelativeTo((next, context) => async (args) => { - const deserialized = await next(args); - deserialized.output = unmarshallOutput(deserialized.output, this.outputKeyNodes, unmarshallOptions); - return deserialized; - }, { - name: "DocumentUnmarshall", - relation: "before", - toMiddleware: "deserializerMiddleware", - override: true, - }); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/BatchExecuteStatementCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/BatchExecuteStatementCommand.js deleted file mode 100644 index 4909944d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/BatchExecuteStatementCommand.js +++ /dev/null @@ -1,39 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { ALL_MEMBERS, ALL_VALUES } from "../commands/utils"; -import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'Statements': { - '*': { - 'Parameters': ALL_MEMBERS, - } - }, - }; - outputKeyNodes = { - 'Responses': { - '*': { - 'Error': { - 'Item': ALL_VALUES, - }, - 'Item': ALL_VALUES, - } - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new __BatchExecuteStatementCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/BatchGetCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/BatchGetCommand.js deleted file mode 100644 index 0757374f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/BatchGetCommand.js +++ /dev/null @@ -1,45 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { ALL_VALUES } from "../commands/utils"; -import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export class BatchGetCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'RequestItems': { - '*': { - 'Keys': { - '*': ALL_VALUES - }, - } - }, - }; - outputKeyNodes = { - 'Responses': { - '*': { - '*': ALL_VALUES - } - }, - 'UnprocessedKeys': { - '*': { - 'Keys': { - '*': ALL_VALUES - }, - } - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new __BatchGetItemCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/BatchWriteCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/BatchWriteCommand.js deleted file mode 100644 index 85b1612f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/BatchWriteCommand.js +++ /dev/null @@ -1,57 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { ALL_VALUES } from "../commands/utils"; -import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export class BatchWriteCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'RequestItems': { - '*': { - '*': { - 'PutRequest': { - 'Item': ALL_VALUES, - }, - 'DeleteRequest': { - 'Key': ALL_VALUES, - }, - } - } - }, - }; - outputKeyNodes = { - 'UnprocessedItems': { - '*': { - '*': { - 'PutRequest': { - 'Item': ALL_VALUES, - }, - 'DeleteRequest': { - 'Key': ALL_VALUES, - }, - } - } - }, - 'ItemCollectionMetrics': { - '*': { - '*': { - 'ItemCollectionKey': ALL_VALUES, - } - } - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new __BatchWriteItemCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/DeleteCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/DeleteCommand.js deleted file mode 100644 index 11c0cb89..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/DeleteCommand.js +++ /dev/null @@ -1,38 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { ALL_MEMBERS, ALL_VALUES, SELF } from "../commands/utils"; -import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export class DeleteCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'Key': ALL_VALUES, - 'Expected': { - '*': { - 'Value': SELF, - 'AttributeValueList': ALL_MEMBERS, - } - }, - 'ExpressionAttributeValues': ALL_VALUES, - }; - outputKeyNodes = { - 'Attributes': ALL_VALUES, - 'ItemCollectionMetrics': { - 'ItemCollectionKey': ALL_VALUES, - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new __DeleteItemCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/ExecuteStatementCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/ExecuteStatementCommand.js deleted file mode 100644 index 128311af..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/ExecuteStatementCommand.js +++ /dev/null @@ -1,31 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { ALL_MEMBERS, ALL_VALUES } from "../commands/utils"; -import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export class ExecuteStatementCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'Parameters': ALL_MEMBERS, - }; - outputKeyNodes = { - 'Items': { - '*': ALL_VALUES - }, - 'LastEvaluatedKey': ALL_VALUES, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new __ExecuteStatementCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/ExecuteTransactionCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/ExecuteTransactionCommand.js deleted file mode 100644 index 2664cd0e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/ExecuteTransactionCommand.js +++ /dev/null @@ -1,36 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { ALL_MEMBERS, ALL_VALUES } from "../commands/utils"; -import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'TransactStatements': { - '*': { - 'Parameters': ALL_MEMBERS, - } - }, - }; - outputKeyNodes = { - 'Responses': { - '*': { - 'Item': ALL_VALUES, - } - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new __ExecuteTransactionCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/GetCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/GetCommand.js deleted file mode 100644 index c54d321b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/GetCommand.js +++ /dev/null @@ -1,28 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { ALL_VALUES } from "../commands/utils"; -import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export class GetCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'Key': ALL_VALUES, - }; - outputKeyNodes = { - 'Item': ALL_VALUES, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new __GetItemCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/PutCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/PutCommand.js deleted file mode 100644 index 142297ff..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/PutCommand.js +++ /dev/null @@ -1,38 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { ALL_MEMBERS, ALL_VALUES, SELF } from "../commands/utils"; -import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export class PutCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'Item': ALL_VALUES, - 'Expected': { - '*': { - 'Value': SELF, - 'AttributeValueList': ALL_MEMBERS, - } - }, - 'ExpressionAttributeValues': ALL_VALUES, - }; - outputKeyNodes = { - 'Attributes': ALL_VALUES, - 'ItemCollectionMetrics': { - 'ItemCollectionKey': ALL_VALUES, - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new __PutItemCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/QueryCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/QueryCommand.js deleted file mode 100644 index 7ecbae6d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/QueryCommand.js +++ /dev/null @@ -1,42 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { ALL_MEMBERS, ALL_VALUES } from "../commands/utils"; -import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export class QueryCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'KeyConditions': { - '*': { - 'AttributeValueList': ALL_MEMBERS, - } - }, - 'QueryFilter': { - '*': { - 'AttributeValueList': ALL_MEMBERS, - } - }, - 'ExclusiveStartKey': ALL_VALUES, - 'ExpressionAttributeValues': ALL_VALUES, - }; - outputKeyNodes = { - 'Items': { - '*': ALL_VALUES - }, - 'LastEvaluatedKey': ALL_VALUES, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new __QueryCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/ScanCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/ScanCommand.js deleted file mode 100644 index d8455c20..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/ScanCommand.js +++ /dev/null @@ -1,37 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { ALL_MEMBERS, ALL_VALUES } from "../commands/utils"; -import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export class ScanCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'ScanFilter': { - '*': { - 'AttributeValueList': ALL_MEMBERS, - } - }, - 'ExclusiveStartKey': ALL_VALUES, - 'ExpressionAttributeValues': ALL_VALUES, - }; - outputKeyNodes = { - 'Items': { - '*': ALL_VALUES - }, - 'LastEvaluatedKey': ALL_VALUES, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new __ScanCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/TransactGetCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/TransactGetCommand.js deleted file mode 100644 index 9aa61ce9..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/TransactGetCommand.js +++ /dev/null @@ -1,38 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { ALL_VALUES } from "../commands/utils"; -import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export class TransactGetCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'TransactItems': { - '*': { - 'Get': { - 'Key': ALL_VALUES, - }, - } - }, - }; - outputKeyNodes = { - 'Responses': { - '*': { - 'Item': ALL_VALUES, - } - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new __TransactGetItemsCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/TransactWriteCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/TransactWriteCommand.js deleted file mode 100644 index 00ce0b7b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/TransactWriteCommand.js +++ /dev/null @@ -1,53 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { ALL_VALUES } from "../commands/utils"; -import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export class TransactWriteCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'TransactItems': { - '*': { - 'ConditionCheck': { - 'Key': ALL_VALUES, - 'ExpressionAttributeValues': ALL_VALUES, - }, - 'Put': { - 'Item': ALL_VALUES, - 'ExpressionAttributeValues': ALL_VALUES, - }, - 'Delete': { - 'Key': ALL_VALUES, - 'ExpressionAttributeValues': ALL_VALUES, - }, - 'Update': { - 'Key': ALL_VALUES, - 'ExpressionAttributeValues': ALL_VALUES, - }, - } - }, - }; - outputKeyNodes = { - 'ItemCollectionMetrics': { - '*': { - '*': { - 'ItemCollectionKey': ALL_VALUES, - } - } - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new __TransactWriteItemsCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/UpdateCommand.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/UpdateCommand.js deleted file mode 100644 index 1f15cf48..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/UpdateCommand.js +++ /dev/null @@ -1,43 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { ALL_MEMBERS, ALL_VALUES, SELF } from "../commands/utils"; -import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export class UpdateCommand extends DynamoDBDocumentClientCommand { - input; - inputKeyNodes = { - 'Key': ALL_VALUES, - 'AttributeUpdates': { - '*': { - 'Value': SELF, - } - }, - 'Expected': { - '*': { - 'Value': SELF, - 'AttributeValueList': ALL_MEMBERS, - } - }, - 'ExpressionAttributeValues': ALL_VALUES, - }; - outputKeyNodes = { - 'Attributes': ALL_VALUES, - 'ItemCollectionMetrics': { - 'ItemCollectionKey': ALL_VALUES, - }, - }; - clientCommand; - middlewareStack; - constructor(input) { - super(); - this.input = input; - this.clientCommand = new __UpdateItemCommand(this.input); - this.middlewareStack = this.clientCommand.middlewareStack; - } - resolveMiddleware(clientStack, configuration, options) { - this.addMarshallingMiddleware(configuration); - const stack = clientStack.concat(this.middlewareStack); - const handler = this.clientCommand.resolveMiddleware(stack, configuration, options); - return async () => handler(this.clientCommand); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/index.js deleted file mode 100644 index bf79787f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/index.js +++ /dev/null @@ -1,13 +0,0 @@ -export * from './BatchExecuteStatementCommand'; -export * from './BatchGetCommand'; -export * from './BatchWriteCommand'; -export * from './DeleteCommand'; -export * from './ExecuteStatementCommand'; -export * from './ExecuteTransactionCommand'; -export * from './GetCommand'; -export * from './PutCommand'; -export * from './QueryCommand'; -export * from './ScanCommand'; -export * from './TransactGetCommand'; -export * from './TransactWriteCommand'; -export * from './UpdateCommand'; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/utils.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/utils.js deleted file mode 100644 index 19c4e99a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/commands/utils.js +++ /dev/null @@ -1,80 +0,0 @@ -import { marshall, unmarshall } from "@aws-sdk/util-dynamodb"; -export const SELF = null; -export const ALL_VALUES = {}; -export const ALL_MEMBERS = []; -const NEXT_LEVEL = "*"; -const processObj = (obj, processFunc, keyNodes) => { - if (obj !== undefined) { - if (keyNodes == null) { - return processFunc(obj); - } - else { - const keys = Object.keys(keyNodes); - const goToNextLevel = keys.length === 1 && keys[0] === NEXT_LEVEL; - const someChildren = keys.length >= 1 && !goToNextLevel; - const allChildren = keys.length === 0; - if (someChildren) { - return processKeysInObj(obj, processFunc, keyNodes); - } - else if (allChildren) { - return processAllKeysInObj(obj, processFunc, SELF); - } - else if (goToNextLevel) { - return Object.entries(obj ?? {}).reduce((acc, [k, v]) => { - if (typeof v !== "function") { - acc[k] = processObj(v, processFunc, keyNodes[NEXT_LEVEL]); - } - return acc; - }, (Array.isArray(obj) ? [] : {})); - } - } - } - return undefined; -}; -const processKeysInObj = (obj, processFunc, keyNodes) => { - let accumulator; - if (Array.isArray(obj)) { - accumulator = obj.filter((item) => typeof item !== "function"); - } - else { - accumulator = {}; - for (const [k, v] of Object.entries(obj)) { - if (typeof v !== "function") { - accumulator[k] = v; - } - } - } - for (const [nodeKey, nodes] of Object.entries(keyNodes)) { - if (typeof obj[nodeKey] === "function") { - continue; - } - const processedValue = processObj(obj[nodeKey], processFunc, nodes); - if (processedValue !== undefined && typeof processedValue !== "function") { - accumulator[nodeKey] = processedValue; - } - } - return accumulator; -}; -const processAllKeysInObj = (obj, processFunc, keyNodes) => { - if (Array.isArray(obj)) { - return obj.filter((item) => typeof item !== "function").map((item) => processObj(item, processFunc, keyNodes)); - } - return Object.entries(obj).reduce((acc, [key, value]) => { - if (typeof value === "function") { - return acc; - } - const processedValue = processObj(value, processFunc, keyNodes); - if (processedValue !== undefined && typeof processedValue !== "function") { - acc[key] = processedValue; - } - return acc; - }, {}); -}; -export const marshallInput = (obj, keyNodes, options) => { - const marshallFunc = (toMarshall) => marshall(toMarshall, options); - return processKeysInObj(obj, marshallFunc, keyNodes); -}; -export const unmarshallOutput = (obj, keyNodes, options) => { - const unmarshallFunc = (toMarshall) => unmarshall(toMarshall, options); - return processKeysInObj(obj, unmarshallFunc, keyNodes); -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/index.js deleted file mode 100644 index 657e2b5b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/index.js +++ /dev/null @@ -1,5 +0,0 @@ -export * from './commands'; -export * from './pagination'; -export * from './DynamoDBDocumentClient'; -export * from './DynamoDBDocument'; -export { NumberValueImpl as NumberValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/Interfaces.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/Interfaces.js deleted file mode 100644 index cb0ff5c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/Interfaces.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/QueryPaginator.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/QueryPaginator.js deleted file mode 100644 index da9e0586..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/QueryPaginator.js +++ /dev/null @@ -1,4 +0,0 @@ -import { createPaginator } from "@smithy/core"; -import { QueryCommand } from "../commands/QueryCommand"; -import { DynamoDBDocumentClient } from "../DynamoDBDocumentClient"; -export const paginateQuery = createPaginator(DynamoDBDocumentClient, QueryCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit"); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/ScanPaginator.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/ScanPaginator.js deleted file mode 100644 index ae01799b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/ScanPaginator.js +++ /dev/null @@ -1,4 +0,0 @@ -import { createPaginator } from "@smithy/core"; -import { ScanCommand } from "../commands/ScanCommand"; -import { DynamoDBDocumentClient } from "../DynamoDBDocumentClient"; -export const paginateScan = createPaginator(DynamoDBDocumentClient, ScanCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit"); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/index.js deleted file mode 100644 index 52658edf..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-es/pagination/index.js +++ /dev/null @@ -1,3 +0,0 @@ -export * from './Interfaces'; -export * from './QueryPaginator'; -export * from './ScanPaginator'; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/DynamoDBDocument.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/DynamoDBDocument.d.ts deleted file mode 100644 index 76601eba..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/DynamoDBDocument.d.ts +++ /dev/null @@ -1,195 +0,0 @@ -import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; -import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand"; -import { BatchGetCommandInput, BatchGetCommandOutput } from "./commands/BatchGetCommand"; -import { BatchWriteCommandInput, BatchWriteCommandOutput } from "./commands/BatchWriteCommand"; -import { DeleteCommandInput, DeleteCommandOutput } from "./commands/DeleteCommand"; -import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand"; -import { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand"; -import { GetCommandInput, GetCommandOutput } from "./commands/GetCommand"; -import { PutCommandInput, PutCommandOutput } from "./commands/PutCommand"; -import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand"; -import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand"; -import { TransactGetCommandInput, TransactGetCommandOutput } from "./commands/TransactGetCommand"; -import { TransactWriteCommandInput, TransactWriteCommandOutput } from "./commands/TransactWriteCommand"; -import { UpdateCommandInput, UpdateCommandOutput } from "./commands/UpdateCommand"; -import { DynamoDBDocumentClient, TranslateConfig } from "./DynamoDBDocumentClient"; -import { DynamoDBClient } from "@aws-sdk/client-dynamodb"; -/** - * The document client simplifies working with items in Amazon DynamoDB by - * abstracting away the notion of attribute values. This abstraction annotates native - * JavaScript types supplied as input parameters, as well as converts annotated - * response data to native JavaScript types. - * - * ## Marshalling Input and Unmarshalling Response Data - * - * The document client affords developers the use of native JavaScript types - * instead of `AttributeValue`s to simplify the JavaScript development - * experience with Amazon DynamoDB. JavaScript objects passed in as parameters - * are marshalled into `AttributeValue` shapes required by Amazon DynamoDB. - * Responses from DynamoDB are unmarshalled into plain JavaScript objects - * by the `DocumentClient`. The `DocumentClient` does not accept - * `AttributeValue`s in favor of native JavaScript types. - * - * | JavaScript Type | DynamoDB AttributeValue | - * | :-------------------------------: | ----------------------- | - * | String | S | - * | Number / BigInt | N | - * | Boolean | BOOL | - * | null | NULL | - * | Array | L | - * | Object | M | - * | Set\ | BS | - * | Set\ | NS | - * | Set\ | SS | - * | Uint8Array, Buffer, File, Blob... | B | - * - * ### Example - * - * Here is an example list which is sent to DynamoDB client in an operation: - * - * ```json - * { "L": [{ "NULL": true }, { "BOOL": false }, { "N": 1 }, { "S": "two" }] } - * ``` - * - * The DynamoDB document client abstracts the attribute values as follows in - * both input and output: - * - * ```json - * [null, false, 1, "two"] - * ``` - * - * @see {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb | @aws-sdk/client-dynamodb} - */ -export declare class DynamoDBDocument extends DynamoDBDocumentClient { - static from(client: DynamoDBClient, translateConfig?: TranslateConfig): DynamoDBDocument; - /** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * BatchExecuteStatementCommand operation from {@link @aws-sdk/client-dynamodb#BatchExecuteStatementCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - */ - batchExecuteStatement(args: BatchExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise; - batchExecuteStatement(args: BatchExecuteStatementCommandInput, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void; - batchExecuteStatement(args: BatchExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void; - /** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * BatchGetItemCommand operation from {@link @aws-sdk/client-dynamodb#BatchGetItemCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - */ - batchGet(args: BatchGetCommandInput, options?: __HttpHandlerOptions): Promise; - batchGet(args: BatchGetCommandInput, cb: (err: any, data?: BatchGetCommandOutput) => void): void; - batchGet(args: BatchGetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCommandOutput) => void): void; - /** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * BatchWriteItemCommand operation from {@link @aws-sdk/client-dynamodb#BatchWriteItemCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - */ - batchWrite(args: BatchWriteCommandInput, options?: __HttpHandlerOptions): Promise; - batchWrite(args: BatchWriteCommandInput, cb: (err: any, data?: BatchWriteCommandOutput) => void): void; - batchWrite(args: BatchWriteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchWriteCommandOutput) => void): void; - /** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * DeleteItemCommand operation from {@link @aws-sdk/client-dynamodb#DeleteItemCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - */ - delete(args: DeleteCommandInput, options?: __HttpHandlerOptions): Promise; - delete(args: DeleteCommandInput, cb: (err: any, data?: DeleteCommandOutput) => void): void; - delete(args: DeleteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCommandOutput) => void): void; - /** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * ExecuteStatementCommand operation from {@link @aws-sdk/client-dynamodb#ExecuteStatementCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - */ - executeStatement(args: ExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise; - executeStatement(args: ExecuteStatementCommandInput, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void; - executeStatement(args: ExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void; - /** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * ExecuteTransactionCommand operation from {@link @aws-sdk/client-dynamodb#ExecuteTransactionCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - */ - executeTransaction(args: ExecuteTransactionCommandInput, options?: __HttpHandlerOptions): Promise; - executeTransaction(args: ExecuteTransactionCommandInput, cb: (err: any, data?: ExecuteTransactionCommandOutput) => void): void; - executeTransaction(args: ExecuteTransactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteTransactionCommandOutput) => void): void; - /** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * GetItemCommand operation from {@link @aws-sdk/client-dynamodb#GetItemCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - */ - get(args: GetCommandInput, options?: __HttpHandlerOptions): Promise; - get(args: GetCommandInput, cb: (err: any, data?: GetCommandOutput) => void): void; - get(args: GetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommandOutput) => void): void; - /** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * PutItemCommand operation from {@link @aws-sdk/client-dynamodb#PutItemCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - */ - put(args: PutCommandInput, options?: __HttpHandlerOptions): Promise; - put(args: PutCommandInput, cb: (err: any, data?: PutCommandOutput) => void): void; - put(args: PutCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutCommandOutput) => void): void; - /** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * QueryCommand operation from {@link @aws-sdk/client-dynamodb#QueryCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - */ - query(args: QueryCommandInput, options?: __HttpHandlerOptions): Promise; - query(args: QueryCommandInput, cb: (err: any, data?: QueryCommandOutput) => void): void; - query(args: QueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryCommandOutput) => void): void; - /** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * ScanCommand operation from {@link @aws-sdk/client-dynamodb#ScanCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - */ - scan(args: ScanCommandInput, options?: __HttpHandlerOptions): Promise; - scan(args: ScanCommandInput, cb: (err: any, data?: ScanCommandOutput) => void): void; - scan(args: ScanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ScanCommandOutput) => void): void; - /** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * TransactGetItemsCommand operation from {@link @aws-sdk/client-dynamodb#TransactGetItemsCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - */ - transactGet(args: TransactGetCommandInput, options?: __HttpHandlerOptions): Promise; - transactGet(args: TransactGetCommandInput, cb: (err: any, data?: TransactGetCommandOutput) => void): void; - transactGet(args: TransactGetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TransactGetCommandOutput) => void): void; - /** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * TransactWriteItemsCommand operation from {@link @aws-sdk/client-dynamodb#TransactWriteItemsCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - */ - transactWrite(args: TransactWriteCommandInput, options?: __HttpHandlerOptions): Promise; - transactWrite(args: TransactWriteCommandInput, cb: (err: any, data?: TransactWriteCommandOutput) => void): void; - transactWrite(args: TransactWriteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TransactWriteCommandOutput) => void): void; - /** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * UpdateItemCommand operation from {@link @aws-sdk/client-dynamodb#UpdateItemCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - */ - update(args: UpdateCommandInput, options?: __HttpHandlerOptions): Promise; - update(args: UpdateCommandInput, cb: (err: any, data?: UpdateCommandOutput) => void): void; - update(args: UpdateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCommandOutput) => void): void; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/DynamoDBDocumentClient.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/DynamoDBDocumentClient.d.ts deleted file mode 100644 index ec654f41..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/DynamoDBDocumentClient.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { Client as __Client } from "@smithy/smithy-client"; -import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; -import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand"; -import { BatchGetCommandInput, BatchGetCommandOutput } from "./commands/BatchGetCommand"; -import { BatchWriteCommandInput, BatchWriteCommandOutput } from "./commands/BatchWriteCommand"; -import { DeleteCommandInput, DeleteCommandOutput } from "./commands/DeleteCommand"; -import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand"; -import { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand"; -import { GetCommandInput, GetCommandOutput } from "./commands/GetCommand"; -import { PutCommandInput, PutCommandOutput } from "./commands/PutCommand"; -import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand"; -import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand"; -import { TransactGetCommandInput, TransactGetCommandOutput } from "./commands/TransactGetCommand"; -import { TransactWriteCommandInput, TransactWriteCommandOutput } from "./commands/TransactWriteCommand"; -import { UpdateCommandInput, UpdateCommandOutput } from "./commands/UpdateCommand"; -import { DynamoDBClient, DynamoDBClientResolvedConfig, ServiceInputTypes as __ServiceInputTypes, ServiceOutputTypes as __ServiceOutputTypes } from "@aws-sdk/client-dynamodb"; -import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb"; -/** - * @public - */ -export { __Client }; -/** - * @public - */ -export type ServiceInputTypes = __ServiceInputTypes | BatchExecuteStatementCommandInput | BatchGetCommandInput | BatchWriteCommandInput | DeleteCommandInput | ExecuteStatementCommandInput | ExecuteTransactionCommandInput | GetCommandInput | PutCommandInput | QueryCommandInput | ScanCommandInput | TransactGetCommandInput | TransactWriteCommandInput | UpdateCommandInput; -/** - * @public - */ -export type ServiceOutputTypes = __ServiceOutputTypes | BatchExecuteStatementCommandOutput | BatchGetCommandOutput | BatchWriteCommandOutput | DeleteCommandOutput | ExecuteStatementCommandOutput | ExecuteTransactionCommandOutput | GetCommandOutput | PutCommandOutput | QueryCommandOutput | ScanCommandOutput | TransactGetCommandOutput | TransactWriteCommandOutput | UpdateCommandOutput; -/** - * @public - */ -export type TranslateConfig = { - marshallOptions?: marshallOptions; - unmarshallOptions?: unmarshallOptions; -}; -/** - * @public - */ -export type DynamoDBDocumentClientResolvedConfig = DynamoDBClientResolvedConfig & { - translateConfig?: TranslateConfig; -}; -/** - * The document client simplifies working with items in Amazon DynamoDB by - * abstracting away the notion of attribute values. This abstraction annotates native - * JavaScript types supplied as input parameters, as well as converts annotated - * response data to native JavaScript types. - * - * ## Marshalling Input and Unmarshalling Response Data - * - * The document client affords developers the use of native JavaScript types - * instead of `AttributeValue`s to simplify the JavaScript development - * experience with Amazon DynamoDB. JavaScript objects passed in as parameters - * are marshalled into `AttributeValue` shapes required by Amazon DynamoDB. - * Responses from DynamoDB are unmarshalled into plain JavaScript objects - * by the `DocumentClient`. The `DocumentClient` does not accept - * `AttributeValue`s in favor of native JavaScript types. - * - * | JavaScript Type | DynamoDB AttributeValue | - * | :-------------------------------: | ----------------------- | - * | String | S | - * | Number / BigInt | N | - * | Boolean | BOOL | - * | null | NULL | - * | Array | L | - * | Object | M | - * | Set\ | BS | - * | Set\ | NS | - * | Set\ | SS | - * | Uint8Array, Buffer, File, Blob... | B | - * - * ### Example - * - * Here is an example list which is sent to DynamoDB client in an operation: - * - * ```json - * { "L": [{ "NULL": true }, { "BOOL": false }, { "N": 1 }, { "S": "two" }] } - * ``` - * - * The DynamoDB document client abstracts the attribute values as follows in - * both input and output: - * - * ```json - * [null, false, 1, "two"] - * ``` - * - * @see {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb | @aws-sdk/client-dynamodb} - * - * @public - */ -export declare class DynamoDBDocumentClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DynamoDBDocumentClientResolvedConfig> { - readonly config: DynamoDBDocumentClientResolvedConfig; - protected constructor(client: DynamoDBClient, translateConfig?: TranslateConfig); - static from(client: DynamoDBClient, translateConfig?: TranslateConfig): DynamoDBDocumentClient; - destroy(): void; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/baseCommand/DynamoDBDocumentClientCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/baseCommand/DynamoDBDocumentClientCommand.d.ts deleted file mode 100644 index e78690a7..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/baseCommand/DynamoDBDocumentClientCommand.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MiddlewareStack } from "@smithy/types"; -import { KeyNodeChildren } from "../commands/utils"; -import { DynamoDBDocumentClientResolvedConfig } from "../DynamoDBDocumentClient"; -/** - * Base class for Commands in lib-dynamodb used to pass middleware to - * the underlying DynamoDBClient Commands. - * - * @public - */ -export declare abstract class DynamoDBDocumentClientCommand extends $Command { - protected abstract readonly inputKeyNodes: KeyNodeChildren; - protected abstract readonly outputKeyNodes: KeyNodeChildren; - protected abstract clientCommand: $Command; - abstract middlewareStack: MiddlewareStack; - protected addMarshallingMiddleware(configuration: DynamoDBDocumentClientResolvedConfig): void; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/BatchExecuteStatementCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/BatchExecuteStatementCommand.d.ts deleted file mode 100644 index 7211d4cb..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/BatchExecuteStatementCommand.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient"; -import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb"; -/** - * @public - */ -export { DynamoDBDocumentClientCommand, $Command }; -/** - * @public - */ -export type BatchExecuteStatementCommandInput = Omit<__BatchExecuteStatementCommandInput, 'Statements'> & { - Statements: (Omit & { - Parameters?: (NativeAttributeValue)[] | undefined; - })[] | undefined; -}; -/** - * @public - */ -export type BatchExecuteStatementCommandOutput = Omit<__BatchExecuteStatementCommandOutput, 'Responses'> & { - Responses?: (Omit & { - Error?: Omit & { - Item?: Record | undefined; - } | undefined; - Item?: Record | undefined; - })[] | undefined; -}; -/** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * BatchExecuteStatementCommand operation from {@link @aws-sdk/client-dynamodb#BatchExecuteStatementCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - * - * @public - */ -export declare class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand { - readonly input: BatchExecuteStatementCommandInput; - protected readonly inputKeyNodes: { - Statements: { - '*': { - Parameters: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - protected readonly outputKeyNodes: { - Responses: { - '*': { - Error: { - Item: import("../commands/utils").KeyNodeChildren; - }; - Item: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - protected readonly clientCommand: __BatchExecuteStatementCommand; - readonly middlewareStack: MiddlewareStack; - constructor(input: BatchExecuteStatementCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; -} -import type { BatchExecuteStatementCommandInput as __BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput as __BatchExecuteStatementCommandOutput, BatchStatementError, BatchStatementRequest, BatchStatementResponse } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/BatchGetCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/BatchGetCommand.d.ts deleted file mode 100644 index 81a9b37c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/BatchGetCommand.d.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient"; -import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb"; -/** - * @public - */ -export { DynamoDBDocumentClientCommand, $Command }; -/** - * @public - */ -export type BatchGetCommandInput = Omit<__BatchGetItemCommandInput, 'RequestItems'> & { - RequestItems: Record & { - Keys: (Record)[] | undefined; - }> | undefined; -}; -/** - * @public - */ -export type BatchGetCommandOutput = Omit<__BatchGetItemCommandOutput, 'Responses' | 'UnprocessedKeys'> & { - Responses?: Record)[]> | undefined; - UnprocessedKeys?: Record & { - Keys: (Record)[] | undefined; - }> | undefined; -}; -/** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * BatchGetItemCommand operation from {@link @aws-sdk/client-dynamodb#BatchGetItemCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - * - * @public - */ -export declare class BatchGetCommand extends DynamoDBDocumentClientCommand { - readonly input: BatchGetCommandInput; - protected readonly inputKeyNodes: { - RequestItems: { - '*': { - Keys: { - '*': import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - protected readonly outputKeyNodes: { - Responses: { - '*': { - '*': import("../commands/utils").KeyNodeChildren; - }; - }; - UnprocessedKeys: { - '*': { - Keys: { - '*': import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - protected readonly clientCommand: __BatchGetItemCommand; - readonly middlewareStack: MiddlewareStack; - constructor(input: BatchGetCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; -} -import type { BatchGetItemCommandInput as __BatchGetItemCommandInput, BatchGetItemCommandOutput as __BatchGetItemCommandOutput, KeysAndAttributes } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/BatchWriteCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/BatchWriteCommand.d.ts deleted file mode 100644 index f6f01dfb..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/BatchWriteCommand.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient"; -import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb"; -/** - * @public - */ -export { DynamoDBDocumentClientCommand, $Command }; -/** - * @public - */ -export type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput, 'RequestItems'> & { - RequestItems: Record & { - PutRequest?: Omit & { - Item: Record | undefined; - } | undefined; - DeleteRequest?: Omit & { - Key: Record | undefined; - } | undefined; - })[]> | undefined; -}; -/** - * @public - */ -export type BatchWriteCommandOutput = Omit<__BatchWriteItemCommandOutput, 'UnprocessedItems' | 'ItemCollectionMetrics'> & { - UnprocessedItems?: Record & { - PutRequest?: Omit & { - Item: Record | undefined; - } | undefined; - DeleteRequest?: Omit & { - Key: Record | undefined; - } | undefined; - })[]> | undefined; - ItemCollectionMetrics?: Record & { - ItemCollectionKey?: Record | undefined; - })[]> | undefined; -}; -/** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * BatchWriteItemCommand operation from {@link @aws-sdk/client-dynamodb#BatchWriteItemCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - * - * @public - */ -export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand { - readonly input: BatchWriteCommandInput; - protected readonly inputKeyNodes: { - RequestItems: { - '*': { - '*': { - PutRequest: { - Item: import("../commands/utils").KeyNodeChildren; - }; - DeleteRequest: { - Key: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - }; - protected readonly outputKeyNodes: { - UnprocessedItems: { - '*': { - '*': { - PutRequest: { - Item: import("../commands/utils").KeyNodeChildren; - }; - DeleteRequest: { - Key: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - ItemCollectionMetrics: { - '*': { - '*': { - ItemCollectionKey: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - protected readonly clientCommand: __BatchWriteItemCommand; - readonly middlewareStack: MiddlewareStack; - constructor(input: BatchWriteCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; -} -import type { BatchWriteItemCommandInput as __BatchWriteItemCommandInput, BatchWriteItemCommandOutput as __BatchWriteItemCommandOutput, DeleteRequest, ItemCollectionMetrics, PutRequest, WriteRequest } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/DeleteCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/DeleteCommand.d.ts deleted file mode 100644 index cceaa895..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/DeleteCommand.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient"; -import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb"; -/** - * @public - */ -export { DynamoDBDocumentClientCommand, $Command }; -/** - * @public - */ -export type DeleteCommandInput = Omit<__DeleteItemCommandInput, 'Key' | 'Expected' | 'ExpressionAttributeValues'> & { - Key: Record | undefined; - Expected?: Record & { - Value?: NativeAttributeValue | undefined; - AttributeValueList?: (NativeAttributeValue)[] | undefined; - }> | undefined; - ExpressionAttributeValues?: Record | undefined; -}; -/** - * @public - */ -export type DeleteCommandOutput = Omit<__DeleteItemCommandOutput, 'Attributes' | 'ItemCollectionMetrics'> & { - Attributes?: Record | undefined; - ItemCollectionMetrics?: Omit & { - ItemCollectionKey?: Record | undefined; - } | undefined; -}; -/** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * DeleteItemCommand operation from {@link @aws-sdk/client-dynamodb#DeleteItemCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - * - * @public - */ -export declare class DeleteCommand extends DynamoDBDocumentClientCommand { - readonly input: DeleteCommandInput; - protected readonly inputKeyNodes: { - Key: import("../commands/utils").KeyNodeChildren; - Expected: { - '*': { - Value: null; - AttributeValueList: import("../commands/utils").KeyNodeChildren; - }; - }; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - protected readonly outputKeyNodes: { - Attributes: import("../commands/utils").KeyNodeChildren; - ItemCollectionMetrics: { - ItemCollectionKey: import("../commands/utils").KeyNodeChildren; - }; - }; - protected readonly clientCommand: __DeleteItemCommand; - readonly middlewareStack: MiddlewareStack; - constructor(input: DeleteCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; -} -import type { DeleteItemCommandInput as __DeleteItemCommandInput, DeleteItemCommandOutput as __DeleteItemCommandOutput, ExpectedAttributeValue, ItemCollectionMetrics } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/ExecuteStatementCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/ExecuteStatementCommand.d.ts deleted file mode 100644 index cb99fdd5..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/ExecuteStatementCommand.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient"; -import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb"; -/** - * @public - */ -export { DynamoDBDocumentClientCommand, $Command }; -/** - * @public - */ -export type ExecuteStatementCommandInput = Omit<__ExecuteStatementCommandInput, 'Parameters'> & { - Parameters?: (NativeAttributeValue)[] | undefined; -}; -/** - * @public - */ -export type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput, 'Items' | 'LastEvaluatedKey'> & { - Items?: (Record)[] | undefined; - LastEvaluatedKey?: Record | undefined; -}; -/** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * ExecuteStatementCommand operation from {@link @aws-sdk/client-dynamodb#ExecuteStatementCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - * - * @public - */ -export declare class ExecuteStatementCommand extends DynamoDBDocumentClientCommand { - readonly input: ExecuteStatementCommandInput; - protected readonly inputKeyNodes: { - Parameters: import("../commands/utils").KeyNodeChildren; - }; - protected readonly outputKeyNodes: { - Items: { - '*': import("../commands/utils").KeyNodeChildren; - }; - LastEvaluatedKey: import("../commands/utils").KeyNodeChildren; - }; - protected readonly clientCommand: __ExecuteStatementCommand; - readonly middlewareStack: MiddlewareStack; - constructor(input: ExecuteStatementCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; -} -import type { ExecuteStatementCommandInput as __ExecuteStatementCommandInput, ExecuteStatementCommandOutput as __ExecuteStatementCommandOutput } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts deleted file mode 100644 index 3236451b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient"; -import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb"; -/** - * @public - */ -export { DynamoDBDocumentClientCommand, $Command }; -/** - * @public - */ -export type ExecuteTransactionCommandInput = Omit<__ExecuteTransactionCommandInput, 'TransactStatements'> & { - TransactStatements: (Omit & { - Parameters?: (NativeAttributeValue)[] | undefined; - })[] | undefined; -}; -/** - * @public - */ -export type ExecuteTransactionCommandOutput = Omit<__ExecuteTransactionCommandOutput, 'Responses'> & { - Responses?: (Omit & { - Item?: Record | undefined; - })[] | undefined; -}; -/** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * ExecuteTransactionCommand operation from {@link @aws-sdk/client-dynamodb#ExecuteTransactionCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - * - * @public - */ -export declare class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand { - readonly input: ExecuteTransactionCommandInput; - protected readonly inputKeyNodes: { - TransactStatements: { - '*': { - Parameters: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - protected readonly outputKeyNodes: { - Responses: { - '*': { - Item: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - protected readonly clientCommand: __ExecuteTransactionCommand; - readonly middlewareStack: MiddlewareStack; - constructor(input: ExecuteTransactionCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; -} -import type { ExecuteTransactionCommandInput as __ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput as __ExecuteTransactionCommandOutput, ItemResponse, ParameterizedStatement } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/GetCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/GetCommand.d.ts deleted file mode 100644 index f7fb74c9..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/GetCommand.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient"; -import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb"; -/** - * @public - */ -export { DynamoDBDocumentClientCommand, $Command }; -/** - * @public - */ -export type GetCommandInput = Omit<__GetItemCommandInput, 'Key'> & { - Key: Record | undefined; -}; -/** - * @public - */ -export type GetCommandOutput = Omit<__GetItemCommandOutput, 'Item'> & { - Item?: Record | undefined; -}; -/** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * GetItemCommand operation from {@link @aws-sdk/client-dynamodb#GetItemCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - * - * @public - */ -export declare class GetCommand extends DynamoDBDocumentClientCommand { - readonly input: GetCommandInput; - protected readonly inputKeyNodes: { - Key: import("../commands/utils").KeyNodeChildren; - }; - protected readonly outputKeyNodes: { - Item: import("../commands/utils").KeyNodeChildren; - }; - protected readonly clientCommand: __GetItemCommand; - readonly middlewareStack: MiddlewareStack; - constructor(input: GetCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; -} -import type { GetItemCommandInput as __GetItemCommandInput, GetItemCommandOutput as __GetItemCommandOutput } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/PutCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/PutCommand.d.ts deleted file mode 100644 index b8354b9f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/PutCommand.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient"; -import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb"; -/** - * @public - */ -export { DynamoDBDocumentClientCommand, $Command }; -/** - * @public - */ -export type PutCommandInput = Omit<__PutItemCommandInput, 'Item' | 'Expected' | 'ExpressionAttributeValues'> & { - Item: Record | undefined; - Expected?: Record & { - Value?: NativeAttributeValue | undefined; - AttributeValueList?: (NativeAttributeValue)[] | undefined; - }> | undefined; - ExpressionAttributeValues?: Record | undefined; -}; -/** - * @public - */ -export type PutCommandOutput = Omit<__PutItemCommandOutput, 'Attributes' | 'ItemCollectionMetrics'> & { - Attributes?: Record | undefined; - ItemCollectionMetrics?: Omit & { - ItemCollectionKey?: Record | undefined; - } | undefined; -}; -/** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * PutItemCommand operation from {@link @aws-sdk/client-dynamodb#PutItemCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - * - * @public - */ -export declare class PutCommand extends DynamoDBDocumentClientCommand { - readonly input: PutCommandInput; - protected readonly inputKeyNodes: { - Item: import("../commands/utils").KeyNodeChildren; - Expected: { - '*': { - Value: null; - AttributeValueList: import("../commands/utils").KeyNodeChildren; - }; - }; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - protected readonly outputKeyNodes: { - Attributes: import("../commands/utils").KeyNodeChildren; - ItemCollectionMetrics: { - ItemCollectionKey: import("../commands/utils").KeyNodeChildren; - }; - }; - protected readonly clientCommand: __PutItemCommand; - readonly middlewareStack: MiddlewareStack; - constructor(input: PutCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; -} -import type { ExpectedAttributeValue, ItemCollectionMetrics, PutItemCommandInput as __PutItemCommandInput, PutItemCommandOutput as __PutItemCommandOutput } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/QueryCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/QueryCommand.d.ts deleted file mode 100644 index 515fa8b5..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/QueryCommand.d.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient"; -import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb"; -/** - * @public - */ -export { DynamoDBDocumentClientCommand, $Command }; -/** - * @public - */ -export type QueryCommandInput = Omit<__QueryCommandInput, 'KeyConditions' | 'QueryFilter' | 'ExclusiveStartKey' | 'ExpressionAttributeValues'> & { - KeyConditions?: Record & { - AttributeValueList?: (NativeAttributeValue)[] | undefined; - }> | undefined; - QueryFilter?: Record & { - AttributeValueList?: (NativeAttributeValue)[] | undefined; - }> | undefined; - ExclusiveStartKey?: Record | undefined; - ExpressionAttributeValues?: Record | undefined; -}; -/** - * @public - */ -export type QueryCommandOutput = Omit<__QueryCommandOutput, 'Items' | 'LastEvaluatedKey'> & { - Items?: (Record)[] | undefined; - LastEvaluatedKey?: Record | undefined; -}; -/** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * QueryCommand operation from {@link @aws-sdk/client-dynamodb#QueryCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - * - * @public - */ -export declare class QueryCommand extends DynamoDBDocumentClientCommand { - readonly input: QueryCommandInput; - protected readonly inputKeyNodes: { - KeyConditions: { - '*': { - AttributeValueList: import("../commands/utils").KeyNodeChildren; - }; - }; - QueryFilter: { - '*': { - AttributeValueList: import("../commands/utils").KeyNodeChildren; - }; - }; - ExclusiveStartKey: import("../commands/utils").KeyNodeChildren; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - protected readonly outputKeyNodes: { - Items: { - '*': import("../commands/utils").KeyNodeChildren; - }; - LastEvaluatedKey: import("../commands/utils").KeyNodeChildren; - }; - protected readonly clientCommand: __QueryCommand; - readonly middlewareStack: MiddlewareStack; - constructor(input: QueryCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; -} -import type { Condition, QueryCommandInput as __QueryCommandInput, QueryCommandOutput as __QueryCommandOutput } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/ScanCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/ScanCommand.d.ts deleted file mode 100644 index 3c9a892e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/ScanCommand.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient"; -import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb"; -/** - * @public - */ -export { DynamoDBDocumentClientCommand, $Command }; -/** - * @public - */ -export type ScanCommandInput = Omit<__ScanCommandInput, 'ScanFilter' | 'ExclusiveStartKey' | 'ExpressionAttributeValues'> & { - ScanFilter?: Record & { - AttributeValueList?: (NativeAttributeValue)[] | undefined; - }> | undefined; - ExclusiveStartKey?: Record | undefined; - ExpressionAttributeValues?: Record | undefined; -}; -/** - * @public - */ -export type ScanCommandOutput = Omit<__ScanCommandOutput, 'Items' | 'LastEvaluatedKey'> & { - Items?: (Record)[] | undefined; - LastEvaluatedKey?: Record | undefined; -}; -/** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * ScanCommand operation from {@link @aws-sdk/client-dynamodb#ScanCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - * - * @public - */ -export declare class ScanCommand extends DynamoDBDocumentClientCommand { - readonly input: ScanCommandInput; - protected readonly inputKeyNodes: { - ScanFilter: { - '*': { - AttributeValueList: import("../commands/utils").KeyNodeChildren; - }; - }; - ExclusiveStartKey: import("../commands/utils").KeyNodeChildren; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - protected readonly outputKeyNodes: { - Items: { - '*': import("../commands/utils").KeyNodeChildren; - }; - LastEvaluatedKey: import("../commands/utils").KeyNodeChildren; - }; - protected readonly clientCommand: __ScanCommand; - readonly middlewareStack: MiddlewareStack; - constructor(input: ScanCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; -} -import type { Condition, ScanCommandInput as __ScanCommandInput, ScanCommandOutput as __ScanCommandOutput } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/TransactGetCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/TransactGetCommand.d.ts deleted file mode 100644 index 733b8ee4..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/TransactGetCommand.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient"; -import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb"; -/** - * @public - */ -export { DynamoDBDocumentClientCommand, $Command }; -/** - * @public - */ -export type TransactGetCommandInput = Omit<__TransactGetItemsCommandInput, 'TransactItems'> & { - TransactItems: (Omit & { - Get: Omit & { - Key: Record | undefined; - } | undefined; - })[] | undefined; -}; -/** - * @public - */ -export type TransactGetCommandOutput = Omit<__TransactGetItemsCommandOutput, 'Responses'> & { - Responses?: (Omit & { - Item?: Record | undefined; - })[] | undefined; -}; -/** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * TransactGetItemsCommand operation from {@link @aws-sdk/client-dynamodb#TransactGetItemsCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - * - * @public - */ -export declare class TransactGetCommand extends DynamoDBDocumentClientCommand { - readonly input: TransactGetCommandInput; - protected readonly inputKeyNodes: { - TransactItems: { - '*': { - Get: { - Key: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - protected readonly outputKeyNodes: { - Responses: { - '*': { - Item: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - protected readonly clientCommand: __TransactGetItemsCommand; - readonly middlewareStack: MiddlewareStack; - constructor(input: TransactGetCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; -} -import type { Get, ItemResponse, TransactGetItem, TransactGetItemsCommandInput as __TransactGetItemsCommandInput, TransactGetItemsCommandOutput as __TransactGetItemsCommandOutput } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/TransactWriteCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/TransactWriteCommand.d.ts deleted file mode 100644 index b894aa77..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/TransactWriteCommand.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient"; -import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb"; -/** - * @public - */ -export { DynamoDBDocumentClientCommand, $Command }; -/** - * @public - */ -export type TransactWriteCommandInput = Omit<__TransactWriteItemsCommandInput, 'TransactItems'> & { - TransactItems: (Omit & { - ConditionCheck?: Omit & { - Key: Record | undefined; - ExpressionAttributeValues?: Record | undefined; - } | undefined; - Put?: Omit & { - Item: Record | undefined; - ExpressionAttributeValues?: Record | undefined; - } | undefined; - Delete?: Omit & { - Key: Record | undefined; - ExpressionAttributeValues?: Record | undefined; - } | undefined; - Update?: Omit & { - Key: Record | undefined; - ExpressionAttributeValues?: Record | undefined; - } | undefined; - })[] | undefined; -}; -/** - * @public - */ -export type TransactWriteCommandOutput = Omit<__TransactWriteItemsCommandOutput, 'ItemCollectionMetrics'> & { - ItemCollectionMetrics?: Record & { - ItemCollectionKey?: Record | undefined; - })[]> | undefined; -}; -/** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * TransactWriteItemsCommand operation from {@link @aws-sdk/client-dynamodb#TransactWriteItemsCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - * - * @public - */ -export declare class TransactWriteCommand extends DynamoDBDocumentClientCommand { - readonly input: TransactWriteCommandInput; - protected readonly inputKeyNodes: { - TransactItems: { - '*': { - ConditionCheck: { - Key: import("../commands/utils").KeyNodeChildren; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - Put: { - Item: import("../commands/utils").KeyNodeChildren; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - Delete: { - Key: import("../commands/utils").KeyNodeChildren; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - Update: { - Key: import("../commands/utils").KeyNodeChildren; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - protected readonly outputKeyNodes: { - ItemCollectionMetrics: { - '*': { - '*': { - ItemCollectionKey: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - protected readonly clientCommand: __TransactWriteItemsCommand; - readonly middlewareStack: MiddlewareStack; - constructor(input: TransactWriteCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; -} -import type { ConditionCheck, Delete, ItemCollectionMetrics, Put, TransactWriteItem, TransactWriteItemsCommandInput as __TransactWriteItemsCommandInput, TransactWriteItemsCommandOutput as __TransactWriteItemsCommandOutput, Update } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/UpdateCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/UpdateCommand.d.ts deleted file mode 100644 index 79c5ce88..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/UpdateCommand.d.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient"; -import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb"; -/** - * @public - */ -export { DynamoDBDocumentClientCommand, $Command }; -/** - * @public - */ -export type UpdateCommandInput = Omit<__UpdateItemCommandInput, 'Key' | 'AttributeUpdates' | 'Expected' | 'ExpressionAttributeValues'> & { - Key: Record | undefined; - AttributeUpdates?: Record & { - Value?: NativeAttributeValue | undefined; - }> | undefined; - Expected?: Record & { - Value?: NativeAttributeValue | undefined; - AttributeValueList?: (NativeAttributeValue)[] | undefined; - }> | undefined; - ExpressionAttributeValues?: Record | undefined; -}; -/** - * @public - */ -export type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, 'Attributes' | 'ItemCollectionMetrics'> & { - Attributes?: Record | undefined; - ItemCollectionMetrics?: Omit & { - ItemCollectionKey?: Record | undefined; - } | undefined; -}; -/** - * Accepts native JavaScript types instead of `AttributeValue`s, and calls - * UpdateItemCommand operation from {@link @aws-sdk/client-dynamodb#UpdateItemCommand}. - * - * JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes - * required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. - * - * @public - */ -export declare class UpdateCommand extends DynamoDBDocumentClientCommand { - readonly input: UpdateCommandInput; - protected readonly inputKeyNodes: { - Key: import("../commands/utils").KeyNodeChildren; - AttributeUpdates: { - '*': { - Value: null; - }; - }; - Expected: { - '*': { - Value: null; - AttributeValueList: import("../commands/utils").KeyNodeChildren; - }; - }; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - protected readonly outputKeyNodes: { - Attributes: import("../commands/utils").KeyNodeChildren; - ItemCollectionMetrics: { - ItemCollectionKey: import("../commands/utils").KeyNodeChildren; - }; - }; - protected readonly clientCommand: __UpdateItemCommand; - readonly middlewareStack: MiddlewareStack; - constructor(input: UpdateCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler; -} -import type { AttributeValueUpdate, ExpectedAttributeValue, ItemCollectionMetrics, UpdateItemCommandInput as __UpdateItemCommandInput, UpdateItemCommandOutput as __UpdateItemCommandOutput } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/index.d.ts deleted file mode 100644 index bf79787f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/index.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export * from './BatchExecuteStatementCommand'; -export * from './BatchGetCommand'; -export * from './BatchWriteCommand'; -export * from './DeleteCommand'; -export * from './ExecuteStatementCommand'; -export * from './ExecuteTransactionCommand'; -export * from './GetCommand'; -export * from './PutCommand'; -export * from './QueryCommand'; -export * from './ScanCommand'; -export * from './TransactGetCommand'; -export * from './TransactWriteCommand'; -export * from './UpdateCommand'; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/utils.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/utils.d.ts deleted file mode 100644 index d24d22ca..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/commands/utils.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb"; -/** - * @internal - */ -export type KeyNodeSelf = null; -/** - * @internal - */ -export declare const SELF: KeyNodeSelf; -/** - * @internal - */ -export type KeyNodeChildren = Record; -/** - * @internal - */ -export declare const ALL_VALUES: KeyNodeChildren; -/** - * @internal - */ -export declare const ALL_MEMBERS: KeyNodeChildren; -/** - * @internal - */ -export type KeyNodes = KeyNodeSelf | KeyNodeChildren; -/** - * @internal - */ -export declare const marshallInput: (obj: any, keyNodes: KeyNodeChildren, options?: marshallOptions) => any; -/** - * @internal - */ -export declare const unmarshallOutput: (obj: any, keyNodes: KeyNodeChildren, options?: unmarshallOptions) => any; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/index.d.ts deleted file mode 100644 index 2de5e4e5..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/index.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export * from './commands'; -export * from './pagination'; -export * from './DynamoDBDocumentClient'; -export * from './DynamoDBDocument'; -export { NumberValueImpl as NumberValue } from "@aws-sdk/util-dynamodb"; -export { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb"; -export { NativeAttributeValue, NativeAttributeBinary, NativeScalarAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/Interfaces.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/Interfaces.d.ts deleted file mode 100644 index f98a7b4c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/Interfaces.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { PaginationConfiguration } from "@smithy/types"; -import { DynamoDBDocument } from "../DynamoDBDocument"; -import { DynamoDBDocumentClient } from "../DynamoDBDocumentClient"; -/** - * @public - */ -export { PaginationConfiguration }; -/** - * @public - */ -export interface DynamoDBDocumentPaginationConfiguration extends PaginationConfiguration { - client: DynamoDBDocument | DynamoDBDocumentClient; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/QueryPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/QueryPaginator.d.ts deleted file mode 100644 index 692d9f94..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/QueryPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { QueryCommandInput, QueryCommandOutput } from "../commands/QueryCommand"; -import { DynamoDBDocumentPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export { Paginator }; -/** - * @public - */ -export declare const paginateQuery: (config: DynamoDBDocumentPaginationConfiguration, input: QueryCommandInput, ...additionalArguments: any) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/ScanPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/ScanPaginator.d.ts deleted file mode 100644 index b47d0a78..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/ScanPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { ScanCommandInput, ScanCommandOutput } from "../commands/ScanCommand"; -import { DynamoDBDocumentPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export { Paginator }; -/** - * @public - */ -export declare const paginateScan: (config: DynamoDBDocumentPaginationConfiguration, input: ScanCommandInput, ...additionalArguments: any) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/index.d.ts deleted file mode 100644 index 52658edf..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/pagination/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './Interfaces'; -export * from './QueryPaginator'; -export * from './ScanPaginator'; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/DynamoDBDocument.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/DynamoDBDocument.d.ts deleted file mode 100644 index 70b49187..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/DynamoDBDocument.d.ts +++ /dev/null @@ -1,221 +0,0 @@ -import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; -import { - BatchExecuteStatementCommandInput, - BatchExecuteStatementCommandOutput, -} from "./commands/BatchExecuteStatementCommand"; -import { - BatchGetCommandInput, - BatchGetCommandOutput, -} from "./commands/BatchGetCommand"; -import { - BatchWriteCommandInput, - BatchWriteCommandOutput, -} from "./commands/BatchWriteCommand"; -import { - DeleteCommandInput, - DeleteCommandOutput, -} from "./commands/DeleteCommand"; -import { - ExecuteStatementCommandInput, - ExecuteStatementCommandOutput, -} from "./commands/ExecuteStatementCommand"; -import { - ExecuteTransactionCommandInput, - ExecuteTransactionCommandOutput, -} from "./commands/ExecuteTransactionCommand"; -import { GetCommandInput, GetCommandOutput } from "./commands/GetCommand"; -import { PutCommandInput, PutCommandOutput } from "./commands/PutCommand"; -import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand"; -import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand"; -import { - TransactGetCommandInput, - TransactGetCommandOutput, -} from "./commands/TransactGetCommand"; -import { - TransactWriteCommandInput, - TransactWriteCommandOutput, -} from "./commands/TransactWriteCommand"; -import { - UpdateCommandInput, - UpdateCommandOutput, -} from "./commands/UpdateCommand"; -import { - DynamoDBDocumentClient, - TranslateConfig, -} from "./DynamoDBDocumentClient"; -import { DynamoDBClient } from "@aws-sdk/client-dynamodb"; -export declare class DynamoDBDocument extends DynamoDBDocumentClient { - static from( - client: DynamoDBClient, - translateConfig?: TranslateConfig - ): DynamoDBDocument; - batchExecuteStatement( - args: BatchExecuteStatementCommandInput, - options?: __HttpHandlerOptions - ): Promise; - batchExecuteStatement( - args: BatchExecuteStatementCommandInput, - cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void - ): void; - batchExecuteStatement( - args: BatchExecuteStatementCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void - ): void; - batchGet( - args: BatchGetCommandInput, - options?: __HttpHandlerOptions - ): Promise; - batchGet( - args: BatchGetCommandInput, - cb: (err: any, data?: BatchGetCommandOutput) => void - ): void; - batchGet( - args: BatchGetCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: BatchGetCommandOutput) => void - ): void; - batchWrite( - args: BatchWriteCommandInput, - options?: __HttpHandlerOptions - ): Promise; - batchWrite( - args: BatchWriteCommandInput, - cb: (err: any, data?: BatchWriteCommandOutput) => void - ): void; - batchWrite( - args: BatchWriteCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: BatchWriteCommandOutput) => void - ): void; - delete( - args: DeleteCommandInput, - options?: __HttpHandlerOptions - ): Promise; - delete( - args: DeleteCommandInput, - cb: (err: any, data?: DeleteCommandOutput) => void - ): void; - delete( - args: DeleteCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteCommandOutput) => void - ): void; - executeStatement( - args: ExecuteStatementCommandInput, - options?: __HttpHandlerOptions - ): Promise; - executeStatement( - args: ExecuteStatementCommandInput, - cb: (err: any, data?: ExecuteStatementCommandOutput) => void - ): void; - executeStatement( - args: ExecuteStatementCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ExecuteStatementCommandOutput) => void - ): void; - executeTransaction( - args: ExecuteTransactionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - executeTransaction( - args: ExecuteTransactionCommandInput, - cb: (err: any, data?: ExecuteTransactionCommandOutput) => void - ): void; - executeTransaction( - args: ExecuteTransactionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ExecuteTransactionCommandOutput) => void - ): void; - get( - args: GetCommandInput, - options?: __HttpHandlerOptions - ): Promise; - get( - args: GetCommandInput, - cb: (err: any, data?: GetCommandOutput) => void - ): void; - get( - args: GetCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetCommandOutput) => void - ): void; - put( - args: PutCommandInput, - options?: __HttpHandlerOptions - ): Promise; - put( - args: PutCommandInput, - cb: (err: any, data?: PutCommandOutput) => void - ): void; - put( - args: PutCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutCommandOutput) => void - ): void; - query( - args: QueryCommandInput, - options?: __HttpHandlerOptions - ): Promise; - query( - args: QueryCommandInput, - cb: (err: any, data?: QueryCommandOutput) => void - ): void; - query( - args: QueryCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: QueryCommandOutput) => void - ): void; - scan( - args: ScanCommandInput, - options?: __HttpHandlerOptions - ): Promise; - scan( - args: ScanCommandInput, - cb: (err: any, data?: ScanCommandOutput) => void - ): void; - scan( - args: ScanCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ScanCommandOutput) => void - ): void; - transactGet( - args: TransactGetCommandInput, - options?: __HttpHandlerOptions - ): Promise; - transactGet( - args: TransactGetCommandInput, - cb: (err: any, data?: TransactGetCommandOutput) => void - ): void; - transactGet( - args: TransactGetCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: TransactGetCommandOutput) => void - ): void; - transactWrite( - args: TransactWriteCommandInput, - options?: __HttpHandlerOptions - ): Promise; - transactWrite( - args: TransactWriteCommandInput, - cb: (err: any, data?: TransactWriteCommandOutput) => void - ): void; - transactWrite( - args: TransactWriteCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: TransactWriteCommandOutput) => void - ): void; - update( - args: UpdateCommandInput, - options?: __HttpHandlerOptions - ): Promise; - update( - args: UpdateCommandInput, - cb: (err: any, data?: UpdateCommandOutput) => void - ): void; - update( - args: UpdateCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateCommandOutput) => void - ): void; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/DynamoDBDocumentClient.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/DynamoDBDocumentClient.d.ts deleted file mode 100644 index 2e056d1e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/DynamoDBDocumentClient.d.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { Client as __Client } from "@smithy/smithy-client"; -import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; -import { - BatchExecuteStatementCommandInput, - BatchExecuteStatementCommandOutput, -} from "./commands/BatchExecuteStatementCommand"; -import { - BatchGetCommandInput, - BatchGetCommandOutput, -} from "./commands/BatchGetCommand"; -import { - BatchWriteCommandInput, - BatchWriteCommandOutput, -} from "./commands/BatchWriteCommand"; -import { - DeleteCommandInput, - DeleteCommandOutput, -} from "./commands/DeleteCommand"; -import { - ExecuteStatementCommandInput, - ExecuteStatementCommandOutput, -} from "./commands/ExecuteStatementCommand"; -import { - ExecuteTransactionCommandInput, - ExecuteTransactionCommandOutput, -} from "./commands/ExecuteTransactionCommand"; -import { GetCommandInput, GetCommandOutput } from "./commands/GetCommand"; -import { PutCommandInput, PutCommandOutput } from "./commands/PutCommand"; -import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand"; -import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand"; -import { - TransactGetCommandInput, - TransactGetCommandOutput, -} from "./commands/TransactGetCommand"; -import { - TransactWriteCommandInput, - TransactWriteCommandOutput, -} from "./commands/TransactWriteCommand"; -import { - UpdateCommandInput, - UpdateCommandOutput, -} from "./commands/UpdateCommand"; -import { - DynamoDBClient, - DynamoDBClientResolvedConfig, - ServiceInputTypes as __ServiceInputTypes, - ServiceOutputTypes as __ServiceOutputTypes, -} from "@aws-sdk/client-dynamodb"; -import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb"; -export { __Client }; -export type ServiceInputTypes = - | __ServiceInputTypes - | BatchExecuteStatementCommandInput - | BatchGetCommandInput - | BatchWriteCommandInput - | DeleteCommandInput - | ExecuteStatementCommandInput - | ExecuteTransactionCommandInput - | GetCommandInput - | PutCommandInput - | QueryCommandInput - | ScanCommandInput - | TransactGetCommandInput - | TransactWriteCommandInput - | UpdateCommandInput; -export type ServiceOutputTypes = - | __ServiceOutputTypes - | BatchExecuteStatementCommandOutput - | BatchGetCommandOutput - | BatchWriteCommandOutput - | DeleteCommandOutput - | ExecuteStatementCommandOutput - | ExecuteTransactionCommandOutput - | GetCommandOutput - | PutCommandOutput - | QueryCommandOutput - | ScanCommandOutput - | TransactGetCommandOutput - | TransactWriteCommandOutput - | UpdateCommandOutput; -export type TranslateConfig = { - marshallOptions?: marshallOptions; - unmarshallOptions?: unmarshallOptions; -}; -export type DynamoDBDocumentClientResolvedConfig = - DynamoDBClientResolvedConfig & { - translateConfig?: TranslateConfig; - }; -export declare class DynamoDBDocumentClient extends __Client< - __HttpHandlerOptions, - ServiceInputTypes, - ServiceOutputTypes, - DynamoDBDocumentClientResolvedConfig -> { - readonly config: DynamoDBDocumentClientResolvedConfig; - protected constructor( - client: DynamoDBClient, - translateConfig?: TranslateConfig - ); - static from( - client: DynamoDBClient, - translateConfig?: TranslateConfig - ): DynamoDBDocumentClient; - destroy(): void; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/baseCommand/DynamoDBDocumentClientCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/baseCommand/DynamoDBDocumentClientCommand.d.ts deleted file mode 100644 index 17c787f8..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/baseCommand/DynamoDBDocumentClientCommand.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { MiddlewareStack } from "@smithy/types"; -import { KeyNodeChildren } from "../commands/utils"; -import { DynamoDBDocumentClientResolvedConfig } from "../DynamoDBDocumentClient"; -export declare abstract class DynamoDBDocumentClientCommand< - Input extends object, - Output extends object, - BaseInput extends object, - BaseOutput extends object, - ResolvedClientConfiguration -> extends $Command< - Input | BaseInput, - Output | BaseOutput, - ResolvedClientConfiguration -> { - protected abstract readonly inputKeyNodes: KeyNodeChildren; - protected abstract readonly outputKeyNodes: KeyNodeChildren; - protected abstract clientCommand: $Command< - Input | BaseInput, - Output | BaseOutput, - ResolvedClientConfiguration - >; - abstract middlewareStack: MiddlewareStack< - Input | BaseInput, - Output | BaseOutput - >; - protected addMarshallingMiddleware( - configuration: DynamoDBDocumentClientResolvedConfig - ): void; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts deleted file mode 100644 index 136dff9a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { - HttpHandlerOptions as __HttpHandlerOptions, - Handler, - MiddlewareStack, -} from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { - DynamoDBDocumentClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBDocumentClient"; -import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export type BatchExecuteStatementCommandInput = Pick< - __BatchExecuteStatementCommandInput, - Exclude -> & { - Statements: - | (Pick< - BatchStatementRequest, - Exclude - > & { - Parameters?: NativeAttributeValue[] | undefined; - })[] - | undefined; -}; -export type BatchExecuteStatementCommandOutput = Pick< - __BatchExecuteStatementCommandOutput, - Exclude -> & { - Responses?: - | (Pick< - BatchStatementResponse, - Exclude - > & { - Error?: - | (Pick< - BatchStatementError, - Exclude - > & { - Item?: Record | undefined; - }) - | undefined; - Item?: Record | undefined; - })[] - | undefined; -}; -export declare class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand< - BatchExecuteStatementCommandInput, - BatchExecuteStatementCommandOutput, - __BatchExecuteStatementCommandInput, - __BatchExecuteStatementCommandOutput, - DynamoDBDocumentClientResolvedConfig -> { - readonly input: BatchExecuteStatementCommandInput; - protected readonly inputKeyNodes: { - Statements: { - "*": { - Parameters: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - protected readonly outputKeyNodes: { - Responses: { - "*": { - Error: { - Item: import("../commands/utils").KeyNodeChildren; - }; - Item: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - protected readonly clientCommand: __BatchExecuteStatementCommand; - readonly middlewareStack: MiddlewareStack< - BatchExecuteStatementCommandInput | __BatchExecuteStatementCommandInput, - BatchExecuteStatementCommandOutput | __BatchExecuteStatementCommandOutput - >; - constructor(input: BatchExecuteStatementCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: DynamoDBDocumentClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - BatchExecuteStatementCommandInput, - BatchExecuteStatementCommandOutput - >; -} -import { - BatchExecuteStatementCommandInput as __BatchExecuteStatementCommandInput, - BatchExecuteStatementCommandOutput as __BatchExecuteStatementCommandOutput, - BatchStatementError, - BatchStatementRequest, - BatchStatementResponse, -} from "@aws-sdk/client-dynamodb"; -import { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/BatchGetCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/BatchGetCommand.d.ts deleted file mode 100644 index 583dd590..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/BatchGetCommand.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { - HttpHandlerOptions as __HttpHandlerOptions, - Handler, - MiddlewareStack, -} from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { - DynamoDBDocumentClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBDocumentClient"; -import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export type BatchGetCommandInput = Pick< - __BatchGetItemCommandInput, - Exclude -> & { - RequestItems: - | Record< - string, - Pick> & { - Keys: Record[] | undefined; - } - > - | undefined; -}; -export type BatchGetCommandOutput = Pick< - __BatchGetItemCommandOutput, - Exclude -> & { - Responses?: - | Record[]> - | undefined; - UnprocessedKeys?: - | Record< - string, - Pick> & { - Keys: Record[] | undefined; - } - > - | undefined; -}; -export declare class BatchGetCommand extends DynamoDBDocumentClientCommand< - BatchGetCommandInput, - BatchGetCommandOutput, - __BatchGetItemCommandInput, - __BatchGetItemCommandOutput, - DynamoDBDocumentClientResolvedConfig -> { - readonly input: BatchGetCommandInput; - protected readonly inputKeyNodes: { - RequestItems: { - "*": { - Keys: { - "*": import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - protected readonly outputKeyNodes: { - Responses: { - "*": { - "*": import("../commands/utils").KeyNodeChildren; - }; - }; - UnprocessedKeys: { - "*": { - Keys: { - "*": import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - protected readonly clientCommand: __BatchGetItemCommand; - readonly middlewareStack: MiddlewareStack< - BatchGetCommandInput | __BatchGetItemCommandInput, - BatchGetCommandOutput | __BatchGetItemCommandOutput - >; - constructor(input: BatchGetCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: DynamoDBDocumentClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; -} -import { - BatchGetItemCommandInput as __BatchGetItemCommandInput, - BatchGetItemCommandOutput as __BatchGetItemCommandOutput, - KeysAndAttributes, -} from "@aws-sdk/client-dynamodb"; -import { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/BatchWriteCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/BatchWriteCommand.d.ts deleted file mode 100644 index 48bed426..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +++ /dev/null @@ -1,142 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { - HttpHandlerOptions as __HttpHandlerOptions, - Handler, - MiddlewareStack, -} from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { - DynamoDBDocumentClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBDocumentClient"; -import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export type BatchWriteCommandInput = Pick< - __BatchWriteItemCommandInput, - Exclude -> & { - RequestItems: - | Record< - string, - (Pick< - WriteRequest, - Exclude - > & { - PutRequest?: - | (Pick> & { - Item: Record | undefined; - }) - | undefined; - DeleteRequest?: - | (Pick> & { - Key: Record | undefined; - }) - | undefined; - })[] - > - | undefined; -}; -export type BatchWriteCommandOutput = Pick< - __BatchWriteItemCommandOutput, - Exclude< - keyof __BatchWriteItemCommandOutput, - "UnprocessedItems" | "ItemCollectionMetrics" - > -> & { - UnprocessedItems?: - | Record< - string, - (Pick< - WriteRequest, - Exclude - > & { - PutRequest?: - | (Pick> & { - Item: Record | undefined; - }) - | undefined; - DeleteRequest?: - | (Pick> & { - Key: Record | undefined; - }) - | undefined; - })[] - > - | undefined; - ItemCollectionMetrics?: - | Record< - string, - (Pick< - ItemCollectionMetrics, - Exclude - > & { - ItemCollectionKey?: Record | undefined; - })[] - > - | undefined; -}; -export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand< - BatchWriteCommandInput, - BatchWriteCommandOutput, - __BatchWriteItemCommandInput, - __BatchWriteItemCommandOutput, - DynamoDBDocumentClientResolvedConfig -> { - readonly input: BatchWriteCommandInput; - protected readonly inputKeyNodes: { - RequestItems: { - "*": { - "*": { - PutRequest: { - Item: import("../commands/utils").KeyNodeChildren; - }; - DeleteRequest: { - Key: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - }; - protected readonly outputKeyNodes: { - UnprocessedItems: { - "*": { - "*": { - PutRequest: { - Item: import("../commands/utils").KeyNodeChildren; - }; - DeleteRequest: { - Key: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - ItemCollectionMetrics: { - "*": { - "*": { - ItemCollectionKey: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - protected readonly clientCommand: __BatchWriteItemCommand; - readonly middlewareStack: MiddlewareStack< - BatchWriteCommandInput | __BatchWriteItemCommandInput, - BatchWriteCommandOutput | __BatchWriteItemCommandOutput - >; - constructor(input: BatchWriteCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: DynamoDBDocumentClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; -} -import { - BatchWriteItemCommandInput as __BatchWriteItemCommandInput, - BatchWriteItemCommandOutput as __BatchWriteItemCommandOutput, - DeleteRequest, - ItemCollectionMetrics, - PutRequest, - WriteRequest, -} from "@aws-sdk/client-dynamodb"; -import { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/DeleteCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/DeleteCommand.d.ts deleted file mode 100644 index 17af37ab..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/DeleteCommand.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { - HttpHandlerOptions as __HttpHandlerOptions, - Handler, - MiddlewareStack, -} from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { - DynamoDBDocumentClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBDocumentClient"; -import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export type DeleteCommandInput = Pick< - __DeleteItemCommandInput, - Exclude< - keyof __DeleteItemCommandInput, - "Key" | "Expected" | "ExpressionAttributeValues" - > -> & { - Key: Record | undefined; - Expected?: - | Record< - string, - Pick< - ExpectedAttributeValue, - Exclude - > & { - Value?: NativeAttributeValue | undefined; - AttributeValueList?: NativeAttributeValue[] | undefined; - } - > - | undefined; - ExpressionAttributeValues?: Record | undefined; -}; -export type DeleteCommandOutput = Pick< - __DeleteItemCommandOutput, - Exclude< - keyof __DeleteItemCommandOutput, - "Attributes" | "ItemCollectionMetrics" - > -> & { - Attributes?: Record | undefined; - ItemCollectionMetrics?: - | (Pick< - ItemCollectionMetrics, - Exclude - > & { - ItemCollectionKey?: Record | undefined; - }) - | undefined; -}; -export declare class DeleteCommand extends DynamoDBDocumentClientCommand< - DeleteCommandInput, - DeleteCommandOutput, - __DeleteItemCommandInput, - __DeleteItemCommandOutput, - DynamoDBDocumentClientResolvedConfig -> { - readonly input: DeleteCommandInput; - protected readonly inputKeyNodes: { - Key: import("../commands/utils").KeyNodeChildren; - Expected: { - "*": { - Value: null; - AttributeValueList: import("../commands/utils").KeyNodeChildren; - }; - }; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - protected readonly outputKeyNodes: { - Attributes: import("../commands/utils").KeyNodeChildren; - ItemCollectionMetrics: { - ItemCollectionKey: import("../commands/utils").KeyNodeChildren; - }; - }; - protected readonly clientCommand: __DeleteItemCommand; - readonly middlewareStack: MiddlewareStack< - DeleteCommandInput | __DeleteItemCommandInput, - DeleteCommandOutput | __DeleteItemCommandOutput - >; - constructor(input: DeleteCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: DynamoDBDocumentClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; -} -import { - DeleteItemCommandInput as __DeleteItemCommandInput, - DeleteItemCommandOutput as __DeleteItemCommandOutput, - ExpectedAttributeValue, - ItemCollectionMetrics, -} from "@aws-sdk/client-dynamodb"; -import { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts deleted file mode 100644 index ff9b0554..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { - HttpHandlerOptions as __HttpHandlerOptions, - Handler, - MiddlewareStack, -} from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { - DynamoDBDocumentClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBDocumentClient"; -import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export type ExecuteStatementCommandInput = Pick< - __ExecuteStatementCommandInput, - Exclude -> & { - Parameters?: NativeAttributeValue[] | undefined; -}; -export type ExecuteStatementCommandOutput = Pick< - __ExecuteStatementCommandOutput, - Exclude -> & { - Items?: Record[] | undefined; - LastEvaluatedKey?: Record | undefined; -}; -export declare class ExecuteStatementCommand extends DynamoDBDocumentClientCommand< - ExecuteStatementCommandInput, - ExecuteStatementCommandOutput, - __ExecuteStatementCommandInput, - __ExecuteStatementCommandOutput, - DynamoDBDocumentClientResolvedConfig -> { - readonly input: ExecuteStatementCommandInput; - protected readonly inputKeyNodes: { - Parameters: import("../commands/utils").KeyNodeChildren; - }; - protected readonly outputKeyNodes: { - Items: { - "*": import("../commands/utils").KeyNodeChildren; - }; - LastEvaluatedKey: import("../commands/utils").KeyNodeChildren; - }; - protected readonly clientCommand: __ExecuteStatementCommand; - readonly middlewareStack: MiddlewareStack< - ExecuteStatementCommandInput | __ExecuteStatementCommandInput, - ExecuteStatementCommandOutput | __ExecuteStatementCommandOutput - >; - constructor(input: ExecuteStatementCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: DynamoDBDocumentClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; -} -import { - ExecuteStatementCommandInput as __ExecuteStatementCommandInput, - ExecuteStatementCommandOutput as __ExecuteStatementCommandOutput, -} from "@aws-sdk/client-dynamodb"; -import { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts deleted file mode 100644 index fbb7db7f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { - HttpHandlerOptions as __HttpHandlerOptions, - Handler, - MiddlewareStack, -} from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { - DynamoDBDocumentClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBDocumentClient"; -import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export type ExecuteTransactionCommandInput = Pick< - __ExecuteTransactionCommandInput, - Exclude -> & { - TransactStatements: - | (Pick< - ParameterizedStatement, - Exclude - > & { - Parameters?: NativeAttributeValue[] | undefined; - })[] - | undefined; -}; -export type ExecuteTransactionCommandOutput = Pick< - __ExecuteTransactionCommandOutput, - Exclude -> & { - Responses?: - | (Pick> & { - Item?: Record | undefined; - })[] - | undefined; -}; -export declare class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand< - ExecuteTransactionCommandInput, - ExecuteTransactionCommandOutput, - __ExecuteTransactionCommandInput, - __ExecuteTransactionCommandOutput, - DynamoDBDocumentClientResolvedConfig -> { - readonly input: ExecuteTransactionCommandInput; - protected readonly inputKeyNodes: { - TransactStatements: { - "*": { - Parameters: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - protected readonly outputKeyNodes: { - Responses: { - "*": { - Item: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - protected readonly clientCommand: __ExecuteTransactionCommand; - readonly middlewareStack: MiddlewareStack< - ExecuteTransactionCommandInput | __ExecuteTransactionCommandInput, - ExecuteTransactionCommandOutput | __ExecuteTransactionCommandOutput - >; - constructor(input: ExecuteTransactionCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: DynamoDBDocumentClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; -} -import { - ExecuteTransactionCommandInput as __ExecuteTransactionCommandInput, - ExecuteTransactionCommandOutput as __ExecuteTransactionCommandOutput, - ItemResponse, - ParameterizedStatement, -} from "@aws-sdk/client-dynamodb"; -import { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/GetCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/GetCommand.d.ts deleted file mode 100644 index 68f733ad..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/GetCommand.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { - HttpHandlerOptions as __HttpHandlerOptions, - Handler, - MiddlewareStack, -} from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { - DynamoDBDocumentClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBDocumentClient"; -import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export type GetCommandInput = Pick< - __GetItemCommandInput, - Exclude -> & { - Key: Record | undefined; -}; -export type GetCommandOutput = Pick< - __GetItemCommandOutput, - Exclude -> & { - Item?: Record | undefined; -}; -export declare class GetCommand extends DynamoDBDocumentClientCommand< - GetCommandInput, - GetCommandOutput, - __GetItemCommandInput, - __GetItemCommandOutput, - DynamoDBDocumentClientResolvedConfig -> { - readonly input: GetCommandInput; - protected readonly inputKeyNodes: { - Key: import("../commands/utils").KeyNodeChildren; - }; - protected readonly outputKeyNodes: { - Item: import("../commands/utils").KeyNodeChildren; - }; - protected readonly clientCommand: __GetItemCommand; - readonly middlewareStack: MiddlewareStack< - GetCommandInput | __GetItemCommandInput, - GetCommandOutput | __GetItemCommandOutput - >; - constructor(input: GetCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: DynamoDBDocumentClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; -} -import { - GetItemCommandInput as __GetItemCommandInput, - GetItemCommandOutput as __GetItemCommandOutput, -} from "@aws-sdk/client-dynamodb"; -import { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/PutCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/PutCommand.d.ts deleted file mode 100644 index 72da2524..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/PutCommand.d.ts +++ /dev/null @@ -1,93 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { - HttpHandlerOptions as __HttpHandlerOptions, - Handler, - MiddlewareStack, -} from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { - DynamoDBDocumentClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBDocumentClient"; -import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export type PutCommandInput = Pick< - __PutItemCommandInput, - Exclude< - keyof __PutItemCommandInput, - "Item" | "Expected" | "ExpressionAttributeValues" - > -> & { - Item: Record | undefined; - Expected?: - | Record< - string, - Pick< - ExpectedAttributeValue, - Exclude - > & { - Value?: NativeAttributeValue | undefined; - AttributeValueList?: NativeAttributeValue[] | undefined; - } - > - | undefined; - ExpressionAttributeValues?: Record | undefined; -}; -export type PutCommandOutput = Pick< - __PutItemCommandOutput, - Exclude -> & { - Attributes?: Record | undefined; - ItemCollectionMetrics?: - | (Pick< - ItemCollectionMetrics, - Exclude - > & { - ItemCollectionKey?: Record | undefined; - }) - | undefined; -}; -export declare class PutCommand extends DynamoDBDocumentClientCommand< - PutCommandInput, - PutCommandOutput, - __PutItemCommandInput, - __PutItemCommandOutput, - DynamoDBDocumentClientResolvedConfig -> { - readonly input: PutCommandInput; - protected readonly inputKeyNodes: { - Item: import("../commands/utils").KeyNodeChildren; - Expected: { - "*": { - Value: null; - AttributeValueList: import("../commands/utils").KeyNodeChildren; - }; - }; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - protected readonly outputKeyNodes: { - Attributes: import("../commands/utils").KeyNodeChildren; - ItemCollectionMetrics: { - ItemCollectionKey: import("../commands/utils").KeyNodeChildren; - }; - }; - protected readonly clientCommand: __PutItemCommand; - readonly middlewareStack: MiddlewareStack< - PutCommandInput | __PutItemCommandInput, - PutCommandOutput | __PutItemCommandOutput - >; - constructor(input: PutCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: DynamoDBDocumentClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; -} -import { - ExpectedAttributeValue, - ItemCollectionMetrics, - PutItemCommandInput as __PutItemCommandInput, - PutItemCommandOutput as __PutItemCommandOutput, -} from "@aws-sdk/client-dynamodb"; -import { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/QueryCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/QueryCommand.d.ts deleted file mode 100644 index a2c34694..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/QueryCommand.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { - HttpHandlerOptions as __HttpHandlerOptions, - Handler, - MiddlewareStack, -} from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { - DynamoDBDocumentClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBDocumentClient"; -import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export type QueryCommandInput = Pick< - __QueryCommandInput, - Exclude< - keyof __QueryCommandInput, - | "KeyConditions" - | "QueryFilter" - | "ExclusiveStartKey" - | "ExpressionAttributeValues" - > -> & { - KeyConditions?: - | Record< - string, - Pick> & { - AttributeValueList?: NativeAttributeValue[] | undefined; - } - > - | undefined; - QueryFilter?: - | Record< - string, - Pick> & { - AttributeValueList?: NativeAttributeValue[] | undefined; - } - > - | undefined; - ExclusiveStartKey?: Record | undefined; - ExpressionAttributeValues?: Record | undefined; -}; -export type QueryCommandOutput = Pick< - __QueryCommandOutput, - Exclude -> & { - Items?: Record[] | undefined; - LastEvaluatedKey?: Record | undefined; -}; -export declare class QueryCommand extends DynamoDBDocumentClientCommand< - QueryCommandInput, - QueryCommandOutput, - __QueryCommandInput, - __QueryCommandOutput, - DynamoDBDocumentClientResolvedConfig -> { - readonly input: QueryCommandInput; - protected readonly inputKeyNodes: { - KeyConditions: { - "*": { - AttributeValueList: import("../commands/utils").KeyNodeChildren; - }; - }; - QueryFilter: { - "*": { - AttributeValueList: import("../commands/utils").KeyNodeChildren; - }; - }; - ExclusiveStartKey: import("../commands/utils").KeyNodeChildren; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - protected readonly outputKeyNodes: { - Items: { - "*": import("../commands/utils").KeyNodeChildren; - }; - LastEvaluatedKey: import("../commands/utils").KeyNodeChildren; - }; - protected readonly clientCommand: __QueryCommand; - readonly middlewareStack: MiddlewareStack< - QueryCommandInput | __QueryCommandInput, - QueryCommandOutput | __QueryCommandOutput - >; - constructor(input: QueryCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: DynamoDBDocumentClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; -} -import { - Condition, - QueryCommandInput as __QueryCommandInput, - QueryCommandOutput as __QueryCommandOutput, -} from "@aws-sdk/client-dynamodb"; -import { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/ScanCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/ScanCommand.d.ts deleted file mode 100644 index 3604ef46..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/ScanCommand.d.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { - HttpHandlerOptions as __HttpHandlerOptions, - Handler, - MiddlewareStack, -} from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { - DynamoDBDocumentClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBDocumentClient"; -import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export type ScanCommandInput = Pick< - __ScanCommandInput, - Exclude< - keyof __ScanCommandInput, - "ScanFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues" - > -> & { - ScanFilter?: - | Record< - string, - Pick> & { - AttributeValueList?: NativeAttributeValue[] | undefined; - } - > - | undefined; - ExclusiveStartKey?: Record | undefined; - ExpressionAttributeValues?: Record | undefined; -}; -export type ScanCommandOutput = Pick< - __ScanCommandOutput, - Exclude -> & { - Items?: Record[] | undefined; - LastEvaluatedKey?: Record | undefined; -}; -export declare class ScanCommand extends DynamoDBDocumentClientCommand< - ScanCommandInput, - ScanCommandOutput, - __ScanCommandInput, - __ScanCommandOutput, - DynamoDBDocumentClientResolvedConfig -> { - readonly input: ScanCommandInput; - protected readonly inputKeyNodes: { - ScanFilter: { - "*": { - AttributeValueList: import("../commands/utils").KeyNodeChildren; - }; - }; - ExclusiveStartKey: import("../commands/utils").KeyNodeChildren; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - protected readonly outputKeyNodes: { - Items: { - "*": import("../commands/utils").KeyNodeChildren; - }; - LastEvaluatedKey: import("../commands/utils").KeyNodeChildren; - }; - protected readonly clientCommand: __ScanCommand; - readonly middlewareStack: MiddlewareStack< - ScanCommandInput | __ScanCommandInput, - ScanCommandOutput | __ScanCommandOutput - >; - constructor(input: ScanCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: DynamoDBDocumentClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; -} -import { - Condition, - ScanCommandInput as __ScanCommandInput, - ScanCommandOutput as __ScanCommandOutput, -} from "@aws-sdk/client-dynamodb"; -import { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/TransactGetCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/TransactGetCommand.d.ts deleted file mode 100644 index 14cafcf8..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/TransactGetCommand.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { - HttpHandlerOptions as __HttpHandlerOptions, - Handler, - MiddlewareStack, -} from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { - DynamoDBDocumentClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBDocumentClient"; -import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export type TransactGetCommandInput = Pick< - __TransactGetItemsCommandInput, - Exclude -> & { - TransactItems: - | (Pick> & { - Get: - | (Pick> & { - Key: Record | undefined; - }) - | undefined; - })[] - | undefined; -}; -export type TransactGetCommandOutput = Pick< - __TransactGetItemsCommandOutput, - Exclude -> & { - Responses?: - | (Pick> & { - Item?: Record | undefined; - })[] - | undefined; -}; -export declare class TransactGetCommand extends DynamoDBDocumentClientCommand< - TransactGetCommandInput, - TransactGetCommandOutput, - __TransactGetItemsCommandInput, - __TransactGetItemsCommandOutput, - DynamoDBDocumentClientResolvedConfig -> { - readonly input: TransactGetCommandInput; - protected readonly inputKeyNodes: { - TransactItems: { - "*": { - Get: { - Key: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - protected readonly outputKeyNodes: { - Responses: { - "*": { - Item: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - protected readonly clientCommand: __TransactGetItemsCommand; - readonly middlewareStack: MiddlewareStack< - TransactGetCommandInput | __TransactGetItemsCommandInput, - TransactGetCommandOutput | __TransactGetItemsCommandOutput - >; - constructor(input: TransactGetCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: DynamoDBDocumentClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; -} -import { - Get, - ItemResponse, - TransactGetItem, - TransactGetItemsCommandInput as __TransactGetItemsCommandInput, - TransactGetItemsCommandOutput as __TransactGetItemsCommandOutput, -} from "@aws-sdk/client-dynamodb"; -import { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/TransactWriteCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/TransactWriteCommand.d.ts deleted file mode 100644 index 555e9c0d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +++ /dev/null @@ -1,151 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { - HttpHandlerOptions as __HttpHandlerOptions, - Handler, - MiddlewareStack, -} from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { - DynamoDBDocumentClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBDocumentClient"; -import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export type TransactWriteCommandInput = Pick< - __TransactWriteItemsCommandInput, - Exclude -> & { - TransactItems: - | (Pick< - TransactWriteItem, - Exclude< - keyof TransactWriteItem, - "ConditionCheck" | "Put" | "Delete" | "Update" - > - > & { - ConditionCheck?: - | (Pick< - ConditionCheck, - Exclude - > & { - Key: Record | undefined; - ExpressionAttributeValues?: - | Record - | undefined; - }) - | undefined; - Put?: - | (Pick< - Put, - Exclude - > & { - Item: Record | undefined; - ExpressionAttributeValues?: - | Record - | undefined; - }) - | undefined; - Delete?: - | (Pick< - Delete, - Exclude - > & { - Key: Record | undefined; - ExpressionAttributeValues?: - | Record - | undefined; - }) - | undefined; - Update?: - | (Pick< - Update, - Exclude - > & { - Key: Record | undefined; - ExpressionAttributeValues?: - | Record - | undefined; - }) - | undefined; - })[] - | undefined; -}; -export type TransactWriteCommandOutput = Pick< - __TransactWriteItemsCommandOutput, - Exclude -> & { - ItemCollectionMetrics?: - | Record< - string, - (Pick< - ItemCollectionMetrics, - Exclude - > & { - ItemCollectionKey?: Record | undefined; - })[] - > - | undefined; -}; -export declare class TransactWriteCommand extends DynamoDBDocumentClientCommand< - TransactWriteCommandInput, - TransactWriteCommandOutput, - __TransactWriteItemsCommandInput, - __TransactWriteItemsCommandOutput, - DynamoDBDocumentClientResolvedConfig -> { - readonly input: TransactWriteCommandInput; - protected readonly inputKeyNodes: { - TransactItems: { - "*": { - ConditionCheck: { - Key: import("../commands/utils").KeyNodeChildren; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - Put: { - Item: import("../commands/utils").KeyNodeChildren; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - Delete: { - Key: import("../commands/utils").KeyNodeChildren; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - Update: { - Key: import("../commands/utils").KeyNodeChildren; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - protected readonly outputKeyNodes: { - ItemCollectionMetrics: { - "*": { - "*": { - ItemCollectionKey: import("../commands/utils").KeyNodeChildren; - }; - }; - }; - }; - protected readonly clientCommand: __TransactWriteItemsCommand; - readonly middlewareStack: MiddlewareStack< - TransactWriteCommandInput | __TransactWriteItemsCommandInput, - TransactWriteCommandOutput | __TransactWriteItemsCommandOutput - >; - constructor(input: TransactWriteCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: DynamoDBDocumentClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; -} -import { - ConditionCheck, - Delete, - ItemCollectionMetrics, - Put, - TransactWriteItem, - TransactWriteItemsCommandInput as __TransactWriteItemsCommandInput, - TransactWriteItemsCommandOutput as __TransactWriteItemsCommandOutput, - Update, -} from "@aws-sdk/client-dynamodb"; -import { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/UpdateCommand.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/UpdateCommand.d.ts deleted file mode 100644 index 0b9bb891..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/UpdateCommand.d.ts +++ /dev/null @@ -1,113 +0,0 @@ -import { Command as $Command } from "@smithy/smithy-client"; -import { - HttpHandlerOptions as __HttpHandlerOptions, - Handler, - MiddlewareStack, -} from "@smithy/types"; -import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand"; -import { - DynamoDBDocumentClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../DynamoDBDocumentClient"; -import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb"; -export { DynamoDBDocumentClientCommand, $Command }; -export type UpdateCommandInput = Pick< - __UpdateItemCommandInput, - Exclude< - keyof __UpdateItemCommandInput, - "Key" | "AttributeUpdates" | "Expected" | "ExpressionAttributeValues" - > -> & { - Key: Record | undefined; - AttributeUpdates?: - | Record< - string, - Pick< - AttributeValueUpdate, - Exclude - > & { - Value?: NativeAttributeValue | undefined; - } - > - | undefined; - Expected?: - | Record< - string, - Pick< - ExpectedAttributeValue, - Exclude - > & { - Value?: NativeAttributeValue | undefined; - AttributeValueList?: NativeAttributeValue[] | undefined; - } - > - | undefined; - ExpressionAttributeValues?: Record | undefined; -}; -export type UpdateCommandOutput = Pick< - __UpdateItemCommandOutput, - Exclude< - keyof __UpdateItemCommandOutput, - "Attributes" | "ItemCollectionMetrics" - > -> & { - Attributes?: Record | undefined; - ItemCollectionMetrics?: - | (Pick< - ItemCollectionMetrics, - Exclude - > & { - ItemCollectionKey?: Record | undefined; - }) - | undefined; -}; -export declare class UpdateCommand extends DynamoDBDocumentClientCommand< - UpdateCommandInput, - UpdateCommandOutput, - __UpdateItemCommandInput, - __UpdateItemCommandOutput, - DynamoDBDocumentClientResolvedConfig -> { - readonly input: UpdateCommandInput; - protected readonly inputKeyNodes: { - Key: import("../commands/utils").KeyNodeChildren; - AttributeUpdates: { - "*": { - Value: null; - }; - }; - Expected: { - "*": { - Value: null; - AttributeValueList: import("../commands/utils").KeyNodeChildren; - }; - }; - ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren; - }; - protected readonly outputKeyNodes: { - Attributes: import("../commands/utils").KeyNodeChildren; - ItemCollectionMetrics: { - ItemCollectionKey: import("../commands/utils").KeyNodeChildren; - }; - }; - protected readonly clientCommand: __UpdateItemCommand; - readonly middlewareStack: MiddlewareStack< - UpdateCommandInput | __UpdateItemCommandInput, - UpdateCommandOutput | __UpdateItemCommandOutput - >; - constructor(input: UpdateCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: DynamoDBDocumentClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; -} -import { - AttributeValueUpdate, - ExpectedAttributeValue, - ItemCollectionMetrics, - UpdateItemCommandInput as __UpdateItemCommandInput, - UpdateItemCommandOutput as __UpdateItemCommandOutput, -} from "@aws-sdk/client-dynamodb"; -import { NativeAttributeValue } from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/index.d.ts deleted file mode 100644 index 49e8a4ed..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/index.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -export * from "./BatchExecuteStatementCommand"; -export * from "./BatchGetCommand"; -export * from "./BatchWriteCommand"; -export * from "./DeleteCommand"; -export * from "./ExecuteStatementCommand"; -export * from "./ExecuteTransactionCommand"; -export * from "./GetCommand"; -export * from "./PutCommand"; -export * from "./QueryCommand"; -export * from "./ScanCommand"; -export * from "./TransactGetCommand"; -export * from "./TransactWriteCommand"; -export * from "./UpdateCommand"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/utils.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/utils.d.ts deleted file mode 100644 index c0473c3e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/commands/utils.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb"; -export type KeyNodeSelf = null; -export declare const SELF: KeyNodeSelf; -export type KeyNodeChildren = Record; -export declare const ALL_VALUES: KeyNodeChildren; -export declare const ALL_MEMBERS: KeyNodeChildren; -export type KeyNodes = KeyNodeSelf | KeyNodeChildren; -export declare const marshallInput: ( - obj: any, - keyNodes: KeyNodeChildren, - options?: marshallOptions -) => any; -export declare const unmarshallOutput: ( - obj: any, - keyNodes: KeyNodeChildren, - options?: unmarshallOptions -) => any; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/index.d.ts deleted file mode 100644 index 5bc9683f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export * from "./commands"; -export * from "./pagination"; -export * from "./DynamoDBDocumentClient"; -export * from "./DynamoDBDocument"; -export { NumberValueImpl as NumberValue } from "@aws-sdk/util-dynamodb"; -export { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb"; -export { - NativeAttributeValue, - NativeAttributeBinary, - NativeScalarAttributeValue, -} from "@aws-sdk/util-dynamodb"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/Interfaces.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/Interfaces.d.ts deleted file mode 100644 index 5bd45d23..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/Interfaces.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { PaginationConfiguration } from "@smithy/types"; -import { DynamoDBDocument } from "../DynamoDBDocument"; -import { DynamoDBDocumentClient } from "../DynamoDBDocumentClient"; -export { PaginationConfiguration }; -export interface DynamoDBDocumentPaginationConfiguration - extends PaginationConfiguration { - client: DynamoDBDocument | DynamoDBDocumentClient; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/QueryPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/QueryPaginator.d.ts deleted file mode 100644 index 93d4affa..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/QueryPaginator.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - QueryCommandInput, - QueryCommandOutput, -} from "../commands/QueryCommand"; -import { DynamoDBDocumentPaginationConfiguration } from "./Interfaces"; -export { Paginator }; -export declare const paginateQuery: ( - config: DynamoDBDocumentPaginationConfiguration, - input: QueryCommandInput, - ...additionalArguments: any -) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/ScanPaginator.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/ScanPaginator.d.ts deleted file mode 100644 index 0a2c6d7b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/ScanPaginator.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { ScanCommandInput, ScanCommandOutput } from "../commands/ScanCommand"; -import { DynamoDBDocumentPaginationConfiguration } from "./Interfaces"; -export { Paginator }; -export declare const paginateScan: ( - config: DynamoDBDocumentPaginationConfiguration, - input: ScanCommandInput, - ...additionalArguments: any -) => Paginator; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/index.d.ts deleted file mode 100644 index 0d9540ef..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/dist-types/ts3.4/pagination/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./Interfaces"; -export * from "./QueryPaginator"; -export * from "./ScanPaginator"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/package.json b/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/package.json deleted file mode 100644 index 8c6b7f58..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/lib-dynamodb/package.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "name": "@aws-sdk/lib-dynamodb", - "version": "3.1018.0", - "description": "The document client simplifies working with items in Amazon DynamoDB by abstracting away the notion of attribute values.", - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "scripts": { - "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", - "build:cjs": "node ../../scripts/compilation/inline lib-dynamodb", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", - "extract:docs": "api-extractor run --local", - "test": "yarn g:vitest run", - "test:watch": "yarn g:vitest watch", - "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts --mode development", - "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts", - "test:integration": "yarn g:vitest run -c vitest.config.integ.mts --mode development", - "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" - }, - "engines": { - "node": ">=20.0.0" - }, - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/core": "^3.973.25", - "@aws-sdk/util-dynamodb": "^3.996.2", - "@smithy/core": "^3.23.12", - "@smithy/smithy-client": "^4.12.7", - "@smithy/types": "^4.13.1", - "tslib": "^2.6.2" - }, - "peerDependencies": { - "@aws-sdk/client-dynamodb": "^3.1018.0" - }, - "devDependencies": { - "@aws-sdk/client-dynamodb": "3.1018.0", - "@tsconfig/recommended": "1.0.1", - "@types/node": "^20.14.8", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "premove": "4.0.0", - "typescript": "~5.8.3" - }, - "typesVersions": { - "<4.5": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/lib/lib-dynamodb", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "lib/lib-dynamodb" - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/LICENSE b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/LICENSE deleted file mode 100644 index dd65ae06..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/README.md b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/README.md deleted file mode 100644 index 4a50903c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# @aws-sdk/middleware-endpoint-discovery - -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-endpoint-discovery/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-endpoint-discovery) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-endpoint-discovery.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-endpoint-discovery) diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-cjs/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-cjs/index.js deleted file mode 100644 index 174c53b8..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-cjs/index.js +++ /dev/null @@ -1,188 +0,0 @@ -'use strict'; - -var protocolHttp = require('@smithy/protocol-http'); -var endpointCache = require('@aws-sdk/endpoint-cache'); - -const ENV_ENDPOINT_DISCOVERY = ["AWS_ENABLE_ENDPOINT_DISCOVERY", "AWS_ENDPOINT_DISCOVERY_ENABLED"]; -const CONFIG_ENDPOINT_DISCOVERY = "endpoint_discovery_enabled"; -const isFalsy = (value) => ["false", "0"].indexOf(value) >= 0; -const NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS = { - environmentVariableSelector: (env) => { - for (let i = 0; i < ENV_ENDPOINT_DISCOVERY.length; i++) { - const envKey = ENV_ENDPOINT_DISCOVERY[i]; - if (envKey in env) { - const value = env[envKey]; - if (value === "") { - throw Error(`Environment variable ${envKey} can't be empty of undefined, got "${value}"`); - } - return !isFalsy(value); - } - } - }, - configFileSelector: (profile) => { - if (CONFIG_ENDPOINT_DISCOVERY in profile) { - const value = profile[CONFIG_ENDPOINT_DISCOVERY]; - if (value === undefined) { - throw Error(`Shared config entry ${CONFIG_ENDPOINT_DISCOVERY} can't be undefined, got "${value}"`); - } - return !isFalsy(value); - } - }, - default: undefined, -}; - -const getCacheKey = async (commandName, config, options) => { - const { accessKeyId } = await config.credentials(); - const { identifiers } = options; - return JSON.stringify({ - ...(accessKeyId && { accessKeyId }), - ...(identifiers && { - commandName, - identifiers: Object.entries(identifiers) - .sort() - .reduce((acc, [key, value]) => ({ ...acc, [key]: value }), {}), - }), - }); -}; - -const requestQueue = {}; -const updateDiscoveredEndpointInCache = async (config, options) => new Promise((resolve, reject) => { - const { endpointCache } = config; - const { cacheKey, commandName, identifiers } = options; - const endpoints = endpointCache.get(cacheKey); - if (endpoints && endpoints.length === 1 && endpoints[0].Address === "") { - if (options.isDiscoveredEndpointRequired) { - if (!requestQueue[cacheKey]) - requestQueue[cacheKey] = []; - requestQueue[cacheKey].push({ resolve, reject }); - } - else { - resolve(); - } - } - else if (endpoints && endpoints.length > 0) { - resolve(); - } - else { - const placeholderEndpoints = [{ Address: "", CachePeriodInMinutes: 1 }]; - endpointCache.set(cacheKey, placeholderEndpoints); - const command = new options.endpointDiscoveryCommandCtor({ - Operation: commandName.slice(0, -7), - Identifiers: identifiers, - }); - const handler = command.resolveMiddleware(options.clientStack, config, options.options); - handler(command) - .then((result) => { - endpointCache.set(cacheKey, result.output.Endpoints); - if (requestQueue[cacheKey]) { - requestQueue[cacheKey].forEach(({ resolve }) => { - resolve(); - }); - delete requestQueue[cacheKey]; - } - resolve(); - }) - .catch((error) => { - endpointCache.delete(cacheKey); - const errorToThrow = Object.assign(new Error(`The operation to discover endpoint failed.` + - ` Please retry, or provide a custom endpoint and disable endpoint discovery to proceed.`), { reason: error }); - if (requestQueue[cacheKey]) { - requestQueue[cacheKey].forEach(({ reject }) => { - reject(errorToThrow); - }); - delete requestQueue[cacheKey]; - } - if (options.isDiscoveredEndpointRequired) { - reject(errorToThrow); - } - else { - endpointCache.set(cacheKey, placeholderEndpoints); - resolve(); - } - }); - } -}); - -const endpointDiscoveryMiddleware = (config, middlewareConfig) => (next, context) => async (args) => { - if (config.isCustomEndpoint) { - if (config.isClientEndpointDiscoveryEnabled) { - throw new Error(`Custom endpoint is supplied; endpointDiscoveryEnabled must not be true.`); - } - return next(args); - } - const { endpointDiscoveryCommandCtor } = config; - const { isDiscoveredEndpointRequired, identifiers } = middlewareConfig; - const clientName = context.clientName; - const commandName = context.commandName; - const isEndpointDiscoveryEnabled = await config.endpointDiscoveryEnabled(); - const cacheKey = await getCacheKey(commandName, config, { identifiers }); - if (isDiscoveredEndpointRequired) { - if (isEndpointDiscoveryEnabled === false) { - throw new Error(`Endpoint Discovery is disabled but ${commandName} on ${clientName} requires it.` + - ` Please check your configurations.`); - } - await updateDiscoveredEndpointInCache(config, { - ...middlewareConfig, - commandName, - cacheKey, - endpointDiscoveryCommandCtor, - }); - } - else if (isEndpointDiscoveryEnabled) { - updateDiscoveredEndpointInCache(config, { - ...middlewareConfig, - commandName, - cacheKey, - endpointDiscoveryCommandCtor, - }); - } - const { request } = args; - if (cacheKey && protocolHttp.HttpRequest.isInstance(request)) { - const endpoint = config.endpointCache.getEndpoint(cacheKey); - if (endpoint) { - request.hostname = endpoint; - } - } - return next(args); -}; - -const endpointDiscoveryMiddlewareOptions = { - name: "endpointDiscoveryMiddleware", - step: "build", - tags: ["ENDPOINT_DISCOVERY"], - override: true, -}; -const getEndpointDiscoveryPlugin = (pluginConfig, middlewareConfig) => ({ - applyToStack: (commandStack) => { - commandStack.add(endpointDiscoveryMiddleware(pluginConfig, middlewareConfig), endpointDiscoveryMiddlewareOptions); - }, -}); -const getEndpointDiscoveryRequiredPlugin = (pluginConfig, middlewareConfig) => ({ - applyToStack: (commandStack) => { - commandStack.add(endpointDiscoveryMiddleware(pluginConfig, { ...middlewareConfig, isDiscoveredEndpointRequired: true }), endpointDiscoveryMiddlewareOptions); - }, -}); -const getEndpointDiscoveryOptionalPlugin = (pluginConfig, middlewareConfig) => ({ - applyToStack: (commandStack) => { - commandStack.add(endpointDiscoveryMiddleware(pluginConfig, { ...middlewareConfig, isDiscoveredEndpointRequired: false }), endpointDiscoveryMiddlewareOptions); - }, -}); - -const resolveEndpointDiscoveryConfig = (input, { endpointDiscoveryCommandCtor }) => { - const { endpointCacheSize, endpointDiscoveryEnabled, endpointDiscoveryEnabledProvider } = input; - return Object.assign(input, { - endpointDiscoveryCommandCtor, - endpointCache: new endpointCache.EndpointCache(endpointCacheSize ?? 1000), - endpointDiscoveryEnabled: endpointDiscoveryEnabled !== undefined - ? () => Promise.resolve(endpointDiscoveryEnabled) - : endpointDiscoveryEnabledProvider, - isClientEndpointDiscoveryEnabled: endpointDiscoveryEnabled !== undefined, - }); -}; - -exports.NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS = NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS; -exports.endpointDiscoveryMiddlewareOptions = endpointDiscoveryMiddlewareOptions; -exports.getEndpointDiscoveryOptionalPlugin = getEndpointDiscoveryOptionalPlugin; -exports.getEndpointDiscoveryPlugin = getEndpointDiscoveryPlugin; -exports.getEndpointDiscoveryRequiredPlugin = getEndpointDiscoveryRequiredPlugin; -exports.resolveEndpointDiscoveryConfig = resolveEndpointDiscoveryConfig; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/configurations.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/configurations.js deleted file mode 100644 index 8a5fdd6e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/configurations.js +++ /dev/null @@ -1,27 +0,0 @@ -const ENV_ENDPOINT_DISCOVERY = ["AWS_ENABLE_ENDPOINT_DISCOVERY", "AWS_ENDPOINT_DISCOVERY_ENABLED"]; -const CONFIG_ENDPOINT_DISCOVERY = "endpoint_discovery_enabled"; -const isFalsy = (value) => ["false", "0"].indexOf(value) >= 0; -export const NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS = { - environmentVariableSelector: (env) => { - for (let i = 0; i < ENV_ENDPOINT_DISCOVERY.length; i++) { - const envKey = ENV_ENDPOINT_DISCOVERY[i]; - if (envKey in env) { - const value = env[envKey]; - if (value === "") { - throw Error(`Environment variable ${envKey} can't be empty of undefined, got "${value}"`); - } - return !isFalsy(value); - } - } - }, - configFileSelector: (profile) => { - if (CONFIG_ENDPOINT_DISCOVERY in profile) { - const value = profile[CONFIG_ENDPOINT_DISCOVERY]; - if (value === undefined) { - throw Error(`Shared config entry ${CONFIG_ENDPOINT_DISCOVERY} can't be undefined, got "${value}"`); - } - return !isFalsy(value); - } - }, - default: undefined, -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/endpointDiscoveryMiddleware.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/endpointDiscoveryMiddleware.js deleted file mode 100644 index 80672eb8..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/endpointDiscoveryMiddleware.js +++ /dev/null @@ -1,45 +0,0 @@ -import { HttpRequest } from "@smithy/protocol-http"; -import { getCacheKey } from "./getCacheKey"; -import { updateDiscoveredEndpointInCache } from "./updateDiscoveredEndpointInCache"; -export const endpointDiscoveryMiddleware = (config, middlewareConfig) => (next, context) => async (args) => { - if (config.isCustomEndpoint) { - if (config.isClientEndpointDiscoveryEnabled) { - throw new Error(`Custom endpoint is supplied; endpointDiscoveryEnabled must not be true.`); - } - return next(args); - } - const { endpointDiscoveryCommandCtor } = config; - const { isDiscoveredEndpointRequired, identifiers } = middlewareConfig; - const clientName = context.clientName; - const commandName = context.commandName; - const isEndpointDiscoveryEnabled = await config.endpointDiscoveryEnabled(); - const cacheKey = await getCacheKey(commandName, config, { identifiers }); - if (isDiscoveredEndpointRequired) { - if (isEndpointDiscoveryEnabled === false) { - throw new Error(`Endpoint Discovery is disabled but ${commandName} on ${clientName} requires it.` + - ` Please check your configurations.`); - } - await updateDiscoveredEndpointInCache(config, { - ...middlewareConfig, - commandName, - cacheKey, - endpointDiscoveryCommandCtor, - }); - } - else if (isEndpointDiscoveryEnabled) { - updateDiscoveredEndpointInCache(config, { - ...middlewareConfig, - commandName, - cacheKey, - endpointDiscoveryCommandCtor, - }); - } - const { request } = args; - if (cacheKey && HttpRequest.isInstance(request)) { - const endpoint = config.endpointCache.getEndpoint(cacheKey); - if (endpoint) { - request.hostname = endpoint; - } - } - return next(args); -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/getCacheKey.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/getCacheKey.js deleted file mode 100644 index ca72e41d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/getCacheKey.js +++ /dev/null @@ -1,13 +0,0 @@ -export const getCacheKey = async (commandName, config, options) => { - const { accessKeyId } = await config.credentials(); - const { identifiers } = options; - return JSON.stringify({ - ...(accessKeyId && { accessKeyId }), - ...(identifiers && { - commandName, - identifiers: Object.entries(identifiers) - .sort() - .reduce((acc, [key, value]) => ({ ...acc, [key]: value }), {}), - }), - }); -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/getEndpointDiscoveryPlugin.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/getEndpointDiscoveryPlugin.js deleted file mode 100644 index 656e7fe6..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/getEndpointDiscoveryPlugin.js +++ /dev/null @@ -1,22 +0,0 @@ -import { endpointDiscoveryMiddleware } from "./endpointDiscoveryMiddleware"; -export const endpointDiscoveryMiddlewareOptions = { - name: "endpointDiscoveryMiddleware", - step: "build", - tags: ["ENDPOINT_DISCOVERY"], - override: true, -}; -export const getEndpointDiscoveryPlugin = (pluginConfig, middlewareConfig) => ({ - applyToStack: (commandStack) => { - commandStack.add(endpointDiscoveryMiddleware(pluginConfig, middlewareConfig), endpointDiscoveryMiddlewareOptions); - }, -}); -export const getEndpointDiscoveryRequiredPlugin = (pluginConfig, middlewareConfig) => ({ - applyToStack: (commandStack) => { - commandStack.add(endpointDiscoveryMiddleware(pluginConfig, { ...middlewareConfig, isDiscoveredEndpointRequired: true }), endpointDiscoveryMiddlewareOptions); - }, -}); -export const getEndpointDiscoveryOptionalPlugin = (pluginConfig, middlewareConfig) => ({ - applyToStack: (commandStack) => { - commandStack.add(endpointDiscoveryMiddleware(pluginConfig, { ...middlewareConfig, isDiscoveredEndpointRequired: false }), endpointDiscoveryMiddlewareOptions); - }, -}); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/index.js deleted file mode 100644 index 1c74159e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/index.js +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./configurations"; -export * from "./getEndpointDiscoveryPlugin"; -export * from "./resolveEndpointDiscoveryConfig"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/resolveEndpointDiscoveryConfig.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/resolveEndpointDiscoveryConfig.js deleted file mode 100644 index cc1cc9c7..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/resolveEndpointDiscoveryConfig.js +++ /dev/null @@ -1,12 +0,0 @@ -import { EndpointCache } from "@aws-sdk/endpoint-cache"; -export const resolveEndpointDiscoveryConfig = (input, { endpointDiscoveryCommandCtor }) => { - const { endpointCacheSize, endpointDiscoveryEnabled, endpointDiscoveryEnabledProvider } = input; - return Object.assign(input, { - endpointDiscoveryCommandCtor, - endpointCache: new EndpointCache(endpointCacheSize ?? 1000), - endpointDiscoveryEnabled: endpointDiscoveryEnabled !== undefined - ? () => Promise.resolve(endpointDiscoveryEnabled) - : endpointDiscoveryEnabledProvider, - isClientEndpointDiscoveryEnabled: endpointDiscoveryEnabled !== undefined, - }); -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/updateDiscoveredEndpointInCache.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/updateDiscoveredEndpointInCache.js deleted file mode 100644 index c0a9831a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-es/updateDiscoveredEndpointInCache.js +++ /dev/null @@ -1,57 +0,0 @@ -const requestQueue = {}; -export const updateDiscoveredEndpointInCache = async (config, options) => new Promise((resolve, reject) => { - const { endpointCache } = config; - const { cacheKey, commandName, identifiers } = options; - const endpoints = endpointCache.get(cacheKey); - if (endpoints && endpoints.length === 1 && endpoints[0].Address === "") { - if (options.isDiscoveredEndpointRequired) { - if (!requestQueue[cacheKey]) - requestQueue[cacheKey] = []; - requestQueue[cacheKey].push({ resolve, reject }); - } - else { - resolve(); - } - } - else if (endpoints && endpoints.length > 0) { - resolve(); - } - else { - const placeholderEndpoints = [{ Address: "", CachePeriodInMinutes: 1 }]; - endpointCache.set(cacheKey, placeholderEndpoints); - const command = new options.endpointDiscoveryCommandCtor({ - Operation: commandName.slice(0, -7), - Identifiers: identifiers, - }); - const handler = command.resolveMiddleware(options.clientStack, config, options.options); - handler(command) - .then((result) => { - endpointCache.set(cacheKey, result.output.Endpoints); - if (requestQueue[cacheKey]) { - requestQueue[cacheKey].forEach(({ resolve }) => { - resolve(); - }); - delete requestQueue[cacheKey]; - } - resolve(); - }) - .catch((error) => { - endpointCache.delete(cacheKey); - const errorToThrow = Object.assign(new Error(`The operation to discover endpoint failed.` + - ` Please retry, or provide a custom endpoint and disable endpoint discovery to proceed.`), { reason: error }); - if (requestQueue[cacheKey]) { - requestQueue[cacheKey].forEach(({ reject }) => { - reject(errorToThrow); - }); - delete requestQueue[cacheKey]; - } - if (options.isDiscoveredEndpointRequired) { - reject(errorToThrow); - } - else { - endpointCache.set(cacheKey, placeholderEndpoints); - resolve(); - } - }); - } -}); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/configurations.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/configurations.d.ts deleted file mode 100644 index 629c8d77..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/configurations.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; -/** - * @internal - */ -export declare const NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/endpointDiscoveryMiddleware.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/endpointDiscoveryMiddleware.d.ts deleted file mode 100644 index 0a7468f9..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/endpointDiscoveryMiddleware.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { BuildHandler, HandlerExecutionContext, MetadataBearer } from "@smithy/types"; -import type { EndpointDiscoveryMiddlewareConfig } from "./getEndpointDiscoveryPlugin"; -import type { EndpointDiscoveryResolvedConfig, PreviouslyResolved } from "./resolveEndpointDiscoveryConfig"; -export declare const endpointDiscoveryMiddleware: (config: EndpointDiscoveryResolvedConfig & PreviouslyResolved, middlewareConfig: EndpointDiscoveryMiddlewareConfig) => (next: BuildHandler, context: HandlerExecutionContext) => BuildHandler; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/getCacheKey.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/getCacheKey.d.ts deleted file mode 100644 index f0dbac0a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/getCacheKey.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import type { AwsCredentialIdentity, Provider } from "@smithy/types"; -/** - * Generate key to index the endpoints in the cache - */ -export declare const getCacheKey: (commandName: string, config: { - credentials: Provider; -}, options: { - identifiers?: Record; -}) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/getEndpointDiscoveryPlugin.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/getEndpointDiscoveryPlugin.d.ts deleted file mode 100644 index 3ee3ad8a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/getEndpointDiscoveryPlugin.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import type { BuildHandlerOptions, HttpHandlerOptions, MiddlewareStack, Pluggable } from "@smithy/types"; -import type { EndpointDiscoveryResolvedConfig, PreviouslyResolved } from "./resolveEndpointDiscoveryConfig"; -/** - * @internal - */ -export declare const endpointDiscoveryMiddlewareOptions: BuildHandlerOptions; -/** - * @public - */ -export interface EndpointDiscoveryMiddlewareConfig { - isDiscoveredEndpointRequired: boolean; - clientStack: MiddlewareStack; - options?: HttpHandlerOptions; - identifiers?: Record; -} -/** - * @internal - */ -export declare const getEndpointDiscoveryPlugin: (pluginConfig: EndpointDiscoveryResolvedConfig & PreviouslyResolved, middlewareConfig: EndpointDiscoveryMiddlewareConfig) => Pluggable; -/** - * @internal - * @deprecated Use getEndpointDiscoveryPlugin - */ -export declare const getEndpointDiscoveryRequiredPlugin: (pluginConfig: EndpointDiscoveryResolvedConfig & PreviouslyResolved, middlewareConfig: Omit) => Pluggable; -/** - * @internal - * @deprecated Use getEndpointDiscoveryPlugin - */ -export declare const getEndpointDiscoveryOptionalPlugin: (pluginConfig: EndpointDiscoveryResolvedConfig & PreviouslyResolved, middlewareConfig: Omit) => Pluggable; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/index.d.ts deleted file mode 100644 index 1c74159e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./configurations"; -export * from "./getEndpointDiscoveryPlugin"; -export * from "./resolveEndpointDiscoveryConfig"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/resolveEndpointDiscoveryConfig.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/resolveEndpointDiscoveryConfig.d.ts deleted file mode 100644 index 629ab55b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/resolveEndpointDiscoveryConfig.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { EndpointCache } from "@aws-sdk/endpoint-cache"; -import type { AwsCredentialIdentity, MemoizedProvider, Provider } from "@smithy/types"; -/** - * @internal - */ -export interface PreviouslyResolved { - isCustomEndpoint?: boolean; - credentials: MemoizedProvider; - endpointDiscoveryEnabledProvider: Provider; -} -/** - * @public - */ -export interface EndpointDiscoveryInputConfig { - /** - * The size of the client cache storing endpoints from endpoint discovery operations. - * Defaults to 1000. - */ - endpointCacheSize?: number; - /** - * Whether to call operations with endpoints given by service dynamically. - * Setting this config to `true` will enable endpoint discovery for all applicable operations. - * Setting it to `false` will explicitly disable endpoint discovery even though operations that - * require endpoint discovery will presumably fail. Leaving it to undefined means SDK only do - * endpoint discovery when it's required. Defaults to `undefined`. - */ - endpointDiscoveryEnabled?: boolean | undefined; -} -export interface EndpointDiscoveryResolvedConfig { - /** - * LRU Cache which stores endpoints from endpoint discovery operations. - * The size is either provided by {@link EndpointDiscoveryInputConfig.endpointCacheSize}. - */ - endpointCache: EndpointCache; - /** - * The constructor of the Command used for discovering endpoints. - * @internal - */ - endpointDiscoveryCommandCtor: new (comandConfig: any) => any; - /** - * Resolved value for input config {@link EndpointDiscoveryInputConfig.endpointDiscoveryEnabled}. - */ - endpointDiscoveryEnabled: Provider; - /** - * Stores whether endpoint discovery configuration is set locally by passing - * {@link EndpointDiscoveryInputConfig.endpointDiscoveryEnabled} during client creation. - * @internal - */ - isClientEndpointDiscoveryEnabled: boolean; -} -export interface EndpointDiscoveryConfigOptions { - /** - * The constructor of the Command used for discovering endpoints. - */ - endpointDiscoveryCommandCtor: new (comandConfig: any) => any; -} -/** - * @internal - */ -export declare const resolveEndpointDiscoveryConfig: (input: T & PreviouslyResolved & EndpointDiscoveryInputConfig, { endpointDiscoveryCommandCtor }: EndpointDiscoveryConfigOptions) => T & EndpointDiscoveryResolvedConfig; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/configurations.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/configurations.d.ts deleted file mode 100644 index 366f1459..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/configurations.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { LoadedConfigSelectors } from "@smithy/node-config-provider"; -export declare const NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS: LoadedConfigSelectors< - boolean | undefined ->; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/endpointDiscoveryMiddleware.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/endpointDiscoveryMiddleware.d.ts deleted file mode 100644 index ceff474a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/endpointDiscoveryMiddleware.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { - BuildHandler, - HandlerExecutionContext, - MetadataBearer, -} from "@smithy/types"; -import { EndpointDiscoveryMiddlewareConfig } from "./getEndpointDiscoveryPlugin"; -import { - EndpointDiscoveryResolvedConfig, - PreviouslyResolved, -} from "./resolveEndpointDiscoveryConfig"; -export declare const endpointDiscoveryMiddleware: ( - config: EndpointDiscoveryResolvedConfig & PreviouslyResolved, - middlewareConfig: EndpointDiscoveryMiddlewareConfig -) => ( - next: BuildHandler, - context: HandlerExecutionContext -) => BuildHandler; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/getCacheKey.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/getCacheKey.d.ts deleted file mode 100644 index d9be17ea..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/getCacheKey.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { AwsCredentialIdentity, Provider } from "@smithy/types"; -export declare const getCacheKey: ( - commandName: string, - config: { - credentials: Provider; - }, - options: { - identifiers?: Record; - } -) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/getEndpointDiscoveryPlugin.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/getEndpointDiscoveryPlugin.d.ts deleted file mode 100644 index 8c60174a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/getEndpointDiscoveryPlugin.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { - BuildHandlerOptions, - HttpHandlerOptions, - MiddlewareStack, - Pluggable, -} from "@smithy/types"; -import { - EndpointDiscoveryResolvedConfig, - PreviouslyResolved, -} from "./resolveEndpointDiscoveryConfig"; -export declare const endpointDiscoveryMiddlewareOptions: BuildHandlerOptions; -export interface EndpointDiscoveryMiddlewareConfig { - isDiscoveredEndpointRequired: boolean; - clientStack: MiddlewareStack; - options?: HttpHandlerOptions; - identifiers?: Record; -} -export declare const getEndpointDiscoveryPlugin: ( - pluginConfig: EndpointDiscoveryResolvedConfig & PreviouslyResolved, - middlewareConfig: EndpointDiscoveryMiddlewareConfig -) => Pluggable; -export declare const getEndpointDiscoveryRequiredPlugin: ( - pluginConfig: EndpointDiscoveryResolvedConfig & PreviouslyResolved, - middlewareConfig: Pick< - EndpointDiscoveryMiddlewareConfig, - Exclude< - keyof EndpointDiscoveryMiddlewareConfig, - "isDiscoveredEndpointRequired" - > - > -) => Pluggable; -export declare const getEndpointDiscoveryOptionalPlugin: ( - pluginConfig: EndpointDiscoveryResolvedConfig & PreviouslyResolved, - middlewareConfig: Pick< - EndpointDiscoveryMiddlewareConfig, - Exclude< - keyof EndpointDiscoveryMiddlewareConfig, - "isDiscoveredEndpointRequired" - > - > -) => Pluggable; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/index.d.ts deleted file mode 100644 index 1c74159e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./configurations"; -export * from "./getEndpointDiscoveryPlugin"; -export * from "./resolveEndpointDiscoveryConfig"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/resolveEndpointDiscoveryConfig.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/resolveEndpointDiscoveryConfig.d.ts deleted file mode 100644 index eaa95f75..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/resolveEndpointDiscoveryConfig.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { EndpointCache } from "@aws-sdk/endpoint-cache"; -import { - AwsCredentialIdentity, - MemoizedProvider, - Provider, -} from "@smithy/types"; -export interface PreviouslyResolved { - isCustomEndpoint?: boolean; - credentials: MemoizedProvider; - endpointDiscoveryEnabledProvider: Provider; -} -export interface EndpointDiscoveryInputConfig { - endpointCacheSize?: number; - endpointDiscoveryEnabled?: boolean | undefined; -} -export interface EndpointDiscoveryResolvedConfig { - endpointCache: EndpointCache; - endpointDiscoveryCommandCtor: new (comandConfig: any) => any; - endpointDiscoveryEnabled: Provider; - isClientEndpointDiscoveryEnabled: boolean; -} -export interface EndpointDiscoveryConfigOptions { - endpointDiscoveryCommandCtor: new (comandConfig: any) => any; -} -export declare const resolveEndpointDiscoveryConfig: ( - input: T & PreviouslyResolved & EndpointDiscoveryInputConfig, - { endpointDiscoveryCommandCtor }: EndpointDiscoveryConfigOptions -) => T & EndpointDiscoveryResolvedConfig; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/updateDiscoveredEndpointInCache.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/updateDiscoveredEndpointInCache.d.ts deleted file mode 100644 index 0887cb59..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/ts3.4/updateDiscoveredEndpointInCache.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { EndpointDiscoveryMiddlewareConfig } from "./getEndpointDiscoveryPlugin"; -import { - EndpointDiscoveryResolvedConfig, - PreviouslyResolved, -} from "./resolveEndpointDiscoveryConfig"; -export interface UpdateDiscoveredEndpointInCacheOptions - extends EndpointDiscoveryMiddlewareConfig { - cacheKey: string; - commandName: string; - endpointDiscoveryCommandCtor: new (comandConfig: any) => any; -} -export declare const updateDiscoveredEndpointInCache: ( - config: EndpointDiscoveryResolvedConfig & PreviouslyResolved, - options: UpdateDiscoveredEndpointInCacheOptions -) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/updateDiscoveredEndpointInCache.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/updateDiscoveredEndpointInCache.d.ts deleted file mode 100644 index a2f8a3a0..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/updateDiscoveredEndpointInCache.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import type { EndpointDiscoveryMiddlewareConfig } from "./getEndpointDiscoveryPlugin"; -import type { EndpointDiscoveryResolvedConfig, PreviouslyResolved } from "./resolveEndpointDiscoveryConfig"; -export interface UpdateDiscoveredEndpointInCacheOptions extends EndpointDiscoveryMiddlewareConfig { - cacheKey: string; - commandName: string; - endpointDiscoveryCommandCtor: new (comandConfig: any) => any; -} -export declare const updateDiscoveredEndpointInCache: (config: EndpointDiscoveryResolvedConfig & PreviouslyResolved, options: UpdateDiscoveredEndpointInCacheOptions) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/package.json b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/package.json deleted file mode 100644 index ca96d04c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-endpoint-discovery/package.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "name": "@aws-sdk/middleware-endpoint-discovery", - "version": "3.972.9", - "scripts": { - "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", - "build:cjs": "node ../../scripts/compilation/inline middleware-endpoint-discovery", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", - "extract:docs": "api-extractor run --local", - "test": "yarn g:vitest run", - "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", - "test:watch": "yarn g:vitest watch", - "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" - }, - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "sideEffects": false, - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "premove": "4.0.0", - "typescript": "~5.8.3" - }, - "dependencies": { - "@aws-sdk/endpoint-cache": "^3.972.5", - "@aws-sdk/types": "^3.973.6", - "@smithy/node-config-provider": "^4.3.12", - "@smithy/protocol-http": "^5.3.12", - "@smithy/types": "^4.13.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=20.0.0" - }, - "typesVersions": { - "<4.5": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-endpoint-discovery", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "packages-internal/middleware-endpoint-discovery" - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/LICENSE b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/LICENSE deleted file mode 100644 index e907b586..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/README.md b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/README.md deleted file mode 100644 index 123940e6..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# @aws-sdk/middleware-host-header - -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-host-header/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-host-header) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-host-header.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-host-header) diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js deleted file mode 100644 index 2dc022c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +++ /dev/null @@ -1,41 +0,0 @@ -'use strict'; - -var protocolHttp = require('@smithy/protocol-http'); - -function resolveHostHeaderConfig(input) { - return input; -} -const hostHeaderMiddleware = (options) => (next) => async (args) => { - if (!protocolHttp.HttpRequest.isInstance(args.request)) - return next(args); - const { request } = args; - const { handlerProtocol = "" } = options.requestHandler.metadata || {}; - if (handlerProtocol.indexOf("h2") >= 0 && !request.headers[":authority"]) { - delete request.headers["host"]; - request.headers[":authority"] = request.hostname + (request.port ? ":" + request.port : ""); - } - else if (!request.headers["host"]) { - let host = request.hostname; - if (request.port != null) - host += `:${request.port}`; - request.headers["host"] = host; - } - return next(args); -}; -const hostHeaderMiddlewareOptions = { - name: "hostHeaderMiddleware", - step: "build", - priority: "low", - tags: ["HOST"], - override: true, -}; -const getHostHeaderPlugin = (options) => ({ - applyToStack: (clientStack) => { - clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions); - }, -}); - -exports.getHostHeaderPlugin = getHostHeaderPlugin; -exports.hostHeaderMiddleware = hostHeaderMiddleware; -exports.hostHeaderMiddlewareOptions = hostHeaderMiddlewareOptions; -exports.resolveHostHeaderConfig = resolveHostHeaderConfig; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js deleted file mode 100644 index 2e2fb62e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js +++ /dev/null @@ -1,33 +0,0 @@ -import { HttpRequest } from "@smithy/protocol-http"; -export function resolveHostHeaderConfig(input) { - return input; -} -export const hostHeaderMiddleware = (options) => (next) => async (args) => { - if (!HttpRequest.isInstance(args.request)) - return next(args); - const { request } = args; - const { handlerProtocol = "" } = options.requestHandler.metadata || {}; - if (handlerProtocol.indexOf("h2") >= 0 && !request.headers[":authority"]) { - delete request.headers["host"]; - request.headers[":authority"] = request.hostname + (request.port ? ":" + request.port : ""); - } - else if (!request.headers["host"]) { - let host = request.hostname; - if (request.port != null) - host += `:${request.port}`; - request.headers["host"] = host; - } - return next(args); -}; -export const hostHeaderMiddlewareOptions = { - name: "hostHeaderMiddleware", - step: "build", - priority: "low", - tags: ["HOST"], - override: true, -}; -export const getHostHeaderPlugin = (options) => ({ - applyToStack: (clientStack) => { - clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions); - }, -}); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts deleted file mode 100644 index d6b348c1..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import type { AbsoluteLocation, BuildHandlerOptions, BuildMiddleware, Pluggable, RequestHandler } from "@smithy/types"; -/** - * @public - */ -export interface HostHeaderInputConfig { -} -interface PreviouslyResolved { - requestHandler: RequestHandler; -} -/** - * @internal - */ -export interface HostHeaderResolvedConfig { - /** - * The HTTP handler to use. Fetch in browser and Https in Nodejs. - */ - requestHandler: RequestHandler; -} -/** - * @internal - */ -export declare function resolveHostHeaderConfig(input: T & PreviouslyResolved & HostHeaderInputConfig): T & HostHeaderResolvedConfig; -/** - * @internal - */ -export declare const hostHeaderMiddleware: (options: HostHeaderResolvedConfig) => BuildMiddleware; -/** - * @internal - */ -export declare const hostHeaderMiddlewareOptions: BuildHandlerOptions & AbsoluteLocation; -/** - * @internal - */ -export declare const getHostHeaderPlugin: (options: HostHeaderResolvedConfig) => Pluggable; -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-types/ts3.4/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-types/ts3.4/index.d.ts deleted file mode 100644 index 3ca5561e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { - AbsoluteLocation, - BuildHandlerOptions, - BuildMiddleware, - Pluggable, - RequestHandler, -} from "@smithy/types"; -export interface HostHeaderInputConfig {} -interface PreviouslyResolved { - requestHandler: RequestHandler; -} -export interface HostHeaderResolvedConfig { - requestHandler: RequestHandler; -} -export declare function resolveHostHeaderConfig( - input: T & PreviouslyResolved & HostHeaderInputConfig -): T & HostHeaderResolvedConfig; -export declare const hostHeaderMiddleware: < - Input extends object, - Output extends object ->( - options: HostHeaderResolvedConfig -) => BuildMiddleware; -export declare const hostHeaderMiddlewareOptions: BuildHandlerOptions & - AbsoluteLocation; -export declare const getHostHeaderPlugin: ( - options: HostHeaderResolvedConfig -) => Pluggable; -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/package.json b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/package.json deleted file mode 100644 index b9399626..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-host-header/package.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "name": "@aws-sdk/middleware-host-header", - "version": "3.972.8", - "scripts": { - "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", - "build:cjs": "node ../../scripts/compilation/inline middleware-host-header", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", - "extract:docs": "api-extractor run --local", - "test": "yarn g:vitest run", - "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", - "test:watch": "yarn g:vitest watch", - "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" - }, - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "sideEffects": false, - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "^3.973.6", - "@smithy/protocol-http": "^5.3.12", - "@smithy/types": "^4.13.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=20.0.0" - }, - "typesVersions": { - "<4.5": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-host-header", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "packages-internal/middleware-host-header" - }, - "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "premove": "4.0.0", - "typescript": "~5.8.3" - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/LICENSE b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/LICENSE deleted file mode 100644 index 74d4e5c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/README.md b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/README.md deleted file mode 100644 index 861fa43f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# @aws-sdk/middleware-logger - -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-logger/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-logger) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-logger.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-logger) diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js deleted file mode 100644 index 584a4faa..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +++ /dev/null @@ -1,48 +0,0 @@ -'use strict'; - -const loggerMiddleware = () => (next, context) => async (args) => { - try { - const response = await next(args); - const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context; - const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions; - const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog; - const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog; - const { $metadata, ...outputWithoutMetadata } = response.output; - logger?.info?.({ - clientName, - commandName, - input: inputFilterSensitiveLog(args.input), - output: outputFilterSensitiveLog(outputWithoutMetadata), - metadata: $metadata, - }); - return response; - } - catch (error) { - const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context; - const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions; - const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog; - logger?.error?.({ - clientName, - commandName, - input: inputFilterSensitiveLog(args.input), - error, - metadata: error.$metadata, - }); - throw error; - } -}; -const loggerMiddlewareOptions = { - name: "loggerMiddleware", - tags: ["LOGGER"], - step: "initialize", - override: true, -}; -const getLoggerPlugin = (options) => ({ - applyToStack: (clientStack) => { - clientStack.add(loggerMiddleware(), loggerMiddlewareOptions); - }, -}); - -exports.getLoggerPlugin = getLoggerPlugin; -exports.loggerMiddleware = loggerMiddleware; -exports.loggerMiddlewareOptions = loggerMiddlewareOptions; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-es/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-es/index.js deleted file mode 100644 index 171e3bc5..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-es/index.js +++ /dev/null @@ -1 +0,0 @@ -export * from "./loggerMiddleware"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js deleted file mode 100644 index 50da4cca..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js +++ /dev/null @@ -1,42 +0,0 @@ -export const loggerMiddleware = () => (next, context) => async (args) => { - try { - const response = await next(args); - const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context; - const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions; - const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog; - const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog; - const { $metadata, ...outputWithoutMetadata } = response.output; - logger?.info?.({ - clientName, - commandName, - input: inputFilterSensitiveLog(args.input), - output: outputFilterSensitiveLog(outputWithoutMetadata), - metadata: $metadata, - }); - return response; - } - catch (error) { - const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context; - const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions; - const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog; - logger?.error?.({ - clientName, - commandName, - input: inputFilterSensitiveLog(args.input), - error, - metadata: error.$metadata, - }); - throw error; - } -}; -export const loggerMiddlewareOptions = { - name: "loggerMiddleware", - tags: ["LOGGER"], - step: "initialize", - override: true, -}; -export const getLoggerPlugin = (options) => ({ - applyToStack: (clientStack) => { - clientStack.add(loggerMiddleware(), loggerMiddlewareOptions); - }, -}); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/index.d.ts deleted file mode 100644 index 171e3bc5..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./loggerMiddleware"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts deleted file mode 100644 index 3aaa0dd4..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/loggerMiddleware.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import type { AbsoluteLocation, HandlerExecutionContext, InitializeHandler, InitializeHandlerOptions, MetadataBearer, Pluggable } from "@smithy/types"; -export declare const loggerMiddleware: () => (next: InitializeHandler, context: HandlerExecutionContext) => InitializeHandler; -export declare const loggerMiddlewareOptions: InitializeHandlerOptions & AbsoluteLocation; -export declare const getLoggerPlugin: (options: any) => Pluggable; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/index.d.ts deleted file mode 100644 index 171e3bc5..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./loggerMiddleware"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/loggerMiddleware.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/loggerMiddleware.d.ts deleted file mode 100644 index 10ded9e2..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/dist-types/ts3.4/loggerMiddleware.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { - AbsoluteLocation, - HandlerExecutionContext, - InitializeHandler, - InitializeHandlerOptions, - MetadataBearer, - Pluggable, -} from "@smithy/types"; -export declare const loggerMiddleware: () => < - Output extends MetadataBearer = MetadataBearer ->( - next: InitializeHandler, - context: HandlerExecutionContext -) => InitializeHandler; -export declare const loggerMiddlewareOptions: InitializeHandlerOptions & - AbsoluteLocation; -export declare const getLoggerPlugin: (options: any) => Pluggable; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/package.json b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/package.json deleted file mode 100644 index d49920cc..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-logger/package.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "name": "@aws-sdk/middleware-logger", - "version": "3.972.8", - "scripts": { - "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", - "build:cjs": "node ../../scripts/compilation/inline middleware-logger", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", - "test": "yarn g:vitest run", - "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", - "test:watch": "yarn g:vitest watch", - "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" - }, - "sideEffects": false, - "author": { - "name": "AWS SDK for JavaScript Team", - "email": "", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "dependencies": { - "@aws-sdk/types": "^3.973.6", - "@smithy/types": "^4.13.1", - "tslib": "^2.6.2" - }, - "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^20.14.8", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "premove": "4.0.0", - "typescript": "~5.8.3" - }, - "engines": { - "node": ">=20.0.0" - }, - "typesVersions": { - "<4.5": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-logger", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "packages-internal/middleware-logger" - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/LICENSE b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/LICENSE deleted file mode 100644 index e907b586..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/README.md b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/README.md deleted file mode 100644 index 5009aaad..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# @aws-sdk/middleware-recursion-detection - -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-recursion-detection/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-recursion-detection) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-recursion-detection.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-recursion-detection) - -### :warning: Internal API :warning: - -> This is an internal package. -> That means this is used as a dependency for other, public packages, but -> should not be taken directly as a dependency in your application's `package.json`. - -> If you are updating the version of this package, for example to bring in a -> bug-fix, you should do so by updating your application lockfile with -> e.g. `npm up @scope/package` or equivalent command in another -> package manager, rather than taking a direct dependency. - ---- diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js deleted file mode 100644 index 0b012126..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict'; - -var recursionDetectionMiddleware = require('./recursionDetectionMiddleware'); - -const recursionDetectionMiddlewareOptions = { - step: "build", - tags: ["RECURSION_DETECTION"], - name: "recursionDetectionMiddleware", - override: true, - priority: "low", -}; - -const getRecursionDetectionPlugin = (options) => ({ - applyToStack: (clientStack) => { - clientStack.add(recursionDetectionMiddleware.recursionDetectionMiddleware(), recursionDetectionMiddlewareOptions); - }, -}); - -exports.getRecursionDetectionPlugin = getRecursionDetectionPlugin; -Object.prototype.hasOwnProperty.call(recursionDetectionMiddleware, '__proto__') && - !Object.prototype.hasOwnProperty.call(exports, '__proto__') && - Object.defineProperty(exports, '__proto__', { - enumerable: true, - value: recursionDetectionMiddleware['__proto__'] - }); - -Object.keys(recursionDetectionMiddleware).forEach(function (k) { - if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = recursionDetectionMiddleware[k]; -}); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js deleted file mode 100644 index 1300be08..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js +++ /dev/null @@ -1,33 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.recursionDetectionMiddleware = void 0; -const lambda_invoke_store_1 = require("@aws/lambda-invoke-store"); -const protocol_http_1 = require("@smithy/protocol-http"); -const TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id"; -const ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME"; -const ENV_TRACE_ID = "_X_AMZN_TRACE_ID"; -const recursionDetectionMiddleware = () => (next) => async (args) => { - const { request } = args; - if (!protocol_http_1.HttpRequest.isInstance(request)) { - return next(args); - } - const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? - TRACE_ID_HEADER_NAME; - if (request.headers.hasOwnProperty(traceIdHeader)) { - return next(args); - } - const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME]; - const traceIdFromEnv = process.env[ENV_TRACE_ID]; - const invokeStore = await lambda_invoke_store_1.InvokeStore.getInstanceAsync(); - const traceIdFromInvokeStore = invokeStore?.getXRayTraceId(); - const traceId = traceIdFromInvokeStore ?? traceIdFromEnv; - const nonEmptyString = (str) => typeof str === "string" && str.length > 0; - if (nonEmptyString(functionName) && nonEmptyString(traceId)) { - request.headers[TRACE_ID_HEADER_NAME] = traceId; - } - return next({ - ...args, - request, - }); -}; -exports.recursionDetectionMiddleware = recursionDetectionMiddleware; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js deleted file mode 100644 index fb265104..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.native.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.recursionDetectionMiddleware = void 0; -const recursionDetectionMiddleware = () => (next) => async (args) => next(args); -exports.recursionDetectionMiddleware = recursionDetectionMiddleware; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/configuration.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/configuration.js deleted file mode 100644 index 059715f6..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/configuration.js +++ /dev/null @@ -1,7 +0,0 @@ -export const recursionDetectionMiddlewareOptions = { - step: "build", - tags: ["RECURSION_DETECTION"], - name: "recursionDetectionMiddleware", - override: true, - priority: "low", -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/getRecursionDetectionPlugin.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/getRecursionDetectionPlugin.js deleted file mode 100644 index 3a35e020..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/getRecursionDetectionPlugin.js +++ /dev/null @@ -1,7 +0,0 @@ -import { recursionDetectionMiddlewareOptions } from "./configuration"; -import { recursionDetectionMiddleware } from "./recursionDetectionMiddleware"; -export const getRecursionDetectionPlugin = (options) => ({ - applyToStack: (clientStack) => { - clientStack.add(recursionDetectionMiddleware(), recursionDetectionMiddlewareOptions); - }, -}); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js deleted file mode 100644 index 88e92b67..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./getRecursionDetectionPlugin"; -export * from "./recursionDetectionMiddleware"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.browser.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.browser.js deleted file mode 100644 index 74f4d0ff..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.browser.js +++ /dev/null @@ -1 +0,0 @@ -export const recursionDetectionMiddleware = () => (next) => async (args) => next(args); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js deleted file mode 100644 index 5deb6b4c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.js +++ /dev/null @@ -1,29 +0,0 @@ -import { InvokeStore } from "@aws/lambda-invoke-store"; -import { HttpRequest } from "@smithy/protocol-http"; -const TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id"; -const ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME"; -const ENV_TRACE_ID = "_X_AMZN_TRACE_ID"; -export const recursionDetectionMiddleware = () => (next) => async (args) => { - const { request } = args; - if (!HttpRequest.isInstance(request)) { - return next(args); - } - const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ?? - TRACE_ID_HEADER_NAME; - if (request.headers.hasOwnProperty(traceIdHeader)) { - return next(args); - } - const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME]; - const traceIdFromEnv = process.env[ENV_TRACE_ID]; - const invokeStore = await InvokeStore.getInstanceAsync(); - const traceIdFromInvokeStore = invokeStore?.getXRayTraceId(); - const traceId = traceIdFromInvokeStore ?? traceIdFromEnv; - const nonEmptyString = (str) => typeof str === "string" && str.length > 0; - if (nonEmptyString(functionName) && nonEmptyString(traceId)) { - request.headers[TRACE_ID_HEADER_NAME] = traceId; - } - return next({ - ...args, - request, - }); -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.native.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.native.js deleted file mode 100644 index 74f4d0ff..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-es/recursionDetectionMiddleware.native.js +++ /dev/null @@ -1 +0,0 @@ -export const recursionDetectionMiddleware = () => (next) => async (args) => next(args); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts deleted file mode 100644 index 83243af0..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { AbsoluteLocation, BuildHandlerOptions } from "@smithy/types"; -/** - * @internal - */ -export declare const recursionDetectionMiddlewareOptions: BuildHandlerOptions & AbsoluteLocation; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts deleted file mode 100644 index 27a7c120..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { Pluggable } from "@smithy/types"; -/** - * @internal - */ -export declare const getRecursionDetectionPlugin: (options: any) => Pluggable; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/index.d.ts deleted file mode 100644 index 88e92b67..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./getRecursionDetectionPlugin"; -export * from "./recursionDetectionMiddleware"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts deleted file mode 100644 index c1998259..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { BuildMiddleware } from "@smithy/types"; -/** - * No-op middleware for runtimes outside of Node.js - * @internal - */ -export declare const recursionDetectionMiddleware: () => BuildMiddleware; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts deleted file mode 100644 index b8a39d53..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { BuildMiddleware } from "@smithy/types"; -/** - * Inject to trace ID to request header to detect recursion invocation in Lambda. - * @internal - */ -export declare const recursionDetectionMiddleware: () => BuildMiddleware; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts deleted file mode 100644 index c1998259..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { BuildMiddleware } from "@smithy/types"; -/** - * No-op middleware for runtimes outside of Node.js - * @internal - */ -export declare const recursionDetectionMiddleware: () => BuildMiddleware; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/configuration.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/configuration.d.ts deleted file mode 100644 index 2ff25448..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/configuration.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { AbsoluteLocation, BuildHandlerOptions } from "@smithy/types"; -export declare const recursionDetectionMiddlewareOptions: BuildHandlerOptions & - AbsoluteLocation; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/getRecursionDetectionPlugin.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/getRecursionDetectionPlugin.d.ts deleted file mode 100644 index cf326ddf..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/getRecursionDetectionPlugin.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { Pluggable } from "@smithy/types"; -export declare const getRecursionDetectionPlugin: ( - options: any -) => Pluggable; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/index.d.ts deleted file mode 100644 index 88e92b67..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./getRecursionDetectionPlugin"; -export * from "./recursionDetectionMiddleware"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.browser.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.browser.d.ts deleted file mode 100644 index 3981c316..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.browser.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { BuildMiddleware } from "@smithy/types"; -export declare const recursionDetectionMiddleware: () => BuildMiddleware< - any, - any ->; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.d.ts deleted file mode 100644 index 3981c316..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { BuildMiddleware } from "@smithy/types"; -export declare const recursionDetectionMiddleware: () => BuildMiddleware< - any, - any ->; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.native.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.native.d.ts deleted file mode 100644 index 3981c316..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/ts3.4/recursionDetectionMiddleware.native.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { BuildMiddleware } from "@smithy/types"; -export declare const recursionDetectionMiddleware: () => BuildMiddleware< - any, - any ->; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/package.json b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/package.json deleted file mode 100644 index 8a1bf4b6..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-recursion-detection/package.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "name": "@aws-sdk/middleware-recursion-detection", - "version": "3.972.9", - "scripts": { - "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", - "build:cjs": "node ../../scripts/compilation/inline middleware-recursion-detection", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", - "test": "yarn g:vitest run", - "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", - "test:watch": "yarn g:vitest watch", - "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" - }, - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "sideEffects": false, - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "^3.973.6", - "@aws/lambda-invoke-store": "^0.2.2", - "@smithy/protocol-http": "^5.3.12", - "@smithy/types": "^4.13.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=20.0.0" - }, - "typesVersions": { - "<4.5": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-recursion-detection", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "packages-internal/middleware-recursion-detection" - }, - "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "premove": "4.0.0", - "typescript": "~5.8.3" - }, - "browser": { - "./dist-es/recursionDetectionMiddleware": "./dist-es/recursionDetectionMiddleware.browser" - }, - "react-native": {} -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/LICENSE b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/LICENSE deleted file mode 100644 index e907b586..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/README.md b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/README.md deleted file mode 100644 index a0bf1a92..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# @aws-sdk/middleware-user-agent - -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/middleware-user-agent/latest.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-user-agent) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/middleware-user-agent.svg)](https://www.npmjs.com/package/@aws-sdk/middleware-user-agent) diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js deleted file mode 100644 index 20ebb900..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +++ /dev/null @@ -1,194 +0,0 @@ -'use strict'; - -var core = require('@smithy/core'); -var utilEndpoints = require('@aws-sdk/util-endpoints'); -var protocolHttp = require('@smithy/protocol-http'); -var core$1 = require('@aws-sdk/core'); -var utilRetry = require('@smithy/util-retry'); - -const DEFAULT_UA_APP_ID = undefined; -function isValidUserAgentAppId(appId) { - if (appId === undefined) { - return true; - } - return typeof appId === "string" && appId.length <= 50; -} -function resolveUserAgentConfig(input) { - const normalizedAppIdProvider = core.normalizeProvider(input.userAgentAppId ?? DEFAULT_UA_APP_ID); - const { customUserAgent } = input; - return Object.assign(input, { - customUserAgent: typeof customUserAgent === "string" ? [[customUserAgent]] : customUserAgent, - userAgentAppId: async () => { - const appId = await normalizedAppIdProvider(); - if (!isValidUserAgentAppId(appId)) { - const logger = input.logger?.constructor?.name === "NoOpLogger" || !input.logger ? console : input.logger; - if (typeof appId !== "string") { - logger?.warn("userAgentAppId must be a string or undefined."); - } - else if (appId.length > 50) { - logger?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters."); - } - } - return appId; - }, - }); -} - -const ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/; -async function checkFeatures(context, config, args) { - const request = args.request; - if (request?.headers?.["smithy-protocol"] === "rpc-v2-cbor") { - core$1.setFeature(context, "PROTOCOL_RPC_V2_CBOR", "M"); - } - if (typeof config.retryStrategy === "function") { - const retryStrategy = await config.retryStrategy(); - if (typeof retryStrategy.mode === "string") { - switch (retryStrategy.mode) { - case utilRetry.RETRY_MODES.ADAPTIVE: - core$1.setFeature(context, "RETRY_MODE_ADAPTIVE", "F"); - break; - case utilRetry.RETRY_MODES.STANDARD: - core$1.setFeature(context, "RETRY_MODE_STANDARD", "E"); - break; - } - } - } - if (typeof config.accountIdEndpointMode === "function") { - const endpointV2 = context.endpointV2; - if (String(endpointV2?.url?.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) { - core$1.setFeature(context, "ACCOUNT_ID_ENDPOINT", "O"); - } - switch (await config.accountIdEndpointMode?.()) { - case "disabled": - core$1.setFeature(context, "ACCOUNT_ID_MODE_DISABLED", "Q"); - break; - case "preferred": - core$1.setFeature(context, "ACCOUNT_ID_MODE_PREFERRED", "P"); - break; - case "required": - core$1.setFeature(context, "ACCOUNT_ID_MODE_REQUIRED", "R"); - break; - } - } - const identity = context.__smithy_context?.selectedHttpAuthScheme?.identity; - if (identity?.$source) { - const credentials = identity; - if (credentials.accountId) { - core$1.setFeature(context, "RESOLVED_ACCOUNT_ID", "T"); - } - for (const [key, value] of Object.entries(credentials.$source ?? {})) { - core$1.setFeature(context, key, value); - } - } -} - -const USER_AGENT = "user-agent"; -const X_AMZ_USER_AGENT = "x-amz-user-agent"; -const SPACE = " "; -const UA_NAME_SEPARATOR = "/"; -const UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w]/g; -const UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w#]/g; -const UA_ESCAPE_CHAR = "-"; - -const BYTE_LIMIT = 1024; -function encodeFeatures(features) { - let buffer = ""; - for (const key in features) { - const val = features[key]; - if (buffer.length + val.length + 1 <= BYTE_LIMIT) { - if (buffer.length) { - buffer += "," + val; - } - else { - buffer += val; - } - continue; - } - break; - } - return buffer; -} - -const userAgentMiddleware = (options) => (next, context) => async (args) => { - const { request } = args; - if (!protocolHttp.HttpRequest.isInstance(request)) { - return next(args); - } - const { headers } = request; - const userAgent = context?.userAgent?.map(escapeUserAgent) || []; - const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent); - await checkFeatures(context, options, args); - const awsContext = context; - defaultUserAgent.push(`m/${encodeFeatures(Object.assign({}, context.__smithy_context?.features, awsContext.__aws_sdk_context?.features))}`); - const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || []; - const appId = await options.userAgentAppId(); - if (appId) { - defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`])); - } - const prefix = utilEndpoints.getUserAgentPrefix(); - const sdkUserAgentValue = (prefix ? [prefix] : []) - .concat([...defaultUserAgent, ...userAgent, ...customUserAgent]) - .join(SPACE); - const normalUAValue = [ - ...defaultUserAgent.filter((section) => section.startsWith("aws-sdk-")), - ...customUserAgent, - ].join(SPACE); - if (options.runtime !== "browser") { - if (normalUAValue) { - headers[X_AMZ_USER_AGENT] = headers[X_AMZ_USER_AGENT] - ? `${headers[USER_AGENT]} ${normalUAValue}` - : normalUAValue; - } - headers[USER_AGENT] = sdkUserAgentValue; - } - else { - headers[X_AMZ_USER_AGENT] = sdkUserAgentValue; - } - return next({ - ...args, - request, - }); -}; -const escapeUserAgent = (userAgentPair) => { - const name = userAgentPair[0] - .split(UA_NAME_SEPARATOR) - .map((part) => part.replace(UA_NAME_ESCAPE_REGEX, UA_ESCAPE_CHAR)) - .join(UA_NAME_SEPARATOR); - const version = userAgentPair[1]?.replace(UA_VALUE_ESCAPE_REGEX, UA_ESCAPE_CHAR); - const prefixSeparatorIndex = name.indexOf(UA_NAME_SEPARATOR); - const prefix = name.substring(0, prefixSeparatorIndex); - let uaName = name.substring(prefixSeparatorIndex + 1); - if (prefix === "api") { - uaName = uaName.toLowerCase(); - } - return [prefix, uaName, version] - .filter((item) => item && item.length > 0) - .reduce((acc, item, index) => { - switch (index) { - case 0: - return item; - case 1: - return `${acc}/${item}`; - default: - return `${acc}#${item}`; - } - }, ""); -}; -const getUserAgentMiddlewareOptions = { - name: "getUserAgentMiddleware", - step: "build", - priority: "low", - tags: ["SET_USER_AGENT", "USER_AGENT"], - override: true, -}; -const getUserAgentPlugin = (config) => ({ - applyToStack: (clientStack) => { - clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions); - }, -}); - -exports.DEFAULT_UA_APP_ID = DEFAULT_UA_APP_ID; -exports.getUserAgentMiddlewareOptions = getUserAgentMiddlewareOptions; -exports.getUserAgentPlugin = getUserAgentPlugin; -exports.resolveUserAgentConfig = resolveUserAgentConfig; -exports.userAgentMiddleware = userAgentMiddleware; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js deleted file mode 100644 index af384b1c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +++ /dev/null @@ -1,49 +0,0 @@ -import { setFeature } from "@aws-sdk/core"; -import { RETRY_MODES } from "@smithy/util-retry"; -const ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/; -export async function checkFeatures(context, config, args) { - const request = args.request; - if (request?.headers?.["smithy-protocol"] === "rpc-v2-cbor") { - setFeature(context, "PROTOCOL_RPC_V2_CBOR", "M"); - } - if (typeof config.retryStrategy === "function") { - const retryStrategy = await config.retryStrategy(); - if (typeof retryStrategy.mode === "string") { - switch (retryStrategy.mode) { - case RETRY_MODES.ADAPTIVE: - setFeature(context, "RETRY_MODE_ADAPTIVE", "F"); - break; - case RETRY_MODES.STANDARD: - setFeature(context, "RETRY_MODE_STANDARD", "E"); - break; - } - } - } - if (typeof config.accountIdEndpointMode === "function") { - const endpointV2 = context.endpointV2; - if (String(endpointV2?.url?.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) { - setFeature(context, "ACCOUNT_ID_ENDPOINT", "O"); - } - switch (await config.accountIdEndpointMode?.()) { - case "disabled": - setFeature(context, "ACCOUNT_ID_MODE_DISABLED", "Q"); - break; - case "preferred": - setFeature(context, "ACCOUNT_ID_MODE_PREFERRED", "P"); - break; - case "required": - setFeature(context, "ACCOUNT_ID_MODE_REQUIRED", "R"); - break; - } - } - const identity = context.__smithy_context?.selectedHttpAuthScheme?.identity; - if (identity?.$source) { - const credentials = identity; - if (credentials.accountId) { - setFeature(context, "RESOLVED_ACCOUNT_ID", "T"); - } - for (const [key, value] of Object.entries(credentials.$source ?? {})) { - setFeature(context, key, value); - } - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js deleted file mode 100644 index 7fff0875..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +++ /dev/null @@ -1,28 +0,0 @@ -import { normalizeProvider } from "@smithy/core"; -export const DEFAULT_UA_APP_ID = undefined; -function isValidUserAgentAppId(appId) { - if (appId === undefined) { - return true; - } - return typeof appId === "string" && appId.length <= 50; -} -export function resolveUserAgentConfig(input) { - const normalizedAppIdProvider = normalizeProvider(input.userAgentAppId ?? DEFAULT_UA_APP_ID); - const { customUserAgent } = input; - return Object.assign(input, { - customUserAgent: typeof customUserAgent === "string" ? [[customUserAgent]] : customUserAgent, - userAgentAppId: async () => { - const appId = await normalizedAppIdProvider(); - if (!isValidUserAgentAppId(appId)) { - const logger = input.logger?.constructor?.name === "NoOpLogger" || !input.logger ? console : input.logger; - if (typeof appId !== "string") { - logger?.warn("userAgentAppId must be a string or undefined."); - } - else if (appId.length > 50) { - logger?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters."); - } - } - return appId; - }, - }); -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js deleted file mode 100644 index 3d238932..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js +++ /dev/null @@ -1,7 +0,0 @@ -export const USER_AGENT = "user-agent"; -export const X_AMZ_USER_AGENT = "x-amz-user-agent"; -export const SPACE = " "; -export const UA_NAME_SEPARATOR = "/"; -export const UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w]/g; -export const UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\-.^_`|~\w#]/g; -export const UA_ESCAPE_CHAR = "-"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js deleted file mode 100644 index 23002b6a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js +++ /dev/null @@ -1,18 +0,0 @@ -const BYTE_LIMIT = 1024; -export function encodeFeatures(features) { - let buffer = ""; - for (const key in features) { - const val = features[key]; - if (buffer.length + val.length + 1 <= BYTE_LIMIT) { - if (buffer.length) { - buffer += "," + val; - } - else { - buffer += val; - } - continue; - } - break; - } - return buffer; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js deleted file mode 100644 index 0456ec7b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./configurations"; -export * from "./user-agent-middleware"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js deleted file mode 100644 index 7085ec6d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +++ /dev/null @@ -1,82 +0,0 @@ -import { getUserAgentPrefix } from "@aws-sdk/util-endpoints"; -import { HttpRequest } from "@smithy/protocol-http"; -import { checkFeatures } from "./check-features"; -import { SPACE, UA_ESCAPE_CHAR, UA_NAME_ESCAPE_REGEX, UA_NAME_SEPARATOR, UA_VALUE_ESCAPE_REGEX, USER_AGENT, X_AMZ_USER_AGENT, } from "./constants"; -import { encodeFeatures } from "./encode-features"; -export const userAgentMiddleware = (options) => (next, context) => async (args) => { - const { request } = args; - if (!HttpRequest.isInstance(request)) { - return next(args); - } - const { headers } = request; - const userAgent = context?.userAgent?.map(escapeUserAgent) || []; - const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent); - await checkFeatures(context, options, args); - const awsContext = context; - defaultUserAgent.push(`m/${encodeFeatures(Object.assign({}, context.__smithy_context?.features, awsContext.__aws_sdk_context?.features))}`); - const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || []; - const appId = await options.userAgentAppId(); - if (appId) { - defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`])); - } - const prefix = getUserAgentPrefix(); - const sdkUserAgentValue = (prefix ? [prefix] : []) - .concat([...defaultUserAgent, ...userAgent, ...customUserAgent]) - .join(SPACE); - const normalUAValue = [ - ...defaultUserAgent.filter((section) => section.startsWith("aws-sdk-")), - ...customUserAgent, - ].join(SPACE); - if (options.runtime !== "browser") { - if (normalUAValue) { - headers[X_AMZ_USER_AGENT] = headers[X_AMZ_USER_AGENT] - ? `${headers[USER_AGENT]} ${normalUAValue}` - : normalUAValue; - } - headers[USER_AGENT] = sdkUserAgentValue; - } - else { - headers[X_AMZ_USER_AGENT] = sdkUserAgentValue; - } - return next({ - ...args, - request, - }); -}; -const escapeUserAgent = (userAgentPair) => { - const name = userAgentPair[0] - .split(UA_NAME_SEPARATOR) - .map((part) => part.replace(UA_NAME_ESCAPE_REGEX, UA_ESCAPE_CHAR)) - .join(UA_NAME_SEPARATOR); - const version = userAgentPair[1]?.replace(UA_VALUE_ESCAPE_REGEX, UA_ESCAPE_CHAR); - const prefixSeparatorIndex = name.indexOf(UA_NAME_SEPARATOR); - const prefix = name.substring(0, prefixSeparatorIndex); - let uaName = name.substring(prefixSeparatorIndex + 1); - if (prefix === "api") { - uaName = uaName.toLowerCase(); - } - return [prefix, uaName, version] - .filter((item) => item && item.length > 0) - .reduce((acc, item, index) => { - switch (index) { - case 0: - return item; - case 1: - return `${acc}/${item}`; - default: - return `${acc}#${item}`; - } - }, ""); -}; -export const getUserAgentMiddlewareOptions = { - name: "getUserAgentMiddleware", - step: "build", - priority: "low", - tags: ["SET_USER_AGENT", "USER_AGENT"], - override: true, -}; -export const getUserAgentPlugin = (config) => ({ - applyToStack: (clientStack) => { - clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions); - }, -}); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts deleted file mode 100644 index fc8c17c2..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import type { AccountIdEndpointMode } from "@aws-sdk/core/account-id-endpoint"; -import type { AwsHandlerExecutionContext } from "@aws-sdk/types"; -import type { AwsCredentialIdentityProvider, BuildHandlerArguments, Provider } from "@smithy/types"; -/** - * @internal - */ -type PreviouslyResolved = Partial<{ - credentials?: AwsCredentialIdentityProvider; - accountIdEndpointMode?: Provider; - retryStrategy?: Provider<{ - mode?: string; - }>; -}>; -/** - * @internal - * Check for features that don't have a middleware activation site but - * may be detected on the context, client config, or request. - */ -export declare function checkFeatures(context: AwsHandlerExecutionContext, config: PreviouslyResolved, args: BuildHandlerArguments): Promise; -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts deleted file mode 100644 index cfed6704..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import type { Logger, Provider, UserAgent } from "@smithy/types"; -/** - * @internal - */ -export declare const DEFAULT_UA_APP_ID: undefined; -/** - * @public - */ -export interface UserAgentInputConfig { - /** - * The custom user agent header that would be appended to default one - */ - customUserAgent?: string | UserAgent; - /** - * The application ID used to identify the application. - */ - userAgentAppId?: string | undefined | Provider; -} -interface PreviouslyResolved { - defaultUserAgentProvider: Provider; - runtime: string; - logger?: Logger; -} -export interface UserAgentResolvedConfig { - /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header. - * @internal - */ - defaultUserAgentProvider: Provider; - /** - * The custom user agent header that would be appended to default one - */ - customUserAgent?: UserAgent; - /** - * The runtime environment - */ - runtime: string; - /** - * Resolved value for input config {config.userAgentAppId} - */ - userAgentAppId: Provider; -} -export declare function resolveUserAgentConfig(input: T & PreviouslyResolved & UserAgentInputConfig): T & UserAgentResolvedConfig; -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/constants.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/constants.d.ts deleted file mode 100644 index 8c0dfc93..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/constants.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare const USER_AGENT = "user-agent"; -export declare const X_AMZ_USER_AGENT = "x-amz-user-agent"; -export declare const SPACE = " "; -export declare const UA_NAME_SEPARATOR = "/"; -export declare const UA_NAME_ESCAPE_REGEX: RegExp; -export declare const UA_VALUE_ESCAPE_REGEX: RegExp; -export declare const UA_ESCAPE_CHAR = "-"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts deleted file mode 100644 index d6079ae2..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { AwsSdkFeatures } from "@aws-sdk/types"; -/** - * @internal - */ -export declare function encodeFeatures(features: AwsSdkFeatures): string; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/index.d.ts deleted file mode 100644 index 0456ec7b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./configurations"; -export * from "./user-agent-middleware"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts deleted file mode 100644 index d1aa1020..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { AccountIdEndpointMode } from "@aws-sdk/core/account-id-endpoint"; -import { AwsHandlerExecutionContext } from "@aws-sdk/types"; -import { - AwsCredentialIdentityProvider, - BuildHandlerArguments, - Provider, -} from "@smithy/types"; -type PreviouslyResolved = Partial<{ - credentials?: AwsCredentialIdentityProvider; - accountIdEndpointMode?: Provider; - retryStrategy?: Provider<{ - mode?: string; - }>; -}>; -export declare function checkFeatures( - context: AwsHandlerExecutionContext, - config: PreviouslyResolved, - args: BuildHandlerArguments -): Promise; -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts deleted file mode 100644 index a4a1b108..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Logger, Provider, UserAgent } from "@smithy/types"; -export declare const DEFAULT_UA_APP_ID: undefined; -export interface UserAgentInputConfig { - customUserAgent?: string | UserAgent; - userAgentAppId?: string | undefined | Provider; -} -interface PreviouslyResolved { - defaultUserAgentProvider: Provider; - runtime: string; - logger?: Logger; -} -export interface UserAgentResolvedConfig { - defaultUserAgentProvider: Provider; - customUserAgent?: UserAgent; - runtime: string; - userAgentAppId: Provider; -} -export declare function resolveUserAgentConfig( - input: T & PreviouslyResolved & UserAgentInputConfig -): T & UserAgentResolvedConfig; -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/constants.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/constants.d.ts deleted file mode 100644 index 8c0dfc93..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/constants.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -export declare const USER_AGENT = "user-agent"; -export declare const X_AMZ_USER_AGENT = "x-amz-user-agent"; -export declare const SPACE = " "; -export declare const UA_NAME_SEPARATOR = "/"; -export declare const UA_NAME_ESCAPE_REGEX: RegExp; -export declare const UA_VALUE_ESCAPE_REGEX: RegExp; -export declare const UA_ESCAPE_CHAR = "-"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts deleted file mode 100644 index a7be5b71..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { AwsSdkFeatures } from "@aws-sdk/types"; -export declare function encodeFeatures(features: AwsSdkFeatures): string; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/index.d.ts deleted file mode 100644 index 0456ec7b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./configurations"; -export * from "./user-agent-middleware"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts deleted file mode 100644 index a4da01e8..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { AwsHandlerExecutionContext } from "@aws-sdk/types"; -import { - AbsoluteLocation, - BuildHandler, - BuildHandlerOptions, - HandlerExecutionContext, - MetadataBearer, - Pluggable, -} from "@smithy/types"; -import { UserAgentResolvedConfig } from "./configurations"; -export declare const userAgentMiddleware: ( - options: UserAgentResolvedConfig -) => ( - next: BuildHandler, - context: HandlerExecutionContext | AwsHandlerExecutionContext -) => BuildHandler; -export declare const getUserAgentMiddlewareOptions: BuildHandlerOptions & - AbsoluteLocation; -export declare const getUserAgentPlugin: ( - config: UserAgentResolvedConfig -) => Pluggable; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts deleted file mode 100644 index d2096c92..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import type { AwsHandlerExecutionContext } from "@aws-sdk/types"; -import type { AbsoluteLocation, BuildHandler, BuildHandlerOptions, HandlerExecutionContext, MetadataBearer, Pluggable } from "@smithy/types"; -import type { UserAgentResolvedConfig } from "./configurations"; -/** - * Build user agent header sections from: - * 1. runtime-specific default user agent provider; - * 2. custom user agent from `customUserAgent` client config; - * 3. handler execution context set by internal SDK components; - * The built user agent will be set to `x-amz-user-agent` header for ALL the - * runtimes. - * Please note that any override to the `user-agent` or `x-amz-user-agent` header - * in the HTTP request is discouraged. Please use `customUserAgent` client - * config or middleware setting the `userAgent` context to generate desired user - * agent. - */ -export declare const userAgentMiddleware: (options: UserAgentResolvedConfig) => (next: BuildHandler, context: HandlerExecutionContext | AwsHandlerExecutionContext) => BuildHandler; -export declare const getUserAgentMiddlewareOptions: BuildHandlerOptions & AbsoluteLocation; -export declare const getUserAgentPlugin: (config: UserAgentResolvedConfig) => Pluggable; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/package.json b/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/package.json deleted file mode 100644 index aae59adb..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/middleware-user-agent/package.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "name": "@aws-sdk/middleware-user-agent", - "version": "3.972.26", - "scripts": { - "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", - "build:cjs": "node ../../scripts/compilation/inline middleware-user-agent", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", - "test": "yarn g:vitest run", - "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", - "extract:docs": "api-extractor run --local", - "test:watch": "yarn g:vitest watch", - "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" - }, - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "sideEffects": false, - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/core": "^3.973.25", - "@aws-sdk/types": "^3.973.6", - "@aws-sdk/util-endpoints": "^3.996.5", - "@smithy/core": "^3.23.12", - "@smithy/protocol-http": "^5.3.12", - "@smithy/types": "^4.13.1", - "@smithy/util-retry": "^4.2.12", - "tslib": "^2.6.2" - }, - "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "premove": "4.0.0", - "typescript": "~5.8.3" - }, - "engines": { - "node": ">=20.0.0" - }, - "typesVersions": { - "<4.5": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-user-agent", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "packages-internal/middleware-user-agent" - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/LICENSE b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/LICENSE deleted file mode 100644 index 7b6491ba..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/README.md b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/README.md deleted file mode 100644 index d3e137b5..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @aws-sdk/region-config-resolver - -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/region-config-resolver/latest.svg)](https://www.npmjs.com/package/@aws-sdk/region-config-resolver) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/region-config-resolver.svg)](https://www.npmjs.com/package/@aws-sdk/region-config-resolver) - -### :warning: Internal API :warning: - -> This is an internal package. -> That means this is used as a dependency for other, public packages, but -> should not be taken directly as a dependency in your application's `package.json`. - -> If you are updating the version of this package, for example to bring in a -> bug-fix, you should do so by updating your application lockfile with -> e.g. `npm up @scope/package` or equivalent command in another -> package manager, rather than taking a direct dependency. - ---- - -This package provides utilities for AWS region config resolvers. diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js deleted file mode 100644 index 4cc1f1de..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +++ /dev/null @@ -1,38 +0,0 @@ -'use strict'; - -var stsRegionDefaultResolver = require('./regionConfig/stsRegionDefaultResolver'); -var configResolver = require('@smithy/config-resolver'); - -const getAwsRegionExtensionConfiguration = (runtimeConfig) => { - return { - setRegion(region) { - runtimeConfig.region = region; - }, - region() { - return runtimeConfig.region; - }, - }; -}; -const resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) => { - return { - region: awsRegionExtensionConfiguration.region(), - }; -}; - -exports.NODE_REGION_CONFIG_FILE_OPTIONS = configResolver.NODE_REGION_CONFIG_FILE_OPTIONS; -exports.NODE_REGION_CONFIG_OPTIONS = configResolver.NODE_REGION_CONFIG_OPTIONS; -exports.REGION_ENV_NAME = configResolver.REGION_ENV_NAME; -exports.REGION_INI_NAME = configResolver.REGION_INI_NAME; -exports.resolveRegionConfig = configResolver.resolveRegionConfig; -exports.getAwsRegionExtensionConfiguration = getAwsRegionExtensionConfiguration; -exports.resolveAwsRegionExtensionConfiguration = resolveAwsRegionExtensionConfiguration; -Object.prototype.hasOwnProperty.call(stsRegionDefaultResolver, '__proto__') && - !Object.prototype.hasOwnProperty.call(exports, '__proto__') && - Object.defineProperty(exports, '__proto__', { - enumerable: true, - value: stsRegionDefaultResolver['__proto__'] - }); - -Object.keys(stsRegionDefaultResolver).forEach(function (k) { - if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = stsRegionDefaultResolver[k]; -}); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js deleted file mode 100644 index 30d06fbd..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.warning = void 0; -exports.stsRegionDefaultResolver = stsRegionDefaultResolver; -const config_resolver_1 = require("@smithy/config-resolver"); -const node_config_provider_1 = require("@smithy/node-config-provider"); -function stsRegionDefaultResolver(loaderConfig = {}) { - return (0, node_config_provider_1.loadConfig)({ - ...config_resolver_1.NODE_REGION_CONFIG_OPTIONS, - async default() { - if (!exports.warning.silence) { - console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly."); - } - return "us-east-1"; - }, - }, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }); -} -exports.warning = { - silence: false, -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.native.js b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.native.js deleted file mode 100644 index 78908f9c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.native.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.stsRegionDefaultResolver = stsRegionDefaultResolver; -function stsRegionDefaultResolver() { - return async () => "us-east-1"; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js deleted file mode 100644 index eb033149..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +++ /dev/null @@ -1,15 +0,0 @@ -export const getAwsRegionExtensionConfiguration = (runtimeConfig) => { - return { - setRegion(region) { - runtimeConfig.region = region; - }, - region() { - return runtimeConfig.region; - }, - }; -}; -export const resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) => { - return { - region: awsRegionExtensionConfiguration.region(), - }; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js deleted file mode 100644 index d685b15d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./extensions"; -export * from "./regionConfig/awsRegionConfig"; -export * from "./regionConfig/stsRegionDefaultResolver"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js deleted file mode 100644 index 533ee072..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/awsRegionConfig.js +++ /dev/null @@ -1,2 +0,0 @@ -export { REGION_ENV_NAME, REGION_INI_NAME, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, } from "@smithy/config-resolver"; -export { resolveRegionConfig } from "@smithy/config-resolver"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.browser.js b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.browser.js deleted file mode 100644 index 63fb0c61..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.browser.js +++ /dev/null @@ -1,3 +0,0 @@ -export function stsRegionDefaultResolver() { - return async () => "us-east-1"; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.js b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.js deleted file mode 100644 index c6875555..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.js +++ /dev/null @@ -1,16 +0,0 @@ -import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@smithy/config-resolver"; -import { loadConfig } from "@smithy/node-config-provider"; -export function stsRegionDefaultResolver(loaderConfig = {}) { - return loadConfig({ - ...NODE_REGION_CONFIG_OPTIONS, - async default() { - if (!warning.silence) { - console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly."); - } - return "us-east-1"; - }, - }, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }); -} -export const warning = { - silence: false, -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.native.js b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.native.js deleted file mode 100644 index 63fb0c61..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/stsRegionDefaultResolver.native.js +++ /dev/null @@ -1,3 +0,0 @@ -export function stsRegionDefaultResolver() { - return async () => "us-east-1"; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts deleted file mode 100644 index acb4330f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; -import type { Provider } from "@smithy/types"; -export type RegionExtensionRuntimeConfigType = Partial<{ - region: string | Provider; -}>; -/** - * @internal - */ -export declare const getAwsRegionExtensionConfiguration: (runtimeConfig: RegionExtensionRuntimeConfigType) => { - setRegion(region: Provider): void; - region(): Provider; -}; -/** - * @internal - */ -export declare const resolveAwsRegionExtensionConfiguration: (awsRegionExtensionConfiguration: AwsRegionExtensionConfiguration) => RegionExtensionRuntimeConfigType; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts deleted file mode 100644 index d685b15d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./extensions"; -export * from "./regionConfig/awsRegionConfig"; -export * from "./regionConfig/stsRegionDefaultResolver"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/awsRegionConfig.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/awsRegionConfig.d.ts deleted file mode 100644 index aa5e1930..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/awsRegionConfig.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Backward compatibility re-export alias. - * @internal - */ -export { REGION_ENV_NAME, REGION_INI_NAME, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, } from "@smithy/config-resolver"; -/** - * Backward compatibility re-export alias. - * @internal - */ -export type { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver"; -/** - * Backward compatibility re-export alias. - * @internal - */ -export { resolveRegionConfig } from "@smithy/config-resolver"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.browser.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.browser.d.ts deleted file mode 100644 index d0a147f2..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.browser.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * @internal - */ -export declare function stsRegionDefaultResolver(): () => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.d.ts deleted file mode 100644 index fc52c8a7..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { type LocalConfigOptions } from "@smithy/node-config-provider"; -/** - * Default region provider for STS when used as an inner client. - * Differs from the default region resolver in that us-east-1 is the fallback instead of throwing an error. - * - * @internal - */ -export declare function stsRegionDefaultResolver(loaderConfig?: LocalConfigOptions): import("@smithy/types").Provider; -/** - * @internal - */ -export declare const warning: { - silence: boolean; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.native.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.native.d.ts deleted file mode 100644 index d0a147f2..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/stsRegionDefaultResolver.native.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * @internal - */ -export declare function stsRegionDefaultResolver(): () => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/extensions/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/extensions/index.d.ts deleted file mode 100644 index c1328e3e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/extensions/index.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; -import { Provider } from "@smithy/types"; -export type RegionExtensionRuntimeConfigType = Partial<{ - region: string | Provider; -}>; -export declare const getAwsRegionExtensionConfiguration: ( - runtimeConfig: RegionExtensionRuntimeConfigType -) => { - setRegion(region: Provider): void; - region(): Provider; -}; -export declare const resolveAwsRegionExtensionConfiguration: ( - awsRegionExtensionConfiguration: AwsRegionExtensionConfiguration -) => RegionExtensionRuntimeConfigType; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts deleted file mode 100644 index d685b15d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./extensions"; -export * from "./regionConfig/awsRegionConfig"; -export * from "./regionConfig/stsRegionDefaultResolver"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/awsRegionConfig.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/awsRegionConfig.d.ts deleted file mode 100644 index d430fa69..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/awsRegionConfig.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export { - REGION_ENV_NAME, - REGION_INI_NAME, - NODE_REGION_CONFIG_OPTIONS, - NODE_REGION_CONFIG_FILE_OPTIONS, -} from "@smithy/config-resolver"; -export { - RegionInputConfig, - RegionResolvedConfig, -} from "@smithy/config-resolver"; -export { resolveRegionConfig } from "@smithy/config-resolver"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.browser.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.browser.d.ts deleted file mode 100644 index f9bbd639..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.browser.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function stsRegionDefaultResolver(): () => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.d.ts deleted file mode 100644 index e94262af..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { LocalConfigOptions } from "@smithy/node-config-provider"; -export declare function stsRegionDefaultResolver( - loaderConfig?: LocalConfigOptions -): import("@smithy/types").Provider; -export declare const warning: { - silence: boolean; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.native.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.native.d.ts deleted file mode 100644 index f9bbd639..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/stsRegionDefaultResolver.native.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare function stsRegionDefaultResolver(): () => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/package.json b/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/package.json deleted file mode 100644 index 8d4d6166..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/region-config-resolver/package.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "name": "@aws-sdk/region-config-resolver", - "version": "3.972.10", - "scripts": { - "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", - "build:cjs": "node ../../scripts/compilation/inline region-config-resolver", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", - "extract:docs": "api-extractor run --local", - "test": "yarn g:vitest run", - "test:watch": "yarn g:vitest watch" - }, - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "sideEffects": false, - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "^3.973.6", - "@smithy/config-resolver": "^4.4.13", - "@smithy/node-config-provider": "^4.3.12", - "@smithy/types": "^4.13.1", - "tslib": "^2.6.2" - }, - "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "premove": "4.0.0", - "typescript": "~5.8.3" - }, - "engines": { - "node": ">=20.0.0" - }, - "typesVersions": { - "<4.5": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages-internal/region-config-resolver", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "packages-internal/region-config-resolver" - }, - "browser": { - "./dist-es/regionConfig/stsRegionDefaultResolver": "./dist-es/regionConfig/stsRegionDefaultResolver.browser" - }, - "react-native": {} -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/LICENSE b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/LICENSE deleted file mode 100644 index 7b6491ba..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/README.md b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/README.md deleted file mode 100644 index 1d6d61a4..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/README.md +++ /dev/null @@ -1,50 +0,0 @@ -# @aws-sdk/util-dynamodb - -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/util-dynamodb/latest.svg)](https://www.npmjs.com/package/@aws-sdk/util-dynamodb) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/util-dynamodb.svg)](https://www.npmjs.com/package/@aws-sdk/util-dynamodb) - -This package provides utilities to be used with `@aws-sdk/client-dynamodb` - -If you are looking for DynamoDB Document client, please check -[@aws-sdk/lib-dynamodb](https://www.npmjs.com/package/@aws-sdk/lib-dynamodb) -which automatically performs the necessary marshalling and unmarshalling. - -## Convert JavaScript object into DynamoDB Record - -```js -const { DynamoDB } = require("@aws-sdk/client-dynamodb"); -const { marshall } = require("@aws-sdk/util-dynamodb"); - -const client = new DynamoDB(clientParams); -const params = { - TableName: "Table", - Item: marshall({ - HashKey: "hashKey", - NumAttribute: 1, - BoolAttribute: true, - ListAttribute: [1, "two", false], - MapAttribute: { foo: "bar" }, - NullAttribute: null, - }), -}; - -await client.putItem(params); -``` - -## Convert DynamoDB Record into JavaScript object - -```js -const { DynamoDB } = require("@aws-sdk/client-dynamodb"); -const { marshall, unmarshall } = require("@aws-sdk/util-dynamodb"); - -const client = new DynamoDB(clientParams); -const params = { - TableName: "Table", - Key: marshall({ - HashKey: "hashKey", - }), -}; - -const { Item } = await client.getItem(params); -unmarshall(Item); -``` diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-cjs/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-cjs/index.js deleted file mode 100644 index f4d7cdd2..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-cjs/index.js +++ /dev/null @@ -1,309 +0,0 @@ -'use strict'; - -class NumberValue { - value; - constructor(value) { - if (typeof value === "object" && "N" in value) { - this.value = String(value.N); - } - else { - this.value = String(value); - } - const valueOf = typeof value.valueOf() === "number" ? value.valueOf() : 0; - const imprecise = valueOf > Number.MAX_SAFE_INTEGER || - valueOf < Number.MIN_SAFE_INTEGER || - Math.abs(valueOf) === Infinity || - Number.isNaN(valueOf); - if (imprecise) { - throw new Error(`NumberValue should not be initialized with an imprecise number=${valueOf}. Use a string instead.`); - } - } - static from(value) { - return new NumberValue(value); - } - toAttributeValue() { - return { - N: this.toString(), - }; - } - toBigInt() { - const stringValue = this.toString(); - return BigInt(stringValue); - } - toString() { - return String(this.value); - } - valueOf() { - return this.toString(); - } -} - -const convertToAttr = (data, options) => { - if (data === undefined) { - throw new Error(`Pass options.removeUndefinedValues=true to remove undefined values from map/array/set.`); - } - else if (data === null && typeof data === "object") { - return convertToNullAttr(); - } - else if (Array.isArray(data)) { - return convertToListAttr(data, options); - } - else if (data?.constructor?.name === "Set") { - return convertToSetAttr(data, options); - } - else if (data?.constructor?.name === "Map") { - return convertToMapAttrFromIterable(data, options); - } - else if (data?.constructor?.name === "Object" || - (!data.constructor && typeof data === "object")) { - return convertToMapAttrFromEnumerableProps(data, options); - } - else if (isBinary(data)) { - if (data.length === 0 && options?.convertEmptyValues) { - return convertToNullAttr(); - } - return convertToBinaryAttr(data); - } - else if (typeof data === "boolean" || data?.constructor?.name === "Boolean") { - return { BOOL: data.valueOf() }; - } - else if (typeof data === "number" || data?.constructor?.name === "Number") { - return convertToNumberAttr(data, options); - } - else if (data instanceof NumberValue) { - return data.toAttributeValue(); - } - else if (typeof data === "bigint") { - return convertToBigIntAttr(data); - } - else if (typeof data === "string" || data?.constructor?.name === "String") { - if (data.length === 0 && options?.convertEmptyValues) { - return convertToNullAttr(); - } - return convertToStringAttr(data); - } - else if (options?.convertClassInstanceToMap && typeof data === "object") { - return convertToMapAttrFromEnumerableProps(data, options); - } - throw new Error(`Unsupported type passed: ${data}. Pass options.convertClassInstanceToMap=true to marshall typeof object as map attribute.`); -}; -const convertToListAttr = (data, options) => ({ - L: data - .filter((item) => typeof item !== "function" && - (!options?.removeUndefinedValues || (options?.removeUndefinedValues && item !== undefined))) - .map((item) => convertToAttr(item, options)), -}); -const convertToSetAttr = (set, options) => { - const setToOperate = options?.removeUndefinedValues ? new Set([...set].filter((value) => value !== undefined)) : set; - if (!options?.removeUndefinedValues && setToOperate.has(undefined)) { - throw new Error(`Pass options.removeUndefinedValues=true to remove undefined values from map/array/set.`); - } - if (setToOperate.size === 0) { - if (options?.convertEmptyValues) { - return convertToNullAttr(); - } - throw new Error(`Pass a non-empty set, or options.convertEmptyValues=true.`); - } - const item = setToOperate.values().next().value; - if (item instanceof NumberValue) { - return { - NS: Array.from(setToOperate).map((_) => _.toString()), - }; - } - else if (typeof item === "number") { - return { - NS: Array.from(setToOperate) - .map((num) => convertToNumberAttr(num, options)) - .map((item) => item.N), - }; - } - else if (typeof item === "bigint") { - return { - NS: Array.from(setToOperate) - .map(convertToBigIntAttr) - .map((item) => item.N), - }; - } - else if (typeof item === "string") { - return { - SS: Array.from(setToOperate) - .map(convertToStringAttr) - .map((item) => item.S), - }; - } - else if (isBinary(item)) { - return { - BS: Array.from(setToOperate) - .map(convertToBinaryAttr) - .map((item) => item.B), - }; - } - else { - throw new Error(`Only Number Set (NS), Binary Set (BS) or String Set (SS) are allowed.`); - } -}; -const convertToMapAttrFromIterable = (data, options) => ({ - M: ((data) => { - const map = {}; - for (const [key, value] of data) { - if (typeof value !== "function" && (value !== undefined || !options?.removeUndefinedValues)) { - map[key] = convertToAttr(value, options); - } - } - return map; - })(data), -}); -const convertToMapAttrFromEnumerableProps = (data, options) => ({ - M: ((data) => { - const map = {}; - for (const key in data) { - const value = data[key]; - if (typeof value !== "function" && (value !== undefined || !options?.removeUndefinedValues)) { - map[key] = convertToAttr(value, options); - } - } - return map; - })(data), -}); -const convertToNullAttr = () => ({ NULL: true }); -const convertToBinaryAttr = (data) => ({ B: data }); -const convertToStringAttr = (data) => ({ S: data.toString() }); -const convertToBigIntAttr = (data) => ({ N: data.toString() }); -const validateBigIntAndThrow = (errorPrefix) => { - throw new Error(`${errorPrefix} Use NumberValue from @aws-sdk/lib-dynamodb.`); -}; -const convertToNumberAttr = (num, options) => { - if ([Number.NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY] - .map((val) => val.toString()) - .includes(num.toString())) { - throw new Error(`Special numeric value ${num.toString()} is not allowed`); - } - else if (!options?.allowImpreciseNumbers) { - if (Number(num) > Number.MAX_SAFE_INTEGER) { - validateBigIntAndThrow(`Number ${num.toString()} is greater than Number.MAX_SAFE_INTEGER.`); - } - else if (Number(num) < Number.MIN_SAFE_INTEGER) { - validateBigIntAndThrow(`Number ${num.toString()} is lesser than Number.MIN_SAFE_INTEGER.`); - } - } - return { N: num.toString() }; -}; -const isBinary = (data) => { - const binaryTypes = [ - "ArrayBuffer", - "Blob", - "Buffer", - "DataView", - "File", - "Int8Array", - "Uint8Array", - "Uint8ClampedArray", - "Int16Array", - "Uint16Array", - "Int32Array", - "Uint32Array", - "Float32Array", - "Float64Array", - "BigInt64Array", - "BigUint64Array", - ]; - if (data?.constructor) { - return binaryTypes.includes(data.constructor.name); - } - return false; -}; - -const convertToNative = (data, options) => { - for (const [key, value] of Object.entries(data)) { - if (value !== undefined) { - switch (key) { - case "NULL": - return null; - case "BOOL": - return Boolean(value); - case "N": - return convertNumber(value, options); - case "B": - return convertBinary(value); - case "S": - return convertString(value); - case "L": - return convertList(value, options); - case "M": - return convertMap(value, options); - case "NS": - return new Set(value.map((item) => convertNumber(item, options))); - case "BS": - return new Set(value.map(convertBinary)); - case "SS": - return new Set(value.map(convertString)); - default: - throw new Error(`Unsupported type passed: ${key}`); - } - } - } - throw new Error(`No value defined: ${JSON.stringify(data)}`); -}; -const convertNumber = (numString, options) => { - if (typeof options?.wrapNumbers === "function") { - return options?.wrapNumbers(numString); - } - if (options?.wrapNumbers) { - return NumberValue.from(numString); - } - const num = Number(numString); - const infinityValues = [Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY]; - const isLargeFiniteNumber = (num > Number.MAX_SAFE_INTEGER || num < Number.MIN_SAFE_INTEGER) && !infinityValues.includes(num); - if (isLargeFiniteNumber) { - if (typeof BigInt === "function") { - try { - return BigInt(numString); - } - catch (error) { - throw new Error(`${numString} can't be converted to BigInt. Set options.wrapNumbers to get string value.`); - } - } - else { - throw new Error(`${numString} is outside SAFE_INTEGER bounds. Set options.wrapNumbers to get string value.`); - } - } - return num; -}; -const convertString = (stringValue) => stringValue; -const convertBinary = (binaryValue) => binaryValue; -const convertList = (list, options) => list.map((item) => convertToNative(item, options)); -const convertMap = (map, options) => Object.entries(map).reduce((acc, [key, value]) => ((acc[key] = convertToNative(value, options)), acc), {}); - -function marshall(data, options) { - const attributeValue = convertToAttr(data, options); - const [key, value] = Object.entries(attributeValue)[0]; - switch (key) { - case "M": - case "L": - return options?.convertTopLevelContainer ? attributeValue : value; - case "SS": - case "NS": - case "BS": - case "S": - case "N": - case "B": - case "NULL": - case "BOOL": - case "$unknown": - default: - return attributeValue; - } -} - -const unmarshall = (data, options) => { - if (options?.convertWithoutMapWrapper) { - return convertToNative(data, options); - } - return convertToNative({ M: data }, options); -}; - -exports.NumberValueImpl = NumberValue; -exports.convertToAttr = convertToAttr; -exports.convertToNative = convertToNative; -exports.marshall = marshall; -exports.unmarshall = unmarshall; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/NumberValue.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/NumberValue.js deleted file mode 100644 index a9df9f82..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/NumberValue.js +++ /dev/null @@ -1,37 +0,0 @@ -export class NumberValue { - value; - constructor(value) { - if (typeof value === "object" && "N" in value) { - this.value = String(value.N); - } - else { - this.value = String(value); - } - const valueOf = typeof value.valueOf() === "number" ? value.valueOf() : 0; - const imprecise = valueOf > Number.MAX_SAFE_INTEGER || - valueOf < Number.MIN_SAFE_INTEGER || - Math.abs(valueOf) === Infinity || - Number.isNaN(valueOf); - if (imprecise) { - throw new Error(`NumberValue should not be initialized with an imprecise number=${valueOf}. Use a string instead.`); - } - } - static from(value) { - return new NumberValue(value); - } - toAttributeValue() { - return { - N: this.toString(), - }; - } - toBigInt() { - const stringValue = this.toString(); - return BigInt(stringValue); - } - toString() { - return String(this.value); - } - valueOf() { - return this.toString(); - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/convertToAttr.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/convertToAttr.js deleted file mode 100644 index 62a888f1..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/convertToAttr.js +++ /dev/null @@ -1,175 +0,0 @@ -import { NumberValue } from "./NumberValue"; -export const convertToAttr = (data, options) => { - if (data === undefined) { - throw new Error(`Pass options.removeUndefinedValues=true to remove undefined values from map/array/set.`); - } - else if (data === null && typeof data === "object") { - return convertToNullAttr(); - } - else if (Array.isArray(data)) { - return convertToListAttr(data, options); - } - else if (data?.constructor?.name === "Set") { - return convertToSetAttr(data, options); - } - else if (data?.constructor?.name === "Map") { - return convertToMapAttrFromIterable(data, options); - } - else if (data?.constructor?.name === "Object" || - (!data.constructor && typeof data === "object")) { - return convertToMapAttrFromEnumerableProps(data, options); - } - else if (isBinary(data)) { - if (data.length === 0 && options?.convertEmptyValues) { - return convertToNullAttr(); - } - return convertToBinaryAttr(data); - } - else if (typeof data === "boolean" || data?.constructor?.name === "Boolean") { - return { BOOL: data.valueOf() }; - } - else if (typeof data === "number" || data?.constructor?.name === "Number") { - return convertToNumberAttr(data, options); - } - else if (data instanceof NumberValue) { - return data.toAttributeValue(); - } - else if (typeof data === "bigint") { - return convertToBigIntAttr(data); - } - else if (typeof data === "string" || data?.constructor?.name === "String") { - if (data.length === 0 && options?.convertEmptyValues) { - return convertToNullAttr(); - } - return convertToStringAttr(data); - } - else if (options?.convertClassInstanceToMap && typeof data === "object") { - return convertToMapAttrFromEnumerableProps(data, options); - } - throw new Error(`Unsupported type passed: ${data}. Pass options.convertClassInstanceToMap=true to marshall typeof object as map attribute.`); -}; -const convertToListAttr = (data, options) => ({ - L: data - .filter((item) => typeof item !== "function" && - (!options?.removeUndefinedValues || (options?.removeUndefinedValues && item !== undefined))) - .map((item) => convertToAttr(item, options)), -}); -const convertToSetAttr = (set, options) => { - const setToOperate = options?.removeUndefinedValues ? new Set([...set].filter((value) => value !== undefined)) : set; - if (!options?.removeUndefinedValues && setToOperate.has(undefined)) { - throw new Error(`Pass options.removeUndefinedValues=true to remove undefined values from map/array/set.`); - } - if (setToOperate.size === 0) { - if (options?.convertEmptyValues) { - return convertToNullAttr(); - } - throw new Error(`Pass a non-empty set, or options.convertEmptyValues=true.`); - } - const item = setToOperate.values().next().value; - if (item instanceof NumberValue) { - return { - NS: Array.from(setToOperate).map((_) => _.toString()), - }; - } - else if (typeof item === "number") { - return { - NS: Array.from(setToOperate) - .map((num) => convertToNumberAttr(num, options)) - .map((item) => item.N), - }; - } - else if (typeof item === "bigint") { - return { - NS: Array.from(setToOperate) - .map(convertToBigIntAttr) - .map((item) => item.N), - }; - } - else if (typeof item === "string") { - return { - SS: Array.from(setToOperate) - .map(convertToStringAttr) - .map((item) => item.S), - }; - } - else if (isBinary(item)) { - return { - BS: Array.from(setToOperate) - .map(convertToBinaryAttr) - .map((item) => item.B), - }; - } - else { - throw new Error(`Only Number Set (NS), Binary Set (BS) or String Set (SS) are allowed.`); - } -}; -const convertToMapAttrFromIterable = (data, options) => ({ - M: ((data) => { - const map = {}; - for (const [key, value] of data) { - if (typeof value !== "function" && (value !== undefined || !options?.removeUndefinedValues)) { - map[key] = convertToAttr(value, options); - } - } - return map; - })(data), -}); -const convertToMapAttrFromEnumerableProps = (data, options) => ({ - M: ((data) => { - const map = {}; - for (const key in data) { - const value = data[key]; - if (typeof value !== "function" && (value !== undefined || !options?.removeUndefinedValues)) { - map[key] = convertToAttr(value, options); - } - } - return map; - })(data), -}); -const convertToNullAttr = () => ({ NULL: true }); -const convertToBinaryAttr = (data) => ({ B: data }); -const convertToStringAttr = (data) => ({ S: data.toString() }); -const convertToBigIntAttr = (data) => ({ N: data.toString() }); -const validateBigIntAndThrow = (errorPrefix) => { - throw new Error(`${errorPrefix} Use NumberValue from @aws-sdk/lib-dynamodb.`); -}; -const convertToNumberAttr = (num, options) => { - if ([Number.NaN, Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY] - .map((val) => val.toString()) - .includes(num.toString())) { - throw new Error(`Special numeric value ${num.toString()} is not allowed`); - } - else if (!options?.allowImpreciseNumbers) { - if (Number(num) > Number.MAX_SAFE_INTEGER) { - validateBigIntAndThrow(`Number ${num.toString()} is greater than Number.MAX_SAFE_INTEGER.`); - } - else if (Number(num) < Number.MIN_SAFE_INTEGER) { - validateBigIntAndThrow(`Number ${num.toString()} is lesser than Number.MIN_SAFE_INTEGER.`); - } - } - return { N: num.toString() }; -}; -const isBinary = (data) => { - const binaryTypes = [ - "ArrayBuffer", - "Blob", - "Buffer", - "DataView", - "File", - "Int8Array", - "Uint8Array", - "Uint8ClampedArray", - "Int16Array", - "Uint16Array", - "Int32Array", - "Uint32Array", - "Float32Array", - "Float64Array", - "BigInt64Array", - "BigUint64Array", - ]; - if (data?.constructor) { - return binaryTypes.includes(data.constructor.name); - } - return false; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/convertToNative.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/convertToNative.js deleted file mode 100644 index 3e7b2c28..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/convertToNative.js +++ /dev/null @@ -1,61 +0,0 @@ -import { NumberValue } from "./NumberValue"; -export const convertToNative = (data, options) => { - for (const [key, value] of Object.entries(data)) { - if (value !== undefined) { - switch (key) { - case "NULL": - return null; - case "BOOL": - return Boolean(value); - case "N": - return convertNumber(value, options); - case "B": - return convertBinary(value); - case "S": - return convertString(value); - case "L": - return convertList(value, options); - case "M": - return convertMap(value, options); - case "NS": - return new Set(value.map((item) => convertNumber(item, options))); - case "BS": - return new Set(value.map(convertBinary)); - case "SS": - return new Set(value.map(convertString)); - default: - throw new Error(`Unsupported type passed: ${key}`); - } - } - } - throw new Error(`No value defined: ${JSON.stringify(data)}`); -}; -const convertNumber = (numString, options) => { - if (typeof options?.wrapNumbers === "function") { - return options?.wrapNumbers(numString); - } - if (options?.wrapNumbers) { - return NumberValue.from(numString); - } - const num = Number(numString); - const infinityValues = [Number.POSITIVE_INFINITY, Number.NEGATIVE_INFINITY]; - const isLargeFiniteNumber = (num > Number.MAX_SAFE_INTEGER || num < Number.MIN_SAFE_INTEGER) && !infinityValues.includes(num); - if (isLargeFiniteNumber) { - if (typeof BigInt === "function") { - try { - return BigInt(numString); - } - catch (error) { - throw new Error(`${numString} can't be converted to BigInt. Set options.wrapNumbers to get string value.`); - } - } - else { - throw new Error(`${numString} is outside SAFE_INTEGER bounds. Set options.wrapNumbers to get string value.`); - } - } - return num; -}; -const convertString = (stringValue) => stringValue; -const convertBinary = (binaryValue) => binaryValue; -const convertList = (list, options) => list.map((item) => convertToNative(item, options)); -const convertMap = (map, options) => Object.entries(map).reduce((acc, [key, value]) => ((acc[key] = convertToNative(value, options)), acc), {}); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/index.js deleted file mode 100644 index 60877561..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/index.js +++ /dev/null @@ -1,6 +0,0 @@ -export { NumberValue as NumberValueImpl } from "./NumberValue"; -export * from "./convertToAttr"; -export * from "./convertToNative"; -export * from "./marshall"; -export * from "./models"; -export * from "./unmarshall"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/marshall.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/marshall.js deleted file mode 100644 index 9899c8a7..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/marshall.js +++ /dev/null @@ -1,21 +0,0 @@ -import { convertToAttr } from "./convertToAttr"; -export function marshall(data, options) { - const attributeValue = convertToAttr(data, options); - const [key, value] = Object.entries(attributeValue)[0]; - switch (key) { - case "M": - case "L": - return options?.convertTopLevelContainer ? attributeValue : value; - case "SS": - case "NS": - case "BS": - case "S": - case "N": - case "B": - case "NULL": - case "BOOL": - case "$unknown": - default: - return attributeValue; - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/models.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/models.js deleted file mode 100644 index cb0ff5c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/models.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/unmarshall.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/unmarshall.js deleted file mode 100644 index 6028656a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-es/unmarshall.js +++ /dev/null @@ -1,7 +0,0 @@ -import { convertToNative } from "./convertToNative"; -export const unmarshall = (data, options) => { - if (options?.convertWithoutMapWrapper) { - return convertToNative(data, options); - } - return convertToNative({ M: data }, options); -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/NumberValue.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/NumberValue.d.ts deleted file mode 100644 index c709ec1c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/NumberValue.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import type { NumberValue as INumberValue } from "./models"; -/** - * - * Class for storing DynamoDB numbers that exceed the scale of - * JavaScript's MAX_SAFE_INTEGER and MIN_SAFE_INTEGER, or the - * decimal precision limit. - * - * This class does not support mathematical operations in JavaScript. - * Convert the contained string value to your application-specific - * large number implementation to perform mathematical operations. - * - * @public - * - */ -export declare class NumberValue implements INumberValue { - value: string; - /** - * This class does not validate that your string input is a valid number. - * - * @param value - a precise number, or any BigInt or string, or AttributeValue. - */ - constructor(value: number | Number | BigInt | string | { - N: string; - }); - /** - * This class does not validate that your string input is a valid number. - * - * @param value - a precise number, or any BigInt or string, or AttributeValue. - */ - static from(value: number | Number | BigInt | string | { - N: string; - }): NumberValue; - /** - * @returns the AttributeValue form for DynamoDB. - */ - toAttributeValue(): { - N: string; - }; - /** - * @returns BigInt representation. - * - * @throws SyntaxError if the string representation is not convertable to a BigInt. - */ - toBigInt(): bigint; - /** - * @override - * - * @returns string representation. This is the canonical format in DynamoDB. - */ - toString(): string; - /** - * @override - */ - valueOf(): string; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/convertToAttr.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/convertToAttr.d.ts deleted file mode 100644 index d21f3aaa..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/convertToAttr.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AttributeValue } from "@aws-sdk/client-dynamodb"; -import type { marshallOptions } from "./marshall"; -import type { NativeAttributeValue } from "./models"; -/** - * Convert a JavaScript value to its equivalent DynamoDB AttributeValue type. - * - * @param data - The data to convert to a DynamoDB AttributeValue. - * @param options - An optional configuration object for `convertToAttr`. - */ -export declare const convertToAttr: (data: NativeAttributeValue, options?: marshallOptions) => AttributeValue; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/convertToNative.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/convertToNative.d.ts deleted file mode 100644 index 58c846bd..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/convertToNative.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import type { AttributeValue } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeValue } from "./models"; -import type { unmarshallOptions } from "./unmarshall"; -/** - * Convert a DynamoDB AttributeValue object to its equivalent JavaScript type. - * - * @param data - The DynamoDB record to convert to JavaScript type. - * @param options - An optional configuration object for `convertToNative`. - */ -export declare const convertToNative: (data: AttributeValue, options?: unmarshallOptions) => NativeAttributeValue; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/index.d.ts deleted file mode 100644 index 60877561..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export { NumberValue as NumberValueImpl } from "./NumberValue"; -export * from "./convertToAttr"; -export * from "./convertToNative"; -export * from "./marshall"; -export * from "./models"; -export * from "./unmarshall"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/marshall.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/marshall.d.ts deleted file mode 100644 index 8b079be6..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/marshall.d.ts +++ /dev/null @@ -1,81 +0,0 @@ -import type { AttributeValue } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeBinary, NativeAttributeValue } from "./models"; -import type { NumberValue } from "./NumberValue"; -/** - * An optional configuration object for `marshall` - */ -export interface marshallOptions { - /** - * Whether to automatically convert empty strings, blobs, and sets to `null` - */ - convertEmptyValues?: boolean; - /** - * Whether to remove undefined values from JS arrays/Sets/objects - * when marshalling to DynamoDB lists/sets/maps respectively. - * - * A DynamoDB item is not itself considered a map. Only - * attributes of an item are examined. - */ - removeUndefinedValues?: boolean; - /** - * Whether to convert typeof object to map attribute. - */ - convertClassInstanceToMap?: boolean; - /** - * Whether to convert the top level container - * if it is a map or list. - * - * Default is true when using the DynamoDBDocumentClient, - * but false if directly using the marshall function (backwards compatibility). - */ - convertTopLevelContainer?: boolean; - /** - * Whether to allow numbers beyond Number.MAX_SAFE_INTEGER during marshalling. - * When set to true, allows numbers that may lose precision when converted to JavaScript numbers. - * When false (default), throws an error if a number exceeds Number.MAX_SAFE_INTEGER to prevent - * unintended loss of precision. Consider using the NumberValue type from @aws-sdk/lib-dynamodb - * for precise handling of large numbers. - */ - allowImpreciseNumbers?: boolean; -} -/** - * Convert a JavaScript object into a DynamoDB record. - * - * @param data - The data to convert to a DynamoDB record - * @param options - An optional configuration object for `marshall` - * - */ -export declare function marshall(data: null, options?: marshallOptions): AttributeValue.NULLMember; -export declare function marshall(data: Set | Set | Set, options?: marshallOptions): AttributeValue.NSMember; -export declare function marshall(data: Set, options?: marshallOptions): AttributeValue.SSMember; -export declare function marshall(data: Set, options?: marshallOptions): AttributeValue.BSMember; -export declare function marshall(data: NativeAttributeBinary, options?: marshallOptions): AttributeValue.BMember; -export declare function marshall(data: boolean, options?: marshallOptions): AttributeValue.BOOLMember; -export declare function marshall(data: number | NumberValue | bigint, options?: marshallOptions): AttributeValue.NMember; -export declare function marshall(data: string, options?: marshallOptions): AttributeValue.SMember; -export declare function marshall(data: boolean, options?: marshallOptions): AttributeValue.BOOLMember; -export declare function marshall(data: NativeAttributeValue[], options: marshallOptions & O): AttributeValue.LMember; -export declare function marshall(data: NativeAttributeValue[], options: marshallOptions & O): AttributeValue[]; -export declare function marshall(data: NativeAttributeValue[], options: marshallOptions & O): AttributeValue[] | AttributeValue.LMember; -export declare function marshall(data: NativeAttributeValue[], options?: marshallOptions): AttributeValue[]; -export declare function marshall(data: Map | Record, options: marshallOptions & O): AttributeValue.MMember; -export declare function marshall(data: Map | Record, options: marshallOptions & O): Record; -export declare function marshall(data: Map | Record, options: marshallOptions & O): Record | AttributeValue.MMember; -export declare function marshall(data: Map | Record, options?: marshallOptions): Record; -export declare function marshall(data: any, options?: marshallOptions): any; -/** - * This signature will be unmatchable but is included for information. - */ -export declare function marshall(data: unknown, options?: marshallOptions): AttributeValue.$UnknownMember; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/models.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/models.d.ts deleted file mode 100644 index 31406c69..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/models.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * A interface recognizable as a numeric value that stores the underlying number - * as a string. - * - * Intended to be a deserialization target for the DynamoDB Document Client when - * the `wrapNumbers` flag is set. This allows for numeric values that lose - * precision when converted to JavaScript's `number` type. - */ -export interface NumberValue { - readonly value: string; -} -/** - * @public - */ -export type NativeAttributeValue = NativeScalarAttributeValue | { - [key: string]: NativeAttributeValue; -} | NativeAttributeValue[] | Set | InstanceType<{ - new (...args: any[]): any; -}>; -/** - * @public - */ -export type NativeScalarAttributeValue = null | undefined | boolean | number | NumberValue | bigint | NativeAttributeBinary | string; -/** - * Declare File in case DOM is not added to the tsconfig lib causing - * File interface is not defined. For developers with DOM lib added, - * the File interface will be merged correctly. - */ -declare global { - interface File { - } -} -type IfDefined = {} extends T ? never : T; -/** - * @public - */ -export type NativeAttributeBinary = ArrayBuffer | IfDefined | IfDefined | DataView | IfDefined | Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array | BigInt64Array | BigUint64Array; -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/NumberValue.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/NumberValue.d.ts deleted file mode 100644 index 81806248..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/NumberValue.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { NumberValue as INumberValue } from "./models"; -export declare class NumberValue implements INumberValue { - value: string; - constructor( - value: - | number - | Number - | BigInt - | string - | { - N: string; - } - ); - static from( - value: - | number - | Number - | BigInt - | string - | { - N: string; - } - ): NumberValue; - toAttributeValue(): { - N: string; - }; - toBigInt(): bigint; - toString(): string; - valueOf(): string; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/convertToAttr.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/convertToAttr.d.ts deleted file mode 100644 index d148d57a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/convertToAttr.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { AttributeValue } from "@aws-sdk/client-dynamodb"; -import { marshallOptions } from "./marshall"; -import { NativeAttributeValue } from "./models"; -export declare const convertToAttr: ( - data: NativeAttributeValue, - options?: marshallOptions -) => AttributeValue; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/convertToNative.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/convertToNative.d.ts deleted file mode 100644 index c1a03f47..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/convertToNative.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { AttributeValue } from "@aws-sdk/client-dynamodb"; -import { NativeAttributeValue } from "./models"; -import { unmarshallOptions } from "./unmarshall"; -export declare const convertToNative: ( - data: AttributeValue, - options?: unmarshallOptions -) => NativeAttributeValue; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/index.d.ts deleted file mode 100644 index 60877561..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export { NumberValue as NumberValueImpl } from "./NumberValue"; -export * from "./convertToAttr"; -export * from "./convertToNative"; -export * from "./marshall"; -export * from "./models"; -export * from "./unmarshall"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/marshall.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/marshall.d.ts deleted file mode 100644 index f81b8761..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/marshall.d.ts +++ /dev/null @@ -1,112 +0,0 @@ -import { AttributeValue } from "@aws-sdk/client-dynamodb"; -import { NativeAttributeBinary, NativeAttributeValue } from "./models"; -import { NumberValue } from "./NumberValue"; -export interface marshallOptions { - convertEmptyValues?: boolean; - removeUndefinedValues?: boolean; - convertClassInstanceToMap?: boolean; - convertTopLevelContainer?: boolean; - allowImpreciseNumbers?: boolean; -} -export declare function marshall( - data: null, - options?: marshallOptions -): AttributeValue.NULLMember; -export declare function marshall( - data: Set | Set | Set, - options?: marshallOptions -): AttributeValue.NSMember; -export declare function marshall( - data: Set, - options?: marshallOptions -): AttributeValue.SSMember; -export declare function marshall( - data: Set, - options?: marshallOptions -): AttributeValue.BSMember; -export declare function marshall( - data: NativeAttributeBinary, - options?: marshallOptions -): AttributeValue.BMember; -export declare function marshall( - data: boolean, - options?: marshallOptions -): AttributeValue.BOOLMember; -export declare function marshall( - data: number | NumberValue | bigint, - options?: marshallOptions -): AttributeValue.NMember; -export declare function marshall( - data: string, - options?: marshallOptions -): AttributeValue.SMember; -export declare function marshall( - data: boolean, - options?: marshallOptions -): AttributeValue.BOOLMember; -export declare function marshall< - O extends { - convertTopLevelContainer: true; - } ->( - data: NativeAttributeValue[], - options: marshallOptions & O -): AttributeValue.LMember; -export declare function marshall< - O extends { - convertTopLevelContainer: false; - } ->(data: NativeAttributeValue[], options: marshallOptions & O): AttributeValue[]; -export declare function marshall< - O extends { - convertTopLevelContainer: boolean; - } ->( - data: NativeAttributeValue[], - options: marshallOptions & O -): AttributeValue[] | AttributeValue.LMember; -export declare function marshall( - data: NativeAttributeValue[], - options?: marshallOptions -): AttributeValue[]; -export declare function marshall< - O extends { - convertTopLevelContainer: true; - } ->( - data: - | Map - | Record, - options: marshallOptions & O -): AttributeValue.MMember; -export declare function marshall< - O extends { - convertTopLevelContainer: false; - } ->( - data: - | Map - | Record, - options: marshallOptions & O -): Record; -export declare function marshall< - O extends { - convertTopLevelContainer: boolean; - } ->( - data: - | Map - | Record, - options: marshallOptions & O -): Record | AttributeValue.MMember; -export declare function marshall( - data: - | Map - | Record, - options?: marshallOptions -): Record; -export declare function marshall(data: any, options?: marshallOptions): any; -export declare function marshall( - data: unknown, - options?: marshallOptions -): AttributeValue.$UnknownMember; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/models.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/models.d.ts deleted file mode 100644 index f2939b2c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/models.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -export interface NumberValue { - readonly value: string; -} -export type NativeAttributeValue = - | NativeScalarAttributeValue - | { - [key: string]: NativeAttributeValue; - } - | NativeAttributeValue[] - | Set< - number | bigint | NumberValue | string | NativeAttributeBinary | undefined - > - | InstanceType<{ - new (...args: any[]): any; - }>; -export type NativeScalarAttributeValue = - | null - | undefined - | boolean - | number - | NumberValue - | bigint - | NativeAttributeBinary - | string; -declare global { - interface File {} -} -type IfDefined = {} extends T ? never : T; -export type NativeAttributeBinary = - | ArrayBuffer - | IfDefined - | IfDefined - | DataView - | IfDefined - | Int8Array - | Uint8Array - | Uint8ClampedArray - | Int16Array - | Uint16Array - | Int32Array - | Uint32Array - | Float32Array - | Float64Array - | BigInt64Array - | BigUint64Array; -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/unmarshall.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/unmarshall.d.ts deleted file mode 100644 index 9d511e02..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/ts3.4/unmarshall.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { AttributeValue } from "@aws-sdk/client-dynamodb"; -import { NativeAttributeValue } from "./models"; -import { NumberValue } from "./NumberValue"; -export interface unmarshallOptions { - wrapNumbers?: - | boolean - | ((value: string) => number | bigint | NumberValue | any); - convertWithoutMapWrapper?: boolean; -} -export declare const unmarshall: ( - data: Record | AttributeValue, - options?: unmarshallOptions -) => Record; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/unmarshall.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/unmarshall.d.ts deleted file mode 100644 index 24449fb9..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/dist-types/unmarshall.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import type { AttributeValue } from "@aws-sdk/client-dynamodb"; -import type { NativeAttributeValue } from "./models"; -import type { NumberValue } from "./NumberValue"; -/** - * An optional configuration object for `convertToNative` - */ -export interface unmarshallOptions { - /** - * Whether to modify how numbers are unmarshalled from DynamoDB. - * When set to true, returns numbers as NumberValue instances instead of native JavaScript numbers. - * This allows for the safe round-trip transport of numbers of arbitrary size. - * - * If a function is provided, it will be called with the string representation of numbers to handle - * custom conversions (e.g., using BigInt or decimal libraries). - */ - wrapNumbers?: boolean | ((value: string) => number | bigint | NumberValue | any); - /** - * When true, skip wrapping the data in `{ M: data }` before converting. - * - * Default is true when using the DynamoDBDocumentClient, - * but false if directly using the unmarshall function (backwards compatibility). - */ - convertWithoutMapWrapper?: boolean; -} -/** - * Convert a DynamoDB record into a JavaScript object. - * - * @param data - The DynamoDB record - * @param options - An optional configuration object for `unmarshall` - */ -export declare const unmarshall: (data: Record | AttributeValue, options?: unmarshallOptions) => Record; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/package.json b/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/package.json deleted file mode 100644 index db9d2b1e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-dynamodb/package.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "name": "@aws-sdk/util-dynamodb", - "version": "3.996.2", - "scripts": { - "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", - "build:cjs": "node ../../scripts/compilation/inline util-dynamodb", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", - "extract:docs": "api-extractor run --local", - "test": "yarn g:vitest run", - "test:watch": "yarn g:vitest watch" - }, - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "sideEffects": false, - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "dependencies": { - "tslib": "^2.6.2" - }, - "devDependencies": { - "@aws-sdk/client-dynamodb": "3.1003.0", - "@tsconfig/recommended": "1.0.1", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "premove": "4.0.0", - "typescript": "~5.8.3" - }, - "peerDependencies": { - "@aws-sdk/client-dynamodb": "^3.1003.0" - }, - "engines": { - "node": ">=20.0.0" - }, - "typesVersions": { - "<4.5": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/util-dynamodb", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "packages/util-dynamodb" - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/LICENSE b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/LICENSE deleted file mode 100644 index 7b6491ba..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/README.md b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/README.md deleted file mode 100644 index 641f54a2..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# @aws-sdk/util-endpoints - -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/util-endpoints/latest.svg)](https://www.npmjs.com/package/@aws-sdk/util-endpoints) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/util-endpoints.svg)](https://www.npmjs.com/package/@aws-sdk/util-endpoints) - -> An internal package diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js deleted file mode 100644 index 5f942508..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +++ /dev/null @@ -1,406 +0,0 @@ -'use strict'; - -var utilEndpoints = require('@smithy/util-endpoints'); -var urlParser = require('@smithy/url-parser'); - -const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => { - if (allowSubDomains) { - for (const label of value.split(".")) { - if (!isVirtualHostableS3Bucket(label)) { - return false; - } - } - return true; - } - if (!utilEndpoints.isValidHostLabel(value)) { - return false; - } - if (value.length < 3 || value.length > 63) { - return false; - } - if (value !== value.toLowerCase()) { - return false; - } - if (utilEndpoints.isIpAddress(value)) { - return false; - } - return true; -}; - -const ARN_DELIMITER = ":"; -const RESOURCE_DELIMITER = "/"; -const parseArn = (value) => { - const segments = value.split(ARN_DELIMITER); - if (segments.length < 6) - return null; - const [arn, partition, service, region, accountId, ...resourcePath] = segments; - if (arn !== "arn" || partition === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "") - return null; - const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat(); - return { - partition, - service, - region, - accountId, - resourceId, - }; -}; - -var partitions = [ - { - id: "aws", - outputs: { - dnsSuffix: "amazonaws.com", - dualStackDnsSuffix: "api.aws", - implicitGlobalRegion: "us-east-1", - name: "aws", - supportsDualStack: true, - supportsFIPS: true - }, - regionRegex: "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$", - regions: { - "af-south-1": { - description: "Africa (Cape Town)" - }, - "ap-east-1": { - description: "Asia Pacific (Hong Kong)" - }, - "ap-east-2": { - description: "Asia Pacific (Taipei)" - }, - "ap-northeast-1": { - description: "Asia Pacific (Tokyo)" - }, - "ap-northeast-2": { - description: "Asia Pacific (Seoul)" - }, - "ap-northeast-3": { - description: "Asia Pacific (Osaka)" - }, - "ap-south-1": { - description: "Asia Pacific (Mumbai)" - }, - "ap-south-2": { - description: "Asia Pacific (Hyderabad)" - }, - "ap-southeast-1": { - description: "Asia Pacific (Singapore)" - }, - "ap-southeast-2": { - description: "Asia Pacific (Sydney)" - }, - "ap-southeast-3": { - description: "Asia Pacific (Jakarta)" - }, - "ap-southeast-4": { - description: "Asia Pacific (Melbourne)" - }, - "ap-southeast-5": { - description: "Asia Pacific (Malaysia)" - }, - "ap-southeast-6": { - description: "Asia Pacific (New Zealand)" - }, - "ap-southeast-7": { - description: "Asia Pacific (Thailand)" - }, - "aws-global": { - description: "aws global region" - }, - "ca-central-1": { - description: "Canada (Central)" - }, - "ca-west-1": { - description: "Canada West (Calgary)" - }, - "eu-central-1": { - description: "Europe (Frankfurt)" - }, - "eu-central-2": { - description: "Europe (Zurich)" - }, - "eu-north-1": { - description: "Europe (Stockholm)" - }, - "eu-south-1": { - description: "Europe (Milan)" - }, - "eu-south-2": { - description: "Europe (Spain)" - }, - "eu-west-1": { - description: "Europe (Ireland)" - }, - "eu-west-2": { - description: "Europe (London)" - }, - "eu-west-3": { - description: "Europe (Paris)" - }, - "il-central-1": { - description: "Israel (Tel Aviv)" - }, - "me-central-1": { - description: "Middle East (UAE)" - }, - "me-south-1": { - description: "Middle East (Bahrain)" - }, - "mx-central-1": { - description: "Mexico (Central)" - }, - "sa-east-1": { - description: "South America (Sao Paulo)" - }, - "us-east-1": { - description: "US East (N. Virginia)" - }, - "us-east-2": { - description: "US East (Ohio)" - }, - "us-west-1": { - description: "US West (N. California)" - }, - "us-west-2": { - description: "US West (Oregon)" - } - } - }, - { - id: "aws-cn", - outputs: { - dnsSuffix: "amazonaws.com.cn", - dualStackDnsSuffix: "api.amazonwebservices.com.cn", - implicitGlobalRegion: "cn-northwest-1", - name: "aws-cn", - supportsDualStack: true, - supportsFIPS: true - }, - regionRegex: "^cn\\-\\w+\\-\\d+$", - regions: { - "aws-cn-global": { - description: "aws-cn global region" - }, - "cn-north-1": { - description: "China (Beijing)" - }, - "cn-northwest-1": { - description: "China (Ningxia)" - } - } - }, - { - id: "aws-eusc", - outputs: { - dnsSuffix: "amazonaws.eu", - dualStackDnsSuffix: "api.amazonwebservices.eu", - implicitGlobalRegion: "eusc-de-east-1", - name: "aws-eusc", - supportsDualStack: true, - supportsFIPS: true - }, - regionRegex: "^eusc\\-(de)\\-\\w+\\-\\d+$", - regions: { - "eusc-de-east-1": { - description: "AWS European Sovereign Cloud (Germany)" - } - } - }, - { - id: "aws-iso", - outputs: { - dnsSuffix: "c2s.ic.gov", - dualStackDnsSuffix: "api.aws.ic.gov", - implicitGlobalRegion: "us-iso-east-1", - name: "aws-iso", - supportsDualStack: true, - supportsFIPS: true - }, - regionRegex: "^us\\-iso\\-\\w+\\-\\d+$", - regions: { - "aws-iso-global": { - description: "aws-iso global region" - }, - "us-iso-east-1": { - description: "US ISO East" - }, - "us-iso-west-1": { - description: "US ISO WEST" - } - } - }, - { - id: "aws-iso-b", - outputs: { - dnsSuffix: "sc2s.sgov.gov", - dualStackDnsSuffix: "api.aws.scloud", - implicitGlobalRegion: "us-isob-east-1", - name: "aws-iso-b", - supportsDualStack: true, - supportsFIPS: true - }, - regionRegex: "^us\\-isob\\-\\w+\\-\\d+$", - regions: { - "aws-iso-b-global": { - description: "aws-iso-b global region" - }, - "us-isob-east-1": { - description: "US ISOB East (Ohio)" - }, - "us-isob-west-1": { - description: "US ISOB West" - } - } - }, - { - id: "aws-iso-e", - outputs: { - dnsSuffix: "cloud.adc-e.uk", - dualStackDnsSuffix: "api.cloud-aws.adc-e.uk", - implicitGlobalRegion: "eu-isoe-west-1", - name: "aws-iso-e", - supportsDualStack: true, - supportsFIPS: true - }, - regionRegex: "^eu\\-isoe\\-\\w+\\-\\d+$", - regions: { - "aws-iso-e-global": { - description: "aws-iso-e global region" - }, - "eu-isoe-west-1": { - description: "EU ISOE West" - } - } - }, - { - id: "aws-iso-f", - outputs: { - dnsSuffix: "csp.hci.ic.gov", - dualStackDnsSuffix: "api.aws.hci.ic.gov", - implicitGlobalRegion: "us-isof-south-1", - name: "aws-iso-f", - supportsDualStack: true, - supportsFIPS: true - }, - regionRegex: "^us\\-isof\\-\\w+\\-\\d+$", - regions: { - "aws-iso-f-global": { - description: "aws-iso-f global region" - }, - "us-isof-east-1": { - description: "US ISOF EAST" - }, - "us-isof-south-1": { - description: "US ISOF SOUTH" - } - } - }, - { - id: "aws-us-gov", - outputs: { - dnsSuffix: "amazonaws.com", - dualStackDnsSuffix: "api.aws", - implicitGlobalRegion: "us-gov-west-1", - name: "aws-us-gov", - supportsDualStack: true, - supportsFIPS: true - }, - regionRegex: "^us\\-gov\\-\\w+\\-\\d+$", - regions: { - "aws-us-gov-global": { - description: "aws-us-gov global region" - }, - "us-gov-east-1": { - description: "AWS GovCloud (US-East)" - }, - "us-gov-west-1": { - description: "AWS GovCloud (US-West)" - } - } - } -]; -var version = "1.1"; -var partitionsInfo = { - partitions: partitions, - version: version -}; - -let selectedPartitionsInfo = partitionsInfo; -let selectedUserAgentPrefix = ""; -const partition = (value) => { - const { partitions } = selectedPartitionsInfo; - for (const partition of partitions) { - const { regions, outputs } = partition; - for (const [region, regionData] of Object.entries(regions)) { - if (region === value) { - return { - ...outputs, - ...regionData, - }; - } - } - } - for (const partition of partitions) { - const { regionRegex, outputs } = partition; - if (new RegExp(regionRegex).test(value)) { - return { - ...outputs, - }; - } - } - const DEFAULT_PARTITION = partitions.find((partition) => partition.id === "aws"); - if (!DEFAULT_PARTITION) { - throw new Error("Provided region was not found in the partition array or regex," + - " and default partition with id 'aws' doesn't exist."); - } - return { - ...DEFAULT_PARTITION.outputs, - }; -}; -const setPartitionInfo = (partitionsInfo, userAgentPrefix = "") => { - selectedPartitionsInfo = partitionsInfo; - selectedUserAgentPrefix = userAgentPrefix; -}; -const useDefaultPartitionInfo = () => { - setPartitionInfo(partitionsInfo, ""); -}; -const getUserAgentPrefix = () => selectedUserAgentPrefix; - -const awsEndpointFunctions = { - isVirtualHostableS3Bucket: isVirtualHostableS3Bucket, - parseArn: parseArn, - partition: partition, -}; -utilEndpoints.customEndpointFunctions.aws = awsEndpointFunctions; - -const resolveDefaultAwsRegionalEndpointsConfig = (input) => { - if (typeof input.endpointProvider !== "function") { - throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client."); - } - const { endpoint } = input; - if (endpoint === undefined) { - input.endpoint = async () => { - return toEndpointV1(input.endpointProvider({ - Region: typeof input.region === "function" ? await input.region() : input.region, - UseDualStack: typeof input.useDualstackEndpoint === "function" - ? await input.useDualstackEndpoint() - : input.useDualstackEndpoint, - UseFIPS: typeof input.useFipsEndpoint === "function" ? await input.useFipsEndpoint() : input.useFipsEndpoint, - Endpoint: undefined, - }, { logger: input.logger })); - }; - } - return input; -}; -const toEndpointV1 = (endpoint) => urlParser.parseUrl(endpoint.url); - -exports.EndpointError = utilEndpoints.EndpointError; -exports.isIpAddress = utilEndpoints.isIpAddress; -exports.resolveEndpoint = utilEndpoints.resolveEndpoint; -exports.awsEndpointFunctions = awsEndpointFunctions; -exports.getUserAgentPrefix = getUserAgentPrefix; -exports.partition = partition; -exports.resolveDefaultAwsRegionalEndpointsConfig = resolveDefaultAwsRegionalEndpointsConfig; -exports.setPartitionInfo = setPartitionInfo; -exports.toEndpointV1 = toEndpointV1; -exports.useDefaultPartitionInfo = useDefaultPartitionInfo; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json deleted file mode 100644 index d7d22d84..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +++ /dev/null @@ -1,267 +0,0 @@ -{ - "partitions": [{ - "id": "aws", - "outputs": { - "dnsSuffix": "amazonaws.com", - "dualStackDnsSuffix": "api.aws", - "implicitGlobalRegion": "us-east-1", - "name": "aws", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$", - "regions": { - "af-south-1": { - "description": "Africa (Cape Town)" - }, - "ap-east-1": { - "description": "Asia Pacific (Hong Kong)" - }, - "ap-east-2": { - "description": "Asia Pacific (Taipei)" - }, - "ap-northeast-1": { - "description": "Asia Pacific (Tokyo)" - }, - "ap-northeast-2": { - "description": "Asia Pacific (Seoul)" - }, - "ap-northeast-3": { - "description": "Asia Pacific (Osaka)" - }, - "ap-south-1": { - "description": "Asia Pacific (Mumbai)" - }, - "ap-south-2": { - "description": "Asia Pacific (Hyderabad)" - }, - "ap-southeast-1": { - "description": "Asia Pacific (Singapore)" - }, - "ap-southeast-2": { - "description": "Asia Pacific (Sydney)" - }, - "ap-southeast-3": { - "description": "Asia Pacific (Jakarta)" - }, - "ap-southeast-4": { - "description": "Asia Pacific (Melbourne)" - }, - "ap-southeast-5": { - "description": "Asia Pacific (Malaysia)" - }, - "ap-southeast-6": { - "description": "Asia Pacific (New Zealand)" - }, - "ap-southeast-7": { - "description": "Asia Pacific (Thailand)" - }, - "aws-global": { - "description": "aws global region" - }, - "ca-central-1": { - "description": "Canada (Central)" - }, - "ca-west-1": { - "description": "Canada West (Calgary)" - }, - "eu-central-1": { - "description": "Europe (Frankfurt)" - }, - "eu-central-2": { - "description": "Europe (Zurich)" - }, - "eu-north-1": { - "description": "Europe (Stockholm)" - }, - "eu-south-1": { - "description": "Europe (Milan)" - }, - "eu-south-2": { - "description": "Europe (Spain)" - }, - "eu-west-1": { - "description": "Europe (Ireland)" - }, - "eu-west-2": { - "description": "Europe (London)" - }, - "eu-west-3": { - "description": "Europe (Paris)" - }, - "il-central-1": { - "description": "Israel (Tel Aviv)" - }, - "me-central-1": { - "description": "Middle East (UAE)" - }, - "me-south-1": { - "description": "Middle East (Bahrain)" - }, - "mx-central-1": { - "description": "Mexico (Central)" - }, - "sa-east-1": { - "description": "South America (Sao Paulo)" - }, - "us-east-1": { - "description": "US East (N. Virginia)" - }, - "us-east-2": { - "description": "US East (Ohio)" - }, - "us-west-1": { - "description": "US West (N. California)" - }, - "us-west-2": { - "description": "US West (Oregon)" - } - } - }, { - "id": "aws-cn", - "outputs": { - "dnsSuffix": "amazonaws.com.cn", - "dualStackDnsSuffix": "api.amazonwebservices.com.cn", - "implicitGlobalRegion": "cn-northwest-1", - "name": "aws-cn", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^cn\\-\\w+\\-\\d+$", - "regions": { - "aws-cn-global": { - "description": "aws-cn global region" - }, - "cn-north-1": { - "description": "China (Beijing)" - }, - "cn-northwest-1": { - "description": "China (Ningxia)" - } - } - }, { - "id": "aws-eusc", - "outputs": { - "dnsSuffix": "amazonaws.eu", - "dualStackDnsSuffix": "api.amazonwebservices.eu", - "implicitGlobalRegion": "eusc-de-east-1", - "name": "aws-eusc", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^eusc\\-(de)\\-\\w+\\-\\d+$", - "regions": { - "eusc-de-east-1": { - "description": "AWS European Sovereign Cloud (Germany)" - } - } - }, { - "id": "aws-iso", - "outputs": { - "dnsSuffix": "c2s.ic.gov", - "dualStackDnsSuffix": "api.aws.ic.gov", - "implicitGlobalRegion": "us-iso-east-1", - "name": "aws-iso", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^us\\-iso\\-\\w+\\-\\d+$", - "regions": { - "aws-iso-global": { - "description": "aws-iso global region" - }, - "us-iso-east-1": { - "description": "US ISO East" - }, - "us-iso-west-1": { - "description": "US ISO WEST" - } - } - }, { - "id": "aws-iso-b", - "outputs": { - "dnsSuffix": "sc2s.sgov.gov", - "dualStackDnsSuffix": "api.aws.scloud", - "implicitGlobalRegion": "us-isob-east-1", - "name": "aws-iso-b", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^us\\-isob\\-\\w+\\-\\d+$", - "regions": { - "aws-iso-b-global": { - "description": "aws-iso-b global region" - }, - "us-isob-east-1": { - "description": "US ISOB East (Ohio)" - }, - "us-isob-west-1": { - "description": "US ISOB West" - } - } - }, { - "id": "aws-iso-e", - "outputs": { - "dnsSuffix": "cloud.adc-e.uk", - "dualStackDnsSuffix": "api.cloud-aws.adc-e.uk", - "implicitGlobalRegion": "eu-isoe-west-1", - "name": "aws-iso-e", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^eu\\-isoe\\-\\w+\\-\\d+$", - "regions": { - "aws-iso-e-global": { - "description": "aws-iso-e global region" - }, - "eu-isoe-west-1": { - "description": "EU ISOE West" - } - } - }, { - "id": "aws-iso-f", - "outputs": { - "dnsSuffix": "csp.hci.ic.gov", - "dualStackDnsSuffix": "api.aws.hci.ic.gov", - "implicitGlobalRegion": "us-isof-south-1", - "name": "aws-iso-f", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^us\\-isof\\-\\w+\\-\\d+$", - "regions": { - "aws-iso-f-global": { - "description": "aws-iso-f global region" - }, - "us-isof-east-1": { - "description": "US ISOF EAST" - }, - "us-isof-south-1": { - "description": "US ISOF SOUTH" - } - } - }, { - "id": "aws-us-gov", - "outputs": { - "dnsSuffix": "amazonaws.com", - "dualStackDnsSuffix": "api.aws", - "implicitGlobalRegion": "us-gov-west-1", - "name": "aws-us-gov", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^us\\-gov\\-\\w+\\-\\d+$", - "regions": { - "aws-us-gov-global": { - "description": "aws-us-gov global region" - }, - "us-gov-east-1": { - "description": "AWS GovCloud (US-East)" - }, - "us-gov-west-1": { - "description": "AWS GovCloud (US-West)" - } - } - }], - "version": "1.1" -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js deleted file mode 100644 index 49a408e6..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +++ /dev/null @@ -1,10 +0,0 @@ -import { customEndpointFunctions } from "@smithy/util-endpoints"; -import { isVirtualHostableS3Bucket } from "./lib/aws/isVirtualHostableS3Bucket"; -import { parseArn } from "./lib/aws/parseArn"; -import { partition } from "./lib/aws/partition"; -export const awsEndpointFunctions = { - isVirtualHostableS3Bucket: isVirtualHostableS3Bucket, - parseArn: parseArn, - partition: partition, -}; -customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/index.js deleted file mode 100644 index f41d9bec..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +++ /dev/null @@ -1,6 +0,0 @@ -export * from "./aws"; -export * from "./lib/aws/partition"; -export * from "./lib/isIpAddress"; -export * from "./resolveDefaultAwsRegionalEndpointsConfig"; -export * from "./resolveEndpoint"; -export * from "./types"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js deleted file mode 100644 index 03be049d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./isVirtualHostableS3Bucket"; -export * from "./parseArn"; -export * from "./partition"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js deleted file mode 100644 index f2bacc0b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +++ /dev/null @@ -1,25 +0,0 @@ -import { isValidHostLabel } from "@smithy/util-endpoints"; -import { isIpAddress } from "../isIpAddress"; -export const isVirtualHostableS3Bucket = (value, allowSubDomains = false) => { - if (allowSubDomains) { - for (const label of value.split(".")) { - if (!isVirtualHostableS3Bucket(label)) { - return false; - } - } - return true; - } - if (!isValidHostLabel(value)) { - return false; - } - if (value.length < 3 || value.length > 63) { - return false; - } - if (value !== value.toLowerCase()) { - return false; - } - if (isIpAddress(value)) { - return false; - } - return true; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js deleted file mode 100644 index 6b128875..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +++ /dev/null @@ -1,18 +0,0 @@ -const ARN_DELIMITER = ":"; -const RESOURCE_DELIMITER = "/"; -export const parseArn = (value) => { - const segments = value.split(ARN_DELIMITER); - if (segments.length < 6) - return null; - const [arn, partition, service, region, accountId, ...resourcePath] = segments; - if (arn !== "arn" || partition === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "") - return null; - const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat(); - return { - partition, - service, - region, - accountId, - resourceId, - }; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js deleted file mode 100644 index 8d39d812..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +++ /dev/null @@ -1,41 +0,0 @@ -import partitionsInfo from "./partitions.json"; -let selectedPartitionsInfo = partitionsInfo; -let selectedUserAgentPrefix = ""; -export const partition = (value) => { - const { partitions } = selectedPartitionsInfo; - for (const partition of partitions) { - const { regions, outputs } = partition; - for (const [region, regionData] of Object.entries(regions)) { - if (region === value) { - return { - ...outputs, - ...regionData, - }; - } - } - } - for (const partition of partitions) { - const { regionRegex, outputs } = partition; - if (new RegExp(regionRegex).test(value)) { - return { - ...outputs, - }; - } - } - const DEFAULT_PARTITION = partitions.find((partition) => partition.id === "aws"); - if (!DEFAULT_PARTITION) { - throw new Error("Provided region was not found in the partition array or regex," + - " and default partition with id 'aws' doesn't exist."); - } - return { - ...DEFAULT_PARTITION.outputs, - }; -}; -export const setPartitionInfo = (partitionsInfo, userAgentPrefix = "") => { - selectedPartitionsInfo = partitionsInfo; - selectedUserAgentPrefix = userAgentPrefix; -}; -export const useDefaultPartitionInfo = () => { - setPartitionInfo(partitionsInfo, ""); -}; -export const getUserAgentPrefix = () => selectedUserAgentPrefix; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json deleted file mode 100644 index d7d22d84..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +++ /dev/null @@ -1,267 +0,0 @@ -{ - "partitions": [{ - "id": "aws", - "outputs": { - "dnsSuffix": "amazonaws.com", - "dualStackDnsSuffix": "api.aws", - "implicitGlobalRegion": "us-east-1", - "name": "aws", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$", - "regions": { - "af-south-1": { - "description": "Africa (Cape Town)" - }, - "ap-east-1": { - "description": "Asia Pacific (Hong Kong)" - }, - "ap-east-2": { - "description": "Asia Pacific (Taipei)" - }, - "ap-northeast-1": { - "description": "Asia Pacific (Tokyo)" - }, - "ap-northeast-2": { - "description": "Asia Pacific (Seoul)" - }, - "ap-northeast-3": { - "description": "Asia Pacific (Osaka)" - }, - "ap-south-1": { - "description": "Asia Pacific (Mumbai)" - }, - "ap-south-2": { - "description": "Asia Pacific (Hyderabad)" - }, - "ap-southeast-1": { - "description": "Asia Pacific (Singapore)" - }, - "ap-southeast-2": { - "description": "Asia Pacific (Sydney)" - }, - "ap-southeast-3": { - "description": "Asia Pacific (Jakarta)" - }, - "ap-southeast-4": { - "description": "Asia Pacific (Melbourne)" - }, - "ap-southeast-5": { - "description": "Asia Pacific (Malaysia)" - }, - "ap-southeast-6": { - "description": "Asia Pacific (New Zealand)" - }, - "ap-southeast-7": { - "description": "Asia Pacific (Thailand)" - }, - "aws-global": { - "description": "aws global region" - }, - "ca-central-1": { - "description": "Canada (Central)" - }, - "ca-west-1": { - "description": "Canada West (Calgary)" - }, - "eu-central-1": { - "description": "Europe (Frankfurt)" - }, - "eu-central-2": { - "description": "Europe (Zurich)" - }, - "eu-north-1": { - "description": "Europe (Stockholm)" - }, - "eu-south-1": { - "description": "Europe (Milan)" - }, - "eu-south-2": { - "description": "Europe (Spain)" - }, - "eu-west-1": { - "description": "Europe (Ireland)" - }, - "eu-west-2": { - "description": "Europe (London)" - }, - "eu-west-3": { - "description": "Europe (Paris)" - }, - "il-central-1": { - "description": "Israel (Tel Aviv)" - }, - "me-central-1": { - "description": "Middle East (UAE)" - }, - "me-south-1": { - "description": "Middle East (Bahrain)" - }, - "mx-central-1": { - "description": "Mexico (Central)" - }, - "sa-east-1": { - "description": "South America (Sao Paulo)" - }, - "us-east-1": { - "description": "US East (N. Virginia)" - }, - "us-east-2": { - "description": "US East (Ohio)" - }, - "us-west-1": { - "description": "US West (N. California)" - }, - "us-west-2": { - "description": "US West (Oregon)" - } - } - }, { - "id": "aws-cn", - "outputs": { - "dnsSuffix": "amazonaws.com.cn", - "dualStackDnsSuffix": "api.amazonwebservices.com.cn", - "implicitGlobalRegion": "cn-northwest-1", - "name": "aws-cn", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^cn\\-\\w+\\-\\d+$", - "regions": { - "aws-cn-global": { - "description": "aws-cn global region" - }, - "cn-north-1": { - "description": "China (Beijing)" - }, - "cn-northwest-1": { - "description": "China (Ningxia)" - } - } - }, { - "id": "aws-eusc", - "outputs": { - "dnsSuffix": "amazonaws.eu", - "dualStackDnsSuffix": "api.amazonwebservices.eu", - "implicitGlobalRegion": "eusc-de-east-1", - "name": "aws-eusc", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^eusc\\-(de)\\-\\w+\\-\\d+$", - "regions": { - "eusc-de-east-1": { - "description": "AWS European Sovereign Cloud (Germany)" - } - } - }, { - "id": "aws-iso", - "outputs": { - "dnsSuffix": "c2s.ic.gov", - "dualStackDnsSuffix": "api.aws.ic.gov", - "implicitGlobalRegion": "us-iso-east-1", - "name": "aws-iso", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^us\\-iso\\-\\w+\\-\\d+$", - "regions": { - "aws-iso-global": { - "description": "aws-iso global region" - }, - "us-iso-east-1": { - "description": "US ISO East" - }, - "us-iso-west-1": { - "description": "US ISO WEST" - } - } - }, { - "id": "aws-iso-b", - "outputs": { - "dnsSuffix": "sc2s.sgov.gov", - "dualStackDnsSuffix": "api.aws.scloud", - "implicitGlobalRegion": "us-isob-east-1", - "name": "aws-iso-b", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^us\\-isob\\-\\w+\\-\\d+$", - "regions": { - "aws-iso-b-global": { - "description": "aws-iso-b global region" - }, - "us-isob-east-1": { - "description": "US ISOB East (Ohio)" - }, - "us-isob-west-1": { - "description": "US ISOB West" - } - } - }, { - "id": "aws-iso-e", - "outputs": { - "dnsSuffix": "cloud.adc-e.uk", - "dualStackDnsSuffix": "api.cloud-aws.adc-e.uk", - "implicitGlobalRegion": "eu-isoe-west-1", - "name": "aws-iso-e", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^eu\\-isoe\\-\\w+\\-\\d+$", - "regions": { - "aws-iso-e-global": { - "description": "aws-iso-e global region" - }, - "eu-isoe-west-1": { - "description": "EU ISOE West" - } - } - }, { - "id": "aws-iso-f", - "outputs": { - "dnsSuffix": "csp.hci.ic.gov", - "dualStackDnsSuffix": "api.aws.hci.ic.gov", - "implicitGlobalRegion": "us-isof-south-1", - "name": "aws-iso-f", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^us\\-isof\\-\\w+\\-\\d+$", - "regions": { - "aws-iso-f-global": { - "description": "aws-iso-f global region" - }, - "us-isof-east-1": { - "description": "US ISOF EAST" - }, - "us-isof-south-1": { - "description": "US ISOF SOUTH" - } - } - }, { - "id": "aws-us-gov", - "outputs": { - "dnsSuffix": "amazonaws.com", - "dualStackDnsSuffix": "api.aws", - "implicitGlobalRegion": "us-gov-west-1", - "name": "aws-us-gov", - "supportsDualStack": true, - "supportsFIPS": true - }, - "regionRegex": "^us\\-gov\\-\\w+\\-\\d+$", - "regions": { - "aws-us-gov-global": { - "description": "aws-us-gov global region" - }, - "us-gov-east-1": { - "description": "AWS GovCloud (US-East)" - }, - "us-gov-west-1": { - "description": "AWS GovCloud (US-West)" - } - } - }], - "version": "1.1" -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js deleted file mode 100644 index 59bfcd8c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +++ /dev/null @@ -1 +0,0 @@ -export { isIpAddress } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js deleted file mode 100644 index 4da5619a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +++ /dev/null @@ -1,21 +0,0 @@ -import { parseUrl } from "@smithy/url-parser"; -export const resolveDefaultAwsRegionalEndpointsConfig = (input) => { - if (typeof input.endpointProvider !== "function") { - throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client."); - } - const { endpoint } = input; - if (endpoint === undefined) { - input.endpoint = async () => { - return toEndpointV1(input.endpointProvider({ - Region: typeof input.region === "function" ? await input.region() : input.region, - UseDualStack: typeof input.useDualstackEndpoint === "function" - ? await input.useDualstackEndpoint() - : input.useDualstackEndpoint, - UseFIPS: typeof input.useFipsEndpoint === "function" ? await input.useFipsEndpoint() : input.useFipsEndpoint, - Endpoint: undefined, - }, { logger: input.logger })); - }; - } - return input; -}; -export const toEndpointV1 = (endpoint) => parseUrl(endpoint.url); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js deleted file mode 100644 index e2453f7f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +++ /dev/null @@ -1 +0,0 @@ -export { resolveEndpoint } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js deleted file mode 100644 index 521e688b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +++ /dev/null @@ -1 +0,0 @@ -export { EndpointError } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js deleted file mode 100644 index cb0ff5c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js deleted file mode 100644 index cb0ff5c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js deleted file mode 100644 index cb0ff5c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js deleted file mode 100644 index cb0ff5c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js deleted file mode 100644 index daba5019..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +++ /dev/null @@ -1,6 +0,0 @@ -export * from "./EndpointError"; -export * from "./EndpointRuleObject"; -export * from "./ErrorRuleObject"; -export * from "./RuleSetObject"; -export * from "./TreeRuleObject"; -export * from "./shared"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js deleted file mode 100644 index cb0ff5c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts deleted file mode 100644 index 0c34c997..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import type { EndpointFunctions } from "@smithy/util-endpoints"; -export declare const awsEndpointFunctions: EndpointFunctions; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts deleted file mode 100644 index f41d9bec..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from "./aws"; -export * from "./lib/aws/partition"; -export * from "./lib/isIpAddress"; -export * from "./resolveDefaultAwsRegionalEndpointsConfig"; -export * from "./resolveEndpoint"; -export * from "./types"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts deleted file mode 100644 index 03be049d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./isVirtualHostableS3Bucket"; -export * from "./parseArn"; -export * from "./partition"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts deleted file mode 100644 index 25d46e4b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Evaluates whether a string is a DNS compatible bucket name and can be used with - * virtual hosted style addressing. - */ -export declare const isVirtualHostableS3Bucket: (value: string, allowSubDomains?: boolean) => boolean; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts deleted file mode 100644 index 01b029d7..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import type { EndpointARN } from "@smithy/types"; -/** - * Evaluates a single string argument value, and returns an object containing - * details about the parsed ARN. - * If the input was not a valid ARN, the function returns null. - */ -export declare const parseArn: (value: string) => EndpointARN | null; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts deleted file mode 100644 index 7a70ad51..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import type { EndpointPartition } from "@smithy/types"; -export type PartitionsInfo = { - partitions: Array<{ - id: string; - outputs: { - dnsSuffix: string; - dualStackDnsSuffix: string; - name: string; - supportsDualStack: boolean; - supportsFIPS: boolean; - }; - regionRegex: string; - regions: Record; - }>; -}; -/** - * Evaluates a single string argument value as a region, and matches the - * string value to an AWS partition. - * The matcher MUST always return a successful object describing the partition - * that the region has been determined to be a part of. - */ -export declare const partition: (value: string) => EndpointPartition; -/** - * Set custom partitions.json data. - * @internal - */ -export declare const setPartitionInfo: (partitionsInfo: PartitionsInfo, userAgentPrefix?: string) => void; -/** - * Reset to the default partitions.json data. - * @internal - */ -export declare const useDefaultPartitionInfo: () => void; -/** - * @internal - */ -export declare const getUserAgentPrefix: () => string; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts deleted file mode 100644 index 59bfcd8c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +++ /dev/null @@ -1 +0,0 @@ -export { isIpAddress } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts deleted file mode 100644 index dd6f12c7..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import type { Endpoint, EndpointParameters, EndpointV2, Logger, Provider } from "@smithy/types"; -/** - * This is an additional config resolver layer for clients using the default - * AWS regional endpoints ruleset. It makes the *resolved* config guarantee the presence of an - * endpoint provider function. This differs from the base behavior of the Endpoint - * config resolver, which only normalizes config.endpoint IFF one is provided by the caller. - * - * This is not used by AWS SDK clients, but rather - * generated clients that have the aws.api#service trait. This includes protocol tests - * and other customers. - * - * This resolver is MUTUALLY EXCLUSIVE with the EndpointRequired config resolver from - * |@smithy/middleware-endpoint. - * - * It must be placed after the `resolveEndpointConfig` - * resolver. This replaces the endpoints.json-based default endpoint provider. - * - * @public - */ -export type DefaultAwsRegionalEndpointsInputConfig = { - endpoint?: unknown; -}; -type PreviouslyResolved = { - logger?: Logger; - region?: undefined | string | Provider; - useFipsEndpoint?: undefined | boolean | Provider; - useDualstackEndpoint?: undefined | boolean | Provider; - endpointProvider: (endpointParams: EndpointParameters | DefaultRegionalEndpointParameters, context?: { - logger?: Logger; - }) => EndpointV2; -}; -/** - * @internal - */ -type DefaultRegionalEndpointParameters = { - Region?: string | undefined; - UseDualStack?: boolean | undefined; - UseFIPS?: boolean | undefined; -}; -/** - * @internal - */ -export interface DefaultAwsRegionalEndpointsResolvedConfig { - endpoint: Provider; -} -/** - * MUST resolve after `\@smithy/middleware-endpoint`::`resolveEndpointConfig`. - * - * @internal - */ -export declare const resolveDefaultAwsRegionalEndpointsConfig: (input: T & DefaultAwsRegionalEndpointsInputConfig & PreviouslyResolved) => T & DefaultAwsRegionalEndpointsResolvedConfig; -/** - * @internal - */ -export declare const toEndpointV1: (endpoint: EndpointV2) => Endpoint; -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts deleted file mode 100644 index e2453f7f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +++ /dev/null @@ -1 +0,0 @@ -export { resolveEndpoint } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts deleted file mode 100644 index 13c64a97..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { EndpointFunctions } from "@smithy/util-endpoints"; -export declare const awsEndpointFunctions: EndpointFunctions; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts deleted file mode 100644 index f41d9bec..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from "./aws"; -export * from "./lib/aws/partition"; -export * from "./lib/isIpAddress"; -export * from "./resolveDefaultAwsRegionalEndpointsConfig"; -export * from "./resolveEndpoint"; -export * from "./types"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts deleted file mode 100644 index 03be049d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./isVirtualHostableS3Bucket"; -export * from "./parseArn"; -export * from "./partition"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts deleted file mode 100644 index 5ef32963..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export declare const isVirtualHostableS3Bucket: ( - value: string, - allowSubDomains?: boolean -) => boolean; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts deleted file mode 100644 index 690d4595..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { EndpointARN } from "@smithy/types"; -export declare const parseArn: (value: string) => EndpointARN | null; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts deleted file mode 100644 index 0683113c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { EndpointPartition } from "@smithy/types"; -export type PartitionsInfo = { - partitions: Array<{ - id: string; - outputs: { - dnsSuffix: string; - dualStackDnsSuffix: string; - name: string; - supportsDualStack: boolean; - supportsFIPS: boolean; - }; - regionRegex: string; - regions: Record< - string, - | { - description?: string; - } - | undefined - >; - }>; -}; -export declare const partition: (value: string) => EndpointPartition; -export declare const setPartitionInfo: ( - partitionsInfo: PartitionsInfo, - userAgentPrefix?: string -) => void; -export declare const useDefaultPartitionInfo: () => void; -export declare const getUserAgentPrefix: () => string; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts deleted file mode 100644 index 59bfcd8c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +++ /dev/null @@ -1 +0,0 @@ -export { isIpAddress } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts deleted file mode 100644 index 3327ae9f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { - Endpoint, - EndpointParameters, - EndpointV2, - Logger, - Provider, -} from "@smithy/types"; -export type DefaultAwsRegionalEndpointsInputConfig = { - endpoint?: unknown; -}; -type PreviouslyResolved = { - logger?: Logger; - region?: undefined | string | Provider; - useFipsEndpoint?: undefined | boolean | Provider; - useDualstackEndpoint?: undefined | boolean | Provider; - endpointProvider: ( - endpointParams: EndpointParameters | DefaultRegionalEndpointParameters, - context?: { - logger?: Logger; - } - ) => EndpointV2; -}; -type DefaultRegionalEndpointParameters = { - Region?: string | undefined; - UseDualStack?: boolean | undefined; - UseFIPS?: boolean | undefined; -}; -export interface DefaultAwsRegionalEndpointsResolvedConfig { - endpoint: Provider; -} -export declare const resolveDefaultAwsRegionalEndpointsConfig: ( - input: T & DefaultAwsRegionalEndpointsInputConfig & PreviouslyResolved -) => T & DefaultAwsRegionalEndpointsResolvedConfig; -export declare const toEndpointV1: (endpoint: EndpointV2) => Endpoint; -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts deleted file mode 100644 index e2453f7f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +++ /dev/null @@ -1 +0,0 @@ -export { resolveEndpoint } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts deleted file mode 100644 index 521e688b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +++ /dev/null @@ -1 +0,0 @@ -export { EndpointError } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts deleted file mode 100644 index b48af7fa..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export { - EndpointObjectProperties, - EndpointObjectHeaders, - EndpointObject, - EndpointRuleObject, -} from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts deleted file mode 100644 index e7b8881b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +++ /dev/null @@ -1 +0,0 @@ -export { ErrorRuleObject } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts deleted file mode 100644 index 2a489c67..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export { - DeprecatedObject, - ParameterObject, - RuleSetObject, -} from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts deleted file mode 100644 index 716ddcfc..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +++ /dev/null @@ -1 +0,0 @@ -export { RuleSetRules, TreeRuleObject } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts deleted file mode 100644 index daba5019..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from "./EndpointError"; -export * from "./EndpointRuleObject"; -export * from "./ErrorRuleObject"; -export * from "./RuleSetObject"; -export * from "./TreeRuleObject"; -export * from "./shared"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts deleted file mode 100644 index cfd2248a..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export { - ReferenceObject, - FunctionObject, - FunctionArgv, - FunctionReturn, - ConditionObject, - Expression, - EndpointParams, - EndpointResolverOptions, - ReferenceRecord, - EvaluateOptions, -} from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts deleted file mode 100644 index 521e688b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +++ /dev/null @@ -1 +0,0 @@ -export { EndpointError } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts deleted file mode 100644 index ef666fe0..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +++ /dev/null @@ -1 +0,0 @@ -export { EndpointObjectProperties, EndpointObjectHeaders, EndpointObject, EndpointRuleObject, } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts deleted file mode 100644 index e7b8881b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +++ /dev/null @@ -1 +0,0 @@ -export { ErrorRuleObject } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts deleted file mode 100644 index c052af07..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +++ /dev/null @@ -1 +0,0 @@ -export { DeprecatedObject, ParameterObject, RuleSetObject } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts deleted file mode 100644 index 716ddcfc..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +++ /dev/null @@ -1 +0,0 @@ -export { RuleSetRules, TreeRuleObject } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts deleted file mode 100644 index daba5019..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from "./EndpointError"; -export * from "./EndpointRuleObject"; -export * from "./ErrorRuleObject"; -export * from "./RuleSetObject"; -export * from "./TreeRuleObject"; -export * from "./shared"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts deleted file mode 100644 index af7cc53b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +++ /dev/null @@ -1 +0,0 @@ -export { ReferenceObject, FunctionObject, FunctionArgv, FunctionReturn, ConditionObject, Expression, EndpointParams, EndpointResolverOptions, ReferenceRecord, EvaluateOptions, } from "@smithy/util-endpoints"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/package.json b/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/package.json deleted file mode 100644 index f58b9911..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-endpoints/package.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "name": "@aws-sdk/util-endpoints", - "version": "3.996.5", - "description": "Utilities to help with endpoint resolution", - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "scripts": { - "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", - "build:cjs": "node ../../scripts/compilation/inline util-endpoints", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", - "test": "yarn g:vitest run", - "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", - "test:watch": "yarn g:vitest watch", - "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" - }, - "sideEffects": true, - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "^3.973.6", - "@smithy/types": "^4.13.1", - "@smithy/url-parser": "^4.2.12", - "@smithy/util-endpoints": "^3.3.3", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=20.0.0" - }, - "typesVersions": { - "<4.5": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/util-endpoints", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "packages/util-endpoints" - }, - "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "premove": "4.0.0", - "typescript": "~5.8.3" - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/LICENSE b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/LICENSE deleted file mode 100644 index dd65ae06..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/README.md b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/README.md deleted file mode 100644 index 70eb6b35..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# @aws-sdk/util-user-agent-browser - -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/util-user-agent-browser/latest.svg)](https://www.npmjs.com/package/@aws-sdk/util-user-agent-browser) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/util-user-agent-browser.svg)](https://www.npmjs.com/package/@aws-sdk/util-user-agent-browser) - -## Usage - -In previous versions of the AWS SDK for JavaScript v3, the AWS SDK user agent header was provided by parsing the navigator user agent string with the `bowser` library. - -This was later changed to browser feature detection using the native Navigator APIs, but if you would like to have the previous functionality, use the following code: - -```js -import { createUserAgentStringParsingProvider } from "@aws-sdk/util-user-agent-browser"; - -import { S3Client } from "@aws-sdk/client-s3"; -import pkgInfo from "@aws-sdk/client-s3/package.json"; -// or any other client. - -const client = new S3Client({ - defaultUserAgentProvider: createUserAgentStringParsingProvider({ - // For a client's serviceId, check the corresponding shared runtimeConfig file - // https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/src/runtimeConfig.shared.ts - serviceId: "S3", - clientVersion: pkgInfo.version, - }), -}); -``` - -This usage is not recommended, due to the size of the additional parsing library. diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/configurations.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/configurations.js deleted file mode 100644 index c8ad2e54..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/configurations.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js deleted file mode 100644 index 5e7ea317..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/createUserAgentStringParsingProvider.js +++ /dev/null @@ -1,57 +0,0 @@ -"use strict"; -var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - var desc = Object.getOwnPropertyDescriptor(m, k); - if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { - desc = { enumerable: true, get: function() { return m[k]; } }; - } - Object.defineProperty(o, k2, desc); -}) : (function(o, m, k, k2) { - if (k2 === undefined) k2 = k; - o[k2] = m[k]; -})); -var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { - Object.defineProperty(o, "default", { enumerable: true, value: v }); -}) : function(o, v) { - o["default"] = v; -}); -var __importStar = (this && this.__importStar) || (function () { - var ownKeys = function(o) { - ownKeys = Object.getOwnPropertyNames || function (o) { - var ar = []; - for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; - return ar; - }; - return ownKeys(o); - }; - return function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); - __setModuleDefault(result, mod); - return result; - }; -})(); -Object.defineProperty(exports, "__esModule", { value: true }); -exports.createUserAgentStringParsingProvider = void 0; -const createUserAgentStringParsingProvider = ({ serviceId, clientVersion }) => async (config) => { - const module = await Promise.resolve().then(() => __importStar(require("bowser"))); - const parse = module.parse ?? module.default.parse ?? (() => ""); - const parsedUA = typeof window !== "undefined" && window?.navigator?.userAgent ? parse(window.navigator.userAgent) : undefined; - const sections = [ - ["aws-sdk-js", clientVersion], - ["ua", "2.1"], - [`os/${parsedUA?.os?.name || "other"}`, parsedUA?.os?.version], - ["lang/js"], - ["md/browser", `${parsedUA?.browser?.name ?? "unknown"}_${parsedUA?.browser?.version ?? "unknown"}`], - ]; - if (serviceId) { - sections.push([`api/${serviceId}`, clientVersion]); - } - const appId = await config?.userAgentAppId?.(); - if (appId) { - sections.push([`app/${appId}`]); - } - return sections; -}; -exports.createUserAgentStringParsingProvider = createUserAgentStringParsingProvider; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js deleted file mode 100644 index 4ab90e8c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.defaultUserAgent = exports.fallback = exports.createDefaultUserAgentProvider = exports.createUserAgentStringParsingProvider = void 0; -var createUserAgentStringParsingProvider_1 = require("./createUserAgentStringParsingProvider"); -Object.defineProperty(exports, "createUserAgentStringParsingProvider", { enumerable: true, get: function () { return createUserAgentStringParsingProvider_1.createUserAgentStringParsingProvider; } }); -const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => async (config) => { - const navigator = typeof window !== "undefined" ? window.navigator : undefined; - const uaString = navigator?.userAgent ?? ""; - const osName = navigator?.userAgentData?.platform ?? exports.fallback.os(uaString) ?? "other"; - const osVersion = undefined; - const brands = navigator?.userAgentData?.brands ?? []; - const brand = brands[brands.length - 1]; - const browserName = brand?.brand ?? exports.fallback.browser(uaString) ?? "unknown"; - const browserVersion = brand?.version ?? "unknown"; - const sections = [ - ["aws-sdk-js", clientVersion], - ["ua", "2.1"], - [`os/${osName}`, osVersion], - ["lang/js"], - ["md/browser", `${browserName}_${browserVersion}`], - ]; - if (serviceId) { - sections.push([`api/${serviceId}`, clientVersion]); - } - const appId = await config?.userAgentAppId?.(); - if (appId) { - sections.push([`app/${appId}`]); - } - return sections; -}; -exports.createDefaultUserAgentProvider = createDefaultUserAgentProvider; -exports.fallback = { - os(ua) { - if (/iPhone|iPad|iPod/.test(ua)) - return "iOS"; - if (/Macintosh|Mac OS X/.test(ua)) - return "macOS"; - if (/Windows NT/.test(ua)) - return "Windows"; - if (/Android/.test(ua)) - return "Android"; - if (/Linux/.test(ua)) - return "Linux"; - return undefined; - }, - browser(ua) { - if (/EdgiOS|EdgA|Edg\//.test(ua)) - return "Microsoft Edge"; - if (/Firefox\//.test(ua)) - return "Firefox"; - if (/Chrome\//.test(ua)) - return "Chrome"; - if (/Safari\//.test(ua)) - return "Safari"; - return undefined; - }, -}; -exports.defaultUserAgent = exports.createDefaultUserAgentProvider; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js deleted file mode 100644 index 4d06e369..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js +++ /dev/null @@ -1,22 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.defaultUserAgent = exports.createDefaultUserAgentProvider = void 0; -const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => async (config) => { - const sections = [ - ["aws-sdk-js", clientVersion], - ["ua", "2.1"], - ["os/other"], - ["lang/js"], - ["md/rn"], - ]; - if (serviceId) { - sections.push([`api/${serviceId}`, clientVersion]); - } - const appId = await config?.userAgentAppId?.(); - if (appId) { - sections.push([`app/${appId}`]); - } - return sections; -}; -exports.createDefaultUserAgentProvider = createDefaultUserAgentProvider; -exports.defaultUserAgent = exports.createDefaultUserAgentProvider; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/configurations.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/configurations.js deleted file mode 100644 index cb0ff5c3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/configurations.js +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js deleted file mode 100644 index a87ea5d0..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/createUserAgentStringParsingProvider.js +++ /dev/null @@ -1,20 +0,0 @@ -export const createUserAgentStringParsingProvider = ({ serviceId, clientVersion }) => async (config) => { - const module = await import("bowser"); - const parse = module.parse ?? module.default.parse ?? (() => ""); - const parsedUA = typeof window !== "undefined" && window?.navigator?.userAgent ? parse(window.navigator.userAgent) : undefined; - const sections = [ - ["aws-sdk-js", clientVersion], - ["ua", "2.1"], - [`os/${parsedUA?.os?.name || "other"}`, parsedUA?.os?.version], - ["lang/js"], - ["md/browser", `${parsedUA?.browser?.name ?? "unknown"}_${parsedUA?.browser?.version ?? "unknown"}`], - ]; - if (serviceId) { - sections.push([`api/${serviceId}`, clientVersion]); - } - const appId = await config?.userAgentAppId?.(); - if (appId) { - sections.push([`app/${appId}`]); - } - return sections; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js deleted file mode 100644 index 80762a0c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +++ /dev/null @@ -1,53 +0,0 @@ -export { createUserAgentStringParsingProvider } from "./createUserAgentStringParsingProvider"; -export const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => async (config) => { - const navigator = typeof window !== "undefined" ? window.navigator : undefined; - const uaString = navigator?.userAgent ?? ""; - const osName = navigator?.userAgentData?.platform ?? fallback.os(uaString) ?? "other"; - const osVersion = undefined; - const brands = navigator?.userAgentData?.brands ?? []; - const brand = brands[brands.length - 1]; - const browserName = brand?.brand ?? fallback.browser(uaString) ?? "unknown"; - const browserVersion = brand?.version ?? "unknown"; - const sections = [ - ["aws-sdk-js", clientVersion], - ["ua", "2.1"], - [`os/${osName}`, osVersion], - ["lang/js"], - ["md/browser", `${browserName}_${browserVersion}`], - ]; - if (serviceId) { - sections.push([`api/${serviceId}`, clientVersion]); - } - const appId = await config?.userAgentAppId?.(); - if (appId) { - sections.push([`app/${appId}`]); - } - return sections; -}; -export const fallback = { - os(ua) { - if (/iPhone|iPad|iPod/.test(ua)) - return "iOS"; - if (/Macintosh|Mac OS X/.test(ua)) - return "macOS"; - if (/Windows NT/.test(ua)) - return "Windows"; - if (/Android/.test(ua)) - return "Android"; - if (/Linux/.test(ua)) - return "Linux"; - return undefined; - }, - browser(ua) { - if (/EdgiOS|EdgA|Edg\//.test(ua)) - return "Microsoft Edge"; - if (/Firefox\//.test(ua)) - return "Firefox"; - if (/Chrome\//.test(ua)) - return "Chrome"; - if (/Safari\//.test(ua)) - return "Safari"; - return undefined; - }, -}; -export const defaultUserAgent = createDefaultUserAgentProvider; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js deleted file mode 100644 index 04c7ae57..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js +++ /dev/null @@ -1,18 +0,0 @@ -export const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => async (config) => { - const sections = [ - ["aws-sdk-js", clientVersion], - ["ua", "2.1"], - ["os/other"], - ["lang/js"], - ["md/rn"], - ]; - if (serviceId) { - sections.push([`api/${serviceId}`, clientVersion]); - } - const appId = await config?.userAgentAppId?.(); - if (appId) { - sections.push([`app/${appId}`]); - } - return sections; -}; -export const defaultUserAgent = createDefaultUserAgentProvider; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/configurations.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/configurations.d.ts deleted file mode 100644 index 00537a90..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/configurations.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @internal - */ -export interface DefaultUserAgentOptions { - serviceId?: string; - clientVersion: string; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts deleted file mode 100644 index 0897b0df..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/createUserAgentStringParsingProvider.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import type { UserAgent } from "@smithy/types"; -import type { DefaultUserAgentOptions } from "./configurations"; -import type { PreviouslyResolved } from "./index"; -/** - * This is an alternative to the default user agent provider that uses the bowser - * library to parse the user agent string. - * - * Use this with your client's `defaultUserAgentProvider` constructor object field - * to use the legacy behavior. - * - * @deprecated use the default provider unless you need the older UA-parsing functionality. - * @public - */ -export declare const createUserAgentStringParsingProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => ((config?: PreviouslyResolved) => Promise); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts deleted file mode 100644 index 35d2f721..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import type { Provider, UserAgent } from "@smithy/types"; -import type { DefaultUserAgentOptions } from "./configurations"; -export { createUserAgentStringParsingProvider } from "./createUserAgentStringParsingProvider"; -/** - * @internal - */ -export interface PreviouslyResolved { - userAgentAppId: Provider; -} -/** - * Default provider of the AWS SDK user agent string in react-native. - * @internal - */ -export declare const createDefaultUserAgentProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => ((config?: PreviouslyResolved) => Promise); -/** - * Rudimentary UA string parsing as a fallback. - * @internal - */ -export declare const fallback: { - os(ua: string): string | undefined; - browser(ua: string): string | undefined; -}; -/** - * @internal - * @deprecated use createDefaultUserAgentProvider - */ -export declare const defaultUserAgent: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => ((config?: PreviouslyResolved) => Promise); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts deleted file mode 100644 index 02134b1c..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import type { Provider, UserAgent } from "@smithy/types"; -import type { DefaultUserAgentOptions } from "./configurations"; -/** - * @internal - */ -export interface PreviouslyResolved { - userAgentAppId: Provider; -} -/** - * Default provider to the user agent in ReactNative. - * @internal - */ -export declare const createDefaultUserAgentProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => ((config?: PreviouslyResolved) => Promise); -/** - * @internal - * @deprecated use createDefaultUserAgentProvider - */ -export declare const defaultUserAgent: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => ((config?: PreviouslyResolved) => Promise); diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/configurations.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/configurations.d.ts deleted file mode 100644 index 1428231d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/configurations.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface DefaultUserAgentOptions { - serviceId?: string; - clientVersion: string; -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts deleted file mode 100644 index a5649186..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/createUserAgentStringParsingProvider.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { UserAgent } from "@smithy/types"; -import { DefaultUserAgentOptions } from "./configurations"; -import { PreviouslyResolved } from "./index"; -export declare const createUserAgentStringParsingProvider: ({ - serviceId, - clientVersion, -}: DefaultUserAgentOptions) => ( - config?: PreviouslyResolved -) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts deleted file mode 100644 index adca294b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Provider, UserAgent } from "@smithy/types"; -import { DefaultUserAgentOptions } from "./configurations"; -export { createUserAgentStringParsingProvider } from "./createUserAgentStringParsingProvider"; -export interface PreviouslyResolved { - userAgentAppId: Provider; -} -export declare const createDefaultUserAgentProvider: ({ - serviceId, - clientVersion, -}: DefaultUserAgentOptions) => ( - config?: PreviouslyResolved -) => Promise; -export declare const fallback: { - os(ua: string): string | undefined; - browser(ua: string): string | undefined; -}; -export declare const defaultUserAgent: ({ - serviceId, - clientVersion, -}: DefaultUserAgentOptions) => ( - config?: PreviouslyResolved -) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts deleted file mode 100644 index 32e643a3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Provider, UserAgent } from "@smithy/types"; -import { DefaultUserAgentOptions } from "./configurations"; -export interface PreviouslyResolved { - userAgentAppId: Provider; -} -export declare const createDefaultUserAgentProvider: ({ - serviceId, - clientVersion, -}: DefaultUserAgentOptions) => ( - config?: PreviouslyResolved -) => Promise; -export declare const defaultUserAgent: ({ - serviceId, - clientVersion, -}: DefaultUserAgentOptions) => ( - config?: PreviouslyResolved -) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/package.json b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/package.json deleted file mode 100644 index 8d76eeda..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-browser/package.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "@aws-sdk/util-user-agent-browser", - "version": "3.972.8", - "scripts": { - "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", - "build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", - "test": "yarn g:vitest run", - "test:watch": "yarn g:vitest watch" - }, - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "browser": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "sideEffects": false, - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "react-native": "dist-es/index.native.js", - "dependencies": { - "@aws-sdk/types": "^3.973.6", - "@smithy/types": "^4.13.1", - "bowser": "^2.11.0", - "tslib": "^2.6.2" - }, - "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "premove": "4.0.0", - "typescript": "~5.8.3" - }, - "typesVersions": { - "<4.5": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/util-user-agent-browser", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "packages-internal/util-user-agent-browser" - } -} diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/LICENSE b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/LICENSE deleted file mode 100644 index dd65ae06..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/README.md b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/README.md deleted file mode 100644 index 9ab496c6..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# @aws-sdk/util-user-agent-node - -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/util-user-agent-node/latest.svg)](https://www.npmjs.com/package/@aws-sdk/util-user-agent-node) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/util-user-agent-node.svg)](https://www.npmjs.com/package/@aws-sdk/util-user-agent-node) - -### :warning: Internal API :warning: - -> This is an internal package. -> That means this is used as a dependency for other, public packages, but -> should not be taken directly as a dependency in your application's `package.json`. - -> If you are updating the version of this package, for example to bring in a -> bug-fix, you should do so by updating your application lockfile with -> e.g. `npm up @scope/package` or equivalent command in another -> package manager, rather than taking a direct dependency. - ---- diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js deleted file mode 100644 index df3a9598..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +++ /dev/null @@ -1,185 +0,0 @@ -'use strict'; - -var node_os = require('node:os'); -var node_process = require('node:process'); -var utilConfigProvider = require('@smithy/util-config-provider'); -var promises = require('node:fs/promises'); -var node_path = require('node:path'); -var middlewareUserAgent = require('@aws-sdk/middleware-user-agent'); - -const getRuntimeUserAgentPair = () => { - const runtimesToCheck = ["deno", "bun", "llrt"]; - for (const runtime of runtimesToCheck) { - if (node_process.versions[runtime]) { - return [`md/${runtime}`, node_process.versions[runtime]]; - } - } - return ["md/nodejs", node_process.versions.node]; -}; - -const getNodeModulesParentDirs = (dirname) => { - const cwd = process.cwd(); - if (!dirname) { - return [cwd]; - } - const normalizedPath = node_path.normalize(dirname); - const parts = normalizedPath.split(node_path.sep); - const nodeModulesIndex = parts.indexOf("node_modules"); - const parentDir = nodeModulesIndex !== -1 ? parts.slice(0, nodeModulesIndex).join(node_path.sep) : normalizedPath; - if (cwd === parentDir) { - return [cwd]; - } - return [parentDir, cwd]; -}; - -const SEMVER_REGEX = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/; -const getSanitizedTypeScriptVersion = (version = "") => { - const match = version.match(SEMVER_REGEX); - if (!match) { - return undefined; - } - const [major, minor, patch, prerelease] = [match[1], match[2], match[3], match[4]]; - return prerelease ? `${major}.${minor}.${patch}-${prerelease}` : `${major}.${minor}.${patch}`; -}; - -const ALLOWED_PREFIXES = ["^", "~", ">=", "<=", ">", "<"]; -const ALLOWED_DIST_TAGS = ["latest", "beta", "dev", "rc", "insiders", "next"]; -const getSanitizedDevTypeScriptVersion = (version = "") => { - if (ALLOWED_DIST_TAGS.includes(version)) { - return version; - } - const prefix = ALLOWED_PREFIXES.find((p) => version.startsWith(p)) ?? ""; - const sanitizedTypeScriptVersion = getSanitizedTypeScriptVersion(version.slice(prefix.length)); - if (!sanitizedTypeScriptVersion) { - return undefined; - } - return `${prefix}${sanitizedTypeScriptVersion}`; -}; - -let tscVersion; -const TS_PACKAGE_JSON = node_path.join("node_modules", "typescript", "package.json"); -const getTypeScriptUserAgentPair = async () => { - if (tscVersion === null) { - return undefined; - } - else if (typeof tscVersion === "string") { - return ["md/tsc", tscVersion]; - } - let isTypeScriptDetectionDisabled = false; - try { - isTypeScriptDetectionDisabled = - utilConfigProvider.booleanSelector(process.env, "AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED", utilConfigProvider.SelectorType.ENV) || false; - } - catch { } - if (isTypeScriptDetectionDisabled) { - tscVersion = null; - return undefined; - } - const dirname = typeof __dirname !== "undefined" ? __dirname : undefined; - const nodeModulesParentDirs = getNodeModulesParentDirs(dirname); - let versionFromApp; - for (const nodeModulesParentDir of nodeModulesParentDirs) { - try { - const appPackageJsonPath = node_path.join(nodeModulesParentDir, "package.json"); - const packageJson = await promises.readFile(appPackageJsonPath, "utf-8"); - const { dependencies, devDependencies } = JSON.parse(packageJson); - const version = devDependencies?.typescript ?? dependencies?.typescript; - if (typeof version !== "string") { - continue; - } - versionFromApp = version; - break; - } - catch { - } - } - if (!versionFromApp) { - tscVersion = null; - return undefined; - } - let versionFromNodeModules; - for (const nodeModulesParentDir of nodeModulesParentDirs) { - try { - const tsPackageJsonPath = node_path.join(nodeModulesParentDir, TS_PACKAGE_JSON); - const packageJson = await promises.readFile(tsPackageJsonPath, "utf-8"); - const { version } = JSON.parse(packageJson); - const sanitizedVersion = getSanitizedTypeScriptVersion(version); - if (typeof sanitizedVersion !== "string") { - continue; - } - versionFromNodeModules = sanitizedVersion; - break; - } - catch { - } - } - if (versionFromNodeModules) { - tscVersion = versionFromNodeModules; - return ["md/tsc", tscVersion]; - } - const sanitizedVersion = getSanitizedDevTypeScriptVersion(versionFromApp); - if (typeof sanitizedVersion !== "string") { - tscVersion = null; - return undefined; - } - tscVersion = `dev_${sanitizedVersion}`; - return ["md/tsc", tscVersion]; -}; - -const crtAvailability = { - isCrtAvailable: false, -}; - -const isCrtAvailable = () => { - if (crtAvailability.isCrtAvailable) { - return ["md/crt-avail"]; - } - return null; -}; - -const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => { - const runtimeUserAgentPair = getRuntimeUserAgentPair(); - return async (config) => { - const sections = [ - ["aws-sdk-js", clientVersion], - ["ua", "2.1"], - [`os/${node_os.platform()}`, node_os.release()], - ["lang/js"], - runtimeUserAgentPair, - ]; - const typescriptUserAgentPair = await getTypeScriptUserAgentPair(); - if (typescriptUserAgentPair) { - sections.push(typescriptUserAgentPair); - } - const crtAvailable = isCrtAvailable(); - if (crtAvailable) { - sections.push(crtAvailable); - } - if (serviceId) { - sections.push([`api/${serviceId}`, clientVersion]); - } - if (node_process.env.AWS_EXECUTION_ENV) { - sections.push([`exec-env/${node_process.env.AWS_EXECUTION_ENV}`]); - } - const appId = await config?.userAgentAppId?.(); - const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections]; - return resolvedUserAgent; - }; -}; -const defaultUserAgent = createDefaultUserAgentProvider; - -const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID"; -const UA_APP_ID_INI_NAME = "sdk_ua_app_id"; -const UA_APP_ID_INI_NAME_DEPRECATED = "sdk-ua-app-id"; -const NODE_APP_ID_CONFIG_OPTIONS = { - environmentVariableSelector: (env) => env[UA_APP_ID_ENV_NAME], - configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], - default: middlewareUserAgent.DEFAULT_UA_APP_ID, -}; - -exports.NODE_APP_ID_CONFIG_OPTIONS = NODE_APP_ID_CONFIG_OPTIONS; -exports.UA_APP_ID_ENV_NAME = UA_APP_ID_ENV_NAME; -exports.UA_APP_ID_INI_NAME = UA_APP_ID_INI_NAME; -exports.createDefaultUserAgentProvider = createDefaultUserAgentProvider; -exports.crtAvailability = crtAvailability; -exports.defaultUserAgent = defaultUserAgent; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/crt-availability.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/crt-availability.js deleted file mode 100644 index 99ebeb97..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/crt-availability.js +++ /dev/null @@ -1,3 +0,0 @@ -export const crtAvailability = { - isCrtAvailable: false, -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js deleted file mode 100644 index 2b7eb5f0..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +++ /dev/null @@ -1,36 +0,0 @@ -import { platform, release } from "node:os"; -import { env } from "node:process"; -import { getRuntimeUserAgentPair } from "./getRuntimeUserAgentPair"; -import { getTypeScriptUserAgentPair } from "./getTypeScriptUserAgentPair"; -import { isCrtAvailable } from "./is-crt-available"; -export { crtAvailability } from "./crt-availability"; -export const createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => { - const runtimeUserAgentPair = getRuntimeUserAgentPair(); - return async (config) => { - const sections = [ - ["aws-sdk-js", clientVersion], - ["ua", "2.1"], - [`os/${platform()}`, release()], - ["lang/js"], - runtimeUserAgentPair, - ]; - const typescriptUserAgentPair = await getTypeScriptUserAgentPair(); - if (typescriptUserAgentPair) { - sections.push(typescriptUserAgentPair); - } - const crtAvailable = isCrtAvailable(); - if (crtAvailable) { - sections.push(crtAvailable); - } - if (serviceId) { - sections.push([`api/${serviceId}`, clientVersion]); - } - if (env.AWS_EXECUTION_ENV) { - sections.push([`exec-env/${env.AWS_EXECUTION_ENV}`]); - } - const appId = await config?.userAgentAppId?.(); - const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections]; - return resolvedUserAgent; - }; -}; -export const defaultUserAgent = createDefaultUserAgentProvider; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js deleted file mode 100644 index eca7e637..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js +++ /dev/null @@ -1,15 +0,0 @@ -import { normalize, sep } from "node:path"; -export const getNodeModulesParentDirs = (dirname) => { - const cwd = process.cwd(); - if (!dirname) { - return [cwd]; - } - const normalizedPath = normalize(dirname); - const parts = normalizedPath.split(sep); - const nodeModulesIndex = parts.indexOf("node_modules"); - const parentDir = nodeModulesIndex !== -1 ? parts.slice(0, nodeModulesIndex).join(sep) : normalizedPath; - if (cwd === parentDir) { - return [cwd]; - } - return [parentDir, cwd]; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js deleted file mode 100644 index 3d96cd9d..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js +++ /dev/null @@ -1,10 +0,0 @@ -import { versions } from "node:process"; -export const getRuntimeUserAgentPair = () => { - const runtimesToCheck = ["deno", "bun", "llrt"]; - for (const runtime of runtimesToCheck) { - if (versions[runtime]) { - return [`md/${runtime}`, versions[runtime]]; - } - } - return ["md/nodejs", versions.node]; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js deleted file mode 100644 index 9ca3f3a5..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js +++ /dev/null @@ -1,14 +0,0 @@ -import { getSanitizedTypeScriptVersion } from "./getSanitizedTypeScriptVersion"; -const ALLOWED_PREFIXES = ["^", "~", ">=", "<=", ">", "<"]; -const ALLOWED_DIST_TAGS = ["latest", "beta", "dev", "rc", "insiders", "next"]; -export const getSanitizedDevTypeScriptVersion = (version = "") => { - if (ALLOWED_DIST_TAGS.includes(version)) { - return version; - } - const prefix = ALLOWED_PREFIXES.find((p) => version.startsWith(p)) ?? ""; - const sanitizedTypeScriptVersion = getSanitizedTypeScriptVersion(version.slice(prefix.length)); - if (!sanitizedTypeScriptVersion) { - return undefined; - } - return `${prefix}${sanitizedTypeScriptVersion}`; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js deleted file mode 100644 index d93d097f..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js +++ /dev/null @@ -1,9 +0,0 @@ -const SEMVER_REGEX = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*)?$/; -export const getSanitizedTypeScriptVersion = (version = "") => { - const match = version.match(SEMVER_REGEX); - if (!match) { - return undefined; - } - const [major, minor, patch, prerelease] = [match[1], match[2], match[3], match[4]]; - return prerelease ? `${major}.${minor}.${patch}-${prerelease}` : `${major}.${minor}.${patch}`; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js deleted file mode 100644 index 48d6c670..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +++ /dev/null @@ -1,75 +0,0 @@ -import { booleanSelector, SelectorType } from "@smithy/util-config-provider"; -import { readFile } from "node:fs/promises"; -import { join } from "node:path"; -import { getNodeModulesParentDirs } from "./getNodeModulesParentDirs"; -import { getSanitizedDevTypeScriptVersion } from "./getSanitizedDevTypeScriptVersion"; -import { getSanitizedTypeScriptVersion } from "./getSanitizedTypeScriptVersion"; -let tscVersion; -const TS_PACKAGE_JSON = join("node_modules", "typescript", "package.json"); -export const getTypeScriptUserAgentPair = async () => { - if (tscVersion === null) { - return undefined; - } - else if (typeof tscVersion === "string") { - return ["md/tsc", tscVersion]; - } - let isTypeScriptDetectionDisabled = false; - try { - isTypeScriptDetectionDisabled = - booleanSelector(process.env, "AWS_SDK_JS_TYPESCRIPT_DETECTION_DISABLED", SelectorType.ENV) || false; - } - catch { } - if (isTypeScriptDetectionDisabled) { - tscVersion = null; - return undefined; - } - const dirname = typeof __dirname !== "undefined" ? __dirname : undefined; - const nodeModulesParentDirs = getNodeModulesParentDirs(dirname); - let versionFromApp; - for (const nodeModulesParentDir of nodeModulesParentDirs) { - try { - const appPackageJsonPath = join(nodeModulesParentDir, "package.json"); - const packageJson = await readFile(appPackageJsonPath, "utf-8"); - const { dependencies, devDependencies } = JSON.parse(packageJson); - const version = devDependencies?.typescript ?? dependencies?.typescript; - if (typeof version !== "string") { - continue; - } - versionFromApp = version; - break; - } - catch { - } - } - if (!versionFromApp) { - tscVersion = null; - return undefined; - } - let versionFromNodeModules; - for (const nodeModulesParentDir of nodeModulesParentDirs) { - try { - const tsPackageJsonPath = join(nodeModulesParentDir, TS_PACKAGE_JSON); - const packageJson = await readFile(tsPackageJsonPath, "utf-8"); - const { version } = JSON.parse(packageJson); - const sanitizedVersion = getSanitizedTypeScriptVersion(version); - if (typeof sanitizedVersion !== "string") { - continue; - } - versionFromNodeModules = sanitizedVersion; - break; - } - catch { - } - } - if (versionFromNodeModules) { - tscVersion = versionFromNodeModules; - return ["md/tsc", tscVersion]; - } - const sanitizedVersion = getSanitizedDevTypeScriptVersion(versionFromApp); - if (typeof sanitizedVersion !== "string") { - tscVersion = null; - return undefined; - } - tscVersion = `dev_${sanitizedVersion}`; - return ["md/tsc", tscVersion]; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js deleted file mode 100644 index cbf37f23..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./defaultUserAgent"; -export * from "./nodeAppIdConfigOptions"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/is-crt-available.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/is-crt-available.js deleted file mode 100644 index e9f8b0de..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/is-crt-available.js +++ /dev/null @@ -1,7 +0,0 @@ -import { crtAvailability } from "./crt-availability"; -export const isCrtAvailable = () => { - if (crtAvailability.isCrtAvailable) { - return ["md/crt-avail"]; - } - return null; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js deleted file mode 100644 index f270db9b..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js +++ /dev/null @@ -1,9 +0,0 @@ -import { DEFAULT_UA_APP_ID } from "@aws-sdk/middleware-user-agent"; -export const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID"; -export const UA_APP_ID_INI_NAME = "sdk_ua_app_id"; -const UA_APP_ID_INI_NAME_DEPRECATED = "sdk-ua-app-id"; -export const NODE_APP_ID_CONFIG_OPTIONS = { - environmentVariableSelector: (env) => env[UA_APP_ID_ENV_NAME], - configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED], - default: DEFAULT_UA_APP_ID, -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts deleted file mode 100644 index 0cbb6608..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/crt-availability.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * If \@aws-sdk/signature-v4-crt is installed and loaded, it will register - * this value to true. - * @internal - */ -export declare const crtAvailability: { - isCrtAvailable: boolean; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts deleted file mode 100644 index 9c07c148..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import type { Provider, UserAgent } from "@smithy/types"; -/** - * @internal - */ -export { crtAvailability } from "./crt-availability"; -/** - * @internal - */ -export interface DefaultUserAgentOptions { - serviceId?: string; - clientVersion: string; -} -/** - * @internal - */ -export interface PreviouslyResolved { - userAgentAppId: Provider; -} -/** - * Collect metrics from runtime to put into user agent. - * @internal - */ -export declare const createDefaultUserAgentProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise; -/** - * @internal - * @deprecated use createDefaultUserAgentProvider - */ -export declare const defaultUserAgent: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts deleted file mode 100644 index ab163e0e..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Returns candidate paths to the node_modules parent directories based on current - * working directory and, if provided, from the given directory. - * - * @param dirname - Optional directory path to derive an additional candidate path from. - * @returns An array of unique candidate paths to the TypeScript package.json file. - * - * @internal - */ -export declare const getNodeModulesParentDirs: (dirname?: string) => string[]; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getRuntimeUserAgentPair.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getRuntimeUserAgentPair.d.ts deleted file mode 100644 index d5edbbe1..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getRuntimeUserAgentPair.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { UserAgentPair } from "@smithy/types"; -/** - * Returns the runtime name and version as a user agent pair. - * @internal - */ -export declare const getRuntimeUserAgentPair: () => UserAgentPair; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts deleted file mode 100644 index 0046e8a4..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Sanitizes a TypeScript version string for user-agent reporting. - * Handles dist tags (e.g., "latest", "beta"), version prefixes (e.g., "^", "~"), - * and semver strings. Returns undefined if the version is invalid. - * - * @internal - */ -export declare const getSanitizedDevTypeScriptVersion: (version?: string) => string | undefined; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts deleted file mode 100644 index b506b608..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Validates a semver string (with optional pre-release and/or build metadata). - * If valid, returns the version string with build metadata stripped. - * Returns undefined if the string is not a valid semver. - * - * @internal - */ -export declare const getSanitizedTypeScriptVersion: (version?: string) => string | undefined; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts deleted file mode 100644 index c5395987..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type { UserAgentPair } from "@smithy/types"; -/** - * Returns the tyescript name and version as a user agent pair, if present. - * @internal - */ -export declare const getTypeScriptUserAgentPair: () => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts deleted file mode 100644 index cbf37f23..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./defaultUserAgent"; -export * from "./nodeAppIdConfigOptions"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts deleted file mode 100644 index e9b010e7..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import type { UserAgentPair } from "@smithy/types"; -/** - * @internal - */ -export declare const isCrtAvailable: () => UserAgentPair | null; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts deleted file mode 100644 index 35201df4..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import type { LoadedConfigSelectors } from "@smithy/node-config-provider"; -/** - * @internal - */ -export declare const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID"; -/** - * @internal - */ -export declare const UA_APP_ID_INI_NAME = "sdk_ua_app_id"; -/** - * @internal - */ -export declare const NODE_APP_ID_CONFIG_OPTIONS: LoadedConfigSelectors; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/crt-availability.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/crt-availability.d.ts deleted file mode 100644 index 9dccfb03..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/crt-availability.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const crtAvailability: { - isCrtAvailable: boolean; -}; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts deleted file mode 100644 index 6e4884f3..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Provider, UserAgent } from "@smithy/types"; -export { crtAvailability } from "./crt-availability"; -export interface DefaultUserAgentOptions { - serviceId?: string; - clientVersion: string; -} -export interface PreviouslyResolved { - userAgentAppId: Provider; -} -export declare const createDefaultUserAgentProvider: ({ - serviceId, - clientVersion, -}: DefaultUserAgentOptions) => ( - config?: PreviouslyResolved -) => Promise; -export declare const defaultUserAgent: ({ - serviceId, - clientVersion, -}: DefaultUserAgentOptions) => ( - config?: PreviouslyResolved -) => Promise; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts deleted file mode 100644 index 938df900..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const getNodeModulesParentDirs: (dirname?: string) => string[]; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getRuntimeUserAgentPair.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getRuntimeUserAgentPair.d.ts deleted file mode 100644 index 8f2e8476..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getRuntimeUserAgentPair.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { UserAgentPair } from "@smithy/types"; -export declare const getRuntimeUserAgentPair: () => UserAgentPair; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts deleted file mode 100644 index c16a7aaf..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const getSanitizedDevTypeScriptVersion: ( - version?: string -) => string | undefined; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts deleted file mode 100644 index 0f5dbdc4..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export declare const getSanitizedTypeScriptVersion: ( - version?: string -) => string | undefined; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts deleted file mode 100644 index 47eced35..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -import { UserAgentPair } from "@smithy/types"; -export declare const getTypeScriptUserAgentPair: () => Promise< - UserAgentPair | undefined ->; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts deleted file mode 100644 index cbf37f23..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./defaultUserAgent"; -export * from "./nodeAppIdConfigOptions"; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/is-crt-available.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/is-crt-available.d.ts deleted file mode 100644 index d28355c1..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/is-crt-available.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -import { UserAgentPair } from "@smithy/types"; -export declare const isCrtAvailable: () => UserAgentPair | null; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts deleted file mode 100644 index b9fa1235..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { LoadedConfigSelectors } from "@smithy/node-config-provider"; -export declare const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID"; -export declare const UA_APP_ID_INI_NAME = "sdk_ua_app_id"; -export declare const NODE_APP_ID_CONFIG_OPTIONS: LoadedConfigSelectors< - string | undefined ->; diff --git a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/package.json b/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/package.json deleted file mode 100644 index a4d6b289..00000000 --- a/lambdas/risk-engine/node_modules/@aws-sdk/util-user-agent-node/package.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "name": "@aws-sdk/util-user-agent-node", - "version": "3.973.12", - "scripts": { - "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", - "build:cjs": "node ../../scripts/compilation/inline util-user-agent-node", - "build:es": "tsc -p tsconfig.es.json", - "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", - "build:types": "tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", - "test": "yarn g:vitest run", - "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", - "test:watch": "yarn g:vitest watch", - "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts" - }, - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "sideEffects": false, - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/middleware-user-agent": "^3.972.26", - "@aws-sdk/types": "^3.973.6", - "@smithy/node-config-provider": "^4.3.12", - "@smithy/types": "^4.13.1", - "@smithy/util-config-provider": "^4.2.2", - "tslib": "^2.6.2" - }, - "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^20.14.8", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "premove": "4.0.0", - "typescript": "~5.8.3" - }, - "peerDependencies": { - "aws-crt": ">=1.0.0" - }, - "peerDependenciesMeta": { - "aws-crt": { - "optional": true - } - }, - "engines": { - "node": ">=20.0.0" - }, - "typesVersions": { - "<4.5": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/util-user-agent-node", - "repository": { - "type": "git", - "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "packages-internal/util-user-agent-node" - } -} diff --git a/lambdas/risk-engine/node_modules/@babel/code-frame/LICENSE b/lambdas/risk-engine/node_modules/@babel/code-frame/LICENSE deleted file mode 100644 index f31575ec..00000000 --- a/lambdas/risk-engine/node_modules/@babel/code-frame/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/@babel/code-frame/README.md b/lambdas/risk-engine/node_modules/@babel/code-frame/README.md deleted file mode 100644 index 71607551..00000000 --- a/lambdas/risk-engine/node_modules/@babel/code-frame/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/code-frame - -> Generate errors that contain a code frame that point to source locations. - -See our website [@babel/code-frame](https://babeljs.io/docs/babel-code-frame) for more information. - -## Install - -Using npm: - -```sh -npm install --save-dev @babel/code-frame -``` - -or using yarn: - -```sh -yarn add @babel/code-frame --dev -``` diff --git a/lambdas/risk-engine/node_modules/@babel/code-frame/lib/index.js b/lambdas/risk-engine/node_modules/@babel/code-frame/lib/index.js deleted file mode 100644 index 9c5db406..00000000 --- a/lambdas/risk-engine/node_modules/@babel/code-frame/lib/index.js +++ /dev/null @@ -1,217 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -var picocolors = require('picocolors'); -var jsTokens = require('js-tokens'); -var helperValidatorIdentifier = require('@babel/helper-validator-identifier'); - -function isColorSupported() { - return (typeof process === "object" && (process.env.FORCE_COLOR === "0" || process.env.FORCE_COLOR === "false") ? false : picocolors.isColorSupported - ); -} -const compose = (f, g) => v => f(g(v)); -function buildDefs(colors) { - return { - keyword: colors.cyan, - capitalized: colors.yellow, - jsxIdentifier: colors.yellow, - punctuator: colors.yellow, - number: colors.magenta, - string: colors.green, - regex: colors.magenta, - comment: colors.gray, - invalid: compose(compose(colors.white, colors.bgRed), colors.bold), - gutter: colors.gray, - marker: compose(colors.red, colors.bold), - message: compose(colors.red, colors.bold), - reset: colors.reset - }; -} -const defsOn = buildDefs(picocolors.createColors(true)); -const defsOff = buildDefs(picocolors.createColors(false)); -function getDefs(enabled) { - return enabled ? defsOn : defsOff; -} - -const sometimesKeywords = new Set(["as", "async", "from", "get", "of", "set"]); -const NEWLINE$1 = /\r\n|[\n\r\u2028\u2029]/; -const BRACKET = /^[()[\]{}]$/; -let tokenize; -const JSX_TAG = /^[a-z][\w-]*$/i; -const getTokenType = function (token, offset, text) { - if (token.type === "name") { - const tokenValue = token.value; - if (helperValidatorIdentifier.isKeyword(tokenValue) || helperValidatorIdentifier.isStrictReservedWord(tokenValue, true) || sometimesKeywords.has(tokenValue)) { - return "keyword"; - } - if (JSX_TAG.test(tokenValue) && (text[offset - 1] === "<" || text.slice(offset - 2, offset) === " defs[type](str)).join("\n"); - } else { - highlighted += value; - } - } - return highlighted; -} - -let deprecationWarningShown = false; -const NEWLINE = /\r\n|[\n\r\u2028\u2029]/; -function getMarkerLines(loc, source, opts, startLineBaseZero) { - const startLoc = Object.assign({ - column: 0, - line: -1 - }, loc.start); - const endLoc = Object.assign({}, startLoc, loc.end); - const { - linesAbove = 2, - linesBelow = 3 - } = opts || {}; - const startLine = startLoc.line - startLineBaseZero; - const startColumn = startLoc.column; - const endLine = endLoc.line - startLineBaseZero; - const endColumn = endLoc.column; - let start = Math.max(startLine - (linesAbove + 1), 0); - let end = Math.min(source.length, endLine + linesBelow); - if (startLine === -1) { - start = 0; - } - if (endLine === -1) { - end = source.length; - } - const lineDiff = endLine - startLine; - const markerLines = {}; - if (lineDiff) { - for (let i = 0; i <= lineDiff; i++) { - const lineNumber = i + startLine; - if (!startColumn) { - markerLines[lineNumber] = true; - } else if (i === 0) { - const sourceLength = source[lineNumber - 1].length; - markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1]; - } else if (i === lineDiff) { - markerLines[lineNumber] = [0, endColumn]; - } else { - const sourceLength = source[lineNumber - i].length; - markerLines[lineNumber] = [0, sourceLength]; - } - } - } else { - if (startColumn === endColumn) { - if (startColumn) { - markerLines[startLine] = [startColumn, 0]; - } else { - markerLines[startLine] = true; - } - } else { - markerLines[startLine] = [startColumn, endColumn - startColumn]; - } - } - return { - start, - end, - markerLines - }; -} -function codeFrameColumns(rawLines, loc, opts = {}) { - const shouldHighlight = opts.forceColor || isColorSupported() && opts.highlightCode; - const startLineBaseZero = (opts.startLine || 1) - 1; - const defs = getDefs(shouldHighlight); - const lines = rawLines.split(NEWLINE); - const { - start, - end, - markerLines - } = getMarkerLines(loc, lines, opts, startLineBaseZero); - const hasColumns = loc.start && typeof loc.start.column === "number"; - const numberMaxWidth = String(end + startLineBaseZero).length; - const highlightedLines = shouldHighlight ? highlight(rawLines) : rawLines; - let frame = highlightedLines.split(NEWLINE, end).slice(start, end).map((line, index) => { - const number = start + 1 + index; - const paddedNumber = ` ${number + startLineBaseZero}`.slice(-numberMaxWidth); - const gutter = ` ${paddedNumber} |`; - const hasMarker = markerLines[number]; - const lastMarkerLine = !markerLines[number + 1]; - if (hasMarker) { - let markerLine = ""; - if (Array.isArray(hasMarker)) { - const markerSpacing = line.slice(0, Math.max(hasMarker[0] - 1, 0)).replace(/[^\t]/g, " "); - const numberOfMarkers = hasMarker[1] || 1; - markerLine = ["\n ", defs.gutter(gutter.replace(/\d/g, " ")), " ", markerSpacing, defs.marker("^").repeat(numberOfMarkers)].join(""); - if (lastMarkerLine && opts.message) { - markerLine += " " + defs.message(opts.message); - } - } - return [defs.marker(">"), defs.gutter(gutter), line.length > 0 ? ` ${line}` : "", markerLine].join(""); - } else { - return ` ${defs.gutter(gutter)}${line.length > 0 ? ` ${line}` : ""}`; - } - }).join("\n"); - if (opts.message && !hasColumns) { - frame = `${" ".repeat(numberMaxWidth + 1)}${opts.message}\n${frame}`; - } - if (shouldHighlight) { - return defs.reset(frame); - } else { - return frame; - } -} -function index (rawLines, lineNumber, colNumber, opts = {}) { - if (!deprecationWarningShown) { - deprecationWarningShown = true; - const message = "Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`."; - if (process.emitWarning) { - process.emitWarning(message, "DeprecationWarning"); - } else { - const deprecationError = new Error(message); - deprecationError.name = "DeprecationWarning"; - console.warn(new Error(message)); - } - } - colNumber = Math.max(colNumber, 0); - const location = { - start: { - column: colNumber, - line: lineNumber - } - }; - return codeFrameColumns(rawLines, location, opts); -} - -exports.codeFrameColumns = codeFrameColumns; -exports.default = index; -exports.highlight = highlight; -//# sourceMappingURL=index.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/code-frame/lib/index.js.map b/lambdas/risk-engine/node_modules/@babel/code-frame/lib/index.js.map deleted file mode 100644 index 6b85ae49..00000000 --- a/lambdas/risk-engine/node_modules/@babel/code-frame/lib/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sources":["../src/defs.ts","../src/highlight.ts","../src/index.ts"],"sourcesContent":["import picocolors, { createColors } from \"picocolors\";\nimport type { Colors, Formatter } from \"picocolors/types\";\n\nexport function isColorSupported() {\n return (\n // See https://github.com/alexeyraspopov/picocolors/issues/62\n typeof process === \"object\" &&\n (process.env.FORCE_COLOR === \"0\" || process.env.FORCE_COLOR === \"false\")\n ? false\n : picocolors.isColorSupported\n );\n}\n\nexport type InternalTokenType =\n | \"keyword\"\n | \"capitalized\"\n | \"jsxIdentifier\"\n | \"punctuator\"\n | \"number\"\n | \"string\"\n | \"regex\"\n | \"comment\"\n | \"invalid\";\n\ntype UITokens = \"gutter\" | \"marker\" | \"message\";\n\nexport type Defs = Record;\n\nconst compose: (f: (gv: U) => V, g: (v: T) => U) => (v: T) => V =\n (f, g) => v =>\n f(g(v));\n\n/**\n * Styles for token types.\n */\nfunction buildDefs(colors: Colors): Defs {\n return {\n keyword: colors.cyan,\n capitalized: colors.yellow,\n jsxIdentifier: colors.yellow,\n punctuator: colors.yellow,\n number: colors.magenta,\n string: colors.green,\n regex: colors.magenta,\n comment: colors.gray,\n invalid: compose(compose(colors.white, colors.bgRed), colors.bold),\n\n gutter: colors.gray,\n marker: compose(colors.red, colors.bold),\n message: compose(colors.red, colors.bold),\n\n reset: colors.reset,\n };\n}\n\nconst defsOn = buildDefs(createColors(true));\nconst defsOff = buildDefs(createColors(false));\n\nexport function getDefs(enabled: boolean): Defs {\n return enabled ? defsOn : defsOff;\n}\n","import type { Token as JSToken, JSXToken } from \"js-tokens\";\nimport jsTokens from \"js-tokens\";\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\n\nimport {\n isStrictReservedWord,\n isKeyword,\n} from \"@babel/helper-validator-identifier\";\n\nimport { getDefs, type InternalTokenType } from \"./defs.ts\";\n\n/**\n * Names that are always allowed as identifiers, but also appear as keywords\n * within certain syntactic productions.\n *\n * https://tc39.es/ecma262/#sec-keywords-and-reserved-words\n *\n * `target` has been omitted since it is very likely going to be a false\n * positive.\n */\nconst sometimesKeywords = new Set([\"as\", \"async\", \"from\", \"get\", \"of\", \"set\"]);\n\ntype Token = {\n type: InternalTokenType | \"uncolored\";\n value: string;\n};\n\n/**\n * RegExp to test for newlines in terminal.\n */\nconst NEWLINE = /\\r\\n|[\\n\\r\\u2028\\u2029]/;\n\n/**\n * RegExp to test for the three types of brackets.\n */\nconst BRACKET = /^[()[\\]{}]$/;\n\nlet tokenize: (\n text: string,\n) => Generator<{ type: InternalTokenType | \"uncolored\"; value: string }>;\n\nif (process.env.BABEL_8_BREAKING) {\n /**\n * Get the type of token, specifying punctuator type.\n */\n const getTokenType = function (\n token: JSToken | JSXToken,\n ): InternalTokenType | \"uncolored\" {\n if (token.type === \"IdentifierName\") {\n const tokenValue = token.value;\n if (\n isKeyword(tokenValue) ||\n isStrictReservedWord(tokenValue, true) ||\n sometimesKeywords.has(tokenValue)\n ) {\n return \"keyword\";\n }\n\n const firstChar = tokenValue.charCodeAt(0);\n if (firstChar < 128) {\n // ASCII characters\n if (\n firstChar >= charCodes.uppercaseA &&\n firstChar <= charCodes.uppercaseZ\n ) {\n return \"capitalized\";\n }\n } else {\n const firstChar = String.fromCodePoint(tokenValue.codePointAt(0));\n if (firstChar !== firstChar.toLowerCase()) {\n return \"capitalized\";\n }\n }\n }\n\n if (token.type === \"Punctuator\" && BRACKET.test(token.value)) {\n return \"uncolored\";\n }\n\n if (token.type === \"Invalid\" && token.value === \"@\") {\n return \"punctuator\";\n }\n\n switch (token.type) {\n case \"NumericLiteral\":\n return \"number\";\n\n case \"StringLiteral\":\n case \"JSXString\":\n case \"NoSubstitutionTemplate\":\n return \"string\";\n\n case \"RegularExpressionLiteral\":\n return \"regex\";\n\n case \"Punctuator\":\n case \"JSXPunctuator\":\n return \"punctuator\";\n\n case \"MultiLineComment\":\n case \"SingleLineComment\":\n return \"comment\";\n\n case \"Invalid\":\n case \"JSXInvalid\":\n return \"invalid\";\n\n case \"JSXIdentifier\":\n return \"jsxIdentifier\";\n\n default:\n return \"uncolored\";\n }\n };\n\n /**\n * Turn a string of JS into an array of objects.\n */\n tokenize = function* (text: string): Generator {\n for (const token of jsTokens(text, { jsx: true })) {\n switch (token.type) {\n case \"TemplateHead\":\n yield { type: \"string\", value: token.value.slice(0, -2) };\n yield { type: \"punctuator\", value: \"${\" };\n break;\n\n case \"TemplateMiddle\":\n yield { type: \"punctuator\", value: \"}\" };\n yield { type: \"string\", value: token.value.slice(1, -2) };\n yield { type: \"punctuator\", value: \"${\" };\n break;\n\n case \"TemplateTail\":\n yield { type: \"punctuator\", value: \"}\" };\n yield { type: \"string\", value: token.value.slice(1) };\n break;\n\n default:\n yield {\n type: getTokenType(token),\n value: token.value,\n };\n }\n }\n };\n} else {\n /**\n * RegExp to test for what seems to be a JSX tag name.\n */\n const JSX_TAG = /^[a-z][\\w-]*$/i;\n\n // The token here is defined in js-tokens@4. However we don't bother\n // typing it since the whole block will be removed in Babel 8\n const getTokenType = function (token: any, offset: number, text: string) {\n if (token.type === \"name\") {\n const tokenValue = token.value;\n if (\n isKeyword(tokenValue) ||\n isStrictReservedWord(tokenValue, true) ||\n sometimesKeywords.has(tokenValue)\n ) {\n return \"keyword\";\n }\n\n if (\n JSX_TAG.test(tokenValue) &&\n (text[offset - 1] === \"<\" || text.slice(offset - 2, offset) === \" defs[type as InternalTokenType](str))\n .join(\"\\n\");\n } else {\n highlighted += value;\n }\n }\n\n return highlighted;\n}\n","import { getDefs, isColorSupported } from \"./defs.ts\";\nimport { highlight } from \"./highlight.ts\";\n\nexport { highlight };\n\nlet deprecationWarningShown = false;\n\ntype Location = {\n column: number;\n line: number;\n};\n\ntype NodeLocation = {\n end?: Location;\n start: Location;\n};\n\nexport interface Options {\n /** Syntax highlight the code as JavaScript for terminals. default: false */\n highlightCode?: boolean;\n /** The number of lines to show above the error. default: 2 */\n linesAbove?: number;\n /** The number of lines to show below the error. default: 3 */\n linesBelow?: number;\n /** The line number corresponding to the first line in `rawLines`. default: 1 */\n startLine?: number;\n /**\n * Forcibly syntax highlight the code as JavaScript (for non-terminals);\n * overrides highlightCode.\n * default: false\n */\n forceColor?: boolean;\n /**\n * Pass in a string to be displayed inline (if possible) next to the\n * highlighted location in the code. If it can't be positioned inline,\n * it will be placed above the code frame.\n * default: nothing\n */\n message?: string;\n}\n\n/**\n * RegExp to test for newlines in terminal.\n */\n\nconst NEWLINE = /\\r\\n|[\\n\\r\\u2028\\u2029]/;\n\n/**\n * Extract what lines should be marked and highlighted.\n */\n\ntype MarkerLines = Record;\n\nfunction getMarkerLines(\n loc: NodeLocation,\n source: string[],\n opts: Options,\n startLineBaseZero: number,\n): {\n start: number;\n end: number;\n markerLines: MarkerLines;\n} {\n const startLoc: Location = {\n column: 0,\n line: -1,\n ...loc.start,\n };\n const endLoc: Location = {\n ...startLoc,\n ...loc.end,\n };\n const { linesAbove = 2, linesBelow = 3 } = opts || {};\n const startLine = startLoc.line - startLineBaseZero;\n const startColumn = startLoc.column;\n const endLine = endLoc.line - startLineBaseZero;\n const endColumn = endLoc.column;\n\n let start = Math.max(startLine - (linesAbove + 1), 0);\n let end = Math.min(source.length, endLine + linesBelow);\n\n if (startLine === -1) {\n start = 0;\n }\n\n if (endLine === -1) {\n end = source.length;\n }\n\n const lineDiff = endLine - startLine;\n const markerLines: MarkerLines = {};\n\n if (lineDiff) {\n for (let i = 0; i <= lineDiff; i++) {\n const lineNumber = i + startLine;\n\n if (!startColumn) {\n markerLines[lineNumber] = true;\n } else if (i === 0) {\n const sourceLength = source[lineNumber - 1].length;\n\n markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1];\n } else if (i === lineDiff) {\n markerLines[lineNumber] = [0, endColumn];\n } else {\n const sourceLength = source[lineNumber - i].length;\n\n markerLines[lineNumber] = [0, sourceLength];\n }\n }\n } else {\n if (startColumn === endColumn) {\n if (startColumn) {\n markerLines[startLine] = [startColumn, 0];\n } else {\n markerLines[startLine] = true;\n }\n } else {\n markerLines[startLine] = [startColumn, endColumn - startColumn];\n }\n }\n\n return { start, end, markerLines };\n}\n\nexport function codeFrameColumns(\n rawLines: string,\n loc: NodeLocation,\n opts: Options = {},\n): string {\n const shouldHighlight =\n opts.forceColor || (isColorSupported() && opts.highlightCode);\n const startLineBaseZero = (opts.startLine || 1) - 1;\n const defs = getDefs(shouldHighlight);\n\n const lines = rawLines.split(NEWLINE);\n const { start, end, markerLines } = getMarkerLines(\n loc,\n lines,\n opts,\n startLineBaseZero,\n );\n const hasColumns = loc.start && typeof loc.start.column === \"number\";\n\n const numberMaxWidth = String(end + startLineBaseZero).length;\n\n const highlightedLines = shouldHighlight ? highlight(rawLines) : rawLines;\n\n let frame = highlightedLines\n .split(NEWLINE, end)\n .slice(start, end)\n .map((line, index) => {\n const number = start + 1 + index;\n const paddedNumber = ` ${number + startLineBaseZero}`.slice(\n -numberMaxWidth,\n );\n const gutter = ` ${paddedNumber} |`;\n const hasMarker = markerLines[number];\n const lastMarkerLine = !markerLines[number + 1];\n if (hasMarker) {\n let markerLine = \"\";\n if (Array.isArray(hasMarker)) {\n const markerSpacing = line\n .slice(0, Math.max(hasMarker[0] - 1, 0))\n .replace(/[^\\t]/g, \" \");\n const numberOfMarkers = hasMarker[1] || 1;\n\n markerLine = [\n \"\\n \",\n defs.gutter(gutter.replace(/\\d/g, \" \")),\n \" \",\n markerSpacing,\n defs.marker(\"^\").repeat(numberOfMarkers),\n ].join(\"\");\n\n if (lastMarkerLine && opts.message) {\n markerLine += \" \" + defs.message(opts.message);\n }\n }\n return [\n defs.marker(\">\"),\n defs.gutter(gutter),\n line.length > 0 ? ` ${line}` : \"\",\n markerLine,\n ].join(\"\");\n } else {\n return ` ${defs.gutter(gutter)}${line.length > 0 ? ` ${line}` : \"\"}`;\n }\n })\n .join(\"\\n\");\n\n if (opts.message && !hasColumns) {\n frame = `${\" \".repeat(numberMaxWidth + 1)}${opts.message}\\n${frame}`;\n }\n\n if (shouldHighlight) {\n return defs.reset(frame);\n } else {\n return frame;\n }\n}\n\n/**\n * Create a code frame, adding line numbers, code highlighting, and pointing to a given position.\n */\n\nexport default function (\n rawLines: string,\n lineNumber: number,\n colNumber?: number | null,\n opts: Options = {},\n): string {\n if (!deprecationWarningShown) {\n deprecationWarningShown = true;\n\n const message =\n \"Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.\";\n\n if (process.emitWarning) {\n // A string is directly supplied to emitWarning, because when supplying an\n // Error object node throws in the tests because of different contexts\n process.emitWarning(message, \"DeprecationWarning\");\n } else {\n const deprecationError = new Error(message);\n deprecationError.name = \"DeprecationWarning\";\n console.warn(new Error(message));\n }\n }\n\n colNumber = Math.max(colNumber, 0);\n\n const location: NodeLocation = {\n start: { column: colNumber, line: lineNumber },\n };\n\n return codeFrameColumns(rawLines, location, opts);\n}\n"],"names":["isColorSupported","process","env","FORCE_COLOR","picocolors","compose","f","g","v","buildDefs","colors","keyword","cyan","capitalized","yellow","jsxIdentifier","punctuator","number","magenta","string","green","regex","comment","gray","invalid","white","bgRed","bold","gutter","marker","red","message","reset","defsOn","createColors","defsOff","getDefs","enabled","sometimesKeywords","Set","NEWLINE","BRACKET","tokenize","JSX_TAG","getTokenType","token","offset","text","type","tokenValue","value","isKeyword","isStrictReservedWord","has","test","slice","firstChar","String","fromCodePoint","codePointAt","toLowerCase","match","jsTokens","default","exec","matchToToken","index","highlight","defs","highlighted","split","map","str","join","deprecationWarningShown","getMarkerLines","loc","source","opts","startLineBaseZero","startLoc","Object","assign","column","line","start","endLoc","end","linesAbove","linesBelow","startLine","startColumn","endLine","endColumn","Math","max","min","length","lineDiff","markerLines","i","lineNumber","sourceLength","codeFrameColumns","rawLines","shouldHighlight","forceColor","highlightCode","lines","hasColumns","numberMaxWidth","highlightedLines","frame","paddedNumber","hasMarker","lastMarkerLine","markerLine","Array","isArray","markerSpacing","replace","numberOfMarkers","repeat","colNumber","emitWarning","deprecationError","Error","name","console","warn","location"],"mappings":";;;;;;;;AAGO,SAASA,gBAAgBA,GAAG;EACjC,QAEE,OAAOC,OAAO,KAAK,QAAQ,KACxBA,OAAO,CAACC,GAAG,CAACC,WAAW,KAAK,GAAG,IAAIF,OAAO,CAACC,GAAG,CAACC,WAAW,KAAK,OAAO,CAAC,GACtE,KAAK,GACLC,UAAU,CAACJ,gBAAAA;AAAgB,IAAA;AAEnC,CAAA;AAiBA,MAAMK,OAAkE,GACtEA,CAACC,CAAC,EAAEC,CAAC,KAAKC,CAAC,IACTF,CAAC,CAACC,CAAC,CAACC,CAAC,CAAC,CAAC,CAAA;AAKX,SAASC,SAASA,CAACC,MAAc,EAAQ;EACvC,OAAO;IACLC,OAAO,EAAED,MAAM,CAACE,IAAI;IACpBC,WAAW,EAAEH,MAAM,CAACI,MAAM;IAC1BC,aAAa,EAAEL,MAAM,CAACI,MAAM;IAC5BE,UAAU,EAAEN,MAAM,CAACI,MAAM;IACzBG,MAAM,EAAEP,MAAM,CAACQ,OAAO;IACtBC,MAAM,EAAET,MAAM,CAACU,KAAK;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,SAAS,GAAG7B,IAAI,CAACC,GAAG,CAAC4B,SAAS,EAAE,CAAC,CAAC,CAAA;AAElC,EAAA,MAAMO,QAAsB,GAAG;AAC7B7C,IAAAA,KAAK,EAAE;AAAEF,MAAAA,MAAM,EAAEwC,SAAS;AAAEvC,MAAAA,IAAI,EAAEiB,UAAAA;AAAW,KAAA;GAC9C,CAAA;AAED,EAAA,OAAOE,gBAAgB,CAACC,QAAQ,EAAE0B,QAAQ,EAAEpD,IAAI,CAAC,CAAA;AACnD;;;;;;"} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/code-frame/package.json b/lambdas/risk-engine/node_modules/@babel/code-frame/package.json deleted file mode 100644 index d78a9474..00000000 --- a/lambdas/risk-engine/node_modules/@babel/code-frame/package.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "@babel/code-frame", - "version": "7.29.0", - "description": "Generate errors that contain a code frame that point to source locations.", - "author": "The Babel Team (https://babel.dev/team)", - "homepage": "https://babel.dev/docs/en/next/babel-code-frame", - "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-code-frame" - }, - "main": "./lib/index.js", - "dependencies": { - "@babel/helper-validator-identifier": "^7.28.5", - "js-tokens": "^4.0.0", - "picocolors": "^1.1.1" - }, - "devDependencies": { - "charcodes": "^0.2.0", - "import-meta-resolve": "^4.1.0", - "strip-ansi": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "type": "commonjs" -} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/compat-data/LICENSE b/lambdas/risk-engine/node_modules/@babel/compat-data/LICENSE deleted file mode 100644 index f31575ec..00000000 --- a/lambdas/risk-engine/node_modules/@babel/compat-data/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/@babel/compat-data/README.md b/lambdas/risk-engine/node_modules/@babel/compat-data/README.md deleted file mode 100644 index c1918987..00000000 --- a/lambdas/risk-engine/node_modules/@babel/compat-data/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/compat-data - -> The compat-data to determine required Babel plugins - -See our website [@babel/compat-data](https://babeljs.io/docs/babel-compat-data) for more information. - -## Install - -Using npm: - -```sh -npm install --save @babel/compat-data -``` - -or using yarn: - -```sh -yarn add @babel/compat-data -``` diff --git a/lambdas/risk-engine/node_modules/@babel/compat-data/corejs2-built-ins.js b/lambdas/risk-engine/node_modules/@babel/compat-data/corejs2-built-ins.js deleted file mode 100644 index ed19e0b8..00000000 --- a/lambdas/risk-engine/node_modules/@babel/compat-data/corejs2-built-ins.js +++ /dev/null @@ -1,2 +0,0 @@ -// Todo (Babel 8): remove this file as Babel 8 drop support of core-js 2 -module.exports = require("./data/corejs2-built-ins.json"); diff --git a/lambdas/risk-engine/node_modules/@babel/compat-data/corejs3-shipped-proposals.js b/lambdas/risk-engine/node_modules/@babel/compat-data/corejs3-shipped-proposals.js deleted file mode 100644 index 7909b8c4..00000000 --- a/lambdas/risk-engine/node_modules/@babel/compat-data/corejs3-shipped-proposals.js +++ /dev/null @@ -1,2 +0,0 @@ -// Todo (Babel 8): remove this file now that it is included in babel-plugin-polyfill-corejs3 -module.exports = require("./data/corejs3-shipped-proposals.json"); diff --git a/lambdas/risk-engine/node_modules/@babel/compat-data/data/corejs2-built-ins.json b/lambdas/risk-engine/node_modules/@babel/compat-data/data/corejs2-built-ins.json deleted file mode 100644 index ba76060c..00000000 --- a/lambdas/risk-engine/node_modules/@babel/compat-data/data/corejs2-built-ins.json +++ /dev/null @@ -1,2106 +0,0 @@ -{ - "es6.array.copy-within": { - "chrome": "45", - "opera": "32", - "edge": "12", - "firefox": "32", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "5", - "rhino": "1.7.13", - "opera_mobile": "32", - "electron": "0.31" - }, - "es6.array.every": { - "chrome": "5", - "opera": "10.10", - "edge": "12", - "firefox": "2", - "safari": "3.1", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "10.1", - "electron": "0.20" - }, - "es6.array.fill": { - "chrome": "45", - "opera": "32", - "edge": "12", - "firefox": "31", - "safari": "7.1", - "node": "4", - "deno": "1", - "ios": "8", - "samsung": "5", - "rhino": "1.7.13", - "opera_mobile": "32", - "electron": "0.31" - }, - "es6.array.filter": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.array.find": { - "chrome": "45", - "opera": "32", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "4", - "deno": "1", - "ios": "8", - "samsung": "5", - "rhino": "1.7.13", - "opera_mobile": "32", - "electron": "0.31" - }, - "es6.array.find-index": { - "chrome": "45", - "opera": "32", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "4", - "deno": "1", - "ios": "8", - "samsung": "5", - "rhino": "1.7.13", - "opera_mobile": "32", - "electron": "0.31" - }, - "es7.array.flat-map": { - "chrome": "69", - "opera": "56", - "edge": "79", - "firefox": "62", - "safari": "12", - "node": "11", - "deno": "1", - "ios": "12", - "samsung": "10", - "rhino": "1.7.15", - "opera_mobile": "48", - "electron": "4.0" - }, - "es6.array.for-each": { - "chrome": "5", - "opera": "10.10", - "edge": "12", - "firefox": "2", - "safari": "3.1", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "10.1", - "electron": "0.20" - }, - "es6.array.from": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "36", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.7.15", - "opera_mobile": "41", - "electron": "1.2" - }, - "es7.array.includes": { - "chrome": "47", - "opera": "34", - "edge": "14", - "firefox": "102", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "34", - "electron": "0.36" - }, - "es6.array.index-of": { - "chrome": "5", - "opera": "10.10", - "edge": "12", - "firefox": "2", - "safari": "3.1", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "10.1", - "electron": "0.20" - }, - "es6.array.is-array": { - "chrome": "5", - "opera": "10.50", - "edge": "12", - "firefox": "4", - "safari": "4", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "10.1", - "electron": "0.20" - }, - "es6.array.iterator": { - "chrome": "66", - "opera": "53", - "edge": "12", - "firefox": "60", - "safari": "9", - "node": "10", - "deno": "1", - "ios": "9", - "samsung": "9", - "rhino": "1.7.13", - "opera_mobile": "47", - "electron": "3.0" - }, - "es6.array.last-index-of": { - "chrome": "5", - "opera": "10.10", - "edge": "12", - "firefox": "2", - "safari": "3.1", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "10.1", - "electron": "0.20" - }, - "es6.array.map": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.array.of": { - "chrome": "45", - "opera": "32", - "edge": "12", - "firefox": "25", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "5", - "rhino": "1.7.13", - "opera_mobile": "32", - "electron": "0.31" - }, - "es6.array.reduce": { - "chrome": "5", - "opera": "10.50", - "edge": "12", - "firefox": "3", - "safari": "4", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "10.1", - "electron": "0.20" - }, - "es6.array.reduce-right": { - "chrome": "5", - "opera": "10.50", - "edge": "12", - "firefox": "3", - "safari": "4", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "10.1", - "electron": "0.20" - }, - "es6.array.slice": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.array.some": { - "chrome": "5", - "opera": "10.10", - "edge": "12", - "firefox": "2", - "safari": "3.1", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "10.1", - "electron": "0.20" - }, - "es6.array.sort": { - "chrome": "63", - "opera": "50", - "edge": "12", - "firefox": "5", - "safari": "12", - "node": "10", - "deno": "1", - "ie": "9", - "ios": "12", - "samsung": "8", - "rhino": "1.7.13", - "opera_mobile": "46", - "electron": "3.0" - }, - "es6.array.species": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.7.15", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.date.now": { - "chrome": "5", - "opera": "10.50", - "edge": "12", - "firefox": "2", - "safari": "4", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "10.1", - "electron": "0.20" - }, - "es6.date.to-iso-string": { - "chrome": "5", - "opera": "10.50", - "edge": "12", - "firefox": "3.5", - "safari": "4", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "10.1", - "electron": "0.20" - }, - "es6.date.to-json": { - "chrome": "5", - "opera": "12.10", - "edge": "12", - "firefox": "4", - "safari": "10", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "10", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "12.1", - "electron": "0.20" - }, - "es6.date.to-primitive": { - "chrome": "47", - "opera": "34", - "edge": "15", - "firefox": "44", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "34", - "electron": "0.36" - }, - "es6.date.to-string": { - "chrome": "5", - "opera": "10.50", - "edge": "12", - "firefox": "2", - "safari": "3.1", - "node": "0.4", - "deno": "1", - "ie": "10", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "10.1", - "electron": "0.20" - }, - "es6.function.bind": { - "chrome": "7", - "opera": "12", - "edge": "12", - "firefox": "4", - "safari": "5.1", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "12", - "electron": "0.20" - }, - "es6.function.has-instance": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "50", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.function.name": { - "chrome": "5", - "opera": "10.50", - "edge": "14", - "firefox": "2", - "safari": "4", - "node": "0.4", - "deno": "1", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "10.1", - "electron": "0.20" - }, - "es6.map": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "53", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.math.acosh": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "deno": "1", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.math.asinh": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "deno": "1", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.math.atanh": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "deno": "1", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.math.cbrt": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "deno": "1", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.math.clz32": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "31", - "safari": "9", - "node": "0.12", - "deno": "1", - "ios": "9", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.math.cosh": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "deno": "1", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.math.expm1": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "deno": "1", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.math.fround": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "26", - "safari": "7.1", - "node": "0.12", - "deno": "1", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.math.hypot": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "27", - "safari": "7.1", - "node": "0.12", - "deno": "1", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.math.imul": { - "chrome": "30", - "opera": "17", - "edge": "12", - "firefox": "23", - "safari": "7", - "node": "0.12", - "deno": "1", - "android": "4.4", - "ios": "7", - "samsung": "2", - "rhino": "1.7.13", - "opera_mobile": "18", - "electron": "0.20" - }, - "es6.math.log1p": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "deno": "1", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.math.log10": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "deno": "1", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.math.log2": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "deno": "1", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.math.sign": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "9", - "node": "0.12", - "deno": "1", - "ios": "9", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.math.sinh": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "deno": "1", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.math.tanh": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "deno": "1", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.math.trunc": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "25", - "safari": "7.1", - "node": "0.12", - "deno": "1", - "ios": "8", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.number.constructor": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "36", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "opera_mobile": "28", - "electron": "0.21" - }, - "es6.number.epsilon": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "25", - "safari": "9", - "node": "0.12", - "deno": "1", - "ios": "9", - "samsung": "2", - "rhino": "1.7.14", - "opera_mobile": "21", - "electron": "0.20" - }, - "es6.number.is-finite": { - "chrome": "19", - "opera": "15", - "edge": "12", - "firefox": "16", - "safari": "9", - "node": "0.8", - "deno": "1", - "android": "4.1", - "ios": "9", - "samsung": "1.5", - "rhino": "1.7.13", - "opera_mobile": "14", - "electron": "0.20" - }, - "es6.number.is-integer": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "16", - "safari": "9", - "node": "0.12", - "deno": "1", - "ios": "9", - "samsung": "2", - "rhino": "1.7.13", - "opera_mobile": "21", - "electron": "0.20" - }, - "es6.number.is-nan": { - "chrome": "19", - "opera": "15", - "edge": "12", - "firefox": "15", - "safari": "9", - "node": "0.8", - "deno": "1", - "android": "4.1", - "ios": "9", - "samsung": "1.5", - "rhino": "1.7.13", - "opera_mobile": "14", - "electron": "0.20" - }, - "es6.number.is-safe-integer": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "32", - "safari": "9", - "node": "0.12", - "deno": "1", - "ios": "9", - "samsung": "2", - "rhino": "1.7.13", - "opera_mobile": "21", - "electron": "0.20" - }, - "es6.number.max-safe-integer": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "31", - "safari": "9", - "node": "0.12", - "deno": "1", - "ios": "9", - "samsung": "2", - "rhino": "1.7.13", - "opera_mobile": "21", - "electron": "0.20" - }, - "es6.number.min-safe-integer": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "31", - "safari": "9", - "node": "0.12", - "deno": "1", - "ios": "9", - "samsung": "2", - "rhino": "1.7.13", - "opera_mobile": "21", - "electron": "0.20" - }, - "es6.number.parse-float": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "25", - "safari": "9", - "node": "0.12", - "deno": "1", - "ios": "9", - "samsung": "2", - "rhino": "1.7.14", - "opera_mobile": "21", - "electron": "0.20" - }, - "es6.number.parse-int": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "25", - "safari": "9", - "node": "0.12", - "deno": "1", - "ios": "9", - "samsung": "2", - "rhino": "1.7.14", - "opera_mobile": "21", - "electron": "0.20" - }, - "es6.object.assign": { - "chrome": "49", - "opera": "36", - "edge": "13", - "firefox": "36", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "36", - "electron": "0.37" - }, - "es6.object.create": { - "chrome": "5", - "opera": "12", - "edge": "12", - "firefox": "4", - "safari": "4", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "12", - "electron": "0.20" - }, - "es7.object.define-getter": { - "chrome": "62", - "opera": "49", - "edge": "16", - "firefox": "48", - "safari": "9", - "node": "8.10", - "deno": "1", - "ios": "9", - "samsung": "8", - "opera_mobile": "46", - "electron": "3.0" - }, - "es7.object.define-setter": { - "chrome": "62", - "opera": "49", - "edge": "16", - "firefox": "48", - "safari": "9", - "node": "8.10", - "deno": "1", - "ios": "9", - "samsung": "8", - "opera_mobile": "46", - "electron": "3.0" - }, - "es6.object.define-property": { - "chrome": "5", - "opera": "12", - "edge": "12", - "firefox": "4", - "safari": "5.1", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "12", - "electron": "0.20" - }, - "es6.object.define-properties": { - "chrome": "5", - "opera": "12", - "edge": "12", - "firefox": "4", - "safari": "4", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "12", - "electron": "0.20" - }, - "es7.object.entries": { - "chrome": "54", - "opera": "41", - "edge": "14", - "firefox": "47", - "safari": "10.1", - "node": "7", - "deno": "1", - "ios": "10.3", - "samsung": "6", - "rhino": "1.7.14", - "opera_mobile": "41", - "electron": "1.4" - }, - "es6.object.freeze": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "opera_mobile": "32", - "electron": "0.30" - }, - "es6.object.get-own-property-descriptor": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "opera_mobile": "32", - "electron": "0.30" - }, - "es7.object.get-own-property-descriptors": { - "chrome": "54", - "opera": "41", - "edge": "15", - "firefox": "50", - "safari": "10.1", - "node": "7", - "deno": "1", - "ios": "10.3", - "samsung": "6", - "rhino": "1.8", - "opera_mobile": "41", - "electron": "1.4" - }, - "es6.object.get-own-property-names": { - "chrome": "40", - "opera": "27", - "edge": "12", - "firefox": "33", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "opera_mobile": "27", - "electron": "0.21" - }, - "es6.object.get-prototype-of": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "opera_mobile": "32", - "electron": "0.30" - }, - "es7.object.lookup-getter": { - "chrome": "62", - "opera": "49", - "edge": "79", - "firefox": "36", - "safari": "9", - "node": "8.10", - "deno": "1", - "ios": "9", - "samsung": "8", - "opera_mobile": "46", - "electron": "3.0" - }, - "es7.object.lookup-setter": { - "chrome": "62", - "opera": "49", - "edge": "79", - "firefox": "36", - "safari": "9", - "node": "8.10", - "deno": "1", - "ios": "9", - "samsung": "8", - "opera_mobile": "46", - "electron": "3.0" - }, - "es6.object.prevent-extensions": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "opera_mobile": "32", - "electron": "0.30" - }, - "es6.object.to-string": { - "chrome": "57", - "opera": "44", - "edge": "15", - "firefox": "51", - "safari": "10", - "node": "8", - "deno": "1", - "ios": "10", - "samsung": "7", - "opera_mobile": "43", - "electron": "1.7" - }, - "es6.object.is": { - "chrome": "19", - "opera": "15", - "edge": "12", - "firefox": "22", - "safari": "9", - "node": "0.8", - "deno": "1", - "android": "4.1", - "ios": "9", - "samsung": "1.5", - "rhino": "1.7.13", - "opera_mobile": "14", - "electron": "0.20" - }, - "es6.object.is-frozen": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "opera_mobile": "32", - "electron": "0.30" - }, - "es6.object.is-sealed": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "opera_mobile": "32", - "electron": "0.30" - }, - "es6.object.is-extensible": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "opera_mobile": "32", - "electron": "0.30" - }, - "es6.object.keys": { - "chrome": "40", - "opera": "27", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "opera_mobile": "27", - "electron": "0.21" - }, - "es6.object.seal": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "35", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "4", - "rhino": "1.7.13", - "opera_mobile": "32", - "electron": "0.30" - }, - "es6.object.set-prototype-of": { - "chrome": "34", - "opera": "21", - "edge": "12", - "firefox": "31", - "safari": "9", - "node": "0.12", - "deno": "1", - "ie": "11", - "ios": "9", - "samsung": "2", - "rhino": "1.7.13", - "opera_mobile": "21", - "electron": "0.20" - }, - "es7.object.values": { - "chrome": "54", - "opera": "41", - "edge": "14", - "firefox": "47", - "safari": "10.1", - "node": "7", - "deno": "1", - "ios": "10.3", - "samsung": "6", - "rhino": "1.7.14", - "opera_mobile": "41", - "electron": "1.4" - }, - "es6.promise": { - "chrome": "51", - "opera": "38", - "edge": "14", - "firefox": "45", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.7.15", - "opera_mobile": "41", - "electron": "1.2" - }, - "es7.promise.finally": { - "chrome": "63", - "opera": "50", - "edge": "18", - "firefox": "58", - "safari": "11.1", - "node": "10", - "deno": "1", - "ios": "11.3", - "samsung": "8", - "rhino": "1.7.15", - "opera_mobile": "46", - "electron": "3.0" - }, - "es6.reflect.apply": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "36", - "electron": "0.37" - }, - "es6.reflect.construct": { - "chrome": "49", - "opera": "36", - "edge": "13", - "firefox": "49", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "36", - "electron": "0.37" - }, - "es6.reflect.define-property": { - "chrome": "49", - "opera": "36", - "edge": "13", - "firefox": "42", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "36", - "electron": "0.37" - }, - "es6.reflect.delete-property": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "36", - "electron": "0.37" - }, - "es6.reflect.get": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "36", - "electron": "0.37" - }, - "es6.reflect.get-own-property-descriptor": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "36", - "electron": "0.37" - }, - "es6.reflect.get-prototype-of": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "36", - "electron": "0.37" - }, - "es6.reflect.has": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "36", - "electron": "0.37" - }, - "es6.reflect.is-extensible": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "36", - "electron": "0.37" - }, - "es6.reflect.own-keys": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "36", - "electron": "0.37" - }, - "es6.reflect.prevent-extensions": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "36", - "electron": "0.37" - }, - "es6.reflect.set": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "36", - "electron": "0.37" - }, - "es6.reflect.set-prototype-of": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "42", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "36", - "electron": "0.37" - }, - "es6.regexp.constructor": { - "chrome": "50", - "opera": "37", - "edge": "79", - "firefox": "40", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "37", - "electron": "1.1" - }, - "es6.regexp.flags": { - "chrome": "49", - "opera": "36", - "edge": "79", - "firefox": "37", - "safari": "9", - "node": "6", - "deno": "1", - "ios": "9", - "samsung": "5", - "rhino": "1.7.15", - "opera_mobile": "36", - "electron": "0.37" - }, - "es6.regexp.match": { - "chrome": "50", - "opera": "37", - "edge": "79", - "firefox": "49", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.7.13", - "opera_mobile": "37", - "electron": "1.1" - }, - "es6.regexp.replace": { - "chrome": "50", - "opera": "37", - "edge": "79", - "firefox": "49", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "37", - "electron": "1.1" - }, - "es6.regexp.split": { - "chrome": "50", - "opera": "37", - "edge": "79", - "firefox": "49", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "37", - "electron": "1.1" - }, - "es6.regexp.search": { - "chrome": "50", - "opera": "37", - "edge": "79", - "firefox": "49", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.7.13", - "opera_mobile": "37", - "electron": "1.1" - }, - "es6.regexp.to-string": { - "chrome": "50", - "opera": "37", - "edge": "79", - "firefox": "39", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.7.15", - "opera_mobile": "37", - "electron": "1.1" - }, - "es6.set": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "53", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.symbol": { - "chrome": "51", - "opera": "38", - "edge": "79", - "firefox": "51", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es7.symbol.async-iterator": { - "chrome": "63", - "opera": "50", - "edge": "79", - "firefox": "57", - "safari": "12", - "node": "10", - "deno": "1", - "ios": "12", - "samsung": "8", - "opera_mobile": "46", - "electron": "3.0" - }, - "es6.string.anchor": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.4", - "deno": "1", - "android": "4", - "ios": "7", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.14", - "opera_mobile": "14", - "electron": "0.20" - }, - "es6.string.big": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.4", - "deno": "1", - "android": "4", - "ios": "7", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.14", - "opera_mobile": "14", - "electron": "0.20" - }, - "es6.string.blink": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.4", - "deno": "1", - "android": "4", - "ios": "7", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.14", - "opera_mobile": "14", - "electron": "0.20" - }, - "es6.string.bold": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.4", - "deno": "1", - "android": "4", - "ios": "7", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.14", - "opera_mobile": "14", - "electron": "0.20" - }, - "es6.string.code-point-at": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "29", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "opera_mobile": "28", - "electron": "0.21" - }, - "es6.string.ends-with": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "29", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "opera_mobile": "28", - "electron": "0.21" - }, - "es6.string.fixed": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.4", - "deno": "1", - "android": "4", - "ios": "7", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.14", - "opera_mobile": "14", - "electron": "0.20" - }, - "es6.string.fontcolor": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.4", - "deno": "1", - "android": "4", - "ios": "7", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.14", - "opera_mobile": "14", - "electron": "0.20" - }, - "es6.string.fontsize": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.4", - "deno": "1", - "android": "4", - "ios": "7", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.14", - "opera_mobile": "14", - "electron": "0.20" - }, - "es6.string.from-code-point": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "29", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "opera_mobile": "28", - "electron": "0.21" - }, - "es6.string.includes": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "40", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "opera_mobile": "28", - "electron": "0.21" - }, - "es6.string.italics": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.4", - "deno": "1", - "android": "4", - "ios": "7", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.14", - "opera_mobile": "14", - "electron": "0.20" - }, - "es6.string.iterator": { - "chrome": "38", - "opera": "25", - "edge": "12", - "firefox": "36", - "safari": "9", - "node": "0.12", - "deno": "1", - "ios": "9", - "samsung": "3", - "rhino": "1.7.13", - "opera_mobile": "25", - "electron": "0.20" - }, - "es6.string.link": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.4", - "deno": "1", - "android": "4", - "ios": "7", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.14", - "opera_mobile": "14", - "electron": "0.20" - }, - "es7.string.pad-start": { - "chrome": "57", - "opera": "44", - "edge": "15", - "firefox": "48", - "safari": "10", - "node": "8", - "deno": "1", - "ios": "10", - "samsung": "7", - "rhino": "1.7.13", - "opera_mobile": "43", - "electron": "1.7" - }, - "es7.string.pad-end": { - "chrome": "57", - "opera": "44", - "edge": "15", - "firefox": "48", - "safari": "10", - "node": "8", - "deno": "1", - "ios": "10", - "samsung": "7", - "rhino": "1.7.13", - "opera_mobile": "43", - "electron": "1.7" - }, - "es6.string.raw": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "34", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.14", - "opera_mobile": "28", - "electron": "0.21" - }, - "es6.string.repeat": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "24", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "opera_mobile": "28", - "electron": "0.21" - }, - "es6.string.small": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.4", - "deno": "1", - "android": "4", - "ios": "7", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.14", - "opera_mobile": "14", - "electron": "0.20" - }, - "es6.string.starts-with": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "29", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "3.4", - "rhino": "1.7.13", - "opera_mobile": "28", - "electron": "0.21" - }, - "es6.string.strike": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.4", - "deno": "1", - "android": "4", - "ios": "7", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.14", - "opera_mobile": "14", - "electron": "0.20" - }, - "es6.string.sub": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.4", - "deno": "1", - "android": "4", - "ios": "7", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.14", - "opera_mobile": "14", - "electron": "0.20" - }, - "es6.string.sup": { - "chrome": "5", - "opera": "15", - "edge": "12", - "firefox": "17", - "safari": "6", - "node": "0.4", - "deno": "1", - "android": "4", - "ios": "7", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.14", - "opera_mobile": "14", - "electron": "0.20" - }, - "es6.string.trim": { - "chrome": "5", - "opera": "10.50", - "edge": "12", - "firefox": "3.5", - "safari": "4", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "10.1", - "electron": "0.20" - }, - "es7.string.trim-left": { - "chrome": "66", - "opera": "53", - "edge": "79", - "firefox": "61", - "safari": "12", - "node": "10", - "deno": "1", - "ios": "12", - "samsung": "9", - "rhino": "1.7.13", - "opera_mobile": "47", - "electron": "3.0" - }, - "es7.string.trim-right": { - "chrome": "66", - "opera": "53", - "edge": "79", - "firefox": "61", - "safari": "12", - "node": "10", - "deno": "1", - "ios": "12", - "samsung": "9", - "rhino": "1.7.13", - "opera_mobile": "47", - "electron": "3.0" - }, - "es6.typed.array-buffer": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.typed.data-view": { - "chrome": "5", - "opera": "12", - "edge": "12", - "firefox": "15", - "safari": "5.1", - "node": "0.4", - "deno": "1", - "ie": "10", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "12", - "electron": "0.20" - }, - "es6.typed.int8-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.typed.uint8-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.typed.uint8-clamped-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.typed.int16-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.typed.uint16-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.typed.int32-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.typed.uint32-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.typed.float32-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.typed.float64-array": { - "chrome": "51", - "opera": "38", - "edge": "13", - "firefox": "48", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.weak-map": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "53", - "safari": "9", - "node": "6.5", - "deno": "1", - "ios": "9", - "samsung": "5", - "rhino": "1.7.15", - "opera_mobile": "41", - "electron": "1.2" - }, - "es6.weak-set": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "53", - "safari": "9", - "node": "6.5", - "deno": "1", - "ios": "9", - "samsung": "5", - "rhino": "1.7.15", - "opera_mobile": "41", - "electron": "1.2" - } -} diff --git a/lambdas/risk-engine/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json b/lambdas/risk-engine/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json deleted file mode 100644 index d03b698f..00000000 --- a/lambdas/risk-engine/node_modules/@babel/compat-data/data/corejs3-shipped-proposals.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - "esnext.promise.all-settled", - "esnext.string.match-all", - "esnext.global-this" -] diff --git a/lambdas/risk-engine/node_modules/@babel/compat-data/data/native-modules.json b/lambdas/risk-engine/node_modules/@babel/compat-data/data/native-modules.json deleted file mode 100644 index 2328d213..00000000 --- a/lambdas/risk-engine/node_modules/@babel/compat-data/data/native-modules.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "es6.module": { - "chrome": "61", - "and_chr": "61", - "edge": "16", - "firefox": "60", - "and_ff": "60", - "node": "13.2.0", - "opera": "48", - "op_mob": "45", - "safari": "10.1", - "ios": "10.3", - "samsung": "8.2", - "android": "61", - "electron": "2.0", - "ios_saf": "10.3" - } -} diff --git a/lambdas/risk-engine/node_modules/@babel/compat-data/data/overlapping-plugins.json b/lambdas/risk-engine/node_modules/@babel/compat-data/data/overlapping-plugins.json deleted file mode 100644 index 9b884bd4..00000000 --- a/lambdas/risk-engine/node_modules/@babel/compat-data/data/overlapping-plugins.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "transform-async-to-generator": [ - "bugfix/transform-async-arrows-in-class" - ], - "transform-parameters": [ - "bugfix/transform-edge-default-parameters", - "bugfix/transform-safari-id-destructuring-collision-in-function-expression" - ], - "transform-function-name": [ - "bugfix/transform-edge-function-name" - ], - "transform-block-scoping": [ - "bugfix/transform-safari-block-shadowing", - "bugfix/transform-safari-for-shadowing" - ], - "transform-template-literals": [ - "bugfix/transform-tagged-template-caching" - ], - "transform-optional-chaining": [ - "bugfix/transform-v8-spread-parameters-in-optional-chaining" - ], - "proposal-optional-chaining": [ - "bugfix/transform-v8-spread-parameters-in-optional-chaining" - ], - "transform-class-properties": [ - "bugfix/transform-v8-static-class-fields-redefine-readonly", - "bugfix/transform-firefox-class-in-computed-class-key", - "bugfix/transform-safari-class-field-initializer-scope" - ], - "proposal-class-properties": [ - "bugfix/transform-v8-static-class-fields-redefine-readonly", - "bugfix/transform-firefox-class-in-computed-class-key", - "bugfix/transform-safari-class-field-initializer-scope" - ] -} diff --git a/lambdas/risk-engine/node_modules/@babel/compat-data/data/plugin-bugfixes.json b/lambdas/risk-engine/node_modules/@babel/compat-data/data/plugin-bugfixes.json deleted file mode 100644 index 3d1aed6e..00000000 --- a/lambdas/risk-engine/node_modules/@babel/compat-data/data/plugin-bugfixes.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "bugfix/transform-async-arrows-in-class": { - "chrome": "55", - "opera": "42", - "edge": "15", - "firefox": "52", - "safari": "11", - "node": "7.6", - "deno": "1", - "ios": "11", - "samsung": "6", - "opera_mobile": "42", - "electron": "1.6" - }, - "bugfix/transform-edge-default-parameters": { - "chrome": "49", - "opera": "36", - "edge": "18", - "firefox": "52", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "36", - "electron": "0.37" - }, - "bugfix/transform-edge-function-name": { - "chrome": "51", - "opera": "38", - "edge": "79", - "firefox": "53", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "bugfix/transform-safari-block-shadowing": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "44", - "safari": "11", - "node": "6", - "deno": "1", - "ie": "11", - "ios": "11", - "samsung": "5", - "opera_mobile": "36", - "electron": "0.37" - }, - "bugfix/transform-safari-for-shadowing": { - "chrome": "49", - "opera": "36", - "edge": "12", - "firefox": "4", - "safari": "11", - "node": "6", - "deno": "1", - "ie": "11", - "ios": "11", - "samsung": "5", - "rhino": "1.7.13", - "opera_mobile": "36", - "electron": "0.37" - }, - "bugfix/transform-safari-id-destructuring-collision-in-function-expression": { - "chrome": "49", - "opera": "36", - "edge": "14", - "firefox": "2", - "safari": "16.3", - "node": "6", - "deno": "1", - "ios": "16.3", - "samsung": "5", - "opera_mobile": "36", - "electron": "0.37" - }, - "bugfix/transform-tagged-template-caching": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "34", - "safari": "13", - "node": "4", - "deno": "1", - "ios": "13", - "samsung": "3.4", - "rhino": "1.7.14", - "opera_mobile": "28", - "electron": "0.21" - }, - "bugfix/transform-v8-spread-parameters-in-optional-chaining": { - "chrome": "91", - "opera": "77", - "edge": "91", - "firefox": "74", - "safari": "13.1", - "node": "16.9", - "deno": "1.9", - "ios": "13.4", - "samsung": "16", - "opera_mobile": "64", - "electron": "13.0" - }, - "transform-optional-chaining": { - "chrome": "80", - "opera": "67", - "edge": "80", - "firefox": "74", - "safari": "13.1", - "node": "14", - "deno": "1", - "ios": "13.4", - "samsung": "13", - "rhino": "1.8", - "opera_mobile": "57", - "electron": "8.0" - }, - "proposal-optional-chaining": { - "chrome": "80", - "opera": "67", - "edge": "80", - "firefox": "74", - "safari": "13.1", - "node": "14", - "deno": "1", - "ios": "13.4", - "samsung": "13", - "rhino": "1.8", - "opera_mobile": "57", - "electron": "8.0" - }, - "transform-parameters": { - "chrome": "49", - "opera": "36", - "edge": "15", - "firefox": "52", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "36", - "electron": "0.37" - }, - "transform-async-to-generator": { - "chrome": "55", - "opera": "42", - "edge": "15", - "firefox": "52", - "safari": "10.1", - "node": "7.6", - "deno": "1", - "ios": "10.3", - "samsung": "6", - "opera_mobile": "42", - "electron": "1.6" - }, - "transform-template-literals": { - "chrome": "41", - "opera": "28", - "edge": "13", - "firefox": "34", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "3.4", - "opera_mobile": "28", - "electron": "0.21" - }, - "transform-function-name": { - "chrome": "51", - "opera": "38", - "edge": "14", - "firefox": "53", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "transform-block-scoping": { - "chrome": "50", - "opera": "37", - "edge": "14", - "firefox": "53", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "37", - "electron": "1.1" - } -} diff --git a/lambdas/risk-engine/node_modules/@babel/compat-data/data/plugins.json b/lambdas/risk-engine/node_modules/@babel/compat-data/data/plugins.json deleted file mode 100644 index c2ff4592..00000000 --- a/lambdas/risk-engine/node_modules/@babel/compat-data/data/plugins.json +++ /dev/null @@ -1,838 +0,0 @@ -{ - "transform-explicit-resource-management": { - "chrome": "134", - "edge": "134", - "firefox": "141", - "node": "24", - "electron": "35.0" - }, - "transform-duplicate-named-capturing-groups-regex": { - "chrome": "126", - "opera": "112", - "edge": "126", - "firefox": "129", - "safari": "17.4", - "node": "23", - "ios": "17.4", - "electron": "31.0" - }, - "transform-regexp-modifiers": { - "chrome": "125", - "opera": "111", - "edge": "125", - "firefox": "132", - "node": "23", - "samsung": "27", - "electron": "31.0" - }, - "transform-unicode-sets-regex": { - "chrome": "112", - "opera": "98", - "edge": "112", - "firefox": "116", - "safari": "17", - "node": "20", - "deno": "1.32", - "ios": "17", - "samsung": "23", - "opera_mobile": "75", - "electron": "24.0" - }, - "bugfix/transform-v8-static-class-fields-redefine-readonly": { - "chrome": "98", - "opera": "84", - "edge": "98", - "firefox": "75", - "safari": "15", - "node": "12", - "deno": "1.18", - "ios": "15", - "samsung": "11", - "opera_mobile": "52", - "electron": "17.0" - }, - "bugfix/transform-firefox-class-in-computed-class-key": { - "chrome": "74", - "opera": "62", - "edge": "79", - "firefox": "126", - "safari": "16", - "node": "12", - "deno": "1", - "ios": "16", - "samsung": "11", - "opera_mobile": "53", - "electron": "6.0" - }, - "bugfix/transform-safari-class-field-initializer-scope": { - "chrome": "74", - "opera": "62", - "edge": "79", - "firefox": "69", - "safari": "16", - "node": "12", - "deno": "1", - "ios": "16", - "samsung": "11", - "opera_mobile": "53", - "electron": "6.0" - }, - "transform-class-static-block": { - "chrome": "94", - "opera": "80", - "edge": "94", - "firefox": "93", - "safari": "16.4", - "node": "16.11", - "deno": "1.14", - "ios": "16.4", - "samsung": "17", - "opera_mobile": "66", - "electron": "15.0" - }, - "proposal-class-static-block": { - "chrome": "94", - "opera": "80", - "edge": "94", - "firefox": "93", - "safari": "16.4", - "node": "16.11", - "deno": "1.14", - "ios": "16.4", - "samsung": "17", - "opera_mobile": "66", - "electron": "15.0" - }, - "transform-private-property-in-object": { - "chrome": "91", - "opera": "77", - "edge": "91", - "firefox": "90", - "safari": "15", - "node": "16.9", - "deno": "1.9", - "ios": "15", - "samsung": "16", - "opera_mobile": "64", - "electron": "13.0" - }, - "proposal-private-property-in-object": { - "chrome": "91", - "opera": "77", - "edge": "91", - "firefox": "90", - "safari": "15", - "node": "16.9", - "deno": "1.9", - "ios": "15", - "samsung": "16", - "opera_mobile": "64", - "electron": "13.0" - }, - "transform-class-properties": { - "chrome": "74", - "opera": "62", - "edge": "79", - "firefox": "90", - "safari": "14.1", - "node": "12", - "deno": "1", - "ios": "14.5", - "samsung": "11", - "opera_mobile": "53", - "electron": "6.0" - }, - "proposal-class-properties": { - "chrome": "74", - "opera": "62", - "edge": "79", - "firefox": "90", - "safari": "14.1", - "node": "12", - "deno": "1", - "ios": "14.5", - "samsung": "11", - "opera_mobile": "53", - "electron": "6.0" - }, - "transform-private-methods": { - "chrome": "84", - "opera": "70", - "edge": "84", - "firefox": "90", - "safari": "15", - "node": "14.6", - "deno": "1", - "ios": "15", - "samsung": "14", - "opera_mobile": "60", - "electron": "10.0" - }, - "proposal-private-methods": { - "chrome": "84", - "opera": "70", - "edge": "84", - "firefox": "90", - "safari": "15", - "node": "14.6", - "deno": "1", - "ios": "15", - "samsung": "14", - "opera_mobile": "60", - "electron": "10.0" - }, - "transform-numeric-separator": { - "chrome": "75", - "opera": "62", - "edge": "79", - "firefox": "70", - "safari": "13", - "node": "12.5", - "deno": "1", - "ios": "13", - "samsung": "11", - "rhino": "1.7.14", - "opera_mobile": "54", - "electron": "6.0" - }, - "proposal-numeric-separator": { - "chrome": "75", - "opera": "62", - "edge": "79", - "firefox": "70", - "safari": "13", - "node": "12.5", - "deno": "1", - "ios": "13", - "samsung": "11", - "rhino": "1.7.14", - "opera_mobile": "54", - "electron": "6.0" - }, - "transform-logical-assignment-operators": { - "chrome": "85", - "opera": "71", - "edge": "85", - "firefox": "79", - "safari": "14", - "node": "15", - "deno": "1.2", - "ios": "14", - "samsung": "14", - "opera_mobile": "60", - "electron": "10.0" - }, - "proposal-logical-assignment-operators": { - "chrome": "85", - "opera": "71", - "edge": "85", - "firefox": "79", - "safari": "14", - "node": "15", - "deno": "1.2", - "ios": "14", - "samsung": "14", - "opera_mobile": "60", - "electron": "10.0" - }, - "transform-nullish-coalescing-operator": { - "chrome": "80", - "opera": "67", - "edge": "80", - "firefox": "72", - "safari": "13.1", - "node": "14", - "deno": "1", - "ios": "13.4", - "samsung": "13", - "rhino": "1.8", - "opera_mobile": "57", - "electron": "8.0" - }, - "proposal-nullish-coalescing-operator": { - "chrome": "80", - "opera": "67", - "edge": "80", - "firefox": "72", - "safari": "13.1", - "node": "14", - "deno": "1", - "ios": "13.4", - "samsung": "13", - "rhino": "1.8", - "opera_mobile": "57", - "electron": "8.0" - }, - "transform-optional-chaining": { - "chrome": "91", - "opera": "77", - "edge": "91", - "firefox": "74", - "safari": "13.1", - "node": "16.9", - "deno": "1.9", - "ios": "13.4", - "samsung": "16", - "opera_mobile": "64", - "electron": "13.0" - }, - "proposal-optional-chaining": { - "chrome": "91", - "opera": "77", - "edge": "91", - "firefox": "74", - "safari": "13.1", - "node": "16.9", - "deno": "1.9", - "ios": "13.4", - "samsung": "16", - "opera_mobile": "64", - "electron": "13.0" - }, - "transform-json-strings": { - "chrome": "66", - "opera": "53", - "edge": "79", - "firefox": "62", - "safari": "12", - "node": "10", - "deno": "1", - "ios": "12", - "samsung": "9", - "rhino": "1.7.14", - "opera_mobile": "47", - "electron": "3.0" - }, - "proposal-json-strings": { - "chrome": "66", - "opera": "53", - "edge": "79", - "firefox": "62", - "safari": "12", - "node": "10", - "deno": "1", - "ios": "12", - "samsung": "9", - "rhino": "1.7.14", - "opera_mobile": "47", - "electron": "3.0" - }, - "transform-optional-catch-binding": { - "chrome": "66", - "opera": "53", - "edge": "79", - "firefox": "58", - "safari": "11.1", - "node": "10", - "deno": "1", - "ios": "11.3", - "samsung": "9", - "opera_mobile": "47", - "electron": "3.0" - }, - "proposal-optional-catch-binding": { - "chrome": "66", - "opera": "53", - "edge": "79", - "firefox": "58", - "safari": "11.1", - "node": "10", - "deno": "1", - "ios": "11.3", - "samsung": "9", - "opera_mobile": "47", - "electron": "3.0" - }, - "transform-parameters": { - "chrome": "49", - "opera": "36", - "edge": "18", - "firefox": "52", - "safari": "16.3", - "node": "6", - "deno": "1", - "ios": "16.3", - "samsung": "5", - "opera_mobile": "36", - "electron": "0.37" - }, - "transform-async-generator-functions": { - "chrome": "63", - "opera": "50", - "edge": "79", - "firefox": "57", - "safari": "12", - "node": "10", - "deno": "1", - "ios": "12", - "samsung": "8", - "opera_mobile": "46", - "electron": "3.0" - }, - "proposal-async-generator-functions": { - "chrome": "63", - "opera": "50", - "edge": "79", - "firefox": "57", - "safari": "12", - "node": "10", - "deno": "1", - "ios": "12", - "samsung": "8", - "opera_mobile": "46", - "electron": "3.0" - }, - "transform-object-rest-spread": { - "chrome": "60", - "opera": "47", - "edge": "79", - "firefox": "55", - "safari": "11.1", - "node": "8.3", - "deno": "1", - "ios": "11.3", - "samsung": "8", - "opera_mobile": "44", - "electron": "2.0" - }, - "proposal-object-rest-spread": { - "chrome": "60", - "opera": "47", - "edge": "79", - "firefox": "55", - "safari": "11.1", - "node": "8.3", - "deno": "1", - "ios": "11.3", - "samsung": "8", - "opera_mobile": "44", - "electron": "2.0" - }, - "transform-dotall-regex": { - "chrome": "62", - "opera": "49", - "edge": "79", - "firefox": "78", - "safari": "11.1", - "node": "8.10", - "deno": "1", - "ios": "11.3", - "samsung": "8", - "rhino": "1.7.15", - "opera_mobile": "46", - "electron": "3.0" - }, - "transform-unicode-property-regex": { - "chrome": "64", - "opera": "51", - "edge": "79", - "firefox": "78", - "safari": "11.1", - "node": "10", - "deno": "1", - "ios": "11.3", - "samsung": "9", - "opera_mobile": "47", - "electron": "3.0" - }, - "proposal-unicode-property-regex": { - "chrome": "64", - "opera": "51", - "edge": "79", - "firefox": "78", - "safari": "11.1", - "node": "10", - "deno": "1", - "ios": "11.3", - "samsung": "9", - "opera_mobile": "47", - "electron": "3.0" - }, - "transform-named-capturing-groups-regex": { - "chrome": "64", - "opera": "51", - "edge": "79", - "firefox": "78", - "safari": "11.1", - "node": "10", - "deno": "1", - "ios": "11.3", - "samsung": "9", - "opera_mobile": "47", - "electron": "3.0" - }, - "transform-async-to-generator": { - "chrome": "55", - "opera": "42", - "edge": "15", - "firefox": "52", - "safari": "11", - "node": "7.6", - "deno": "1", - "ios": "11", - "samsung": "6", - "opera_mobile": "42", - "electron": "1.6" - }, - "transform-exponentiation-operator": { - "chrome": "52", - "opera": "39", - "edge": "14", - "firefox": "52", - "safari": "10.1", - "node": "7", - "deno": "1", - "ios": "10.3", - "samsung": "6", - "rhino": "1.7.14", - "opera_mobile": "41", - "electron": "1.3" - }, - "transform-template-literals": { - "chrome": "41", - "opera": "28", - "edge": "13", - "firefox": "34", - "safari": "13", - "node": "4", - "deno": "1", - "ios": "13", - "samsung": "3.4", - "opera_mobile": "28", - "electron": "0.21" - }, - "transform-literals": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "53", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "4", - "rhino": "1.7.15", - "opera_mobile": "32", - "electron": "0.30" - }, - "transform-function-name": { - "chrome": "51", - "opera": "38", - "edge": "79", - "firefox": "53", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "transform-arrow-functions": { - "chrome": "47", - "opera": "34", - "edge": "13", - "firefox": "43", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.7.13", - "opera_mobile": "34", - "electron": "0.36" - }, - "transform-block-scoped-functions": { - "chrome": "41", - "opera": "28", - "edge": "12", - "firefox": "46", - "safari": "10", - "node": "4", - "deno": "1", - "ie": "11", - "ios": "10", - "samsung": "3.4", - "opera_mobile": "28", - "electron": "0.21" - }, - "transform-classes": { - "chrome": "46", - "opera": "33", - "edge": "13", - "firefox": "45", - "safari": "10", - "node": "5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "33", - "electron": "0.36" - }, - "transform-object-super": { - "chrome": "46", - "opera": "33", - "edge": "13", - "firefox": "45", - "safari": "10", - "node": "5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "33", - "electron": "0.36" - }, - "transform-shorthand-properties": { - "chrome": "43", - "opera": "30", - "edge": "12", - "firefox": "33", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "4", - "rhino": "1.7.14", - "opera_mobile": "30", - "electron": "0.27" - }, - "transform-duplicate-keys": { - "chrome": "42", - "opera": "29", - "edge": "12", - "firefox": "34", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "3.4", - "opera_mobile": "29", - "electron": "0.25" - }, - "transform-computed-properties": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "34", - "safari": "7.1", - "node": "4", - "deno": "1", - "ios": "8", - "samsung": "4", - "rhino": "1.8", - "opera_mobile": "32", - "electron": "0.30" - }, - "transform-for-of": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "53", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "transform-sticky-regex": { - "chrome": "49", - "opera": "36", - "edge": "13", - "firefox": "3", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "rhino": "1.7.15", - "opera_mobile": "36", - "electron": "0.37" - }, - "transform-unicode-escapes": { - "chrome": "44", - "opera": "31", - "edge": "12", - "firefox": "53", - "safari": "9", - "node": "4", - "deno": "1", - "ios": "9", - "samsung": "4", - "rhino": "1.7.15", - "opera_mobile": "32", - "electron": "0.30" - }, - "transform-unicode-regex": { - "chrome": "50", - "opera": "37", - "edge": "13", - "firefox": "46", - "safari": "12", - "node": "6", - "deno": "1", - "ios": "12", - "samsung": "5", - "opera_mobile": "37", - "electron": "1.1" - }, - "transform-spread": { - "chrome": "46", - "opera": "33", - "edge": "13", - "firefox": "45", - "safari": "10", - "node": "5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "33", - "electron": "0.36" - }, - "transform-destructuring": { - "chrome": "51", - "opera": "38", - "edge": "15", - "firefox": "53", - "safari": "10", - "node": "6.5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "41", - "electron": "1.2" - }, - "transform-block-scoping": { - "chrome": "50", - "opera": "37", - "edge": "14", - "firefox": "53", - "safari": "11", - "node": "6", - "deno": "1", - "ios": "11", - "samsung": "5", - "opera_mobile": "37", - "electron": "1.1" - }, - "transform-typeof-symbol": { - "chrome": "48", - "opera": "35", - "edge": "12", - "firefox": "36", - "safari": "9", - "node": "6", - "deno": "1", - "ios": "9", - "samsung": "5", - "rhino": "1.8", - "opera_mobile": "35", - "electron": "0.37" - }, - "transform-new-target": { - "chrome": "46", - "opera": "33", - "edge": "14", - "firefox": "41", - "safari": "10", - "node": "5", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "33", - "electron": "0.36" - }, - "transform-regenerator": { - "chrome": "50", - "opera": "37", - "edge": "13", - "firefox": "53", - "safari": "10", - "node": "6", - "deno": "1", - "ios": "10", - "samsung": "5", - "opera_mobile": "37", - "electron": "1.1" - }, - "transform-member-expression-literals": { - "chrome": "7", - "opera": "12", - "edge": "12", - "firefox": "2", - "safari": "5.1", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "12", - "electron": "0.20" - }, - "transform-property-literals": { - "chrome": "7", - "opera": "12", - "edge": "12", - "firefox": "2", - "safari": "5.1", - "node": "0.4", - "deno": "1", - "ie": "9", - "android": "4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "12", - "electron": "0.20" - }, - "transform-reserved-words": { - "chrome": "13", - "opera": "10.50", - "edge": "12", - "firefox": "2", - "safari": "3.1", - "node": "0.6", - "deno": "1", - "ie": "9", - "android": "4.4", - "ios": "6", - "phantom": "1.9", - "samsung": "1", - "rhino": "1.7.13", - "opera_mobile": "10.1", - "electron": "0.20" - }, - "transform-export-namespace-from": { - "chrome": "72", - "deno": "1.0", - "edge": "79", - "firefox": "80", - "node": "13.2.0", - "opera": "60", - "opera_mobile": "51", - "safari": "14.1", - "ios": "14.5", - "samsung": "11.0", - "android": "72", - "electron": "5.0" - }, - "proposal-export-namespace-from": { - "chrome": "72", - "deno": "1.0", - "edge": "79", - "firefox": "80", - "node": "13.2.0", - "opera": "60", - "opera_mobile": "51", - "safari": "14.1", - "ios": "14.5", - "samsung": "11.0", - "android": "72", - "electron": "5.0" - } -} diff --git a/lambdas/risk-engine/node_modules/@babel/compat-data/native-modules.js b/lambdas/risk-engine/node_modules/@babel/compat-data/native-modules.js deleted file mode 100644 index f8c25fa3..00000000 --- a/lambdas/risk-engine/node_modules/@babel/compat-data/native-modules.js +++ /dev/null @@ -1,2 +0,0 @@ -// Todo (Babel 8): remove this file, in Babel 8 users import the .json directly -module.exports = require("./data/native-modules.json"); diff --git a/lambdas/risk-engine/node_modules/@babel/compat-data/overlapping-plugins.js b/lambdas/risk-engine/node_modules/@babel/compat-data/overlapping-plugins.js deleted file mode 100644 index 0dd35f15..00000000 --- a/lambdas/risk-engine/node_modules/@babel/compat-data/overlapping-plugins.js +++ /dev/null @@ -1,2 +0,0 @@ -// Todo (Babel 8): remove this file, in Babel 8 users import the .json directly -module.exports = require("./data/overlapping-plugins.json"); diff --git a/lambdas/risk-engine/node_modules/@babel/compat-data/package.json b/lambdas/risk-engine/node_modules/@babel/compat-data/package.json deleted file mode 100644 index d6d14a56..00000000 --- a/lambdas/risk-engine/node_modules/@babel/compat-data/package.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "@babel/compat-data", - "version": "7.29.0", - "author": "The Babel Team (https://babel.dev/team)", - "license": "MIT", - "description": "The compat-data to determine required Babel plugins", - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-compat-data" - }, - "publishConfig": { - "access": "public" - }, - "exports": { - "./plugins": "./plugins.js", - "./native-modules": "./native-modules.js", - "./corejs2-built-ins": "./corejs2-built-ins.js", - "./corejs3-shipped-proposals": "./corejs3-shipped-proposals.js", - "./overlapping-plugins": "./overlapping-plugins.js", - "./plugin-bugfixes": "./plugin-bugfixes.js" - }, - "scripts": { - "build-data": "./scripts/download-compat-table.sh && node ./scripts/build-data.mjs && node ./scripts/build-modules-support.mjs && node ./scripts/build-bugfixes-targets.mjs" - }, - "keywords": [ - "babel", - "compat-table", - "compat-data" - ], - "devDependencies": { - "@mdn/browser-compat-data": "^6.0.8", - "core-js-compat": "^3.48.0", - "electron-to-chromium": "^1.5.278" - }, - "engines": { - "node": ">=6.9.0" - }, - "type": "commonjs" -} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/compat-data/plugin-bugfixes.js b/lambdas/risk-engine/node_modules/@babel/compat-data/plugin-bugfixes.js deleted file mode 100644 index 9aaf3641..00000000 --- a/lambdas/risk-engine/node_modules/@babel/compat-data/plugin-bugfixes.js +++ /dev/null @@ -1,2 +0,0 @@ -// Todo (Babel 8): remove this file, in Babel 8 users import the .json directly -module.exports = require("./data/plugin-bugfixes.json"); diff --git a/lambdas/risk-engine/node_modules/@babel/compat-data/plugins.js b/lambdas/risk-engine/node_modules/@babel/compat-data/plugins.js deleted file mode 100644 index b191017b..00000000 --- a/lambdas/risk-engine/node_modules/@babel/compat-data/plugins.js +++ /dev/null @@ -1,2 +0,0 @@ -// Todo (Babel 8): remove this file, in Babel 8 users import the .json directly -module.exports = require("./data/plugins.json"); diff --git a/lambdas/risk-engine/node_modules/@babel/core/LICENSE b/lambdas/risk-engine/node_modules/@babel/core/LICENSE deleted file mode 100644 index f31575ec..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/@babel/core/README.md b/lambdas/risk-engine/node_modules/@babel/core/README.md deleted file mode 100644 index 29035434..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/core - -> Babel compiler core. - -See our website [@babel/core](https://babeljs.io/docs/babel-core) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20core%22+is%3Aopen) associated with this package. - -## Install - -Using npm: - -```sh -npm install --save-dev @babel/core -``` - -or using yarn: - -```sh -yarn add @babel/core --dev -``` diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/cache-contexts.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/cache-contexts.js deleted file mode 100644 index f2ececda..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/cache-contexts.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -0 && 0; - -//# sourceMappingURL=cache-contexts.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/cache-contexts.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/cache-contexts.js.map deleted file mode 100644 index 39b1898d..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/cache-contexts.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":[],"sources":["../../src/config/cache-contexts.ts"],"sourcesContent":["import type { ConfigContext } from \"./config-chain.ts\";\nimport type {\n CallerMetadata,\n TargetsListOrObject,\n} from \"./validation/options.ts\";\n\nexport type { ConfigContext as FullConfig };\n\nexport type FullPreset = {\n targets: TargetsListOrObject;\n} & ConfigContext;\nexport type FullPlugin = {\n assumptions: Record;\n} & FullPreset;\n\n// Context not including filename since it is used in places that cannot\n// process 'ignore'/'only' and other filename-based logic.\nexport type SimpleConfig = {\n envName: string;\n caller: CallerMetadata | undefined;\n};\nexport type SimplePreset = {\n targets: TargetsListOrObject;\n} & SimpleConfig;\nexport type SimplePlugin = {\n assumptions: Record;\n} & SimplePreset;\n"],"mappings":"","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/caching.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/caching.js deleted file mode 100644 index 344c8390..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/caching.js +++ /dev/null @@ -1,261 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.assertSimpleType = assertSimpleType; -exports.makeStrongCache = makeStrongCache; -exports.makeStrongCacheSync = makeStrongCacheSync; -exports.makeWeakCache = makeWeakCache; -exports.makeWeakCacheSync = makeWeakCacheSync; -function _gensync() { - const data = require("gensync"); - _gensync = function () { - return data; - }; - return data; -} -var _async = require("../gensync-utils/async.js"); -var _util = require("./util.js"); -const synchronize = gen => { - return _gensync()(gen).sync; -}; -function* genTrue() { - return true; -} -function makeWeakCache(handler) { - return makeCachedFunction(WeakMap, handler); -} -function makeWeakCacheSync(handler) { - return synchronize(makeWeakCache(handler)); -} -function makeStrongCache(handler) { - return makeCachedFunction(Map, handler); -} -function makeStrongCacheSync(handler) { - return synchronize(makeStrongCache(handler)); -} -function makeCachedFunction(CallCache, handler) { - const callCacheSync = new CallCache(); - const callCacheAsync = new CallCache(); - const futureCache = new CallCache(); - return function* cachedFunction(arg, data) { - const asyncContext = yield* (0, _async.isAsync)(); - const callCache = asyncContext ? callCacheAsync : callCacheSync; - const cached = yield* getCachedValueOrWait(asyncContext, callCache, futureCache, arg, data); - if (cached.valid) return cached.value; - const cache = new CacheConfigurator(data); - const handlerResult = handler(arg, cache); - let finishLock; - let value; - if ((0, _util.isIterableIterator)(handlerResult)) { - value = yield* (0, _async.onFirstPause)(handlerResult, () => { - finishLock = setupAsyncLocks(cache, futureCache, arg); - }); - } else { - value = handlerResult; - } - updateFunctionCache(callCache, cache, arg, value); - if (finishLock) { - futureCache.delete(arg); - finishLock.release(value); - } - return value; - }; -} -function* getCachedValue(cache, arg, data) { - const cachedValue = cache.get(arg); - if (cachedValue) { - for (const { - value, - valid - } of cachedValue) { - if (yield* valid(data)) return { - valid: true, - value - }; - } - } - return { - valid: false, - value: null - }; -} -function* getCachedValueOrWait(asyncContext, callCache, futureCache, arg, data) { - const cached = yield* getCachedValue(callCache, arg, data); - if (cached.valid) { - return cached; - } - if (asyncContext) { - const cached = yield* getCachedValue(futureCache, arg, data); - if (cached.valid) { - const value = yield* (0, _async.waitFor)(cached.value.promise); - return { - valid: true, - value - }; - } - } - return { - valid: false, - value: null - }; -} -function setupAsyncLocks(config, futureCache, arg) { - const finishLock = new Lock(); - updateFunctionCache(futureCache, config, arg, finishLock); - return finishLock; -} -function updateFunctionCache(cache, config, arg, value) { - if (!config.configured()) config.forever(); - let cachedValue = cache.get(arg); - config.deactivate(); - switch (config.mode()) { - case "forever": - cachedValue = [{ - value, - valid: genTrue - }]; - cache.set(arg, cachedValue); - break; - case "invalidate": - cachedValue = [{ - value, - valid: config.validator() - }]; - cache.set(arg, cachedValue); - break; - case "valid": - if (cachedValue) { - cachedValue.push({ - value, - valid: config.validator() - }); - } else { - cachedValue = [{ - value, - valid: config.validator() - }]; - cache.set(arg, cachedValue); - } - } -} -class CacheConfigurator { - constructor(data) { - this._active = true; - this._never = false; - this._forever = false; - this._invalidate = false; - this._configured = false; - this._pairs = []; - this._data = void 0; - this._data = data; - } - simple() { - return makeSimpleConfigurator(this); - } - mode() { - if (this._never) return "never"; - if (this._forever) return "forever"; - if (this._invalidate) return "invalidate"; - return "valid"; - } - forever() { - if (!this._active) { - throw new Error("Cannot change caching after evaluation has completed."); - } - if (this._never) { - throw new Error("Caching has already been configured with .never()"); - } - this._forever = true; - this._configured = true; - } - never() { - if (!this._active) { - throw new Error("Cannot change caching after evaluation has completed."); - } - if (this._forever) { - throw new Error("Caching has already been configured with .forever()"); - } - this._never = true; - this._configured = true; - } - using(handler) { - if (!this._active) { - throw new Error("Cannot change caching after evaluation has completed."); - } - if (this._never || this._forever) { - throw new Error("Caching has already been configured with .never or .forever()"); - } - this._configured = true; - const key = handler(this._data); - const fn = (0, _async.maybeAsync)(handler, `You appear to be using an async cache handler, but Babel has been called synchronously`); - if ((0, _async.isThenable)(key)) { - return key.then(key => { - this._pairs.push([key, fn]); - return key; - }); - } - this._pairs.push([key, fn]); - return key; - } - invalidate(handler) { - this._invalidate = true; - return this.using(handler); - } - validator() { - const pairs = this._pairs; - return function* (data) { - for (const [key, fn] of pairs) { - if (key !== (yield* fn(data))) return false; - } - return true; - }; - } - deactivate() { - this._active = false; - } - configured() { - return this._configured; - } -} -function makeSimpleConfigurator(cache) { - function cacheFn(val) { - if (typeof val === "boolean") { - if (val) cache.forever();else cache.never(); - return; - } - return cache.using(() => assertSimpleType(val())); - } - cacheFn.forever = () => cache.forever(); - cacheFn.never = () => cache.never(); - cacheFn.using = cb => cache.using(() => assertSimpleType(cb())); - cacheFn.invalidate = cb => cache.invalidate(() => assertSimpleType(cb())); - return cacheFn; -} -function assertSimpleType(value) { - if ((0, _async.isThenable)(value)) { - throw new Error(`You appear to be using an async cache handler, ` + `which your current version of Babel does not support. ` + `We may add support for this in the future, ` + `but if you're on the most recent version of @babel/core and still ` + `seeing this error, then you'll need to synchronously handle your caching logic.`); - } - if (value != null && typeof value !== "string" && typeof value !== "boolean" && typeof value !== "number") { - throw new Error("Cache keys must be either string, boolean, number, null, or undefined."); - } - return value; -} -class Lock { - constructor() { - this.released = false; - this.promise = void 0; - this._resolve = void 0; - this.promise = new Promise(resolve => { - this._resolve = resolve; - }); - } - release(value) { - this.released = true; - this._resolve(value); - } -} -0 && 0; - -//# sourceMappingURL=caching.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/caching.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/caching.js.map deleted file mode 100644 index c9a69fd6..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/caching.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_gensync","data","require","_async","_util","synchronize","gen","gensync","sync","genTrue","makeWeakCache","handler","makeCachedFunction","WeakMap","makeWeakCacheSync","makeStrongCache","Map","makeStrongCacheSync","CallCache","callCacheSync","callCacheAsync","futureCache","cachedFunction","arg","asyncContext","isAsync","callCache","cached","getCachedValueOrWait","valid","value","cache","CacheConfigurator","handlerResult","finishLock","isIterableIterator","onFirstPause","setupAsyncLocks","updateFunctionCache","delete","release","getCachedValue","cachedValue","get","waitFor","promise","config","Lock","configured","forever","deactivate","mode","set","validator","push","constructor","_active","_never","_forever","_invalidate","_configured","_pairs","_data","simple","makeSimpleConfigurator","Error","never","using","key","fn","maybeAsync","isThenable","then","invalidate","pairs","cacheFn","val","assertSimpleType","cb","released","_resolve","Promise","resolve"],"sources":["../../src/config/caching.ts"],"sourcesContent":["import gensync from \"gensync\";\nimport type { Handler } from \"gensync\";\nimport {\n maybeAsync,\n isAsync,\n onFirstPause,\n waitFor,\n isThenable,\n} from \"../gensync-utils/async.ts\";\nimport { isIterableIterator } from \"./util.ts\";\n\nexport type { CacheConfigurator };\n\nexport type SimpleCacheConfigurator = {\n (forever: boolean): void;\n (handler: () => T): T;\n\n forever: () => void;\n never: () => void;\n using: (handler: () => T) => T;\n invalidate: (handler: () => T) => T;\n};\n\nexport type CacheEntry = {\n value: ResultT;\n valid: (channel: SideChannel) => Handler;\n}[];\n\nconst synchronize = (\n gen: (...args: ArgsT) => Handler,\n): ((...args: ArgsT) => ResultT) => {\n return gensync(gen).sync;\n};\n\n// eslint-disable-next-line require-yield\nfunction* genTrue() {\n return true;\n}\n\nexport function makeWeakCache(\n handler: (\n arg: ArgT,\n cache: CacheConfigurator,\n ) => Handler | ResultT,\n): (arg: ArgT, data: SideChannel) => Handler {\n return makeCachedFunction(WeakMap, handler);\n}\n\nexport function makeWeakCacheSync(\n handler: (arg: ArgT, cache?: CacheConfigurator) => ResultT,\n): (arg: ArgT, data?: SideChannel) => ResultT {\n return synchronize<[ArgT, SideChannel], ResultT>(\n makeWeakCache(handler),\n );\n}\n\nexport function makeStrongCache(\n handler: (\n arg: ArgT,\n cache: CacheConfigurator,\n ) => Handler | ResultT,\n): (arg: ArgT, data: SideChannel) => Handler {\n return makeCachedFunction(Map, handler);\n}\n\nexport function makeStrongCacheSync(\n handler: (arg: ArgT, cache?: CacheConfigurator) => ResultT,\n): (arg: ArgT, data?: SideChannel) => ResultT {\n return synchronize<[ArgT, SideChannel], ResultT>(\n makeStrongCache(handler),\n );\n}\n\n/* NOTE: Part of the logic explained in this comment is explained in the\n * getCachedValueOrWait and setupAsyncLocks functions.\n *\n * > There are only two hard things in Computer Science: cache invalidation and naming things.\n * > -- Phil Karlton\n *\n * I don't know if Phil was also thinking about handling a cache whose invalidation function is\n * defined asynchronously is considered, but it is REALLY hard to do correctly.\n *\n * The implemented logic (only when gensync is run asynchronously) is the following:\n * 1. If there is a valid cache associated to the current \"arg\" parameter,\n * a. RETURN the cached value\n * 3. If there is a FinishLock associated to the current \"arg\" parameter representing a valid cache,\n * a. Wait for that lock to be released\n * b. RETURN the value associated with that lock\n * 5. Start executing the function to be cached\n * a. If it pauses on a promise, then\n * i. Let FinishLock be a new lock\n * ii. Store FinishLock as associated to the current \"arg\" parameter\n * iii. Wait for the function to finish executing\n * iv. Release FinishLock\n * v. Send the function result to anyone waiting on FinishLock\n * 6. Store the result in the cache\n * 7. RETURN the result\n */\nfunction makeCachedFunction(\n CallCache: new () => CacheMap,\n handler: (\n arg: ArgT,\n cache: CacheConfigurator,\n ) => Handler | ResultT,\n): (arg: ArgT, data: SideChannel) => Handler {\n const callCacheSync = new CallCache();\n const callCacheAsync = new CallCache();\n const futureCache = new CallCache>();\n\n return function* cachedFunction(arg: ArgT, data: SideChannel) {\n const asyncContext = yield* isAsync();\n const callCache = asyncContext ? callCacheAsync : callCacheSync;\n\n const cached = yield* getCachedValueOrWait(\n asyncContext,\n callCache,\n futureCache,\n arg,\n data,\n );\n if (cached.valid) return cached.value;\n\n const cache = new CacheConfigurator(data);\n\n const handlerResult: Handler | ResultT = handler(arg, cache);\n\n let finishLock: Lock;\n let value: ResultT;\n\n if (isIterableIterator(handlerResult)) {\n value = yield* onFirstPause(handlerResult, () => {\n finishLock = setupAsyncLocks(cache, futureCache, arg);\n });\n } else {\n value = handlerResult;\n }\n\n updateFunctionCache(callCache, cache, arg, value);\n\n if (finishLock) {\n futureCache.delete(arg);\n finishLock.release(value);\n }\n\n return value;\n };\n}\n\ntype CacheMap =\n | Map>\n // @ts-expect-error todo(flow->ts): add `extends object` constraint to ArgT\n | WeakMap>;\n\nfunction* getCachedValue(\n cache: CacheMap,\n arg: ArgT,\n data: SideChannel,\n): Handler<{ valid: true; value: ResultT } | { valid: false; value: null }> {\n const cachedValue: CacheEntry | void = cache.get(arg);\n\n if (cachedValue) {\n for (const { value, valid } of cachedValue) {\n if (yield* valid(data)) return { valid: true, value };\n }\n }\n\n return { valid: false, value: null };\n}\n\nfunction* getCachedValueOrWait(\n asyncContext: boolean,\n callCache: CacheMap,\n futureCache: CacheMap, SideChannel>,\n arg: ArgT,\n data: SideChannel,\n): Handler<{ valid: true; value: ResultT } | { valid: false; value: null }> {\n const cached = yield* getCachedValue(callCache, arg, data);\n if (cached.valid) {\n return cached;\n }\n\n if (asyncContext) {\n const cached = yield* getCachedValue(futureCache, arg, data);\n if (cached.valid) {\n const value = yield* waitFor(cached.value.promise);\n return { valid: true, value };\n }\n }\n\n return { valid: false, value: null };\n}\n\nfunction setupAsyncLocks(\n config: CacheConfigurator,\n futureCache: CacheMap, SideChannel>,\n arg: ArgT,\n): Lock {\n const finishLock = new Lock();\n\n updateFunctionCache(futureCache, config, arg, finishLock);\n\n return finishLock;\n}\n\nfunction updateFunctionCache<\n ArgT,\n ResultT,\n SideChannel,\n Cache extends CacheMap,\n>(\n cache: Cache,\n config: CacheConfigurator,\n arg: ArgT,\n value: ResultT,\n) {\n if (!config.configured()) config.forever();\n\n let cachedValue: CacheEntry | void = cache.get(arg);\n\n config.deactivate();\n\n switch (config.mode()) {\n case \"forever\":\n cachedValue = [{ value, valid: genTrue }];\n cache.set(arg, cachedValue);\n break;\n case \"invalidate\":\n cachedValue = [{ value, valid: config.validator() }];\n cache.set(arg, cachedValue);\n break;\n case \"valid\":\n if (cachedValue) {\n cachedValue.push({ value, valid: config.validator() });\n } else {\n cachedValue = [{ value, valid: config.validator() }];\n cache.set(arg, cachedValue);\n }\n }\n}\n\nclass CacheConfigurator {\n _active: boolean = true;\n _never: boolean = false;\n _forever: boolean = false;\n _invalidate: boolean = false;\n\n _configured: boolean = false;\n\n _pairs: [\n cachedValue: unknown,\n handler: (data: SideChannel) => Handler,\n ][] = [];\n\n _data: SideChannel;\n\n constructor(data: SideChannel) {\n this._data = data;\n }\n\n simple() {\n return makeSimpleConfigurator(this);\n }\n\n mode() {\n if (this._never) return \"never\";\n if (this._forever) return \"forever\";\n if (this._invalidate) return \"invalidate\";\n return \"valid\";\n }\n\n forever() {\n if (!this._active) {\n throw new Error(\"Cannot change caching after evaluation has completed.\");\n }\n if (this._never) {\n throw new Error(\"Caching has already been configured with .never()\");\n }\n this._forever = true;\n this._configured = true;\n }\n\n never() {\n if (!this._active) {\n throw new Error(\"Cannot change caching after evaluation has completed.\");\n }\n if (this._forever) {\n throw new Error(\"Caching has already been configured with .forever()\");\n }\n this._never = true;\n this._configured = true;\n }\n\n using(handler: (data: SideChannel) => T): T {\n if (!this._active) {\n throw new Error(\"Cannot change caching after evaluation has completed.\");\n }\n if (this._never || this._forever) {\n throw new Error(\n \"Caching has already been configured with .never or .forever()\",\n );\n }\n this._configured = true;\n\n const key = handler(this._data);\n\n const fn = maybeAsync(\n handler,\n `You appear to be using an async cache handler, but Babel has been called synchronously`,\n );\n\n if (isThenable(key)) {\n // @ts-expect-error todo(flow->ts): improve function return type annotation\n return key.then((key: unknown) => {\n this._pairs.push([key, fn]);\n return key;\n });\n }\n\n this._pairs.push([key, fn]);\n return key;\n }\n\n invalidate(handler: (data: SideChannel) => T): T {\n this._invalidate = true;\n return this.using(handler);\n }\n\n validator(): (data: SideChannel) => Handler {\n const pairs = this._pairs;\n return function* (data: SideChannel) {\n for (const [key, fn] of pairs) {\n if (key !== (yield* fn(data))) return false;\n }\n return true;\n };\n }\n\n deactivate() {\n this._active = false;\n }\n\n configured() {\n return this._configured;\n }\n}\n\nfunction makeSimpleConfigurator(\n cache: CacheConfigurator,\n): SimpleCacheConfigurator {\n function cacheFn(val: any) {\n if (typeof val === \"boolean\") {\n if (val) cache.forever();\n else cache.never();\n return;\n }\n\n return cache.using(() => assertSimpleType(val()));\n }\n cacheFn.forever = () => cache.forever();\n cacheFn.never = () => cache.never();\n cacheFn.using = (cb: () => SimpleType) =>\n cache.using(() => assertSimpleType(cb()));\n cacheFn.invalidate = (cb: () => SimpleType) =>\n cache.invalidate(() => assertSimpleType(cb()));\n\n return cacheFn as any;\n}\n\n// Types are limited here so that in the future these values can be used\n// as part of Babel's caching logic.\nexport type SimpleType =\n | string\n | boolean\n | number\n | null\n | void\n | Promise;\nexport function assertSimpleType(value: unknown): SimpleType {\n if (isThenable(value)) {\n throw new Error(\n `You appear to be using an async cache handler, ` +\n `which your current version of Babel does not support. ` +\n `We may add support for this in the future, ` +\n `but if you're on the most recent version of @babel/core and still ` +\n `seeing this error, then you'll need to synchronously handle your caching logic.`,\n );\n }\n\n if (\n value != null &&\n typeof value !== \"string\" &&\n typeof value !== \"boolean\" &&\n typeof value !== \"number\"\n ) {\n throw new Error(\n \"Cache keys must be either string, boolean, number, null, or undefined.\",\n );\n }\n // @ts-expect-error Type 'unknown' is not assignable to type 'SimpleType'. This can be removed\n // when strictNullCheck is enabled\n return value;\n}\n\nclass Lock {\n released: boolean = false;\n promise: Promise;\n _resolve: (value: T) => void;\n\n constructor() {\n this.promise = new Promise(resolve => {\n this._resolve = resolve;\n });\n }\n\n release(value: T) {\n this.released = true;\n this._resolve(value);\n }\n}\n"],"mappings":";;;;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAE,MAAA,GAAAD,OAAA;AAOA,IAAAE,KAAA,GAAAF,OAAA;AAmBA,MAAMG,WAAW,GACfC,GAAyC,IACP;EAClC,OAAOC,SAAMA,CAAC,CAACD,GAAG,CAAC,CAACE,IAAI;AAC1B,CAAC;AAGD,UAAUC,OAAOA,CAAA,EAAG;EAClB,OAAO,IAAI;AACb;AAEO,SAASC,aAAaA,CAC3BC,OAG+B,EACqB;EACpD,OAAOC,kBAAkB,CAA6BC,OAAO,EAAEF,OAAO,CAAC;AACzE;AAEO,SAASG,iBAAiBA,CAC/BH,OAAuE,EAC3B;EAC5C,OAAON,WAAW,CAChBK,aAAa,CAA6BC,OAAO,CACnD,CAAC;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,MAAMiB,IAAI,CAAI;EAKZQ,WAAWA,CAAA,EAAG;IAAA,KAJdwB,QAAQ,GAAY,KAAK;IAAA,KACzBlC,OAAO;IAAA,KACPmC,QAAQ;IAGN,IAAI,CAACnC,OAAO,GAAG,IAAIoC,OAAO,CAACC,OAAO,IAAI;MACpC,IAAI,CAACF,QAAQ,GAAGE,OAAO;IACzB,CAAC,CAAC;EACJ;EAEA1C,OAAOA,CAACV,KAAQ,EAAE;IAChB,IAAI,CAACiD,QAAQ,GAAG,IAAI;IACpB,IAAI,CAACC,QAAQ,CAAClD,KAAK,CAAC;EACtB;AACF;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/config-chain.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/config-chain.js deleted file mode 100644 index 5fded8e6..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/config-chain.js +++ /dev/null @@ -1,469 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.buildPresetChain = buildPresetChain; -exports.buildPresetChainWalker = void 0; -exports.buildRootChain = buildRootChain; -function _path() { - const data = require("path"); - _path = function () { - return data; - }; - return data; -} -function _debug() { - const data = require("debug"); - _debug = function () { - return data; - }; - return data; -} -var _options = require("./validation/options.js"); -var _patternToRegex = require("./pattern-to-regex.js"); -var _printer = require("./printer.js"); -var _rewriteStackTrace = require("../errors/rewrite-stack-trace.js"); -var _configError = require("../errors/config-error.js"); -var _index = require("./files/index.js"); -var _caching = require("./caching.js"); -var _configDescriptors = require("./config-descriptors.js"); -const debug = _debug()("babel:config:config-chain"); -function* buildPresetChain(arg, context) { - const chain = yield* buildPresetChainWalker(arg, context); - if (!chain) return null; - return { - plugins: dedupDescriptors(chain.plugins), - presets: dedupDescriptors(chain.presets), - options: chain.options.map(o => createConfigChainOptions(o)), - files: new Set() - }; -} -const buildPresetChainWalker = exports.buildPresetChainWalker = makeChainWalker({ - root: preset => loadPresetDescriptors(preset), - env: (preset, envName) => loadPresetEnvDescriptors(preset)(envName), - overrides: (preset, index) => loadPresetOverridesDescriptors(preset)(index), - overridesEnv: (preset, index, envName) => loadPresetOverridesEnvDescriptors(preset)(index)(envName), - createLogger: () => () => {} -}); -const loadPresetDescriptors = (0, _caching.makeWeakCacheSync)(preset => buildRootDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors)); -const loadPresetEnvDescriptors = (0, _caching.makeWeakCacheSync)(preset => (0, _caching.makeStrongCacheSync)(envName => buildEnvDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, envName))); -const loadPresetOverridesDescriptors = (0, _caching.makeWeakCacheSync)(preset => (0, _caching.makeStrongCacheSync)(index => buildOverrideDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, index))); -const loadPresetOverridesEnvDescriptors = (0, _caching.makeWeakCacheSync)(preset => (0, _caching.makeStrongCacheSync)(index => (0, _caching.makeStrongCacheSync)(envName => buildOverrideEnvDescriptors(preset, preset.alias, _configDescriptors.createUncachedDescriptors, index, envName)))); -function* buildRootChain(opts, context) { - let configReport, babelRcReport; - const programmaticLogger = new _printer.ConfigPrinter(); - const programmaticChain = yield* loadProgrammaticChain({ - options: opts, - dirname: context.cwd - }, context, undefined, programmaticLogger); - if (!programmaticChain) return null; - const programmaticReport = yield* programmaticLogger.output(); - let configFile; - if (typeof opts.configFile === "string") { - configFile = yield* (0, _index.loadConfig)(opts.configFile, context.cwd, context.envName, context.caller); - } else if (opts.configFile !== false) { - configFile = yield* (0, _index.findRootConfig)(context.root, context.envName, context.caller); - } - let { - babelrc, - babelrcRoots - } = opts; - let babelrcRootsDirectory = context.cwd; - const configFileChain = emptyChain(); - const configFileLogger = new _printer.ConfigPrinter(); - if (configFile) { - const validatedFile = validateConfigFile(configFile); - const result = yield* loadFileChain(validatedFile, context, undefined, configFileLogger); - if (!result) return null; - configReport = yield* configFileLogger.output(); - if (babelrc === undefined) { - babelrc = validatedFile.options.babelrc; - } - if (babelrcRoots === undefined) { - babelrcRootsDirectory = validatedFile.dirname; - babelrcRoots = validatedFile.options.babelrcRoots; - } - mergeChain(configFileChain, result); - } - let ignoreFile, babelrcFile; - let isIgnored = false; - const fileChain = emptyChain(); - if ((babelrc === true || babelrc === undefined) && typeof context.filename === "string") { - const pkgData = yield* (0, _index.findPackageData)(context.filename); - if (pkgData && babelrcLoadEnabled(context, pkgData, babelrcRoots, babelrcRootsDirectory)) { - ({ - ignore: ignoreFile, - config: babelrcFile - } = yield* (0, _index.findRelativeConfig)(pkgData, context.envName, context.caller)); - if (ignoreFile) { - fileChain.files.add(ignoreFile.filepath); - } - if (ignoreFile && shouldIgnore(context, ignoreFile.ignore, null, ignoreFile.dirname)) { - isIgnored = true; - } - if (babelrcFile && !isIgnored) { - const validatedFile = validateBabelrcFile(babelrcFile); - const babelrcLogger = new _printer.ConfigPrinter(); - const result = yield* loadFileChain(validatedFile, context, undefined, babelrcLogger); - if (!result) { - isIgnored = true; - } else { - babelRcReport = yield* babelrcLogger.output(); - mergeChain(fileChain, result); - } - } - if (babelrcFile && isIgnored) { - fileChain.files.add(babelrcFile.filepath); - } - } - } - if (context.showConfig) { - console.log(`Babel configs on "${context.filename}" (ascending priority):\n` + [configReport, babelRcReport, programmaticReport].filter(x => !!x).join("\n\n") + "\n-----End Babel configs-----"); - } - const chain = mergeChain(mergeChain(mergeChain(emptyChain(), configFileChain), fileChain), programmaticChain); - return { - plugins: isIgnored ? [] : dedupDescriptors(chain.plugins), - presets: isIgnored ? [] : dedupDescriptors(chain.presets), - options: isIgnored ? [] : chain.options.map(o => createConfigChainOptions(o)), - fileHandling: isIgnored ? "ignored" : "transpile", - ignore: ignoreFile || undefined, - babelrc: babelrcFile || undefined, - config: configFile || undefined, - files: chain.files - }; -} -function babelrcLoadEnabled(context, pkgData, babelrcRoots, babelrcRootsDirectory) { - if (typeof babelrcRoots === "boolean") return babelrcRoots; - const absoluteRoot = context.root; - if (babelrcRoots === undefined) { - return pkgData.directories.includes(absoluteRoot); - } - let babelrcPatterns = babelrcRoots; - if (!Array.isArray(babelrcPatterns)) { - babelrcPatterns = [babelrcPatterns]; - } - babelrcPatterns = babelrcPatterns.map(pat => { - return typeof pat === "string" ? _path().resolve(babelrcRootsDirectory, pat) : pat; - }); - if (babelrcPatterns.length === 1 && babelrcPatterns[0] === absoluteRoot) { - return pkgData.directories.includes(absoluteRoot); - } - return babelrcPatterns.some(pat => { - if (typeof pat === "string") { - pat = (0, _patternToRegex.default)(pat, babelrcRootsDirectory); - } - return pkgData.directories.some(directory => { - return matchPattern(pat, babelrcRootsDirectory, directory, context); - }); - }); -} -const validateConfigFile = (0, _caching.makeWeakCacheSync)(file => ({ - filepath: file.filepath, - dirname: file.dirname, - options: (0, _options.validate)("configfile", file.options, file.filepath) -})); -const validateBabelrcFile = (0, _caching.makeWeakCacheSync)(file => ({ - filepath: file.filepath, - dirname: file.dirname, - options: (0, _options.validate)("babelrcfile", file.options, file.filepath) -})); -const validateExtendFile = (0, _caching.makeWeakCacheSync)(file => ({ - filepath: file.filepath, - dirname: file.dirname, - options: (0, _options.validate)("extendsfile", file.options, file.filepath) -})); -const loadProgrammaticChain = makeChainWalker({ - root: input => buildRootDescriptors(input, "base", _configDescriptors.createCachedDescriptors), - env: (input, envName) => buildEnvDescriptors(input, "base", _configDescriptors.createCachedDescriptors, envName), - overrides: (input, index) => buildOverrideDescriptors(input, "base", _configDescriptors.createCachedDescriptors, index), - overridesEnv: (input, index, envName) => buildOverrideEnvDescriptors(input, "base", _configDescriptors.createCachedDescriptors, index, envName), - createLogger: (input, context, baseLogger) => buildProgrammaticLogger(input, context, baseLogger) -}); -const loadFileChainWalker = makeChainWalker({ - root: file => loadFileDescriptors(file), - env: (file, envName) => loadFileEnvDescriptors(file)(envName), - overrides: (file, index) => loadFileOverridesDescriptors(file)(index), - overridesEnv: (file, index, envName) => loadFileOverridesEnvDescriptors(file)(index)(envName), - createLogger: (file, context, baseLogger) => buildFileLogger(file.filepath, context, baseLogger) -}); -function* loadFileChain(input, context, files, baseLogger) { - const chain = yield* loadFileChainWalker(input, context, files, baseLogger); - chain == null || chain.files.add(input.filepath); - return chain; -} -const loadFileDescriptors = (0, _caching.makeWeakCacheSync)(file => buildRootDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors)); -const loadFileEnvDescriptors = (0, _caching.makeWeakCacheSync)(file => (0, _caching.makeStrongCacheSync)(envName => buildEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, envName))); -const loadFileOverridesDescriptors = (0, _caching.makeWeakCacheSync)(file => (0, _caching.makeStrongCacheSync)(index => buildOverrideDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index))); -const loadFileOverridesEnvDescriptors = (0, _caching.makeWeakCacheSync)(file => (0, _caching.makeStrongCacheSync)(index => (0, _caching.makeStrongCacheSync)(envName => buildOverrideEnvDescriptors(file, file.filepath, _configDescriptors.createUncachedDescriptors, index, envName)))); -function buildFileLogger(filepath, context, baseLogger) { - if (!baseLogger) { - return () => {}; - } - return baseLogger.configure(context.showConfig, _printer.ChainFormatter.Config, { - filepath - }); -} -function buildRootDescriptors({ - dirname, - options -}, alias, descriptors) { - return descriptors(dirname, options, alias); -} -function buildProgrammaticLogger(_, context, baseLogger) { - var _context$caller; - if (!baseLogger) { - return () => {}; - } - return baseLogger.configure(context.showConfig, _printer.ChainFormatter.Programmatic, { - callerName: (_context$caller = context.caller) == null ? void 0 : _context$caller.name - }); -} -function buildEnvDescriptors({ - dirname, - options -}, alias, descriptors, envName) { - var _options$env; - const opts = (_options$env = options.env) == null ? void 0 : _options$env[envName]; - return opts ? descriptors(dirname, opts, `${alias}.env["${envName}"]`) : null; -} -function buildOverrideDescriptors({ - dirname, - options -}, alias, descriptors, index) { - var _options$overrides; - const opts = (_options$overrides = options.overrides) == null ? void 0 : _options$overrides[index]; - if (!opts) throw new Error("Assertion failure - missing override"); - return descriptors(dirname, opts, `${alias}.overrides[${index}]`); -} -function buildOverrideEnvDescriptors({ - dirname, - options -}, alias, descriptors, index, envName) { - var _options$overrides2, _override$env; - const override = (_options$overrides2 = options.overrides) == null ? void 0 : _options$overrides2[index]; - if (!override) throw new Error("Assertion failure - missing override"); - const opts = (_override$env = override.env) == null ? void 0 : _override$env[envName]; - return opts ? descriptors(dirname, opts, `${alias}.overrides[${index}].env["${envName}"]`) : null; -} -function makeChainWalker({ - root, - env, - overrides, - overridesEnv, - createLogger -}) { - return function* chainWalker(input, context, files = new Set(), baseLogger) { - const { - dirname - } = input; - const flattenedConfigs = []; - const rootOpts = root(input); - if (configIsApplicable(rootOpts, dirname, context, input.filepath)) { - flattenedConfigs.push({ - config: rootOpts, - envName: undefined, - index: undefined - }); - const envOpts = env(input, context.envName); - if (envOpts && configIsApplicable(envOpts, dirname, context, input.filepath)) { - flattenedConfigs.push({ - config: envOpts, - envName: context.envName, - index: undefined - }); - } - (rootOpts.options.overrides || []).forEach((_, index) => { - const overrideOps = overrides(input, index); - if (configIsApplicable(overrideOps, dirname, context, input.filepath)) { - flattenedConfigs.push({ - config: overrideOps, - index, - envName: undefined - }); - const overrideEnvOpts = overridesEnv(input, index, context.envName); - if (overrideEnvOpts && configIsApplicable(overrideEnvOpts, dirname, context, input.filepath)) { - flattenedConfigs.push({ - config: overrideEnvOpts, - index, - envName: context.envName - }); - } - } - }); - } - if (flattenedConfigs.some(({ - config: { - options: { - ignore, - only - } - } - }) => shouldIgnore(context, ignore, only, dirname))) { - return null; - } - const chain = emptyChain(); - const logger = createLogger(input, context, baseLogger); - for (const { - config, - index, - envName - } of flattenedConfigs) { - if (!(yield* mergeExtendsChain(chain, config.options, dirname, context, files, baseLogger))) { - return null; - } - logger(config, index, envName); - yield* mergeChainOpts(chain, config); - } - return chain; - }; -} -function* mergeExtendsChain(chain, opts, dirname, context, files, baseLogger) { - if (opts.extends === undefined) return true; - const file = yield* (0, _index.loadConfig)(opts.extends, dirname, context.envName, context.caller); - if (files.has(file)) { - throw new Error(`Configuration cycle detected loading ${file.filepath}.\n` + `File already loaded following the config chain:\n` + Array.from(files, file => ` - ${file.filepath}`).join("\n")); - } - files.add(file); - const fileChain = yield* loadFileChain(validateExtendFile(file), context, files, baseLogger); - files.delete(file); - if (!fileChain) return false; - mergeChain(chain, fileChain); - return true; -} -function mergeChain(target, source) { - target.options.push(...source.options); - target.plugins.push(...source.plugins); - target.presets.push(...source.presets); - for (const file of source.files) { - target.files.add(file); - } - return target; -} -function* mergeChainOpts(target, { - options, - plugins, - presets -}) { - target.options.push(options); - target.plugins.push(...(yield* plugins())); - target.presets.push(...(yield* presets())); - return target; -} -function emptyChain() { - return { - options: [], - presets: [], - plugins: [], - files: new Set() - }; -} -function createConfigChainOptions(opts) { - const options = Object.assign({}, opts); - delete options.extends; - delete options.env; - delete options.overrides; - delete options.plugins; - delete options.presets; - delete options.passPerPreset; - delete options.ignore; - delete options.only; - delete options.test; - delete options.include; - delete options.exclude; - if (hasOwnProperty.call(options, "sourceMap")) { - options.sourceMaps = options.sourceMap; - delete options.sourceMap; - } - return options; -} -function dedupDescriptors(items) { - const map = new Map(); - const descriptors = []; - for (const item of items) { - if (typeof item.value === "function") { - const fnKey = item.value; - let nameMap = map.get(fnKey); - if (!nameMap) { - nameMap = new Map(); - map.set(fnKey, nameMap); - } - let desc = nameMap.get(item.name); - if (!desc) { - desc = { - value: item - }; - descriptors.push(desc); - if (!item.ownPass) nameMap.set(item.name, desc); - } else { - desc.value = item; - } - } else { - descriptors.push({ - value: item - }); - } - } - return descriptors.reduce((acc, desc) => { - acc.push(desc.value); - return acc; - }, []); -} -function configIsApplicable({ - options -}, dirname, context, configName) { - return (options.test === undefined || configFieldIsApplicable(context, options.test, dirname, configName)) && (options.include === undefined || configFieldIsApplicable(context, options.include, dirname, configName)) && (options.exclude === undefined || !configFieldIsApplicable(context, options.exclude, dirname, configName)); -} -function configFieldIsApplicable(context, test, dirname, configName) { - const patterns = Array.isArray(test) ? test : [test]; - return matchesPatterns(context, patterns, dirname, configName); -} -function ignoreListReplacer(_key, value) { - if (value instanceof RegExp) { - return String(value); - } - return value; -} -function shouldIgnore(context, ignore, only, dirname) { - if (ignore && matchesPatterns(context, ignore, dirname)) { - var _context$filename; - const message = `No config is applied to "${(_context$filename = context.filename) != null ? _context$filename : "(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(ignore, ignoreListReplacer)}\` from "${dirname}"`; - debug(message); - if (context.showConfig) { - console.log(message); - } - return true; - } - if (only && !matchesPatterns(context, only, dirname)) { - var _context$filename2; - const message = `No config is applied to "${(_context$filename2 = context.filename) != null ? _context$filename2 : "(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(only, ignoreListReplacer)}\` from "${dirname}"`; - debug(message); - if (context.showConfig) { - console.log(message); - } - return true; - } - return false; -} -function matchesPatterns(context, patterns, dirname, configName) { - return patterns.some(pattern => matchPattern(pattern, dirname, context.filename, context, configName)); -} -function matchPattern(pattern, dirname, pathToTest, context, configName) { - if (typeof pattern === "function") { - return !!(0, _rewriteStackTrace.endHiddenCallStack)(pattern)(pathToTest, { - dirname, - envName: context.envName, - caller: context.caller - }); - } - if (typeof pathToTest !== "string") { - throw new _configError.default(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`, configName); - } - if (typeof pattern === "string") { - pattern = (0, _patternToRegex.default)(pattern, dirname); - } - return pattern.test(pathToTest); -} -0 && 0; - -//# sourceMappingURL=config-chain.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/config-chain.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/config-chain.js.map deleted file mode 100644 index 92414e53..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/config-chain.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_path","data","require","_debug","_options","_patternToRegex","_printer","_rewriteStackTrace","_configError","_index","_caching","_configDescriptors","debug","buildDebug","buildPresetChain","arg","context","chain","buildPresetChainWalker","plugins","dedupDescriptors","presets","options","map","o","createConfigChainOptions","files","Set","exports","makeChainWalker","root","preset","loadPresetDescriptors","env","envName","loadPresetEnvDescriptors","overrides","index","loadPresetOverridesDescriptors","overridesEnv","loadPresetOverridesEnvDescriptors","createLogger","makeWeakCacheSync","buildRootDescriptors","alias","createUncachedDescriptors","makeStrongCacheSync","buildEnvDescriptors","buildOverrideDescriptors","buildOverrideEnvDescriptors","buildRootChain","opts","configReport","babelRcReport","programmaticLogger","ConfigPrinter","programmaticChain","loadProgrammaticChain","dirname","cwd","undefined","programmaticReport","output","configFile","loadConfig","caller","findRootConfig","babelrc","babelrcRoots","babelrcRootsDirectory","configFileChain","emptyChain","configFileLogger","validatedFile","validateConfigFile","result","loadFileChain","mergeChain","ignoreFile","babelrcFile","isIgnored","fileChain","filename","pkgData","findPackageData","babelrcLoadEnabled","ignore","config","findRelativeConfig","add","filepath","shouldIgnore","validateBabelrcFile","babelrcLogger","showConfig","console","log","filter","x","join","fileHandling","absoluteRoot","directories","includes","babelrcPatterns","Array","isArray","pat","path","resolve","length","some","pathPatternToRegex","directory","matchPattern","file","validate","validateExtendFile","input","createCachedDescriptors","baseLogger","buildProgrammaticLogger","loadFileChainWalker","loadFileDescriptors","loadFileEnvDescriptors","loadFileOverridesDescriptors","loadFileOverridesEnvDescriptors","buildFileLogger","configure","ChainFormatter","Config","descriptors","_","_context$caller","Programmatic","callerName","name","_options$env","_options$overrides","Error","_options$overrides2","_override$env","override","chainWalker","flattenedConfigs","rootOpts","configIsApplicable","push","envOpts","forEach","overrideOps","overrideEnvOpts","only","logger","mergeExtendsChain","mergeChainOpts","extends","has","from","delete","target","source","Object","assign","passPerPreset","test","include","exclude","hasOwnProperty","call","sourceMaps","sourceMap","items","Map","item","value","fnKey","nameMap","get","set","desc","ownPass","reduce","acc","configName","configFieldIsApplicable","patterns","matchesPatterns","ignoreListReplacer","_key","RegExp","String","_context$filename","message","JSON","stringify","_context$filename2","pattern","pathToTest","endHiddenCallStack","ConfigError"],"sources":["../../src/config/config-chain.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-use-before-define */\n\nimport path from \"node:path\";\nimport buildDebug from \"debug\";\nimport type { Handler } from \"gensync\";\nimport { validate } from \"./validation/options.ts\";\nimport type {\n ConfigApplicableTest,\n BabelrcSearch,\n CallerMetadata,\n MatchItem,\n InputOptions,\n ConfigChainOptions,\n} from \"./validation/options.ts\";\nimport pathPatternToRegex from \"./pattern-to-regex.ts\";\nimport { ConfigPrinter, ChainFormatter } from \"./printer.ts\";\nimport type { ReadonlyDeepArray } from \"./helpers/deep-array.ts\";\n\nimport { endHiddenCallStack } from \"../errors/rewrite-stack-trace.ts\";\nimport ConfigError from \"../errors/config-error.ts\";\nimport type { PluginAPI, PresetAPI } from \"./helpers/config-api.ts\";\n\nconst debug = buildDebug(\"babel:config:config-chain\");\n\nimport {\n findPackageData,\n findRelativeConfig,\n findRootConfig,\n loadConfig,\n} from \"./files/index.ts\";\nimport type { ConfigFile, IgnoreFile, FilePackageData } from \"./files/index.ts\";\n\nimport { makeWeakCacheSync, makeStrongCacheSync } from \"./caching.ts\";\n\nimport {\n createCachedDescriptors,\n createUncachedDescriptors,\n} from \"./config-descriptors.ts\";\nimport type {\n UnloadedDescriptor,\n OptionsAndDescriptors,\n ValidatedFile,\n} from \"./config-descriptors.ts\";\n\nexport type ConfigChain = {\n plugins: UnloadedDescriptor[];\n presets: UnloadedDescriptor[];\n options: ConfigChainOptions[];\n files: Set;\n};\n\nexport type PresetInstance = {\n options: InputOptions;\n alias: string;\n dirname: string;\n externalDependencies: ReadonlyDeepArray;\n};\n\nexport type ConfigContext = {\n filename: string | undefined;\n cwd: string;\n root: string;\n envName: string;\n caller: CallerMetadata | undefined;\n showConfig: boolean;\n};\n\n/**\n * Build a config chain for a given preset.\n */\nexport function* buildPresetChain(\n arg: PresetInstance,\n context: any,\n): Handler {\n const chain = yield* buildPresetChainWalker(arg, context);\n if (!chain) return null;\n\n return {\n plugins: dedupDescriptors(chain.plugins),\n presets: dedupDescriptors(chain.presets),\n options: chain.options.map(o => createConfigChainOptions(o)),\n files: new Set(),\n };\n}\n\nexport const buildPresetChainWalker = makeChainWalker({\n root: preset => loadPresetDescriptors(preset),\n env: (preset, envName) => loadPresetEnvDescriptors(preset)(envName),\n overrides: (preset, index) => loadPresetOverridesDescriptors(preset)(index),\n overridesEnv: (preset, index, envName) =>\n loadPresetOverridesEnvDescriptors(preset)(index)(envName),\n createLogger: () => () => {}, // Currently we don't support logging how preset is expanded\n});\nconst loadPresetDescriptors = makeWeakCacheSync((preset: PresetInstance) =>\n buildRootDescriptors(preset, preset.alias, createUncachedDescriptors),\n);\nconst loadPresetEnvDescriptors = makeWeakCacheSync((preset: PresetInstance) =>\n makeStrongCacheSync((envName: string) =>\n buildEnvDescriptors(\n preset,\n preset.alias,\n createUncachedDescriptors,\n envName,\n ),\n ),\n);\nconst loadPresetOverridesDescriptors = makeWeakCacheSync(\n (preset: PresetInstance) =>\n makeStrongCacheSync((index: number) =>\n buildOverrideDescriptors(\n preset,\n preset.alias,\n createUncachedDescriptors,\n index,\n ),\n ),\n);\nconst loadPresetOverridesEnvDescriptors = makeWeakCacheSync(\n (preset: PresetInstance) =>\n makeStrongCacheSync((index: number) =>\n makeStrongCacheSync((envName: string) =>\n buildOverrideEnvDescriptors(\n preset,\n preset.alias,\n createUncachedDescriptors,\n index,\n envName,\n ),\n ),\n ),\n);\n\nexport type FileHandling = \"transpile\" | \"ignored\" | \"unsupported\";\nexport type RootConfigChain = ConfigChain & {\n babelrc: ConfigFile | undefined;\n config: ConfigFile | undefined;\n ignore: IgnoreFile | undefined;\n fileHandling: FileHandling;\n files: Set;\n};\n\n/**\n * Build a config chain for Babel's full root configuration.\n */\nexport function* buildRootChain(\n opts: InputOptions,\n context: ConfigContext,\n): Handler {\n let configReport, babelRcReport;\n const programmaticLogger = new ConfigPrinter();\n const programmaticChain = yield* loadProgrammaticChain(\n {\n options: opts,\n dirname: context.cwd,\n },\n context,\n undefined,\n programmaticLogger,\n );\n if (!programmaticChain) return null;\n const programmaticReport = yield* programmaticLogger.output();\n\n let configFile;\n if (typeof opts.configFile === \"string\") {\n configFile = yield* loadConfig(\n opts.configFile,\n context.cwd,\n context.envName,\n context.caller,\n );\n } else if (opts.configFile !== false) {\n configFile = yield* findRootConfig(\n context.root,\n context.envName,\n context.caller,\n );\n }\n\n let { babelrc, babelrcRoots } = opts;\n let babelrcRootsDirectory = context.cwd;\n\n const configFileChain = emptyChain();\n const configFileLogger = new ConfigPrinter();\n if (configFile) {\n const validatedFile = validateConfigFile(configFile);\n const result = yield* loadFileChain(\n validatedFile,\n context,\n undefined,\n configFileLogger,\n );\n if (!result) return null;\n configReport = yield* configFileLogger.output();\n\n // Allow config files to toggle `.babelrc` resolution on and off and\n // specify where the roots are.\n if (babelrc === undefined) {\n babelrc = validatedFile.options.babelrc;\n }\n if (babelrcRoots === undefined) {\n babelrcRootsDirectory = validatedFile.dirname;\n babelrcRoots = validatedFile.options.babelrcRoots;\n }\n\n mergeChain(configFileChain, result);\n }\n\n let ignoreFile, babelrcFile;\n let isIgnored = false;\n const fileChain = emptyChain();\n // resolve all .babelrc files\n if (\n (babelrc === true || babelrc === undefined) &&\n typeof context.filename === \"string\"\n ) {\n const pkgData = yield* findPackageData(context.filename);\n\n if (\n pkgData &&\n babelrcLoadEnabled(context, pkgData, babelrcRoots, babelrcRootsDirectory)\n ) {\n ({ ignore: ignoreFile, config: babelrcFile } = yield* findRelativeConfig(\n pkgData,\n context.envName,\n context.caller,\n ));\n\n if (ignoreFile) {\n fileChain.files.add(ignoreFile.filepath);\n }\n\n if (\n ignoreFile &&\n shouldIgnore(context, ignoreFile.ignore, null, ignoreFile.dirname)\n ) {\n isIgnored = true;\n }\n\n if (babelrcFile && !isIgnored) {\n const validatedFile = validateBabelrcFile(babelrcFile);\n const babelrcLogger = new ConfigPrinter();\n const result = yield* loadFileChain(\n validatedFile,\n context,\n undefined,\n babelrcLogger,\n );\n if (!result) {\n isIgnored = true;\n } else {\n babelRcReport = yield* babelrcLogger.output();\n mergeChain(fileChain, result);\n }\n }\n\n if (babelrcFile && isIgnored) {\n fileChain.files.add(babelrcFile.filepath);\n }\n }\n }\n\n if (context.showConfig) {\n console.log(\n `Babel configs on \"${context.filename}\" (ascending priority):\\n` +\n // print config by the order of ascending priority\n [configReport, babelRcReport, programmaticReport]\n .filter(x => !!x)\n .join(\"\\n\\n\") +\n \"\\n-----End Babel configs-----\",\n );\n }\n // Insert file chain in front so programmatic options have priority\n // over configuration file chain items.\n const chain = mergeChain(\n mergeChain(mergeChain(emptyChain(), configFileChain), fileChain),\n programmaticChain,\n );\n\n return {\n plugins: isIgnored ? [] : dedupDescriptors(chain.plugins),\n presets: isIgnored ? [] : dedupDescriptors(chain.presets),\n options: isIgnored\n ? []\n : chain.options.map(o => createConfigChainOptions(o)),\n fileHandling: isIgnored ? \"ignored\" : \"transpile\",\n ignore: ignoreFile || undefined,\n babelrc: babelrcFile || undefined,\n config: configFile || undefined,\n files: chain.files,\n };\n}\n\nfunction babelrcLoadEnabled(\n context: ConfigContext,\n pkgData: FilePackageData,\n babelrcRoots: BabelrcSearch | undefined,\n babelrcRootsDirectory: string,\n): boolean {\n if (typeof babelrcRoots === \"boolean\") return babelrcRoots;\n\n const absoluteRoot = context.root;\n\n // Fast path to avoid having to match patterns if the babelrc is just\n // loading in the standard root directory.\n if (babelrcRoots === undefined) {\n return pkgData.directories.includes(absoluteRoot);\n }\n\n let babelrcPatterns = babelrcRoots;\n if (!Array.isArray(babelrcPatterns)) {\n babelrcPatterns = [babelrcPatterns];\n }\n babelrcPatterns = babelrcPatterns.map(pat => {\n return typeof pat === \"string\"\n ? path.resolve(babelrcRootsDirectory, pat)\n : pat;\n });\n\n // Fast path to avoid having to match patterns if the babelrc is just\n // loading in the standard root directory.\n if (babelrcPatterns.length === 1 && babelrcPatterns[0] === absoluteRoot) {\n return pkgData.directories.includes(absoluteRoot);\n }\n\n return babelrcPatterns.some(pat => {\n if (typeof pat === \"string\") {\n pat = pathPatternToRegex(pat, babelrcRootsDirectory);\n }\n\n return pkgData.directories.some(directory => {\n return matchPattern(pat, babelrcRootsDirectory, directory, context);\n });\n });\n}\n\nconst validateConfigFile = makeWeakCacheSync(\n (file: ConfigFile): ValidatedFile => ({\n filepath: file.filepath,\n dirname: file.dirname,\n options: validate(\"configfile\", file.options, file.filepath),\n }),\n);\n\nconst validateBabelrcFile = makeWeakCacheSync(\n (file: ConfigFile): ValidatedFile => ({\n filepath: file.filepath,\n dirname: file.dirname,\n options: validate(\"babelrcfile\", file.options, file.filepath),\n }),\n);\n\nconst validateExtendFile = makeWeakCacheSync(\n (file: ConfigFile): ValidatedFile => ({\n filepath: file.filepath,\n dirname: file.dirname,\n options: validate(\"extendsfile\", file.options, file.filepath),\n }),\n);\n\n/**\n * Build a config chain for just the programmatic options passed into Babel.\n */\nconst loadProgrammaticChain = makeChainWalker({\n root: input => buildRootDescriptors(input, \"base\", createCachedDescriptors),\n env: (input, envName) =>\n buildEnvDescriptors(input, \"base\", createCachedDescriptors, envName),\n overrides: (input, index) =>\n buildOverrideDescriptors(input, \"base\", createCachedDescriptors, index),\n overridesEnv: (input, index, envName) =>\n buildOverrideEnvDescriptors(\n input,\n \"base\",\n createCachedDescriptors,\n index,\n envName,\n ),\n createLogger: (input, context, baseLogger) =>\n buildProgrammaticLogger(input, context, baseLogger),\n});\n\n/**\n * Build a config chain for a given file.\n */\nconst loadFileChainWalker = makeChainWalker({\n root: file => loadFileDescriptors(file),\n env: (file, envName) => loadFileEnvDescriptors(file)(envName),\n overrides: (file, index) => loadFileOverridesDescriptors(file)(index),\n overridesEnv: (file, index, envName) =>\n loadFileOverridesEnvDescriptors(file)(index)(envName),\n createLogger: (file, context, baseLogger) =>\n buildFileLogger(file.filepath, context, baseLogger),\n});\n\nfunction* loadFileChain(\n input: ValidatedFile,\n context: ConfigContext,\n files: Set,\n baseLogger: ConfigPrinter,\n) {\n const chain = yield* loadFileChainWalker(input, context, files, baseLogger);\n chain?.files.add(input.filepath);\n\n return chain;\n}\n\nconst loadFileDescriptors = makeWeakCacheSync((file: ValidatedFile) =>\n buildRootDescriptors(file, file.filepath, createUncachedDescriptors),\n);\nconst loadFileEnvDescriptors = makeWeakCacheSync((file: ValidatedFile) =>\n makeStrongCacheSync((envName: string) =>\n buildEnvDescriptors(\n file,\n file.filepath,\n createUncachedDescriptors,\n envName,\n ),\n ),\n);\nconst loadFileOverridesDescriptors = makeWeakCacheSync((file: ValidatedFile) =>\n makeStrongCacheSync((index: number) =>\n buildOverrideDescriptors(\n file,\n file.filepath,\n createUncachedDescriptors,\n index,\n ),\n ),\n);\nconst loadFileOverridesEnvDescriptors = makeWeakCacheSync(\n (file: ValidatedFile) =>\n makeStrongCacheSync((index: number) =>\n makeStrongCacheSync((envName: string) =>\n buildOverrideEnvDescriptors(\n file,\n file.filepath,\n createUncachedDescriptors,\n index,\n envName,\n ),\n ),\n ),\n);\n\nfunction buildFileLogger(\n filepath: string,\n context: ConfigContext,\n baseLogger: ConfigPrinter | void,\n) {\n if (!baseLogger) {\n return () => {};\n }\n return baseLogger.configure(context.showConfig, ChainFormatter.Config, {\n filepath,\n });\n}\n\nfunction buildRootDescriptors(\n { dirname, options }: Partial,\n alias: string,\n descriptors: (\n dirname: string,\n options: InputOptions,\n alias: string,\n ) => OptionsAndDescriptors,\n) {\n return descriptors(dirname, options, alias);\n}\n\nfunction buildProgrammaticLogger(\n _: unknown,\n context: ConfigContext,\n baseLogger: ConfigPrinter | void,\n) {\n if (!baseLogger) {\n return () => {};\n }\n return baseLogger.configure(context.showConfig, ChainFormatter.Programmatic, {\n callerName: context.caller?.name,\n });\n}\n\nfunction buildEnvDescriptors(\n { dirname, options }: Partial,\n alias: string,\n descriptors: (\n dirname: string,\n options: InputOptions,\n alias: string,\n ) => OptionsAndDescriptors,\n envName: string,\n) {\n const opts = options.env?.[envName];\n return opts ? descriptors(dirname, opts, `${alias}.env[\"${envName}\"]`) : null;\n}\n\nfunction buildOverrideDescriptors(\n { dirname, options }: Partial,\n alias: string,\n descriptors: (\n dirname: string,\n options: InputOptions,\n alias: string,\n ) => OptionsAndDescriptors,\n index: number,\n) {\n const opts = options.overrides?.[index];\n if (!opts) throw new Error(\"Assertion failure - missing override\");\n\n return descriptors(dirname, opts, `${alias}.overrides[${index}]`);\n}\n\nfunction buildOverrideEnvDescriptors(\n { dirname, options }: Partial,\n alias: string,\n descriptors: (\n dirname: string,\n options: InputOptions,\n alias: string,\n ) => OptionsAndDescriptors,\n index: number,\n envName: string,\n) {\n const override = options.overrides?.[index];\n if (!override) throw new Error(\"Assertion failure - missing override\");\n\n const opts = override.env?.[envName];\n return opts\n ? descriptors(\n dirname,\n opts,\n `${alias}.overrides[${index}].env[\"${envName}\"]`,\n )\n : null;\n}\n\nfunction makeChainWalker<\n ArgT extends {\n options: InputOptions;\n dirname: string;\n filepath?: string;\n },\n>({\n root,\n env,\n overrides,\n overridesEnv,\n createLogger,\n}: {\n root: (configEntry: ArgT) => OptionsAndDescriptors;\n env: (configEntry: ArgT, env: string) => OptionsAndDescriptors | null;\n overrides: (configEntry: ArgT, index: number) => OptionsAndDescriptors;\n overridesEnv: (\n configEntry: ArgT,\n index: number,\n env: string,\n ) => OptionsAndDescriptors | null;\n createLogger: (\n configEntry: ArgT,\n context: ConfigContext,\n printer: ConfigPrinter | void,\n ) => (\n opts: OptionsAndDescriptors,\n index?: number | null,\n env?: string | null,\n ) => void;\n}): (\n configEntry: ArgT,\n context: ConfigContext,\n files?: Set,\n baseLogger?: ConfigPrinter,\n) => Handler {\n return function* chainWalker(input, context, files = new Set(), baseLogger) {\n const { dirname } = input;\n\n const flattenedConfigs: {\n config: OptionsAndDescriptors;\n index: number | undefined | null;\n envName: string | undefined | null;\n }[] = [];\n\n const rootOpts = root(input);\n if (configIsApplicable(rootOpts, dirname, context, input.filepath)) {\n flattenedConfigs.push({\n config: rootOpts,\n envName: undefined,\n index: undefined,\n });\n\n const envOpts = env(input, context.envName);\n if (\n envOpts &&\n configIsApplicable(envOpts, dirname, context, input.filepath)\n ) {\n flattenedConfigs.push({\n config: envOpts,\n envName: context.envName,\n index: undefined,\n });\n }\n\n (rootOpts.options.overrides || []).forEach((_, index) => {\n const overrideOps = overrides(input, index);\n if (configIsApplicable(overrideOps, dirname, context, input.filepath)) {\n flattenedConfigs.push({\n config: overrideOps,\n index,\n envName: undefined,\n });\n\n const overrideEnvOpts = overridesEnv(input, index, context.envName);\n if (\n overrideEnvOpts &&\n configIsApplicable(\n overrideEnvOpts,\n dirname,\n context,\n input.filepath,\n )\n ) {\n flattenedConfigs.push({\n config: overrideEnvOpts,\n index,\n envName: context.envName,\n });\n }\n }\n });\n }\n\n // Process 'ignore' and 'only' before 'extends' items are processed so\n // that we don't do extra work loading extended configs if a file is\n // ignored.\n if (\n flattenedConfigs.some(\n ({\n config: {\n options: { ignore, only },\n },\n }) => shouldIgnore(context, ignore, only, dirname),\n )\n ) {\n return null;\n }\n\n const chain = emptyChain();\n const logger = createLogger(input, context, baseLogger);\n\n for (const { config, index, envName } of flattenedConfigs) {\n if (\n !(yield* mergeExtendsChain(\n chain,\n config.options,\n dirname,\n context,\n files,\n baseLogger,\n ))\n ) {\n return null;\n }\n\n logger(config, index, envName);\n yield* mergeChainOpts(chain, config);\n }\n return chain;\n };\n}\n\nfunction* mergeExtendsChain(\n chain: ConfigChain,\n opts: InputOptions,\n dirname: string,\n context: ConfigContext,\n files: Set,\n baseLogger?: ConfigPrinter,\n): Handler {\n if (opts.extends === undefined) return true;\n\n const file = yield* loadConfig(\n opts.extends,\n dirname,\n context.envName,\n context.caller,\n );\n\n if (files.has(file)) {\n throw new Error(\n `Configuration cycle detected loading ${file.filepath}.\\n` +\n `File already loaded following the config chain:\\n` +\n Array.from(files, file => ` - ${file.filepath}`).join(\"\\n\"),\n );\n }\n\n files.add(file);\n const fileChain = yield* loadFileChain(\n validateExtendFile(file),\n context,\n files,\n baseLogger,\n );\n files.delete(file);\n\n if (!fileChain) return false;\n\n mergeChain(chain, fileChain);\n\n return true;\n}\n\nfunction mergeChain(target: ConfigChain, source: ConfigChain): ConfigChain {\n target.options.push(...source.options);\n target.plugins.push(...source.plugins);\n target.presets.push(...source.presets);\n for (const file of source.files) {\n target.files.add(file);\n }\n\n return target;\n}\n\nfunction* mergeChainOpts(\n target: ConfigChain,\n { options, plugins, presets }: OptionsAndDescriptors,\n): Handler {\n target.options.push(options);\n target.plugins.push(...(yield* plugins()));\n target.presets.push(...(yield* presets()));\n\n return target;\n}\n\nfunction emptyChain(): ConfigChain {\n return {\n options: [],\n presets: [],\n plugins: [],\n files: new Set(),\n };\n}\n\nfunction createConfigChainOptions(opts: InputOptions): ConfigChainOptions {\n const options = {\n ...opts,\n };\n delete options.extends;\n delete options.env;\n delete options.overrides;\n delete options.plugins;\n delete options.presets;\n delete options.passPerPreset;\n delete options.ignore;\n delete options.only;\n delete options.test;\n delete options.include;\n delete options.exclude;\n\n // \"sourceMap\" is just aliased to sourceMap, so copy it over as\n // we merge the options together.\n if (Object.hasOwn(options, \"sourceMap\")) {\n options.sourceMaps = options.sourceMap;\n delete options.sourceMap;\n }\n return options;\n}\n\nfunction dedupDescriptors(\n items: UnloadedDescriptor[],\n): UnloadedDescriptor[] {\n const map = new Map<\n Function,\n Map }>\n >();\n\n const descriptors = [];\n\n for (const item of items) {\n if (typeof item.value === \"function\") {\n const fnKey = item.value;\n let nameMap = map.get(fnKey);\n if (!nameMap) {\n nameMap = new Map();\n map.set(fnKey, nameMap);\n }\n let desc = nameMap.get(item.name);\n if (!desc) {\n desc = { value: item };\n descriptors.push(desc);\n\n // Treat passPerPreset presets as unique, skipping them\n // in the merge processing steps.\n if (!item.ownPass) nameMap.set(item.name, desc);\n } else {\n desc.value = item;\n }\n } else {\n descriptors.push({ value: item });\n }\n }\n\n return descriptors.reduce((acc, desc) => {\n acc.push(desc.value);\n return acc;\n }, []);\n}\n\nfunction configIsApplicable(\n { options }: OptionsAndDescriptors,\n dirname: string,\n context: ConfigContext,\n configName: string,\n): boolean {\n return (\n (options.test === undefined ||\n configFieldIsApplicable(context, options.test, dirname, configName)) &&\n (options.include === undefined ||\n configFieldIsApplicable(context, options.include, dirname, configName)) &&\n (options.exclude === undefined ||\n !configFieldIsApplicable(context, options.exclude, dirname, configName))\n );\n}\n\nfunction configFieldIsApplicable(\n context: ConfigContext,\n test: ConfigApplicableTest,\n dirname: string,\n configName: string,\n): boolean {\n const patterns = Array.isArray(test) ? test : [test];\n\n return matchesPatterns(context, patterns, dirname, configName);\n}\n\n/**\n * Print the ignoreList-values in a more helpful way than the default.\n */\nfunction ignoreListReplacer(\n _key: string,\n value: MatchItem[] | MatchItem,\n): MatchItem[] | MatchItem | string {\n if (value instanceof RegExp) {\n return String(value);\n }\n\n return value;\n}\n\n/**\n * Tests if a filename should be ignored based on \"ignore\" and \"only\" options.\n */\nfunction shouldIgnore(\n context: ConfigContext,\n ignore: MatchItem[] | undefined | null,\n only: MatchItem[] | undefined | null,\n dirname: string,\n): boolean {\n if (ignore && matchesPatterns(context, ignore, dirname)) {\n const message = `No config is applied to \"${\n context.filename ?? \"(unknown)\"\n }\" because it matches one of \\`ignore: ${JSON.stringify(\n ignore,\n ignoreListReplacer,\n )}\\` from \"${dirname}\"`;\n debug(message);\n if (context.showConfig) {\n console.log(message);\n }\n return true;\n }\n\n if (only && !matchesPatterns(context, only, dirname)) {\n const message = `No config is applied to \"${\n context.filename ?? \"(unknown)\"\n }\" because it fails to match one of \\`only: ${JSON.stringify(\n only,\n ignoreListReplacer,\n )}\\` from \"${dirname}\"`;\n debug(message);\n if (context.showConfig) {\n console.log(message);\n }\n return true;\n }\n\n return false;\n}\n\n/**\n * Returns result of calling function with filename if pattern is a function.\n * Otherwise returns result of matching pattern Regex with filename.\n */\nfunction matchesPatterns(\n context: ConfigContext,\n patterns: MatchItem[],\n dirname: string,\n configName?: string,\n): boolean {\n return patterns.some(pattern =>\n matchPattern(pattern, dirname, context.filename, context, configName),\n );\n}\n\nfunction matchPattern(\n pattern: MatchItem,\n dirname: string,\n pathToTest: string | undefined,\n context: ConfigContext,\n configName?: string,\n): boolean {\n if (typeof pattern === \"function\") {\n return !!endHiddenCallStack(pattern)(pathToTest, {\n dirname,\n envName: context.envName,\n caller: context.caller,\n });\n }\n\n if (typeof pathToTest !== \"string\") {\n throw new ConfigError(\n `Configuration contains string/RegExp pattern, but no filename was passed to Babel`,\n configName,\n );\n }\n\n if (typeof pattern === \"string\") {\n pattern = pathPatternToRegex(pattern, dirname);\n }\n return pattern.test(pathToTest);\n}\n"],"mappings":";;;;;;;;AAEA,SAAAA,MAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,KAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,OAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,MAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAG,QAAA,GAAAF,OAAA;AASA,IAAAG,eAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AAGA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AAKA,IAAAO,MAAA,GAAAP,OAAA;AAQA,IAAAQ,QAAA,GAAAR,OAAA;AAEA,IAAAS,kBAAA,GAAAT,OAAA;AAZA,MAAMU,KAAK,GAAGC,OAASA,CAAC,CAAC,2BAA2B,CAAC;AAgD9C,UAAUC,gBAAgBA,CAC/BC,GAAmB,EACnBC,OAAY,EACiB;EAC7B,MAAMC,KAAK,GAAG,OAAOC,sBAAsB,CAACH,GAAG,EAAEC,OAAO,CAAC;EACzD,IAAI,CAACC,KAAK,EAAE,OAAO,IAAI;EAEvB,OAAO;IACLE,OAAO,EAAEC,gBAAgB,CAACH,KAAK,CAACE,OAAO,CAAC;IACxCE,OAAO,EAAED,gBAAgB,CAACH,KAAK,CAACI,OAAO,CAAC;IACxCC,OAAO,EAAEL,KAAK,CAACK,OAAO,CAACC,GAAG,CAACC,CAAC,IAAIC,wBAAwB,CAACD,CAA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ACjC;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/config-descriptors.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/config-descriptors.js deleted file mode 100644 index 21fb4146..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/config-descriptors.js +++ /dev/null @@ -1,190 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.createCachedDescriptors = createCachedDescriptors; -exports.createDescriptor = createDescriptor; -exports.createUncachedDescriptors = createUncachedDescriptors; -function _gensync() { - const data = require("gensync"); - _gensync = function () { - return data; - }; - return data; -} -var _functional = require("../gensync-utils/functional.js"); -var _index = require("./files/index.js"); -var _item = require("./item.js"); -var _caching = require("./caching.js"); -var _resolveTargets = require("./resolve-targets.js"); -function isEqualDescriptor(a, b) { - var _a$file, _b$file, _a$file2, _b$file2; - return a.name === b.name && a.value === b.value && a.options === b.options && a.dirname === b.dirname && a.alias === b.alias && a.ownPass === b.ownPass && ((_a$file = a.file) == null ? void 0 : _a$file.request) === ((_b$file = b.file) == null ? void 0 : _b$file.request) && ((_a$file2 = a.file) == null ? void 0 : _a$file2.resolved) === ((_b$file2 = b.file) == null ? void 0 : _b$file2.resolved); -} -function* handlerOf(value) { - return value; -} -function optionsWithResolvedBrowserslistConfigFile(options, dirname) { - if (typeof options.browserslistConfigFile === "string") { - options.browserslistConfigFile = (0, _resolveTargets.resolveBrowserslistConfigFile)(options.browserslistConfigFile, dirname); - } - return options; -} -function createCachedDescriptors(dirname, options, alias) { - const { - plugins, - presets, - passPerPreset - } = options; - return { - options: optionsWithResolvedBrowserslistConfigFile(options, dirname), - plugins: plugins ? () => createCachedPluginDescriptors(plugins, dirname)(alias) : () => handlerOf([]), - presets: presets ? () => createCachedPresetDescriptors(presets, dirname)(alias)(!!passPerPreset) : () => handlerOf([]) - }; -} -function createUncachedDescriptors(dirname, options, alias) { - return { - options: optionsWithResolvedBrowserslistConfigFile(options, dirname), - plugins: (0, _functional.once)(() => createPluginDescriptors(options.plugins || [], dirname, alias)), - presets: (0, _functional.once)(() => createPresetDescriptors(options.presets || [], dirname, alias, !!options.passPerPreset)) - }; -} -const PRESET_DESCRIPTOR_CACHE = new WeakMap(); -const createCachedPresetDescriptors = (0, _caching.makeWeakCacheSync)((items, cache) => { - const dirname = cache.using(dir => dir); - return (0, _caching.makeStrongCacheSync)(alias => (0, _caching.makeStrongCache)(function* (passPerPreset) { - const descriptors = yield* createPresetDescriptors(items, dirname, alias, passPerPreset); - return descriptors.map(desc => loadCachedDescriptor(PRESET_DESCRIPTOR_CACHE, desc)); - })); -}); -const PLUGIN_DESCRIPTOR_CACHE = new WeakMap(); -const createCachedPluginDescriptors = (0, _caching.makeWeakCacheSync)((items, cache) => { - const dirname = cache.using(dir => dir); - return (0, _caching.makeStrongCache)(function* (alias) { - const descriptors = yield* createPluginDescriptors(items, dirname, alias); - return descriptors.map(desc => loadCachedDescriptor(PLUGIN_DESCRIPTOR_CACHE, desc)); - }); -}); -const DEFAULT_OPTIONS = {}; -function loadCachedDescriptor(cache, desc) { - const { - value, - options = DEFAULT_OPTIONS - } = desc; - if (options === false) return desc; - let cacheByOptions = cache.get(value); - if (!cacheByOptions) { - cacheByOptions = new WeakMap(); - cache.set(value, cacheByOptions); - } - let possibilities = cacheByOptions.get(options); - if (!possibilities) { - possibilities = []; - cacheByOptions.set(options, possibilities); - } - if (!possibilities.includes(desc)) { - const matches = possibilities.filter(possibility => isEqualDescriptor(possibility, desc)); - if (matches.length > 0) { - return matches[0]; - } - possibilities.push(desc); - } - return desc; -} -function* createPresetDescriptors(items, dirname, alias, passPerPreset) { - return yield* createDescriptors("preset", items, dirname, alias, passPerPreset); -} -function* createPluginDescriptors(items, dirname, alias) { - return yield* createDescriptors("plugin", items, dirname, alias); -} -function* createDescriptors(type, items, dirname, alias, ownPass) { - const descriptors = yield* _gensync().all(items.map((item, index) => createDescriptor(item, dirname, { - type, - alias: `${alias}$${index}`, - ownPass: !!ownPass - }))); - assertNoDuplicates(descriptors); - return descriptors; -} -function* createDescriptor(pair, dirname, { - type, - alias, - ownPass -}) { - const desc = (0, _item.getItemDescriptor)(pair); - if (desc) { - return desc; - } - let name; - let options; - let value = pair; - if (Array.isArray(value)) { - if (value.length === 3) { - [value, options, name] = value; - } else { - [value, options] = value; - } - } - let file = undefined; - let filepath = null; - if (typeof value === "string") { - if (typeof type !== "string") { - throw new Error("To resolve a string-based item, the type of item must be given"); - } - const resolver = type === "plugin" ? _index.loadPlugin : _index.loadPreset; - const request = value; - ({ - filepath, - value - } = yield* resolver(value, dirname)); - file = { - request, - resolved: filepath - }; - } - if (!value) { - throw new Error(`Unexpected falsy value: ${String(value)}`); - } - if (typeof value === "object" && value.__esModule) { - if (value.default) { - value = value.default; - } else { - throw new Error("Must export a default export when using ES6 modules."); - } - } - if (typeof value !== "object" && typeof value !== "function") { - throw new Error(`Unsupported format: ${typeof value}. Expected an object or a function.`); - } - if (filepath !== null && typeof value === "object" && value) { - throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${filepath}`); - } - return { - name, - alias: filepath || alias, - value, - options, - dirname, - ownPass, - file - }; -} -function assertNoDuplicates(items) { - const map = new Map(); - for (const item of items) { - if (typeof item.value !== "function") continue; - let nameMap = map.get(item.value); - if (!nameMap) { - nameMap = new Set(); - map.set(item.value, nameMap); - } - if (nameMap.has(item.name)) { - const conflicts = items.filter(i => i.value === item.value); - throw new Error([`Duplicate plugin/preset detected.`, `If you'd like to use two separate instances of a plugin,`, `they need separate names, e.g.`, ``, ` plugins: [`, ` ['some-plugin', {}],`, ` ['some-plugin', {}, 'some unique name'],`, ` ]`, ``, `Duplicates detected are:`, `${JSON.stringify(conflicts, null, 2)}`].join("\n")); - } - nameMap.add(item.name); - } -} -0 && 0; - -//# sourceMappingURL=config-descriptors.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/config-descriptors.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/config-descriptors.js.map deleted file mode 100644 index b51b2cbd..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/config-descriptors.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_gensync","data","require","_functional","_index","_item","_caching","_resolveTargets","isEqualDescriptor","a","b","_a$file","_b$file","_a$file2","_b$file2","name","value","options","dirname","alias","ownPass","file","request","resolved","handlerOf","optionsWithResolvedBrowserslistConfigFile","browserslistConfigFile","resolveBrowserslistConfigFile","createCachedDescriptors","plugins","presets","passPerPreset","createCachedPluginDescriptors","createCachedPresetDescriptors","createUncachedDescriptors","once","createPluginDescriptors","createPresetDescriptors","PRESET_DESCRIPTOR_CACHE","WeakMap","makeWeakCacheSync","items","cache","using","dir","makeStrongCacheSync","makeStrongCache","descriptors","map","desc","loadCachedDescriptor","PLUGIN_DESCRIPTOR_CACHE","DEFAULT_OPTIONS","cacheByOptions","get","set","possibilities","includes","matches","filter","possibility","length","push","createDescriptors","type","gensync","all","item","index","createDescriptor","assertNoDuplicates","pair","getItemDescriptor","Array","isArray","undefined","filepath","Error","resolver","loadPlugin","loadPreset","String","__esModule","default","Map","nameMap","Set","has","conflicts","i","JSON","stringify","join","add"],"sources":["../../src/config/config-descriptors.ts"],"sourcesContent":["import gensync, { type Handler } from \"gensync\";\nimport { once } from \"../gensync-utils/functional.ts\";\n\nimport { loadPlugin, loadPreset } from \"./files/index.ts\";\n\nimport { getItemDescriptor } from \"./item.ts\";\n\nimport {\n makeWeakCacheSync,\n makeStrongCacheSync,\n makeStrongCache,\n} from \"./caching.ts\";\nimport type { CacheConfigurator } from \"./caching.ts\";\n\nimport type {\n PluginItem,\n InputOptions,\n PresetItem,\n} from \"./validation/options.ts\";\n\nimport { resolveBrowserslistConfigFile } from \"./resolve-targets.ts\";\nimport type { PluginAPI, PresetAPI } from \"./helpers/config-api.ts\";\n\n// Represents a config object and functions to lazily load the descriptors\n// for the plugins and presets so we don't load the plugins/presets unless\n// the options object actually ends up being applicable.\nexport type OptionsAndDescriptors = {\n options: InputOptions;\n plugins: () => Handler[]>;\n presets: () => Handler[]>;\n};\n\n// Represents a plugin or presets at a given location in a config object.\n// At this point these have been resolved to a specific object or function,\n// but have not yet been executed to call functions with options.\nexport interface UnloadedDescriptor {\n name: string | undefined;\n value: object | ((api: API, options: Options, dirname: string) => unknown);\n options: Options;\n dirname: string;\n alias: string;\n ownPass?: boolean;\n file?: {\n request: string;\n resolved: string;\n };\n}\n\nfunction isEqualDescriptor(\n a: UnloadedDescriptor,\n b: UnloadedDescriptor,\n): boolean {\n return (\n a.name === b.name &&\n a.value === b.value &&\n a.options === b.options &&\n a.dirname === b.dirname &&\n a.alias === b.alias &&\n a.ownPass === b.ownPass &&\n a.file?.request === b.file?.request &&\n a.file?.resolved === b.file?.resolved\n );\n}\n\nexport type ValidatedFile = {\n filepath: string;\n dirname: string;\n options: InputOptions;\n};\n\n// eslint-disable-next-line require-yield\nfunction* handlerOf(value: T): Handler {\n return value;\n}\n\nfunction optionsWithResolvedBrowserslistConfigFile(\n options: InputOptions,\n dirname: string,\n): InputOptions {\n if (typeof options.browserslistConfigFile === \"string\") {\n options.browserslistConfigFile = resolveBrowserslistConfigFile(\n options.browserslistConfigFile,\n dirname,\n );\n }\n return options;\n}\n\n/**\n * Create a set of descriptors from a given options object, preserving\n * descriptor identity based on the identity of the plugin/preset arrays\n * themselves, and potentially on the identity of the plugins/presets + options.\n */\nexport function createCachedDescriptors(\n dirname: string,\n options: InputOptions,\n alias: string,\n): OptionsAndDescriptors {\n const { plugins, presets, passPerPreset } = options;\n return {\n options: optionsWithResolvedBrowserslistConfigFile(options, dirname),\n plugins: plugins\n ? () =>\n // @ts-expect-error todo(flow->ts) ts complains about incorrect arguments\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n createCachedPluginDescriptors(plugins, dirname)(alias)\n : () => handlerOf([]),\n presets: presets\n ? () =>\n // @ts-expect-error todo(flow->ts) ts complains about incorrect arguments\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n createCachedPresetDescriptors(presets, dirname)(alias)(\n !!passPerPreset,\n )\n : () => handlerOf([]),\n };\n}\n\n/**\n * Create a set of descriptors from a given options object, with consistent\n * identity for the descriptors, but not caching based on any specific identity.\n */\nexport function createUncachedDescriptors(\n dirname: string,\n options: InputOptions,\n alias: string,\n): OptionsAndDescriptors {\n return {\n options: optionsWithResolvedBrowserslistConfigFile(options, dirname),\n // The returned result here is cached to represent a config object in\n // memory, so we build and memoize the descriptors to ensure the same\n // values are returned consistently.\n plugins: once(() =>\n createPluginDescriptors(options.plugins || [], dirname, alias),\n ),\n presets: once(() =>\n createPresetDescriptors(\n options.presets || [],\n dirname,\n alias,\n !!options.passPerPreset,\n ),\n ),\n };\n}\n\nconst PRESET_DESCRIPTOR_CACHE = new WeakMap();\nconst createCachedPresetDescriptors = makeWeakCacheSync(\n (items: PresetItem[], cache: CacheConfigurator) => {\n const dirname = cache.using(dir => dir);\n return makeStrongCacheSync((alias: string) =>\n makeStrongCache(function* (\n passPerPreset: boolean,\n ): Handler[]> {\n const descriptors = yield* createPresetDescriptors(\n items,\n dirname,\n alias,\n passPerPreset,\n );\n return descriptors.map(\n // Items are cached using the overall preset array identity when\n // possibly, but individual descriptors are also cached if a match\n // can be found in the previously-used descriptor lists.\n desc => loadCachedDescriptor(PRESET_DESCRIPTOR_CACHE, desc),\n );\n }),\n );\n },\n);\n\nconst PLUGIN_DESCRIPTOR_CACHE = new WeakMap();\nconst createCachedPluginDescriptors = makeWeakCacheSync(\n (items: PluginItem[], cache: CacheConfigurator) => {\n const dirname = cache.using(dir => dir);\n return makeStrongCache(function* (\n alias: string,\n ): Handler[]> {\n const descriptors = yield* createPluginDescriptors(items, dirname, alias);\n return descriptors.map(\n // Items are cached using the overall plugin array identity when\n // possibly, but individual descriptors are also cached if a match\n // can be found in the previously-used descriptor lists.\n desc => loadCachedDescriptor(PLUGIN_DESCRIPTOR_CACHE, desc),\n );\n });\n },\n);\n\n/**\n * When no options object is given in a descriptor, this object is used\n * as a WeakMap key in order to have consistent identity.\n */\nconst DEFAULT_OPTIONS = {};\n\n/**\n * Given the cache and a descriptor, returns a matching descriptor from the\n * cache, or else returns the input descriptor and adds it to the cache for\n * next time.\n */\nfunction loadCachedDescriptor(\n cache: WeakMap[]>>,\n desc: UnloadedDescriptor,\n) {\n const { value, options = DEFAULT_OPTIONS } = desc;\n if (options === false) return desc;\n\n let cacheByOptions = cache.get(value);\n if (!cacheByOptions) {\n cacheByOptions = new WeakMap();\n cache.set(value, cacheByOptions);\n }\n\n let possibilities = cacheByOptions.get(options);\n if (!possibilities) {\n possibilities = [];\n cacheByOptions.set(options, possibilities);\n }\n\n if (!possibilities.includes(desc)) {\n const matches = possibilities.filter(possibility =>\n isEqualDescriptor(possibility, desc),\n );\n if (matches.length > 0) {\n return matches[0];\n }\n\n possibilities.push(desc);\n }\n\n return desc;\n}\n\nfunction* createPresetDescriptors(\n items: PresetItem[],\n dirname: string,\n alias: string,\n passPerPreset: boolean,\n): Handler[]> {\n return yield* createDescriptors(\n \"preset\",\n items,\n dirname,\n alias,\n passPerPreset,\n );\n}\n\nfunction* createPluginDescriptors(\n items: PluginItem[],\n dirname: string,\n alias: string,\n): Handler[]> {\n return yield* createDescriptors(\"plugin\", items, dirname, alias);\n}\n\nfunction* createDescriptors(\n type: Type,\n items: Type extends \"plugin\" ? PluginItem[] : PresetItem[],\n dirname: string,\n alias: string,\n ownPass?: boolean,\n): Handler<\n UnloadedDescriptor[]\n> {\n const descriptors = yield* gensync.all(\n items.map((item, index) =>\n createDescriptor(item, dirname, {\n type,\n alias: `${alias}$${index}`,\n ownPass: !!ownPass,\n }),\n ),\n );\n\n assertNoDuplicates(descriptors);\n\n return descriptors;\n}\n\n/**\n * Given a plugin/preset item, resolve it into a standard format.\n */\nexport function* createDescriptor(\n pair: PluginItem | PresetItem,\n dirname: string,\n {\n type,\n alias,\n ownPass,\n }: {\n type?: \"plugin\" | \"preset\";\n alias: string;\n ownPass?: boolean;\n },\n): Handler> {\n const desc = getItemDescriptor(pair);\n if (desc) {\n return desc;\n }\n\n let name;\n let options;\n let value = pair;\n if (Array.isArray(value)) {\n if (value.length === 3) {\n [value, options, name] = value;\n } else {\n [value, options] = value;\n }\n }\n\n let file = undefined;\n let filepath = null;\n if (typeof value === \"string\") {\n if (typeof type !== \"string\") {\n throw new Error(\n \"To resolve a string-based item, the type of item must be given\",\n );\n }\n const resolver = type === \"plugin\" ? loadPlugin : loadPreset;\n const request = value;\n\n // @ts-expect-error value must be a PluginItem\n ({ filepath, value } = yield* resolver(value, dirname));\n\n file = {\n request,\n resolved: filepath,\n };\n }\n\n if (!value) {\n // eslint-disable-next-line @typescript-eslint/no-base-to-string\n throw new Error(`Unexpected falsy value: ${String(value)}`);\n }\n\n // @ts-expect-error Handle transpiled ES6 modules.\n if (typeof value === \"object\" && value.__esModule) {\n // @ts-expect-error Handle transpiled ES6 modules.\n if (value.default) {\n // @ts-expect-error Handle transpiled ES6 modules.\n value = value.default;\n } else {\n throw new Error(\"Must export a default export when using ES6 modules.\");\n }\n }\n\n if (typeof value !== \"object\" && typeof value !== \"function\") {\n throw new Error(\n `Unsupported format: ${typeof value}. Expected an object or a function.`,\n );\n }\n\n if (filepath !== null && typeof value === \"object\" && value) {\n // We allow object values for plugins/presets nested directly within a\n // config object, because it can be useful to define them in nested\n // configuration contexts.\n throw new Error(\n `Plugin/Preset files are not allowed to export objects, only functions. In ${filepath}`,\n );\n }\n\n return {\n name,\n alias: filepath || alias,\n value,\n options,\n dirname,\n ownPass,\n file,\n };\n}\n\nfunction assertNoDuplicates(items: UnloadedDescriptor[]): void {\n const map = new Map();\n\n for (const item of items) {\n if (typeof item.value !== \"function\") continue;\n\n let nameMap = map.get(item.value);\n if (!nameMap) {\n nameMap = new Set();\n map.set(item.value, nameMap);\n }\n\n if (nameMap.has(item.name)) {\n const conflicts = items.filter(i => i.value === item.value);\n throw new Error(\n [\n `Duplicate plugin/preset detected.`,\n `If you'd like to use two separate instances of a plugin,`,\n `they need separate names, e.g.`,\n ``,\n ` plugins: [`,\n ` ['some-plugin', {}],`,\n ` ['some-plugin', {}, 'some unique name'],`,\n ` ]`,\n ``,\n `Duplicates detected are:`,\n `${JSON.stringify(conflicts, null, 2)}`,\n ].join(\"\\n\"),\n );\n }\n\n nameMap.add(item.name);\n }\n}\n"],"mappings":";;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,IAAAE,WAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AAEA,IAAAG,KAAA,GAAAH,OAAA;AAEA,IAAAI,QAAA,GAAAJ,OAAA;AAaA,IAAAK,eAAA,GAAAL,OAAA;AA4BA,SAASM,iBAAiBA,CACxBC,CAA0B,EAC1BC,CAA0B,EACjB;EAAA,IAAAC,OAAA,EAAAC,OAAA,EAAAC,QAAA,EAAAC,QAAA;EACT,OACEL,CAAC,CAACM,IAAI,KAAKL,CAAC,CAACK,IAAI,IACjBN,CAAC,CAACO,KAAK,KAAKN,CAAC,CAACM,KAAK,IACnBP,CAAC,CAACQ,OAAO,KAAKP,CAAC,CAACO,OAAO,IACvBR,CAAC,CAACS,OAAO,KAAKR,CAAC,CAACQ,OAAO,IACvBT,CAAC,CAACU,KAAK,KAAKT,CAAC,CAACS,KAAK,IACnBV,CAAC,CAACW,OAAO,KAAKV,CAAC,CAACU,OAAO,IACvB,EAAAT,OAAA,GAAAF,CAAC,CAACY,IAAI,qBAANV,OAAA,CAAQW,OAAO,QAAAV,OAAA,GAAKF,CAAC,CAACW,IAAI,qBAANT,OAAA,CAAQU,OAAO,KACnC,EAAAT,QAAA,GAAAJ,CAAC,CAACY,IAAI,qBAANR,QAAA,CAAQU,QAAQ,QAAAT,QAAA,GAAKJ,CAAC,CAACW,IAAI,qBAANP,QAAA,CAAQS,QAAQ;AAEzC;AASA,UAAUC,SAASA,CAA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CAAC;IACjC,IAAI,CAACqE,OAAO,EAAE;MACZA,OAAO,GAAG,IAAIC,GAAG,CAAC,CAAC;MACnBtC,GAAG,CAACO,GAAG,CAACY,IAAI,CAACnD,KAAK,EAAEqE,OAAO,CAAC;IAC9B;IAEA,IAAIA,OAAO,CAACE,GAAG,CAACpB,IAAI,CAACpD,IAAI,CAAC,EAAE;MAC1B,MAAMyE,SAAS,GAAG/C,KAAK,CAACkB,MAAM,CAAC8B,CAAC,IAAIA,CAAC,CAACzE,KAAK,KAAKmD,IAAI,CAACnD,KAAK,CAAC;MAC3D,MAAM,IAAI6D,KAAK,CACb,CACE,mCAAmC,EACnC,0DAA0D,EAC1D,gCAAgC,EAChC,EAAE,EACF,cAAc,EACd,0BAA0B,EAC1B,8CAA8C,EAC9C,KAAK,EACL,EAAE,EACF,0BAA0B,EAC1B,GAAGa,IAAI,CAACC,SAAS,CAACH,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CACxC,CAACI,IAAI,CAAC,IAAI,CACb,CAAC;IACH;IAEAP,OAAO,CAACQ,GAAG,CAAC1B,IAAI,CAACpD,IAAI,CAAC;EACxB;AACF;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/configuration.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/configuration.js deleted file mode 100644 index 582fc327..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/configuration.js +++ /dev/null @@ -1,290 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ROOT_CONFIG_FILENAMES = void 0; -exports.findConfigUpwards = findConfigUpwards; -exports.findRelativeConfig = findRelativeConfig; -exports.findRootConfig = findRootConfig; -exports.loadConfig = loadConfig; -exports.resolveShowConfigPath = resolveShowConfigPath; -function _debug() { - const data = require("debug"); - _debug = function () { - return data; - }; - return data; -} -function _fs() { - const data = require("fs"); - _fs = function () { - return data; - }; - return data; -} -function _path() { - const data = require("path"); - _path = function () { - return data; - }; - return data; -} -function _json() { - const data = require("json5"); - _json = function () { - return data; - }; - return data; -} -function _gensync() { - const data = require("gensync"); - _gensync = function () { - return data; - }; - return data; -} -var _caching = require("../caching.js"); -var _configApi = require("../helpers/config-api.js"); -var _utils = require("./utils.js"); -var _moduleTypes = require("./module-types.js"); -var _patternToRegex = require("../pattern-to-regex.js"); -var _configError = require("../../errors/config-error.js"); -var fs = require("../../gensync-utils/fs.js"); -require("module"); -var _rewriteStackTrace = require("../../errors/rewrite-stack-trace.js"); -var _async = require("../../gensync-utils/async.js"); -const debug = _debug()("babel:config:loading:files:configuration"); -const ROOT_CONFIG_FILENAMES = exports.ROOT_CONFIG_FILENAMES = ["babel.config.js", "babel.config.cjs", "babel.config.mjs", "babel.config.json", "babel.config.cts", "babel.config.ts", "babel.config.mts"]; -const RELATIVE_CONFIG_FILENAMES = [".babelrc", ".babelrc.js", ".babelrc.cjs", ".babelrc.mjs", ".babelrc.json", ".babelrc.cts"]; -const BABELIGNORE_FILENAME = ".babelignore"; -const runConfig = (0, _caching.makeWeakCache)(function* runConfig(options, cache) { - yield* []; - return { - options: (0, _rewriteStackTrace.endHiddenCallStack)(options)((0, _configApi.makeConfigAPI)(cache)), - cacheNeedsConfiguration: !cache.configured() - }; -}); -function* readConfigCode(filepath, data) { - if (!_fs().existsSync(filepath)) return null; - let options = yield* (0, _moduleTypes.default)(filepath, (yield* (0, _async.isAsync)()) ? "auto" : "require", "You appear to be using a native ECMAScript module configuration " + "file, which is only supported when running Babel asynchronously " + "or when using the Node.js `--experimental-require-module` flag.", "You appear to be using a configuration file that contains top-level " + "await, which is only supported when running Babel asynchronously."); - let cacheNeedsConfiguration = false; - if (typeof options === "function") { - ({ - options, - cacheNeedsConfiguration - } = yield* runConfig(options, data)); - } - if (!options || typeof options !== "object" || Array.isArray(options)) { - throw new _configError.default(`Configuration should be an exported JavaScript object.`, filepath); - } - if (typeof options.then === "function") { - options.catch == null || options.catch(() => {}); - throw new _configError.default(`You appear to be using an async configuration, ` + `which your current version of Babel does not support. ` + `We may add support for this in the future, ` + `but if you're on the most recent version of @babel/core and still ` + `seeing this error, then you'll need to synchronously return your config.`, filepath); - } - if (cacheNeedsConfiguration) throwConfigError(filepath); - return buildConfigFileObject(options, filepath); -} -const cfboaf = new WeakMap(); -function buildConfigFileObject(options, filepath) { - let configFilesByFilepath = cfboaf.get(options); - if (!configFilesByFilepath) { - cfboaf.set(options, configFilesByFilepath = new Map()); - } - let configFile = configFilesByFilepath.get(filepath); - if (!configFile) { - configFile = { - filepath, - dirname: _path().dirname(filepath), - options - }; - configFilesByFilepath.set(filepath, configFile); - } - return configFile; -} -const packageToBabelConfig = (0, _caching.makeWeakCacheSync)(file => { - const babel = file.options.babel; - if (babel === undefined) return null; - if (typeof babel !== "object" || Array.isArray(babel) || babel === null) { - throw new _configError.default(`.babel property must be an object`, file.filepath); - } - return { - filepath: file.filepath, - dirname: file.dirname, - options: babel - }; -}); -const readConfigJSON5 = (0, _utils.makeStaticFileCache)((filepath, content) => { - let options; - try { - options = _json().parse(content); - } catch (err) { - throw new _configError.default(`Error while parsing config - ${err.message}`, filepath); - } - if (!options) throw new _configError.default(`No config detected`, filepath); - if (typeof options !== "object") { - throw new _configError.default(`Config returned typeof ${typeof options}`, filepath); - } - if (Array.isArray(options)) { - throw new _configError.default(`Expected config object but found array`, filepath); - } - delete options.$schema; - return { - filepath, - dirname: _path().dirname(filepath), - options - }; -}); -const readIgnoreConfig = (0, _utils.makeStaticFileCache)((filepath, content) => { - const ignoreDir = _path().dirname(filepath); - const ignorePatterns = content.split("\n").map(line => line.replace(/#.*$/, "").trim()).filter(Boolean); - for (const pattern of ignorePatterns) { - if (pattern.startsWith("!")) { - throw new _configError.default(`Negation of file paths is not supported.`, filepath); - } - } - return { - filepath, - dirname: _path().dirname(filepath), - ignore: ignorePatterns.map(pattern => (0, _patternToRegex.default)(pattern, ignoreDir)) - }; -}); -function findConfigUpwards(rootDir) { - let dirname = rootDir; - for (;;) { - for (const filename of ROOT_CONFIG_FILENAMES) { - if (_fs().existsSync(_path().join(dirname, filename))) { - return dirname; - } - } - const nextDir = _path().dirname(dirname); - if (dirname === nextDir) break; - dirname = nextDir; - } - return null; -} -function* findRelativeConfig(packageData, envName, caller) { - let config = null; - let ignore = null; - const dirname = _path().dirname(packageData.filepath); - for (const loc of packageData.directories) { - if (!config) { - var _packageData$pkg; - config = yield* loadOneConfig(RELATIVE_CONFIG_FILENAMES, loc, envName, caller, ((_packageData$pkg = packageData.pkg) == null ? void 0 : _packageData$pkg.dirname) === loc ? packageToBabelConfig(packageData.pkg) : null); - } - if (!ignore) { - const ignoreLoc = _path().join(loc, BABELIGNORE_FILENAME); - ignore = yield* readIgnoreConfig(ignoreLoc); - if (ignore) { - debug("Found ignore %o from %o.", ignore.filepath, dirname); - } - } - } - return { - config, - ignore - }; -} -function findRootConfig(dirname, envName, caller) { - return loadOneConfig(ROOT_CONFIG_FILENAMES, dirname, envName, caller); -} -function* loadOneConfig(names, dirname, envName, caller, previousConfig = null) { - const configs = yield* _gensync().all(names.map(filename => readConfig(_path().join(dirname, filename), envName, caller))); - const config = configs.reduce((previousConfig, config) => { - if (config && previousConfig) { - throw new _configError.default(`Multiple configuration files found. Please remove one:\n` + ` - ${_path().basename(previousConfig.filepath)}\n` + ` - ${config.filepath}\n` + `from ${dirname}`); - } - return config || previousConfig; - }, previousConfig); - if (config) { - debug("Found configuration %o from %o.", config.filepath, dirname); - } - return config; -} -function* loadConfig(name, dirname, envName, caller) { - const filepath = (((v, w) => (v = v.split("."), w = w.split("."), +v[0] > +w[0] || v[0] == w[0] && +v[1] >= +w[1]))(process.versions.node, "8.9") ? require.resolve : (r, { - paths: [b] - }, M = require("module")) => { - let f = M._findPath(r, M._nodeModulePaths(b).concat(b)); - if (f) return f; - f = new Error(`Cannot resolve module '${r}'`); - f.code = "MODULE_NOT_FOUND"; - throw f; - })(name, { - paths: [dirname] - }); - const conf = yield* readConfig(filepath, envName, caller); - if (!conf) { - throw new _configError.default(`Config file contains no configuration data`, filepath); - } - debug("Loaded config %o from %o.", name, dirname); - return conf; -} -function readConfig(filepath, envName, caller) { - const ext = _path().extname(filepath); - switch (ext) { - case ".js": - case ".cjs": - case ".mjs": - case ".ts": - case ".cts": - case ".mts": - return readConfigCode(filepath, { - envName, - caller - }); - default: - return readConfigJSON5(filepath); - } -} -function* resolveShowConfigPath(dirname) { - const targetPath = process.env.BABEL_SHOW_CONFIG_FOR; - if (targetPath != null) { - const absolutePath = _path().resolve(dirname, targetPath); - const stats = yield* fs.stat(absolutePath); - if (!stats.isFile()) { - throw new Error(`${absolutePath}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`); - } - return absolutePath; - } - return null; -} -function throwConfigError(filepath) { - throw new _configError.default(`\ -Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured -for various types of caching, using the first param of their handler functions: - -module.exports = function(api) { - // The API exposes the following: - - // Cache the returned value forever and don't call this function again. - api.cache(true); - - // Don't cache at all. Not recommended because it will be very slow. - api.cache(false); - - // Cached based on the value of some function. If this function returns a value different from - // a previously-encountered value, the plugins will re-evaluate. - var env = api.cache(() => process.env.NODE_ENV); - - // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for - // any possible NODE_ENV value that might come up during plugin execution. - var isProd = api.cache(() => process.env.NODE_ENV === "production"); - - // .cache(fn) will perform a linear search though instances to find the matching plugin based - // based on previous instantiated plugins. If you want to recreate the plugin and discard the - // previous instance whenever something changes, you may use: - var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production"); - - // Note, we also expose the following more-verbose versions of the above examples: - api.cache.forever(); // api.cache(true) - api.cache.never(); // api.cache(false) - api.cache.using(fn); // api.cache(fn) - - // Return the value that will be cached. - return { }; -};`, filepath); -} -0 && 0; - -//# sourceMappingURL=configuration.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/configuration.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/configuration.js.map deleted file mode 100644 index 07c99ef7..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/configuration.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_debug","data","require","_fs","_path","_json","_gensync","_caching","_configApi","_utils","_moduleTypes","_patternToRegex","_configError","fs","_rewriteStackTrace","_async","debug","buildDebug","ROOT_CONFIG_FILENAMES","exports","RELATIVE_CONFIG_FILENAMES","BABELIGNORE_FILENAME","runConfig","makeWeakCache","options","cache","endHiddenCallStack","makeConfigAPI","cacheNeedsConfiguration","configured","readConfigCode","filepath","nodeFs","existsSync","loadCodeDefault","isAsync","Array","isArray","ConfigError","then","catch","throwConfigError","buildConfigFileObject","cfboaf","WeakMap","configFilesByFilepath","get","set","Map","configFile","dirname","path","packageToBabelConfig","makeWeakCacheSync","file","babel","undefined","readConfigJSON5","makeStaticFileCache","content","json5","parse","err","message","$schema","readIgnoreConfig","ignoreDir","ignorePatterns","split","map","line","replace","trim","filter","Boolean","pattern","startsWith","ignore","pathPatternToRegex","findConfigUpwards","rootDir","filename","join","nextDir","findRelativeConfig","packageData","envName","caller","config","loc","directories","_packageData$pkg","loadOneConfig","pkg","ignoreLoc","findRootConfig","names","previousConfig","configs","gensync","all","readConfig","reduce","basename","loadConfig","name","v","w","process","versions","node","resolve","r","paths","b","M","f","_findPath","_nodeModulePaths","concat","Error","code","conf","ext","extname","resolveShowConfigPath","targetPath","env","BABEL_SHOW_CONFIG_FOR","absolutePath","stats","stat","isFile"],"sources":["../../../src/config/files/configuration.ts"],"sourcesContent":["import buildDebug from \"debug\";\nimport nodeFs from \"node:fs\";\nimport path from \"node:path\";\nimport json5 from \"json5\";\nimport gensync from \"gensync\";\nimport type { Handler } from \"gensync\";\nimport { makeWeakCache, makeWeakCacheSync } from \"../caching.ts\";\nimport type { CacheConfigurator } from \"../caching.ts\";\nimport { makeConfigAPI } from \"../helpers/config-api.ts\";\nimport type { ConfigAPI } from \"../helpers/config-api.ts\";\nimport { makeStaticFileCache } from \"./utils.ts\";\nimport loadCodeDefault from \"./module-types.ts\";\nimport pathPatternToRegex from \"../pattern-to-regex.ts\";\nimport type { FilePackageData, RelativeConfig, ConfigFile } from \"./types.ts\";\nimport type { CallerMetadata, InputOptions } from \"../validation/options.ts\";\nimport ConfigError from \"../../errors/config-error.ts\";\n\nimport * as fs from \"../../gensync-utils/fs.ts\";\n\nimport { createRequire } from \"node:module\";\nimport { endHiddenCallStack } from \"../../errors/rewrite-stack-trace.ts\";\nimport { isAsync } from \"../../gensync-utils/async.ts\";\nconst require = createRequire(import.meta.url);\n\nconst debug = buildDebug(\"babel:config:loading:files:configuration\");\n\nexport const ROOT_CONFIG_FILENAMES = [\n \"babel.config.js\",\n \"babel.config.cjs\",\n \"babel.config.mjs\",\n \"babel.config.json\",\n \"babel.config.cts\",\n \"babel.config.ts\",\n \"babel.config.mts\",\n];\nconst RELATIVE_CONFIG_FILENAMES = [\n \".babelrc\",\n \".babelrc.js\",\n \".babelrc.cjs\",\n \".babelrc.mjs\",\n \".babelrc.json\",\n \".babelrc.cts\",\n];\n\nconst BABELIGNORE_FILENAME = \".babelignore\";\n\ntype ConfigCacheData = {\n envName: string;\n caller: CallerMetadata | undefined;\n};\n\nconst runConfig = makeWeakCache(function* runConfig(\n options: Function,\n cache: CacheConfigurator,\n): Handler<{\n options: InputOptions | null;\n cacheNeedsConfiguration: boolean;\n}> {\n // if we want to make it possible to use async configs\n yield* [];\n\n return {\n options: endHiddenCallStack(options as any as (api: ConfigAPI) => unknown)(\n makeConfigAPI(cache),\n ),\n cacheNeedsConfiguration: !cache.configured(),\n };\n});\n\nfunction* readConfigCode(\n filepath: string,\n data: ConfigCacheData,\n): Handler {\n if (!nodeFs.existsSync(filepath)) return null;\n\n let options = yield* loadCodeDefault(\n filepath,\n (yield* isAsync()) ? \"auto\" : \"require\",\n \"You appear to be using a native ECMAScript module configuration \" +\n \"file, which is only supported when running Babel asynchronously \" +\n \"or when using the Node.js `--experimental-require-module` flag.\",\n \"You appear to be using a configuration file that contains top-level \" +\n \"await, which is only supported when running Babel asynchronously.\",\n );\n\n let cacheNeedsConfiguration = false;\n if (typeof options === \"function\") {\n ({ options, cacheNeedsConfiguration } = yield* runConfig(options, data));\n }\n\n if (!options || typeof options !== \"object\" || Array.isArray(options)) {\n throw new ConfigError(\n `Configuration should be an exported JavaScript object.`,\n filepath,\n );\n }\n\n // @ts-expect-error todo(flow->ts)\n if (typeof options.then === \"function\") {\n // @ts-expect-error We use ?. in case options is a thenable but not a promise\n options.catch?.(() => {});\n throw new ConfigError(\n `You appear to be using an async configuration, ` +\n `which your current version of Babel does not support. ` +\n `We may add support for this in the future, ` +\n `but if you're on the most recent version of @babel/core and still ` +\n `seeing this error, then you'll need to synchronously return your config.`,\n filepath,\n );\n }\n\n if (cacheNeedsConfiguration) throwConfigError(filepath);\n\n return buildConfigFileObject(options, filepath);\n}\n\n// We cache the generated ConfigFile object rather than creating a new one\n// every time, so that it can be used as a cache key in other functions.\nconst cfboaf /* configFilesByOptionsAndFilepath */ = new WeakMap<\n InputOptions,\n Map\n>();\nfunction buildConfigFileObject(\n options: InputOptions,\n filepath: string,\n): ConfigFile {\n let configFilesByFilepath = cfboaf.get(options);\n if (!configFilesByFilepath) {\n cfboaf.set(options, (configFilesByFilepath = new Map()));\n }\n\n let configFile = configFilesByFilepath.get(filepath);\n if (!configFile) {\n configFile = {\n filepath,\n dirname: path.dirname(filepath),\n options,\n };\n configFilesByFilepath.set(filepath, configFile);\n }\n\n return configFile;\n}\n\nconst packageToBabelConfig = makeWeakCacheSync(\n (file: ConfigFile): ConfigFile | null => {\n const babel: unknown = file.options.babel;\n\n if (babel === undefined) return null;\n\n if (typeof babel !== \"object\" || Array.isArray(babel) || babel === null) {\n throw new ConfigError(`.babel property must be an object`, file.filepath);\n }\n\n return {\n filepath: file.filepath,\n dirname: file.dirname,\n options: babel,\n };\n },\n);\n\nconst readConfigJSON5 = makeStaticFileCache((filepath, content): ConfigFile => {\n let options;\n try {\n options = json5.parse(content);\n } catch (err) {\n throw new ConfigError(\n `Error while parsing config - ${err.message}`,\n filepath,\n );\n }\n\n if (!options) throw new ConfigError(`No config detected`, filepath);\n\n if (typeof options !== \"object\") {\n throw new ConfigError(`Config returned typeof ${typeof options}`, filepath);\n }\n if (Array.isArray(options)) {\n throw new ConfigError(`Expected config object but found array`, filepath);\n }\n\n delete options.$schema;\n\n return {\n filepath,\n dirname: path.dirname(filepath),\n options,\n };\n});\n\nconst readIgnoreConfig = makeStaticFileCache((filepath, content) => {\n const ignoreDir = path.dirname(filepath);\n const ignorePatterns = content\n .split(\"\\n\")\n .map(line =>\n line.replace(process.env.BABEL_8_BREAKING ? /^#.*$/ : /#.*$/, \"\").trim(),\n )\n .filter(Boolean);\n\n for (const pattern of ignorePatterns) {\n if (pattern.startsWith(\"!\")) {\n throw new ConfigError(\n `Negation of file paths is not supported.`,\n filepath,\n );\n }\n }\n\n return {\n filepath,\n dirname: path.dirname(filepath),\n ignore: ignorePatterns.map(pattern =>\n pathPatternToRegex(pattern, ignoreDir),\n ),\n };\n});\n\nexport function findConfigUpwards(rootDir: string): string | null {\n let dirname = rootDir;\n for (;;) {\n for (const filename of ROOT_CONFIG_FILENAMES) {\n if (nodeFs.existsSync(path.join(dirname, filename))) {\n return dirname;\n }\n }\n\n const nextDir = path.dirname(dirname);\n if (dirname === nextDir) break;\n dirname = nextDir;\n }\n\n return null;\n}\n\nexport function* findRelativeConfig(\n packageData: FilePackageData,\n envName: string,\n caller: CallerMetadata | undefined,\n): Handler {\n let config = null;\n let ignore = null;\n\n const dirname = path.dirname(packageData.filepath);\n\n for (const loc of packageData.directories) {\n if (!config) {\n config = yield* loadOneConfig(\n RELATIVE_CONFIG_FILENAMES,\n loc,\n envName,\n caller,\n packageData.pkg?.dirname === loc\n ? packageToBabelConfig(packageData.pkg)\n : null,\n );\n }\n\n if (!ignore) {\n const ignoreLoc = path.join(loc, BABELIGNORE_FILENAME);\n ignore = yield* readIgnoreConfig(ignoreLoc);\n\n if (ignore) {\n debug(\"Found ignore %o from %o.\", ignore.filepath, dirname);\n }\n }\n }\n\n return { config, ignore };\n}\n\nexport function findRootConfig(\n dirname: string,\n envName: string,\n caller: CallerMetadata | undefined,\n): Handler {\n return loadOneConfig(ROOT_CONFIG_FILENAMES, dirname, envName, caller);\n}\n\nfunction* loadOneConfig(\n names: string[],\n dirname: string,\n envName: string,\n caller: CallerMetadata | undefined,\n previousConfig: ConfigFile | null = null,\n): Handler {\n const configs = yield* gensync.all(\n names.map(filename =>\n readConfig(path.join(dirname, filename), envName, caller),\n ),\n );\n const config = configs.reduce((previousConfig: ConfigFile | null, config) => {\n if (config && previousConfig) {\n throw new ConfigError(\n `Multiple configuration files found. Please remove one:\\n` +\n ` - ${path.basename(previousConfig.filepath)}\\n` +\n ` - ${config.filepath}\\n` +\n `from ${dirname}`,\n );\n }\n\n return config || previousConfig;\n }, previousConfig);\n\n if (config) {\n debug(\"Found configuration %o from %o.\", config.filepath, dirname);\n }\n return config;\n}\n\nexport function* loadConfig(\n name: string,\n dirname: string,\n envName: string,\n caller: CallerMetadata | undefined,\n): Handler {\n const filepath = require.resolve(name, { paths: [dirname] });\n\n const conf = yield* readConfig(filepath, envName, caller);\n if (!conf) {\n throw new ConfigError(\n `Config file contains no configuration data`,\n filepath,\n );\n }\n\n debug(\"Loaded config %o from %o.\", name, dirname);\n return conf;\n}\n\n/**\n * Read the given config file, returning the result. Returns null if no config was found, but will\n * throw if there are parsing errors while loading a config.\n */\nfunction readConfig(\n filepath: string,\n envName: string,\n caller: CallerMetadata | undefined,\n): Handler {\n const ext = path.extname(filepath);\n switch (ext) {\n case \".js\":\n case \".cjs\":\n case \".mjs\":\n case \".ts\":\n case \".cts\":\n case \".mts\":\n return readConfigCode(filepath, { envName, caller });\n default:\n return readConfigJSON5(filepath);\n }\n}\n\nexport function* resolveShowConfigPath(\n dirname: string,\n): Handler {\n const targetPath = process.env.BABEL_SHOW_CONFIG_FOR;\n if (targetPath != null) {\n const absolutePath = path.resolve(dirname, targetPath);\n const stats = yield* fs.stat(absolutePath);\n if (!stats.isFile()) {\n throw new Error(\n `${absolutePath}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`,\n );\n }\n return absolutePath;\n }\n return null;\n}\n\nfunction throwConfigError(filepath: string): never {\n throw new ConfigError(\n `\\\nCaching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === \"production\");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === \"production\");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`,\n filepath,\n );\n}\n"],"mappings":";;;;;;;;;;;AAAA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,IAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,GAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,MAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,KAAA,YAAAA,CAAA;IAAA,OA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E,OAAO,CAAC7F,QAAQ,CAAC;EAClC,QAAQ4F,GAAG;IACT,KAAK,KAAK;IACV,KAAK,MAAM;IACX,KAAK,MAAM;IACX,KAAK,KAAK;IACV,KAAK,MAAM;IACX,KAAK,MAAM;MACT,OAAO7F,cAAc,CAACC,QAAQ,EAAE;QAAEuD,OAAO;QAAEC;MAAO,CAAC,CAAC;IACtD;MACE,OAAO9B,eAAe,CAAC1B,QAAQ,CAAC;EACpC;AACF;AAEO,UAAU8F,qBAAqBA,CACpC3E,OAAe,EACS;EACxB,MAAM4E,UAAU,GAAGlB,OAAO,CAACmB,GAAG,CAACC,qBAAqB;EACpD,IAAIF,UAAU,IAAI,IAAI,EAAE;IACtB,MAAMG,YAAY,GAAG9E,MAAGA,CAAC,CAAC4D,OAAO,CAAC7D,OAAO,EAAE4E,UAAU,CAAC;IACtD,MAAMI,KAAK,GAAG,OAAOrH,EAAE,CAACsH,IAAI,CAACF,YAAY,CAAC;IAC1C,IAAI,CAACC,KAAK,CAACE,MAAM,CAAC,CAAC,EAAE;MACnB,MAAM,IAAIZ,KAAK,CACb,GAAGS,YAAY,sFACjB,CAAC;IACH;IACA,OAAOA,YAAY;EACrB;EACA,OAAO,IAAI;AACb;AAEA,SAASxF,gBAAgBA,CAACV,QAAgB,EAAS;EACjD,MAAM,IAAIO,oBAAW,CACnB;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG,EACCP,QACF,CAAC;AACH;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/import.cjs b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/import.cjs deleted file mode 100644 index 46fa5d5c..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/import.cjs +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = function import_(filepath) { - return import(filepath); -}; -0 && 0; - -//# sourceMappingURL=import.cjs.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/import.cjs.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/import.cjs.map deleted file mode 100644 index 2200da80..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/import.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["module","exports","import_","filepath"],"sources":["../../../src/config/files/import.cjs"],"sourcesContent":["// We keep this in a separate file so that in older node versions, where\n// import() isn't supported, we can try/catch around the require() call\n// when loading this file.\n\nmodule.exports = function import_(filepath) {\n return import(filepath);\n};\n"],"mappings":"AAIAA,MAAM,CAACC,OAAO,GAAG,SAASC,OAAOA,CAACC,QAAQ,EAAE;EAC1C,OAAO,OAAOA,QAAQ,CAAC;AACzB,CAAC;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index-browser.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index-browser.js deleted file mode 100644 index d8ba7dbc..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index-browser.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ROOT_CONFIG_FILENAMES = void 0; -exports.findConfigUpwards = findConfigUpwards; -exports.findPackageData = findPackageData; -exports.findRelativeConfig = findRelativeConfig; -exports.findRootConfig = findRootConfig; -exports.loadConfig = loadConfig; -exports.loadPlugin = loadPlugin; -exports.loadPreset = loadPreset; -exports.resolvePlugin = resolvePlugin; -exports.resolvePreset = resolvePreset; -exports.resolveShowConfigPath = resolveShowConfigPath; -function findConfigUpwards(rootDir) { - return null; -} -function* findPackageData(filepath) { - return { - filepath, - directories: [], - pkg: null, - isPackage: false - }; -} -function* findRelativeConfig(pkgData, envName, caller) { - return { - config: null, - ignore: null - }; -} -function* findRootConfig(dirname, envName, caller) { - return null; -} -function* loadConfig(name, dirname, envName, caller) { - throw new Error(`Cannot load ${name} relative to ${dirname} in a browser`); -} -function* resolveShowConfigPath(dirname) { - return null; -} -const ROOT_CONFIG_FILENAMES = exports.ROOT_CONFIG_FILENAMES = []; -function resolvePlugin(name, dirname) { - return null; -} -function resolvePreset(name, dirname) { - return null; -} -function loadPlugin(name, dirname) { - throw new Error(`Cannot load plugin ${name} relative to ${dirname} in a browser`); -} -function loadPreset(name, dirname) { - throw new Error(`Cannot load preset ${name} relative to ${dirname} in a browser`); -} -0 && 0; - -//# sourceMappingURL=index-browser.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index-browser.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index-browser.js.map deleted file mode 100644 index e10ddeee..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index-browser.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["findConfigUpwards","rootDir","findPackageData","filepath","directories","pkg","isPackage","findRelativeConfig","pkgData","envName","caller","config","ignore","findRootConfig","dirname","loadConfig","name","Error","resolveShowConfigPath","ROOT_CONFIG_FILENAMES","exports","resolvePlugin","resolvePreset","loadPlugin","loadPreset"],"sources":["../../../src/config/files/index-browser.ts"],"sourcesContent":["/* c8 ignore start */\n\nimport type { Handler } from \"gensync\";\n\nimport type {\n ConfigFile,\n IgnoreFile,\n RelativeConfig,\n FilePackageData,\n} from \"./types.ts\";\n\nimport type { CallerMetadata } from \"../validation/options.ts\";\n\nexport type { ConfigFile, IgnoreFile, RelativeConfig, FilePackageData };\n\nexport function findConfigUpwards(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n rootDir: string,\n): string | null {\n return null;\n}\n\n// eslint-disable-next-line require-yield\nexport function* findPackageData(filepath: string): Handler {\n return {\n filepath,\n directories: [],\n pkg: null,\n isPackage: false,\n };\n}\n\n// eslint-disable-next-line require-yield\nexport function* findRelativeConfig(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n pkgData: FilePackageData,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n envName: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n caller: CallerMetadata | undefined,\n): Handler {\n return { config: null, ignore: null };\n}\n\n// eslint-disable-next-line require-yield\nexport function* findRootConfig(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n dirname: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n envName: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n caller: CallerMetadata | undefined,\n): Handler {\n return null;\n}\n\n// eslint-disable-next-line require-yield\nexport function* loadConfig(\n name: string,\n dirname: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n envName: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n caller: CallerMetadata | undefined,\n): Handler {\n throw new Error(`Cannot load ${name} relative to ${dirname} in a browser`);\n}\n\n// eslint-disable-next-line require-yield\nexport function* resolveShowConfigPath(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n dirname: string,\n): Handler {\n return null;\n}\n\nexport const ROOT_CONFIG_FILENAMES: string[] = [];\n\ntype Resolved =\n | { loader: \"require\"; filepath: string }\n | { loader: \"import\"; filepath: string };\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function resolvePlugin(name: string, dirname: string): Resolved | null {\n return null;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function resolvePreset(name: string, dirname: string): Resolved | null {\n return null;\n}\n\nexport function loadPlugin(\n name: string,\n dirname: string,\n): Handler<{\n filepath: string;\n value: unknown;\n}> {\n throw new Error(\n `Cannot load plugin ${name} relative to ${dirname} in a browser`,\n );\n}\n\nexport function loadPreset(\n name: string,\n dirname: string,\n): Handler<{\n filepath: string;\n value: unknown;\n}> {\n throw new Error(\n `Cannot load preset ${name} relative to ${dirname} in a browser`,\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAeO,SAASA,iBAAiBA,CAE/BC,OAAe,EACA;EACf,OAAO,IAAI;AACb;AAGO,UAAUC,eAAeA,CAACC,QAAgB,EAA4B;EAC3E,OAAO;IACLA,QAAQ;IACRC,WAAW,EAAE,EAAE;IACfC,GAAG,EAAE,IAAI;IACTC,SAAS,EAAE;EACb,CAAC;AACH;AAGO,UAAUC,kBAAkBA,CAEjCC,OAAwB,EAExBC,OAAe,EAEfC,MAAkC,EACT;EACzB,OAAO;IAAEC,MAAM,EAAE,IAAI;IAAEC,MAAM,EAAE;EAAK,CAAC;AACvC;AAGO,UAAUC,cAAcA,CAE7BC,OAAe,EAEfL,OAAe,EAEfC,MAAkC,EACN;EAC5B,OAAO,IAAI;AACb;AAGO,UAAUK,UAAUA,CACzBC,IAAY,EACZF,OAAe,EAEfL,OAAe,EAEfC,MAAkC,EACb;EACrB,MAAM,IAAIO,KAAK,CAAC,eAAeD,IAAI,gBAAgBF,OAAO,eAAe,CAAC;AAC5E;AAGO,UAAUI,qBAAqBA,CAEpCJ,OAAe,EACS;EACxB,OAAO,IAAI;AACb;AAEO,MAAMK,qBAA+B,GAAAC,OAAA,CAAAD,qBAAA,GAAG,EAAE;AAO1C,SAASE,aAAaA,CAACL,IAAY,EAAEF,OAAe,EAAmB;EAC5E,OAAO,IAAI;AACb;AAGO,SAASQ,aAAaA,CAACN,IAAY,EAAEF,OAAe,EAAmB;EAC5E,OAAO,IAAI;AACb;AAEO,SAASS,UAAUA,CACxBP,IAAY,EACZF,OAAe,EAId;EACD,MAAM,IAAIG,KAAK,CACb,sBAAsBD,IAAI,gBAAgBF,OAAO,eACnD,CAAC;AACH;AAEO,SAASU,UAAUA,CACxBR,IAAY,EACZF,OAAe,EAId;EACD,MAAM,IAAIG,KAAK,CACb,sBAAsBD,IAAI,gBAAgBF,OAAO,eACnD,CAAC;AACH;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index.js deleted file mode 100644 index 8750f40a..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index.js +++ /dev/null @@ -1,78 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -Object.defineProperty(exports, "ROOT_CONFIG_FILENAMES", { - enumerable: true, - get: function () { - return _configuration.ROOT_CONFIG_FILENAMES; - } -}); -Object.defineProperty(exports, "findConfigUpwards", { - enumerable: true, - get: function () { - return _configuration.findConfigUpwards; - } -}); -Object.defineProperty(exports, "findPackageData", { - enumerable: true, - get: function () { - return _package.findPackageData; - } -}); -Object.defineProperty(exports, "findRelativeConfig", { - enumerable: true, - get: function () { - return _configuration.findRelativeConfig; - } -}); -Object.defineProperty(exports, "findRootConfig", { - enumerable: true, - get: function () { - return _configuration.findRootConfig; - } -}); -Object.defineProperty(exports, "loadConfig", { - enumerable: true, - get: function () { - return _configuration.loadConfig; - } -}); -Object.defineProperty(exports, "loadPlugin", { - enumerable: true, - get: function () { - return _plugins.loadPlugin; - } -}); -Object.defineProperty(exports, "loadPreset", { - enumerable: true, - get: function () { - return _plugins.loadPreset; - } -}); -Object.defineProperty(exports, "resolvePlugin", { - enumerable: true, - get: function () { - return _plugins.resolvePlugin; - } -}); -Object.defineProperty(exports, "resolvePreset", { - enumerable: true, - get: function () { - return _plugins.resolvePreset; - } -}); -Object.defineProperty(exports, "resolveShowConfigPath", { - enumerable: true, - get: function () { - return _configuration.resolveShowConfigPath; - } -}); -var _package = require("./package.js"); -var _configuration = require("./configuration.js"); -var _plugins = require("./plugins.js"); -({}); -0 && 0; - -//# sourceMappingURL=index.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index.js.map deleted file mode 100644 index 832135f9..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_package","require","_configuration","_plugins"],"sources":["../../../src/config/files/index.ts"],"sourcesContent":["type indexBrowserType = typeof import(\"./index-browser\");\ntype indexType = typeof import(\"./index\");\n\n// Kind of gross, but essentially asserting that the exports of this module are the same as the\n// exports of index-browser, since this file may be replaced at bundle time with index-browser.\n// eslint-disable-next-line @typescript-eslint/no-unused-expressions\n({}) as any as indexBrowserType as indexType;\n\nexport { findPackageData } from \"./package.ts\";\n\nexport {\n findConfigUpwards,\n findRelativeConfig,\n findRootConfig,\n loadConfig,\n resolveShowConfigPath,\n ROOT_CONFIG_FILENAMES,\n} from \"./configuration.ts\";\nexport type {\n ConfigFile,\n IgnoreFile,\n RelativeConfig,\n FilePackageData,\n} from \"./types.ts\";\nexport {\n loadPlugin,\n loadPreset,\n resolvePlugin,\n resolvePreset,\n} from \"./plugins.ts\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAAA,QAAA,GAAAC,OAAA;AAEA,IAAAC,cAAA,GAAAD,OAAA;AAcA,IAAAE,QAAA,GAAAF,OAAA;AAlBA,CAAC,CAAC,CAAC;AAA0C","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/module-types.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/module-types.js deleted file mode 100644 index e29a82f9..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/module-types.js +++ /dev/null @@ -1,203 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = loadCodeDefault; -exports.supportsESM = void 0; -var _async = require("../../gensync-utils/async.js"); -function _path() { - const data = require("path"); - _path = function () { - return data; - }; - return data; -} -function _url() { - const data = require("url"); - _url = function () { - return data; - }; - return data; -} -require("module"); -function _semver() { - const data = require("semver"); - _semver = function () { - return data; - }; - return data; -} -function _debug() { - const data = require("debug"); - _debug = function () { - return data; - }; - return data; -} -var _rewriteStackTrace = require("../../errors/rewrite-stack-trace.js"); -var _configError = require("../../errors/config-error.js"); -var _transformFile = require("../../transform-file.js"); -function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); } -function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; } -const debug = _debug()("babel:config:loading:files:module-types"); -try { - var import_ = require("./import.cjs"); -} catch (_unused) {} -const supportsESM = exports.supportsESM = _semver().satisfies(process.versions.node, "^12.17 || >=13.2"); -const LOADING_CJS_FILES = new Set(); -function loadCjsDefault(filepath) { - if (LOADING_CJS_FILES.has(filepath)) { - debug("Auto-ignoring usage of config %o.", filepath); - return {}; - } - let module; - try { - LOADING_CJS_FILES.add(filepath); - module = (0, _rewriteStackTrace.endHiddenCallStack)(require)(filepath); - } finally { - LOADING_CJS_FILES.delete(filepath); - } - return module != null && (module.__esModule || module[Symbol.toStringTag] === "Module") ? module.default || (arguments[1] ? module : undefined) : module; -} -const loadMjsFromPath = (0, _rewriteStackTrace.endHiddenCallStack)(function () { - var _loadMjsFromPath = _asyncToGenerator(function* (filepath) { - const url = (0, _url().pathToFileURL)(filepath).toString() + "?import"; - if (!import_) { - throw new _configError.default("Internal error: Native ECMAScript modules aren't supported by this platform.\n", filepath); - } - return yield import_(url); - }); - function loadMjsFromPath(_x) { - return _loadMjsFromPath.apply(this, arguments); - } - return loadMjsFromPath; -}()); -const tsNotSupportedError = ext => `\ -You are using a ${ext} config file, but Babel only supports transpiling .cts configs. Either: -- Use a .cts config file -- Update to Node.js 23.6.0, which has native TypeScript support -- Install tsx to transpile ${ext} files on the fly\ -`; -const SUPPORTED_EXTENSIONS = { - ".js": "unknown", - ".mjs": "esm", - ".cjs": "cjs", - ".ts": "unknown", - ".mts": "esm", - ".cts": "cjs" -}; -const asyncModules = new Set(); -function* loadCodeDefault(filepath, loader, esmError, tlaError) { - let async; - const ext = _path().extname(filepath); - const isTS = ext === ".ts" || ext === ".cts" || ext === ".mts"; - const type = SUPPORTED_EXTENSIONS[hasOwnProperty.call(SUPPORTED_EXTENSIONS, ext) ? ext : ".js"]; - const pattern = `${loader} ${type}`; - switch (pattern) { - case "require cjs": - case "auto cjs": - if (isTS) { - return ensureTsSupport(filepath, ext, () => loadCjsDefault(filepath)); - } else { - return loadCjsDefault(filepath, arguments[2]); - } - case "auto unknown": - case "require unknown": - case "require esm": - try { - if (isTS) { - return ensureTsSupport(filepath, ext, () => loadCjsDefault(filepath)); - } else { - return loadCjsDefault(filepath, arguments[2]); - } - } catch (e) { - if (e.code === "ERR_REQUIRE_ASYNC_MODULE" || e.code === "ERR_REQUIRE_CYCLE_MODULE" && asyncModules.has(filepath)) { - asyncModules.add(filepath); - if (!(async != null ? async : async = yield* (0, _async.isAsync)())) { - throw new _configError.default(tlaError, filepath); - } - } else if (e.code === "ERR_REQUIRE_ESM" || type === "esm") {} else { - throw e; - } - } - case "auto esm": - if (async != null ? async : async = yield* (0, _async.isAsync)()) { - const promise = isTS ? ensureTsSupport(filepath, ext, () => loadMjsFromPath(filepath)) : loadMjsFromPath(filepath); - return (yield* (0, _async.waitFor)(promise)).default; - } - if (isTS) { - throw new _configError.default(tsNotSupportedError(ext), filepath); - } else { - throw new _configError.default(esmError, filepath); - } - default: - throw new Error("Internal Babel error: unreachable code."); - } -} -function ensureTsSupport(filepath, ext, callback) { - if (process.features.typescript || require.extensions[".ts"] || require.extensions[".cts"] || require.extensions[".mts"]) { - return callback(); - } - if (ext !== ".cts") { - throw new _configError.default(tsNotSupportedError(ext), filepath); - } - const opts = { - babelrc: false, - configFile: false, - sourceType: "unambiguous", - sourceMaps: "inline", - sourceFileName: _path().basename(filepath), - presets: [[getTSPreset(filepath), Object.assign({ - onlyRemoveTypeImports: true, - optimizeConstEnums: true - }, { - allowDeclareFields: true - })]] - }; - let handler = function (m, filename) { - if (handler && filename.endsWith(".cts")) { - try { - return m._compile((0, _transformFile.transformFileSync)(filename, Object.assign({}, opts, { - filename - })).code, filename); - } catch (error) { - const packageJson = require("@babel/preset-typescript/package.json"); - if (_semver().lt(packageJson.version, "7.21.4")) { - console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`."); - } - throw error; - } - } - return require.extensions[".js"](m, filename); - }; - require.extensions[ext] = handler; - try { - return callback(); - } finally { - if (require.extensions[ext] === handler) delete require.extensions[ext]; - handler = undefined; - } -} -function getTSPreset(filepath) { - try { - return require("@babel/preset-typescript"); - } catch (error) { - if (error.code !== "MODULE_NOT_FOUND") throw error; - let message = "You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!"; - if (process.versions.pnp) { - message += ` -If you are using Yarn Plug'n'Play, you may also need to add the following configuration to your .yarnrc.yml file: - -packageExtensions: -\t"@babel/core@*": -\t\tpeerDependencies: -\t\t\t"@babel/preset-typescript": "*" -`; - } - throw new _configError.default(message, filepath); - } -} -0 && 0; - -//# sourceMappingURL=module-types.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/module-types.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/module-types.js.map deleted file mode 100644 index eafb5e67..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/module-types.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_async","require","_path","data","_url","_semver","_debug","_rewriteStackTrace","_configError","_transformFile","asyncGeneratorStep","n","t","e","r","o","a","c","i","u","value","done","Promise","resolve","then","_asyncToGenerator","arguments","apply","_next","_throw","debug","buildDebug","import_","_unused","supportsESM","exports","semver","satisfies","process","versions","node","LOADING_CJS_FILES","Set","loadCjsDefault","filepath","has","module","add","endHiddenCallStack","delete","__esModule","Symbol","toStringTag","default","undefined","loadMjsFromPath","_loadMjsFromPath","url","pathToFileURL","toString","ConfigError","_x","tsNotSupportedError","ext","SUPPORTED_EXTENSIONS","asyncModules","loadCodeDefault","loader","esmError","tlaError","async","path","extname","isTS","type","hasOwnProperty","call","pattern","ensureTsSupport","code","isAsync","promise","waitFor","Error","callback","features","typescript","extensions","opts","babelrc","configFile","sourceType","sourceMaps","sourceFileName","basename","presets","getTSPreset","Object","assign","onlyRemoveTypeImports","optimizeConstEnums","allowDeclareFields","handler","m","filename","endsWith","_compile","transformFileSync","error","packageJson","lt","version","console","message","pnp"],"sources":["../../../src/config/files/module-types.ts"],"sourcesContent":["import { isAsync, waitFor } from \"../../gensync-utils/async.ts\";\nimport type { Handler } from \"gensync\";\nimport path from \"node:path\";\nimport { pathToFileURL } from \"node:url\";\nimport { createRequire } from \"node:module\";\nimport semver from \"semver\";\nimport buildDebug from \"debug\";\n\nimport { endHiddenCallStack } from \"../../errors/rewrite-stack-trace.ts\";\nimport ConfigError from \"../../errors/config-error.ts\";\n\nimport type { InputOptions } from \"../index.ts\";\nimport { transformFileSync } from \"../../transform-file.ts\";\n\nconst debug = buildDebug(\"babel:config:loading:files:module-types\");\n\nconst require = createRequire(import.meta.url);\n\nif (!process.env.BABEL_8_BREAKING) {\n try {\n // Old Node.js versions don't support import() syntax.\n // eslint-disable-next-line no-var\n var import_:\n | ((specifier: string | URL) => any)\n | undefined = require(\"./import.cjs\");\n } catch {}\n}\n\nexport const supportsESM = semver.satisfies(\n process.versions.node,\n // older versions, starting from 10, support the dynamic\n // import syntax but always return a rejected promise.\n \"^12.17 || >=13.2\",\n);\n\nconst LOADING_CJS_FILES = new Set();\n\nfunction loadCjsDefault(filepath: string) {\n // The `require()` call below can make this code reentrant if a require hook\n // like @babel/register has been loaded into the system. That would cause\n // Babel to attempt to compile the `.babelrc.js` file as it loads below. To\n // cover this case, we auto-ignore re-entrant config processing. ESM loaders\n // do not have this problem, because loaders do not apply to themselves.\n if (LOADING_CJS_FILES.has(filepath)) {\n debug(\"Auto-ignoring usage of config %o.\", filepath);\n return {};\n }\n\n let module;\n try {\n LOADING_CJS_FILES.add(filepath);\n module = endHiddenCallStack(require)(filepath);\n } finally {\n LOADING_CJS_FILES.delete(filepath);\n }\n\n if (process.env.BABEL_8_BREAKING) {\n return module != null &&\n (module.__esModule || module[Symbol.toStringTag] === \"Module\")\n ? module.default\n : module;\n } else {\n return module != null &&\n (module.__esModule || module[Symbol.toStringTag] === \"Module\")\n ? module.default ||\n /* fallbackToTranspiledModule */ (arguments[1] ? module : undefined)\n : module;\n }\n}\n\nconst loadMjsFromPath = endHiddenCallStack(async function loadMjsFromPath(\n filepath: string,\n) {\n // Add ?import as a workaround for https://github.com/nodejs/node/issues/55500\n const url = pathToFileURL(filepath).toString() + \"?import\";\n\n if (process.env.BABEL_8_BREAKING) {\n return await import(url);\n } else {\n if (!import_) {\n throw new ConfigError(\n \"Internal error: Native ECMAScript modules aren't supported by this platform.\\n\",\n filepath,\n );\n }\n\n return await import_(url);\n }\n});\n\nconst tsNotSupportedError = (ext: string) => `\\\nYou are using a ${ext} config file, but Babel only supports transpiling .cts configs. Either:\n- Use a .cts config file\n- Update to Node.js 23.6.0, which has native TypeScript support\n- Install tsx to transpile ${ext} files on the fly\\\n`;\n\nconst SUPPORTED_EXTENSIONS = {\n \".js\": \"unknown\",\n \".mjs\": \"esm\",\n \".cjs\": \"cjs\",\n \".ts\": \"unknown\",\n \".mts\": \"esm\",\n \".cts\": \"cjs\",\n} as const;\n\nconst asyncModules = new Set();\n\nexport default function* loadCodeDefault(\n filepath: string,\n loader: \"require\" | \"auto\",\n esmError: string,\n tlaError: string,\n): Handler {\n let async;\n\n const ext = path.extname(filepath);\n const isTS = ext === \".ts\" || ext === \".cts\" || ext === \".mts\";\n\n const type =\n SUPPORTED_EXTENSIONS[\n Object.hasOwn(SUPPORTED_EXTENSIONS, ext)\n ? (ext as keyof typeof SUPPORTED_EXTENSIONS)\n : (\".js\" as const)\n ];\n\n const pattern = `${loader} ${type}` as const;\n switch (pattern) {\n case \"require cjs\":\n case \"auto cjs\":\n if (isTS) {\n return ensureTsSupport(filepath, ext, () => loadCjsDefault(filepath));\n } else if (process.env.BABEL_8_BREAKING) {\n return loadCjsDefault(filepath);\n } else {\n return loadCjsDefault(\n filepath,\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n /* fallbackToTranspiledModule */ arguments[2],\n );\n }\n case \"auto unknown\":\n case \"require unknown\":\n case \"require esm\":\n try {\n if (isTS) {\n return ensureTsSupport(filepath, ext, () => loadCjsDefault(filepath));\n } else if (process.env.BABEL_8_BREAKING) {\n return loadCjsDefault(filepath);\n } else {\n return loadCjsDefault(\n filepath,\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n /* fallbackToTranspiledModule */ arguments[2],\n );\n }\n } catch (e) {\n if (\n e.code === \"ERR_REQUIRE_ASYNC_MODULE\" ||\n // Node.js 13.0.0 throws ERR_REQUIRE_CYCLE_MODULE instead of\n // ERR_REQUIRE_ASYNC_MODULE when requiring a module a second time\n // https://github.com/nodejs/node/issues/55516\n // This `asyncModules` won't catch all of such cases, but it will\n // at least catch those caused by Babel trying to load a module twice.\n (e.code === \"ERR_REQUIRE_CYCLE_MODULE\" && asyncModules.has(filepath))\n ) {\n asyncModules.add(filepath);\n if (!(async ??= yield* isAsync())) {\n throw new ConfigError(tlaError, filepath);\n }\n // fall through: require() failed due to TLA\n } else if (\n e.code === \"ERR_REQUIRE_ESM\" ||\n (!process.env.BABEL_8_BREAKING && type === \"esm\")\n ) {\n // fall through: require() failed due to ESM\n } else {\n throw e;\n }\n }\n // fall through: require() failed due to ESM or TLA, try import()\n case \"auto esm\":\n if ((async ??= yield* isAsync())) {\n const promise = isTS\n ? ensureTsSupport(filepath, ext, () => loadMjsFromPath(filepath))\n : loadMjsFromPath(filepath);\n\n return (yield* waitFor(promise)).default;\n }\n if (isTS) {\n throw new ConfigError(tsNotSupportedError(ext), filepath);\n } else {\n throw new ConfigError(esmError, filepath);\n }\n default:\n throw new Error(\"Internal Babel error: unreachable code.\");\n }\n}\n\nfunction ensureTsSupport(\n filepath: string,\n ext: string,\n callback: () => T,\n): T {\n if (\n process.features.typescript ||\n require.extensions[\".ts\"] ||\n require.extensions[\".cts\"] ||\n require.extensions[\".mts\"]\n ) {\n return callback();\n }\n\n if (ext !== \".cts\") {\n throw new ConfigError(tsNotSupportedError(ext), filepath);\n }\n\n const opts: InputOptions = {\n babelrc: false,\n configFile: false,\n sourceType: \"unambiguous\",\n sourceMaps: \"inline\",\n sourceFileName: path.basename(filepath),\n presets: [\n [\n getTSPreset(filepath),\n {\n onlyRemoveTypeImports: true,\n optimizeConstEnums: true,\n ...(process.env.BABEL_8_BREAKING ? {} : { allowDeclareFields: true }),\n },\n ],\n ],\n };\n\n let handler: NodeJS.RequireExtensions[\"\"] = function (m, filename) {\n // If we want to support `.ts`, `.d.ts` must be handled specially.\n if (handler && filename.endsWith(\".cts\")) {\n try {\n // @ts-expect-error Undocumented API\n return m._compile(\n transformFileSync(filename, {\n ...opts,\n filename,\n }).code,\n filename,\n );\n } catch (error) {\n // TODO(Babel 8): Add this as an optional peer dependency\n // eslint-disable-next-line import/no-extraneous-dependencies\n const packageJson = require(\"@babel/preset-typescript/package.json\");\n if (semver.lt(packageJson.version, \"7.21.4\")) {\n console.error(\n \"`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`.\",\n );\n }\n throw error;\n }\n }\n return require.extensions[\".js\"](m, filename);\n };\n require.extensions[ext] = handler;\n\n try {\n return callback();\n } finally {\n if (require.extensions[ext] === handler) delete require.extensions[ext];\n handler = undefined;\n }\n}\n\nfunction getTSPreset(filepath: string) {\n try {\n // eslint-disable-next-line import/no-extraneous-dependencies\n return require(\"@babel/preset-typescript\");\n } catch (error) {\n if (error.code !== \"MODULE_NOT_FOUND\") throw error;\n\n let message =\n \"You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!\";\n\n if (!process.env.BABEL_8_BREAKING) {\n if (process.versions.pnp) {\n // Using Yarn PnP, which doesn't allow requiring packages that are not\n // explicitly specified as dependencies.\n message += `\nIf you are using Yarn Plug'n'Play, you may also need to add the following configuration to your .yarnrc.yml file:\n\npackageExtensions:\n\\t\"@babel/core@*\":\n\\t\\tpeerDependencies:\n\\t\\t\\t\"@babel/preset-typescript\": \"*\"\n`;\n }\n }\n\n throw new ConfigError(message, filepath);\n }\n}\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,SAAAC,MAAA;EAAA,MAAAC,IAAA,GAAAF,OAAA;EAAAC,KAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAC,KAAA;EAAA,MAAAD,IAAA,GAAAF,OAAA;EAAAG,IAAA,YAAAA,CAAA;IAAA,OAAAD,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACAF,OAAA;AACA,SAAAI,QAAA;EAAA,MAAAF,IAAA,GAAAF,OAAA;EAAAI,OAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,OAAA;EAAA,MAAAH,IAAA,GAAAF,OAAA;EAAAK,MAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAI,kBAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AAGA,IAAAQ,cAAA,GAAAR,OAAA;AAA4D,SAAAS,mBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,cAAAC,CAAA,GAAAP,CAAA,CAAAK,CAAA,EAAAC,CAAA,GAAAE,CAAA,GAAAD,CAAA,CAAAE,KAAA,WAAAT,CAAA,gBAAAE,CAAA,CAAAF,CAAA,KAAAO,CAAA,CAAAG,IAAA,GAAAT,CAAA,CAAAO,CAAA,IAAAG,OAAA,CAAAC,OAAA,CAAAJ,CAAA,EAAAK,IAAA,C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A,SAAS0C,WAAWA,CAACpD,QAAgB,EAAE;EACrC,IAAI;IAEF,OAAO3C,OAAO,CAAC,0BAA0B,CAAC;EAC5C,CAAC,CAAC,OAAO2G,KAAK,EAAE;IACd,IAAIA,KAAK,CAAC7B,IAAI,KAAK,kBAAkB,EAAE,MAAM6B,KAAK;IAElD,IAAIK,OAAO,GACT,yIAAyI;IAGzI,IAAI3E,OAAO,CAACC,QAAQ,CAAC2E,GAAG,EAAE;MAGxBD,OAAO,IAAI;AACnB;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;IACK;IAGF,MAAM,IAAIrD,oBAAW,CAACqD,OAAO,EAAErE,QAAQ,CAAC;EAC1C;AACF;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/package.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/package.js deleted file mode 100644 index eed8ab82..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/package.js +++ /dev/null @@ -1,61 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.findPackageData = findPackageData; -function _path() { - const data = require("path"); - _path = function () { - return data; - }; - return data; -} -var _utils = require("./utils.js"); -var _configError = require("../../errors/config-error.js"); -const PACKAGE_FILENAME = "package.json"; -const readConfigPackage = (0, _utils.makeStaticFileCache)((filepath, content) => { - let options; - try { - options = JSON.parse(content); - } catch (err) { - throw new _configError.default(`Error while parsing JSON - ${err.message}`, filepath); - } - if (!options) throw new Error(`${filepath}: No config detected`); - if (typeof options !== "object") { - throw new _configError.default(`Config returned typeof ${typeof options}`, filepath); - } - if (Array.isArray(options)) { - throw new _configError.default(`Expected config object but found array`, filepath); - } - return { - filepath, - dirname: _path().dirname(filepath), - options - }; -}); -function* findPackageData(filepath) { - let pkg = null; - const directories = []; - let isPackage = true; - let dirname = _path().dirname(filepath); - while (!pkg && _path().basename(dirname) !== "node_modules") { - directories.push(dirname); - pkg = yield* readConfigPackage(_path().join(dirname, PACKAGE_FILENAME)); - const nextLoc = _path().dirname(dirname); - if (dirname === nextLoc) { - isPackage = false; - break; - } - dirname = nextLoc; - } - return { - filepath, - directories, - pkg, - isPackage - }; -} -0 && 0; - -//# sourceMappingURL=package.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/package.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/package.js.map deleted file mode 100644 index 38aeb2c7..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/package.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_path","data","require","_utils","_configError","PACKAGE_FILENAME","readConfigPackage","makeStaticFileCache","filepath","content","options","JSON","parse","err","ConfigError","message","Error","Array","isArray","dirname","path","findPackageData","pkg","directories","isPackage","basename","push","join","nextLoc"],"sources":["../../../src/config/files/package.ts"],"sourcesContent":["import path from \"node:path\";\nimport type { Handler } from \"gensync\";\nimport { makeStaticFileCache } from \"./utils.ts\";\n\nimport type { ConfigFile, FilePackageData } from \"./types.ts\";\n\nimport ConfigError from \"../../errors/config-error.ts\";\n\nconst PACKAGE_FILENAME = \"package.json\";\n\nconst readConfigPackage = makeStaticFileCache(\n (filepath, content): ConfigFile => {\n let options;\n try {\n options = JSON.parse(content) as unknown;\n } catch (err) {\n throw new ConfigError(\n `Error while parsing JSON - ${err.message}`,\n filepath,\n );\n }\n\n if (!options) throw new Error(`${filepath}: No config detected`);\n\n if (typeof options !== \"object\") {\n throw new ConfigError(\n `Config returned typeof ${typeof options}`,\n filepath,\n );\n }\n if (Array.isArray(options)) {\n throw new ConfigError(`Expected config object but found array`, filepath);\n }\n\n return {\n filepath,\n dirname: path.dirname(filepath),\n options,\n };\n },\n);\n\n/**\n * Find metadata about the package that this file is inside of. Resolution\n * of Babel's config requires general package information to decide when to\n * search for .babelrc files\n */\nexport function* findPackageData(filepath: string): Handler {\n let pkg = null;\n const directories = [];\n let isPackage = true;\n\n let dirname = path.dirname(filepath);\n while (!pkg && path.basename(dirname) !== \"node_modules\") {\n directories.push(dirname);\n\n pkg = yield* readConfigPackage(path.join(dirname, PACKAGE_FILENAME));\n\n const nextLoc = path.dirname(dirname);\n if (dirname === nextLoc) {\n isPackage = false;\n break;\n }\n dirname = nextLoc;\n }\n\n return { filepath, directories, pkg, isPackage };\n}\n"],"mappings":";;;;;;AAAA,SAAAA,MAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,KAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAE,MAAA,GAAAD,OAAA;AAIA,IAAAE,YAAA,GAAAF,OAAA;AAEA,MAAMG,gBAAgB,GAAG,cAAc;AAEvC,MAAMC,iBAAiB,GAAG,IAAAC,0BAAmB,EAC3C,CAACC,QAAQ,EAAEC,OAAO,KAAiB;EACjC,IAAIC,OAAO;EACX,IAAI;IACFA,OAAO,GAAGC,IAAI,CAACC,KAAK,CAACH,OAAO,CAAY;EAC1C,CAAC,CAAC,OAAOI,GAAG,EAAE;IACZ,MAAM,IAAIC,oBAAW,CACnB,8BAA8BD,GAAG,CAACE,OAAO,EAAE,EAC3CP,QACF,CAAC;EACH;EAEA,IAAI,CAACE,OAAO,EAAE,MAAM,IAAIM,KAAK,CAAC,GAAGR,QAAQ,sBAAsB,CAAC;EAEhE,IAAI,OAAOE,OAAO,KAAK,QAAQ,EAAE;IAC/B,MAAM,IAAII,oBAAW,CACnB,0BAA0B,OAAOJ,OAAO,EAAE,EAC1CF,QACF,CAAC;EACH;EACA,IAAIS,KAAK,CAACC,OAAO,CAACR,OAAO,CAAC,EAAE;IAC1B,MAAM,IAAII,oBAAW,CAAC,wCAAwC,EAAEN,QAAQ,CAAC;EAC3E;EAEA,OAAO;IACLA,QAAQ;IACRW,OAAO,EAAEC,MAAGA,CAAC,CAACD,OAAO,CAACX,QAAQ,CAAC;IAC/BE;EACF,CAAC;AACH,CACF,CAAC;AAOM,UAAUW,eAAeA,CAACb,QAAgB,EAA4B;EAC3E,IAAIc,GAAG,GAAG,IAAI;EACd,MAAMC,WAAW,GAAG,EAAE;EACtB,IAAIC,SAAS,GAAG,IAAI;EAEpB,IAAIL,OAAO,GAAGC,MAAGA,CAAC,CAACD,OAAO,CAACX,QAAQ,CAAC;EACpC,OAAO,CAACc,GAAG,IAAIF,MAAGA,CAAC,CAACK,QAAQ,CAACN,OAAO,CAAC,KAAK,cAAc,EAAE;IACxDI,WAAW,CAACG,IAAI,CAACP,OAAO,CAAC;IAEzBG,GAAG,GAAG,OAAOhB,iBAAiB,CAACc,MAAGA,CAAC,CAACO,IAAI,CAACR,OAAO,EAAEd,gBAAgB,CAAC,CAAC;IAEpE,MAAMuB,OAAO,GAAGR,MAAGA,CAAC,CAACD,OAAO,CAACA,OAAO,CAAC;IACrC,IAAIA,OAAO,KAAKS,OAAO,EAAE;MACvBJ,SAAS,GAAG,KAAK;MACjB;IACF;IACAL,OAAO,GAAGS,OAAO;EACnB;EAEA,OAAO;IAAEpB,QAAQ;IAAEe,WAAW;IAAED,GAAG;IAAEE;EAAU,CAAC;AAClD;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/plugins.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/plugins.js deleted file mode 100644 index caad07f5..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/plugins.js +++ /dev/null @@ -1,220 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.loadPlugin = loadPlugin; -exports.loadPreset = loadPreset; -exports.resolvePreset = exports.resolvePlugin = void 0; -function _debug() { - const data = require("debug"); - _debug = function () { - return data; - }; - return data; -} -function _path() { - const data = require("path"); - _path = function () { - return data; - }; - return data; -} -var _async = require("../../gensync-utils/async.js"); -var _moduleTypes = require("./module-types.js"); -function _url() { - const data = require("url"); - _url = function () { - return data; - }; - return data; -} -var _importMetaResolve = require("../../vendor/import-meta-resolve.js"); -require("module"); -function _fs() { - const data = require("fs"); - _fs = function () { - return data; - }; - return data; -} -const debug = _debug()("babel:config:loading:files:plugins"); -const EXACT_RE = /^module:/; -const BABEL_PLUGIN_PREFIX_RE = /^(?!@|module:|[^/]+\/|babel-plugin-)/; -const BABEL_PRESET_PREFIX_RE = /^(?!@|module:|[^/]+\/|babel-preset-)/; -const BABEL_PLUGIN_ORG_RE = /^(@babel\/)(?!plugin-|[^/]+\/)/; -const BABEL_PRESET_ORG_RE = /^(@babel\/)(?!preset-|[^/]+\/)/; -const OTHER_PLUGIN_ORG_RE = /^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/; -const OTHER_PRESET_ORG_RE = /^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/; -const OTHER_ORG_DEFAULT_RE = /^(@(?!babel$)[^/]+)$/; -const resolvePlugin = exports.resolvePlugin = resolveStandardizedName.bind(null, "plugin"); -const resolvePreset = exports.resolvePreset = resolveStandardizedName.bind(null, "preset"); -function* loadPlugin(name, dirname) { - const { - filepath, - loader - } = resolvePlugin(name, dirname, yield* (0, _async.isAsync)()); - const value = yield* requireModule("plugin", loader, filepath); - debug("Loaded plugin %o from %o.", name, dirname); - return { - filepath, - value - }; -} -function* loadPreset(name, dirname) { - const { - filepath, - loader - } = resolvePreset(name, dirname, yield* (0, _async.isAsync)()); - const value = yield* requireModule("preset", loader, filepath); - debug("Loaded preset %o from %o.", name, dirname); - return { - filepath, - value - }; -} -function standardizeName(type, name) { - if (_path().isAbsolute(name)) return name; - const isPreset = type === "preset"; - return name.replace(isPreset ? BABEL_PRESET_PREFIX_RE : BABEL_PLUGIN_PREFIX_RE, `babel-${type}-`).replace(isPreset ? BABEL_PRESET_ORG_RE : BABEL_PLUGIN_ORG_RE, `$1${type}-`).replace(isPreset ? OTHER_PRESET_ORG_RE : OTHER_PLUGIN_ORG_RE, `$1babel-${type}-`).replace(OTHER_ORG_DEFAULT_RE, `$1/babel-${type}`).replace(EXACT_RE, ""); -} -function* resolveAlternativesHelper(type, name) { - const standardizedName = standardizeName(type, name); - const { - error, - value - } = yield standardizedName; - if (!error) return value; - if (error.code !== "MODULE_NOT_FOUND") throw error; - if (standardizedName !== name && !(yield name).error) { - error.message += `\n- If you want to resolve "${name}", use "module:${name}"`; - } - if (!(yield standardizeName(type, "@babel/" + name)).error) { - error.message += `\n- Did you mean "@babel/${name}"?`; - } - const oppositeType = type === "preset" ? "plugin" : "preset"; - if (!(yield standardizeName(oppositeType, name)).error) { - error.message += `\n- Did you accidentally pass a ${oppositeType} as a ${type}?`; - } - if (type === "plugin") { - const transformName = standardizedName.replace("-proposal-", "-transform-"); - if (transformName !== standardizedName && !(yield transformName).error) { - error.message += `\n- Did you mean "${transformName}"?`; - } - } - error.message += `\n -Make sure that all the Babel plugins and presets you are using -are defined as dependencies or devDependencies in your package.json -file. It's possible that the missing plugin is loaded by a preset -you are using that forgot to add the plugin to its dependencies: you -can workaround this problem by explicitly adding the missing package -to your top-level package.json. -`; - throw error; -} -function tryRequireResolve(id, dirname) { - try { - if (dirname) { - return { - error: null, - value: (((v, w) => (v = v.split("."), w = w.split("."), +v[0] > +w[0] || v[0] == w[0] && +v[1] >= +w[1]))(process.versions.node, "8.9") ? require.resolve : (r, { - paths: [b] - }, M = require("module")) => { - let f = M._findPath(r, M._nodeModulePaths(b).concat(b)); - if (f) return f; - f = new Error(`Cannot resolve module '${r}'`); - f.code = "MODULE_NOT_FOUND"; - throw f; - })(id, { - paths: [dirname] - }) - }; - } else { - return { - error: null, - value: require.resolve(id) - }; - } - } catch (error) { - return { - error, - value: null - }; - } -} -function tryImportMetaResolve(id, options) { - try { - return { - error: null, - value: (0, _importMetaResolve.resolve)(id, options) - }; - } catch (error) { - return { - error, - value: null - }; - } -} -function resolveStandardizedNameForRequire(type, name, dirname) { - const it = resolveAlternativesHelper(type, name); - let res = it.next(); - while (!res.done) { - res = it.next(tryRequireResolve(res.value, dirname)); - } - return { - loader: "require", - filepath: res.value - }; -} -function resolveStandardizedNameForImport(type, name, dirname) { - const parentUrl = (0, _url().pathToFileURL)(_path().join(dirname, "./babel-virtual-resolve-base.js")).href; - const it = resolveAlternativesHelper(type, name); - let res = it.next(); - while (!res.done) { - res = it.next(tryImportMetaResolve(res.value, parentUrl)); - } - return { - loader: "auto", - filepath: (0, _url().fileURLToPath)(res.value) - }; -} -function resolveStandardizedName(type, name, dirname, allowAsync) { - if (!_moduleTypes.supportsESM || !allowAsync) { - return resolveStandardizedNameForRequire(type, name, dirname); - } - try { - const resolved = resolveStandardizedNameForImport(type, name, dirname); - if (!(0, _fs().existsSync)(resolved.filepath)) { - throw Object.assign(new Error(`Could not resolve "${name}" in file ${dirname}.`), { - type: "MODULE_NOT_FOUND" - }); - } - return resolved; - } catch (e) { - try { - return resolveStandardizedNameForRequire(type, name, dirname); - } catch (e2) { - if (e.type === "MODULE_NOT_FOUND") throw e; - if (e2.type === "MODULE_NOT_FOUND") throw e2; - throw e; - } - } -} -var LOADING_MODULES = new Set(); -function* requireModule(type, loader, name) { - if (!(yield* (0, _async.isAsync)()) && LOADING_MODULES.has(name)) { - throw new Error(`Reentrant ${type} detected trying to load "${name}". This module is not ignored ` + "and is trying to load itself while compiling itself, leading to a dependency cycle. " + 'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.'); - } - try { - LOADING_MODULES.add(name); - return yield* (0, _moduleTypes.default)(name, loader, `You appear to be using a native ECMAScript module ${type}, ` + "which is only supported when running Babel asynchronously " + "or when using the Node.js `--experimental-require-module` flag.", `You appear to be using a ${type} that contains top-level await, ` + "which is only supported when running Babel asynchronously.", true); - } catch (err) { - err.message = `[BABEL]: ${err.message} (While processing: ${name})`; - throw err; - } finally { - LOADING_MODULES.delete(name); - } -} -0 && 0; - -//# sourceMappingURL=plugins.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/plugins.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/plugins.js.map deleted file mode 100644 index f3879e30..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/plugins.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_debug","data","require","_path","_async","_moduleTypes","_url","_importMetaResolve","_fs","debug","buildDebug","EXACT_RE","BABEL_PLUGIN_PREFIX_RE","BABEL_PRESET_PREFIX_RE","BABEL_PLUGIN_ORG_RE","BABEL_PRESET_ORG_RE","OTHER_PLUGIN_ORG_RE","OTHER_PRESET_ORG_RE","OTHER_ORG_DEFAULT_RE","resolvePlugin","exports","resolveStandardizedName","bind","resolvePreset","loadPlugin","name","dirname","filepath","loader","isAsync","value","requireModule","loadPreset","standardizeName","type","path","isAbsolute","isPreset","replace","resolveAlternativesHelper","standardizedName","error","code","message","oppositeType","transformName","tryRequireResolve","id","v","w","split","process","versions","node","resolve","r","paths","b","M","f","_findPath","_nodeModulePaths","concat","Error","tryImportMetaResolve","options","importMetaResolve","resolveStandardizedNameForRequire","it","res","next","done","resolveStandardizedNameForImport","parentUrl","pathToFileURL","join","href","fileURLToPath","allowAsync","supportsESM","resolved","existsSync","Object","assign","e","e2","LOADING_MODULES","Set","has","add","loadCodeDefault","err","delete"],"sources":["../../../src/config/files/plugins.ts"],"sourcesContent":["/**\n * This file handles all logic for converting string-based configuration references into loaded objects.\n */\n\nimport buildDebug from \"debug\";\nimport path from \"node:path\";\nimport type { Handler } from \"gensync\";\nimport { isAsync } from \"../../gensync-utils/async.ts\";\nimport loadCodeDefault, { supportsESM } from \"./module-types.ts\";\nimport { fileURLToPath, pathToFileURL } from \"node:url\";\n\nimport { resolve as importMetaResolve } from \"../../vendor/import-meta-resolve.js\";\n\nimport { createRequire } from \"node:module\";\nimport { existsSync } from \"node:fs\";\nconst require = createRequire(import.meta.url);\n\nconst debug = buildDebug(\"babel:config:loading:files:plugins\");\n\nconst EXACT_RE = /^module:/;\nconst BABEL_PLUGIN_PREFIX_RE = /^(?!@|module:|[^/]+\\/|babel-plugin-)/;\nconst BABEL_PRESET_PREFIX_RE = /^(?!@|module:|[^/]+\\/|babel-preset-)/;\nconst BABEL_PLUGIN_ORG_RE = /^(@babel\\/)(?!plugin-|[^/]+\\/)/;\nconst BABEL_PRESET_ORG_RE = /^(@babel\\/)(?!preset-|[^/]+\\/)/;\nconst OTHER_PLUGIN_ORG_RE =\n /^(@(?!babel\\/)[^/]+\\/)(?![^/]*babel-plugin(?:-|\\/|$)|[^/]+\\/)/;\nconst OTHER_PRESET_ORG_RE =\n /^(@(?!babel\\/)[^/]+\\/)(?![^/]*babel-preset(?:-|\\/|$)|[^/]+\\/)/;\nconst OTHER_ORG_DEFAULT_RE = /^(@(?!babel$)[^/]+)$/;\n\nexport const resolvePlugin = resolveStandardizedName.bind(null, \"plugin\");\nexport const resolvePreset = resolveStandardizedName.bind(null, \"preset\");\n\nexport function* loadPlugin(\n name: string,\n dirname: string,\n): Handler<{ filepath: string; value: unknown }> {\n const { filepath, loader } = resolvePlugin(name, dirname, yield* isAsync());\n\n const value = yield* requireModule(\"plugin\", loader, filepath);\n debug(\"Loaded plugin %o from %o.\", name, dirname);\n\n return { filepath, value };\n}\n\nexport function* loadPreset(\n name: string,\n dirname: string,\n): Handler<{ filepath: string; value: unknown }> {\n const { filepath, loader } = resolvePreset(name, dirname, yield* isAsync());\n\n const value = yield* requireModule(\"preset\", loader, filepath);\n\n debug(\"Loaded preset %o from %o.\", name, dirname);\n\n return { filepath, value };\n}\n\nfunction standardizeName(type: \"plugin\" | \"preset\", name: string) {\n // Let absolute and relative paths through.\n if (path.isAbsolute(name)) return name;\n\n const isPreset = type === \"preset\";\n\n return (\n name\n // foo -> babel-preset-foo\n .replace(\n isPreset ? BABEL_PRESET_PREFIX_RE : BABEL_PLUGIN_PREFIX_RE,\n `babel-${type}-`,\n )\n // @babel/es2015 -> @babel/preset-es2015\n .replace(\n isPreset ? BABEL_PRESET_ORG_RE : BABEL_PLUGIN_ORG_RE,\n `$1${type}-`,\n )\n // @foo/mypreset -> @foo/babel-preset-mypreset\n .replace(\n isPreset ? OTHER_PRESET_ORG_RE : OTHER_PLUGIN_ORG_RE,\n `$1babel-${type}-`,\n )\n // @foo -> @foo/babel-preset\n .replace(OTHER_ORG_DEFAULT_RE, `$1/babel-${type}`)\n // module:mypreset -> mypreset\n .replace(EXACT_RE, \"\")\n );\n}\n\ntype Result = { error: Error; value: null } | { error: null; value: T };\n\nfunction* resolveAlternativesHelper(\n type: \"plugin\" | \"preset\",\n name: string,\n): Iterator> {\n const standardizedName = standardizeName(type, name);\n const { error, value } = yield standardizedName;\n if (!error) return value;\n\n // @ts-expect-error code may not index error\n if (error.code !== \"MODULE_NOT_FOUND\") throw error;\n\n if (standardizedName !== name && !(yield name).error) {\n error.message += `\\n- If you want to resolve \"${name}\", use \"module:${name}\"`;\n }\n\n if (!(yield standardizeName(type, \"@babel/\" + name)).error) {\n error.message += `\\n- Did you mean \"@babel/${name}\"?`;\n }\n\n const oppositeType = type === \"preset\" ? \"plugin\" : \"preset\";\n if (!(yield standardizeName(oppositeType, name)).error) {\n error.message += `\\n- Did you accidentally pass a ${oppositeType} as a ${type}?`;\n }\n\n if (type === \"plugin\") {\n const transformName = standardizedName.replace(\"-proposal-\", \"-transform-\");\n if (transformName !== standardizedName && !(yield transformName).error) {\n error.message += `\\n- Did you mean \"${transformName}\"?`;\n }\n }\n\n error.message += `\\n\nMake sure that all the Babel plugins and presets you are using\nare defined as dependencies or devDependencies in your package.json\nfile. It's possible that the missing plugin is loaded by a preset\nyou are using that forgot to add the plugin to its dependencies: you\ncan workaround this problem by explicitly adding the missing package\nto your top-level package.json.\n`;\n\n throw error;\n}\n\nfunction tryRequireResolve(\n id: string,\n dirname: string | undefined,\n): Result {\n try {\n if (dirname) {\n return { error: null, value: require.resolve(id, { paths: [dirname] }) };\n } else {\n return { error: null, value: require.resolve(id) };\n }\n } catch (error) {\n return { error, value: null };\n }\n}\n\nfunction tryImportMetaResolve(\n id: Parameters[0],\n options: Parameters[1],\n): Result {\n try {\n return { error: null, value: importMetaResolve(id, options) };\n } catch (error) {\n return { error, value: null };\n }\n}\n\nfunction resolveStandardizedNameForRequire(\n type: \"plugin\" | \"preset\",\n name: string,\n dirname: string,\n) {\n const it = resolveAlternativesHelper(type, name);\n let res = it.next();\n while (!res.done) {\n res = it.next(tryRequireResolve(res.value, dirname));\n }\n return { loader: \"require\" as const, filepath: res.value };\n}\nfunction resolveStandardizedNameForImport(\n type: \"plugin\" | \"preset\",\n name: string,\n dirname: string,\n) {\n const parentUrl = pathToFileURL(\n path.join(dirname, \"./babel-virtual-resolve-base.js\"),\n ).href;\n\n const it = resolveAlternativesHelper(type, name);\n let res = it.next();\n while (!res.done) {\n res = it.next(tryImportMetaResolve(res.value, parentUrl));\n }\n return { loader: \"auto\" as const, filepath: fileURLToPath(res.value) };\n}\n\nfunction resolveStandardizedName(\n type: \"plugin\" | \"preset\",\n name: string,\n dirname: string,\n allowAsync: boolean,\n) {\n if (!supportsESM || !allowAsync) {\n return resolveStandardizedNameForRequire(type, name, dirname);\n }\n\n try {\n const resolved = resolveStandardizedNameForImport(type, name, dirname);\n // import-meta-resolve 4.0 does not throw if the module is not found.\n if (!existsSync(resolved.filepath)) {\n throw Object.assign(\n new Error(`Could not resolve \"${name}\" in file ${dirname}.`),\n { type: \"MODULE_NOT_FOUND\" },\n );\n }\n return resolved;\n } catch (e) {\n try {\n return resolveStandardizedNameForRequire(type, name, dirname);\n } catch (e2) {\n if (e.type === \"MODULE_NOT_FOUND\") throw e;\n if (e2.type === \"MODULE_NOT_FOUND\") throw e2;\n throw e;\n }\n }\n}\n\nif (!process.env.BABEL_8_BREAKING) {\n // eslint-disable-next-line no-var\n var LOADING_MODULES = new Set();\n}\nfunction* requireModule(\n type: string,\n loader: \"require\" | \"auto\",\n name: string,\n): Handler {\n if (!process.env.BABEL_8_BREAKING) {\n if (!(yield* isAsync()) && LOADING_MODULES.has(name)) {\n throw new Error(\n `Reentrant ${type} detected trying to load \"${name}\". This module is not ignored ` +\n \"and is trying to load itself while compiling itself, leading to a dependency cycle. \" +\n 'We recommend adding it to your \"ignore\" list in your babelrc, or to a .babelignore.',\n );\n }\n }\n\n try {\n if (!process.env.BABEL_8_BREAKING) {\n LOADING_MODULES.add(name);\n }\n\n if (process.env.BABEL_8_BREAKING) {\n return yield* loadCodeDefault(\n name,\n loader,\n `You appear to be using a native ECMAScript module ${type}, ` +\n \"which is only supported when running Babel asynchronously \" +\n \"or when using the Node.js `--experimental-require-module` flag.\",\n `You appear to be using a ${type} that contains top-level await, ` +\n \"which is only supported when running Babel asynchronously.\",\n );\n } else {\n return yield* loadCodeDefault(\n name,\n loader,\n `You appear to be using a native ECMAScript module ${type}, ` +\n \"which is only supported when running Babel asynchronously \" +\n \"or when using the Node.js `--experimental-require-module` flag.\",\n `You appear to be using a ${type} that contains top-level await, ` +\n \"which is only supported when running Babel asynchronously.\",\n // For backward compatibility, we need to support malformed presets\n // defined as separate named exports rather than a single default\n // export.\n // See packages/babel-core/test/fixtures/option-manager/presets/es2015_named.js\n // @ts-ignore(Babel 7 vs Babel 8) This param has been removed\n true,\n );\n }\n } catch (err) {\n err.message = `[BABEL]: ${err.message} (While processing: ${name})`;\n throw err;\n } finally {\n if (!process.env.BABEL_8_BREAKING) {\n LOADING_MODULES.delete(name);\n }\n }\n}\n"],"mappings":";;;;;;;;AAIA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,MAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,KAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAG,MAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,SAAAI,KAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,IAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;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--git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/types.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/types.js deleted file mode 100644 index 8fd1422a..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/types.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -0 && 0; - -//# sourceMappingURL=types.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/types.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/types.js.map deleted file mode 100644 index a2ac40bc..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/types.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":[],"sources":["../../../src/config/files/types.ts"],"sourcesContent":["import type { InputOptions } from \"../index.ts\";\n\nexport type ConfigFile = {\n filepath: string;\n dirname: string;\n options: InputOptions & { babel?: unknown };\n};\n\nexport type IgnoreFile = {\n filepath: string;\n dirname: string;\n ignore: RegExp[];\n};\n\nexport type RelativeConfig = {\n // The actual config, either from package.json#babel, .babelrc, or\n // .babelrc.js, if there was one.\n config: ConfigFile | null;\n // The .babelignore, if there was one.\n ignore: IgnoreFile | null;\n};\n\nexport type FilePackageData = {\n // The file in the package.\n filepath: string;\n // Any ancestor directories of the file that are within the package.\n directories: string[];\n // The contents of the package.json. May not be found if the package just\n // terminated at a node_modules folder without finding one.\n pkg: ConfigFile | null;\n // True if a package.json or node_modules folder was found while traversing\n // the directory structure.\n isPackage: boolean;\n};\n"],"mappings":"","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/utils.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/utils.js deleted file mode 100644 index 406aab9f..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/utils.js +++ /dev/null @@ -1,36 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.makeStaticFileCache = makeStaticFileCache; -var _caching = require("../caching.js"); -var fs = require("../../gensync-utils/fs.js"); -function _fs2() { - const data = require("fs"); - _fs2 = function () { - return data; - }; - return data; -} -function makeStaticFileCache(fn) { - return (0, _caching.makeStrongCache)(function* (filepath, cache) { - const cached = cache.invalidate(() => fileMtime(filepath)); - if (cached === null) { - return null; - } - return fn(filepath, yield* fs.readFile(filepath, "utf8")); - }); -} -function fileMtime(filepath) { - if (!_fs2().existsSync(filepath)) return null; - try { - return +_fs2().statSync(filepath).mtime; - } catch (e) { - if (e.code !== "ENOENT" && e.code !== "ENOTDIR") throw e; - } - return null; -} -0 && 0; - -//# sourceMappingURL=utils.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/utils.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/utils.js.map deleted file mode 100644 index f3be2259..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/files/utils.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_caching","require","fs","_fs2","data","makeStaticFileCache","fn","makeStrongCache","filepath","cache","cached","invalidate","fileMtime","readFile","nodeFs","existsSync","statSync","mtime","e","code"],"sources":["../../../src/config/files/utils.ts"],"sourcesContent":["import type { Handler } from \"gensync\";\n\nimport { makeStrongCache } from \"../caching.ts\";\nimport type { CacheConfigurator } from \"../caching.ts\";\nimport * as fs from \"../../gensync-utils/fs.ts\";\nimport nodeFs from \"node:fs\";\n\nexport function makeStaticFileCache(\n fn: (filepath: string, contents: string) => T,\n) {\n return makeStrongCache(function* (\n filepath: string,\n cache: CacheConfigurator,\n ): Handler {\n const cached = cache.invalidate(() => fileMtime(filepath));\n\n if (cached === null) {\n return null;\n }\n\n return fn(filepath, yield* fs.readFile(filepath, \"utf8\"));\n });\n}\n\nfunction fileMtime(filepath: string): number | null {\n if (!nodeFs.existsSync(filepath)) return null;\n\n try {\n return +nodeFs.statSync(filepath).mtime;\n } catch (e) {\n if (e.code !== \"ENOENT\" && e.code !== \"ENOTDIR\") throw e;\n }\n\n return null;\n}\n"],"mappings":";;;;;;AAEA,IAAAA,QAAA,GAAAC,OAAA;AAEA,IAAAC,EAAA,GAAAD,OAAA;AACA,SAAAE,KAAA;EAAA,MAAAC,IAAA,GAAAH,OAAA;EAAAE,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,SAASC,mBAAmBA,CACjCC,EAA6C,EAC7C;EACA,OAAO,IAAAC,wBAAe,EAAC,WACrBC,QAAgB,EAChBC,KAA8B,EACX;IACnB,MAAMC,MAAM,GAAGD,KAAK,CAACE,UAAU,CAAC,MAAMC,SAAS,CAACJ,QAAQ,CAAC,CAAC;IAE1D,IAAIE,MAAM,KAAK,IAAI,EAAE;MACnB,OAAO,IAAI;IACb;IAEA,OAAOJ,EAAE,CAACE,QAAQ,EAAE,OAAON,EAAE,CAACW,QAAQ,CAACL,QAAQ,EAAE,MAAM,CAAC,CAAC;EAC3D,CAAC,CAAC;AACJ;AAEA,SAASI,SAASA,CAACJ,QAAgB,EAAiB;EAClD,IAAI,CAACM,KAAKA,CAAC,CAACC,UAAU,CAACP,QAAQ,CAAC,EAAE,OAAO,IAAI;EAE7C,IAAI;IACF,OAAO,CAACM,KAAKA,CAAC,CAACE,QAAQ,CAACR,QAAQ,CAAC,CAACS,KAAK;EACzC,CAAC,CAAC,OAAOC,CAAC,EAAE;IACV,IAAIA,CAAC,CAACC,IAAI,KAAK,QAAQ,IAAID,CAAC,CAACC,IAAI,KAAK,SAAS,EAAE,MAAMD,CAAC;EAC1D;EAEA,OAAO,IAAI;AACb;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/full.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/full.js deleted file mode 100644 index 614caa98..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/full.js +++ /dev/null @@ -1,312 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -function _gensync() { - const data = require("gensync"); - _gensync = function () { - return data; - }; - return data; -} -var _async = require("../gensync-utils/async.js"); -var _util = require("./util.js"); -var context = require("../index.js"); -var _plugin = require("./plugin.js"); -var _item = require("./item.js"); -var _configChain = require("./config-chain.js"); -var _deepArray = require("./helpers/deep-array.js"); -function _traverse() { - const data = require("@babel/traverse"); - _traverse = function () { - return data; - }; - return data; -} -var _caching = require("./caching.js"); -var _options = require("./validation/options.js"); -var _plugins = require("./validation/plugins.js"); -var _configApi = require("./helpers/config-api.js"); -var _partial = require("./partial.js"); -var _configError = require("../errors/config-error.js"); -var _default = exports.default = _gensync()(function* loadFullConfig(inputOpts) { - var _opts$assumptions; - const result = yield* (0, _partial.default)(inputOpts); - if (!result) { - return null; - } - const { - options, - context, - fileHandling - } = result; - if (fileHandling === "ignored") { - return null; - } - const optionDefaults = {}; - const { - plugins, - presets - } = options; - if (!plugins || !presets) { - throw new Error("Assertion failure - plugins and presets exist"); - } - const presetContext = Object.assign({}, context, { - targets: options.targets - }); - const toDescriptor = item => { - const desc = (0, _item.getItemDescriptor)(item); - if (!desc) { - throw new Error("Assertion failure - must be config item"); - } - return desc; - }; - const presetsDescriptors = presets.map(toDescriptor); - const initialPluginsDescriptors = plugins.map(toDescriptor); - const pluginDescriptorsByPass = [[]]; - const passes = []; - const externalDependencies = []; - const ignored = yield* enhanceError(context, function* recursePresetDescriptors(rawPresets, pluginDescriptorsPass) { - const presets = []; - for (let i = 0; i < rawPresets.length; i++) { - const descriptor = rawPresets[i]; - if (descriptor.options !== false) { - try { - var preset = yield* loadPresetDescriptor(descriptor, presetContext); - } catch (e) { - if (e.code === "BABEL_UNKNOWN_OPTION") { - (0, _options.checkNoUnwrappedItemOptionPairs)(rawPresets, i, "preset", e); - } - throw e; - } - externalDependencies.push(preset.externalDependencies); - if (descriptor.ownPass) { - presets.push({ - preset: preset.chain, - pass: [] - }); - } else { - presets.unshift({ - preset: preset.chain, - pass: pluginDescriptorsPass - }); - } - } - } - if (presets.length > 0) { - pluginDescriptorsByPass.splice(1, 0, ...presets.map(o => o.pass).filter(p => p !== pluginDescriptorsPass)); - for (const { - preset, - pass - } of presets) { - if (!preset) return true; - pass.push(...preset.plugins); - const ignored = yield* recursePresetDescriptors(preset.presets, pass); - if (ignored) return true; - preset.options.forEach(opts => { - (0, _util.mergeOptions)(optionDefaults, opts); - }); - } - } - })(presetsDescriptors, pluginDescriptorsByPass[0]); - if (ignored) return null; - const opts = optionDefaults; - (0, _util.mergeOptions)(opts, options); - const pluginContext = Object.assign({}, presetContext, { - assumptions: (_opts$assumptions = opts.assumptions) != null ? _opts$assumptions : {} - }); - yield* enhanceError(context, function* loadPluginDescriptors() { - pluginDescriptorsByPass[0].unshift(...initialPluginsDescriptors); - for (const descs of pluginDescriptorsByPass) { - const pass = []; - passes.push(pass); - for (let i = 0; i < descs.length; i++) { - const descriptor = descs[i]; - if (descriptor.options !== false) { - try { - var plugin = yield* loadPluginDescriptor(descriptor, pluginContext); - } catch (e) { - if (e.code === "BABEL_UNKNOWN_PLUGIN_PROPERTY") { - (0, _options.checkNoUnwrappedItemOptionPairs)(descs, i, "plugin", e); - } - throw e; - } - pass.push(plugin); - externalDependencies.push(plugin.externalDependencies); - } - } - } - })(); - opts.plugins = passes[0]; - opts.presets = passes.slice(1).filter(plugins => plugins.length > 0).map(plugins => ({ - plugins - })); - opts.passPerPreset = opts.presets.length > 0; - return { - options: opts, - passes: passes, - externalDependencies: (0, _deepArray.finalize)(externalDependencies) - }; -}); -function enhanceError(context, fn) { - return function* (arg1, arg2) { - try { - return yield* fn(arg1, arg2); - } catch (e) { - if (!e.message.startsWith("[BABEL]")) { - var _context$filename; - e.message = `[BABEL] ${(_context$filename = context.filename) != null ? _context$filename : "unknown file"}: ${e.message}`; - } - throw e; - } - }; -} -const makeDescriptorLoader = apiFactory => (0, _caching.makeWeakCache)(function* ({ - value, - options, - dirname, - alias -}, cache) { - if (options === false) throw new Error("Assertion failure"); - options = options || {}; - const externalDependencies = []; - let item = value; - if (typeof value === "function") { - const factory = (0, _async.maybeAsync)(value, `You appear to be using an async plugin/preset, but Babel has been called synchronously`); - const api = Object.assign({}, context, apiFactory(cache, externalDependencies)); - try { - item = yield* factory(api, options, dirname); - } catch (e) { - if (alias) { - e.message += ` (While processing: ${JSON.stringify(alias)})`; - } - throw e; - } - } - if (!item || typeof item !== "object") { - throw new Error("Plugin/Preset did not return an object."); - } - if ((0, _async.isThenable)(item)) { - yield* []; - throw new Error(`You appear to be using a promise as a plugin, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, ` + `you may need to upgrade your @babel/core version. ` + `As an alternative, you can prefix the promise with "await". ` + `(While processing: ${JSON.stringify(alias)})`); - } - if (externalDependencies.length > 0 && (!cache.configured() || cache.mode() === "forever")) { - let error = `A plugin/preset has external untracked dependencies ` + `(${externalDependencies[0]}), but the cache `; - if (!cache.configured()) { - error += `has not been configured to be invalidated when the external dependencies change. `; - } else { - error += ` has been configured to never be invalidated. `; - } - error += `Plugins/presets should configure their cache to be invalidated when the external ` + `dependencies change, for example using \`api.cache.invalidate(() => ` + `statSync(filepath).mtimeMs)\` or \`api.cache.never()\`\n` + `(While processing: ${JSON.stringify(alias)})`; - throw new Error(error); - } - return { - value: item, - options, - dirname, - alias, - externalDependencies: (0, _deepArray.finalize)(externalDependencies) - }; -}); -const pluginDescriptorLoader = makeDescriptorLoader(_configApi.makePluginAPI); -const presetDescriptorLoader = makeDescriptorLoader(_configApi.makePresetAPI); -const instantiatePlugin = (0, _caching.makeWeakCache)(function* ({ - value, - options, - dirname, - alias, - externalDependencies -}, cache) { - const pluginObj = (0, _plugins.validatePluginObject)(value); - const plugin = Object.assign({}, pluginObj); - if (plugin.visitor) { - plugin.visitor = _traverse().default.explode(Object.assign({}, plugin.visitor)); - } - if (plugin.inherits) { - const inheritsDescriptor = { - name: undefined, - alias: `${alias}$inherits`, - value: plugin.inherits, - options, - dirname - }; - const inherits = yield* (0, _async.forwardAsync)(loadPluginDescriptor, run => { - return cache.invalidate(data => run(inheritsDescriptor, data)); - }); - plugin.pre = chainMaybeAsync(inherits.pre, plugin.pre); - plugin.post = chainMaybeAsync(inherits.post, plugin.post); - plugin.manipulateOptions = chainMaybeAsync(inherits.manipulateOptions, plugin.manipulateOptions); - plugin.visitor = _traverse().default.visitors.merge([inherits.visitor || {}, plugin.visitor || {}]); - if (inherits.externalDependencies.length > 0) { - if (externalDependencies.length === 0) { - externalDependencies = inherits.externalDependencies; - } else { - externalDependencies = (0, _deepArray.finalize)([externalDependencies, inherits.externalDependencies]); - } - } - } - return new _plugin.default(plugin, options, alias, externalDependencies); -}); -function* loadPluginDescriptor(descriptor, context) { - if (descriptor.value instanceof _plugin.default) { - if (descriptor.options) { - throw new Error("Passed options to an existing Plugin instance will not work."); - } - return descriptor.value; - } - return yield* instantiatePlugin(yield* pluginDescriptorLoader(descriptor, context), context); -} -const needsFilename = val => val && typeof val !== "function"; -const validateIfOptionNeedsFilename = (options, descriptor) => { - if (needsFilename(options.test) || needsFilename(options.include) || needsFilename(options.exclude)) { - const formattedPresetName = descriptor.name ? `"${descriptor.name}"` : "/* your preset */"; - throw new _configError.default([`Preset ${formattedPresetName} requires a filename to be set when babel is called directly,`, `\`\`\``, `babel.transformSync(code, { filename: 'file.ts', presets: [${formattedPresetName}] });`, `\`\`\``, `See https://babeljs.io/docs/en/options#filename for more information.`].join("\n")); - } -}; -const validatePreset = (preset, context, descriptor) => { - if (!context.filename) { - var _options$overrides; - const { - options - } = preset; - validateIfOptionNeedsFilename(options, descriptor); - (_options$overrides = options.overrides) == null || _options$overrides.forEach(overrideOptions => validateIfOptionNeedsFilename(overrideOptions, descriptor)); - } -}; -const instantiatePreset = (0, _caching.makeWeakCacheSync)(({ - value, - dirname, - alias, - externalDependencies -}) => { - return { - options: (0, _options.validate)("preset", value), - alias, - dirname, - externalDependencies - }; -}); -function* loadPresetDescriptor(descriptor, context) { - const preset = instantiatePreset(yield* presetDescriptorLoader(descriptor, context)); - validatePreset(preset, context, descriptor); - return { - chain: yield* (0, _configChain.buildPresetChain)(preset, context), - externalDependencies: preset.externalDependencies - }; -} -function chainMaybeAsync(a, b) { - if (!a) return b; - if (!b) return a; - return function (...args) { - const res = a.apply(this, args); - if (res && typeof res.then === "function") { - return res.then(() => b.apply(this, args)); - } - return b.apply(this, args); - }; -} -0 && 0; - -//# sourceMappingURL=full.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/full.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/full.js.map deleted file mode 100644 index 55e99b8f..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/full.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_gensync","data","require","_async","_util","context","_plugin","_item","_configChain","_deepArray","_traverse","_caching","_options","_plugins","_configApi","_partial","_configError","_default","exports","default","gensync","loadFullConfig","inputOpts","_opts$assumptions","result","loadPrivatePartialConfig","options","fileHandling","optionDefaults","plugins","presets","Error","presetContext","Object","assign","targets","toDescriptor","item","desc","getItemDescriptor","presetsDescriptors","map","initialPluginsDescriptors","pluginDescriptorsByPass","passes","externalDependencies","ignored","enhanceError","recursePresetDescriptors","rawPresets","pluginDescriptorsPass","i","length","descriptor","preset","loadPresetDescriptor","e","code","checkNoUnwrappedItemOptionPairs","push","ownPass","chain","pass","unshift","splice","o","filter","p","forEach","opts","mergeOptions","pluginContext","assumptions","loadPluginDescriptors","descs","plugin","loadPluginDescriptor","slice","passPerPreset","freezeDeepArray","fn","arg1","arg2","message","startsWith","_context$filename","filename","makeDescriptorLoader","apiFactory","makeWeakCache","value","dirname","alias","cache","factory","maybeAsync","api","JSON","stringify","isThenable","configured","mode","error","pluginDescriptorLoader","makePluginAPI","presetDescriptorLoader","makePresetAPI","instantiatePlugin","pluginObj","validatePluginObject","visitor","traverse","explode","inherits","inheritsDescriptor","name","undefined","forwardAsync","run","invalidate","pre","chainMaybeAsync","post","manipulateOptions","visitors","merge","Plugin","needsFilename","val","validateIfOptionNeedsFilename","test","include","exclude","formattedPresetName","ConfigError","join","validatePreset","_options$overrides","overrides","overrideOptions","instantiatePreset","makeWeakCacheSync","validate","buildPresetChain","a","b","args","res","apply","then"],"sources":["../../src/config/full.ts"],"sourcesContent":["import gensync, { type Handler } from \"gensync\";\nimport {\n forwardAsync,\n maybeAsync,\n isThenable,\n} from \"../gensync-utils/async.ts\";\n\nimport { mergeOptions } from \"./util.ts\";\nimport * as context from \"../index.ts\";\nimport Plugin from \"./plugin.ts\";\nimport { getItemDescriptor } from \"./item.ts\";\nimport { buildPresetChain } from \"./config-chain.ts\";\nimport { finalize as freezeDeepArray } from \"./helpers/deep-array.ts\";\nimport type { DeepArray, ReadonlyDeepArray } from \"./helpers/deep-array.ts\";\nimport type {\n ConfigContext,\n ConfigChain,\n PresetInstance,\n} from \"./config-chain.ts\";\nimport type { UnloadedDescriptor } from \"./config-descriptors.ts\";\nimport traverse from \"@babel/traverse\";\nimport { makeWeakCache, makeWeakCacheSync } from \"./caching.ts\";\nimport type { CacheConfigurator } from \"./caching.ts\";\nimport {\n validate,\n checkNoUnwrappedItemOptionPairs,\n} from \"./validation/options.ts\";\nimport type { InputOptions, PluginItem } from \"./validation/options.ts\";\nimport { validatePluginObject } from \"./validation/plugins.ts\";\nimport { makePluginAPI, makePresetAPI } from \"./helpers/config-api.ts\";\nimport type { PluginAPI, PresetAPI } from \"./helpers/config-api.ts\";\n\nimport loadPrivatePartialConfig from \"./partial.ts\";\nimport type { ResolvedOptions } from \"./validation/options.ts\";\n\nimport type * as Context from \"./cache-contexts.ts\";\nimport ConfigError from \"../errors/config-error.ts\";\n\ntype LoadedDescriptor = {\n value: any;\n options: object;\n dirname: string;\n alias: string;\n externalDependencies: ReadonlyDeepArray;\n};\n\nexport type { InputOptions } from \"./validation/options.ts\";\n\nexport type ResolvedConfig = {\n options: ResolvedOptions;\n passes: PluginPasses;\n externalDependencies: ReadonlyDeepArray;\n};\n\nexport type { Plugin };\nexport type PluginPassList = Plugin[];\nexport type PluginPasses = PluginPassList[];\n\nexport default gensync(function* loadFullConfig(\n inputOpts: InputOptions,\n): Handler {\n const result = yield* loadPrivatePartialConfig(inputOpts);\n if (!result) {\n return null;\n }\n const { options, context, fileHandling } = result;\n\n if (fileHandling === \"ignored\") {\n return null;\n }\n\n const optionDefaults = {};\n\n const { plugins, presets } = options;\n\n if (!plugins || !presets) {\n throw new Error(\"Assertion failure - plugins and presets exist\");\n }\n\n const presetContext: Context.FullPreset = {\n ...context,\n targets: options.targets,\n };\n\n const toDescriptor = (item: PluginItem) => {\n const desc = getItemDescriptor(item);\n if (!desc) {\n throw new Error(\"Assertion failure - must be config item\");\n }\n\n return desc;\n };\n\n const presetsDescriptors = presets.map(toDescriptor);\n const initialPluginsDescriptors = plugins.map(toDescriptor);\n const pluginDescriptorsByPass: UnloadedDescriptor[][] = [[]];\n const passes: Plugin[][] = [];\n\n const externalDependencies: DeepArray = [];\n\n const ignored = yield* enhanceError(\n context,\n function* recursePresetDescriptors(\n rawPresets: UnloadedDescriptor[],\n pluginDescriptorsPass: UnloadedDescriptor[],\n ): Handler {\n const presets: {\n preset: ConfigChain | null;\n pass: UnloadedDescriptor[];\n }[] = [];\n\n for (let i = 0; i < rawPresets.length; i++) {\n const descriptor = rawPresets[i];\n // @ts-expect-error TODO: disallow false\n if (descriptor.options !== false) {\n try {\n // eslint-disable-next-line no-var\n var preset = yield* loadPresetDescriptor(descriptor, presetContext);\n } catch (e) {\n if (e.code === \"BABEL_UNKNOWN_OPTION\") {\n checkNoUnwrappedItemOptionPairs(rawPresets, i, \"preset\", e);\n }\n throw e;\n }\n\n externalDependencies.push(preset.externalDependencies);\n\n // Presets normally run in reverse order, but if they\n // have their own pass they run after the presets\n // in the previous pass.\n if (descriptor.ownPass) {\n presets.push({ preset: preset.chain, pass: [] });\n } else {\n presets.unshift({\n preset: preset.chain,\n pass: pluginDescriptorsPass,\n });\n }\n }\n }\n\n // resolve presets\n if (presets.length > 0) {\n // The passes are created in the same order as the preset list, but are inserted before any\n // existing additional passes.\n pluginDescriptorsByPass.splice(\n 1,\n 0,\n ...presets.map(o => o.pass).filter(p => p !== pluginDescriptorsPass),\n );\n\n for (const { preset, pass } of presets) {\n if (!preset) return true;\n\n pass.push(...preset.plugins);\n\n const ignored = yield* recursePresetDescriptors(preset.presets, pass);\n if (ignored) return true;\n\n preset.options.forEach(opts => {\n mergeOptions(optionDefaults, opts);\n });\n }\n }\n },\n )(presetsDescriptors, pluginDescriptorsByPass[0]);\n\n if (ignored) return null;\n\n const opts = optionDefaults as ResolvedOptions;\n mergeOptions(opts, options);\n\n const pluginContext: Context.FullPlugin = {\n ...presetContext,\n assumptions: opts.assumptions ?? {},\n };\n\n yield* enhanceError(context, function* loadPluginDescriptors() {\n pluginDescriptorsByPass[0].unshift(...initialPluginsDescriptors);\n\n for (const descs of pluginDescriptorsByPass) {\n const pass: Plugin[] = [];\n passes.push(pass);\n\n for (let i = 0; i < descs.length; i++) {\n const descriptor = descs[i];\n // @ts-expect-error TODO: disallow false\n if (descriptor.options !== false) {\n try {\n // eslint-disable-next-line no-var\n var plugin = yield* loadPluginDescriptor(descriptor, pluginContext);\n } catch (e) {\n if (e.code === \"BABEL_UNKNOWN_PLUGIN_PROPERTY\") {\n // print special message for `plugins: [\"@babel/foo\", { foo: \"option\" }]`\n checkNoUnwrappedItemOptionPairs(descs, i, \"plugin\", e);\n }\n throw e;\n }\n pass.push(plugin);\n\n externalDependencies.push(plugin.externalDependencies);\n }\n }\n }\n })();\n\n opts.plugins = passes[0];\n opts.presets = passes\n .slice(1)\n .filter(plugins => plugins.length > 0)\n .map(plugins => ({ plugins }));\n opts.passPerPreset = opts.presets.length > 0;\n\n return {\n options: opts,\n passes: passes,\n externalDependencies: freezeDeepArray(externalDependencies),\n };\n});\n\nfunction enhanceError(context: ConfigContext, fn: T): T {\n return function* (arg1: unknown, arg2: unknown) {\n try {\n return yield* fn(arg1, arg2);\n } catch (e) {\n // There are a few case where thrown errors will try to annotate themselves multiple times, so\n // to keep things simple we just bail out if re-wrapping the message.\n if (!e.message.startsWith(\"[BABEL]\")) {\n e.message = `[BABEL] ${context.filename ?? \"unknown file\"}: ${\n e.message\n }`;\n }\n\n throw e;\n }\n } as any;\n}\n\n/**\n * Load a generic plugin/preset from the given descriptor loaded from the config object.\n */\nconst makeDescriptorLoader = (\n apiFactory: (\n cache: CacheConfigurator,\n externalDependencies: string[],\n ) => API,\n) =>\n makeWeakCache(function* (\n { value, options, dirname, alias }: UnloadedDescriptor,\n cache: CacheConfigurator,\n ): Handler {\n // Disabled presets should already have been filtered out\n // @ts-expect-error expected\n if (options === false) throw new Error(\"Assertion failure\");\n\n options = options || {};\n\n const externalDependencies: string[] = [];\n\n let item: unknown = value;\n if (typeof value === \"function\") {\n const factory = maybeAsync(\n value as (api: API, options: object, dirname: string) => unknown,\n `You appear to be using an async plugin/preset, but Babel has been called synchronously`,\n );\n\n const api = {\n ...context,\n ...apiFactory(cache, externalDependencies),\n };\n try {\n item = yield* factory(api, options, dirname);\n } catch (e) {\n if (alias) {\n e.message += ` (While processing: ${JSON.stringify(alias)})`;\n }\n throw e;\n }\n }\n\n if (!item || typeof item !== \"object\") {\n throw new Error(\"Plugin/Preset did not return an object.\");\n }\n\n if (isThenable(item)) {\n // if we want to support async plugins\n yield* [];\n\n throw new Error(\n `You appear to be using a promise as a plugin, ` +\n `which your current version of Babel does not support. ` +\n `If you're using a published plugin, ` +\n `you may need to upgrade your @babel/core version. ` +\n `As an alternative, you can prefix the promise with \"await\". ` +\n `(While processing: ${JSON.stringify(alias)})`,\n );\n }\n\n if (\n externalDependencies.length > 0 &&\n (!cache.configured() || cache.mode() === \"forever\")\n ) {\n let error =\n `A plugin/preset has external untracked dependencies ` +\n `(${externalDependencies[0]}), but the cache `;\n if (!cache.configured()) {\n error += `has not been configured to be invalidated when the external dependencies change. `;\n } else {\n error += ` has been configured to never be invalidated. `;\n }\n error +=\n `Plugins/presets should configure their cache to be invalidated when the external ` +\n `dependencies change, for example using \\`api.cache.invalidate(() => ` +\n `statSync(filepath).mtimeMs)\\` or \\`api.cache.never()\\`\\n` +\n `(While processing: ${JSON.stringify(alias)})`;\n\n throw new Error(error);\n }\n\n return {\n value: item,\n options,\n dirname,\n alias,\n externalDependencies: freezeDeepArray(externalDependencies),\n };\n });\n\nconst pluginDescriptorLoader = makeDescriptorLoader<\n Context.SimplePlugin,\n PluginAPI\n>(makePluginAPI);\nconst presetDescriptorLoader = makeDescriptorLoader<\n Context.SimplePreset,\n PresetAPI\n>(makePresetAPI);\n\nconst instantiatePlugin = makeWeakCache(function* (\n { value, options, dirname, alias, externalDependencies }: LoadedDescriptor,\n cache: CacheConfigurator,\n): Handler {\n const pluginObj = validatePluginObject(value);\n\n const plugin = {\n ...pluginObj,\n };\n if (plugin.visitor) {\n plugin.visitor = traverse.explode({\n ...plugin.visitor,\n });\n }\n\n if (plugin.inherits) {\n const inheritsDescriptor: UnloadedDescriptor = {\n name: undefined,\n alias: `${alias}$inherits`,\n value: plugin.inherits,\n options,\n dirname,\n };\n\n const inherits = yield* forwardAsync(loadPluginDescriptor, run => {\n // If the inherited plugin changes, reinstantiate this plugin.\n return cache.invalidate(data => run(inheritsDescriptor, data));\n });\n\n plugin.pre = chainMaybeAsync(inherits.pre, plugin.pre);\n plugin.post = chainMaybeAsync(inherits.post, plugin.post);\n plugin.manipulateOptions = chainMaybeAsync(\n inherits.manipulateOptions,\n plugin.manipulateOptions,\n );\n plugin.visitor = traverse.visitors.merge([\n inherits.visitor || {},\n plugin.visitor || {},\n ]);\n\n if (inherits.externalDependencies.length > 0) {\n if (externalDependencies.length === 0) {\n externalDependencies = inherits.externalDependencies;\n } else {\n externalDependencies = freezeDeepArray([\n externalDependencies,\n inherits.externalDependencies,\n ]);\n }\n }\n }\n\n return new Plugin(plugin, options, alias, externalDependencies);\n});\n\n/**\n * Instantiate a plugin for the given descriptor, returning the plugin/options pair.\n */\nfunction* loadPluginDescriptor(\n descriptor: UnloadedDescriptor,\n context: Context.SimplePlugin,\n): Handler {\n if (descriptor.value instanceof Plugin) {\n if (descriptor.options) {\n throw new Error(\n \"Passed options to an existing Plugin instance will not work.\",\n );\n }\n\n return descriptor.value;\n }\n\n return yield* instantiatePlugin(\n yield* pluginDescriptorLoader(descriptor, context),\n context,\n );\n}\n\nconst needsFilename = (val: unknown) => val && typeof val !== \"function\";\n\nconst validateIfOptionNeedsFilename = (\n options: InputOptions,\n descriptor: UnloadedDescriptor,\n): void => {\n if (\n needsFilename(options.test) ||\n needsFilename(options.include) ||\n needsFilename(options.exclude)\n ) {\n const formattedPresetName = descriptor.name\n ? `\"${descriptor.name}\"`\n : \"/* your preset */\";\n throw new ConfigError(\n [\n `Preset ${formattedPresetName} requires a filename to be set when babel is called directly,`,\n `\\`\\`\\``,\n `babel.transformSync(code, { filename: 'file.ts', presets: [${formattedPresetName}] });`,\n `\\`\\`\\``,\n `See https://babeljs.io/docs/en/options#filename for more information.`,\n ].join(\"\\n\"),\n );\n }\n};\n\nconst validatePreset = (\n preset: PresetInstance,\n context: ConfigContext,\n descriptor: UnloadedDescriptor,\n): void => {\n if (!context.filename) {\n const { options } = preset;\n validateIfOptionNeedsFilename(options, descriptor);\n options.overrides?.forEach(overrideOptions =>\n validateIfOptionNeedsFilename(overrideOptions, descriptor),\n );\n }\n};\n\nconst instantiatePreset = makeWeakCacheSync(\n ({\n value,\n dirname,\n alias,\n externalDependencies,\n }: LoadedDescriptor): PresetInstance => {\n return {\n options: validate(\"preset\", value),\n alias,\n dirname,\n externalDependencies,\n };\n },\n);\n\n/**\n * Generate a config object that will act as the root of a new nested config.\n */\nfunction* loadPresetDescriptor(\n descriptor: UnloadedDescriptor,\n context: Context.FullPreset,\n): Handler<{\n chain: ConfigChain | null;\n externalDependencies: ReadonlyDeepArray;\n}> {\n const preset = instantiatePreset(\n yield* presetDescriptorLoader(descriptor, context),\n );\n validatePreset(preset, context, descriptor);\n return {\n chain: yield* buildPresetChain(preset, context),\n externalDependencies: preset.externalDependencies,\n };\n}\n\nfunction chainMaybeAsync>(\n a: undefined | ((...args: Args) => R),\n b: undefined | ((...args: Args) => R),\n): (...args: Args) => R {\n if (!a) return b;\n if (!b) return a;\n\n return function (this: unknown, ...args: Args) {\n const res = a.apply(this, args);\n if (res && typeof res.then === \"function\") {\n return res.then(() => b.apply(this, args));\n }\n return b.apply(this, args);\n } as (...args: Args) => R;\n}\n"],"mappings":";;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,IAAAE,MAAA,GAAAD,OAAA;AAMA,IAAAE,KAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAL,OAAA;AACA,IAAAM,YAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AAQA,SAAAQ,UAAA;EAAA,MAAAT,IAAA,GAAAC,OAAA;EAAAQ,SAAA,YAAAA,CAAA;IAAA,OAAAT,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,IAAAU,QAAA,GAAAT,OAAA;AAEA,IAAAU,QAAA,GAAAV,OAAA;AAKA,IAAAW,QAAA,GAAAX,OAAA;AACA,IAAAY,UAAA,GAAAZ,OAAA;AAGA,IAAAa,QAAA,GAAAb,OAAA;AAIA,IAAAc,YAAA,GAAAd,OAAA;AAAoD,IAAAe,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAsBrCC,SAAMA,CAAC,CAAC,UAAUC,cAAcA,CAC7CC,SAAuB,EACS;EAAA,IAAAC,iBAAA;EAChC,MAAMC,MAAM,GAAG,OAAO,IAAAC,gBAAwB,EAACH,SAAS,CAAC;EACzD,IAAI,CAACE,MAAM,EAAE;IACX,OAAO,IAAI;EACb;EACA,MAAM;IAAEE,OAAO;IAAErB,OAAO;IAAEsB;EAAa,CAAC,GAAGH,MAAM;EAEjD,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of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/config-api.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/config-api.js deleted file mode 100644 index 192ebcf7..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/config-api.js +++ /dev/null @@ -1,85 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.makeConfigAPI = makeConfigAPI; -exports.makePluginAPI = makePluginAPI; -exports.makePresetAPI = makePresetAPI; -function _semver() { - const data = require("semver"); - _semver = function () { - return data; - }; - return data; -} -var _index = require("../../index.js"); -var _caching = require("../caching.js"); -function makeConfigAPI(cache) { - const env = value => cache.using(data => { - if (value === undefined) return data.envName; - if (typeof value === "function") { - return (0, _caching.assertSimpleType)(value(data.envName)); - } - return (Array.isArray(value) ? value : [value]).some(entry => { - if (typeof entry !== "string") { - throw new Error("Unexpected non-string value"); - } - return entry === data.envName; - }); - }); - const caller = cb => cache.using(data => (0, _caching.assertSimpleType)(cb(data.caller))); - return { - version: _index.version, - cache: cache.simple(), - env, - async: () => false, - caller, - assertVersion - }; -} -function makePresetAPI(cache, externalDependencies) { - const targets = () => JSON.parse(cache.using(data => JSON.stringify(data.targets))); - const addExternalDependency = ref => { - externalDependencies.push(ref); - }; - return Object.assign({}, makeConfigAPI(cache), { - targets, - addExternalDependency - }); -} -function makePluginAPI(cache, externalDependencies) { - const assumption = name => cache.using(data => data.assumptions[name]); - return Object.assign({}, makePresetAPI(cache, externalDependencies), { - assumption - }); -} -function assertVersion(range) { - if (typeof range === "number") { - if (!Number.isInteger(range)) { - throw new Error("Expected string or integer value."); - } - range = `^${range}.0.0-0`; - } - if (typeof range !== "string") { - throw new Error("Expected string or integer value."); - } - if (range === "*" || _semver().satisfies(_index.version, range)) return; - const message = `Requires Babel "${range}", but was loaded with "${_index.version}". ` + `If you are sure you have a compatible version of @babel/core, ` + `it is likely that something in your build process is loading the ` + `wrong version. Inspect the stack trace of this error to look for ` + `the first entry that doesn't mention "@babel/core" or "babel-core" ` + `to see what is calling Babel.`; - const limit = Error.stackTraceLimit; - if (typeof limit === "number" && limit < 25) { - Error.stackTraceLimit = 25; - } - const err = new Error(message); - if (typeof limit === "number") { - Error.stackTraceLimit = limit; - } - throw Object.assign(err, { - code: "BABEL_VERSION_UNSUPPORTED", - version: _index.version, - range - }); -} -0 && 0; - -//# sourceMappingURL=config-api.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/config-api.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/config-api.js.map deleted file mode 100644 index b88d9f73..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/config-api.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_semver","data","require","_index","_caching","makeConfigAPI","cache","env","value","using","undefined","envName","assertSimpleType","Array","isArray","some","entry","Error","caller","cb","version","coreVersion","simple","async","assertVersion","makePresetAPI","externalDependencies","targets","JSON","parse","stringify","addExternalDependency","ref","push","Object","assign","makePluginAPI","assumption","name","assumptions","range","Number","isInteger","semver","satisfies","message","limit","stackTraceLimit","err","code"],"sources":["../../../src/config/helpers/config-api.ts"],"sourcesContent":["import semver from \"semver\";\nimport type { Targets } from \"@babel/helper-compilation-targets\";\n\nimport { version as coreVersion } from \"../../index.ts\";\nimport { assertSimpleType } from \"../caching.ts\";\nimport type {\n CacheConfigurator,\n SimpleCacheConfigurator,\n SimpleType,\n} from \"../caching.ts\";\n\nimport type {\n AssumptionName,\n CallerMetadata,\n InputOptions,\n} from \"../validation/options.ts\";\n\nimport type * as Context from \"../cache-contexts\";\n\ntype EnvName = NonNullable;\ntype EnvFunction = {\n (): string;\n (extractor: (envName: EnvName) => T): T;\n (envVar: string): boolean;\n (envVars: string[]): boolean;\n};\n\ntype CallerFactory = {\n (\n extractor: (callerMetadata: CallerMetadata | undefined) => T,\n ): T;\n (\n extractor: (callerMetadata: CallerMetadata | undefined) => unknown,\n ): SimpleType;\n};\ntype TargetsFunction = () => Targets;\ntype AssumptionFunction = (name: AssumptionName) => boolean | undefined;\n\nexport type ConfigAPI = {\n version: string;\n cache: SimpleCacheConfigurator;\n env: EnvFunction;\n async: () => boolean;\n assertVersion: typeof assertVersion;\n caller?: CallerFactory;\n};\n\nexport type PresetAPI = {\n targets: TargetsFunction;\n addExternalDependency: (ref: string) => void;\n} & ConfigAPI;\n\nexport type PluginAPI = {\n assumption: AssumptionFunction;\n} & PresetAPI;\n\nexport function makeConfigAPI(\n cache: CacheConfigurator,\n): ConfigAPI {\n // TODO(@nicolo-ribaudo): If we remove the explicit type from `value`\n // and the `as any` type cast, TypeScript crashes in an infinite\n // recursion. After upgrading to TS4.7 and finishing the noImplicitAny\n // PR, we should check if it still crashes and report it to the TS team.\n const env: EnvFunction = ((\n value: string | string[] | ((babelEnv: string) => T),\n ) =>\n cache.using(data => {\n if (value === undefined) return data.envName;\n if (typeof value === \"function\") {\n return assertSimpleType(value(data.envName));\n }\n return (Array.isArray(value) ? value : [value]).some(entry => {\n if (typeof entry !== \"string\") {\n throw new Error(\"Unexpected non-string value\");\n }\n return entry === data.envName;\n });\n })) as any;\n\n const caller = (\n cb: (CallerMetadata: CallerMetadata | undefined) => SimpleType,\n ) => cache.using(data => assertSimpleType(cb(data.caller)));\n\n return {\n version: coreVersion,\n cache: cache.simple(),\n // Expose \".env()\" so people can easily get the same env that we expose using the \"env\" key.\n env,\n async: () => false,\n caller,\n assertVersion,\n };\n}\n\nexport function makePresetAPI(\n cache: CacheConfigurator,\n externalDependencies: string[],\n): PresetAPI {\n const targets = () =>\n // We are using JSON.parse/JSON.stringify because it's only possible to cache\n // primitive values. We can safely stringify the targets object because it\n // only contains strings as its properties.\n // Please make the Record and Tuple proposal happen!\n JSON.parse(cache.using(data => JSON.stringify(data.targets)));\n\n const addExternalDependency = (ref: string) => {\n externalDependencies.push(ref);\n };\n\n return { ...makeConfigAPI(cache), targets, addExternalDependency };\n}\n\nexport function makePluginAPI(\n cache: CacheConfigurator,\n externalDependencies: string[],\n): PluginAPI {\n const assumption = (name: string) =>\n cache.using(data => data.assumptions[name]);\n\n return { ...makePresetAPI(cache, externalDependencies), assumption };\n}\n\nfunction assertVersion(range: string | number): void {\n if (typeof range === \"number\") {\n if (!Number.isInteger(range)) {\n throw new Error(\"Expected string or integer value.\");\n }\n range = `^${range}.0.0-0`;\n }\n if (typeof range !== \"string\") {\n throw new Error(\"Expected string or integer value.\");\n }\n\n // We want \"*\" to also allow any pre-release, but we do not pass\n // the includePrerelease option to semver.satisfies because we\n // do not want ^7.0.0 to match 8.0.0-alpha.1.\n if (range === \"*\" || semver.satisfies(coreVersion, range)) return;\n\n const message =\n `Requires Babel \"${range}\", but was loaded with \"${coreVersion}\". ` +\n `If you are sure you have a compatible version of @babel/core, ` +\n `it is likely that something in your build process is loading the ` +\n `wrong version. Inspect the stack trace of this error to look for ` +\n `the first entry that doesn't mention \"@babel/core\" or \"babel-core\" ` +\n `to see what is calling Babel.`;\n\n if (\n typeof process !== \"undefined\" &&\n process.env.BABEL_8_BREAKING &&\n process.env.BABEL_7_TO_8_DANGEROUSLY_DISABLE_VERSION_CHECK\n ) {\n console.warn(message);\n return;\n }\n\n const limit = Error.stackTraceLimit;\n\n if (typeof limit === \"number\" && limit < 25) {\n // Bump up the limit if needed so that users are more likely\n // to be able to see what is calling Babel.\n Error.stackTraceLimit = 25;\n }\n\n const err = new Error(message);\n\n if (typeof limit === \"number\") {\n Error.stackTraceLimit = limit;\n }\n\n throw Object.assign(err, {\n code: \"BABEL_VERSION_UNSUPPORTED\",\n version: coreVersion,\n range,\n });\n}\n"],"mappings":";;;;;;;;AAAA,SAAAA,QAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,OAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAGA,IAAAE,MAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AAoDO,SAASG,aAAaA,CAC3B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,KAAK,KAAK,QAAQ,EAAE;IAC7B7B,KAAK,CAAC8B,eAAe,GAAGD,KAAK;EAC/B;EAEA,MAAMZ,MAAM,CAACC,MAAM,CAACa,GAAG,EAAE;IACvBC,IAAI,EAAE,2BAA2B;IACjC7B,OAAO,EAAEC,cAAW;IACpBmB;EACF,CAAC,CAAC;AACJ;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/deep-array.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/deep-array.js deleted file mode 100644 index c611db20..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/deep-array.js +++ /dev/null @@ -1,23 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.finalize = finalize; -exports.flattenToSet = flattenToSet; -function finalize(deepArr) { - return Object.freeze(deepArr); -} -function flattenToSet(arr) { - const result = new Set(); - const stack = [arr]; - while (stack.length > 0) { - for (const el of stack.pop()) { - if (Array.isArray(el)) stack.push(el);else result.add(el); - } - } - return result; -} -0 && 0; - -//# sourceMappingURL=deep-array.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/deep-array.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/deep-array.js.map deleted file mode 100644 index 57239da7..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/deep-array.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["finalize","deepArr","Object","freeze","flattenToSet","arr","result","Set","stack","length","el","pop","Array","isArray","push","add"],"sources":["../../../src/config/helpers/deep-array.ts"],"sourcesContent":["export type DeepArray = (T | ReadonlyDeepArray)[];\n\n// Just to make sure that DeepArray is not assignable to ReadonlyDeepArray\ndeclare const __marker: unique symbol;\nexport type ReadonlyDeepArray = readonly (T | ReadonlyDeepArray)[] & {\n [__marker]: true;\n};\n\nexport function finalize(deepArr: DeepArray): ReadonlyDeepArray {\n return Object.freeze(deepArr) as ReadonlyDeepArray;\n}\n\nexport function flattenToSet(\n arr: ReadonlyDeepArray,\n): Set {\n const result = new Set();\n const stack = [arr];\n while (stack.length > 0) {\n for (const el of stack.pop()) {\n if (Array.isArray(el)) stack.push(el as ReadonlyDeepArray);\n else result.add(el as T);\n }\n }\n return result;\n}\n"],"mappings":";;;;;;;AAQO,SAASA,QAAQA,CAAIC,OAAqB,EAAwB;EACvE,OAAOC,MAAM,CAACC,MAAM,CAACF,OAAO,CAAC;AAC/B;AAEO,SAASG,YAAYA,CAC1BC,GAAyB,EACjB;EACR,MAAMC,MAAM,GAAG,IAAIC,GAAG,CAAI,CAAC;EAC3B,MAAMC,KAAK,GAAG,CAACH,GAAG,CAAC;EACnB,OAAOG,KAAK,CAACC,MAAM,GAAG,CAAC,EAAE;IACvB,KAAK,MAAMC,EAAE,IAAIF,KAAK,CAACG,GAAG,CAAC,CAAC,EAAE;MAC5B,IAAIC,KAAK,CAACC,OAAO,CAACH,EAAE,CAAC,EAAEF,KAAK,CAACM,IAAI,CAACJ,EAA0B,CAAC,CAAC,KACzDJ,MAAM,CAACS,GAAG,CAACL,EAAO,CAAC;IAC1B;EACF;EACA,OAAOJ,MAAM;AACf;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/environment.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/environment.js deleted file mode 100644 index a23b80be..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/environment.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.getEnv = getEnv; -function getEnv(defaultValue = "development") { - return process.env.BABEL_ENV || process.env.NODE_ENV || defaultValue; -} -0 && 0; - -//# sourceMappingURL=environment.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/environment.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/environment.js.map deleted file mode 100644 index c34fc173..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/helpers/environment.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["getEnv","defaultValue","process","env","BABEL_ENV","NODE_ENV"],"sources":["../../../src/config/helpers/environment.ts"],"sourcesContent":["export function getEnv(defaultValue: string = \"development\"): string {\n return process.env.BABEL_ENV || process.env.NODE_ENV || defaultValue;\n}\n"],"mappings":";;;;;;AAAO,SAASA,MAAMA,CAACC,YAAoB,GAAG,aAAa,EAAU;EACnE,OAAOC,OAAO,CAACC,GAAG,CAACC,SAAS,IAAIF,OAAO,CAACC,GAAG,CAACE,QAAQ,IAAIJ,YAAY;AACtE;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/index.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/index.js deleted file mode 100644 index cebfe238..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/index.js +++ /dev/null @@ -1,87 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.createConfigItem = createConfigItem; -exports.createConfigItemAsync = createConfigItemAsync; -exports.createConfigItemSync = createConfigItemSync; -Object.defineProperty(exports, "default", { - enumerable: true, - get: function () { - return _full.default; - } -}); -exports.loadOptions = loadOptions; -exports.loadOptionsAsync = loadOptionsAsync; -exports.loadOptionsSync = loadOptionsSync; -exports.loadPartialConfig = loadPartialConfig; -exports.loadPartialConfigAsync = loadPartialConfigAsync; -exports.loadPartialConfigSync = loadPartialConfigSync; -function _gensync() { - const data = require("gensync"); - _gensync = function () { - return data; - }; - return data; -} -var _full = require("./full.js"); -var _partial = require("./partial.js"); -var _item = require("./item.js"); -var _rewriteStackTrace = require("../errors/rewrite-stack-trace.js"); -const loadPartialConfigRunner = _gensync()(_partial.loadPartialConfig); -function loadPartialConfigAsync(...args) { - return (0, _rewriteStackTrace.beginHiddenCallStack)(loadPartialConfigRunner.async)(...args); -} -function loadPartialConfigSync(...args) { - return (0, _rewriteStackTrace.beginHiddenCallStack)(loadPartialConfigRunner.sync)(...args); -} -function loadPartialConfig(opts, callback) { - if (callback !== undefined) { - (0, _rewriteStackTrace.beginHiddenCallStack)(loadPartialConfigRunner.errback)(opts, callback); - } else if (typeof opts === "function") { - (0, _rewriteStackTrace.beginHiddenCallStack)(loadPartialConfigRunner.errback)(undefined, opts); - } else { - return loadPartialConfigSync(opts); - } -} -function* loadOptionsImpl(opts) { - var _config$options; - const config = yield* (0, _full.default)(opts); - return (_config$options = config == null ? void 0 : config.options) != null ? _config$options : null; -} -const loadOptionsRunner = _gensync()(loadOptionsImpl); -function loadOptionsAsync(...args) { - return (0, _rewriteStackTrace.beginHiddenCallStack)(loadOptionsRunner.async)(...args); -} -function loadOptionsSync(...args) { - return (0, _rewriteStackTrace.beginHiddenCallStack)(loadOptionsRunner.sync)(...args); -} -function loadOptions(opts, callback) { - if (callback !== undefined) { - (0, _rewriteStackTrace.beginHiddenCallStack)(loadOptionsRunner.errback)(opts, callback); - } else if (typeof opts === "function") { - (0, _rewriteStackTrace.beginHiddenCallStack)(loadOptionsRunner.errback)(undefined, opts); - } else { - return loadOptionsSync(opts); - } -} -const createConfigItemRunner = _gensync()(_item.createConfigItem); -function createConfigItemAsync(...args) { - return (0, _rewriteStackTrace.beginHiddenCallStack)(createConfigItemRunner.async)(...args); -} -function createConfigItemSync(...args) { - return (0, _rewriteStackTrace.beginHiddenCallStack)(createConfigItemRunner.sync)(...args); -} -function createConfigItem(target, options, callback) { - if (callback !== undefined) { - (0, _rewriteStackTrace.beginHiddenCallStack)(createConfigItemRunner.errback)(target, options, callback); - } else if (typeof options === "function") { - (0, _rewriteStackTrace.beginHiddenCallStack)(createConfigItemRunner.errback)(target, undefined, callback); - } else { - return createConfigItemSync(target, options); - } -} -0 && 0; - -//# sourceMappingURL=index.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/index.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/index.js.map deleted file mode 100644 index 32f94ed1..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_gensync","data","require","_full","_partial","_item","_rewriteStackTrace","loadPartialConfigRunner","gensync","loadPartialConfigImpl","loadPartialConfigAsync","args","beginHiddenCallStack","async","loadPartialConfigSync","sync","loadPartialConfig","opts","callback","undefined","errback","loadOptionsImpl","_config$options","config","loadFullConfig","options","loadOptionsRunner","loadOptionsAsync","loadOptionsSync","loadOptions","createConfigItemRunner","createConfigItemImpl","createConfigItemAsync","createConfigItemSync","createConfigItem","target"],"sources":["../../src/config/index.ts"],"sourcesContent":["import gensync, { type Handler } from \"gensync\";\n\nexport type {\n ResolvedConfig,\n InputOptions,\n PluginPasses,\n Plugin,\n} from \"./full.ts\";\n\nimport type {\n InputOptions,\n PluginTarget,\n ResolvedOptions,\n} from \"./validation/options.ts\";\nexport type { ConfigAPI } from \"./helpers/config-api.ts\";\nimport type {\n PluginAPI as basePluginAPI,\n PresetAPI as basePresetAPI,\n} from \"./helpers/config-api.ts\";\nexport type { PluginObject } from \"./validation/plugins.ts\";\ntype PluginAPI = basePluginAPI & typeof import(\"..\");\ntype PresetAPI = basePresetAPI & typeof import(\"..\");\nexport type { PluginAPI, PresetAPI };\nexport type {\n CallerMetadata,\n NormalizedOptions,\n} from \"./validation/options.ts\";\n\nimport loadFullConfig from \"./full.ts\";\nimport {\n type PartialConfig,\n loadPartialConfig as loadPartialConfigImpl,\n} from \"./partial.ts\";\n\nexport { loadFullConfig as default };\nexport type { PartialConfig } from \"./partial.ts\";\n\nimport { createConfigItem as createConfigItemImpl } from \"./item.ts\";\nimport type { ConfigItem } from \"./item.ts\";\nexport type { ConfigItem };\n\nimport { beginHiddenCallStack } from \"../errors/rewrite-stack-trace.ts\";\n\nconst loadPartialConfigRunner = gensync(loadPartialConfigImpl);\nexport function loadPartialConfigAsync(\n ...args: Parameters\n) {\n return beginHiddenCallStack(loadPartialConfigRunner.async)(...args);\n}\nexport function loadPartialConfigSync(\n ...args: Parameters\n) {\n return beginHiddenCallStack(loadPartialConfigRunner.sync)(...args);\n}\nexport function loadPartialConfig(\n opts: Parameters[0],\n callback?: (err: Error, val: PartialConfig | null) => void,\n) {\n if (callback !== undefined) {\n beginHiddenCallStack(loadPartialConfigRunner.errback)(opts, callback);\n } else if (typeof opts === \"function\") {\n beginHiddenCallStack(loadPartialConfigRunner.errback)(\n undefined,\n opts as (err: Error, val: PartialConfig | null) => void,\n );\n } else {\n if (process.env.BABEL_8_BREAKING) {\n throw new Error(\n \"Starting from Babel 8.0.0, the 'loadPartialConfig' function expects a callback. If you need to call it synchronously, please use 'loadPartialConfigSync'.\",\n );\n } else {\n return loadPartialConfigSync(opts);\n }\n }\n}\n\nfunction* loadOptionsImpl(opts: InputOptions): Handler {\n const config = yield* loadFullConfig(opts);\n // NOTE: We want to return \"null\" explicitly, while ?. alone returns undefined\n return config?.options ?? null;\n}\nconst loadOptionsRunner = gensync(loadOptionsImpl);\nexport function loadOptionsAsync(\n ...args: Parameters\n) {\n return beginHiddenCallStack(loadOptionsRunner.async)(...args);\n}\nexport function loadOptionsSync(\n ...args: Parameters\n) {\n return beginHiddenCallStack(loadOptionsRunner.sync)(...args);\n}\nexport function loadOptions(\n opts: Parameters[0],\n callback?: (err: Error, val: ResolvedOptions | null) => void,\n) {\n if (callback !== undefined) {\n beginHiddenCallStack(loadOptionsRunner.errback)(opts, callback);\n } else if (typeof opts === \"function\") {\n beginHiddenCallStack(loadOptionsRunner.errback)(\n undefined,\n opts as (err: Error, val: ResolvedOptions | null) => void,\n );\n } else {\n if (process.env.BABEL_8_BREAKING) {\n throw new Error(\n \"Starting from Babel 8.0.0, the 'loadOptions' function expects a callback. If you need to call it synchronously, please use 'loadOptionsSync'.\",\n );\n } else {\n return loadOptionsSync(opts);\n }\n }\n}\n\nconst createConfigItemRunner = gensync(createConfigItemImpl);\nexport function createConfigItemAsync(\n ...args: Parameters\n) {\n return beginHiddenCallStack(createConfigItemRunner.async)(...args);\n}\nexport function createConfigItemSync(\n ...args: Parameters\n) {\n return beginHiddenCallStack(createConfigItemRunner.sync)(...args);\n}\nexport function createConfigItem(\n target: PluginTarget,\n options: Parameters[1],\n callback?: (err: Error, val: ConfigItem | null) => void,\n) {\n if (callback !== undefined) {\n beginHiddenCallStack(createConfigItemRunner.errback)(\n target,\n options,\n callback,\n );\n } else if (typeof options === \"function\") {\n beginHiddenCallStack(createConfigItemRunner.errback)(\n target,\n undefined,\n callback,\n );\n } else {\n if (process.env.BABEL_8_BREAKING) {\n throw new Error(\n \"Starting from Babel 8.0.0, the 'createConfigItem' function expects a callback. If you need to call it synchronously, please use 'createConfigItemSync'.\",\n );\n } else {\n return createConfigItemSync(target, options);\n }\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AA4BA,IAAAE,KAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AAQA,IAAAG,KAAA,GAAAH,OAAA;AAIA,IAAAI,kBAAA,GAAAJ,OAAA;AAEA,MAAMK,uBAAuB,GAAGC,SAAMA,CAAC,CAACC,0BAAqB,CAAC;AACvD,SAASC,sBAAsBA,CACpC,GAAGC,IAAsD,EACzD;EACA,OAAO,IAAAC,uCAAoB,EAACL,uBAAuB,CAACM,KAAK,CAAC,CAAC,GAAGF,IAAI,CAAC;AACrE;AACO,SAASG,qBAAqBA,CACnC,GAAGH,IAAqD,EACxD;EACA,OAAO,IAAAC,uCAAoB,EAACL,uBAAuB,CAACQ,IAAI,CAAC,CAAC,GAAGJ,IAAI,CAAC;AACpE;AACO,SAASK,iBAAiBA,CAC/BC,IAAiD,EACjDC,QAA0D,EAC1D;EACA,IAAIA,QAAQ,KAAKC,SAAS,EAAE;IAC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EAEhC;AACF;AAEA,MAAMa,sBAAsB,GAAGtB,SAAMA,CAAC,CAACuB,sBAAoB,CAAC;AACrD,SAASC,qBAAqBA,CACnC,GAAGrB,IAAqD,EACxD;EACA,OAAO,IAAAC,uCAAoB,EAACkB,sBAAsB,CAACjB,KAAK,CAAC,CAAC,GAAGF,IAAI,CAAC;AACpE;AACO,SAASsB,oBAAoBA,CAClC,GAAGtB,IAAoD,EACvD;EACA,OAAO,IAAAC,uCAAoB,EAACkB,sBAAsB,CAACf,IAAI,CAAC,CAAC,GAAGJ,IAAI,CAAC;AACnE;AACO,SAASuB,gBAAgBA,CAC9BC,MAAoB,EACpBV,OAAmD,EACnDP,QAAkE,EAClE;EACA,IAAIA,QAAQ,KAAKC,SAAS,EAAE;IAC1B,IAAAP,uCAAoB,EAACkB,sBAAsB,CAACV,OAAO,CAAC,CAClDe,MAAM,EACNV,OAAO,EACPP,QACF,CAAC;EACH,CAAC,MAAM,IAAI,OAAOO,OAAO,KAAK,UAAU,EAAE;IACxC,IAAAb,uCAAoB,EAACkB,sBAAsB,CAACV,OAAO,CAAC,CAClDe,MAAM,EACNhB,SAAS,EACTD,QACF,CAAC;EACH,CAAC,MAAM;IAMH,OAAOe,oBAAoB,CAACE,MAAM,EAAEV,OAAO,CAAC;EAEhD;AACF;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/item.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/item.js deleted file mode 100644 index 69cf01ff..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/item.js +++ /dev/null @@ -1,67 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.createConfigItem = createConfigItem; -exports.createItemFromDescriptor = createItemFromDescriptor; -exports.getItemDescriptor = getItemDescriptor; -function _path() { - const data = require("path"); - _path = function () { - return data; - }; - return data; -} -var _configDescriptors = require("./config-descriptors.js"); -function createItemFromDescriptor(desc) { - return new ConfigItem(desc); -} -function* createConfigItem(value, { - dirname = ".", - type -} = {}) { - const descriptor = yield* (0, _configDescriptors.createDescriptor)(value, _path().resolve(dirname), { - type, - alias: "programmatic item" - }); - return createItemFromDescriptor(descriptor); -} -const CONFIG_ITEM_BRAND = Symbol.for("@babel/core@7 - ConfigItem"); -function getItemDescriptor(item) { - if (item != null && item[CONFIG_ITEM_BRAND]) { - return item._descriptor; - } - return undefined; -} -class ConfigItem { - constructor(descriptor) { - this._descriptor = void 0; - this[CONFIG_ITEM_BRAND] = true; - this.value = void 0; - this.options = void 0; - this.dirname = void 0; - this.name = void 0; - this.file = void 0; - this._descriptor = descriptor; - Object.defineProperty(this, "_descriptor", { - enumerable: false - }); - Object.defineProperty(this, CONFIG_ITEM_BRAND, { - enumerable: false - }); - this.value = this._descriptor.value; - this.options = this._descriptor.options; - this.dirname = this._descriptor.dirname; - this.name = this._descriptor.name; - this.file = this._descriptor.file ? { - request: this._descriptor.file.request, - resolved: this._descriptor.file.resolved - } : undefined; - Object.freeze(this); - } -} -Object.freeze(ConfigItem.prototype); -0 && 0; - -//# sourceMappingURL=item.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/item.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/item.js.map deleted file mode 100644 index 6bdc806d..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/item.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_path","data","require","_configDescriptors","createItemFromDescriptor","desc","ConfigItem","createConfigItem","value","dirname","type","descriptor","createDescriptor","path","resolve","alias","CONFIG_ITEM_BRAND","Symbol","for","getItemDescriptor","item","_descriptor","undefined","constructor","options","name","file","Object","defineProperty","enumerable","request","resolved","freeze","prototype"],"sources":["../../src/config/item.ts"],"sourcesContent":["import type { Handler } from \"gensync\";\nimport type { PluginItem, PresetItem } from \"./validation/options.ts\";\n\nimport path from \"node:path\";\nimport { createDescriptor } from \"./config-descriptors.ts\";\n\nimport type { UnloadedDescriptor } from \"./config-descriptors.ts\";\n\nexport function createItemFromDescriptor(\n desc: UnloadedDescriptor,\n): ConfigItem {\n return new ConfigItem(desc);\n}\n\n/**\n * Create a config item using the same value format used in Babel's config\n * files. Items returned from this function should be cached by the caller\n * ideally, as recreating the config item will mean re-resolving the item\n * and re-evaluating the plugin/preset function.\n */\nexport function* createConfigItem(\n value: PluginItem | PresetItem,\n {\n dirname = \".\",\n type,\n }: {\n dirname?: string;\n type?: \"preset\" | \"plugin\";\n } = {},\n): Handler> {\n const descriptor = yield* createDescriptor(value, path.resolve(dirname), {\n type,\n alias: \"programmatic item\",\n });\n\n return createItemFromDescriptor(descriptor);\n}\n\nconst CONFIG_ITEM_BRAND = Symbol.for(\"@babel/core@7 - ConfigItem\");\n\nexport function getItemDescriptor(\n item: unknown,\n): UnloadedDescriptor | void {\n if ((item as any)?.[CONFIG_ITEM_BRAND]) {\n return (item as ConfigItem)._descriptor;\n }\n\n return undefined;\n}\n\nexport type { ConfigItem };\n\n/**\n * A public representation of a plugin/preset that will _eventually_ be load.\n * Users can use this to interact with the results of a loaded Babel\n * configuration.\n *\n * Any changes to public properties of this class should be considered a\n * breaking change to Babel's API.\n */\nclass ConfigItem {\n /**\n * The private underlying descriptor that Babel actually cares about.\n * If you access this, you are a bad person.\n */\n _descriptor: UnloadedDescriptor;\n\n // TODO(Babel 9): Check if this symbol needs to be updated\n /**\n * Used to detect ConfigItem instances from other Babel instances.\n */\n [CONFIG_ITEM_BRAND] = true;\n\n /**\n * The resolved value of the item itself.\n */\n value: object | Function;\n\n /**\n * The options, if any, that were passed to the item.\n * Mutating this will lead to undefined behavior.\n *\n * \"false\" means that this item has been disabled.\n */\n options: object | void | false;\n\n /**\n * The directory that the options for this item are relative to.\n */\n dirname: string;\n\n /**\n * Get the name of the plugin, if the user gave it one.\n */\n name: string | void;\n\n /**\n * Data about the file that the item was loaded from, if Babel knows it.\n */\n file: {\n // The requested path, e.g. \"@babel/env\".\n request: string;\n // The resolved absolute path of the file.\n resolved: string;\n } | void;\n\n constructor(descriptor: UnloadedDescriptor) {\n // Make people less likely to stumble onto this if they are exploring\n // programmatically, and also make sure that if people happen to\n // pass the item through JSON.stringify, it doesn't show up.\n this._descriptor = descriptor;\n Object.defineProperty(this, \"_descriptor\", { enumerable: false });\n\n Object.defineProperty(this, CONFIG_ITEM_BRAND, { enumerable: false });\n\n this.value = this._descriptor.value;\n this.options = this._descriptor.options;\n this.dirname = this._descriptor.dirname;\n this.name = this._descriptor.name;\n this.file = this._descriptor.file\n ? {\n request: this._descriptor.file.request,\n resolved: this._descriptor.file.resolved,\n }\n : undefined;\n\n // Freeze the object to make it clear that people shouldn't expect mutating\n // this object to do anything. A new item should be created if they want\n // to change something.\n Object.freeze(this);\n }\n}\n\nObject.freeze(ConfigItem.prototype);\n"],"mappings":";;;;;;;;AAGA,SAAAA,MAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,KAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,IAAAE,kBAAA,GAAAD,OAAA;AAIO,SAASE,wBAAwBA,CACtCC,IAA6B,EACZ;EACjB,OAAO,IAAIC,UAAU,CAACD,IAAI,CAAC;AAC7B;AAQO,UAAUE,gBAAgBA,CAC/BC,KAA8B,EAC9B;EACEC,OAAO,GAAG,GAAG;EACbC;AAIF,CAAC,GAAG,CAAC,CAAC,EACoB;EAC1B,MAAMC,UAAU,GAAG,OAAO,IAAAC,mCAAgB,EAACJ,KAAK,EAAEK,MAAGA,CAAC,CAACC,OAAO,CAACL,OAAO,CAAC,EAAE;IACvEC,IAAI;IACJK,KAAK,EAAE;EACT,CAAC,CAAC;EAEF,OAAOX,wBAAwB,CAACO,UAAU,CAAC;AAC7C;AAEA,MAAMK,iBAAiB,GAAGC,MAAM,CAACC,GAAG,CAAC,4BAA4B,CAAC;AAE3D,SAASC,iBAAiBA,CAC/BC,IAAa,EACmB;EAChC,IAAKA,IAAI,YAAJA,IAAI,CAAWJ,iBAAiB,CAAC,EAAE;IACtC,OAAQI,IAAI,CAAqBC,WAAW;EAC9C;EAEA,OAAOC,SAAS;AAClB;AAYA,MAAMhB,UAAU,CAAM;EA8CpBiB,WAAWA,CAACZ,UAAmC,EAAE;IAAA,KAzCjDU,WAAW;IAAA,KAMVL,iBAAiB,IAAI,IAAI;IAAA,KAK1BR,KAAK;IAAA,KAQLgB,OAAO;IAAA,KAKPf,OAAO;IAAA,KAKPgB,IAAI;IAAA,KAKJC,IAAI;IAWF,IAAI,CAACL,WAAW,GAAGV,UAAU;IAC7BgB,MAAM,CAACC,cAAc,CAAC,IAAI,EAAE,aAAa,EAAE;MAAEC,UAAU,EAAE;IAAM,CAAC,CAAC;IAEjEF,MAAM,CAACC,cAAc,CAAC,IAAI,EAAEZ,iBAAiB,EAAE;MAAEa,UAAU,EAAE;IAAM,CAAC,CAAC;IAErE,IAAI,CAACrB,KAAK,GAAG,IAAI,CAACa,WAAW,CAACb,KAAK;IACnC,IAAI,CAACgB,OAAO,GAAG,IAAI,CAACH,WAAW,CAACG,OAAO;IACvC,IAAI,CAACf,OAAO,GAAG,IAAI,CAACY,WAAW,CAACZ,OAAO;IACvC,IAAI,CAACgB,IAAI,GAAG,IAAI,CAACJ,WAAW,CAACI,IAAI;IACjC,IAAI,CAACC,IAAI,GAAG,IAAI,CAACL,WAAW,CAACK,IAAI,GAC7B;MACEI,OAAO,EAAE,IAAI,CAACT,WAAW,CAACK,IAAI,CAACI,OAAO;MACtCC,QAAQ,EAAE,IAAI,CAACV,WAAW,CAACK,IAAI,CAACK;IAClC,CAAC,GACDT,SAAS;IAKbK,MAAM,CAACK,MAAM,CAAC,IAAI,CAAC;EACrB;AACF;AAEAL,MAAM,CAACK,MAAM,CAAC1B,UAAU,CAAC2B,SAAS,CAAC;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/partial.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/partial.js deleted file mode 100644 index a5a2f656..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/partial.js +++ /dev/null @@ -1,158 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = loadPrivatePartialConfig; -exports.loadPartialConfig = loadPartialConfig; -function _path() { - const data = require("path"); - _path = function () { - return data; - }; - return data; -} -var _plugin = require("./plugin.js"); -var _util = require("./util.js"); -var _item = require("./item.js"); -var _configChain = require("./config-chain.js"); -var _environment = require("./helpers/environment.js"); -var _options = require("./validation/options.js"); -var _index = require("./files/index.js"); -var _resolveTargets = require("./resolve-targets.js"); -const _excluded = ["showIgnoredFiles"]; -function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; } -function resolveRootMode(rootDir, rootMode) { - switch (rootMode) { - case "root": - return rootDir; - case "upward-optional": - { - const upwardRootDir = (0, _index.findConfigUpwards)(rootDir); - return upwardRootDir === null ? rootDir : upwardRootDir; - } - case "upward": - { - const upwardRootDir = (0, _index.findConfigUpwards)(rootDir); - if (upwardRootDir !== null) return upwardRootDir; - throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not ` + `be found when searching upward from "${rootDir}".\n` + `One of the following config files must be in the directory tree: ` + `"${_index.ROOT_CONFIG_FILENAMES.join(", ")}".`), { - code: "BABEL_ROOT_NOT_FOUND", - dirname: rootDir - }); - } - default: - throw new Error(`Assertion failure - unknown rootMode value.`); - } -} -function* loadPrivatePartialConfig(inputOpts) { - if (inputOpts != null && (typeof inputOpts !== "object" || Array.isArray(inputOpts))) { - throw new Error("Babel options must be an object, null, or undefined"); - } - const args = inputOpts ? (0, _options.validate)("arguments", inputOpts) : {}; - const { - envName = (0, _environment.getEnv)(), - cwd = ".", - root: rootDir = ".", - rootMode = "root", - caller, - cloneInputAst = true - } = args; - const absoluteCwd = _path().resolve(cwd); - const absoluteRootDir = resolveRootMode(_path().resolve(absoluteCwd, rootDir), rootMode); - const filename = typeof args.filename === "string" ? _path().resolve(cwd, args.filename) : undefined; - const showConfigPath = yield* (0, _index.resolveShowConfigPath)(absoluteCwd); - const context = { - filename, - cwd: absoluteCwd, - root: absoluteRootDir, - envName, - caller, - showConfig: showConfigPath === filename - }; - const configChain = yield* (0, _configChain.buildRootChain)(args, context); - if (!configChain) return null; - const merged = { - assumptions: {} - }; - configChain.options.forEach(opts => { - (0, _util.mergeOptions)(merged, opts); - }); - const options = Object.assign({}, merged, { - targets: (0, _resolveTargets.resolveTargets)(merged, absoluteRootDir), - cloneInputAst, - babelrc: false, - configFile: false, - browserslistConfigFile: false, - passPerPreset: false, - envName: context.envName, - cwd: context.cwd, - root: context.root, - rootMode: "root", - filename: typeof context.filename === "string" ? context.filename : undefined, - plugins: configChain.plugins.map(descriptor => (0, _item.createItemFromDescriptor)(descriptor)), - presets: configChain.presets.map(descriptor => (0, _item.createItemFromDescriptor)(descriptor)) - }); - return { - options, - context, - fileHandling: configChain.fileHandling, - ignore: configChain.ignore, - babelrc: configChain.babelrc, - config: configChain.config, - files: configChain.files - }; -} -function* loadPartialConfig(opts) { - let showIgnoredFiles = false; - if (typeof opts === "object" && opts !== null && !Array.isArray(opts)) { - var _opts = opts; - ({ - showIgnoredFiles - } = _opts); - opts = _objectWithoutPropertiesLoose(_opts, _excluded); - _opts; - } - const result = yield* loadPrivatePartialConfig(opts); - if (!result) return null; - const { - options, - babelrc, - ignore, - config, - fileHandling, - files - } = result; - if (fileHandling === "ignored" && !showIgnoredFiles) { - return null; - } - (options.plugins || []).forEach(item => { - if (item.value instanceof _plugin.default) { - throw new Error("Passing cached plugin instances is not supported in " + "babel.loadPartialConfig()"); - } - }); - return new PartialConfig(options, babelrc ? babelrc.filepath : undefined, ignore ? ignore.filepath : undefined, config ? config.filepath : undefined, fileHandling, files); -} -class PartialConfig { - constructor(options, babelrc, ignore, config, fileHandling, files) { - this.options = void 0; - this.babelrc = void 0; - this.babelignore = void 0; - this.config = void 0; - this.fileHandling = void 0; - this.files = void 0; - this.options = options; - this.babelignore = ignore; - this.babelrc = babelrc; - this.config = config; - this.fileHandling = fileHandling; - this.files = files; - Object.freeze(this); - } - hasFilesystemConfig() { - return this.babelrc !== undefined || this.config !== undefined; - } -} -Object.freeze(PartialConfig.prototype); -0 && 0; - -//# sourceMappingURL=partial.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/partial.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/partial.js.map deleted file mode 100644 index e54684d2..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/partial.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_path","data","require","_plugin","_util","_item","_configChain","_environment","_options","_index","_resolveTargets","_excluded","_objectWithoutPropertiesLoose","r","e","t","n","hasOwnProperty","call","indexOf","resolveRootMode","rootDir","rootMode","upwardRootDir","findConfigUpwards","Object","assign","Error","ROOT_CONFIG_FILENAMES","join","code","dirname","loadPrivatePartialConfig","inputOpts","Array","isArray","args","validate","envName","getEnv","cwd","root","caller","cloneInputAst","absoluteCwd","path","resolve","absoluteRootDir","filename","undefined","showConfigPath","resolveShowConfigPath","context","showConfig","configChain","buildRootChain","merged","assumptions","options","forEach","opts","mergeOptions","targets","resolveTargets","babelrc","configFile","browserslistConfigFile","passPerPreset","plugins","map","descriptor","createItemFromDescriptor","presets","fileHandling","ignore","config","files","loadPartialConfig","showIgnoredFiles","_opts","result","item","value","Plugin","PartialConfig","filepath","constructor","babelignore","freeze","hasFilesystemConfig","prototype"],"sources":["../../src/config/partial.ts"],"sourcesContent":["import path from \"node:path\";\nimport type { Handler } from \"gensync\";\nimport Plugin from \"./plugin.ts\";\nimport { mergeOptions } from \"./util.ts\";\nimport { createItemFromDescriptor } from \"./item.ts\";\nimport { buildRootChain } from \"./config-chain.ts\";\nimport type { ConfigContext, FileHandling } from \"./config-chain.ts\";\nimport { getEnv } from \"./helpers/environment.ts\";\nimport { validate } from \"./validation/options.ts\";\n\nimport type {\n RootMode,\n InputOptions,\n NormalizedOptions,\n} from \"./validation/options.ts\";\n\nimport {\n findConfigUpwards,\n resolveShowConfigPath,\n ROOT_CONFIG_FILENAMES,\n} from \"./files/index.ts\";\nimport type { ConfigFile, IgnoreFile } from \"./files/index.ts\";\nimport { resolveTargets } from \"./resolve-targets.ts\";\n\nfunction resolveRootMode(rootDir: string, rootMode: RootMode): string {\n switch (rootMode) {\n case \"root\":\n return rootDir;\n\n case \"upward-optional\": {\n const upwardRootDir = findConfigUpwards(rootDir);\n return upwardRootDir === null ? rootDir : upwardRootDir;\n }\n\n case \"upward\": {\n const upwardRootDir = findConfigUpwards(rootDir);\n if (upwardRootDir !== null) return upwardRootDir;\n\n throw Object.assign(\n new Error(\n `Babel was run with rootMode:\"upward\" but a root could not ` +\n `be found when searching upward from \"${rootDir}\".\\n` +\n `One of the following config files must be in the directory tree: ` +\n `\"${ROOT_CONFIG_FILENAMES.join(\", \")}\".`,\n ) as any,\n {\n code: \"BABEL_ROOT_NOT_FOUND\",\n dirname: rootDir,\n },\n );\n }\n default:\n throw new Error(`Assertion failure - unknown rootMode value.`);\n }\n}\n\nexport type PrivPartialConfig = {\n showIgnoredFiles?: boolean;\n options: NormalizedOptions;\n context: ConfigContext;\n babelrc: ConfigFile | undefined;\n config: ConfigFile | undefined;\n ignore: IgnoreFile | undefined;\n fileHandling: FileHandling;\n files: Set;\n};\n\nexport default function* loadPrivatePartialConfig(\n inputOpts: InputOptions,\n): Handler {\n if (\n inputOpts != null &&\n (typeof inputOpts !== \"object\" || Array.isArray(inputOpts))\n ) {\n throw new Error(\"Babel options must be an object, null, or undefined\");\n }\n\n const args = inputOpts ? validate(\"arguments\", inputOpts) : {};\n\n const {\n envName = getEnv(),\n cwd = \".\",\n root: rootDir = \".\",\n rootMode = \"root\",\n caller,\n cloneInputAst = true,\n } = args;\n const absoluteCwd = path.resolve(cwd);\n const absoluteRootDir = resolveRootMode(\n path.resolve(absoluteCwd, rootDir),\n rootMode,\n );\n\n const filename =\n typeof args.filename === \"string\"\n ? path.resolve(cwd, args.filename)\n : undefined;\n\n const showConfigPath = yield* resolveShowConfigPath(absoluteCwd);\n\n const context: ConfigContext = {\n filename,\n cwd: absoluteCwd,\n root: absoluteRootDir,\n envName,\n caller,\n showConfig: showConfigPath === filename,\n };\n\n const configChain = yield* buildRootChain(args, context);\n if (!configChain) return null;\n\n const merged = {\n assumptions: {},\n };\n configChain.options.forEach(opts => {\n mergeOptions(merged as any, opts);\n });\n\n const options: NormalizedOptions = {\n ...merged,\n targets: resolveTargets(merged, absoluteRootDir),\n\n // Tack the passes onto the object itself so that, if this object is\n // passed back to Babel a second time, it will be in the right structure\n // to not change behavior.\n cloneInputAst,\n babelrc: false,\n configFile: false,\n browserslistConfigFile: false,\n passPerPreset: false,\n envName: context.envName,\n cwd: context.cwd,\n root: context.root,\n rootMode: \"root\",\n filename:\n typeof context.filename === \"string\" ? context.filename : undefined,\n\n plugins: configChain.plugins.map(descriptor =>\n createItemFromDescriptor(descriptor),\n ),\n presets: configChain.presets.map(descriptor =>\n createItemFromDescriptor(descriptor),\n ),\n };\n\n return {\n options,\n context,\n fileHandling: configChain.fileHandling,\n ignore: configChain.ignore,\n babelrc: configChain.babelrc,\n config: configChain.config,\n files: configChain.files,\n };\n}\n\nexport function* loadPartialConfig(\n opts?: InputOptions,\n): Handler {\n let showIgnoredFiles = false;\n // We only extract showIgnoredFiles if opts is an object, so that\n // loadPrivatePartialConfig can throw the appropriate error if it's not.\n if (typeof opts === \"object\" && opts !== null && !Array.isArray(opts)) {\n ({ showIgnoredFiles, ...opts } = opts);\n }\n\n const result: PrivPartialConfig | undefined | null =\n yield* loadPrivatePartialConfig(opts);\n if (!result) return null;\n\n const { options, babelrc, ignore, config, fileHandling, files } = result;\n\n if (fileHandling === \"ignored\" && !showIgnoredFiles) {\n return null;\n }\n\n (options.plugins || []).forEach(item => {\n if (item.value instanceof Plugin) {\n throw new Error(\n \"Passing cached plugin instances is not supported in \" +\n \"babel.loadPartialConfig()\",\n );\n }\n });\n\n return new PartialConfig(\n options,\n babelrc ? babelrc.filepath : undefined,\n ignore ? ignore.filepath : undefined,\n config ? config.filepath : undefined,\n fileHandling,\n files,\n );\n}\n\nexport type { PartialConfig };\n\nclass PartialConfig {\n /**\n * These properties are public, so any changes to them should be considered\n * a breaking change to Babel's API.\n */\n options: NormalizedOptions;\n babelrc: string | undefined;\n babelignore: string | undefined;\n config: string | undefined;\n fileHandling: FileHandling;\n files: Set;\n\n constructor(\n options: NormalizedOptions,\n babelrc: string | undefined,\n ignore: string | undefined,\n config: string | undefined,\n fileHandling: FileHandling,\n files: Set,\n ) {\n this.options = options;\n this.babelignore = ignore;\n this.babelrc = babelrc;\n this.config = config;\n this.fileHandling = fileHandling;\n this.files = files;\n\n // Freeze since this is a public API and it should be extremely obvious that\n // reassigning properties on here does nothing.\n Object.freeze(this);\n }\n\n /**\n * Returns true if there is a config file in the filesystem for this config.\n */\n hasFilesystemConfig(): boolean {\n return this.babelrc !== undefined || this.config !== undefined;\n }\n}\nObject.freeze(PartialConfig.prototype);\n"],"mappings":";;;;;;;AAAA,SAAAA,MAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,KAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAE,OAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AAEA,IAAAK,YAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAN,OAAA;AAQA,IAAAO,MAAA,GAAAP,OAAA;AAMA,IAAAQ,eAAA,GAAAR,OAAA;AAAsD,MAAAS,SAAA;AAAA,SAAAC,8BAAAC,CAAA,EAAAC,CAAA,gBAAAD,CAAA,iBAAAE,CAAA,gBAAAC,CAAA,IAAAH,CAAA,SAAAI,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O,KAAKf,SAAS,IAAI,IAAI,CAAC0B,MAAM,KAAK1B,SAAS;EAChE;AACF;AACAxB,MAAM,CAAC+D,MAAM,CAACJ,aAAa,CAACM,SAAS,CAAC;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/pattern-to-regex.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/pattern-to-regex.js deleted file mode 100644 index 32de02dd..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/pattern-to-regex.js +++ /dev/null @@ -1,38 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = pathToPattern; -function _path() { - const data = require("path"); - _path = function () { - return data; - }; - return data; -} -const sep = `\\${_path().sep}`; -const endSep = `(?:${sep}|$)`; -const substitution = `[^${sep}]+`; -const starPat = `(?:${substitution}${sep})`; -const starPatLast = `(?:${substitution}${endSep})`; -const starStarPat = `${starPat}*?`; -const starStarPatLast = `${starPat}*?${starPatLast}?`; -function escapeRegExp(string) { - return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&"); -} -function pathToPattern(pattern, dirname) { - const parts = _path().resolve(dirname, pattern).split(_path().sep); - return new RegExp(["^", ...parts.map((part, i) => { - const last = i === parts.length - 1; - if (part === "**") return last ? starStarPatLast : starStarPat; - if (part === "*") return last ? starPatLast : starPat; - if (part.startsWith("*.")) { - return substitution + escapeRegExp(part.slice(1)) + (last ? endSep : sep); - } - return escapeRegExp(part) + (last ? endSep : sep); - })].join("")); -} -0 && 0; - -//# sourceMappingURL=pattern-to-regex.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/pattern-to-regex.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/pattern-to-regex.js.map deleted file mode 100644 index 0da14ff1..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/pattern-to-regex.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_path","data","require","sep","path","endSep","substitution","starPat","starPatLast","starStarPat","starStarPatLast","escapeRegExp","string","replace","pathToPattern","pattern","dirname","parts","resolve","split","RegExp","map","part","i","last","length","startsWith","slice","join"],"sources":["../../src/config/pattern-to-regex.ts"],"sourcesContent":["import path from \"node:path\";\n\nconst sep = `\\\\${path.sep}`;\nconst endSep = `(?:${sep}|$)`;\n\nconst substitution = `[^${sep}]+`;\n\nconst starPat = `(?:${substitution}${sep})`;\nconst starPatLast = `(?:${substitution}${endSep})`;\n\nconst starStarPat = `${starPat}*?`;\nconst starStarPatLast = `${starPat}*?${starPatLast}?`;\n\nfunction escapeRegExp(string: string) {\n return string.replace(/[|\\\\{}()[\\]^$+*?.]/g, \"\\\\$&\");\n}\n\n/**\n * Implement basic pattern matching that will allow users to do the simple\n * tests with * and **. If users want full complex pattern matching, then can\n * always use regex matching, or function validation.\n */\nexport default function pathToPattern(\n pattern: string,\n dirname: string,\n): RegExp {\n const parts = path.resolve(dirname, pattern).split(path.sep);\n\n return new RegExp(\n [\n \"^\",\n ...parts.map((part, i) => {\n const last = i === parts.length - 1;\n\n // ** matches 0 or more path parts.\n if (part === \"**\") return last ? starStarPatLast : starStarPat;\n\n // * matches 1 path part.\n if (part === \"*\") return last ? starPatLast : starPat;\n\n // *.ext matches a wildcard with an extension.\n if (part.startsWith(\"*.\")) {\n return (\n substitution + escapeRegExp(part.slice(1)) + (last ? endSep : sep)\n );\n }\n\n // Otherwise match the pattern text.\n return escapeRegExp(part) + (last ? endSep : sep);\n }),\n ].join(\"\"),\n );\n}\n"],"mappings":";;;;;;AAAA,SAAAA,MAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,KAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,MAAME,GAAG,GAAG,KAAKC,MAAGA,CAAC,CAACD,GAAG,EAAE;AAC3B,MAAME,MAAM,GAAG,MAAMF,GAAG,KAAK;AAE7B,MAAMG,YAAY,GAAG,KAAKH,G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lambdas/risk-engine/node_modules/@babel/core/lib/config/plugin.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/plugin.js deleted file mode 100644 index 21a28cd5..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/plugin.js +++ /dev/null @@ -1,33 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -var _deepArray = require("./helpers/deep-array.js"); -class Plugin { - constructor(plugin, options, key, externalDependencies = (0, _deepArray.finalize)([])) { - this.key = void 0; - this.manipulateOptions = void 0; - this.post = void 0; - this.pre = void 0; - this.visitor = void 0; - this.parserOverride = void 0; - this.generatorOverride = void 0; - this.options = void 0; - this.externalDependencies = void 0; - this.key = plugin.name || key; - this.manipulateOptions = plugin.manipulateOptions; - this.post = plugin.post; - this.pre = plugin.pre; - this.visitor = plugin.visitor || {}; - this.parserOverride = plugin.parserOverride; - this.generatorOverride = plugin.generatorOverride; - this.options = options; - this.externalDependencies = externalDependencies; - } -} -exports.default = Plugin; -0 && 0; - -//# sourceMappingURL=plugin.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/plugin.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/plugin.js.map deleted file mode 100644 index c3bccb53..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/plugin.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_deepArray","require","Plugin","constructor","plugin","options","key","externalDependencies","finalize","manipulateOptions","post","pre","visitor","parserOverride","generatorOverride","name","exports","default"],"sources":["../../src/config/plugin.ts"],"sourcesContent":["import { finalize } from \"./helpers/deep-array.ts\";\nimport type { ReadonlyDeepArray } from \"./helpers/deep-array.ts\";\nimport type { PluginObject } from \"./validation/plugins.ts\";\n\nexport default class Plugin {\n key: string | undefined | null;\n manipulateOptions?: PluginObject[\"manipulateOptions\"];\n post?: PluginObject[\"post\"];\n pre?: PluginObject[\"pre\"];\n visitor: PluginObject[\"visitor\"];\n\n parserOverride?: PluginObject[\"parserOverride\"];\n generatorOverride?: PluginObject[\"generatorOverride\"];\n\n options: object;\n\n externalDependencies: ReadonlyDeepArray;\n\n constructor(\n plugin: PluginObject,\n options: object,\n key?: string,\n externalDependencies: ReadonlyDeepArray = finalize([]),\n ) {\n this.key = plugin.name || key;\n\n this.manipulateOptions = plugin.manipulateOptions;\n this.post = plugin.post;\n this.pre = plugin.pre;\n this.visitor = plugin.visitor || {};\n this.parserOverride = plugin.parserOverride;\n this.generatorOverride = plugin.generatorOverride;\n\n this.options = options;\n this.externalDependencies = externalDependencies;\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAIe,MAAMC,MAAM,CAAC;EAc1BC,WAAWA,CACTC,MAAoB,EACpBC,OAAe,EACfC,GAAY,EACZC,oBAA+C,GAAG,IAAAC,mBAAQ,EAAC,EAAE,CAAC,EAC9D;IAAA,KAlBFF,GAAG;IAAA,KACHG,iBAAiB;IAAA,KACjBC,IAAI;IAAA,KACJC,GAAG;IAAA,KACHC,OAAO;IAAA,KAEPC,cAAc;IAAA,KACdC,iBAAiB;IAAA,KAEjBT,OAAO;IAAA,KAEPE,oBAAoB;IAQlB,IAAI,CAACD,GAAG,GAAGF,MAAM,CAACW,IAAI,IAAIT,GAAG;IAE7B,IAAI,CAACG,iBAAiB,GAAGL,MAAM,CAACK,iBAAiB;IACjD,IAAI,CAACC,IAAI,GAAGN,MAAM,CAACM,IAAI;IACvB,IAAI,CAACC,GAAG,GAAGP,MAAM,CAACO,GAAG;IACrB,IAAI,CAACC,OAAO,GAAGR,MAAM,CAACQ,OAAO,IAAI,CAAC,CAAC;IACnC,IAAI,CAACC,cAAc,GAAGT,MAAM,CAACS,cAAc;IAC3C,IAAI,CAACC,iBAAiB,GAAGV,MAAM,CAACU,iBAAiB;IAEjD,IAAI,CAACT,OAAO,GAAGA,OAAO;IACtB,IAAI,CAACE,oBAAoB,GAAGA,oBAAoB;EAClD;AACF;AAACS,OAAA,CAAAC,OAAA,GAAAf,MAAA;AAAA","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/printer.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/printer.js deleted file mode 100644 index 3ac2c075..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/printer.js +++ /dev/null @@ -1,113 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ConfigPrinter = exports.ChainFormatter = void 0; -function _gensync() { - const data = require("gensync"); - _gensync = function () { - return data; - }; - return data; -} -const ChainFormatter = exports.ChainFormatter = { - Programmatic: 0, - Config: 1 -}; -const Formatter = { - title(type, callerName, filepath) { - let title = ""; - if (type === ChainFormatter.Programmatic) { - title = "programmatic options"; - if (callerName) { - title += " from " + callerName; - } - } else { - title = "config " + filepath; - } - return title; - }, - loc(index, envName) { - let loc = ""; - if (index != null) { - loc += `.overrides[${index}]`; - } - if (envName != null) { - loc += `.env["${envName}"]`; - } - return loc; - }, - *optionsAndDescriptors(opt) { - const content = Object.assign({}, opt.options); - delete content.overrides; - delete content.env; - const pluginDescriptors = [...(yield* opt.plugins())]; - if (pluginDescriptors.length) { - content.plugins = pluginDescriptors.map(d => descriptorToConfig(d)); - } - const presetDescriptors = [...(yield* opt.presets())]; - if (presetDescriptors.length) { - content.presets = [...presetDescriptors].map(d => descriptorToConfig(d)); - } - return JSON.stringify(content, undefined, 2); - } -}; -function descriptorToConfig(d) { - var _d$file; - let name = (_d$file = d.file) == null ? void 0 : _d$file.request; - if (name == null) { - if (typeof d.value === "object") { - name = d.value; - } else if (typeof d.value === "function") { - name = `[Function: ${d.value.toString().slice(0, 50)} ... ]`; - } - } - if (name == null) { - name = "[Unknown]"; - } - if (d.options === undefined) { - return name; - } else if (d.name == null) { - return [name, d.options]; - } else { - return [name, d.options, d.name]; - } -} -class ConfigPrinter { - constructor() { - this._stack = []; - } - configure(enabled, type, { - callerName, - filepath - }) { - if (!enabled) return () => {}; - return (content, index, envName) => { - this._stack.push({ - type, - callerName, - filepath, - content, - index, - envName - }); - }; - } - static *format(config) { - let title = Formatter.title(config.type, config.callerName, config.filepath); - const loc = Formatter.loc(config.index, config.envName); - if (loc) title += ` ${loc}`; - const content = yield* Formatter.optionsAndDescriptors(config.content); - return `${title}\n${content}`; - } - *output() { - if (this._stack.length === 0) return ""; - const configs = yield* _gensync().all(this._stack.map(s => ConfigPrinter.format(s))); - return configs.join("\n\n"); - } -} -exports.ConfigPrinter = ConfigPrinter; -0 && 0; - -//# sourceMappingURL=printer.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/printer.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/printer.js.map deleted file mode 100644 index de47394d..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/printer.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_gensync","data","require","ChainFormatter","exports","Programmatic","Config","Formatter","title","type","callerName","filepath","loc","index","envName","optionsAndDescriptors","opt","content","Object","assign","options","overrides","env","pluginDescriptors","plugins","length","map","d","descriptorToConfig","presetDescriptors","presets","JSON","stringify","undefined","_d$file","name","file","request","value","toString","slice","ConfigPrinter","constructor","_stack","configure","enabled","push","format","config","output","configs","gensync","all","s","join"],"sources":["../../src/config/printer.ts"],"sourcesContent":["import gensync from \"gensync\";\n\nimport type { Handler } from \"gensync\";\n\nimport type {\n OptionsAndDescriptors,\n UnloadedDescriptor,\n} from \"./config-descriptors.ts\";\n\n// todo: Use flow enums when @babel/transform-flow-types supports it\nexport const ChainFormatter = {\n Programmatic: 0,\n Config: 1,\n};\n\ntype PrintableConfig = {\n content: OptionsAndDescriptors;\n type: (typeof ChainFormatter)[keyof typeof ChainFormatter];\n callerName: string | undefined | null;\n filepath: string | undefined | null;\n index: number | undefined | null;\n envName: string | undefined | null;\n};\n\nconst Formatter = {\n title(\n type: (typeof ChainFormatter)[keyof typeof ChainFormatter],\n callerName?: string | null,\n filepath?: string | null,\n ): string {\n let title = \"\";\n if (type === ChainFormatter.Programmatic) {\n title = \"programmatic options\";\n if (callerName) {\n title += \" from \" + callerName;\n }\n } else {\n title = \"config \" + filepath;\n }\n return title;\n },\n loc(index?: number | null, envName?: string | null): string {\n let loc = \"\";\n if (index != null) {\n loc += `.overrides[${index}]`;\n }\n if (envName != null) {\n loc += `.env[\"${envName}\"]`;\n }\n return loc;\n },\n\n *optionsAndDescriptors(opt: OptionsAndDescriptors) {\n const content = { ...opt.options };\n // overrides and env will be printed as separated config items\n delete content.overrides;\n delete content.env;\n // resolve to descriptors\n const pluginDescriptors = [...(yield* opt.plugins())];\n if (pluginDescriptors.length) {\n content.plugins = pluginDescriptors.map(d => descriptorToConfig(d));\n }\n const presetDescriptors = [...(yield* opt.presets())];\n if (presetDescriptors.length) {\n content.presets = [...presetDescriptors].map(d => descriptorToConfig(d));\n }\n return JSON.stringify(content, undefined, 2);\n },\n};\n\nfunction descriptorToConfig(\n d: UnloadedDescriptor,\n): string | [string, object] | [string, object, string] {\n let name: string = d.file?.request;\n if (name == null) {\n if (typeof d.value === \"object\") {\n // @ts-expect-error FIXME\n name = d.value;\n } else if (typeof d.value === \"function\") {\n // If the unloaded descriptor is a function, i.e. `plugins: [ require(\"my-plugin\") ]`,\n // we print the first 50 characters of the function source code and hopefully we can see\n // `name: 'my-plugin'` in the source\n name = `[Function: ${d.value.toString().slice(0, 50)} ... ]`;\n }\n }\n if (name == null) {\n name = \"[Unknown]\";\n }\n if (d.options === undefined) {\n return name;\n } else if (d.name == null) {\n return [name, d.options];\n } else {\n return [name, d.options, d.name];\n }\n}\n\nexport class ConfigPrinter {\n _stack: PrintableConfig[] = [];\n configure(\n enabled: boolean,\n type: (typeof ChainFormatter)[keyof typeof ChainFormatter],\n {\n callerName,\n filepath,\n }: {\n callerName?: string;\n filepath?: string;\n },\n ) {\n if (!enabled) return () => {};\n return (\n content: OptionsAndDescriptors,\n index?: number | null,\n envName?: string | null,\n ) => {\n this._stack.push({\n type,\n callerName,\n filepath,\n content,\n index,\n envName,\n });\n };\n }\n static *format(config: PrintableConfig): Handler {\n let title = Formatter.title(\n config.type,\n config.callerName,\n config.filepath,\n );\n const loc = Formatter.loc(config.index, config.envName);\n if (loc) title += ` ${loc}`;\n const content = yield* Formatter.optionsAndDescriptors(config.content);\n return `${title}\\n${content}`;\n }\n\n *output(): Handler {\n if (this._stack.length === 0) return \"\";\n const configs = yield* gensync.all(\n this._stack.map(s => ConfigPrinter.format(s)),\n );\n return configs.join(\"\\n\\n\");\n }\n}\n"],"mappings":";;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAUO,MAAME,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAG;EAC5BE,YAAY,EAAE,CAAC;EACfC,MAAM,EAAE;AACV,CAAC;AAWD,MAAMC,SAAS,GAAG;EAChBC,KAAKA,CACHC,IAA0D,EAC1DC,UAA0B,EAC1BC,QAAwB,EAChB;IACR,IAAIH,KAAK,GAAG,EAAE;IACd,IAAIC,IAAI,KAAKN,cAAc,CAACE,YAAY,EAAE;MACxCG,KAAK,GAAG,sBAAsB;MAC9B,IAAIE,UAAU,EAAE;QACdF,KAAK,IAAI,QAAQ,GAAGE,UAAU;MAChC;IACF,CAAC,MAAM;MACLF,KAAK,GAAG,SAAS,GAAGG,QAAQ;IAC9B;IACA,OAAOH,KAAK;EACd,CAAC;EACDI,GAAGA,CAACC,KAAqB,EAAEC,OAAuB,EAAU;IAC1D,IAAIF,GAAG,GAAG,EAAE;IACZ,IAAIC,KAAK,IAAI,IAAI,EAAE;MACjBD,GAAG,IAAI,cAAcC,KAAK,GAAG;IAC/B;IACA,IAAIC,OAAO,IAAI,IAAI,EAAE;MACnBF,GAAG,IAAI,SAASE,OAAO,IAAI;IAC7B;IACA,OAAOF,GAAG;EACZ,CAAC;EAED,CAACG,qBAAqBA,CA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K,KAAKS,OAAO,EAAE;EAC/B;EAEA,CAACgC,MAAMA,CAAA,EAAoB;IACzB,IAAI,IAAI,CAACN,MAAM,CAAClB,MAAM,KAAK,CAAC,EAAE,OAAO,EAAE;IACvC,MAAMyB,OAAO,GAAG,OAAOC,SAAMA,CAAC,CAACC,GAAG,CAChC,IAAI,CAACT,MAAM,CAACjB,GAAG,CAAC2B,CAAC,IAAIZ,aAAa,CAACM,MAAM,CAACM,CAAC,CAAC,CAC9C,CAAC;IACD,OAAOH,OAAO,CAACI,IAAI,CAAC,MAAM,CAAC;EAC7B;AACF;AAAClD,OAAA,CAAAqC,aAAA,GAAAA,aAAA;AAAA","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets-browser.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets-browser.js deleted file mode 100644 index 3fdbd882..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets-browser.js +++ /dev/null @@ -1,41 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.resolveBrowserslistConfigFile = resolveBrowserslistConfigFile; -exports.resolveTargets = resolveTargets; -function _helperCompilationTargets() { - const data = require("@babel/helper-compilation-targets"); - _helperCompilationTargets = function () { - return data; - }; - return data; -} -function resolveBrowserslistConfigFile(browserslistConfigFile, configFilePath) { - return undefined; -} -function resolveTargets(options, root) { - const optTargets = options.targets; - let targets; - if (typeof optTargets === "string" || Array.isArray(optTargets)) { - targets = { - browsers: optTargets - }; - } else if (optTargets) { - if ("esmodules" in optTargets) { - targets = Object.assign({}, optTargets, { - esmodules: "intersect" - }); - } else { - targets = optTargets; - } - } - return (0, _helperCompilationTargets().default)(targets, { - ignoreBrowserslistConfig: true, - browserslistEnv: options.browserslistEnv - }); -} -0 && 0; - -//# sourceMappingURL=resolve-targets-browser.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets-browser.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets-browser.js.map deleted file mode 100644 index 57b49e3c..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets-browser.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_helperCompilationTargets","data","require","resolveBrowserslistConfigFile","browserslistConfigFile","configFilePath","undefined","resolveTargets","options","root","optTargets","targets","Array","isArray","browsers","Object","assign","esmodules","getTargets","ignoreBrowserslistConfig","browserslistEnv"],"sources":["../../src/config/resolve-targets-browser.ts"],"sourcesContent":["/* c8 ignore start */\n\nimport type { InputOptions } from \"./validation/options.ts\";\nimport getTargets, {\n type InputTargets,\n} from \"@babel/helper-compilation-targets\";\n\nimport type { Targets } from \"@babel/helper-compilation-targets\";\n\nexport function resolveBrowserslistConfigFile(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n browserslistConfigFile: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n configFilePath: string,\n): string | void {\n return undefined;\n}\n\nexport function resolveTargets(\n options: InputOptions,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n root: string,\n): Targets {\n const optTargets = options.targets;\n let targets: InputTargets;\n\n if (typeof optTargets === \"string\" || Array.isArray(optTargets)) {\n targets = { browsers: optTargets };\n } else if (optTargets) {\n if (\"esmodules\" in optTargets) {\n targets = { ...optTargets, esmodules: \"intersect\" };\n } else {\n // https://github.com/microsoft/TypeScript/issues/17002\n targets = optTargets as InputTargets;\n }\n }\n\n return getTargets(targets, {\n ignoreBrowserslistConfig: true,\n browserslistEnv: options.browserslistEnv,\n });\n}\n"],"mappings":";;;;;;;AAGA,SAAAA,0BAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,yBAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAMO,SAASE,6BAA6BA,CAE3CC,sBAA8B,EAE9BC,cAAsB,EACP;EACf,OAAOC,SAAS;AAClB;AAEO,SAASC,cAAcA,CAC5BC,OAAqB,EAErBC,IAAY,EACH;EACT,MAAMC,UAAU,GAAGF,OAAO,CAACG,OAAO;EAClC,IAAIA,OAAqB;EAEzB,IAAI,OAAOD,UAAU,KAAK,QAAQ,IAAIE,KAAK,CAACC,OAAO,CAACH,UAAU,CAAC,EAAE;IAC/DC,OAAO,GAAG;MAAEG,QAAQ,EAAEJ;IAAW,CAAC;EACpC,CAAC,MAAM,IAAIA,UAAU,EAAE;IACrB,IAAI,WAAW,IAAIA,UAAU,EAAE;MAC7BC,OAAO,GAAAI,MAAA,CAAAC,MAAA,KAAQN,UAAU;QAAEO,SAAS,EAAE;MAAW,EAAE;IACrD,CAAC,MAAM;MAELN,OAAO,GAAGD,UAA0B;IACtC;EACF;EAEA,OAAO,IAAAQ,mCAAU,EAACP,OAAO,EAAE;IACzBQ,wBAAwB,EAAE,IAAI;IAC9BC,eAAe,EAAEZ,OAAO,CAACY;EAC3B,CAAC,CAAC;AACJ;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets.js deleted file mode 100644 index 1fc539a7..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets.js +++ /dev/null @@ -1,61 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.resolveBrowserslistConfigFile = resolveBrowserslistConfigFile; -exports.resolveTargets = resolveTargets; -function _path() { - const data = require("path"); - _path = function () { - return data; - }; - return data; -} -function _helperCompilationTargets() { - const data = require("@babel/helper-compilation-targets"); - _helperCompilationTargets = function () { - return data; - }; - return data; -} -({}); -function resolveBrowserslistConfigFile(browserslistConfigFile, configFileDir) { - return _path().resolve(configFileDir, browserslistConfigFile); -} -function resolveTargets(options, root) { - const optTargets = options.targets; - let targets; - if (typeof optTargets === "string" || Array.isArray(optTargets)) { - targets = { - browsers: optTargets - }; - } else if (optTargets) { - if ("esmodules" in optTargets) { - targets = Object.assign({}, optTargets, { - esmodules: "intersect" - }); - } else { - targets = optTargets; - } - } - const { - browserslistConfigFile - } = options; - let configFile; - let ignoreBrowserslistConfig = false; - if (typeof browserslistConfigFile === "string") { - configFile = browserslistConfigFile; - } else { - ignoreBrowserslistConfig = browserslistConfigFile === false; - } - return (0, _helperCompilationTargets().default)(targets, { - ignoreBrowserslistConfig, - configFile, - configPath: root, - browserslistEnv: options.browserslistEnv - }); -} -0 && 0; - -//# sourceMappingURL=resolve-targets.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets.js.map deleted file mode 100644 index 575fd4f2..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/resolve-targets.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_path","data","require","_helperCompilationTargets","resolveBrowserslistConfigFile","browserslistConfigFile","configFileDir","path","resolve","resolveTargets","options","root","optTargets","targets","Array","isArray","browsers","Object","assign","esmodules","configFile","ignoreBrowserslistConfig","getTargets","configPath","browserslistEnv"],"sources":["../../src/config/resolve-targets.ts"],"sourcesContent":["type browserType = typeof import(\"./resolve-targets-browser\");\ntype nodeType = typeof import(\"./resolve-targets\");\n\n// Kind of gross, but essentially asserting that the exports of this module are the same as the\n// exports of index-browser, since this file may be replaced at bundle time with index-browser.\n// eslint-disable-next-line @typescript-eslint/no-unused-expressions\n({}) as any as browserType as nodeType;\n\nimport type { InputOptions } from \"./validation/options.ts\";\nimport path from \"node:path\";\nimport getTargets, {\n type InputTargets,\n} from \"@babel/helper-compilation-targets\";\n\nimport type { Targets } from \"@babel/helper-compilation-targets\";\n\nexport function resolveBrowserslistConfigFile(\n browserslistConfigFile: string,\n configFileDir: string,\n): string | undefined {\n return path.resolve(configFileDir, browserslistConfigFile);\n}\n\nexport function resolveTargets(options: InputOptions, root: string): Targets {\n const optTargets = options.targets;\n let targets: InputTargets;\n\n if (typeof optTargets === \"string\" || Array.isArray(optTargets)) {\n targets = { browsers: optTargets };\n } else if (optTargets) {\n if (\"esmodules\" in optTargets) {\n targets = { ...optTargets, esmodules: \"intersect\" };\n } else {\n // https://github.com/microsoft/TypeScript/issues/17002\n targets = optTargets as InputTargets;\n }\n }\n\n const { browserslistConfigFile } = options;\n let configFile;\n let ignoreBrowserslistConfig = false;\n if (typeof browserslistConfigFile === \"string\") {\n configFile = browserslistConfigFile;\n } else {\n ignoreBrowserslistConfig = browserslistConfigFile === false;\n }\n\n return getTargets(targets, {\n ignoreBrowserslistConfig,\n configFile,\n configPath: root,\n browserslistEnv: options.browserslistEnv,\n });\n}\n"],"mappings":";;;;;;;AASA,SAAAA,MAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,KAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,0BAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,yBAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAJA,CAAC,CAAC,CAAC;AAUI,SAASG,6BAA6BA,CAC3CC,sBAA8B,EAC9BC,aAAqB,EACD;EACpB,OAAOC,MAAGA,CAAC,CAACC,OAAO,CAACF,aAAa,EAAED,sBAAsB,CAAC;AAC5D;AAEO,SAASI,cAAcA,CAACC,OAAqB,EAAEC,IAAY,EAAW;EAC3E,MAAMC,UAAU,GAAGF,OAAO,CAACG,OAAO;EAClC,IAAIA,OAAqB;EAEzB,IAAI,OAAOD,UAAU,KAAK,QAAQ,IAAIE,KAAK,CAACC,OAAO,CAACH,UAAU,CAAC,EAAE;IAC/DC,OAAO,GAAG;MAAEG,QAAQ,EAAEJ;IAAW,CAAC;EACpC,CAAC,MAAM,IAAIA,UAAU,EAAE;IACrB,IAAI,WAAW,IAAIA,UAAU,EAAE;MAC7BC,OAAO,GAAAI,MAAA,CAAAC,MAAA,KAAQN,UAAU;QAAEO,SAAS,EAAE;MAAW,EAAE;IACrD,CAAC,MAAM;MAELN,OAAO,GAAGD,UAA0B;IACtC;EACF;EAEA,MAAM;IAAEP;EAAuB,CAAC,GAAGK,OAAO;EAC1C,IAAIU,UAAU;EACd,IAAIC,wBAAwB,GAAG,KAAK;EACpC,IAAI,OAAOhB,sBAAsB,KAAK,QAAQ,EAAE;IAC9Ce,UAAU,GAAGf,sBAAsB;EACrC,CAAC,MAAM;IACLgB,wBAAwB,GAAGhB,sBAAsB,KAAK,KAAK;EAC7D;EAEA,OAAO,IAAAiB,mCAAU,EAACT,OAAO,EAAE;IACzBQ,wBAAwB;IACxBD,UAAU;IACVG,UAAU,EAAEZ,IAAI;IAChBa,eAAe,EAAEd,OAAO,CAACc;EAC3B,CAAC,CAAC;AACJ;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/util.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/util.js deleted file mode 100644 index 077f1af8..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/util.js +++ /dev/null @@ -1,31 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.isIterableIterator = isIterableIterator; -exports.mergeOptions = mergeOptions; -function mergeOptions(target, source) { - for (const k of Object.keys(source)) { - if ((k === "parserOpts" || k === "generatorOpts" || k === "assumptions") && source[k]) { - const parserOpts = source[k]; - const targetObj = target[k] || (target[k] = {}); - mergeDefaultFields(targetObj, parserOpts); - } else { - const val = source[k]; - if (val !== undefined) target[k] = val; - } - } -} -function mergeDefaultFields(target, source) { - for (const k of Object.keys(source)) { - const val = source[k]; - if (val !== undefined) target[k] = val; - } -} -function isIterableIterator(value) { - return !!value && typeof value.next === "function" && typeof value[Symbol.iterator] === "function"; -} -0 && 0; - -//# sourceMappingURL=util.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/util.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/util.js.map deleted file mode 100644 index 2bdc742f..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/util.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["mergeOptions","target","source","k","Object","keys","parserOpts","targetObj","mergeDefaultFields","val","undefined","isIterableIterator","value","next","Symbol","iterator"],"sources":["../../src/config/util.ts"],"sourcesContent":["import type { InputOptions, ResolvedOptions } from \"./validation/options.ts\";\n\nexport function mergeOptions(\n target: InputOptions | ResolvedOptions,\n source: InputOptions,\n): void {\n for (const k of Object.keys(source)) {\n if (\n (k === \"parserOpts\" || k === \"generatorOpts\" || k === \"assumptions\") &&\n source[k]\n ) {\n const parserOpts = source[k];\n const targetObj = target[k] || (target[k] = {});\n mergeDefaultFields(targetObj, parserOpts);\n } else {\n //@ts-expect-error k must index source\n const val = source[k];\n //@ts-expect-error assigning source to target\n if (val !== undefined) target[k] = val as any;\n }\n }\n}\n\nfunction mergeDefaultFields(target: T, source: T) {\n for (const k of Object.keys(source) as (keyof T)[]) {\n const val = source[k];\n if (val !== undefined) target[k] = val;\n }\n}\n\nexport function isIterableIterator(value: any): value is IterableIterator {\n return (\n !!value &&\n typeof value.next === \"function\" &&\n typeof value[Symbol.iterator] === \"function\"\n );\n}\n"],"mappings":";;;;;;;AAEO,SAASA,YAAYA,CAC1BC,MAAsC,EACtCC,MAAoB,EACd;EACN,KAAK,MAAMC,CAAC,IAAIC,MAAM,CAACC,IAAI,CAACH,MAAM,CAAC,EAAE;IACnC,IACE,CAACC,CAAC,KAAK,YAAY,IAAIA,CAAC,KAAK,eAAe,IAAIA,CAAC,KAAK,aAAa,KACnED,MAAM,CAACC,CAAC,CAAC,EACT;MACA,MAAMG,UAAU,GAAGJ,MAAM,CAACC,CAAC,CAAC;MAC5B,MAAMI,SAAS,GAAGN,MAAM,CAACE,CAAC,CAAC,KAAKF,MAAM,CAACE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;MAC/CK,kBAAkB,CAACD,SAAS,EAAED,UAAU,CAAC;IAC3C,CAAC,MAAM;MAEL,MAAMG,GAAG,GAAGP,MAAM,CAACC,CAAC,CAAC;MAErB,IAAIM,GAAG,KAAKC,SAAS,EAAET,MAAM,CAACE,CAAC,CAAC,GAAGM,GAAU;IAC/C;EACF;AACF;AAEA,SAASD,kBAAkBA,CAAmBP,MAAS,EAAEC,MAAS,EAAE;EAClE,KAAK,MAAMC,CAAC,IAAIC,MAAM,CAACC,IAAI,CAACH,MAAM,CAAC,EAAiB;IAClD,MAAMO,GAAG,GAAGP,MAAM,CAACC,CAAC,CAAC;IACrB,IAAIM,GAAG,KAAKC,SAAS,EAAET,MAAM,CAACE,CAAC,CAAC,GAAGM,GAAG;EACxC;AACF;AAEO,SAASE,kBAAkBA,CAACC,KAAU,EAAkC;EAC7E,OACE,CAAC,CAACA,KAAK,IACP,OAAOA,KAAK,CAACC,IAAI,KAAK,UAAU,IAChC,OAAOD,KAAK,CAACE,MAAM,CAACC,QAAQ,CAAC,KAAK,UAAU;AAEhD;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/option-assertions.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/option-assertions.js deleted file mode 100644 index 02279717..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/option-assertions.js +++ /dev/null @@ -1,277 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.access = access; -exports.assertArray = assertArray; -exports.assertAssumptions = assertAssumptions; -exports.assertBabelrcSearch = assertBabelrcSearch; -exports.assertBoolean = assertBoolean; -exports.assertCallerMetadata = assertCallerMetadata; -exports.assertCompact = assertCompact; -exports.assertConfigApplicableTest = assertConfigApplicableTest; -exports.assertConfigFileSearch = assertConfigFileSearch; -exports.assertFunction = assertFunction; -exports.assertIgnoreList = assertIgnoreList; -exports.assertInputSourceMap = assertInputSourceMap; -exports.assertObject = assertObject; -exports.assertPluginList = assertPluginList; -exports.assertRootMode = assertRootMode; -exports.assertSourceMaps = assertSourceMaps; -exports.assertSourceType = assertSourceType; -exports.assertString = assertString; -exports.assertTargets = assertTargets; -exports.msg = msg; -function _helperCompilationTargets() { - const data = require("@babel/helper-compilation-targets"); - _helperCompilationTargets = function () { - return data; - }; - return data; -} -var _options = require("./options.js"); -function msg(loc) { - switch (loc.type) { - case "root": - return ``; - case "env": - return `${msg(loc.parent)}.env["${loc.name}"]`; - case "overrides": - return `${msg(loc.parent)}.overrides[${loc.index}]`; - case "option": - return `${msg(loc.parent)}.${loc.name}`; - case "access": - return `${msg(loc.parent)}[${JSON.stringify(loc.name)}]`; - default: - throw new Error(`Assertion failure: Unknown type ${loc.type}`); - } -} -function access(loc, name) { - return { - type: "access", - name, - parent: loc - }; -} -function assertRootMode(loc, value) { - if (value !== undefined && value !== "root" && value !== "upward" && value !== "upward-optional") { - throw new Error(`${msg(loc)} must be a "root", "upward", "upward-optional" or undefined`); - } - return value; -} -function assertSourceMaps(loc, value) { - if (value !== undefined && typeof value !== "boolean" && value !== "inline" && value !== "both") { - throw new Error(`${msg(loc)} must be a boolean, "inline", "both", or undefined`); - } - return value; -} -function assertCompact(loc, value) { - if (value !== undefined && typeof value !== "boolean" && value !== "auto") { - throw new Error(`${msg(loc)} must be a boolean, "auto", or undefined`); - } - return value; -} -function assertSourceType(loc, value) { - if (value !== undefined && value !== "module" && value !== "commonjs" && value !== "script" && value !== "unambiguous") { - throw new Error(`${msg(loc)} must be "module", "commonjs", "script", "unambiguous", or undefined`); - } - return value; -} -function assertCallerMetadata(loc, value) { - const obj = assertObject(loc, value); - if (obj) { - if (typeof obj.name !== "string") { - throw new Error(`${msg(loc)} set but does not contain "name" property string`); - } - for (const prop of Object.keys(obj)) { - const propLoc = access(loc, prop); - const value = obj[prop]; - if (value != null && typeof value !== "boolean" && typeof value !== "string" && typeof value !== "number") { - throw new Error(`${msg(propLoc)} must be null, undefined, a boolean, a string, or a number.`); - } - } - } - return value; -} -function assertInputSourceMap(loc, value) { - if (value !== undefined && typeof value !== "boolean" && (typeof value !== "object" || !value)) { - throw new Error(`${msg(loc)} must be a boolean, object, or undefined`); - } - return value; -} -function assertString(loc, value) { - if (value !== undefined && typeof value !== "string") { - throw new Error(`${msg(loc)} must be a string, or undefined`); - } - return value; -} -function assertFunction(loc, value) { - if (value !== undefined && typeof value !== "function") { - throw new Error(`${msg(loc)} must be a function, or undefined`); - } - return value; -} -function assertBoolean(loc, value) { - if (value !== undefined && typeof value !== "boolean") { - throw new Error(`${msg(loc)} must be a boolean, or undefined`); - } - return value; -} -function assertObject(loc, value) { - if (value !== undefined && (typeof value !== "object" || Array.isArray(value) || !value)) { - throw new Error(`${msg(loc)} must be an object, or undefined`); - } - return value; -} -function assertArray(loc, value) { - if (value != null && !Array.isArray(value)) { - throw new Error(`${msg(loc)} must be an array, or undefined`); - } - return value; -} -function assertIgnoreList(loc, value) { - const arr = assertArray(loc, value); - arr == null || arr.forEach((item, i) => assertIgnoreItem(access(loc, i), item)); - return arr; -} -function assertIgnoreItem(loc, value) { - if (typeof value !== "string" && typeof value !== "function" && !(value instanceof RegExp)) { - throw new Error(`${msg(loc)} must be an array of string/Function/RegExp values, or undefined`); - } - return value; -} -function assertConfigApplicableTest(loc, value) { - if (value === undefined) { - return value; - } - if (Array.isArray(value)) { - value.forEach((item, i) => { - if (!checkValidTest(item)) { - throw new Error(`${msg(access(loc, i))} must be a string/Function/RegExp.`); - } - }); - } else if (!checkValidTest(value)) { - throw new Error(`${msg(loc)} must be a string/Function/RegExp, or an array of those`); - } - return value; -} -function checkValidTest(value) { - return typeof value === "string" || typeof value === "function" || value instanceof RegExp; -} -function assertConfigFileSearch(loc, value) { - if (value !== undefined && typeof value !== "boolean" && typeof value !== "string") { - throw new Error(`${msg(loc)} must be a undefined, a boolean, a string, ` + `got ${JSON.stringify(value)}`); - } - return value; -} -function assertBabelrcSearch(loc, value) { - if (value === undefined || typeof value === "boolean") { - return value; - } - if (Array.isArray(value)) { - value.forEach((item, i) => { - if (!checkValidTest(item)) { - throw new Error(`${msg(access(loc, i))} must be a string/Function/RegExp.`); - } - }); - } else if (!checkValidTest(value)) { - throw new Error(`${msg(loc)} must be a undefined, a boolean, a string/Function/RegExp ` + `or an array of those, got ${JSON.stringify(value)}`); - } - return value; -} -function assertPluginList(loc, value) { - const arr = assertArray(loc, value); - if (arr) { - arr.forEach((item, i) => assertPluginItem(access(loc, i), item)); - } - return arr; -} -function assertPluginItem(loc, value) { - if (Array.isArray(value)) { - if (value.length === 0) { - throw new Error(`${msg(loc)} must include an object`); - } - if (value.length > 3) { - throw new Error(`${msg(loc)} may only be a two-tuple or three-tuple`); - } - assertPluginTarget(access(loc, 0), value[0]); - if (value.length > 1) { - const opts = value[1]; - if (opts !== undefined && opts !== false && (typeof opts !== "object" || Array.isArray(opts) || opts === null)) { - throw new Error(`${msg(access(loc, 1))} must be an object, false, or undefined`); - } - } - if (value.length === 3) { - const name = value[2]; - if (name !== undefined && typeof name !== "string") { - throw new Error(`${msg(access(loc, 2))} must be a string, or undefined`); - } - } - } else { - assertPluginTarget(loc, value); - } - return value; -} -function assertPluginTarget(loc, value) { - if ((typeof value !== "object" || !value) && typeof value !== "string" && typeof value !== "function") { - throw new Error(`${msg(loc)} must be a string, object, function`); - } - return value; -} -function assertTargets(loc, value) { - if ((0, _helperCompilationTargets().isBrowsersQueryValid)(value)) return value; - if (typeof value !== "object" || !value || Array.isArray(value)) { - throw new Error(`${msg(loc)} must be a string, an array of strings or an object`); - } - const browsersLoc = access(loc, "browsers"); - const esmodulesLoc = access(loc, "esmodules"); - assertBrowsersList(browsersLoc, value.browsers); - assertBoolean(esmodulesLoc, value.esmodules); - for (const key of Object.keys(value)) { - const val = value[key]; - const subLoc = access(loc, key); - if (key === "esmodules") assertBoolean(subLoc, val);else if (key === "browsers") assertBrowsersList(subLoc, val);else if (!hasOwnProperty.call(_helperCompilationTargets().TargetNames, key)) { - const validTargets = Object.keys(_helperCompilationTargets().TargetNames).join(", "); - throw new Error(`${msg(subLoc)} is not a valid target. Supported targets are ${validTargets}`); - } else assertBrowserVersion(subLoc, val); - } - return value; -} -function assertBrowsersList(loc, value) { - if (value !== undefined && !(0, _helperCompilationTargets().isBrowsersQueryValid)(value)) { - throw new Error(`${msg(loc)} must be undefined, a string or an array of strings`); - } -} -function assertBrowserVersion(loc, value) { - if (typeof value === "number" && Math.round(value) === value) return; - if (typeof value === "string") return; - throw new Error(`${msg(loc)} must be a string or an integer number`); -} -function assertAssumptions(loc, value) { - if (value === undefined) return; - if (typeof value !== "object" || value === null) { - throw new Error(`${msg(loc)} must be an object or undefined.`); - } - let root = loc; - do { - root = root.parent; - } while (root.type !== "root"); - const inPreset = root.source === "preset"; - for (const name of Object.keys(value)) { - const subLoc = access(loc, name); - if (!_options.assumptionsNames.has(name)) { - throw new Error(`${msg(subLoc)} is not a supported assumption.`); - } - if (typeof value[name] !== "boolean") { - throw new Error(`${msg(subLoc)} must be a boolean.`); - } - if (inPreset && value[name] === false) { - throw new Error(`${msg(subLoc)} cannot be set to 'false' inside presets.`); - } - } - return value; -} -0 && 0; - -//# sourceMappingURL=option-assertions.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/option-assertions.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/option-assertions.js.map deleted file mode 100644 index 38ba554f..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/option-assertions.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_helperCompilationTargets","data","require","_options","msg","loc","type","parent","name","index","JSON","stringify","Error","access","assertRootMode","value","undefined","assertSourceMaps","assertCompact","assertSourceType","assertCallerMetadata","obj","assertObject","prop","Object","keys","propLoc","assertInputSourceMap","assertString","assertFunction","assertBoolean","Array","isArray","assertArray","assertIgnoreList","arr","forEach","item","i","assertIgnoreItem","RegExp","assertConfigApplicableTest","checkValidTest","assertConfigFileSearch","assertBabelrcSearch","assertPluginList","assertPluginItem","length","assertPluginTarget","opts","assertTargets","isBrowsersQueryValid","browsersLoc","esmodulesLoc","assertBrowsersList","browsers","esmodules","key","val","subLoc","hasOwnProperty","call","TargetNames","validTargets","join","assertBrowserVersion","Math","round","assertAssumptions","root","inPreset","source","assumptionsNames","has"],"sources":["../../../src/config/validation/option-assertions.ts"],"sourcesContent":["import {\n isBrowsersQueryValid,\n TargetNames,\n} from \"@babel/helper-compilation-targets\";\n\nimport type {\n ConfigFileSearch,\n BabelrcSearch,\n MatchItem,\n PluginTarget,\n ConfigApplicableTest,\n SourceMapsOption,\n SourceTypeOption,\n CompactOption,\n RootInputSourceMapOption,\n NestingPath,\n CallerMetadata,\n RootMode,\n TargetsListOrObject,\n AssumptionName,\n PluginItem,\n} from \"./options.ts\";\n\nimport { assumptionsNames } from \"./options.ts\";\n\nexport type { RootPath } from \"./options.ts\";\n\nexport type ValidatorSet = Record>;\n\nexport type Validator = (loc: OptionPath, value: unknown) => T;\n\nexport function msg(loc: NestingPath | GeneralPath): string {\n switch (loc.type) {\n case \"root\":\n return ``;\n case \"env\":\n return `${msg(loc.parent)}.env[\"${loc.name}\"]`;\n case \"overrides\":\n return `${msg(loc.parent)}.overrides[${loc.index}]`;\n case \"option\":\n return `${msg(loc.parent)}.${loc.name}`;\n case \"access\":\n return `${msg(loc.parent)}[${JSON.stringify(loc.name)}]`;\n default:\n // @ts-expect-error should not happen when code is type checked\n throw new Error(`Assertion failure: Unknown type ${loc.type}`);\n }\n}\n\nexport function access(loc: GeneralPath, name: string | number): AccessPath {\n return {\n type: \"access\",\n name,\n parent: loc,\n };\n}\n\nexport type OptionPath = Readonly<{\n type: \"option\";\n name: string;\n parent: NestingPath;\n}>;\ntype AccessPath = Readonly<{\n type: \"access\";\n name: string | number;\n parent: GeneralPath;\n}>;\ntype GeneralPath = OptionPath | AccessPath;\n\nexport function assertRootMode(\n loc: OptionPath,\n value: unknown,\n): RootMode | void {\n if (\n value !== undefined &&\n value !== \"root\" &&\n value !== \"upward\" &&\n value !== \"upward-optional\"\n ) {\n throw new Error(\n `${msg(loc)} must be a \"root\", \"upward\", \"upward-optional\" or undefined`,\n );\n }\n // @ts-expect-error: TS can only narrow down the type when \"strictNullCheck\" is true\n return value;\n}\n\nexport function assertSourceMaps(\n loc: OptionPath,\n value: unknown,\n): SourceMapsOption | void {\n if (\n value !== undefined &&\n typeof value !== \"boolean\" &&\n value !== \"inline\" &&\n value !== \"both\"\n ) {\n throw new Error(\n `${msg(loc)} must be a boolean, \"inline\", \"both\", or undefined`,\n );\n }\n // @ts-expect-error: TS can only narrow down the type when \"strictNullCheck\" is true\n return value;\n}\n\nexport function assertCompact(\n loc: OptionPath,\n value: unknown,\n): CompactOption | void {\n if (value !== undefined && typeof value !== \"boolean\" && value !== \"auto\") {\n throw new Error(`${msg(loc)} must be a boolean, \"auto\", or undefined`);\n }\n // @ts-expect-error: TS can only narrow down the type when \"strictNullCheck\" is true\n return value;\n}\n\nexport function assertSourceType(\n loc: OptionPath,\n value: unknown,\n): SourceTypeOption | void {\n if (\n value !== undefined &&\n value !== \"module\" &&\n value !== \"commonjs\" &&\n value !== \"script\" &&\n value !== \"unambiguous\"\n ) {\n throw new Error(\n `${msg(loc)} must be \"module\", \"commonjs\", \"script\", \"unambiguous\", or undefined`,\n );\n }\n // @ts-expect-error: TS can only narrow down the type when \"strictNullCheck\" is true\n return value;\n}\n\nexport function assertCallerMetadata(\n loc: OptionPath,\n value: unknown,\n): CallerMetadata | undefined {\n const obj = assertObject(loc, value);\n if (obj) {\n if (typeof obj.name !== \"string\") {\n throw new Error(\n `${msg(loc)} set but does not contain \"name\" property string`,\n );\n }\n\n for (const prop of Object.keys(obj)) {\n const propLoc = access(loc, prop);\n const value = obj[prop];\n if (\n value != null &&\n typeof value !== \"boolean\" &&\n typeof value !== \"string\" &&\n typeof value !== \"number\"\n ) {\n // NOTE(logan): I'm limiting the type here so that we can guarantee that\n // the \"caller\" value will serialize to JSON nicely. We can always\n // allow more complex structures later though.\n throw new Error(\n `${msg(\n propLoc,\n )} must be null, undefined, a boolean, a string, or a number.`,\n );\n }\n }\n }\n // @ts-expect-error todo(flow->ts)\n return value;\n}\n\nexport function assertInputSourceMap(\n loc: OptionPath,\n value: unknown,\n): RootInputSourceMapOption {\n if (\n value !== undefined &&\n typeof value !== \"boolean\" &&\n (typeof value !== \"object\" || !value)\n ) {\n throw new Error(`${msg(loc)} must be a boolean, object, or undefined`);\n }\n return value as RootInputSourceMapOption;\n}\n\nexport function assertString(loc: GeneralPath, value: unknown): string | void {\n if (value !== undefined && typeof value !== \"string\") {\n throw new Error(`${msg(loc)} must be a string, or undefined`);\n }\n // @ts-expect-error: TS can only narrow down the type when \"strictNullCheck\" is true\n return value;\n}\n\nexport function assertFunction(\n loc: GeneralPath,\n value: unknown,\n): Function | void {\n if (value !== undefined && typeof value !== \"function\") {\n throw new Error(`${msg(loc)} must be a function, or undefined`);\n }\n // @ts-expect-error: TS can only narrow down the type when \"strictNullCheck\" is true\n return value;\n}\n\nexport function assertBoolean(\n loc: GeneralPath,\n value: unknown,\n): boolean | void {\n if (value !== undefined && typeof value !== \"boolean\") {\n throw new Error(`${msg(loc)} must be a boolean, or undefined`);\n }\n // @ts-expect-error: TS can only narrow down the type when \"strictNullCheck\" is true\n return value;\n}\n\nexport function assertObject(\n loc: GeneralPath,\n value: unknown,\n): Readonly> | void {\n if (\n value !== undefined &&\n (typeof value !== \"object\" || Array.isArray(value) || !value)\n ) {\n throw new Error(`${msg(loc)} must be an object, or undefined`);\n }\n // @ts-expect-error todo(flow->ts) value is still typed as unknown, also assert function typically should not return a value\n return value;\n}\n\nexport function assertArray(\n loc: GeneralPath,\n value: T[] | undefined | null,\n): T[] | undefined | null {\n if (value != null && !Array.isArray(value)) {\n throw new Error(`${msg(loc)} must be an array, or undefined`);\n }\n return value;\n}\n\nexport function assertIgnoreList(\n loc: OptionPath,\n value: unknown[] | undefined,\n): MatchItem[] | void {\n const arr = assertArray(loc, value);\n arr?.forEach((item, i) => assertIgnoreItem(access(loc, i), item));\n // @ts-expect-error todo(flow->ts)\n return arr;\n}\nfunction assertIgnoreItem(loc: GeneralPath, value: unknown): MatchItem {\n if (\n typeof value !== \"string\" &&\n typeof value !== \"function\" &&\n !(value instanceof RegExp)\n ) {\n throw new Error(\n `${msg(\n loc,\n )} must be an array of string/Function/RegExp values, or undefined`,\n );\n }\n return value as MatchItem;\n}\n\nexport function assertConfigApplicableTest(\n loc: OptionPath,\n value: unknown,\n): ConfigApplicableTest | void {\n if (value === undefined) {\n // @ts-expect-error: TS can only narrow down the type when \"strictNullCheck\" is true\n return value;\n }\n\n if (Array.isArray(value)) {\n value.forEach((item, i) => {\n if (!checkValidTest(item)) {\n throw new Error(\n `${msg(access(loc, i))} must be a string/Function/RegExp.`,\n );\n }\n });\n } else if (!checkValidTest(value)) {\n throw new Error(\n `${msg(loc)} must be a string/Function/RegExp, or an array of those`,\n );\n }\n return value as ConfigApplicableTest;\n}\n\nfunction checkValidTest(value: unknown): value is string | Function | RegExp {\n return (\n typeof value === \"string\" ||\n typeof value === \"function\" ||\n value instanceof RegExp\n );\n}\n\nexport function assertConfigFileSearch(\n loc: OptionPath,\n value: unknown,\n): ConfigFileSearch | void {\n if (\n value !== undefined &&\n typeof value !== \"boolean\" &&\n typeof value !== \"string\"\n ) {\n throw new Error(\n `${msg(loc)} must be a undefined, a boolean, a string, ` +\n `got ${JSON.stringify(value)}`,\n );\n }\n // @ts-expect-error: TS can only narrow down the type when \"strictNullCheck\" is true\n return value;\n}\n\nexport function assertBabelrcSearch(\n loc: OptionPath,\n value: unknown,\n): BabelrcSearch | void {\n if (value === undefined || typeof value === \"boolean\") {\n // @ts-expect-error: TS can only narrow down the type when \"strictNullCheck\" is true\n return value;\n }\n\n if (Array.isArray(value)) {\n value.forEach((item, i) => {\n if (!checkValidTest(item)) {\n throw new Error(\n `${msg(access(loc, i))} must be a string/Function/RegExp.`,\n );\n }\n });\n } else if (!checkValidTest(value)) {\n throw new Error(\n `${msg(loc)} must be a undefined, a boolean, a string/Function/RegExp ` +\n `or an array of those, got ${JSON.stringify(value as any)}`,\n );\n }\n return value as BabelrcSearch;\n}\n\nexport function assertPluginList(\n loc: OptionPath,\n value: unknown[] | null | undefined,\n): PluginItem[] {\n const arr = assertArray(loc, value);\n if (arr) {\n // Loop instead of using `.map` in order to preserve object identity\n // for plugin array for use during config chain processing.\n arr.forEach((item, i) => assertPluginItem(access(loc, i), item));\n }\n return arr as PluginItem[];\n}\nfunction assertPluginItem(loc: GeneralPath, value: unknown): PluginItem {\n if (Array.isArray(value)) {\n if (value.length === 0) {\n throw new Error(`${msg(loc)} must include an object`);\n }\n\n if (value.length > 3) {\n throw new Error(`${msg(loc)} may only be a two-tuple or three-tuple`);\n }\n\n assertPluginTarget(access(loc, 0), value[0]);\n\n if (value.length > 1) {\n const opts = value[1];\n if (\n opts !== undefined &&\n opts !== false &&\n (typeof opts !== \"object\" || Array.isArray(opts) || opts === null)\n ) {\n throw new Error(\n `${msg(access(loc, 1))} must be an object, false, or undefined`,\n );\n }\n }\n if (value.length === 3) {\n const name = value[2];\n if (name !== undefined && typeof name !== \"string\") {\n throw new Error(\n `${msg(access(loc, 2))} must be a string, or undefined`,\n );\n }\n }\n } else {\n assertPluginTarget(loc, value);\n }\n\n return value as PluginItem;\n}\nfunction assertPluginTarget(loc: GeneralPath, value: unknown): PluginTarget {\n if (\n (typeof value !== \"object\" || !value) &&\n typeof value !== \"string\" &&\n typeof value !== \"function\"\n ) {\n throw new Error(`${msg(loc)} must be a string, object, function`);\n }\n return value as PluginTarget;\n}\n\nexport function assertTargets(\n loc: GeneralPath,\n value: any,\n): TargetsListOrObject {\n if (isBrowsersQueryValid(value)) return value;\n\n if (typeof value !== \"object\" || !value || Array.isArray(value)) {\n throw new Error(\n `${msg(loc)} must be a string, an array of strings or an object`,\n );\n }\n\n const browsersLoc = access(loc, \"browsers\");\n const esmodulesLoc = access(loc, \"esmodules\");\n\n assertBrowsersList(browsersLoc, value.browsers);\n assertBoolean(esmodulesLoc, value.esmodules);\n\n for (const key of Object.keys(value)) {\n const val = value[key];\n const subLoc = access(loc, key);\n\n if (key === \"esmodules\") assertBoolean(subLoc, val);\n else if (key === \"browsers\") assertBrowsersList(subLoc, val);\n else if (!Object.hasOwn(TargetNames, key)) {\n const validTargets = Object.keys(TargetNames).join(\", \");\n throw new Error(\n `${msg(\n subLoc,\n )} is not a valid target. Supported targets are ${validTargets}`,\n );\n } else assertBrowserVersion(subLoc, val);\n }\n\n return value;\n}\n\nfunction assertBrowsersList(loc: GeneralPath, value: unknown) {\n if (value !== undefined && !isBrowsersQueryValid(value)) {\n throw new Error(\n `${msg(loc)} must be undefined, a string or an array of strings`,\n );\n }\n}\n\nfunction assertBrowserVersion(loc: GeneralPath, value: unknown) {\n if (typeof value === \"number\" && Math.round(value) === value) return;\n if (typeof value === \"string\") return;\n\n throw new Error(`${msg(loc)} must be a string or an integer number`);\n}\n\nexport function assertAssumptions(\n loc: GeneralPath,\n value: Record,\n): Record | void {\n if (value === undefined) return;\n\n if (typeof value !== \"object\" || value === null) {\n throw new Error(`${msg(loc)} must be an object or undefined.`);\n }\n\n // todo(flow->ts): remove any\n let root: any = loc;\n do {\n root = root.parent;\n } while (root.type !== \"root\");\n const inPreset = root.source === \"preset\";\n\n for (const name of Object.keys(value)) {\n const subLoc = access(loc, name);\n if (!assumptionsNames.has(name as AssumptionName)) {\n throw new Error(`${msg(subLoc)} is not a supported assumption.`);\n }\n if (typeof value[name] !== \"boolean\") {\n throw new Error(`${msg(subLoc)} must be a boolean.`);\n }\n if (inPreset && value[name] === false) {\n throw new Error(\n `${msg(subLoc)} cannot be set to 'false' inside presets.`,\n );\n }\n }\n\n // @ts-expect-error todo(flow->ts)\n return value;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAAA,0BAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,yBAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;A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AK,KAAK,EAAE;MACrC,MAAM,IAAII,KAAK,CACb,GAAGR,GAAG,CAACuD,MAAM,CAAC,2CAChB,CAAC;IACH;EACF;EAGA,OAAO5C,KAAK;AACd;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/options.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/options.js deleted file mode 100644 index d6941707..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/options.js +++ /dev/null @@ -1,187 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.assumptionsNames = void 0; -exports.checkNoUnwrappedItemOptionPairs = checkNoUnwrappedItemOptionPairs; -exports.validate = validate; -var _removed = require("./removed.js"); -var _optionAssertions = require("./option-assertions.js"); -var _configError = require("../../errors/config-error.js"); -const ROOT_VALIDATORS = { - cwd: _optionAssertions.assertString, - root: _optionAssertions.assertString, - rootMode: _optionAssertions.assertRootMode, - configFile: _optionAssertions.assertConfigFileSearch, - caller: _optionAssertions.assertCallerMetadata, - filename: _optionAssertions.assertString, - filenameRelative: _optionAssertions.assertString, - code: _optionAssertions.assertBoolean, - ast: _optionAssertions.assertBoolean, - cloneInputAst: _optionAssertions.assertBoolean, - envName: _optionAssertions.assertString -}; -const BABELRC_VALIDATORS = { - babelrc: _optionAssertions.assertBoolean, - babelrcRoots: _optionAssertions.assertBabelrcSearch -}; -const NONPRESET_VALIDATORS = { - extends: _optionAssertions.assertString, - ignore: _optionAssertions.assertIgnoreList, - only: _optionAssertions.assertIgnoreList, - targets: _optionAssertions.assertTargets, - browserslistConfigFile: _optionAssertions.assertConfigFileSearch, - browserslistEnv: _optionAssertions.assertString -}; -const COMMON_VALIDATORS = { - inputSourceMap: _optionAssertions.assertInputSourceMap, - presets: _optionAssertions.assertPluginList, - plugins: _optionAssertions.assertPluginList, - passPerPreset: _optionAssertions.assertBoolean, - assumptions: _optionAssertions.assertAssumptions, - env: assertEnvSet, - overrides: assertOverridesList, - test: _optionAssertions.assertConfigApplicableTest, - include: _optionAssertions.assertConfigApplicableTest, - exclude: _optionAssertions.assertConfigApplicableTest, - retainLines: _optionAssertions.assertBoolean, - comments: _optionAssertions.assertBoolean, - shouldPrintComment: _optionAssertions.assertFunction, - compact: _optionAssertions.assertCompact, - minified: _optionAssertions.assertBoolean, - auxiliaryCommentBefore: _optionAssertions.assertString, - auxiliaryCommentAfter: _optionAssertions.assertString, - sourceType: _optionAssertions.assertSourceType, - wrapPluginVisitorMethod: _optionAssertions.assertFunction, - highlightCode: _optionAssertions.assertBoolean, - sourceMaps: _optionAssertions.assertSourceMaps, - sourceMap: _optionAssertions.assertSourceMaps, - sourceFileName: _optionAssertions.assertString, - sourceRoot: _optionAssertions.assertString, - parserOpts: _optionAssertions.assertObject, - generatorOpts: _optionAssertions.assertObject -}; -Object.assign(COMMON_VALIDATORS, { - getModuleId: _optionAssertions.assertFunction, - moduleRoot: _optionAssertions.assertString, - moduleIds: _optionAssertions.assertBoolean, - moduleId: _optionAssertions.assertString -}); -const knownAssumptions = ["arrayLikeIsIterable", "constantReexports", "constantSuper", "enumerableModuleMeta", "ignoreFunctionLength", "ignoreToPrimitiveHint", "iterableIsArray", "mutableTemplateObject", "noClassCalls", "noDocumentAll", "noIncompleteNsImportDetection", "noNewArrows", "noUninitializedPrivateFieldAccess", "objectRestNoSymbols", "privateFieldsAsSymbols", "privateFieldsAsProperties", "pureGetters", "setClassMethods", "setComputedProperties", "setPublicClassFields", "setSpreadProperties", "skipForOfIteratorClosing", "superIsCallableConstructor"]; -const assumptionsNames = exports.assumptionsNames = new Set(knownAssumptions); -function getSource(loc) { - return loc.type === "root" ? loc.source : getSource(loc.parent); -} -function validate(type, opts, filename) { - try { - return validateNested({ - type: "root", - source: type - }, opts); - } catch (error) { - const configError = new _configError.default(error.message, filename); - if (error.code) configError.code = error.code; - throw configError; - } -} -function validateNested(loc, opts) { - const type = getSource(loc); - assertNoDuplicateSourcemap(opts); - Object.keys(opts).forEach(key => { - const optLoc = { - type: "option", - name: key, - parent: loc - }; - if (type === "preset" && NONPRESET_VALIDATORS[key]) { - throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is not allowed in preset options`); - } - if (type !== "arguments" && ROOT_VALIDATORS[key]) { - throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is only allowed in root programmatic options`); - } - if (type !== "arguments" && type !== "configfile" && BABELRC_VALIDATORS[key]) { - if (type === "babelrcfile" || type === "extendsfile") { - throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, ` + `or babel.config.js/config file options`); - } - throw new Error(`${(0, _optionAssertions.msg)(optLoc)} is only allowed in root programmatic options, or babel.config.js/config file options`); - } - const validator = COMMON_VALIDATORS[key] || NONPRESET_VALIDATORS[key] || BABELRC_VALIDATORS[key] || ROOT_VALIDATORS[key] || throwUnknownError; - validator(optLoc, opts[key]); - }); - return opts; -} -function throwUnknownError(loc) { - const key = loc.name; - if (_removed.default[key]) { - const { - message, - version = 5 - } = _removed.default[key]; - throw new Error(`Using removed Babel ${version} option: ${(0, _optionAssertions.msg)(loc)} - ${message}`); - } else { - const unknownOptErr = new Error(`Unknown option: ${(0, _optionAssertions.msg)(loc)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`); - unknownOptErr.code = "BABEL_UNKNOWN_OPTION"; - throw unknownOptErr; - } -} -function assertNoDuplicateSourcemap(opts) { - if (hasOwnProperty.call(opts, "sourceMap") && hasOwnProperty.call(opts, "sourceMaps")) { - throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both"); - } -} -function assertEnvSet(loc, value) { - if (loc.parent.type === "env") { - throw new Error(`${(0, _optionAssertions.msg)(loc)} is not allowed inside of another .env block`); - } - const parent = loc.parent; - const obj = (0, _optionAssertions.assertObject)(loc, value); - if (obj) { - for (const envName of Object.keys(obj)) { - const env = (0, _optionAssertions.assertObject)((0, _optionAssertions.access)(loc, envName), obj[envName]); - if (!env) continue; - const envLoc = { - type: "env", - name: envName, - parent - }; - validateNested(envLoc, env); - } - } - return obj; -} -function assertOverridesList(loc, value) { - if (loc.parent.type === "env") { - throw new Error(`${(0, _optionAssertions.msg)(loc)} is not allowed inside an .env block`); - } - if (loc.parent.type === "overrides") { - throw new Error(`${(0, _optionAssertions.msg)(loc)} is not allowed inside an .overrides block`); - } - const parent = loc.parent; - const arr = (0, _optionAssertions.assertArray)(loc, value); - if (arr) { - for (const [index, item] of arr.entries()) { - const objLoc = (0, _optionAssertions.access)(loc, index); - const env = (0, _optionAssertions.assertObject)(objLoc, item); - if (!env) throw new Error(`${(0, _optionAssertions.msg)(objLoc)} must be an object`); - const overridesLoc = { - type: "overrides", - index, - parent - }; - validateNested(overridesLoc, env); - } - } - return arr; -} -function checkNoUnwrappedItemOptionPairs(items, index, type, e) { - if (index === 0) return; - const lastItem = items[index - 1]; - const thisItem = items[index]; - if (lastItem.file && lastItem.options === undefined && typeof thisItem.value === "object") { - e.message += `\n- Maybe you meant to use\n` + `"${type}s": [\n ["${lastItem.file.request}", ${JSON.stringify(thisItem.value, undefined, 2)}]\n]\n` + `To be a valid ${type}, its name and options should be wrapped in a pair of brackets`; - } -} -0 && 0; - -//# sourceMappingURL=options.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/options.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/options.js.map deleted file mode 100644 index a1a5185d..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/options.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_removed","require","_optionAssertions","_configError","ROOT_VALIDATORS","cwd","assertString","root","rootMode","assertRootMode","configFile","assertConfigFileSearch","caller","assertCallerMetadata","filename","filenameRelative","code","assertBoolean","ast","cloneInputAst","envName","BABELRC_VALIDATORS","babelrc","babelrcRoots","assertBabelrcSearch","NONPRESET_VALIDATORS","extends","ignore","assertIgnoreList","only","targets","assertTargets","browserslistConfigFile","browserslistEnv","COMMON_VALIDATORS","inputSourceMap","assertInputSourceMap","presets","assertPluginList","plugins","passPerPreset","assumptions","assertAssumptions","env","assertEnvSet","overrides","assertOverridesList","test","assertConfigApplicableTest","include","exclude","retainLines","comments","shouldPrintComment","assertFunction","compact","assertCompact","minified","auxiliaryCommentBefore","auxiliaryCommentAfter","sourceType","assertSourceType","wrapPluginVisitorMethod","highlightCode","sourceMaps","assertSourceMaps","sourceMap","sourceFileName","sourceRoot","parserOpts","assertObject","generatorOpts","Object","assign","getModuleId","moduleRoot","moduleIds","moduleId","knownAssumptions","assumptionsNames","exports","Set","getSource","loc","type","source","parent","validate","opts","validateNested","error","configError","ConfigError","message","assertNoDuplicateSourcemap","keys","forEach","key","optLoc","name","Error","msg","validator","throwUnknownError","removed","version","unknownOptErr","hasOwnProperty","call","value","obj","access","envLoc","arr","assertArray","index","item","entries","objLoc","overridesLoc","checkNoUnwrappedItemOptionPairs","items","e","lastItem","thisItem","file","options","undefined","request","JSON","stringify"],"sources":["../../../src/config/validation/options.ts"],"sourcesContent":["import type { InputTargets, Targets } from \"@babel/helper-compilation-targets\";\n\nimport type { ConfigItem } from \"../item.ts\";\n\nimport removed from \"./removed.ts\";\nimport {\n msg,\n access,\n assertString,\n assertBoolean,\n assertObject,\n assertArray,\n assertCallerMetadata,\n assertInputSourceMap,\n assertIgnoreList,\n assertPluginList,\n assertConfigApplicableTest,\n assertConfigFileSearch,\n assertBabelrcSearch,\n assertFunction,\n assertRootMode,\n assertSourceMaps,\n assertCompact,\n assertSourceType,\n assertTargets,\n assertAssumptions,\n} from \"./option-assertions.ts\";\nimport type {\n ValidatorSet,\n Validator,\n OptionPath,\n} from \"./option-assertions.ts\";\nimport type { UnloadedDescriptor } from \"../config-descriptors.ts\";\nimport type { PluginAPI } from \"../helpers/config-api.ts\";\nimport type { ParserOptions } from \"@babel/parser\";\nimport type { GeneratorOptions } from \"@babel/generator\";\nimport type { VisitWrapper } from \"@babel/traverse\";\nimport ConfigError from \"../../errors/config-error.ts\";\nimport type { PluginObject } from \"./plugins.ts\";\nimport type Plugin from \"../plugin.ts\";\nimport type { PresetAPI } from \"../index.ts\";\nimport type { PresetObject } from \"../../index.ts\";\n\nconst ROOT_VALIDATORS: ValidatorSet = {\n cwd: assertString as Validator,\n root: assertString as Validator,\n rootMode: assertRootMode as Validator,\n configFile: assertConfigFileSearch as Validator,\n\n caller: assertCallerMetadata as Validator,\n filename: assertString as Validator,\n filenameRelative: assertString as Validator,\n code: assertBoolean as Validator,\n ast: assertBoolean as Validator,\n\n cloneInputAst: assertBoolean as Validator,\n\n envName: assertString as Validator,\n};\n\nconst BABELRC_VALIDATORS: ValidatorSet = {\n babelrc: assertBoolean as Validator,\n babelrcRoots: assertBabelrcSearch as Validator,\n};\n\nconst NONPRESET_VALIDATORS: ValidatorSet = {\n extends: assertString as Validator,\n ignore: assertIgnoreList as Validator,\n only: assertIgnoreList as Validator,\n\n targets: assertTargets as Validator,\n browserslistConfigFile: assertConfigFileSearch as Validator<\n InputOptions[\"browserslistConfigFile\"]\n >,\n browserslistEnv: assertString as Validator,\n};\n\nconst COMMON_VALIDATORS: ValidatorSet = {\n // TODO: Should 'inputSourceMap' be moved to be a root-only option?\n // We may want a boolean-only version to be a common option, with the\n // object only allowed as a root config argument.\n inputSourceMap: assertInputSourceMap as Validator<\n InputOptions[\"inputSourceMap\"]\n >,\n presets: assertPluginList as Validator,\n plugins: assertPluginList as Validator,\n passPerPreset: assertBoolean as Validator,\n assumptions: assertAssumptions as Validator,\n\n env: assertEnvSet as Validator,\n overrides: assertOverridesList as Validator,\n\n // We could limit these to 'overrides' blocks, but it's not clear why we'd\n // bother, when the ability to limit a config to a specific set of files\n // is a fairly general useful feature.\n test: assertConfigApplicableTest as Validator,\n include: assertConfigApplicableTest as Validator,\n exclude: assertConfigApplicableTest as Validator,\n\n retainLines: assertBoolean as Validator,\n comments: assertBoolean as Validator,\n shouldPrintComment: assertFunction as Validator<\n InputOptions[\"shouldPrintComment\"]\n >,\n compact: assertCompact as Validator,\n minified: assertBoolean as Validator,\n auxiliaryCommentBefore: assertString as Validator<\n InputOptions[\"auxiliaryCommentBefore\"]\n >,\n auxiliaryCommentAfter: assertString as Validator<\n InputOptions[\"auxiliaryCommentAfter\"]\n >,\n sourceType: assertSourceType as Validator,\n wrapPluginVisitorMethod: assertFunction as Validator<\n InputOptions[\"wrapPluginVisitorMethod\"]\n >,\n highlightCode: assertBoolean as Validator,\n sourceMaps: assertSourceMaps as Validator,\n sourceMap: assertSourceMaps as Validator,\n sourceFileName: assertString as Validator,\n sourceRoot: assertString as Validator,\n parserOpts: assertObject as Validator,\n generatorOpts: assertObject as Validator,\n};\nif (!process.env.BABEL_8_BREAKING) {\n Object.assign(COMMON_VALIDATORS, {\n getModuleId: assertFunction,\n moduleRoot: assertString,\n moduleIds: assertBoolean,\n moduleId: assertString,\n });\n}\n\ntype Assumptions = {\n arrayLikeIsIterable?: boolean;\n constantReexports?: boolean;\n constantSuper?: boolean;\n enumerableModuleMeta?: boolean;\n ignoreFunctionLength?: boolean;\n ignoreToPrimitiveHint?: boolean;\n iterableIsArray?: boolean;\n mutableTemplateObject?: boolean;\n noClassCalls?: boolean;\n noDocumentAll?: boolean;\n noIncompleteNsImportDetection?: boolean;\n noNewArrows?: boolean;\n noUninitializedPrivateFieldAccess?: boolean;\n objectRestNoSymbols?: boolean;\n privateFieldsAsProperties?: boolean;\n privateFieldsAsSymbols?: boolean;\n pureGetters?: boolean;\n setClassMethods?: boolean;\n setComputedProperties?: boolean;\n setPublicClassFields?: boolean;\n setSpreadProperties?: boolean;\n skipForOfIteratorClosing?: boolean;\n superIsCallableConstructor?: boolean;\n};\n\nexport type AssumptionName = keyof Assumptions;\n\nexport type InputOptions = {\n cwd?: string;\n filename?: string;\n filenameRelative?: string;\n babelrc?: boolean;\n babelrcRoots?: BabelrcSearch;\n configFile?: ConfigFileSearch;\n root?: string;\n rootMode?: RootMode;\n code?: boolean;\n ast?: boolean;\n cloneInputAst?: boolean;\n inputSourceMap?: RootInputSourceMapOption;\n envName?: string;\n caller?: CallerMetadata;\n extends?: string;\n env?: EnvSet;\n ignore?: MatchItem[];\n only?: MatchItem[];\n overrides?: InputOptions[];\n showIgnoredFiles?: boolean;\n // Generally verify if a given config object should be applied to the given file.\n test?: ConfigApplicableTest;\n include?: ConfigApplicableTest;\n exclude?: ConfigApplicableTest;\n presets?: PresetItem[];\n plugins?: PluginItem[];\n passPerPreset?: boolean;\n assumptions?: Assumptions;\n // browserslists-related options\n targets?: TargetsListOrObject;\n browserslistConfigFile?: ConfigFileSearch;\n browserslistEnv?: string;\n // Options for @babel/generator\n retainLines?: GeneratorOptions[\"retainLines\"];\n comments?: GeneratorOptions[\"comments\"];\n shouldPrintComment?: GeneratorOptions[\"shouldPrintComment\"];\n compact?: GeneratorOptions[\"compact\"];\n minified?: GeneratorOptions[\"minified\"];\n auxiliaryCommentBefore?: GeneratorOptions[\"auxiliaryCommentBefore\"];\n auxiliaryCommentAfter?: GeneratorOptions[\"auxiliaryCommentAfter\"];\n // Parser\n sourceType?: SourceTypeOption;\n wrapPluginVisitorMethod?: VisitWrapper | null;\n highlightCode?: boolean;\n // Sourcemap generation options.\n sourceMaps?: SourceMapsOption;\n sourceMap?: SourceMapsOption;\n sourceFileName?: string;\n sourceRoot?: string;\n // Todo(Babel 9): Deprecate top level parserOpts\n parserOpts?: ParserOptions;\n // Todo(Babel 9): Deprecate top level generatorOpts\n generatorOpts?: GeneratorOptions;\n};\n\nexport type NormalizedOptions = Omit & {\n assumptions: Assumptions;\n targets: Targets;\n cloneInputAst: boolean;\n babelrc: false;\n configFile: false;\n browserslistConfigFile: false;\n passPerPreset: false;\n envName: string;\n cwd: string;\n root: string;\n rootMode: \"root\";\n filename: string | undefined;\n presets: ConfigItem[];\n plugins: ConfigItem[];\n};\n\nexport type ResolvedOptions = Omit<\n NormalizedOptions,\n \"presets\" | \"plugins\" | \"passPerPreset\"\n> & {\n presets: { plugins: Plugin[] }[];\n plugins: Plugin[];\n passPerPreset: boolean;\n};\n\nexport type ConfigChainOptions = Omit<\n InputOptions,\n | \"extends\"\n | \"env\"\n | \"overrides\"\n | \"plugins\"\n | \"presets\"\n | \"passPerPreset\"\n | \"ignore\"\n | \"only\"\n | \"test\"\n | \"include\"\n | \"exclude\"\n | \"sourceMap\"\n>;\n\nexport type CallerMetadata = {\n // If 'caller' is specified, require that the name is given for debugging\n // messages.\n name: string;\n supportsStaticESM?: boolean;\n supportsDynamicImport?: boolean;\n supportsTopLevelAwait?: boolean;\n supportsExportNamespaceFrom?: boolean;\n};\nexport type EnvSet = Record;\nexport type MatchItem =\n | string\n | RegExp\n | ((\n path: string | undefined,\n context: { dirname: string; caller: CallerMetadata; envName: string },\n ) => unknown);\n\nexport type MaybeDefaultProperty = T | { default: T };\n\nexport type PluginTarget =\n | string\n | MaybeDefaultProperty<\n (api: PluginAPI, options?: object, dirname?: string) => PluginObject\n >;\nexport type PluginItem =\n | ConfigItem\n | PluginTarget\n | [PluginTarget, object]\n | [PluginTarget, object, string];\n\nexport type PresetTarget =\n | string\n | MaybeDefaultProperty<\n (api: PresetAPI, options?: object, dirname?: string) => PresetObject\n >;\nexport type PresetItem =\n | ConfigItem\n | PresetTarget\n | [PresetTarget, object]\n | [PresetTarget, object, string];\n\nexport type ConfigApplicableTest = MatchItem | MatchItem[];\n\nexport type ConfigFileSearch = string | boolean;\nexport type BabelrcSearch = boolean | MatchItem | MatchItem[];\nexport type SourceMapsOption = boolean | \"inline\" | \"both\";\nexport type SourceTypeOption = \"module\" | \"commonjs\" | \"script\" | \"unambiguous\";\nexport type CompactOption = boolean | \"auto\";\n// https://github.com/mozilla/source-map/blob/801be934007c3ed0ef66c620641b1668e92c891d/source-map.d.ts#L15C8-L23C2\ninterface InputSourceMap {\n version: number;\n sources: string[];\n names: string[];\n sourceRoot?: string | undefined;\n sourcesContent?: string[] | undefined;\n mappings: string;\n file: string;\n}\nexport type RootInputSourceMapOption = InputSourceMap | boolean;\nexport type RootMode = \"root\" | \"upward\" | \"upward-optional\";\n\nexport type TargetsListOrObject =\n | Targets\n | InputTargets\n | InputTargets[\"browsers\"];\n\nexport type OptionsSource =\n | \"arguments\"\n | \"configfile\"\n | \"babelrcfile\"\n | \"extendsfile\"\n | \"preset\"\n | \"plugin\";\n\nexport type RootPath = Readonly<{\n type: \"root\";\n source: OptionsSource;\n}>;\n\ntype OverridesPath = Readonly<{\n type: \"overrides\";\n index: number;\n parent: RootPath;\n}>;\n\ntype EnvPath = Readonly<{\n type: \"env\";\n name: string;\n parent: RootPath | OverridesPath;\n}>;\n\nexport type NestingPath = RootPath | OverridesPath | EnvPath;\n\nconst knownAssumptions = [\n \"arrayLikeIsIterable\",\n \"constantReexports\",\n \"constantSuper\",\n \"enumerableModuleMeta\",\n \"ignoreFunctionLength\",\n \"ignoreToPrimitiveHint\",\n \"iterableIsArray\",\n \"mutableTemplateObject\",\n \"noClassCalls\",\n \"noDocumentAll\",\n \"noIncompleteNsImportDetection\",\n \"noNewArrows\",\n \"noUninitializedPrivateFieldAccess\",\n \"objectRestNoSymbols\",\n \"privateFieldsAsSymbols\",\n \"privateFieldsAsProperties\",\n \"pureGetters\",\n \"setClassMethods\",\n \"setComputedProperties\",\n \"setPublicClassFields\",\n \"setSpreadProperties\",\n \"skipForOfIteratorClosing\",\n \"superIsCallableConstructor\",\n] as const;\nexport const assumptionsNames = new Set(knownAssumptions);\n\nfunction getSource(loc: NestingPath): OptionsSource {\n return loc.type === \"root\" ? loc.source : getSource(loc.parent);\n}\n\nexport function validate(\n type: OptionsSource,\n opts: any,\n filename?: string,\n): InputOptions {\n try {\n return validateNested(\n {\n type: \"root\",\n source: type,\n },\n opts,\n );\n } catch (error) {\n const configError = new ConfigError(error.message, filename);\n // @ts-expect-error TODO: .code is not defined on ConfigError or Error\n if (error.code) configError.code = error.code;\n throw configError;\n }\n}\n\nfunction validateNested(loc: NestingPath, opts: Record) {\n const type = getSource(loc);\n assertNoDuplicateSourcemap(opts);\n\n Object.keys(opts).forEach((key: string) => {\n const optLoc = {\n type: \"option\",\n name: key,\n parent: loc,\n } as const;\n\n if (type === \"preset\" && NONPRESET_VALIDATORS[key]) {\n throw new Error(`${msg(optLoc)} is not allowed in preset options`);\n }\n if (type !== \"arguments\" && ROOT_VALIDATORS[key]) {\n throw new Error(\n `${msg(optLoc)} is only allowed in root programmatic options`,\n );\n }\n if (\n type !== \"arguments\" &&\n type !== \"configfile\" &&\n BABELRC_VALIDATORS[key]\n ) {\n if (type === \"babelrcfile\" || type === \"extendsfile\") {\n throw new Error(\n `${msg(\n optLoc,\n )} is not allowed in .babelrc or \"extends\"ed files, only in root programmatic options, ` +\n `or babel.config.js/config file options`,\n );\n }\n\n throw new Error(\n `${msg(\n optLoc,\n )} is only allowed in root programmatic options, or babel.config.js/config file options`,\n );\n }\n\n const validator =\n COMMON_VALIDATORS[key] ||\n NONPRESET_VALIDATORS[key] ||\n BABELRC_VALIDATORS[key] ||\n ROOT_VALIDATORS[key] ||\n (throwUnknownError as Validator);\n\n validator(optLoc, opts[key]);\n });\n\n return opts;\n}\n\nfunction throwUnknownError(loc: OptionPath) {\n const key = loc.name;\n\n if (removed[key]) {\n const { message, version = 5 } = removed[key];\n\n throw new Error(\n `Using removed Babel ${version} option: ${msg(loc)} - ${message}`,\n );\n } else {\n const unknownOptErr = new Error(\n `Unknown option: ${msg(\n loc,\n )}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`,\n );\n // @ts-expect-error todo(flow->ts): consider creating something like BabelConfigError with code field in it\n unknownOptErr.code = \"BABEL_UNKNOWN_OPTION\";\n\n throw unknownOptErr;\n }\n}\n\nfunction assertNoDuplicateSourcemap(opts: any): void {\n if (Object.hasOwn(opts, \"sourceMap\") && Object.hasOwn(opts, \"sourceMaps\")) {\n throw new Error(\".sourceMap is an alias for .sourceMaps, cannot use both\");\n }\n}\n\nfunction assertEnvSet(\n loc: OptionPath,\n value: unknown,\n): void | EnvSet {\n if (loc.parent.type === \"env\") {\n throw new Error(`${msg(loc)} is not allowed inside of another .env block`);\n }\n const parent: RootPath | OverridesPath = loc.parent;\n\n const obj = assertObject(loc, value);\n if (obj) {\n // Validate but don't copy the .env object in order to preserve\n // object identity for use during config chain processing.\n for (const envName of Object.keys(obj)) {\n const env = assertObject(access(loc, envName), obj[envName]);\n if (!env) continue;\n\n const envLoc = {\n type: \"env\",\n name: envName,\n parent,\n } as const;\n validateNested(envLoc, env);\n }\n }\n return obj;\n}\n\nfunction assertOverridesList(\n loc: OptionPath,\n value: unknown[],\n): undefined | InputOptions[] {\n if (loc.parent.type === \"env\") {\n throw new Error(`${msg(loc)} is not allowed inside an .env block`);\n }\n if (loc.parent.type === \"overrides\") {\n throw new Error(`${msg(loc)} is not allowed inside an .overrides block`);\n }\n const parent: RootPath = loc.parent;\n\n const arr = assertArray(loc, value);\n if (arr) {\n for (const [index, item] of arr.entries()) {\n const objLoc = access(loc, index);\n const env = assertObject(objLoc, item);\n if (!env) throw new Error(`${msg(objLoc)} must be an object`);\n\n const overridesLoc = {\n type: \"overrides\",\n index,\n parent,\n } as const;\n validateNested(overridesLoc, env);\n }\n }\n return arr;\n}\n\nexport function checkNoUnwrappedItemOptionPairs(\n items: UnloadedDescriptor[],\n index: number,\n type: \"plugin\" | \"preset\",\n e: Error,\n): void {\n if (index === 0) return;\n\n const lastItem = items[index - 1];\n const thisItem = items[index];\n\n if (\n lastItem.file &&\n lastItem.options === undefined &&\n typeof thisItem.value === \"object\"\n ) {\n e.message +=\n `\\n- Maybe you meant to use\\n` +\n `\"${type}s\": [\\n [\"${lastItem.file.request}\", ${JSON.stringify(\n thisItem.value,\n undefined,\n 2,\n )}]\\n]\\n` +\n `To be a valid ${type}, its name and options should be wrapped in a pair of brackets`;\n }\n}\n"],"mappings":";;;;;;;;AAIA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AAgCA,IAAAE,YAAA,GAAAF,OAAA;AAMA,MAAMG,eAA6B,GAAG;EACpCC,GAAG,EAAEC,8BA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,EAAEF,IAAI,CAAC;MACtC,IAAI,CAACzE,GAAG,EAAE,MAAM,IAAIyD,KAAK,CAAC,GAAG,IAAAC,qBAAG,EAACiB,MAAM,CAAC,oBAAoB,CAAC;MAE7D,MAAMC,YAAY,GAAG;QACnBnC,IAAI,EAAE,WAAW;QACjB+B,KAAK;QACL7B;MACF,CAAU;MACVG,cAAc,CAAC8B,YAAY,EAAE5E,GAAG,CAAC;IACnC;EACF;EACA,OAAOsE,GAAG;AACZ;AAEO,SAASO,+BAA+BA,CAC7CC,KAAgC,EAChCN,KAAa,EACb/B,IAAyB,EACzBsC,CAAQ,EACF;EACN,IAAIP,KAAK,KAAK,CAAC,EAAE;EAEjB,MAAMQ,QAAQ,GAAGF,KAAK,CAACN,KAAK,GAAG,CAAC,CAAC;EACjC,MAAMS,QAAQ,GAAGH,KAAK,CAACN,KAAK,CAAC;EAE7B,IACEQ,QAAQ,CAACE,IAAI,IACbF,QAAQ,CAACG,OAAO,KAAKC,SAAS,IAC9B,OAAOH,QAAQ,CAACf,KAAK,KAAK,QAAQ,EAClC;IACAa,CAAC,CAAC7B,OAAO,IACP,8BAA8B,GAC9B,IAAIT,IAAI,cAAcuC,QAAQ,CAACE,IAAI,CAACG,OAAO,MAAMC,IAAI,CAACC,SAAS,CAC7DN,QAAQ,CAACf,KAAK,EACdkB,SAAS,EACT,CACF,CAAC,QAAQ,GACT,iBAAiB3C,IAAI,gEAAgE;EACzF;AACF;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/plugins.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/plugins.js deleted file mode 100644 index d744eccc..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/plugins.js +++ /dev/null @@ -1,67 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.validatePluginObject = validatePluginObject; -var _optionAssertions = require("./option-assertions.js"); -const VALIDATORS = { - name: _optionAssertions.assertString, - manipulateOptions: _optionAssertions.assertFunction, - pre: _optionAssertions.assertFunction, - post: _optionAssertions.assertFunction, - inherits: _optionAssertions.assertFunction, - visitor: assertVisitorMap, - parserOverride: _optionAssertions.assertFunction, - generatorOverride: _optionAssertions.assertFunction -}; -function assertVisitorMap(loc, value) { - const obj = (0, _optionAssertions.assertObject)(loc, value); - if (obj) { - Object.keys(obj).forEach(prop => { - if (prop !== "_exploded" && prop !== "_verified") { - assertVisitorHandler(prop, obj[prop]); - } - }); - if (obj.enter || obj.exit) { - throw new Error(`${(0, _optionAssertions.msg)(loc)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`); - } - } - return obj; -} -function assertVisitorHandler(key, value) { - if (value && typeof value === "object") { - Object.keys(value).forEach(handler => { - if (handler !== "enter" && handler !== "exit") { - throw new Error(`.visitor["${key}"] may only have .enter and/or .exit handlers.`); - } - }); - } else if (typeof value !== "function") { - throw new Error(`.visitor["${key}"] must be a function`); - } -} -function validatePluginObject(obj) { - const rootPath = { - type: "root", - source: "plugin" - }; - Object.keys(obj).forEach(key => { - const validator = VALIDATORS[key]; - if (validator) { - const optLoc = { - type: "option", - name: key, - parent: rootPath - }; - validator(optLoc, obj[key]); - } else { - const invalidPluginPropertyError = new Error(`.${key} is not a valid Plugin property`); - invalidPluginPropertyError.code = "BABEL_UNKNOWN_PLUGIN_PROPERTY"; - throw invalidPluginPropertyError; - } - }); - return obj; -} -0 && 0; - -//# sourceMappingURL=plugins.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/plugins.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/plugins.js.map deleted file mode 100644 index a11be985..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/plugins.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_optionAssertions","require","VALIDATORS","name","assertString","manipulateOptions","assertFunction","pre","post","inherits","visitor","assertVisitorMap","parserOverride","generatorOverride","loc","value","obj","assertObject","Object","keys","forEach","prop","assertVisitorHandler","enter","exit","Error","msg","key","handler","validatePluginObject","rootPath","type","source","validator","optLoc","parent","invalidPluginPropertyError","code"],"sources":["../../../src/config/validation/plugins.ts"],"sourcesContent":["import {\n assertString,\n assertFunction,\n assertObject,\n msg,\n} from \"./option-assertions.ts\";\n\nimport type {\n ValidatorSet,\n Validator,\n OptionPath,\n RootPath,\n} from \"./option-assertions.ts\";\nimport type { parse, ParserOptions } from \"@babel/parser\";\nimport type { Visitor } from \"@babel/traverse\";\nimport type { ResolvedOptions } from \"./options.ts\";\nimport type { File, PluginAPI, PluginPass } from \"../../index.ts\";\nimport type { GeneratorOptions, GeneratorResult } from \"@babel/generator\";\nimport type babelGenerator from \"@babel/generator\";\n\n// Note: The casts here are just meant to be static assertions to make sure\n// that the assertion functions actually assert that the value's type matches\n// the declared types.\nconst VALIDATORS: ValidatorSet = {\n name: assertString as Validator,\n manipulateOptions: assertFunction as Validator<\n PluginObject[\"manipulateOptions\"]\n >,\n pre: assertFunction as Validator,\n post: assertFunction as Validator,\n inherits: assertFunction as Validator,\n visitor: assertVisitorMap as Validator,\n\n parserOverride: assertFunction as Validator,\n generatorOverride: assertFunction as Validator<\n PluginObject[\"generatorOverride\"]\n >,\n};\n\nfunction assertVisitorMap(loc: OptionPath, value: unknown): Visitor {\n const obj = assertObject(loc, value);\n if (obj) {\n Object.keys(obj).forEach(prop => {\n if (prop !== \"_exploded\" && prop !== \"_verified\") {\n assertVisitorHandler(prop, obj[prop]);\n }\n });\n\n if (obj.enter || obj.exit) {\n throw new Error(\n `${msg(\n loc,\n )} cannot contain catch-all \"enter\" or \"exit\" handlers. Please target individual nodes.`,\n );\n }\n }\n return obj as Visitor;\n}\n\nfunction assertVisitorHandler(\n key: string,\n value: unknown,\n): asserts value is VisitorHandler {\n if (value && typeof value === \"object\") {\n Object.keys(value).forEach((handler: string) => {\n if (handler !== \"enter\" && handler !== \"exit\") {\n throw new Error(\n `.visitor[\"${key}\"] may only have .enter and/or .exit handlers.`,\n );\n }\n });\n } else if (typeof value !== \"function\") {\n throw new Error(`.visitor[\"${key}\"] must be a function`);\n }\n}\n\ntype VisitorHandler =\n | Function\n | {\n enter?: Function;\n exit?: Function;\n };\n\nexport type PluginObject = {\n name?: string;\n manipulateOptions?: (\n options: ResolvedOptions,\n parserOpts: ParserOptions,\n ) => void;\n pre?: (this: S, file: File) => void | Promise;\n post?: (this: S, file: File) => void | Promise;\n inherits?: (\n api: PluginAPI,\n options: unknown,\n dirname: string,\n ) => PluginObject;\n visitor?: Visitor;\n parserOverride?: (\n ...args: [...Parameters, typeof parse]\n ) => ReturnType;\n generatorOverride?: (\n ast: File[\"ast\"],\n generatorOpts: GeneratorOptions,\n code: File[\"code\"],\n generate: typeof babelGenerator,\n ) => GeneratorResult;\n};\n\nexport function validatePluginObject(\n obj: Record,\n): PluginObject {\n const rootPath: RootPath = {\n type: \"root\",\n source: \"plugin\",\n };\n Object.keys(obj).forEach((key: string) => {\n const validator = VALIDATORS[key];\n\n if (validator) {\n const optLoc: OptionPath = {\n type: \"option\",\n name: key,\n parent: rootPath,\n };\n validator(optLoc, obj[key]);\n } else {\n const invalidPluginPropertyError = new Error(\n `.${key} is not a valid Plugin property`,\n );\n // @ts-expect-error todo(flow->ts) consider adding BabelConfigError with code field\n invalidPluginPropertyError.code = \"BABEL_UNKNOWN_PLUGIN_PROPERTY\";\n throw invalidPluginPropertyError;\n }\n });\n\n return obj as any;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AAuBA,MAAMC,UAAwB,GAAG;EAC/BC,IAAI,EAAEC,8BAA+C;EACrDC,iBAAiB,EAAEC,gCAElB;EACDC,GAAG,EAAED,gCAAgD;EACrDE,IAAI,EAAEF,gCAAiD;EACvDG,QAAQ,EAAEH,gCAAqD;EAC/DI,OAAO,EAAEC,gBAAsD;EAE/DC,cAAc,EAAEN,gCAA2D;EAC3EO,iBAAiB,EAAEP;AAGrB,CAAC;AAED,SAASK,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yB,GAAG,CAAC;IAEjC,IAAIM,SAAS,EAAE;MACb,MAAMC,MAAkB,GAAG;QACzBH,IAAI,EAAE,QAAQ;QACd5B,IAAI,EAAEwB,GAAG;QACTQ,MAAM,EAAEL;MACV,CAAC;MACDG,SAAS,CAACC,MAAM,EAAElB,GAAG,CAACW,GAAG,CAAC,CAAC;IAC7B,CAAC,MAAM;MACL,MAAMS,0BAA0B,GAAG,IAAIX,KAAK,CAC1C,IAAIE,GAAG,iCACT,CAAC;MAEDS,0BAA0B,CAACC,IAAI,GAAG,+BAA+B;MACjE,MAAMD,0BAA0B;IAClC;EACF,CAAC,CAAC;EAEF,OAAOpB,GAAG;AACZ;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/removed.js b/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/removed.js deleted file mode 100644 index 9bd436e8..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/removed.js +++ /dev/null @@ -1,68 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -var _default = exports.default = { - auxiliaryComment: { - message: "Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`" - }, - blacklist: { - message: "Put the specific transforms you want in the `plugins` option" - }, - breakConfig: { - message: "This is not a necessary option in Babel 6" - }, - experimental: { - message: "Put the specific transforms you want in the `plugins` option" - }, - externalHelpers: { - message: "Use the `external-helpers` plugin instead. " + "Check out http://babeljs.io/docs/plugins/external-helpers/" - }, - extra: { - message: "" - }, - jsxPragma: { - message: "use the `pragma` option in the `react-jsx` plugin. " + "Check out http://babeljs.io/docs/plugins/transform-react-jsx/" - }, - loose: { - message: "Specify the `loose` option for the relevant plugin you are using " + "or use a preset that sets the option." - }, - metadataUsedHelpers: { - message: "Not required anymore as this is enabled by default" - }, - modules: { - message: "Use the corresponding module transform plugin in the `plugins` option. " + "Check out http://babeljs.io/docs/plugins/#modules" - }, - nonStandard: { - message: "Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. " + "Also check out the react preset http://babeljs.io/docs/plugins/preset-react/" - }, - optional: { - message: "Put the specific transforms you want in the `plugins` option" - }, - sourceMapName: { - message: "The `sourceMapName` option has been removed because it makes more sense for the " + "tooling that calls Babel to assign `map.file` themselves." - }, - stage: { - message: "Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets" - }, - whitelist: { - message: "Put the specific transforms you want in the `plugins` option" - }, - resolveModuleSource: { - version: 6, - message: "Use `babel-plugin-module-resolver@3`'s 'resolvePath' options" - }, - metadata: { - version: 6, - message: "Generated plugin metadata is always included in the output result" - }, - sourceMapTarget: { - version: 6, - message: "The `sourceMapTarget` option has been removed because it makes more sense for the tooling " + "that calls Babel to assign `map.file` themselves." - } -}; -0 && 0; - -//# sourceMappingURL=removed.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/removed.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/removed.js.map deleted file mode 100644 index e1aa7400..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/config/validation/removed.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["auxiliaryComment","message","blacklist","breakConfig","experimental","externalHelpers","extra","jsxPragma","loose","metadataUsedHelpers","modules","nonStandard","optional","sourceMapName","stage","whitelist","resolveModuleSource","version","metadata","sourceMapTarget"],"sources":["../../../src/config/validation/removed.ts"],"sourcesContent":["export default {\n auxiliaryComment: {\n message: \"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`\",\n },\n blacklist: {\n message: \"Put the specific transforms you want in the `plugins` option\",\n },\n breakConfig: {\n message: \"This is not a necessary option in Babel 6\",\n },\n experimental: {\n message: \"Put the specific transforms you want in the `plugins` option\",\n },\n externalHelpers: {\n message:\n \"Use the `external-helpers` plugin instead. \" +\n \"Check out http://babeljs.io/docs/plugins/external-helpers/\",\n },\n extra: {\n message: \"\",\n },\n jsxPragma: {\n message:\n \"use the `pragma` option in the `react-jsx` plugin. \" +\n \"Check out http://babeljs.io/docs/plugins/transform-react-jsx/\",\n },\n loose: {\n message:\n \"Specify the `loose` option for the relevant plugin you are using \" +\n \"or use a preset that sets the option.\",\n },\n metadataUsedHelpers: {\n message: \"Not required anymore as this is enabled by default\",\n },\n modules: {\n message:\n \"Use the corresponding module transform plugin in the `plugins` option. \" +\n \"Check out http://babeljs.io/docs/plugins/#modules\",\n },\n nonStandard: {\n message:\n \"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. \" +\n \"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/\",\n },\n optional: {\n message: \"Put the specific transforms you want in the `plugins` option\",\n },\n sourceMapName: {\n message:\n \"The `sourceMapName` option has been removed because it makes more sense for the \" +\n \"tooling that calls Babel to assign `map.file` themselves.\",\n },\n stage: {\n message:\n \"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets\",\n },\n whitelist: {\n message: \"Put the specific transforms you want in the `plugins` option\",\n },\n\n resolveModuleSource: {\n version: 6,\n message: \"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options\",\n },\n metadata: {\n version: 6,\n message:\n \"Generated plugin metadata is always included in the output result\",\n },\n sourceMapTarget: {\n version: 6,\n message:\n \"The `sourceMapTarget` option has been removed because it makes more sense for the tooling \" +\n \"that calls Babel to assign `map.file` themselves.\",\n },\n} as Record;\n"],"mappings":";;;;;;iCAAe;EACbA,gBAAgB,EAAE;IAChBC,OAAO,EAAE;EACX,CAAC;EACDC,SAAS,EAAE;IACTD,OAAO,EAAE;EACX,CAAC;EACDE,WAAW,EAAE;IACXF,OAAO,EAAE;EACX,CAAC;EACDG,YAAY,EAAE;IACZH,OAAO,EAAE;EACX,CAAC;EACDI,eAAe,EAAE;IACfJ,OAAO,EACL,6CAA6C,GAC7C;EACJ,CAAC;EACDK,KAAK,EAAE;IACLL,OAAO,EAAE;EACX,CAAC;EACDM,SAAS,EAAE;IACTN,OAAO,EACL,qDAAqD,GACrD;EACJ,CAAC;EACDO,KAAK,EAAE;IACLP,OAAO,EACL,mEAAmE,GACnE;EACJ,CAAC;EACDQ,mBAAmB,EAAE;IACnBR,OAAO,EAAE;EACX,CAAC;EACDS,OAAO,EAAE;IACPT,OAAO,EACL,yEAAyE,GACzE;EACJ,CAAC;EACDU,WAAW,EAAE;IACXV,OAAO,EACL,8EAA8E,GAC9E;EACJ,CAAC;EACDW,QAAQ,EAAE;IACRX,OAAO,EAAE;EACX,CAAC;EACDY,aAAa,EAAE;IACbZ,OAAO,EACL,kFAAkF,GAClF;EACJ,CAAC;EACDa,KAAK,EAAE;IACLb,OAAO,EACL;EACJ,CAAC;EACDc,SAAS,EAAE;IACTd,OAAO,EAAE;EACX,CAAC;EAEDe,mBAAmB,EAAE;IACnBC,OAAO,EAAE,CAAC;IACVhB,OAAO,EAAE;EACX,CAAC;EACDiB,QAAQ,EAAE;IACRD,OAAO,EAAE,CAAC;IACVhB,OAAO,EACL;EACJ,CAAC;EACDkB,eAAe,EAAE;IACfF,OAAO,EAAE,CAAC;IACVhB,OAAO,EACL,4FAA4F,GAC5F;EACJ;AACF,CAAC;AAAA","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/errors/config-error.js b/lambdas/risk-engine/node_modules/@babel/core/lib/errors/config-error.js deleted file mode 100644 index c2908047..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/errors/config-error.js +++ /dev/null @@ -1,18 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -var _rewriteStackTrace = require("./rewrite-stack-trace.js"); -class ConfigError extends Error { - constructor(message, filename) { - super(message); - (0, _rewriteStackTrace.expectedError)(this); - if (filename) (0, _rewriteStackTrace.injectVirtualStackFrame)(this, filename); - } -} -exports.default = ConfigError; -0 && 0; - -//# sourceMappingURL=config-error.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/errors/config-error.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/errors/config-error.js.map deleted file mode 100644 index 0045ded7..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/errors/config-error.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_rewriteStackTrace","require","ConfigError","Error","constructor","message","filename","expectedError","injectVirtualStackFrame","exports","default"],"sources":["../../src/errors/config-error.ts"],"sourcesContent":["import {\n injectVirtualStackFrame,\n expectedError,\n} from \"./rewrite-stack-trace.ts\";\n\nexport default class ConfigError extends Error {\n constructor(message: string, filename?: string) {\n super(message);\n expectedError(this);\n if (filename) injectVirtualStackFrame(this, filename);\n }\n}\n"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AAKe,MAAMC,WAAW,SAASC,KAAK,CAAC;EAC7CC,WAAWA,CAACC,OAAe,EAAEC,QAAiB,EAAE;IAC9C,KAAK,CAACD,OAAO,CAAC;IACd,IAAAE,gCAAa,EAAC,IAAI,CAAC;IACnB,IAAID,QAAQ,EAAE,IAAAE,0CAAuB,EAAC,IAAI,EAAEF,QAAQ,CAAC;EACvD;AACF;AAACG,OAAA,CAAAC,OAAA,GAAAR,WAAA;AAAA","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js b/lambdas/risk-engine/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js deleted file mode 100644 index 68896d38..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js +++ /dev/null @@ -1,98 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.beginHiddenCallStack = beginHiddenCallStack; -exports.endHiddenCallStack = endHiddenCallStack; -exports.expectedError = expectedError; -exports.injectVirtualStackFrame = injectVirtualStackFrame; -var _Object$getOwnPropert; -const ErrorToString = Function.call.bind(Error.prototype.toString); -const SUPPORTED = !!Error.captureStackTrace && ((_Object$getOwnPropert = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit")) == null ? void 0 : _Object$getOwnPropert.writable) === true; -const START_HIDING = "startHiding - secret - don't use this - v1"; -const STOP_HIDING = "stopHiding - secret - don't use this - v1"; -const expectedErrors = new WeakSet(); -const virtualFrames = new WeakMap(); -function CallSite(filename) { - return Object.create({ - isNative: () => false, - isConstructor: () => false, - isToplevel: () => true, - getFileName: () => filename, - getLineNumber: () => undefined, - getColumnNumber: () => undefined, - getFunctionName: () => undefined, - getMethodName: () => undefined, - getTypeName: () => undefined, - toString: () => filename - }); -} -function injectVirtualStackFrame(error, filename) { - if (!SUPPORTED) return; - let frames = virtualFrames.get(error); - if (!frames) virtualFrames.set(error, frames = []); - frames.push(CallSite(filename)); - return error; -} -function expectedError(error) { - if (!SUPPORTED) return; - expectedErrors.add(error); - return error; -} -function beginHiddenCallStack(fn) { - if (!SUPPORTED) return fn; - return Object.defineProperty(function (...args) { - setupPrepareStackTrace(); - return fn(...args); - }, "name", { - value: STOP_HIDING - }); -} -function endHiddenCallStack(fn) { - if (!SUPPORTED) return fn; - return Object.defineProperty(function (...args) { - return fn(...args); - }, "name", { - value: START_HIDING - }); -} -function setupPrepareStackTrace() { - setupPrepareStackTrace = () => {}; - const { - prepareStackTrace = defaultPrepareStackTrace - } = Error; - const MIN_STACK_TRACE_LIMIT = 50; - Error.stackTraceLimit && (Error.stackTraceLimit = Math.max(Error.stackTraceLimit, MIN_STACK_TRACE_LIMIT)); - Error.prepareStackTrace = function stackTraceRewriter(err, trace) { - let newTrace = []; - const isExpected = expectedErrors.has(err); - let status = isExpected ? "hiding" : "unknown"; - for (let i = 0; i < trace.length; i++) { - const name = trace[i].getFunctionName(); - if (name === START_HIDING) { - status = "hiding"; - } else if (name === STOP_HIDING) { - if (status === "hiding") { - status = "showing"; - if (virtualFrames.has(err)) { - newTrace.unshift(...virtualFrames.get(err)); - } - } else if (status === "unknown") { - newTrace = trace; - break; - } - } else if (status !== "hiding") { - newTrace.push(trace[i]); - } - } - return prepareStackTrace(err, newTrace); - }; -} -function defaultPrepareStackTrace(err, trace) { - if (trace.length === 0) return ErrorToString(err); - return `${ErrorToString(err)}\n at ${trace.join("\n at ")}`; -} -0 && 0; - -//# sourceMappingURL=rewrite-stack-trace.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js.map deleted file mode 100644 index 25cce7ab..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["ErrorToString","Function","call","bind","Error","prototype","toString","SUPPORTED","captureStackTrace","_Object$getOwnPropert","Object","getOwnPropertyDescriptor","writable","START_HIDING","STOP_HIDING","expectedErrors","WeakSet","virtualFrames","WeakMap","CallSite","filename","create","isNative","isConstructor","isToplevel","getFileName","getLineNumber","undefined","getColumnNumber","getFunctionName","getMethodName","getTypeName","injectVirtualStackFrame","error","frames","get","set","push","expectedError","add","beginHiddenCallStack","fn","defineProperty","args","setupPrepareStackTrace","value","endHiddenCallStack","prepareStackTrace","defaultPrepareStackTrace","MIN_STACK_TRACE_LIMIT","stackTraceLimit","Math","max","stackTraceRewriter","err","trace","newTrace","isExpected","has","status","i","length","name","unshift","join"],"sources":["../../src/errors/rewrite-stack-trace.ts"],"sourcesContent":["/**\n * This file uses the internal V8 Stack Trace API (https://v8.dev/docs/stack-trace-api)\n * to provide utilities to rewrite the stack trace.\n * When this API is not present, all the functions in this file become noops.\n *\n * beginHiddenCallStack(fn) and endHiddenCallStack(fn) wrap their parameter to\n * mark an hidden portion of the stack trace. The function passed to\n * beginHiddenCallStack is the first hidden function, while the function passed\n * to endHiddenCallStack is the first shown function.\n *\n * When an error is thrown _outside_ of the hidden zone, everything between\n * beginHiddenCallStack and endHiddenCallStack will not be shown.\n * If an error is thrown _inside_ the hidden zone, then the whole stack trace\n * will be visible: this is to avoid hiding real bugs.\n * However, if an error inside the hidden zone is expected, it can be marked\n * with the expectedError(error) function to keep the hidden frames hidden.\n *\n * Consider this call stack (the outer function is the bottom one):\n *\n * 1. a()\n * 2. endHiddenCallStack(b)()\n * 3. c()\n * 4. beginHiddenCallStack(d)()\n * 5. e()\n * 6. f()\n *\n * - If a() throws an error, then its shown call stack will be \"a, b, e, f\"\n * - If b() throws an error, then its shown call stack will be \"b, e, f\"\n * - If c() throws an expected error, then its shown call stack will be \"e, f\"\n * - If c() throws an unexpected error, then its shown call stack will be \"c, d, e, f\"\n * - If d() throws an expected error, then its shown call stack will be \"e, f\"\n * - If d() throws an unexpected error, then its shown call stack will be \"d, e, f\"\n * - If e() throws an error, then its shown call stack will be \"e, f\"\n *\n * Additionally, an error can inject additional \"virtual\" stack frames using the\n * injectVirtualStackFrame(error, filename) function: those are injected as a\n * replacement of the hidden frames.\n * In the example above, if we called injectVirtualStackFrame(err, \"h\") and\n * injectVirtualStackFrame(err, \"i\") on the expected error thrown by c(), its\n * shown call stack would have been \"h, i, e, f\".\n * This can be useful, for example, to report config validation errors as if they\n * were directly thrown in the config file.\n */\n\nconst ErrorToString = Function.call.bind(Error.prototype.toString);\n\nconst SUPPORTED =\n !!Error.captureStackTrace &&\n Object.getOwnPropertyDescriptor(Error, \"stackTraceLimit\")?.writable === true;\n\nconst START_HIDING = \"startHiding - secret - don't use this - v1\";\nconst STOP_HIDING = \"stopHiding - secret - don't use this - v1\";\n\ntype CallSite = NodeJS.CallSite;\n\nconst expectedErrors = new WeakSet();\nconst virtualFrames = new WeakMap();\n\nfunction CallSite(filename: string): CallSite {\n // We need to use a prototype otherwise it breaks source-map-support's internals\n return Object.create({\n isNative: () => false,\n isConstructor: () => false,\n isToplevel: () => true,\n getFileName: () => filename,\n getLineNumber: () => undefined,\n getColumnNumber: () => undefined,\n getFunctionName: () => undefined,\n getMethodName: () => undefined,\n getTypeName: () => undefined,\n toString: () => filename,\n } as CallSite);\n}\n\nexport function injectVirtualStackFrame(error: Error, filename: string) {\n if (!SUPPORTED) return;\n\n let frames = virtualFrames.get(error);\n if (!frames) virtualFrames.set(error, (frames = []));\n frames.push(CallSite(filename));\n\n return error;\n}\n\nexport function expectedError(error: Error) {\n if (!SUPPORTED) return;\n expectedErrors.add(error);\n return error;\n}\n\nexport function beginHiddenCallStack(\n fn: (...args: A) => R,\n) {\n if (!SUPPORTED) return fn;\n\n return Object.defineProperty(\n function (...args: A) {\n setupPrepareStackTrace();\n return fn(...args);\n },\n \"name\",\n { value: STOP_HIDING },\n );\n}\n\nexport function endHiddenCallStack(\n fn: (...args: A) => R,\n) {\n if (!SUPPORTED) return fn;\n\n return Object.defineProperty(\n function (...args: A) {\n return fn(...args);\n },\n \"name\",\n { value: START_HIDING },\n );\n}\n\nfunction setupPrepareStackTrace() {\n // @ts-expect-error This function is a singleton\n setupPrepareStackTrace = () => {};\n\n const { prepareStackTrace = defaultPrepareStackTrace } = Error;\n\n // We add some extra frames to Error.stackTraceLimit, so that we can\n // always show some useful frames even after deleting ours.\n // STACK_TRACE_LIMIT_DELTA should be around the maximum expected number\n // of internal frames, and not too big because capturing the stack trace\n // is slow (this is why Error.stackTraceLimit does not default to Infinity!).\n // Increase it if needed.\n // However, we only do it if the user did not explicitly set it to 0.\n const MIN_STACK_TRACE_LIMIT = 50;\n Error.stackTraceLimit &&= Math.max(\n Error.stackTraceLimit,\n MIN_STACK_TRACE_LIMIT,\n );\n\n Error.prepareStackTrace = function stackTraceRewriter(err, trace) {\n let newTrace = [];\n\n const isExpected = expectedErrors.has(err);\n let status: \"showing\" | \"hiding\" | \"unknown\" = isExpected\n ? \"hiding\"\n : \"unknown\";\n for (let i = 0; i < trace.length; i++) {\n const name = trace[i].getFunctionName();\n if (name === START_HIDING) {\n status = \"hiding\";\n } else if (name === STOP_HIDING) {\n if (status === \"hiding\") {\n status = \"showing\";\n if (virtualFrames.has(err)) {\n newTrace.unshift(...virtualFrames.get(err));\n }\n } else if (status === \"unknown\") {\n // Unexpected internal error, show the full stack trace\n newTrace = trace;\n break;\n }\n } else if (status !== \"hiding\") {\n newTrace.push(trace[i]);\n }\n }\n\n return prepareStackTrace(err, newTrace);\n };\n}\n\nfunction defaultPrepareStackTrace(err: Error, trace: CallSite[]) {\n if (trace.length === 0) return ErrorToString(err);\n // eslint-disable-next-line @typescript-eslint/no-base-to-string\n return `${ErrorToString(err)}\\n at ${trace.join(\"\\n at \")}`;\n}\n"],"mappings":";;;;;;;;;;AA4CA,MAAMA,aAAa,GAAGC,QAAQ,CAACC,IAAI,CAACC,IAAI,CAACC,KAAK,CAACC,SAAS,CAACC,QAAQ,CAAC;AAElE,MAAMC,SAAS,GACb,CAAC,CAACH,KAAK,CAACI,iBAAiB,IACzB,EAAAC,qBAAA,GAAAC,MAAM,CAACC,wBAAwB,CAACP,KAAK,EAAE,iBAAiB,CAAC,qBAAzDK,qBAAA,CAA2DG,QAAQ,MAAK,IAAI;AAE9E,MAAMC,YAAY,GAAG,4CAA4C;AACjE,MAAMC,WAAW,GAAG,2CAA2C;AAI/D,MAAMC,cAAc,GAAG,IAAIC,OAAO,CAAQ,CAAC;AAC3C,MAAMC,aAAa,GAAG,IAAIC,OAAO,CAAoB,CAAC;AAEtD,SAASC,QAAQA,CAACC,QAAgB,EAAY;EAE5C,OAAOV,MAAM,CAACW,MAAM,CAAC;IACnBC,QAAQ,EAAEA,CAAA,KAAM,KAAK;IACrBC,aAAa,EAAEA,CAAA,KAAM,KAAK;IAC1BC,UAAU,EAAEA,CAAA,KAAM,IAAI;IACtBC,WAAW,EAAEA,CAAA,KAAML,QAAQ;IAC3BM,aAAa,EAAEA,CAAA,KAAMC,SAAS;IAC9BC,eAAe,EAAEA,CAAA,KAAMD,SAAS;IAChCE,eAAe,EAAEA,CAAA,KAAMF,SAAS;IAChCG,aAAa,EAAEA,CAAA,KAAMH,SAAS;IAC9BI,WAAW,EAAEA,CAAA,KAAMJ,SAAS;IAC5BrB,QAAQ,EAAEA,CAAA,KAAMc;EAClB,CAAa,CAAC;AAChB;AAEO,SAASY,uBAAuBA,CA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,KAAK,CAAC,EAAE,OAAO7D,aAAa,CAACsD,GAAG,CAAC;EAEjD,OAAO,GAAGtD,aAAa,CAACsD,GAAG,CAAC,YAAYC,KAAK,CAACS,IAAI,CAAC,WAAW,CAAC,EAAE;AACnE;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/async.js b/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/async.js deleted file mode 100644 index 42946c63..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/async.js +++ /dev/null @@ -1,90 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.forwardAsync = forwardAsync; -exports.isAsync = void 0; -exports.isThenable = isThenable; -exports.maybeAsync = maybeAsync; -exports.waitFor = exports.onFirstPause = void 0; -function _gensync() { - const data = require("gensync"); - _gensync = function () { - return data; - }; - return data; -} -function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); } -function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; } -const runGenerator = _gensync()(function* (item) { - return yield* item; -}); -const isAsync = exports.isAsync = _gensync()({ - sync: () => false, - errback: cb => cb(null, true) -}); -function maybeAsync(fn, message) { - return _gensync()({ - sync(...args) { - const result = fn.apply(this, args); - if (isThenable(result)) throw new Error(message); - return result; - }, - async(...args) { - return Promise.resolve(fn.apply(this, args)); - } - }); -} -const withKind = _gensync()({ - sync: cb => cb("sync"), - async: function () { - var _ref = _asyncToGenerator(function* (cb) { - return cb("async"); - }); - return function async(_x) { - return _ref.apply(this, arguments); - }; - }() -}); -function forwardAsync(action, cb) { - const g = _gensync()(action); - return withKind(kind => { - const adapted = g[kind]; - return cb(adapted); - }); -} -const onFirstPause = exports.onFirstPause = _gensync()({ - name: "onFirstPause", - arity: 2, - sync: function (item) { - return runGenerator.sync(item); - }, - errback: function (item, firstPause, cb) { - let completed = false; - runGenerator.errback(item, (err, value) => { - completed = true; - cb(err, value); - }); - if (!completed) { - firstPause(); - } - } -}); -const waitFor = exports.waitFor = _gensync()({ - sync: x => x, - async: function () { - var _ref2 = _asyncToGenerator(function* (x) { - return x; - }); - return function async(_x2) { - return _ref2.apply(this, arguments); - }; - }() -}); -function isThenable(val) { - return !!val && (typeof val === "object" || typeof val === "function") && !!val.then && typeof val.then === "function"; -} -0 && 0; - -//# sourceMappingURL=async.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/async.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/async.js.map deleted file mode 100644 index 595d7571..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/async.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_gensync","data","require","asyncGeneratorStep","n","t","e","r","o","a","c","i","u","value","done","Promise","resolve","then","_asyncToGenerator","arguments","apply","_next","_throw","runGenerator","gensync","item","isAsync","exports","sync","errback","cb","maybeAsync","fn","message","args","result","isThenable","Error","async","withKind","_ref","_x","forwardAsync","action","g","kind","adapted","onFirstPause","name","arity","firstPause","completed","err","waitFor","x","_ref2","_x2","val"],"sources":["../../src/gensync-utils/async.ts"],"sourcesContent":["import gensync, { type Gensync, type Handler, type Callback } from \"gensync\";\n\ntype MaybePromise = T | Promise;\n\nconst runGenerator: {\n sync(gen: Handler): Return;\n async(gen: Handler): Promise;\n errback(gen: Handler, cb: Callback): void;\n} = gensync(function* (item: Handler): Handler {\n return yield* item;\n});\n\n// This Gensync returns true if the current execution context is\n// asynchronous, otherwise it returns false.\nexport const isAsync = gensync({\n sync: () => false,\n errback: cb => cb(null, true),\n});\n\n// This function wraps any functions (which could be either synchronous or\n// asynchronous) with a Gensync. If the wrapped function returns a promise\n// but the current execution context is synchronous, it will throw the\n// provided error.\n// This is used to handle user-provided functions which could be asynchronous.\nexport function maybeAsync(\n fn: (...args: Args) => Return,\n message: string,\n): Gensync {\n return gensync({\n sync(...args) {\n const result = fn.apply(this, args);\n if (isThenable(result)) throw new Error(message);\n return result;\n },\n async(...args) {\n return Promise.resolve(fn.apply(this, args));\n },\n });\n}\n\nconst withKind = gensync({\n sync: cb => cb(\"sync\"),\n async: async cb => cb(\"async\"),\n}) as (cb: (kind: \"sync\" | \"async\") => MaybePromise) => Handler;\n\n// This function wraps a generator (or a Gensync) into another function which,\n// when called, will run the provided generator in a sync or async way, depending\n// on the execution context where this forwardAsync function is called.\n// This is useful, for example, when passing a callback to a function which isn't\n// aware of gensync, but it only knows about synchronous and asynchronous functions.\n// An example is cache.using, which being exposed to the user must be as simple as\n// possible:\n// yield* forwardAsync(gensyncFn, wrappedFn =>\n// cache.using(x => {\n// // Here we don't know about gensync. wrappedFn is a\n// // normal sync or async function\n// return wrappedFn(x);\n// })\n// )\nexport function forwardAsync(\n action: (...args: Args) => Handler,\n cb: (\n adapted: (...args: Args) => MaybePromise,\n ) => MaybePromise,\n): Handler {\n const g = gensync(action);\n return withKind(kind => {\n const adapted = g[kind];\n return cb(adapted);\n });\n}\n\n// If the given generator is executed asynchronously, the first time that it\n// is paused (i.e. When it yields a gensync generator which can't be run\n// synchronously), call the \"firstPause\" callback.\nexport const onFirstPause = gensync<\n [gen: Handler, firstPause: () => void],\n unknown\n>({\n name: \"onFirstPause\",\n arity: 2,\n sync: function (item) {\n return runGenerator.sync(item);\n },\n errback: function (item, firstPause, cb) {\n let completed = false;\n\n runGenerator.errback(item, (err, value) => {\n completed = true;\n cb(err, value);\n });\n\n if (!completed) {\n firstPause();\n }\n },\n}) as (gen: Handler, firstPause: () => void) => Handler;\n\n// Wait for the given promise to be resolved\nexport const waitFor = gensync({\n sync: x => x,\n async: async x => x,\n}) as (p: T | Promise) => Handler;\n\nexport function isThenable(val: any): val is PromiseLike {\n return (\n !!val &&\n (typeof val === \"object\" || typeof val === \"function\") &&\n !!val.then &&\n typeof val.then === \"function\"\n );\n}\n"],"mappings":";;;;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA6E,SAAAE,mBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,cAAAC,CAAA,GAAAP,CAAA,CAAAK,CAAA,EAAAC,CAAA,GAAAE,CAAA,GAAAD,CAAA,CAAAE,KAAA,WAAAT,CAAA,gBAAAE,CAAA,CAAAF,CAAA,KAAAO,CAAA,CAAAG,IAAA,GAAAT,CAAA,CAAAO,CAAA,IAAAG,OAAA,CAAAC,OAAA,CAAAJ,CAAA,EAAAK,IAAA,CAAAV,CAAA,EAAAC,CAAA;AAAA,SAAAU,kBAAAd,CAAA,6BAAAC,CAAA,SAAAC,CAAA,GAAAa,SAAA,aAAAJ,OAAA,WAAAR,CAAA,EAAAC,CAAA,QAAAC,CAAA,GAAAL,CAAA,CAAAgB,KAAA,CAAAf,CAAA,EAAAC,CAAA,YAAAe,MAAAjB,CAAA,IAAAD,kBAAA,CAAAM,CAAA,EAAAF,CAAA,EAAAC,CAAA,EAAAa,KAAA,EAAAC,MAAA,UAAAlB,CAAA,cAAAkB,OAAAlB,CAAA,IAAAD,kBAAA,CAAAM,CAAA,EAAAF,CAAA,EAAAC,CAAA,EAAAa,KAAA,EAAAC,MAAA,WAAAlB,CAAA,KAAAiB,KAAA;AAI7E,MAAME,YAIL,GAAGC,SAAMA,CAAC,CAAC,WAAWC,IAAkB,EAAgB;EACvD,OAAO,OAAOA,IAAI;AACpB,CAAC,CAAC;AAIK,MAAMC,OAAO,GAAAC,OAAA,CAAAD,OAAA,GAAGF,SAAMA,CAAC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AAApB,OAAA,CAAAoB,YAAA,GAAGvB,SAAMA,CAAC,CAGjC;EACAwB,IAAI,EAAE,cAAc;EACpBC,KAAK,EAAE,CAAC;EACRrB,IAAI,EAAE,SAAAA,CAAUH,IAAI,EAAE;IACpB,OAAOF,YAAY,CAACK,IAAI,CAACH,IAAI,CAAC;EAChC,CAAC;EACDI,OAAO,EAAE,SAAAA,CAAUJ,IAAI,EAAEyB,UAAU,EAAEpB,EAAE,EAAE;IACvC,IAAIqB,SAAS,GAAG,KAAK;IAErB5B,YAAY,CAACM,OAAO,CAACJ,IAAI,EAAE,CAAC2B,GAAG,EAAEvC,KAAK,KAAK;MACzCsC,SAAS,GAAG,IAAI;MAChBrB,EAAE,CAACsB,GAAG,EAAEvC,KAAK,CAAC;IAChB,CAAC,CAAC;IAEF,IAAI,CAACsC,SAAS,EAAE;MACdD,UAAU,CAAC,CAAC;IACd;EACF;AACF,CAAC,CAA+D;AAGzD,MAAMG,OAAO,GAAA1B,OAAA,CAAA0B,OAAA,GAAG7B,SAAMA,CAAC,CAAC;EAC7BI,IAAI,EAAE0B,CAAC,IAAIA,CAAC;EACZhB,KAAK;IAAA,IAAAiB,KAAA,GAAArC,iBAAA,CAAE,WAAMoC,CAAC;MAAA,OAAIA,CAAC;IAAA;IAAA,gBAAnBhB,KAAKA,CAAAkB,GAAA;MAAA,OAAAD,KAAA,CAAAnC,KAAA,OAAAD,SAAA;IAAA;EAAA;AACP,CAAC,CAAyC;AAEnC,SAASiB,UAAUA,CAAUqB,GAAQ,EAAyB;EACnE,OACE,CAAC,CAACA,GAAG,KACJ,OAAOA,GAAG,KAAK,QAAQ,IAAI,OAAOA,GAAG,KAAK,UAAU,CAAC,IACtD,CAAC,CAACA,GAAG,CAACxC,IAAI,IACV,OAAOwC,GAAG,CAACxC,IAAI,KAAK,UAAU;AAElC;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/fs.js b/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/fs.js deleted file mode 100644 index b842df84..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/fs.js +++ /dev/null @@ -1,31 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.stat = exports.readFile = void 0; -function _fs() { - const data = require("fs"); - _fs = function () { - return data; - }; - return data; -} -function _gensync() { - const data = require("gensync"); - _gensync = function () { - return data; - }; - return data; -} -const readFile = exports.readFile = _gensync()({ - sync: _fs().readFileSync, - errback: _fs().readFile -}); -const stat = exports.stat = _gensync()({ - sync: _fs().statSync, - errback: _fs().stat -}); -0 && 0; - -//# sourceMappingURL=fs.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/fs.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/fs.js.map deleted file mode 100644 index ef4e8d95..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/fs.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_fs","data","require","_gensync","readFile","exports","gensync","sync","fs","readFileSync","errback","stat","statSync"],"sources":["../../src/gensync-utils/fs.ts"],"sourcesContent":["import fs from \"node:fs\";\nimport gensync from \"gensync\";\n\nexport const readFile = gensync<[filepath: string, encoding: \"utf8\"], string>({\n sync: fs.readFileSync,\n errback: fs.readFile,\n});\n\nexport const stat = gensync({\n sync: fs.statSync,\n errback: fs.stat,\n});\n"],"mappings":";;;;;;AAAA,SAAAA,IAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,GAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,SAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAMG,QAAQ,GAAAC,OAAA,CAAAD,QAAA,GAAGE,SAAMA,CAAC,CAA+C;EAC5EC,IAAI,EAAEC,IAACA,CAAC,CAACC,YAAY;EACrBC,OAAO,EAAEF,IAACA,CAAC,CAACJ;AACd,CAAC,CAAC;AAEK,MAAMO,IAAI,GAAAN,OAAA,CAAAM,IAAA,GAAGL,SAAMA,CAAC,CAAC;EAC1BC,IAAI,EAAEC,IAACA,CAAC,CAACI,QAAQ;EACjBF,OAAO,EAAEF,IAACA,CAAC,CAACG;AACd,CAAC,CAAC;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/functional.js b/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/functional.js deleted file mode 100644 index d7f77554..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/functional.js +++ /dev/null @@ -1,58 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.once = once; -var _async = require("./async.js"); -function once(fn) { - let result; - let resultP; - let promiseReferenced = false; - return function* () { - if (!result) { - if (resultP) { - promiseReferenced = true; - return yield* (0, _async.waitFor)(resultP); - } - if (!(yield* (0, _async.isAsync)())) { - try { - result = { - ok: true, - value: yield* fn() - }; - } catch (error) { - result = { - ok: false, - value: error - }; - } - } else { - let resolve, reject; - resultP = new Promise((res, rej) => { - resolve = res; - reject = rej; - }); - try { - result = { - ok: true, - value: yield* fn() - }; - resultP = null; - if (promiseReferenced) resolve(result.value); - } catch (error) { - result = { - ok: false, - value: error - }; - resultP = null; - if (promiseReferenced) reject(error); - } - } - } - if (result.ok) return result.value;else throw result.value; - }; -} -0 && 0; - -//# sourceMappingURL=functional.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/functional.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/functional.js.map deleted file mode 100644 index e8c5ed03..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/gensync-utils/functional.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_async","require","once","fn","result","resultP","promiseReferenced","waitFor","isAsync","ok","value","error","resolve","reject","Promise","res","rej"],"sources":["../../src/gensync-utils/functional.ts"],"sourcesContent":["import type { Handler } from \"gensync\";\n\nimport { isAsync, waitFor } from \"./async.ts\";\n\nexport function once(fn: () => Handler): () => Handler {\n let result: { ok: true; value: R } | { ok: false; value: unknown };\n let resultP: Promise;\n let promiseReferenced = false;\n return function* () {\n if (!result) {\n if (resultP) {\n promiseReferenced = true;\n return yield* waitFor(resultP);\n }\n\n if (!(yield* isAsync())) {\n try {\n result = { ok: true, value: yield* fn() };\n } catch (error) {\n result = { ok: false, value: error };\n }\n } else {\n let resolve: (result: R) => void, reject: (error: unknown) => void;\n resultP = new Promise((res, rej) => {\n resolve = res;\n reject = rej;\n });\n\n try {\n result = { ok: true, value: yield* fn() };\n // Avoid keeping the promise around\n // now that we have the result.\n resultP = null;\n // We only resolve/reject the promise if it has been actually\n // referenced. If there are no listeners we can forget about it.\n // In the reject case, this avoid uncatchable unhandledRejection\n // events.\n if (promiseReferenced) resolve(result.value);\n } catch (error) {\n result = { ok: false, value: error };\n resultP = null;\n if (promiseReferenced) reject(error);\n }\n }\n }\n\n if (result.ok) return result.value;\n else throw result.value;\n };\n}\n"],"mappings":";;;;;;AAEA,IAAAA,MAAA,GAAAC,OAAA;AAEO,SAASC,IAAIA,CAAIC,EAAoB,EAAoB;EAC9D,IAAIC,MAA8D;EAClE,IAAIC,OAAmB;EACvB,IAAIC,iBAAiB,GAAG,KAAK;EAC7B,OAAO,aAAa;IAClB,IAAI,CAACF,MAAM,EAAE;MACX,IAAIC,OAAO,EAAE;QACXC,iBAAiB,GAAG,IAAI;QACxB,OAAO,OAAO,IAAAC,cAAO,EAACF,OAAO,CAAC;MAChC;MAEA,IAAI,EAAE,OAAO,IAAAG,cAAO,EAAC,CAAC,CAAC,EAAE;QACvB,IAAI;UACFJ,MAAM,GAAG;YAAEK,EAAE,EAAE,IAAI;YAAEC,KAAK,EAAE,OAAOP,EAAE,CAAC;UAAE,CAAC;QAC3C,CAAC,CAAC,OAAOQ,KAAK,EAAE;UACdP,MAAM,GAAG;YAAEK,EAAE,EAAE,KAAK;YAAEC,KAAK,EAAEC;UAAM,CAAC;QACtC;MACF,CAAC,MAAM;QACL,IAAIC,OAA4B,EAAEC,MAAgC;QAClER,OAAO,GAAG,IAAIS,OAAO,CAAC,CAACC,GAAG,EAAEC,GAAG,KAAK;UAClCJ,OAAO,GAAGG,GAAG;UACbF,MAAM,GAAGG,GAAG;QACd,CAAC,CAAC;QAEF,IAAI;UACFZ,MAAM,GAAG;YAAEK,EAAE,EAAE,IAAI;YAAEC,KAAK,EAAE,OAAOP,EAAE,CAAC;UAAE,CAAC;UAGzCE,OAAO,GAAG,IAAI;UAKd,IAAIC,iBAAiB,EAAEM,OAAO,CAACR,MAAM,CAACM,KAAK,CAAC;QAC9C,CAAC,CAAC,OAAOC,KAAK,EAAE;UACdP,MAAM,GAAG;YAAEK,EAAE,EAAE,KAAK;YAAEC,KAAK,EAAEC;UAAM,CAAC;UACpCN,OAAO,GAAG,IAAI;UACd,IAAIC,iBAAiB,EAAEO,MAAM,CAACF,KAAK,CAAC;QACtC;MACF;IACF;IAEA,IAAIP,MAAM,CAACK,EAAE,EAAE,OAAOL,MAAM,CAACM,KAAK,CAAC,KAC9B,MAAMN,MAAM,CAACM,KAAK;EACzB,CAAC;AACH;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/index.js b/lambdas/risk-engine/node_modules/@babel/core/lib/index.js deleted file mode 100644 index 2c15c495..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/index.js +++ /dev/null @@ -1,230 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.DEFAULT_EXTENSIONS = void 0; -Object.defineProperty(exports, "File", { - enumerable: true, - get: function () { - return _file.default; - } -}); -Object.defineProperty(exports, "buildExternalHelpers", { - enumerable: true, - get: function () { - return _buildExternalHelpers.default; - } -}); -Object.defineProperty(exports, "createConfigItem", { - enumerable: true, - get: function () { - return _index2.createConfigItem; - } -}); -Object.defineProperty(exports, "createConfigItemAsync", { - enumerable: true, - get: function () { - return _index2.createConfigItemAsync; - } -}); -Object.defineProperty(exports, "createConfigItemSync", { - enumerable: true, - get: function () { - return _index2.createConfigItemSync; - } -}); -Object.defineProperty(exports, "getEnv", { - enumerable: true, - get: function () { - return _environment.getEnv; - } -}); -Object.defineProperty(exports, "loadOptions", { - enumerable: true, - get: function () { - return _index2.loadOptions; - } -}); -Object.defineProperty(exports, "loadOptionsAsync", { - enumerable: true, - get: function () { - return _index2.loadOptionsAsync; - } -}); -Object.defineProperty(exports, "loadOptionsSync", { - enumerable: true, - get: function () { - return _index2.loadOptionsSync; - } -}); -Object.defineProperty(exports, "loadPartialConfig", { - enumerable: true, - get: function () { - return _index2.loadPartialConfig; - } -}); -Object.defineProperty(exports, "loadPartialConfigAsync", { - enumerable: true, - get: function () { - return _index2.loadPartialConfigAsync; - } -}); -Object.defineProperty(exports, "loadPartialConfigSync", { - enumerable: true, - get: function () { - return _index2.loadPartialConfigSync; - } -}); -Object.defineProperty(exports, "parse", { - enumerable: true, - get: function () { - return _parse.parse; - } -}); -Object.defineProperty(exports, "parseAsync", { - enumerable: true, - get: function () { - return _parse.parseAsync; - } -}); -Object.defineProperty(exports, "parseSync", { - enumerable: true, - get: function () { - return _parse.parseSync; - } -}); -exports.resolvePreset = exports.resolvePlugin = void 0; -Object.defineProperty((0, exports), "template", { - enumerable: true, - get: function () { - return _template().default; - } -}); -Object.defineProperty((0, exports), "tokTypes", { - enumerable: true, - get: function () { - return _parser().tokTypes; - } -}); -Object.defineProperty(exports, "transform", { - enumerable: true, - get: function () { - return _transform.transform; - } -}); -Object.defineProperty(exports, "transformAsync", { - enumerable: true, - get: function () { - return _transform.transformAsync; - } -}); -Object.defineProperty(exports, "transformFile", { - enumerable: true, - get: function () { - return _transformFile.transformFile; - } -}); -Object.defineProperty(exports, "transformFileAsync", { - enumerable: true, - get: function () { - return _transformFile.transformFileAsync; - } -}); -Object.defineProperty(exports, "transformFileSync", { - enumerable: true, - get: function () { - return _transformFile.transformFileSync; - } -}); -Object.defineProperty(exports, "transformFromAst", { - enumerable: true, - get: function () { - return _transformAst.transformFromAst; - } -}); -Object.defineProperty(exports, "transformFromAstAsync", { - enumerable: true, - get: function () { - return _transformAst.transformFromAstAsync; - } -}); -Object.defineProperty(exports, "transformFromAstSync", { - enumerable: true, - get: function () { - return _transformAst.transformFromAstSync; - } -}); -Object.defineProperty(exports, "transformSync", { - enumerable: true, - get: function () { - return _transform.transformSync; - } -}); -Object.defineProperty((0, exports), "traverse", { - enumerable: true, - get: function () { - return _traverse().default; - } -}); -exports.version = exports.types = void 0; -var _file = require("./transformation/file/file.js"); -var _buildExternalHelpers = require("./tools/build-external-helpers.js"); -var resolvers = require("./config/files/index.js"); -var _environment = require("./config/helpers/environment.js"); -function _types() { - const data = require("@babel/types"); - _types = function () { - return data; - }; - return data; -} -Object.defineProperty((0, exports), "types", { - enumerable: true, - get: function () { - return _types(); - } -}); -function _parser() { - const data = require("@babel/parser"); - _parser = function () { - return data; - }; - return data; -} -function _traverse() { - const data = require("@babel/traverse"); - _traverse = function () { - return data; - }; - return data; -} -function _template() { - const data = require("@babel/template"); - _template = function () { - return data; - }; - return data; -} -var _index2 = require("./config/index.js"); -var _transform = require("./transform.js"); -var _transformFile = require("./transform-file.js"); -var _transformAst = require("./transform-ast.js"); -var _parse = require("./parse.js"); -const version = exports.version = "7.29.0"; -const resolvePlugin = (name, dirname) => resolvers.resolvePlugin(name, dirname, false).filepath; -exports.resolvePlugin = resolvePlugin; -const resolvePreset = (name, dirname) => resolvers.resolvePreset(name, dirname, false).filepath; -exports.resolvePreset = resolvePreset; -const DEFAULT_EXTENSIONS = exports.DEFAULT_EXTENSIONS = Object.freeze([".js", ".jsx", ".es6", ".es", ".mjs", ".cjs"]); -exports.OptionManager = class OptionManager { - init(opts) { - return (0, _index2.loadOptionsSync)(opts); - } -}; -exports.Plugin = function Plugin(alias) { - throw new Error(`The (${alias}) Babel 5 plugin is being run with an unsupported Babel version.`); -}; -0 && (exports.types = exports.traverse = exports.tokTypes = exports.template = 0); - -//# sourceMappingURL=index.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/index.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/index.js.map deleted file mode 100644 index a5f9ea55..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_file","require","_buildExternalHelpers","resolvers","_environment","_types","data","Object","defineProperty","exports","enumerable","get","_parser","_traverse","_template","_index2","_transform","_transformFile","_transformAst","_parse","version","resolvePlugin","name","dirname","filepath","resolvePreset","DEFAULT_EXTENSIONS","freeze","OptionManager","init","opts","loadOptionsSync","Plugin","alias","Error","types","traverse","tokTypes","template"],"sources":["../src/index.ts"],"sourcesContent":["if (!process.env.IS_PUBLISH && !USE_ESM && process.env.BABEL_8_BREAKING) {\n throw new Error(\n \"BABEL_8_BREAKING is only supported in ESM. Please run `make use-esm`.\",\n );\n}\n\nexport const version = PACKAGE_JSON.version;\n\nexport { default as File } from \"./transformation/file/file.ts\";\nexport type { default as PluginPass } from \"./transformation/plugin-pass.ts\";\nexport { default as buildExternalHelpers } from \"./tools/build-external-helpers.ts\";\n\nimport * as resolvers from \"./config/files/index.ts\";\n// For backwards-compatibility, we expose the resolvers\n// with the old API.\nexport const resolvePlugin = (name: string, dirname: string) =>\n resolvers.resolvePlugin(name, dirname, false).filepath;\nexport const resolvePreset = (name: string, dirname: string) =>\n resolvers.resolvePreset(name, dirname, false).filepath;\n\nexport { getEnv } from \"./config/helpers/environment.ts\";\n\n// NOTE: Lazy re-exports aren't detected by the Node.js CJS-ESM interop.\n// These are handled by pluginInjectNodeReexportsHints in our babel.config.js\n// so that they can work well.\nexport * as types from \"@babel/types\";\nexport { tokTypes } from \"@babel/parser\";\nexport { default as traverse } from \"@babel/traverse\";\nexport { default as template } from \"@babel/template\";\n\n// rollup-plugin-dts assumes that all re-exported types are also valid values\n// Visitor is only a type, so we need to use this workaround to prevent\n// rollup-plugin-dts from breaking it.\n// TODO: Figure out how to fix this upstream.\nexport type { NodePath, Scope } from \"@babel/traverse\";\nexport type Visitor = import(\"@babel/traverse\").Visitor;\n\nexport {\n createConfigItem,\n createConfigItemAsync,\n createConfigItemSync,\n} from \"./config/index.ts\";\n\nexport {\n loadOptions,\n loadOptionsAsync,\n loadPartialConfig,\n loadPartialConfigAsync,\n loadPartialConfigSync,\n} from \"./config/index.ts\";\nimport { loadOptionsSync } from \"./config/index.ts\";\nimport type {\n ConfigApplicableTest,\n PluginItem,\n} from \"./config/validation/options.ts\";\nexport { loadOptionsSync };\nexport type { PluginItem };\n\nexport type PresetObject = {\n overrides?: PresetObject[];\n test?: ConfigApplicableTest;\n plugins?: PluginItem[];\n};\n\nexport type {\n CallerMetadata,\n ConfigAPI,\n ConfigItem,\n InputOptions,\n NormalizedOptions,\n PartialConfig,\n PluginAPI,\n PluginObject,\n PresetAPI,\n} from \"./config/index.ts\";\n\nexport {\n type FileResult,\n transform,\n transformAsync,\n transformSync,\n} from \"./transform.ts\";\nexport {\n transformFile,\n transformFileAsync,\n transformFileSync,\n} from \"./transform-file.ts\";\nexport {\n transformFromAst,\n transformFromAstAsync,\n transformFromAstSync,\n} from \"./transform-ast.ts\";\nexport { parse, parseAsync, parseSync } from \"./parse.ts\";\n\n/**\n * Recommended set of compilable extensions. Not used in @babel/core directly, but meant as\n * as an easy source for tooling making use of @babel/core.\n */\nexport const DEFAULT_EXTENSIONS = Object.freeze([\n \".js\",\n \".jsx\",\n \".es6\",\n \".es\",\n \".mjs\",\n \".cjs\",\n] as const);\n\nif (!process.env.BABEL_8_BREAKING && !USE_ESM) {\n // For easier backward-compatibility, provide an API like the one we exposed in Babel 6.\n // eslint-disable-next-line no-restricted-globals\n exports.OptionManager = class OptionManager {\n init(opts: any) {\n return loadOptionsSync(opts);\n }\n };\n\n // eslint-disable-next-line no-restricted-globals\n exports.Plugin = function Plugin(alias: string) {\n throw new Error(\n `The (${alias}) Babel 5 plugin is being run with an unsupported Babel version.`,\n );\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,qBAAA,GAAAD,OAAA;AAEA,IAAAE,SAAA,GAAAF,OAAA;AAQA,IAAAG,YAAA,GAAAH,OAAA;AAAyD,SAAAI,OAAA;EAAA,MAAAC,IAAA,GAAAL,OAAA;EAAAI,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAAC,MAAA,CAAAC,cAAA,KAAAC,OAAA;EAAAC,UAAA;EAAAC,GAAA,WAAAA,CAAA;IAAA,OAAAN,MAAA;EAAA;AAAA;AAMzD,SAAAO,QAAA;EAAA,MAAAN,IAAA,GAAAL,OAAA;EAAAW,OAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAO,UAAA;EAAA,MAAAP,IAAA,GAAAL,OAAA;EAAAY,SAAA,YAAAA,CAAA;IAAA,OAAAP,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAQ,UAAA;EAAA,MAAAR,IAAA,GAAAL,OAAA;EAAAa,SAAA,YAAAA,CAAA;IAAA,OAAAR,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AASA,IAAAS,OAAA,GAAAd,OAAA;AAuCA,IAAAe,UAAA,GAAAf,OAAA;AAMA,IAAAgB,cAAA,GAAAhB,OAAA;AAKA,IAAAiB,aAAA,GAAAjB,OAAA;AAKA,IAAAkB,MAAA,GAAAlB,OAAA;AAtFO,MAAMmB,OAAO,GAAAX,OAAA,CAAAW,OAAA,WAAuB;AASpC,MAAMC,aAAa,GAAGA,CAACC,IAAY,EAAEC,OAAe,KACzDpB,SAAS,CAACkB,aAAa,CAACC,IAAI,EAAEC,OAAO,EAAE,KAAK,CAAC,CAACC,QAAQ;AAACf,OAAA,CAAAY,aAAA,GAAAA,aAAA;AAClD,MAAMI,aAAa,GAAGA,CAACH,IAAY,EAAEC,OAAe,KACzDpB,SAAS,CAACsB,aAAa,CAACH,IAAI,EAAEC,OAAO,EAAE,KAAK,CAAC,CAACC,QAAQ;AAACf,OAAA,CAAAgB,aAAA,GAAAA,aAAA;AAgFlD,MAAMC,kBAAkB,GAAAjB,OAAA,CAAAiB,kBAAA,GAAGnB,MAAM,CAACoB,MAAM,CAAC,CAC9C,KAAK,EACL,MAAM,EACN,MAAM,EACN,KAAK,EACL,MAAM,EACN,MAAM,CACE,CAAC;AAKTlB,OAAO,CAACmB,aAAa,GAAG,MAAMA,aAAa,CAAC;EAC1CC,IAAIA,CAACC,IAAS,EAAE;IACd,OAAO,IAAAC,uBAAe,EAACD,IAAI,CAAC;EAC9B;AACF,CAAC;AAGDrB,OAAO,CAACuB,MAAM,GAAG,SAASA,MAAMA,CAACC,KAAa,EAAE;EAC9C,MAAM,IAAIC,KAAK,CACb,QAAQD,KAAK,kEACf,CAAC;AACH,CAAC;AAAC,MAAAxB,OAAA,CAAA0B,KAAA,GAAA1B,OAAA,CAAA2B,QAAA,GAAA3B,OAAA,CAAA4B,QAAA,GAAA5B,OAAA,CAAA6B,QAAA","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/parse.js b/lambdas/risk-engine/node_modules/@babel/core/lib/parse.js deleted file mode 100644 index 5c4db4c9..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/parse.js +++ /dev/null @@ -1,45 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.parse = void 0; -exports.parseAsync = parseAsync; -exports.parseSync = parseSync; -function _gensync() { - const data = require("gensync"); - _gensync = function () { - return data; - }; - return data; -} -var _index = require("./config/index.js"); -var _index2 = require("./parser/index.js"); -var _normalizeOpts = require("./transformation/normalize-opts.js"); -var _rewriteStackTrace = require("./errors/rewrite-stack-trace.js"); -const parseRunner = _gensync()(function* parse(code, opts) { - const config = yield* (0, _index.default)(opts); - if (config === null) { - return null; - } - return yield* (0, _index2.default)(config.passes, (0, _normalizeOpts.default)(config), code); -}); -const parse = exports.parse = function parse(code, opts, callback) { - if (typeof opts === "function") { - callback = opts; - opts = undefined; - } - if (callback === undefined) { - return (0, _rewriteStackTrace.beginHiddenCallStack)(parseRunner.sync)(code, opts); - } - (0, _rewriteStackTrace.beginHiddenCallStack)(parseRunner.errback)(code, opts, callback); -}; -function parseSync(...args) { - return (0, _rewriteStackTrace.beginHiddenCallStack)(parseRunner.sync)(...args); -} -function parseAsync(...args) { - return (0, _rewriteStackTrace.beginHiddenCallStack)(parseRunner.async)(...args); -} -0 && 0; - -//# sourceMappingURL=parse.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/parse.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/parse.js.map deleted file mode 100644 index 91434fca..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/parse.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_gensync","data","require","_index","_index2","_normalizeOpts","_rewriteStackTrace","parseRunner","gensync","parse","code","opts","config","loadConfig","parser","passes","normalizeOptions","exports","callback","undefined","beginHiddenCallStack","sync","errback","parseSync","args","parseAsync","async"],"sources":["../src/parse.ts"],"sourcesContent":["import gensync, { type Handler } from \"gensync\";\n\nimport loadConfig, { type InputOptions } from \"./config/index.ts\";\nimport parser, { type ParseResult } from \"./parser/index.ts\";\nimport normalizeOptions from \"./transformation/normalize-opts.ts\";\n\nimport { beginHiddenCallStack } from \"./errors/rewrite-stack-trace.ts\";\n\ntype FileParseCallback = {\n (err: Error, ast: null): void;\n (err: null, ast: ParseResult | null): void;\n};\n\ntype Parse = {\n (code: string, callback: FileParseCallback): void;\n (\n code: string,\n opts: InputOptions | undefined | null,\n callback: FileParseCallback,\n ): void;\n (code: string, opts?: InputOptions | null): ParseResult | null;\n};\n\nconst parseRunner = gensync(function* parse(\n code: string,\n opts: InputOptions | undefined | null,\n): Handler {\n const config = yield* loadConfig(opts);\n\n if (config === null) {\n return null;\n }\n\n return yield* parser(config.passes, normalizeOptions(config), code);\n});\n\nexport const parse: Parse = function parse(\n code,\n opts?,\n callback?: FileParseCallback,\n) {\n if (typeof opts === \"function\") {\n callback = opts;\n opts = undefined as InputOptions;\n }\n\n if (callback === undefined) {\n if (process.env.BABEL_8_BREAKING) {\n throw new Error(\n \"Starting from Babel 8.0.0, the 'parse' function expects a callback. If you need to call it synchronously, please use 'parseSync'.\",\n );\n } else {\n // console.warn(\n // \"Starting from Babel 8.0.0, the 'parse' function will expect a callback. If you need to call it synchronously, please use 'parseSync'.\",\n // );\n return beginHiddenCallStack(parseRunner.sync)(code, opts);\n }\n }\n\n beginHiddenCallStack(parseRunner.errback)(code, opts, callback);\n};\n\nexport function parseSync(...args: Parameters) {\n return beginHiddenCallStack(parseRunner.sync)(...args);\n}\nexport function parseAsync(...args: Parameters) {\n return beginHiddenCallStack(parseRunner.async)(...args);\n}\n"],"mappings":";;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAE,MAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AAEA,IAAAI,kBAAA,GAAAJ,OAAA;AAiBA,MAAMK,WAAW,GAAGC,SAAMA,CAAC,CAAC,UAAUC,KAAKA,CACzCC,IAAY,EACZC,IAAqC,EACR;EAC7B,MAAMC,MAAM,GAAG,OAAO,IAAAC,cAAU,EAACF,IAAI,CAAC;EAEtC,IAAIC,MAAM,KAAK,IAAI,EAAE;IACnB,OAAO,IAAI;EACb;EAEA,OAAO,OAAO,IAAAE,eAAM,EAACF,MAAM,CAACG,MAAM,EAAE,IAAAC,sBAAgB,EAACJ,MAAM,CAAC,EAAEF,IAAI,CAAC;AACrE,CAAC,CAAC;AAEK,MAAMD,KAAY,GAAAQ,OAAA,CAAAR,KAAA,GAAG,SAASA,KAAKA,CACxCC,IAAI,EACJC,IAAK,EACLO,QAA4B,EAC5B;EACA,IAAI,OAAOP,IAAI,KAAK,UAAU,EAAE;IAC9BO,QAAQ,GAAGP,IAAI;IACfA,IAAI,GAAGQ,SAAyB;EAClC;EAEA,IAAID,QAAQ,KAAKC,SAAS,EAAE;IASxB,OAAO,IAAAC,uCAAoB,EAACb,WAAW,CAACc,IAAI,CAAC,CAACX,IAAI,EAAEC,IAAI,CAAC;EAE7D;EAEA,IAAAS,uCAAoB,EAACb,WAAW,CAACe,OAAO,CAAC,CAACZ,IAAI,EAAEC,IAAI,EAAEO,QAAQ,CAAC;AACjE,CAAC;AAEM,SAASK,SAASA,CAAC,GAAGC,IAAyC,EAAE;EACtE,OAAO,IAAAJ,uCAAoB,EAACb,WAAW,CAACc,IAAI,CAAC,CAAC,GAAGG,IAAI,CAAC;AACxD;AACO,SAASC,UAAUA,CAAC,GAAGD,IAA0C,EAAE;EACxE,OAAO,IAAAJ,uCAAoB,EAACb,WAAW,CAACmB,KAAK,CAAC,CAAC,GAAGF,IAAI,CAAC;AACzD;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/parser/index.js b/lambdas/risk-engine/node_modules/@babel/core/lib/parser/index.js deleted file mode 100644 index 690b343b..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/parser/index.js +++ /dev/null @@ -1,85 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = parser; -function _parser() { - const data = require("@babel/parser"); - _parser = function () { - return data; - }; - return data; -} -function _codeFrame() { - const data = require("@babel/code-frame"); - _codeFrame = function () { - return data; - }; - return data; -} -var _missingPluginHelper = require("./util/missing-plugin-helper.js"); -function* parser(pluginPasses, { - parserOpts, - highlightCode = true, - filename = "unknown" -}, code) { - try { - const results = []; - for (const plugins of pluginPasses) { - for (const plugin of plugins) { - const { - parserOverride - } = plugin; - if (parserOverride) { - const ast = parserOverride(code, parserOpts, _parser().parse); - if (ast !== undefined) results.push(ast); - } - } - } - if (results.length === 0) { - return (0, _parser().parse)(code, parserOpts); - } else if (results.length === 1) { - yield* []; - if (typeof results[0].then === "function") { - throw new Error(`You appear to be using an async parser plugin, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, you may need to upgrade ` + `your @babel/core version.`); - } - return results[0]; - } - throw new Error("More than one plugin attempted to override parsing."); - } catch (err) { - if (err.code === "BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED") { - err.message += "\nConsider renaming the file to '.mjs', or setting sourceType:module " + "or sourceType:unambiguous in your Babel config for this file."; - } - const startLine = parserOpts == null ? void 0 : parserOpts.startLine; - const startColumn = parserOpts == null ? void 0 : parserOpts.startColumn; - if (startColumn != null) { - code = " ".repeat(startColumn) + code; - } - const { - loc, - missingPlugin - } = err; - if (loc) { - const codeFrame = (0, _codeFrame().codeFrameColumns)(code, { - start: { - line: loc.line, - column: loc.column + 1 - } - }, { - highlightCode, - startLine - }); - if (missingPlugin) { - err.message = `${filename}: ` + (0, _missingPluginHelper.default)(missingPlugin[0], loc, codeFrame, filename); - } else { - err.message = `${filename}: ${err.message}\n\n` + codeFrame; - } - err.code = "BABEL_PARSE_ERROR"; - } - throw err; - } -} -0 && 0; - -//# sourceMappingURL=index.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/parser/index.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/parser/index.js.map deleted file mode 100644 index d1730417..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/parser/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_parser","data","require","_codeFrame","_missingPluginHelper","parser","pluginPasses","parserOpts","highlightCode","filename","code","results","plugins","plugin","parserOverride","ast","parse","undefined","push","length","then","Error","err","message","startLine","startColumn","repeat","loc","missingPlugin","codeFrame","codeFrameColumns","start","line","column","generateMissingPluginMessage"],"sources":["../../src/parser/index.ts"],"sourcesContent":["import type { Handler } from \"gensync\";\nimport { parse, type ParseResult } from \"@babel/parser\";\nimport { codeFrameColumns } from \"@babel/code-frame\";\nimport generateMissingPluginMessage from \"./util/missing-plugin-helper.ts\";\nimport type { PluginPasses } from \"../config/index.ts\";\nimport type { ResolvedOptions } from \"../config/validation/options.ts\";\n\nexport type { ParseResult };\n\nexport default function* parser(\n pluginPasses: PluginPasses,\n { parserOpts, highlightCode = true, filename = \"unknown\" }: ResolvedOptions,\n code: string,\n): Handler {\n try {\n const results = [];\n for (const plugins of pluginPasses) {\n for (const plugin of plugins) {\n const { parserOverride } = plugin;\n if (parserOverride) {\n const ast = parserOverride(code, parserOpts, parse);\n\n if (ast !== undefined) results.push(ast);\n }\n }\n }\n\n if (results.length === 0) {\n return parse(code, parserOpts);\n } else if (results.length === 1) {\n // If we want to allow async parsers\n yield* [];\n if (typeof (results[0] as any).then === \"function\") {\n throw new Error(\n `You appear to be using an async parser plugin, ` +\n `which your current version of Babel does not support. ` +\n `If you're using a published plugin, you may need to upgrade ` +\n `your @babel/core version.`,\n );\n }\n return results[0];\n }\n // TODO: Add an error code\n throw new Error(\"More than one plugin attempted to override parsing.\");\n } catch (err) {\n if (err.code === \"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED\") {\n err.message +=\n \"\\nConsider renaming the file to '.mjs', or setting sourceType:module \" +\n \"or sourceType:unambiguous in your Babel config for this file.\";\n // err.code will be changed to BABEL_PARSE_ERROR later.\n }\n\n const startLine = parserOpts?.startLine;\n const startColumn = parserOpts?.startColumn;\n\n if (startColumn != null) {\n code = \" \".repeat(startColumn) + code;\n }\n\n const { loc, missingPlugin } = err;\n if (loc) {\n const codeFrame = codeFrameColumns(\n code,\n {\n start: {\n line: loc.line,\n column: loc.column + 1,\n },\n },\n {\n highlightCode,\n startLine,\n },\n );\n if (missingPlugin) {\n err.message =\n `${filename}: ` +\n generateMissingPluginMessage(\n missingPlugin[0],\n loc,\n codeFrame,\n filename,\n );\n } else {\n err.message = `${filename}: ${err.message}\\n\\n` + codeFrame;\n }\n err.code = \"BABEL_PARSE_ERROR\";\n }\n throw err;\n }\n}\n"],"mappings":";;;;;;AACA,SAAAA,QAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,OAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,WAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,UAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,IAAAG,oBAAA,GAAAF,OAAA;AAMe,UAAUG,MAAMA,CAC7BC,YAA0B,EAC1B;EAAEC,UAAU;EAAEC,aAAa,GAAG,IAAI;EAAEC,QAAQ,GAAG;AAA2B,CAAC,EAC3EC,IAAY,EACU;EACtB,IAAI;IACF,MAAMC,OAAO,GAAG,EAAE;IAClB,KAAK,MAAMC,OAAO,IAAIN,YAAY,EAAE;MAClC,KAAK,MAAMO,MAAM,IAAID,OAAO,EAAE;QAC5B,MAAM;UAAEE;QAAe,CAAC,GAAGD,MAAM;QACjC,IAAIC,cAAc,EAAE;UAClB,MAAMC,GAAG,GAAGD,cAAc,CAACJ,IAAI,EAAEH,UAAU,EAAES,eAAK,CAAC;UAEnD,IAAID,GAAG,KAAKE,SAAS,EAAEN,OAAO,CAACO,IAAI,CAACH,GAAG,CAAC;QAC1C;MACF;IACF;IAEA,IAAIJ,OAAO,CAACQ,MA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EAChBD,GAAG,EACHE,SAAS,EACTpB,QACF,CAAC;MACL,CAAC,MAAM;QACLa,GAAG,CAACC,OAAO,GAAG,GAAGd,QAAQ,KAAKa,GAAG,CAACC,OAAO,MAAM,GAAGM,SAAS;MAC7D;MACAP,GAAG,CAACZ,IAAI,GAAG,mBAAmB;IAChC;IACA,MAAMY,GAAG;EACX;AACF;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js b/lambdas/risk-engine/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js deleted file mode 100644 index 0eb294cf..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js +++ /dev/null @@ -1,337 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = generateMissingPluginMessage; -const pluginNameMap = { - asyncDoExpressions: { - syntax: { - name: "@babel/plugin-syntax-async-do-expressions", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-do-expressions" - } - }, - decimal: { - syntax: { - name: "@babel/plugin-syntax-decimal", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal" - } - }, - decorators: { - syntax: { - name: "@babel/plugin-syntax-decorators", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators" - }, - transform: { - name: "@babel/plugin-proposal-decorators", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators" - } - }, - doExpressions: { - syntax: { - name: "@babel/plugin-syntax-do-expressions", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions" - }, - transform: { - name: "@babel/plugin-proposal-do-expressions", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions" - } - }, - exportDefaultFrom: { - syntax: { - name: "@babel/plugin-syntax-export-default-from", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-default-from" - }, - transform: { - name: "@babel/plugin-proposal-export-default-from", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-default-from" - } - }, - flow: { - syntax: { - name: "@babel/plugin-syntax-flow", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow" - }, - transform: { - name: "@babel/preset-flow", - url: "https://github.com/babel/babel/tree/main/packages/babel-preset-flow" - } - }, - functionBind: { - syntax: { - name: "@babel/plugin-syntax-function-bind", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind" - }, - transform: { - name: "@babel/plugin-proposal-function-bind", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind" - } - }, - functionSent: { - syntax: { - name: "@babel/plugin-syntax-function-sent", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent" - }, - transform: { - name: "@babel/plugin-proposal-function-sent", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent" - } - }, - jsx: { - syntax: { - name: "@babel/plugin-syntax-jsx", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx" - }, - transform: { - name: "@babel/preset-react", - url: "https://github.com/babel/babel/tree/main/packages/babel-preset-react" - } - }, - pipelineOperator: { - syntax: { - name: "@babel/plugin-syntax-pipeline-operator", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator" - }, - transform: { - name: "@babel/plugin-proposal-pipeline-operator", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-pipeline-operator" - } - }, - recordAndTuple: { - syntax: { - name: "@babel/plugin-syntax-record-and-tuple", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-record-and-tuple" - } - }, - throwExpressions: { - syntax: { - name: "@babel/plugin-syntax-throw-expressions", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions" - }, - transform: { - name: "@babel/plugin-proposal-throw-expressions", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions" - } - }, - typescript: { - syntax: { - name: "@babel/plugin-syntax-typescript", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript" - }, - transform: { - name: "@babel/preset-typescript", - url: "https://github.com/babel/babel/tree/main/packages/babel-preset-typescript" - } - } -}; -Object.assign(pluginNameMap, { - asyncGenerators: { - syntax: { - name: "@babel/plugin-syntax-async-generators", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators" - }, - transform: { - name: "@babel/plugin-transform-async-generator-functions", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-async-generator-functions" - } - }, - classProperties: { - syntax: { - name: "@babel/plugin-syntax-class-properties", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties" - }, - transform: { - name: "@babel/plugin-transform-class-properties", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties" - } - }, - classPrivateProperties: { - syntax: { - name: "@babel/plugin-syntax-class-properties", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties" - }, - transform: { - name: "@babel/plugin-transform-class-properties", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties" - } - }, - classPrivateMethods: { - syntax: { - name: "@babel/plugin-syntax-class-properties", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties" - }, - transform: { - name: "@babel/plugin-transform-private-methods", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-methods" - } - }, - classStaticBlock: { - syntax: { - name: "@babel/plugin-syntax-class-static-block", - url: "https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block" - }, - transform: { - name: "@babel/plugin-transform-class-static-block", - url: "https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-static-block" - } - }, - dynamicImport: { - syntax: { - name: "@babel/plugin-syntax-dynamic-import", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-dynamic-import" - } - }, - exportNamespaceFrom: { - syntax: { - name: "@babel/plugin-syntax-export-namespace-from", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from" - }, - transform: { - name: "@babel/plugin-transform-export-namespace-from", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-export-namespace-from" - } - }, - importAssertions: { - syntax: { - name: "@babel/plugin-syntax-import-assertions", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-assertions" - } - }, - importAttributes: { - syntax: { - name: "@babel/plugin-syntax-import-attributes", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes" - } - }, - importMeta: { - syntax: { - name: "@babel/plugin-syntax-import-meta", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta" - } - }, - logicalAssignment: { - syntax: { - name: "@babel/plugin-syntax-logical-assignment-operators", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators" - }, - transform: { - name: "@babel/plugin-transform-logical-assignment-operators", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-logical-assignment-operators" - } - }, - moduleStringNames: { - syntax: { - name: "@babel/plugin-syntax-module-string-names", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-module-string-names" - } - }, - numericSeparator: { - syntax: { - name: "@babel/plugin-syntax-numeric-separator", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator" - }, - transform: { - name: "@babel/plugin-transform-numeric-separator", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-numeric-separator" - } - }, - nullishCoalescingOperator: { - syntax: { - name: "@babel/plugin-syntax-nullish-coalescing-operator", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator" - }, - transform: { - name: "@babel/plugin-transform-nullish-coalescing-operator", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-nullish-coalescing-opearator" - } - }, - objectRestSpread: { - syntax: { - name: "@babel/plugin-syntax-object-rest-spread", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread" - }, - transform: { - name: "@babel/plugin-transform-object-rest-spread", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-object-rest-spread" - } - }, - optionalCatchBinding: { - syntax: { - name: "@babel/plugin-syntax-optional-catch-binding", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding" - }, - transform: { - name: "@babel/plugin-transform-optional-catch-binding", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-catch-binding" - } - }, - optionalChaining: { - syntax: { - name: "@babel/plugin-syntax-optional-chaining", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining" - }, - transform: { - name: "@babel/plugin-transform-optional-chaining", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-chaining" - } - }, - privateIn: { - syntax: { - name: "@babel/plugin-syntax-private-property-in-object", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-private-property-in-object" - }, - transform: { - name: "@babel/plugin-transform-private-property-in-object", - url: "https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-property-in-object" - } - }, - regexpUnicodeSets: { - syntax: { - name: "@babel/plugin-syntax-unicode-sets-regex", - url: "https://github.com/babel/babel/blob/main/packages/babel-plugin-syntax-unicode-sets-regex/README.md" - }, - transform: { - name: "@babel/plugin-transform-unicode-sets-regex", - url: "https://github.com/babel/babel/blob/main/packages/babel-plugin-proposalunicode-sets-regex/README.md" - } - } -}); -const getNameURLCombination = ({ - name, - url -}) => `${name} (${url})`; -function generateMissingPluginMessage(missingPluginName, loc, codeFrame, filename) { - let helpMessage = `Support for the experimental syntax '${missingPluginName}' isn't currently enabled ` + `(${loc.line}:${loc.column + 1}):\n\n` + codeFrame; - const pluginInfo = pluginNameMap[missingPluginName]; - if (pluginInfo) { - const { - syntax: syntaxPlugin, - transform: transformPlugin - } = pluginInfo; - if (syntaxPlugin) { - const syntaxPluginInfo = getNameURLCombination(syntaxPlugin); - if (transformPlugin) { - const transformPluginInfo = getNameURLCombination(transformPlugin); - const sectionType = transformPlugin.name.startsWith("@babel/plugin") ? "plugins" : "presets"; - helpMessage += `\n\nAdd ${transformPluginInfo} to the '${sectionType}' section of your Babel config to enable transformation. -If you want to leave it as-is, add ${syntaxPluginInfo} to the 'plugins' section to enable parsing.`; - } else { - helpMessage += `\n\nAdd ${syntaxPluginInfo} to the 'plugins' section of your Babel config ` + `to enable parsing.`; - } - } - } - const msgFilename = filename === "unknown" ? "" : filename; - helpMessage += ` - -If you already added the plugin for this syntax to your config, it's possible that your config \ -isn't being loaded. -You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded \ -configuration: -\tnpx cross-env BABEL_SHOW_CONFIG_FOR=${msgFilename} -See https://babeljs.io/docs/configuration#print-effective-configs for more info. -`; - return helpMessage; -} -0 && 0; - -//# sourceMappingURL=missing-plugin-helper.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js.map deleted file mode 100644 index b032bff9..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["pluginNameMap","asyncDoExpressions","syntax","name","url","decimal","decorators","transform","doExpressions","exportDefaultFrom","flow","functionBind","functionSent","jsx","pipelineOperator","recordAndTuple","throwExpressions","typescript","Object","assign","asyncGenerators","classProperties","classPrivateProperties","classPrivateMethods","classStaticBlock","dynamicImport","exportNamespaceFrom","importAssertions","importAttributes","importMeta","logicalAssignment","moduleStringNames","numericSeparator","nullishCoalescingOperator","objectRestSpread","optionalCatchBinding","optionalChaining","privateIn","regexpUnicodeSets","getNameURLCombination","generateMissingPluginMessage","missingPluginName","loc","codeFrame","filename","helpMessage","line","column","pluginInfo","syntaxPlugin","transformPlugin","syntaxPluginInfo","transformPluginInfo","sectionType","startsWith","msgFilename"],"sources":["../../../src/parser/util/missing-plugin-helper.ts"],"sourcesContent":["const pluginNameMap: Record<\n string,\n Partial>>\n> = {\n asyncDoExpressions: {\n syntax: {\n name: \"@babel/plugin-syntax-async-do-expressions\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-do-expressions\",\n },\n },\n decimal: {\n syntax: {\n name: \"@babel/plugin-syntax-decimal\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal\",\n },\n },\n decorators: {\n syntax: {\n name: \"@babel/plugin-syntax-decorators\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators\",\n },\n transform: {\n name: \"@babel/plugin-proposal-decorators\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators\",\n },\n },\n doExpressions: {\n syntax: {\n name: \"@babel/plugin-syntax-do-expressions\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions\",\n },\n transform: {\n name: \"@babel/plugin-proposal-do-expressions\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions\",\n },\n },\n exportDefaultFrom: {\n syntax: {\n name: \"@babel/plugin-syntax-export-default-from\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-default-from\",\n },\n transform: {\n name: \"@babel/plugin-proposal-export-default-from\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-default-from\",\n },\n },\n flow: {\n syntax: {\n name: \"@babel/plugin-syntax-flow\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow\",\n },\n transform: {\n name: \"@babel/preset-flow\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-preset-flow\",\n },\n },\n functionBind: {\n syntax: {\n name: \"@babel/plugin-syntax-function-bind\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind\",\n },\n transform: {\n name: \"@babel/plugin-proposal-function-bind\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind\",\n },\n },\n functionSent: {\n syntax: {\n name: \"@babel/plugin-syntax-function-sent\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent\",\n },\n transform: {\n name: \"@babel/plugin-proposal-function-sent\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent\",\n },\n },\n jsx: {\n syntax: {\n name: \"@babel/plugin-syntax-jsx\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx\",\n },\n transform: {\n name: \"@babel/preset-react\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-preset-react\",\n },\n },\n pipelineOperator: {\n syntax: {\n name: \"@babel/plugin-syntax-pipeline-operator\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator\",\n },\n transform: {\n name: \"@babel/plugin-proposal-pipeline-operator\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-pipeline-operator\",\n },\n },\n recordAndTuple: {\n syntax: {\n name: \"@babel/plugin-syntax-record-and-tuple\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-record-and-tuple\",\n },\n },\n throwExpressions: {\n syntax: {\n name: \"@babel/plugin-syntax-throw-expressions\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions\",\n },\n transform: {\n name: \"@babel/plugin-proposal-throw-expressions\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions\",\n },\n },\n typescript: {\n syntax: {\n name: \"@babel/plugin-syntax-typescript\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript\",\n },\n transform: {\n name: \"@babel/preset-typescript\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-preset-typescript\",\n },\n },\n};\n\nif (!process.env.BABEL_8_BREAKING) {\n // TODO: This plugins are now supported by default by @babel/parser.\n Object.assign(pluginNameMap, {\n asyncGenerators: {\n syntax: {\n name: \"@babel/plugin-syntax-async-generators\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators\",\n },\n transform: {\n name: \"@babel/plugin-transform-async-generator-functions\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-async-generator-functions\",\n },\n },\n classProperties: {\n syntax: {\n name: \"@babel/plugin-syntax-class-properties\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties\",\n },\n transform: {\n name: \"@babel/plugin-transform-class-properties\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties\",\n },\n },\n classPrivateProperties: {\n syntax: {\n name: \"@babel/plugin-syntax-class-properties\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties\",\n },\n transform: {\n name: \"@babel/plugin-transform-class-properties\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties\",\n },\n },\n classPrivateMethods: {\n syntax: {\n name: \"@babel/plugin-syntax-class-properties\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties\",\n },\n transform: {\n name: \"@babel/plugin-transform-private-methods\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-methods\",\n },\n },\n classStaticBlock: {\n syntax: {\n name: \"@babel/plugin-syntax-class-static-block\",\n url: \"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block\",\n },\n transform: {\n name: \"@babel/plugin-transform-class-static-block\",\n url: \"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-static-block\",\n },\n },\n dynamicImport: {\n syntax: {\n name: \"@babel/plugin-syntax-dynamic-import\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-dynamic-import\",\n },\n },\n exportNamespaceFrom: {\n syntax: {\n name: \"@babel/plugin-syntax-export-namespace-from\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from\",\n },\n transform: {\n name: \"@babel/plugin-transform-export-namespace-from\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-export-namespace-from\",\n },\n },\n // Will be removed\n importAssertions: {\n syntax: {\n name: \"@babel/plugin-syntax-import-assertions\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-assertions\",\n },\n },\n importAttributes: {\n syntax: {\n name: \"@babel/plugin-syntax-import-attributes\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes\",\n },\n },\n importMeta: {\n syntax: {\n name: \"@babel/plugin-syntax-import-meta\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta\",\n },\n },\n logicalAssignment: {\n syntax: {\n name: \"@babel/plugin-syntax-logical-assignment-operators\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators\",\n },\n transform: {\n name: \"@babel/plugin-transform-logical-assignment-operators\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-logical-assignment-operators\",\n },\n },\n moduleStringNames: {\n syntax: {\n name: \"@babel/plugin-syntax-module-string-names\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-module-string-names\",\n },\n },\n numericSeparator: {\n syntax: {\n name: \"@babel/plugin-syntax-numeric-separator\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator\",\n },\n transform: {\n name: \"@babel/plugin-transform-numeric-separator\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-numeric-separator\",\n },\n },\n nullishCoalescingOperator: {\n syntax: {\n name: \"@babel/plugin-syntax-nullish-coalescing-operator\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator\",\n },\n transform: {\n name: \"@babel/plugin-transform-nullish-coalescing-operator\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-nullish-coalescing-opearator\",\n },\n },\n objectRestSpread: {\n syntax: {\n name: \"@babel/plugin-syntax-object-rest-spread\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread\",\n },\n transform: {\n name: \"@babel/plugin-transform-object-rest-spread\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-object-rest-spread\",\n },\n },\n optionalCatchBinding: {\n syntax: {\n name: \"@babel/plugin-syntax-optional-catch-binding\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding\",\n },\n transform: {\n name: \"@babel/plugin-transform-optional-catch-binding\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-catch-binding\",\n },\n },\n optionalChaining: {\n syntax: {\n name: \"@babel/plugin-syntax-optional-chaining\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining\",\n },\n transform: {\n name: \"@babel/plugin-transform-optional-chaining\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-chaining\",\n },\n },\n privateIn: {\n syntax: {\n name: \"@babel/plugin-syntax-private-property-in-object\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-private-property-in-object\",\n },\n transform: {\n name: \"@babel/plugin-transform-private-property-in-object\",\n url: \"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-property-in-object\",\n },\n },\n regexpUnicodeSets: {\n syntax: {\n name: \"@babel/plugin-syntax-unicode-sets-regex\",\n url: \"https://github.com/babel/babel/blob/main/packages/babel-plugin-syntax-unicode-sets-regex/README.md\",\n },\n transform: {\n name: \"@babel/plugin-transform-unicode-sets-regex\",\n url: \"https://github.com/babel/babel/blob/main/packages/babel-plugin-proposalunicode-sets-regex/README.md\",\n },\n },\n });\n}\n\nconst getNameURLCombination = ({ name, url }: { name: string; url: string }) =>\n `${name} (${url})`;\n\n/*\nReturns a string of the format:\nSupport for the experimental syntax [@babel/parser plugin name] isn't currently enabled ([loc]):\n\n[code frame]\n\nAdd [npm package name] ([url]) to the 'plugins' section of your Babel config\nto enable [parsing|transformation].\n*/\nexport default function generateMissingPluginMessage(\n missingPluginName: string,\n loc: {\n line: number;\n column: number;\n },\n codeFrame: string,\n filename: string,\n): string {\n let helpMessage =\n `Support for the experimental syntax '${missingPluginName}' isn't currently enabled ` +\n `(${loc.line}:${loc.column + 1}):\\n\\n` +\n codeFrame;\n const pluginInfo = pluginNameMap[missingPluginName];\n if (pluginInfo) {\n const { syntax: syntaxPlugin, transform: transformPlugin } = pluginInfo;\n if (syntaxPlugin) {\n const syntaxPluginInfo = getNameURLCombination(syntaxPlugin);\n if (transformPlugin) {\n const transformPluginInfo = getNameURLCombination(transformPlugin);\n const sectionType = transformPlugin.name.startsWith(\"@babel/plugin\")\n ? \"plugins\"\n : \"presets\";\n helpMessage += `\\n\\nAdd ${transformPluginInfo} to the '${sectionType}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${syntaxPluginInfo} to the 'plugins' section to enable parsing.`;\n } else {\n helpMessage +=\n `\\n\\nAdd ${syntaxPluginInfo} to the 'plugins' section of your Babel config ` +\n `to enable parsing.`;\n }\n }\n }\n\n const msgFilename =\n filename === \"unknown\" ? \"\" : filename;\n helpMessage += `\n\nIf you already added the plugin for this syntax to your config, it's possible that your config \\\nisn't being loaded.\nYou can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded \\\nconfiguration:\n\\tnpx cross-env BABEL_SHOW_CONFIG_FOR=${msgFilename} \nSee https://babeljs.io/docs/configuration#print-effective-configs for more info.\n`;\n return helpMessage;\n}\n"],"mappings":";;;;;;AAAA,MAAMA,aAGL,GA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;EAChEC,WAAW,IAAI;AACjB;AACA;AACA;AACA;AACA;AACA,wCAAwCU,WAAW;AACnD;AACA,CAAC;EACC,OAAOV,WAAW;AACpB;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/tools/build-external-helpers.js b/lambdas/risk-engine/node_modules/@babel/core/lib/tools/build-external-helpers.js deleted file mode 100644 index 88c90dcc..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/tools/build-external-helpers.js +++ /dev/null @@ -1,144 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = _default; -function helpers() { - const data = require("@babel/helpers"); - helpers = function () { - return data; - }; - return data; -} -function _generator() { - const data = require("@babel/generator"); - _generator = function () { - return data; - }; - return data; -} -function _template() { - const data = require("@babel/template"); - _template = function () { - return data; - }; - return data; -} -function _t() { - const data = require("@babel/types"); - _t = function () { - return data; - }; - return data; -} -const { - arrayExpression, - assignmentExpression, - binaryExpression, - blockStatement, - callExpression, - cloneNode, - conditionalExpression, - exportNamedDeclaration, - exportSpecifier, - expressionStatement, - functionExpression, - identifier, - memberExpression, - objectExpression, - program, - stringLiteral, - unaryExpression, - variableDeclaration, - variableDeclarator -} = _t(); -const buildUmdWrapper = replacements => _template().default.statement` - (function (root, factory) { - if (typeof define === "function" && define.amd) { - define(AMD_ARGUMENTS, factory); - } else if (typeof exports === "object") { - factory(COMMON_ARGUMENTS); - } else { - factory(BROWSER_ARGUMENTS); - } - })(UMD_ROOT, function (FACTORY_PARAMETERS) { - FACTORY_BODY - }); - `(replacements); -function buildGlobal(allowlist) { - const namespace = identifier("babelHelpers"); - const body = []; - const container = functionExpression(null, [identifier("global")], blockStatement(body)); - const tree = program([expressionStatement(callExpression(container, [conditionalExpression(binaryExpression("===", unaryExpression("typeof", identifier("global")), stringLiteral("undefined")), identifier("self"), identifier("global"))]))]); - body.push(variableDeclaration("var", [variableDeclarator(namespace, assignmentExpression("=", memberExpression(identifier("global"), namespace), objectExpression([])))])); - buildHelpers(body, namespace, allowlist); - return tree; -} -function buildModule(allowlist) { - const body = []; - const refs = buildHelpers(body, null, allowlist); - body.unshift(exportNamedDeclaration(null, Object.keys(refs).map(name => { - return exportSpecifier(cloneNode(refs[name]), identifier(name)); - }))); - return program(body, [], "module"); -} -function buildUmd(allowlist) { - const namespace = identifier("babelHelpers"); - const body = []; - body.push(variableDeclaration("var", [variableDeclarator(namespace, identifier("global"))])); - buildHelpers(body, namespace, allowlist); - return program([buildUmdWrapper({ - FACTORY_PARAMETERS: identifier("global"), - BROWSER_ARGUMENTS: assignmentExpression("=", memberExpression(identifier("root"), namespace), objectExpression([])), - COMMON_ARGUMENTS: identifier("exports"), - AMD_ARGUMENTS: arrayExpression([stringLiteral("exports")]), - FACTORY_BODY: body, - UMD_ROOT: identifier("this") - })]); -} -function buildVar(allowlist) { - const namespace = identifier("babelHelpers"); - const body = []; - body.push(variableDeclaration("var", [variableDeclarator(namespace, objectExpression([]))])); - const tree = program(body); - buildHelpers(body, namespace, allowlist); - body.push(expressionStatement(namespace)); - return tree; -} -function buildHelpers(body, namespace, allowlist) { - const getHelperReference = name => { - return namespace ? memberExpression(namespace, identifier(name)) : identifier(`_${name}`); - }; - const refs = {}; - helpers().list.forEach(function (name) { - if (allowlist && !allowlist.includes(name)) return; - const ref = refs[name] = getHelperReference(name); - const { - nodes - } = helpers().get(name, getHelperReference, namespace ? null : `_${name}`, [], namespace ? (ast, exportName, mapExportBindingAssignments) => { - mapExportBindingAssignments(node => assignmentExpression("=", ref, node)); - ast.body.push(expressionStatement(assignmentExpression("=", ref, identifier(exportName)))); - } : null); - body.push(...nodes); - }); - return refs; -} -function _default(allowlist, outputType = "global") { - let tree; - const build = { - global: buildGlobal, - module: buildModule, - umd: buildUmd, - var: buildVar - }[outputType]; - if (build) { - tree = build(allowlist); - } else { - throw new Error(`Unsupported output type ${outputType}`); - } - return (0, _generator().default)(tree).code; -} -0 && 0; - -//# sourceMappingURL=build-external-helpers.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/tools/build-external-helpers.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/tools/build-external-helpers.js.map deleted file mode 100644 index f856480b..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/tools/build-external-helpers.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["helpers","data","require","_generator","_template","_t","arrayExpression","assignmentExpression","binaryExpression","blockStatement","callExpression","cloneNode","conditionalExpression","exportNamedDeclaration","exportSpecifier","expressionStatement","functionExpression","identifier","memberExpression","objectExpression","program","stringLiteral","unaryExpression","variableDeclaration","variableDeclarator","buildUmdWrapper","replacements","template","statement","buildGlobal","allowlist","namespace","body","container","tree","push","buildHelpers","buildModule","refs","unshift","Object","keys","map","name","buildUmd","FACTORY_PARAMETERS","BROWSER_ARGUMENTS","COMMON_ARGUMENTS","AMD_ARGUMENTS","FACTORY_BODY","UMD_ROOT","buildVar","getHelperReference","list","forEach","includes","ref","nodes","get","ast","exportName","mapExportBindingAssignments","node","_default","outputType","build","global","module","umd","var","Error","generator","code"],"sources":["../../src/tools/build-external-helpers.ts"],"sourcesContent":["import * as helpers from \"@babel/helpers\";\nimport generator from \"@babel/generator\";\nimport template from \"@babel/template\";\nimport {\n arrayExpression,\n assignmentExpression,\n binaryExpression,\n blockStatement,\n callExpression,\n cloneNode,\n conditionalExpression,\n exportNamedDeclaration,\n exportSpecifier,\n expressionStatement,\n functionExpression,\n identifier,\n memberExpression,\n objectExpression,\n program,\n stringLiteral,\n unaryExpression,\n variableDeclaration,\n variableDeclarator,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nimport type { Replacements } from \"@babel/template\";\n\n// Wrapped to avoid wasting time parsing this when almost no-one uses\n// build-external-helpers.\nconst buildUmdWrapper = (replacements: Replacements) =>\n template.statement`\n (function (root, factory) {\n if (typeof define === \"function\" && define.amd) {\n define(AMD_ARGUMENTS, factory);\n } else if (typeof exports === \"object\") {\n factory(COMMON_ARGUMENTS);\n } else {\n factory(BROWSER_ARGUMENTS);\n }\n })(UMD_ROOT, function (FACTORY_PARAMETERS) {\n FACTORY_BODY\n });\n `(replacements);\n\nfunction buildGlobal(allowlist?: string[]) {\n const namespace = identifier(\"babelHelpers\");\n\n const body: t.Statement[] = [];\n const container = functionExpression(\n null,\n [identifier(\"global\")],\n blockStatement(body),\n );\n const tree = program([\n expressionStatement(\n callExpression(container, [\n // typeof global === \"undefined\" ? self : global\n conditionalExpression(\n binaryExpression(\n \"===\",\n unaryExpression(\"typeof\", identifier(\"global\")),\n stringLiteral(\"undefined\"),\n ),\n identifier(\"self\"),\n identifier(\"global\"),\n ),\n ]),\n ),\n ]);\n\n body.push(\n variableDeclaration(\"var\", [\n variableDeclarator(\n namespace,\n assignmentExpression(\n \"=\",\n memberExpression(identifier(\"global\"), namespace),\n objectExpression([]),\n ),\n ),\n ]),\n );\n\n buildHelpers(body, namespace, allowlist);\n\n return tree;\n}\n\nfunction buildModule(allowlist?: string[]) {\n const body: t.Statement[] = [];\n const refs = buildHelpers(body, null, allowlist);\n\n body.unshift(\n exportNamedDeclaration(\n null,\n Object.keys(refs).map(name => {\n return exportSpecifier(cloneNode(refs[name]), identifier(name));\n }),\n ),\n );\n\n return program(body, [], \"module\");\n}\n\nfunction buildUmd(allowlist?: string[]) {\n const namespace = identifier(\"babelHelpers\");\n\n const body: t.Statement[] = [];\n body.push(\n variableDeclaration(\"var\", [\n variableDeclarator(namespace, identifier(\"global\")),\n ]),\n );\n\n buildHelpers(body, namespace, allowlist);\n\n return program([\n buildUmdWrapper({\n FACTORY_PARAMETERS: identifier(\"global\"),\n BROWSER_ARGUMENTS: assignmentExpression(\n \"=\",\n memberExpression(identifier(\"root\"), namespace),\n objectExpression([]),\n ),\n COMMON_ARGUMENTS: identifier(\"exports\"),\n AMD_ARGUMENTS: arrayExpression([stringLiteral(\"exports\")]),\n FACTORY_BODY: body,\n UMD_ROOT: identifier(\"this\"),\n }),\n ]);\n}\n\nfunction buildVar(allowlist?: string[]) {\n const namespace = identifier(\"babelHelpers\");\n\n const body: t.Statement[] = [];\n body.push(\n variableDeclaration(\"var\", [\n variableDeclarator(namespace, objectExpression([])),\n ]),\n );\n const tree = program(body);\n buildHelpers(body, namespace, allowlist);\n body.push(expressionStatement(namespace));\n return tree;\n}\n\nfunction buildHelpers(\n body: t.Statement[],\n namespace: t.Expression,\n allowlist?: string[],\n): Record;\nfunction buildHelpers(\n body: t.Statement[],\n namespace: null,\n allowlist?: string[],\n): Record;\n\nfunction buildHelpers(\n body: t.Statement[],\n namespace: t.Expression | null,\n allowlist?: string[],\n) {\n const getHelperReference = (name: string) => {\n return namespace\n ? memberExpression(namespace, identifier(name))\n : identifier(`_${name}`);\n };\n\n const refs: Record = {};\n helpers.list.forEach(function (name) {\n if (allowlist && !allowlist.includes(name)) return;\n\n const ref = (refs[name] = getHelperReference(name));\n\n const { nodes } = helpers.get(\n name,\n getHelperReference,\n namespace ? null : `_${name}`,\n [],\n namespace\n ? (ast, exportName, mapExportBindingAssignments) => {\n mapExportBindingAssignments(node =>\n assignmentExpression(\"=\", ref, node),\n );\n ast.body.push(\n expressionStatement(\n assignmentExpression(\"=\", ref, identifier(exportName)),\n ),\n );\n }\n : null,\n );\n\n body.push(...nodes);\n });\n return refs;\n}\nexport default function (\n allowlist?: string[],\n outputType: \"global\" | \"module\" | \"umd\" | \"var\" = \"global\",\n) {\n let tree: t.Program;\n\n const build = {\n global: buildGlobal,\n module: buildModule,\n umd: buildUmd,\n var: buildVar,\n }[outputType];\n\n if (build) {\n tree = build(allowlist);\n } else {\n throw new Error(`Unsupported output type ${outputType}`);\n }\n\n return generator(tree).code;\n}\n"],"mappings":";;;;;;AAAA,SAAAA,QAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,OAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,WAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA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AK,CAAC,2BAA2BN,UAAU,EAAE,CAAC;EAC1D;EAEA,OAAO,IAAAO,oBAAS,EAACrC,IAAI,CAAC,CAACsC,IAAI;AAC7B;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transform-ast.js b/lambdas/risk-engine/node_modules/@babel/core/lib/transform-ast.js deleted file mode 100644 index f54b9c9c..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transform-ast.js +++ /dev/null @@ -1,48 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.transformFromAst = void 0; -exports.transformFromAstAsync = transformFromAstAsync; -exports.transformFromAstSync = transformFromAstSync; -function _gensync() { - const data = require("gensync"); - _gensync = function () { - return data; - }; - return data; -} -var _index = require("./config/index.js"); -var _index2 = require("./transformation/index.js"); -var _rewriteStackTrace = require("./errors/rewrite-stack-trace.js"); -const transformFromAstRunner = _gensync()(function* (ast, code, opts) { - const config = yield* (0, _index.default)(opts); - if (config === null) return null; - if (!ast) throw new Error("No AST given"); - return yield* (0, _index2.run)(config, code, ast); -}); -const transformFromAst = exports.transformFromAst = function transformFromAst(ast, code, optsOrCallback, maybeCallback) { - let opts; - let callback; - if (typeof optsOrCallback === "function") { - callback = optsOrCallback; - opts = undefined; - } else { - opts = optsOrCallback; - callback = maybeCallback; - } - if (callback === undefined) { - return (0, _rewriteStackTrace.beginHiddenCallStack)(transformFromAstRunner.sync)(ast, code, opts); - } - (0, _rewriteStackTrace.beginHiddenCallStack)(transformFromAstRunner.errback)(ast, code, opts, callback); -}; -function transformFromAstSync(...args) { - return (0, _rewriteStackTrace.beginHiddenCallStack)(transformFromAstRunner.sync)(...args); -} -function transformFromAstAsync(...args) { - return (0, _rewriteStackTrace.beginHiddenCallStack)(transformFromAstRunner.async)(...args); -} -0 && 0; - -//# sourceMappingURL=transform-ast.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transform-ast.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/transform-ast.js.map deleted file mode 100644 index e83787e2..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transform-ast.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_gensync","data","require","_index","_index2","_rewriteStackTrace","transformFromAstRunner","gensync","ast","code","opts","config","loadConfig","Error","run","transformFromAst","exports","optsOrCallback","maybeCallback","callback","undefined","beginHiddenCallStack","sync","errback","transformFromAstSync","args","transformFromAstAsync","async"],"sources":["../src/transform-ast.ts"],"sourcesContent":["import gensync, { type Handler } from \"gensync\";\n\nimport loadConfig from \"./config/index.ts\";\nimport type { InputOptions, ResolvedConfig } from \"./config/index.ts\";\nimport { run } from \"./transformation/index.ts\";\nimport type * as t from \"@babel/types\";\n\nimport { beginHiddenCallStack } from \"./errors/rewrite-stack-trace.ts\";\n\nimport type { FileResult, FileResultCallback } from \"./transformation/index.ts\";\ntype AstRoot = t.File | t.Program;\n\ntype TransformFromAst = {\n (ast: AstRoot, code: string, callback: FileResultCallback): void;\n (\n ast: AstRoot,\n code: string,\n opts: InputOptions | undefined | null,\n callback: FileResultCallback,\n ): void;\n (ast: AstRoot, code: string, opts?: InputOptions | null): FileResult | null;\n};\n\nconst transformFromAstRunner = gensync(function* (\n ast: AstRoot,\n code: string,\n opts: InputOptions | undefined | null,\n): Handler {\n const config: ResolvedConfig | null = yield* loadConfig(opts);\n if (config === null) return null;\n\n if (!ast) throw new Error(\"No AST given\");\n\n return yield* run(config, code, ast);\n});\n\nexport const transformFromAst: TransformFromAst = function transformFromAst(\n ast,\n code,\n optsOrCallback?: InputOptions | null | undefined | FileResultCallback,\n maybeCallback?: FileResultCallback,\n) {\n let opts: InputOptions | undefined | null;\n let callback: FileResultCallback | undefined;\n if (typeof optsOrCallback === \"function\") {\n callback = optsOrCallback;\n opts = undefined;\n } else {\n opts = optsOrCallback;\n callback = maybeCallback;\n }\n\n if (callback === undefined) {\n if (process.env.BABEL_8_BREAKING) {\n throw new Error(\n \"Starting from Babel 8.0.0, the 'transformFromAst' function expects a callback. If you need to call it synchronously, please use 'transformFromAstSync'.\",\n );\n } else {\n // console.warn(\n // \"Starting from Babel 8.0.0, the 'transformFromAst' function will expect a callback. If you need to call it synchronously, please use 'transformFromAstSync'.\",\n // );\n return beginHiddenCallStack(transformFromAstRunner.sync)(ast, code, opts);\n }\n }\n\n beginHiddenCallStack(transformFromAstRunner.errback)(\n ast,\n code,\n opts,\n callback,\n );\n};\n\nexport function transformFromAstSync(\n ...args: Parameters\n) {\n return beginHiddenCallStack(transformFromAstRunner.sync)(...args);\n}\n\nexport function transformFromAstAsync(\n ...args: Parameters\n) {\n return beginHiddenCallStack(transformFromAstRunner.async)(...args);\n}\n"],"mappings":";;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAE,MAAA,GAAAD,OAAA;AAEA,IAAAE,OAAA,GAAAF,OAAA;AAGA,IAAAG,kBAAA,GAAAH,OAAA;AAgBA,MAAMI,sBAAsB,GAAGC,SAAMA,CAAC,CAAC,WACrCC,GAAY,EACZC,IAAY,EACZC,IAAqC,EACT;EAC5B,MAAMC,MAA6B,GAAG,OAAO,IAAAC,cAAU,EAACF,IAAI,CAAC;EAC7D,IAAIC,MAAM,KAAK,IAAI,EAAE,OAAO,IAAI;EAEhC,IAAI,CAACH,GAAG,EAAE,MAAM,IAAIK,KAAK,CAAC,cAAc,CAAC;EAEzC,OAAO,OAAO,IAAAC,WAAG,EAACH,MAAM,EAAEF,IAAI,EAAED,GAAG,CAAC;AACtC,CAAC,CAAC;AAEK,MAAMO,gBAAkC,GAAAC,OAAA,CAAAD,gBAAA,GAAG,SAASA,gBAAgBA,CACzEP,GAAG,EACHC,IAAI,EACJQ,cAAqE,EACrEC,aAAkC,EAClC;EACA,IAAIR,IAAqC;EACzC,IAAIS,QAAwC;EAC5C,IAAI,OAAOF,cAAc,KAAK,UAAU,EAAE;IACxCE,QAAQ,GAAGF,cAAc;IACzBP,IAAI,GAAGU,SAAS;EAClB,CAAC,MAAM;IACLV,IAAI,GAAGO,cAAc;IACrBE,QAAQ,GAAGD,aAAa;EAC1B;EAEA,IAAIC,QAAQ,KAAKC,SAAS,EAAE;IASxB,OAAO,IAAAC,uCAAoB,EAACf,sBAAsB,CAACgB,IAAI,CAAC,CAACd,GAAG,EAAEC,IAAI,EAAEC,IAAI,CAAC;EAE7E;EAEA,IAAAW,uCAAoB,EAACf,sBAAsB,CAACiB,OAAO,CAAC,CAClDf,GAAG,EACHC,IAAI,EACJC,IAAI,EACJS,QACF,CAAC;AACH,CAAC;AAEM,SAASK,oBAAoBA,CAClC,GAAGC,IAAoD,EACvD;EACA,OAAO,IAAAJ,uCAAoB,EAACf,sBAAsB,CAACgB,IAAI,CAAC,CAAC,GAAGG,IAAI,CAAC;AACnE;AAEO,SAASC,qBAAqBA,CACnC,GAAGD,IAAqD,EACxD;EACA,OAAO,IAAAJ,uCAAoB,EAACf,sBAAsB,CAACqB,KAAK,CAAC,CAAC,GAAGF,IAAI,CAAC;AACpE;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transform-file-browser.js b/lambdas/risk-engine/node_modules/@babel/core/lib/transform-file-browser.js deleted file mode 100644 index 85768097..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transform-file-browser.js +++ /dev/null @@ -1,23 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.transformFile = void 0; -exports.transformFileAsync = transformFileAsync; -exports.transformFileSync = transformFileSync; -const transformFile = exports.transformFile = function transformFile(filename, opts, callback) { - if (typeof opts === "function") { - callback = opts; - } - callback(new Error("Transforming files is not supported in browsers"), null); -}; -function transformFileSync() { - throw new Error("Transforming files is not supported in browsers"); -} -function transformFileAsync() { - return Promise.reject(new Error("Transforming files is not supported in browsers")); -} -0 && 0; - -//# sourceMappingURL=transform-file-browser.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transform-file-browser.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/transform-file-browser.js.map deleted file mode 100644 index b632a42f..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transform-file-browser.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["transformFile","exports","filename","opts","callback","Error","transformFileSync","transformFileAsync","Promise","reject"],"sources":["../src/transform-file-browser.ts"],"sourcesContent":["/* c8 ignore start */\n\n// duplicated from transform-file so we do not have to import anything here\ntype TransformFile = {\n (filename: string, callback: (error: Error, file: null) => void): void;\n (\n filename: string,\n opts: any,\n callback: (error: Error, file: null) => void,\n ): void;\n};\n\nexport const transformFile: TransformFile = function transformFile(\n filename,\n opts,\n callback?: (error: Error, file: null) => void,\n) {\n if (typeof opts === \"function\") {\n callback = opts;\n }\n\n callback(new Error(\"Transforming files is not supported in browsers\"), null);\n};\n\nexport function transformFileSync(): never {\n throw new Error(\"Transforming files is not supported in browsers\");\n}\n\nexport function transformFileAsync() {\n return Promise.reject(\n new Error(\"Transforming files is not supported in browsers\"),\n );\n}\n"],"mappings":";;;;;;;;AAYO,MAAMA,aAA4B,GAAAC,OAAA,CAAAD,aAAA,GAAG,SAASA,aAAaA,CAChEE,QAAQ,EACRC,IAAI,EACJC,QAA6C,EAC7C;EACA,IAAI,OAAOD,IAAI,KAAK,UAAU,EAAE;IAC9BC,QAAQ,GAAGD,IAAI;EACjB;EAEAC,QAAQ,CAAC,IAAIC,KAAK,CAAC,iDAAiD,CAAC,EAAE,IAAI,CAAC;AAC9E,CAAC;AAEM,SAASC,iBAAiBA,CAAA,EAAU;EACzC,MAAM,IAAID,KAAK,CAAC,iDAAiD,CAAC;AACpE;AAEO,SAASE,kBAAkBA,CAAA,EAAG;EACnC,OAAOC,OAAO,CAACC,MAAM,CACnB,IAAIJ,KAAK,CAAC,iDAAiD,CAC7D,CAAC;AACH;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transform-file.js b/lambdas/risk-engine/node_modules/@babel/core/lib/transform-file.js deleted file mode 100644 index ce7f9f97..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transform-file.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.transformFile = transformFile; -exports.transformFileAsync = transformFileAsync; -exports.transformFileSync = transformFileSync; -function _gensync() { - const data = require("gensync"); - _gensync = function () { - return data; - }; - return data; -} -var _index = require("./config/index.js"); -var _index2 = require("./transformation/index.js"); -var fs = require("./gensync-utils/fs.js"); -({}); -const transformFileRunner = _gensync()(function* (filename, opts) { - const options = Object.assign({}, opts, { - filename - }); - const config = yield* (0, _index.default)(options); - if (config === null) return null; - const code = yield* fs.readFile(filename, "utf8"); - return yield* (0, _index2.run)(config, code); -}); -function transformFile(...args) { - transformFileRunner.errback(...args); -} -function transformFileSync(...args) { - return transformFileRunner.sync(...args); -} -function transformFileAsync(...args) { - return transformFileRunner.async(...args); -} -0 && 0; - -//# sourceMappingURL=transform-file.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transform-file.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/transform-file.js.map deleted file mode 100644 index 36a85b18..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transform-file.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_gensync","data","require","_index","_index2","fs","transformFileRunner","gensync","filename","opts","options","Object","assign","config","loadConfig","code","readFile","run","transformFile","args","errback","transformFileSync","sync","transformFileAsync","async"],"sources":["../src/transform-file.ts"],"sourcesContent":["import gensync, { type Handler } from \"gensync\";\n\nimport loadConfig from \"./config/index.ts\";\nimport type { InputOptions, ResolvedConfig } from \"./config/index.ts\";\nimport { run } from \"./transformation/index.ts\";\nimport type { FileResult, FileResultCallback } from \"./transformation/index.ts\";\nimport * as fs from \"./gensync-utils/fs.ts\";\n\ntype transformFileBrowserType = typeof import(\"./transform-file-browser\");\ntype transformFileType = typeof import(\"./transform-file\");\n\n// Kind of gross, but essentially asserting that the exports of this module are the same as the\n// exports of transform-file-browser, since this file may be replaced at bundle time with\n// transform-file-browser.\n// eslint-disable-next-line @typescript-eslint/no-unused-expressions\n({}) as any as transformFileBrowserType as transformFileType;\n\nconst transformFileRunner = gensync(function* (\n filename: string,\n opts?: InputOptions,\n): Handler {\n const options = { ...opts, filename };\n\n const config: ResolvedConfig | null = yield* loadConfig(options);\n if (config === null) return null;\n\n const code = yield* fs.readFile(filename, \"utf8\");\n return yield* run(config, code);\n});\n\n// @ts-expect-error TS doesn't detect that this signature is compatible\nexport function transformFile(\n filename: string,\n callback: FileResultCallback,\n): void;\nexport function transformFile(\n filename: string,\n opts: InputOptions | undefined | null,\n callback: FileResultCallback,\n): void;\nexport function transformFile(\n ...args: Parameters\n) {\n transformFileRunner.errback(...args);\n}\n\nexport function transformFileSync(\n ...args: Parameters\n) {\n return transformFileRunner.sync(...args);\n}\nexport function transformFileAsync(\n ...args: Parameters\n) {\n return transformFileRunner.async(...args);\n}\n"],"mappings":";;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAE,MAAA,GAAAD,OAAA;AAEA,IAAAE,OAAA,GAAAF,OAAA;AAEA,IAAAG,EAAA,GAAAH,OAAA;AASA,CAAC,CAAC,CAAC;AAEH,MAAMI,mBAAmB,GAAGC,SAAMA,CAAC,CAAC,WAClCC,QAAgB,EAChBC,IAAmB,EACS;EAC5B,MAAMC,OAAO,GAAAC,MAAA,CAAAC,MAAA,KAAQH,IAAI;IAAED;EAAQ,EAAE;EAErC,MAAMK,MAA6B,GAAG,OAAO,IAAAC,cAAU,EAACJ,OAAO,CAAC;EAChE,IAAIG,MAAM,KAAK,IAAI,EAAE,OAAO,IAAI;EAEhC,MAAME,IAAI,GAAG,OAAOV,EAAE,CAACW,QAAQ,CAACR,QAAQ,EAAE,MAAM,CAAC;EACjD,OAAO,OAAO,IAAAS,WAAG,EAACJ,MAAM,EAAEE,IAAI,CAAC;AACjC,CAAC,CAAC;AAYK,SAASG,aAAaA,CAC3B,GAAGC,IAAoD,EACvD;EACAb,mBAAmB,CAACc,OAAO,CAAC,GAAGD,IAAI,CAAC;AACtC;AAEO,SAASE,iBAAiBA,CAC/B,GAAGF,IAAiD,EACpD;EACA,OAAOb,mBAAmB,CAACgB,IAAI,CAAC,GAAGH,IAAI,CAAC;AAC1C;AACO,SAASI,kBAAkBA,CAChC,GAAGJ,IAAkD,EACrD;EACA,OAAOb,mBAAmB,CAACkB,KAAK,CAAC,GAAGL,IAAI,CAAC;AAC3C;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transform.js b/lambdas/risk-engine/node_modules/@babel/core/lib/transform.js deleted file mode 100644 index 3b496dbb..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transform.js +++ /dev/null @@ -1,47 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.transform = void 0; -exports.transformAsync = transformAsync; -exports.transformSync = transformSync; -function _gensync() { - const data = require("gensync"); - _gensync = function () { - return data; - }; - return data; -} -var _index = require("./config/index.js"); -var _index2 = require("./transformation/index.js"); -var _rewriteStackTrace = require("./errors/rewrite-stack-trace.js"); -const transformRunner = _gensync()(function* transform(code, opts) { - const config = yield* (0, _index.default)(opts); - if (config === null) return null; - return yield* (0, _index2.run)(config, code); -}); -const transform = exports.transform = function transform(code, optsOrCallback, maybeCallback) { - let opts; - let callback; - if (typeof optsOrCallback === "function") { - callback = optsOrCallback; - opts = undefined; - } else { - opts = optsOrCallback; - callback = maybeCallback; - } - if (callback === undefined) { - return (0, _rewriteStackTrace.beginHiddenCallStack)(transformRunner.sync)(code, opts); - } - (0, _rewriteStackTrace.beginHiddenCallStack)(transformRunner.errback)(code, opts, callback); -}; -function transformSync(...args) { - return (0, _rewriteStackTrace.beginHiddenCallStack)(transformRunner.sync)(...args); -} -function transformAsync(...args) { - return (0, _rewriteStackTrace.beginHiddenCallStack)(transformRunner.async)(...args); -} -0 && 0; - -//# sourceMappingURL=transform.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transform.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/transform.js.map deleted file mode 100644 index 6f3e9f0a..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transform.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_gensync","data","require","_index","_index2","_rewriteStackTrace","transformRunner","gensync","transform","code","opts","config","loadConfig","run","exports","optsOrCallback","maybeCallback","callback","undefined","beginHiddenCallStack","sync","errback","transformSync","args","transformAsync","async"],"sources":["../src/transform.ts"],"sourcesContent":["import gensync, { type Handler } from \"gensync\";\n\nimport loadConfig from \"./config/index.ts\";\nimport type { InputOptions, ResolvedConfig } from \"./config/index.ts\";\nimport { run } from \"./transformation/index.ts\";\n\nimport type { FileResult, FileResultCallback } from \"./transformation/index.ts\";\nimport { beginHiddenCallStack } from \"./errors/rewrite-stack-trace.ts\";\n\nexport type { FileResult } from \"./transformation/index.ts\";\n\ntype Transform = {\n (code: string, callback: FileResultCallback): void;\n (\n code: string,\n opts: InputOptions | undefined | null,\n callback: FileResultCallback,\n ): void;\n (code: string, opts?: InputOptions | null): FileResult | null;\n};\n\nconst transformRunner = gensync(function* transform(\n code: string,\n opts?: InputOptions,\n): Handler {\n const config: ResolvedConfig | null = yield* loadConfig(opts);\n if (config === null) return null;\n\n return yield* run(config, code);\n});\n\nexport const transform: Transform = function transform(\n code,\n optsOrCallback?: InputOptions | null | undefined | FileResultCallback,\n maybeCallback?: FileResultCallback,\n) {\n let opts: InputOptions | undefined | null;\n let callback: FileResultCallback | undefined;\n if (typeof optsOrCallback === \"function\") {\n callback = optsOrCallback;\n opts = undefined;\n } else {\n opts = optsOrCallback;\n callback = maybeCallback;\n }\n\n if (callback === undefined) {\n if (process.env.BABEL_8_BREAKING) {\n throw new Error(\n \"Starting from Babel 8.0.0, the 'transform' function expects a callback. If you need to call it synchronously, please use 'transformSync'.\",\n );\n } else {\n // console.warn(\n // \"Starting from Babel 8.0.0, the 'transform' function will expect a callback. If you need to call it synchronously, please use 'transformSync'.\",\n // );\n return beginHiddenCallStack(transformRunner.sync)(code, opts);\n }\n }\n\n beginHiddenCallStack(transformRunner.errback)(code, opts, callback);\n};\n\nexport function transformSync(\n ...args: Parameters\n) {\n return beginHiddenCallStack(transformRunner.sync)(...args);\n}\nexport function transformAsync(\n ...args: Parameters\n) {\n return beginHiddenCallStack(transformRunner.async)(...args);\n}\n"],"mappings":";;;;;;;;AAAA,SAAAA,SAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,QAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,IAAAE,MAAA,GAAAD,OAAA;AAEA,IAAAE,OAAA,GAAAF,OAAA;AAGA,IAAAG,kBAAA,GAAAH,OAAA;AAcA,MAAMI,eAAe,GAAGC,SAAMA,CAAC,CAAC,UAAUC,SAASA,CACjDC,IAAY,EACZC,IAAmB,EACS;EAC5B,MAAMC,MAA6B,GAAG,OAAO,IAAAC,cAAU,EAACF,IAAI,CAAC;EAC7D,IAAIC,MAAM,KAAK,IAAI,EAAE,OAAO,IAAI;EAEhC,OAAO,OAAO,IAAAE,WAAG,EAACF,MAAM,EAAEF,IAAI,CAAC;AACjC,CAAC,CAAC;AAEK,MAAMD,SAAoB,GAAAM,OAAA,CAAAN,SAAA,GAAG,SAASA,SAASA,CACpDC,IAAI,EACJM,cAAqE,EACrEC,aAAkC,EAClC;EACA,IAAIN,IAAqC;EACzC,IAAIO,QAAwC;EAC5C,IAAI,OAAOF,cAAc,KAAK,UAAU,EAAE;IACxCE,QAAQ,GAAGF,cAAc;IACzBL,IAAI,GAAGQ,SAAS;EAClB,CAAC,MAAM;IACLR,IAAI,GAAGK,cAAc;IACrBE,QAAQ,GAAGD,aAAa;EAC1B;EAEA,IAAIC,QAAQ,KAAKC,SAAS,EAAE;IASxB,OAAO,IAAAC,uCAAoB,EAACb,eAAe,CAACc,IAAI,CAAC,CAACX,IAAI,EAAEC,IAAI,CAAC;EAEjE;EAEA,IAAAS,uCAAoB,EAACb,eAAe,CAACe,OAAO,CAAC,CAACZ,IAAI,EAAEC,IAAI,EAAEO,QAAQ,CAAC;AACrE,CAAC;AAEM,SAASK,aAAaA,CAC3B,GAAGC,IAA6C,EAChD;EACA,OAAO,IAAAJ,uCAAoB,EAACb,eAAe,CAACc,IAAI,CAAC,CAAC,GAAGG,IAAI,CAAC;AAC5D;AACO,SAASC,cAAcA,CAC5B,GAAGD,IAA8C,EACjD;EACA,OAAO,IAAAJ,uCAAoB,EAACb,eAAe,CAACmB,KAAK,CAAC,CAAC,GAAGF,IAAI,CAAC;AAC7D;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js deleted file mode 100644 index ec22ee3b..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js +++ /dev/null @@ -1,84 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = loadBlockHoistPlugin; -function _traverse() { - const data = require("@babel/traverse"); - _traverse = function () { - return data; - }; - return data; -} -var _plugin = require("../config/plugin.js"); -let LOADED_PLUGIN; -const blockHoistPlugin = { - name: "internal.blockHoist", - visitor: { - Block: { - exit({ - node - }) { - node.body = performHoisting(node.body); - } - }, - SwitchCase: { - exit({ - node - }) { - node.consequent = performHoisting(node.consequent); - } - } - } -}; -function performHoisting(body) { - let max = Math.pow(2, 30) - 1; - let hasChange = false; - for (let i = 0; i < body.length; i++) { - const n = body[i]; - const p = priority(n); - if (p > max) { - hasChange = true; - break; - } - max = p; - } - if (!hasChange) return body; - return stableSort(body.slice()); -} -function loadBlockHoistPlugin() { - if (!LOADED_PLUGIN) { - LOADED_PLUGIN = new _plugin.default(Object.assign({}, blockHoistPlugin, { - visitor: _traverse().default.explode(blockHoistPlugin.visitor) - }), {}); - } - return LOADED_PLUGIN; -} -function priority(bodyNode) { - const priority = bodyNode == null ? void 0 : bodyNode._blockHoist; - if (priority == null) return 1; - if (priority === true) return 2; - return priority; -} -function stableSort(body) { - const buckets = Object.create(null); - for (let i = 0; i < body.length; i++) { - const n = body[i]; - const p = priority(n); - const bucket = buckets[p] || (buckets[p] = []); - bucket.push(n); - } - const keys = Object.keys(buckets).map(k => +k).sort((a, b) => b - a); - let index = 0; - for (const key of keys) { - const bucket = buckets[key]; - for (const n of bucket) { - body[index++] = n; - } - } - return body; -} -0 && 0; - -//# sourceMappingURL=block-hoist-plugin.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js.map deleted file mode 100644 index 028e36a6..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_traverse","data","require","_plugin","LOADED_PLUGIN","blockHoistPlugin","name","visitor","Block","exit","node","body","performHoisting","SwitchCase","consequent","max","Math","pow","hasChange","i","length","n","p","priority","stableSort","slice","loadBlockHoistPlugin","Plugin","Object","assign","traverse","explode","bodyNode","_blockHoist","buckets","create","bucket","push","keys","map","k","sort","a","b","index","key"],"sources":["../../src/transformation/block-hoist-plugin.ts"],"sourcesContent":["import traverse from \"@babel/traverse\";\nimport type { Statement } from \"@babel/types\";\nimport type { PluginObject } from \"../config/index.ts\";\nimport Plugin from \"../config/plugin.ts\";\n\nlet LOADED_PLUGIN: Plugin | void;\n\nconst blockHoistPlugin: PluginObject = {\n /**\n * [Please add a description.]\n *\n * Priority:\n *\n * - 0 We want this to be at the **very** bottom\n * - 1 Default node position\n * - 2 Priority over normal nodes\n * - 3 We want this to be at the **very** top\n * - 4 Reserved for the helpers used to implement module imports.\n */\n\n name: \"internal.blockHoist\",\n\n visitor: {\n Block: {\n exit({ node }) {\n node.body = performHoisting(node.body);\n },\n },\n SwitchCase: {\n exit({ node }) {\n // In case statements, hoisting is difficult to perform correctly due to\n // functions that are declared and referenced in different blocks.\n // Nevertheless, hoisting the statements *inside* of each case should at\n // least mitigate the failure cases.\n node.consequent = performHoisting(node.consequent);\n },\n },\n },\n};\n\nfunction performHoisting(body: Statement[]): Statement[] {\n // Largest SMI\n let max = 2 ** 30 - 1;\n let hasChange = false;\n for (let i = 0; i < body.length; i++) {\n const n = body[i];\n const p = priority(n);\n if (p > max) {\n hasChange = true;\n break;\n }\n max = p;\n }\n if (!hasChange) return body;\n\n // My kingdom for a stable sort!\n return stableSort(body.slice());\n}\n\nexport default function loadBlockHoistPlugin(): Plugin {\n if (!LOADED_PLUGIN) {\n // cache the loaded blockHoist plugin plugin\n LOADED_PLUGIN = new Plugin(\n {\n ...blockHoistPlugin,\n visitor: traverse.explode(blockHoistPlugin.visitor),\n },\n {},\n );\n }\n\n return LOADED_PLUGIN;\n}\n\nfunction priority(bodyNode: Statement & { _blockHoist?: number | true }) {\n const priority = bodyNode?._blockHoist;\n if (priority == null) return 1;\n if (priority === true) return 2;\n return priority;\n}\n\nfunction stableSort(body: Statement[]) {\n // By default, we use priorities of 0-4.\n const buckets = Object.create(null);\n\n // By collecting into buckets, we can guarantee a stable sort.\n for (let i = 0; i < body.length; i++) {\n const n = body[i];\n const p = priority(n);\n\n // In case some plugin is setting an unexpected priority.\n const bucket = buckets[p] || (buckets[p] = []);\n bucket.push(n);\n }\n\n // Sort our keys in descending order. Keys are unique, so we don't have to\n // worry about stability.\n const keys = Object.keys(buckets)\n .map(k => +k)\n .sort((a, b) => b - a);\n\n let index = 0;\n for (const key of keys) {\n const bucket = buckets[key];\n for (const n of bucket) {\n body[index++] = n;\n }\n }\n return body;\n}\n"],"mappings":";;;;;;AAAA,SAAAA,UAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,SAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAGA,IAAAE,OAAA,GAAAD,OAAA;AAEA,IAAIE,aAA4B;AAEhC,MAAMC,gBAA8B,GAAG;EAarCC,IAAI,EAAE,qBAAqB;EAE3BC,OAAO,EAAE;IACPC,KAAK,EAAE;MACLC,IAAIA,CAAC;QAAEC;MAAK,CAAC,EAAE;QACbA,IAAI,CAACC,IAAI,GAAGC,eAAe,CAACF,IAAI,CAACC,IAAI,CAAC;MACxC;IACF,CAAC;IACDE,UAAU,EAAE;MACVJ,IAAIA,CAAC;QAAEC;MAAK,CAAC,EAAE;QAKbA,IAAI,CAACI,UAAU,GAAGF,eAAe,CAACF,IAAI,CAACI,UAAU,CAAC;MACpD;IACF;EACF;AACF,CAAC;AAED,SAASF,eAAeA,CAACD,IAAiB,EAAe;EAEvD,IAAII,GAAG,GAAGC,IAAA,CAAAC,GAAA,EAAC,EAAI,EAAE,IAAG,CAAC;EACrB,IAAIC,SAAS,GAAG,KAAK;EACrB,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGR,IAAI,CAACS,MAAM,EAAED,CAAC,EAAE,EAAE;IACpC,MAAME,CAAC,GAAGV,IAAI,CAACQ,CAAC,CAAC;IACjB,MAAMG,CAAC,GAAGC,QAAQ,CAACF,CAAC,CAAC;IACrB,IAAIC,CAAC,GAAGP,GAAG,EAAE;MACXG,SAAS,GAAG,IAAI;MAChB;IACF;IACAH,GAAG,GAAGO,CAAC;EACT;EACA,IAAI,CAACJ,SAAS,EAAE,OAAOP,IAAI;EAG3B,OAAOa,UAAU,CAACb,IAAI,CAACc,KAAK,CAAC,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,IAAIP,IAAI,EAAE;IACtB,MAAMF,MAAM,GAAGF,OAAO,CAACW,GAAG,CAAC;IAC3B,KAAK,MAAMxB,CAAC,IAAIe,MAAM,EAAE;MACtBzB,IAAI,CAACiC,KAAK,EAAE,CAAC,GAAGvB,CAAC;IACnB;EACF;EACA,OAAOV,IAAI;AACb;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs deleted file mode 100644 index a532ff12..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs +++ /dev/null @@ -1,4 +0,0 @@ -exports.getModuleName = () => require("@babel/helper-module-transforms").getModuleName; -0 && 0; - -//# sourceMappingURL=babel-7-helpers.cjs.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs.map b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs.map deleted file mode 100644 index 241ae7e2..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["exports","getModuleName","require"],"sources":["../../../src/transformation/file/babel-7-helpers.cjs"],"sourcesContent":["// TODO(Babel 8): Remove this file\n\nif (!process.env.BABEL_8_BREAKING) {\n exports.getModuleName = () =>\n require(\"@babel/helper-module-transforms\").getModuleName;\n} else if (process.env.IS_PUBLISH) {\n throw new Error(\n \"Internal Babel error: This file should only be loaded in Babel 7\",\n );\n}\n"],"mappings":"AAGEA,OAAO,CAACC,aAAa,GAAG,MACtBC,OAAO,CAAC,iCAAiC,CAAC,CAACD,aAAa;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/file.js b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/file.js deleted file mode 100644 index a17be42d..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/file.js +++ /dev/null @@ -1,204 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -function helpers() { - const data = require("@babel/helpers"); - helpers = function () { - return data; - }; - return data; -} -function _traverse() { - const data = require("@babel/traverse"); - _traverse = function () { - return data; - }; - return data; -} -function _codeFrame() { - const data = require("@babel/code-frame"); - _codeFrame = function () { - return data; - }; - return data; -} -function _t() { - const data = require("@babel/types"); - _t = function () { - return data; - }; - return data; -} -function _semver() { - const data = require("semver"); - _semver = function () { - return data; - }; - return data; -} -var _babel7Helpers = require("./babel-7-helpers.cjs"); -const { - cloneNode, - interpreterDirective, - traverseFast -} = _t(); -class File { - constructor(options, { - code, - ast, - inputMap - }) { - this._map = new Map(); - this.opts = void 0; - this.declarations = {}; - this.path = void 0; - this.ast = void 0; - this.scope = void 0; - this.metadata = {}; - this.code = ""; - this.inputMap = void 0; - this.hub = { - file: this, - getCode: () => this.code, - getScope: () => this.scope, - addHelper: this.addHelper.bind(this), - buildError: this.buildCodeFrameError.bind(this) - }; - this.opts = options; - this.code = code; - this.ast = ast; - this.inputMap = inputMap; - this.path = _traverse().NodePath.get({ - hub: this.hub, - parentPath: null, - parent: this.ast, - container: this.ast, - key: "program" - }).setContext(); - this.scope = this.path.scope; - } - get shebang() { - const { - interpreter - } = this.path.node; - return interpreter ? interpreter.value : ""; - } - set shebang(value) { - if (value) { - this.path.get("interpreter").replaceWith(interpreterDirective(value)); - } else { - this.path.get("interpreter").remove(); - } - } - set(key, val) { - if (key === "helpersNamespace") { - throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility." + "If you are using @babel/plugin-external-helpers you will need to use a newer " + "version than the one you currently have installed. " + "If you have your own implementation, you'll want to explore using 'helperGenerator' " + "alongside 'file.availableHelper()'."); - } - this._map.set(key, val); - } - get(key) { - return this._map.get(key); - } - has(key) { - return this._map.has(key); - } - availableHelper(name, versionRange) { - if (helpers().isInternal(name)) return false; - let minVersion; - try { - minVersion = helpers().minVersion(name); - } catch (err) { - if (err.code !== "BABEL_HELPER_UNKNOWN") throw err; - return false; - } - if (typeof versionRange !== "string") return true; - if (_semver().valid(versionRange)) versionRange = `^${versionRange}`; - return !_semver().intersects(`<${minVersion}`, versionRange) && !_semver().intersects(`>=8.0.0`, versionRange); - } - addHelper(name) { - if (helpers().isInternal(name)) { - throw new Error("Cannot use internal helper " + name); - } - return this._addHelper(name); - } - _addHelper(name) { - const declar = this.declarations[name]; - if (declar) return cloneNode(declar); - const generator = this.get("helperGenerator"); - if (generator) { - const res = generator(name); - if (res) return res; - } - helpers().minVersion(name); - const uid = this.declarations[name] = this.scope.generateUidIdentifier(name); - const dependencies = {}; - for (const dep of helpers().getDependencies(name)) { - dependencies[dep] = this._addHelper(dep); - } - const { - nodes, - globals - } = helpers().get(name, dep => dependencies[dep], uid.name, Object.keys(this.scope.getAllBindings())); - globals.forEach(name => { - if (this.path.scope.hasBinding(name, true)) { - this.path.scope.rename(name); - } - }); - nodes.forEach(node => { - node._compact = true; - }); - const added = this.path.unshiftContainer("body", nodes); - for (const path of added) { - if (path.isVariableDeclaration()) this.scope.registerDeclaration(path); - } - return uid; - } - buildCodeFrameError(node, msg, _Error = SyntaxError) { - let loc = node == null ? void 0 : node.loc; - if (!loc && node) { - traverseFast(node, function (node) { - if (node.loc) { - loc = node.loc; - return traverseFast.stop; - } - }); - let txt = "This is an error on an internal node. Probably an internal error."; - if (loc) txt += " Location has been estimated."; - msg += ` (${txt})`; - } - if (loc) { - const { - highlightCode = true - } = this.opts; - msg += "\n" + (0, _codeFrame().codeFrameColumns)(this.code, { - start: { - line: loc.start.line, - column: loc.start.column + 1 - }, - end: loc.end && loc.start.line === loc.end.line ? { - line: loc.end.line, - column: loc.end.column + 1 - } : undefined - }, { - highlightCode - }); - } - return new _Error(msg); - } -} -exports.default = File; -File.prototype.addImport = function addImport() { - throw new Error("This API has been removed. If you're looking for this " + "functionality in Babel 7, you should import the " + "'@babel/helper-module-imports' module and use the functions exposed " + " from that module, such as 'addNamed' or 'addDefault'."); -}; -File.prototype.addTemplateObject = function addTemplateObject() { - throw new Error("This function has been moved into the template literal transform itself."); -}; -File.prototype.getModuleName = function getModuleName() { - return _babel7Helpers.getModuleName()(this.opts, this.opts); -}; -0 && 0; - -//# sourceMappingURL=file.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/file.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/file.js.map deleted file mode 100644 index f20e6214..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/file.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["helpers","data","require","_traverse","_codeFrame","_t","_semver","_babel7Helpers","cloneNode","interpreterDirective","traverseFast","File","constructor","options","code","ast","inputMap","_map","Map","opts","declarations","path","scope","metadata","hub","file","getCode","getScope","addHelper","bind","buildError","buildCodeFrameError","NodePath","get","parentPath","parent","container","key","setContext","shebang","interpreter","node","value","replaceWith","remove","set","val","Error","has","availableHelper","name","versionRange","isInternal","minVersion","err","semver","valid","intersects","_addHelper","declar","generator","res","uid","generateUidIdentifier","dependencies","dep","getDependencies","nodes","globals","Object","keys","getAllBindings","forEach","hasBinding","rename","_compact","added","unshiftContainer","isVariableDeclaration","registerDeclaration","msg","_Error","SyntaxError","loc","stop","txt","highlightCode","codeFrameColumns","start","line","column","end","undefined","exports","default","prototype","addImport","addTemplateObject","getModuleName","babel7"],"sources":["../../../src/transformation/file/file.ts"],"sourcesContent":["import * as helpers from \"@babel/helpers\";\nimport { NodePath } from \"@babel/traverse\";\nimport type { HubInterface, Scope } from \"@babel/traverse\";\nimport { codeFrameColumns } from \"@babel/code-frame\";\nimport { cloneNode, interpreterDirective, traverseFast } from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nimport semver from \"semver\";\n\nimport type { NormalizedFile } from \"../normalize-file.ts\";\n\n// @ts-expect-error This file is `any`\nimport babel7 from \"./babel-7-helpers.cjs\" with { if: \"!process.env.BABEL_8_BREAKING && (!USE_ESM || IS_STANDALONE)\" };\nimport type { ResolvedOptions } from \"../../config/validation/options.ts\";\nimport type { SourceMapConverter } from \"convert-source-map\";\n\nexport default class File {\n _map = new Map();\n opts: ResolvedOptions;\n declarations: Record = {};\n path: NodePath;\n ast: t.File;\n scope: Scope;\n metadata: Record = {};\n code: string = \"\";\n inputMap: SourceMapConverter;\n\n hub: HubInterface & { file: File } = {\n // keep it for the usage in babel-core, ex: path.hub.file.opts.filename\n file: this,\n getCode: () => this.code,\n getScope: () => this.scope,\n addHelper: this.addHelper.bind(this),\n buildError: this.buildCodeFrameError.bind(this),\n };\n\n constructor(\n options: ResolvedOptions,\n { code, ast, inputMap }: NormalizedFile,\n ) {\n this.opts = options;\n this.code = code;\n this.ast = ast;\n this.inputMap = inputMap;\n\n this.path = NodePath.get({\n hub: this.hub,\n parentPath: null,\n parent: this.ast,\n container: this.ast,\n key: \"program\",\n }).setContext() as NodePath;\n this.scope = this.path.scope;\n }\n\n /**\n * Provide backward-compatible access to the interpreter directive handling\n * in Babel 6.x. If you are writing a plugin for Babel 7.x, it would be\n * best to use 'program.interpreter' directly.\n */\n get shebang(): string {\n const { interpreter } = this.path.node;\n return interpreter ? interpreter.value : \"\";\n }\n set shebang(value: string) {\n if (value) {\n this.path.get(\"interpreter\").replaceWith(interpreterDirective(value));\n } else {\n this.path.get(\"interpreter\").remove();\n }\n }\n\n set(key: unknown, val: unknown) {\n if (!process.env.BABEL_8_BREAKING) {\n if (key === \"helpersNamespace\") {\n throw new Error(\n \"Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility.\" +\n \"If you are using @babel/plugin-external-helpers you will need to use a newer \" +\n \"version than the one you currently have installed. \" +\n \"If you have your own implementation, you'll want to explore using 'helperGenerator' \" +\n \"alongside 'file.availableHelper()'.\",\n );\n }\n }\n\n this._map.set(key, val);\n }\n\n get(key: unknown): any {\n return this._map.get(key);\n }\n\n has(key: unknown): boolean {\n return this._map.has(key);\n }\n\n /**\n * Check if a given helper is available in @babel/core's helper list.\n *\n * This _also_ allows you to pass a Babel version specifically. If the\n * helper exists, but was not available for the full given range, it will be\n * considered unavailable.\n */\n availableHelper(name: string, versionRange?: string | null): boolean {\n if (helpers.isInternal(name)) return false;\n\n let minVersion;\n try {\n minVersion = helpers.minVersion(name);\n } catch (err) {\n if (err.code !== \"BABEL_HELPER_UNKNOWN\") throw err;\n\n return false;\n }\n\n if (typeof versionRange !== \"string\") return true;\n\n // semver.intersects() has some surprising behavior with comparing ranges\n // with pre-release versions. We add '^' to ensure that we are always\n // comparing ranges with ranges, which sidesteps this logic.\n // For example:\n //\n // semver.intersects(`<7.0.1`, \"7.0.0-beta.0\") // false - surprising\n // semver.intersects(`<7.0.1`, \"^7.0.0-beta.0\") // true - expected\n //\n // This is because the first falls back to\n //\n // semver.satisfies(\"7.0.0-beta.0\", `<7.0.1`) // false - surprising\n //\n // and this fails because a prerelease version can only satisfy a range\n // if it is a prerelease within the same major/minor/patch range.\n //\n // Note: If this is found to have issues, please also revisit the logic in\n // transform-runtime's definitions.js file.\n if (semver.valid(versionRange)) versionRange = `^${versionRange}`;\n\n if (process.env.BABEL_8_BREAKING) {\n return (\n !semver.intersects(`<${minVersion}`, versionRange) &&\n !semver.intersects(`>=9.0.0`, versionRange)\n );\n } else {\n return (\n !semver.intersects(`<${minVersion}`, versionRange) &&\n !semver.intersects(`>=8.0.0`, versionRange)\n );\n }\n }\n\n addHelper(name: string): t.Identifier {\n if (helpers.isInternal(name)) {\n throw new Error(\"Cannot use internal helper \" + name);\n }\n return this._addHelper(name);\n }\n\n _addHelper(name: string): t.Identifier {\n const declar = this.declarations[name];\n if (declar) return cloneNode(declar);\n\n const generator = this.get(\"helperGenerator\");\n if (generator) {\n const res = generator(name);\n if (res) return res;\n }\n\n // make sure that the helper exists\n helpers.minVersion(name);\n\n const uid = (this.declarations[name] =\n this.scope.generateUidIdentifier(name));\n\n const dependencies: Record = {};\n for (const dep of helpers.getDependencies(name)) {\n dependencies[dep] = this._addHelper(dep);\n }\n\n const { nodes, globals } = helpers.get(\n name,\n dep => dependencies[dep],\n uid.name,\n Object.keys(this.scope.getAllBindings()),\n );\n\n globals.forEach(name => {\n if (this.path.scope.hasBinding(name, true /* noGlobals */)) {\n this.path.scope.rename(name);\n }\n });\n\n nodes.forEach(node => {\n // @ts-expect-error Fixme: document _compact node property\n node._compact = true;\n });\n\n const added = this.path.unshiftContainer(\"body\", nodes);\n // TODO: NodePath#unshiftContainer should automatically register new\n // bindings.\n for (const path of added) {\n if (path.isVariableDeclaration()) this.scope.registerDeclaration(path);\n }\n\n return uid;\n }\n\n buildCodeFrameError(\n node: t.Node | undefined | null,\n msg: string,\n _Error: typeof Error = SyntaxError,\n ): Error {\n let loc = node?.loc;\n\n if (!loc && node) {\n traverseFast(node, function (node) {\n if (node.loc) {\n loc = node.loc;\n return traverseFast.stop;\n }\n });\n\n let txt =\n \"This is an error on an internal node. Probably an internal error.\";\n if (loc) txt += \" Location has been estimated.\";\n\n msg += ` (${txt})`;\n }\n\n if (loc) {\n const { highlightCode = true } = this.opts;\n\n msg +=\n \"\\n\" +\n codeFrameColumns(\n this.code,\n {\n start: {\n line: loc.start.line,\n column: loc.start.column + 1,\n },\n end:\n loc.end && loc.start.line === loc.end.line\n ? {\n line: loc.end.line,\n column: loc.end.column + 1,\n }\n : undefined,\n },\n { highlightCode },\n );\n }\n\n return new _Error(msg);\n }\n}\n\nif (!process.env.BABEL_8_BREAKING) {\n // @ts-expect-error Babel 7\n File.prototype.addImport = function addImport() {\n throw new Error(\n \"This API has been removed. If you're looking for this \" +\n \"functionality in Babel 7, you should import the \" +\n \"'@babel/helper-module-imports' module and use the functions exposed \" +\n \" from that module, such as 'addNamed' or 'addDefault'.\",\n );\n };\n // @ts-expect-error Babel 7\n File.prototype.addTemplateObject = function addTemplateObject() {\n throw new Error(\n \"This function has been moved into the template literal transform itself.\",\n );\n };\n\n if (!USE_ESM || IS_STANDALONE) {\n // @ts-expect-error Babel 7\n File.prototype.getModuleName = function getModuleName() {\n return babel7.getModuleName()(this.opts, this.opts);\n };\n }\n}\n"],"mappings":";;;;;;AAAA,SAAAA,QAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,OAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,UAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,SAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAG,WAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,UAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,GAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,EAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAK,QAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,OAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAKA,IAAAM,cAAA,GAAAL,OAAA;AAAuH;EAP9GM,SAAS;EAAEC,oBAAoB;EAAEC;AAAY,IAAAL,EAAA;AAWvC,MAAMM,IAAI,CAAC;EAoBxBC,WAAWA,CACTC,OAAwB,EACxB;IAAEC,IAAI;IAAEC,GAAG;IAAEC;EAAyB,CAAC,EACvC;IAAA,KAtBFC,IAAI,GAAG,IAAIC,GAAG,CAAmB,CAAC;IAAA,KAClCC,IAAI;IAAA,KACJC,YAAY,GAAiC,CAAC,CAAC;IAAA,KAC/CC,IAAI;IAAA,KACJN,GAAG;IAAA,KACHO,KAAK;IAAA,KACLC,QAAQ,GAAwB,CAAC,CAAC;IAAA,KAClCT,IAAI,GAAW,EAAE;IAA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AAK,EAAE;UACLC,IAAI,EAAEN,GAAG,CAACK,KAAK,CAACC,IAAI;UACpBC,MAAM,EAAEP,GAAG,CAACK,KAAK,CAACE,MAAM,GAAG;QAC7B,CAAC;QACDC,GAAG,EACDR,GAAG,CAACQ,GAAG,IAAIR,GAAG,CAACK,KAAK,CAACC,IAAI,KAAKN,GAAG,CAACQ,GAAG,CAACF,IAAI,GACtC;UACEA,IAAI,EAAEN,GAAG,CAACQ,GAAG,CAACF,IAAI;UAClBC,MAAM,EAAEP,GAAG,CAACQ,GAAG,CAACD,MAAM,GAAG;QAC3B,CAAC,GACDE;MACR,CAAC,EACD;QAAEN;MAAc,CAClB,CAAC;IACL;IAEA,OAAO,IAAIL,MAAM,CAACD,GAAG,CAAC;EACxB;AACF;AAACa,OAAA,CAAAC,OAAA,GAAAnF,IAAA;AAICA,IAAI,CAACoF,SAAS,CAACC,SAAS,GAAG,SAASA,SAASA,CAAA,EAAG;EAC9C,MAAM,IAAIjD,KAAK,CACb,wDAAwD,GACtD,kDAAkD,GAClD,sEAAsE,GACtE,wDACJ,CAAC;AACH,CAAC;AAEDpC,IAAI,CAACoF,SAAS,CAACE,iBAAiB,GAAG,SAASA,iBAAiBA,CAAA,EAAG;EAC9D,MAAM,IAAIlD,KAAK,CACb,0EACF,CAAC;AACH,CAAC;AAICpC,IAAI,CAACoF,SAAS,CAACG,aAAa,GAAG,SAASA,aAAaA,CAAA,EAAG;EACtD,OAAOC,cAAM,CAACD,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC/E,IAAI,EAAE,IAAI,CAACA,IAAI,CAAC;AACrD,CAAC;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/generate.js b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/generate.js deleted file mode 100644 index 10b5b29f..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/generate.js +++ /dev/null @@ -1,84 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = generateCode; -function _convertSourceMap() { - const data = require("convert-source-map"); - _convertSourceMap = function () { - return data; - }; - return data; -} -function _generator() { - const data = require("@babel/generator"); - _generator = function () { - return data; - }; - return data; -} -var _mergeMap = require("./merge-map.js"); -function generateCode(pluginPasses, file) { - const { - opts, - ast, - code, - inputMap - } = file; - const { - generatorOpts - } = opts; - generatorOpts.inputSourceMap = inputMap == null ? void 0 : inputMap.toObject(); - const results = []; - for (const plugins of pluginPasses) { - for (const plugin of plugins) { - const { - generatorOverride - } = plugin; - if (generatorOverride) { - const result = generatorOverride(ast, generatorOpts, code, _generator().default); - if (result !== undefined) results.push(result); - } - } - } - let result; - if (results.length === 0) { - result = (0, _generator().default)(ast, generatorOpts, code); - } else if (results.length === 1) { - result = results[0]; - if (typeof result.then === "function") { - throw new Error(`You appear to be using an async codegen plugin, ` + `which your current version of Babel does not support. ` + `If you're using a published plugin, ` + `you may need to upgrade your @babel/core version.`); - } - } else { - throw new Error("More than one plugin attempted to override codegen."); - } - let { - code: outputCode, - decodedMap: outputMap = result.map - } = result; - if (result.__mergedMap) { - outputMap = Object.assign({}, result.map); - } else { - if (outputMap) { - if (inputMap) { - outputMap = (0, _mergeMap.default)(inputMap.toObject(), outputMap, generatorOpts.sourceFileName); - } else { - outputMap = result.map; - } - } - } - if (opts.sourceMaps === "inline" || opts.sourceMaps === "both") { - outputCode += "\n" + _convertSourceMap().fromObject(outputMap).toComment(); - } - if (opts.sourceMaps === "inline") { - outputMap = null; - } - return { - outputCode, - outputMap - }; -} -0 && 0; - -//# sourceMappingURL=generate.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/generate.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/generate.js.map deleted file mode 100644 index d8572155..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/generate.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_convertSourceMap","data","require","_generator","_mergeMap","generateCode","pluginPasses","file","opts","ast","code","inputMap","generatorOpts","inputSourceMap","toObject","results","plugins","plugin","generatorOverride","result","generate","undefined","push","length","then","Error","outputCode","decodedMap","outputMap","map","__mergedMap","Object","assign","mergeSourceMap","sourceFileName","sourceMaps","convertSourceMap","fromObject","toComment"],"sources":["../../../src/transformation/file/generate.ts"],"sourcesContent":["import type { PluginPasses } from \"../../config/index.ts\";\nimport convertSourceMap from \"convert-source-map\";\nimport type { GeneratorResult } from \"@babel/generator\";\nimport generate from \"@babel/generator\";\n\nimport type File from \"./file.ts\";\nimport mergeSourceMap from \"./merge-map.ts\";\n\nexport default function generateCode(\n pluginPasses: PluginPasses,\n file: File,\n): {\n outputCode: string;\n outputMap: GeneratorResult[\"map\"] | null;\n} {\n const { opts, ast, code, inputMap } = file;\n const { generatorOpts } = opts;\n\n generatorOpts.inputSourceMap = inputMap?.toObject();\n\n const results = [];\n for (const plugins of pluginPasses) {\n for (const plugin of plugins) {\n const { generatorOverride } = plugin;\n if (generatorOverride) {\n const result = generatorOverride(ast, generatorOpts, code, generate);\n\n if (result !== undefined) results.push(result);\n }\n }\n }\n\n let result;\n if (results.length === 0) {\n result = generate(ast, generatorOpts, code);\n } else if (results.length === 1) {\n result = results[0];\n\n // @ts-expect-error check if generatorOverride returned a promise\n if (typeof result.then === \"function\") {\n throw new Error(\n `You appear to be using an async codegen plugin, ` +\n `which your current version of Babel does not support. ` +\n `If you're using a published plugin, ` +\n `you may need to upgrade your @babel/core version.`,\n );\n }\n } else {\n throw new Error(\"More than one plugin attempted to override codegen.\");\n }\n\n // Decoded maps are faster to merge, so we attempt to get use the decodedMap\n // first. But to preserve backwards compat with older Generator, we'll fall\n // back to the encoded map.\n let { code: outputCode, decodedMap: outputMap = result.map } = result;\n\n // @ts-expect-error For backwards compat.\n if (result.__mergedMap) {\n /**\n * @see mergeSourceMap\n */\n outputMap = { ...result.map };\n } else {\n if (outputMap) {\n if (inputMap) {\n // mergeSourceMap returns an encoded map\n outputMap = mergeSourceMap(\n inputMap.toObject(),\n outputMap,\n generatorOpts.sourceFileName,\n );\n } else {\n // We cannot output a decoded map, so retrieve the encoded form. Because\n // the decoded form is free, it's fine to prioritize decoded first.\n outputMap = result.map;\n }\n }\n }\n\n if (opts.sourceMaps === \"inline\" || opts.sourceMaps === \"both\") {\n outputCode += \"\\n\" + convertSourceMap.fromObject(outputMap).toComment();\n }\n\n if (opts.sourceMaps === \"inline\") {\n outputMap = null;\n }\n\n // @ts-expect-error outputMap must be an EncodedSourceMap or null\n return { outputCode, outputMap };\n}\n"],"mappings":";;;;;;AACA,SAAAA,kBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,iBAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAE,WAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,UAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAGA,IAAAG,SAAA,GAAAF,OAAA;AAEe,SAASG,YAAYA,CAClCC,YAA0B,EAC1BC,IAAU,EAIV;EACA,MAAM;IAAEC,IAAI;IAAEC,GAAG;IAAEC,IAAI;IAAEC;EAAS,CAAC,GAAGJ,IAAI;EAC1C,MAAM;IAAEK;EAAc,CAAC,GAAGJ,IAAI;EAE9BI,aAAa,CAACC,cAAc,GAAGF,QAAQ,oBAARA,QAAQ,CAAEG,QAAQ,CAAC,CAAC;EAEnD,MAAMC,OAAO,GAAG,EAAE;EAClB,KAAK,MAAMC,OAAO,IAAIV,YAAY,EAAE;IAClC,KAAK,MAAMW,MAAM,IAAID,OAAO,EAAE;MAC5B,MAAM;QAAEE;MAAkB,CAAC,GAAGD,MAAM;MACpC,IAAIC,iBAAiB,EAAE;QACrB,MAAMC,MAAM,GAAGD,iBAAiB,CAACT,GAAG,EAAEG,aAAa,EAAEF,IAAI,EAAEU,oBAAQ,CAAC;QAEpE,IA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AAC;EACzE;EAEA,IAAI9B,IAAI,CAAC2B,UAAU,KAAK,QAAQ,EAAE;IAChCP,SAAS,GAAG,IAAI;EAClB;EAGA,OAAO;IAAEF,UAAU;IAAEE;EAAU,CAAC;AAClC;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/merge-map.js b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/merge-map.js deleted file mode 100644 index 1b60d5c5..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/merge-map.js +++ /dev/null @@ -1,37 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = mergeSourceMap; -function _remapping() { - const data = require("@jridgewell/remapping"); - _remapping = function () { - return data; - }; - return data; -} -function mergeSourceMap(inputMap, map, sourceFileName) { - const source = sourceFileName.replace(/\\/g, "/"); - let found = false; - const result = _remapping()(rootless(map), (s, ctx) => { - if (s === source && !found) { - found = true; - ctx.source = ""; - return rootless(inputMap); - } - return null; - }); - if (typeof inputMap.sourceRoot === "string") { - result.sourceRoot = inputMap.sourceRoot; - } - return Object.assign({}, result); -} -function rootless(map) { - return Object.assign({}, map, { - sourceRoot: null - }); -} -0 && 0; - -//# sourceMappingURL=merge-map.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/merge-map.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/merge-map.js.map deleted file mode 100644 index 5afc5331..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/file/merge-map.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_remapping","data","require","mergeSourceMap","inputMap","map","sourceFileName","source","replace","found","result","remapping","rootless","s","ctx","sourceRoot","Object","assign"],"sources":["../../../src/transformation/file/merge-map.ts"],"sourcesContent":["type SourceMap = any;\nimport remapping from \"@jridgewell/remapping\";\n\nexport default function mergeSourceMap(\n inputMap: SourceMap,\n map: SourceMap,\n sourceFileName: string,\n): SourceMap {\n // On win32 machines, the sourceFileName uses backslash paths like\n // `C:\\foo\\bar.js`. But sourcemaps are always posix paths, so we need to\n // normalize to regular slashes before we can merge (else we won't find the\n // source associated with our input map).\n // This mirrors code done while generating the output map at\n // https://github.com/babel/babel/blob/5c2fcadc9ae34fd20dd72b1111d5cf50476d700d/packages/babel-generator/src/source-map.ts#L102\n const source = sourceFileName.replace(/\\\\/g, \"/\");\n\n // Prevent an infinite recursion if one of the input map's sources has the\n // same resolved path as the input map. In the case, it would keep find the\n // input map, then get it's sources which will include a path like the input\n // map, on and on.\n let found = false;\n const result = remapping(rootless(map), (s, ctx) => {\n if (s === source && !found) {\n found = true;\n // We empty the source location, which will prevent the sourcemap from\n // becoming relative to the input's location. Eg, if we're transforming a\n // file 'foo/bar.js', and it is a transformation of a `baz.js` file in the\n // same directory, the expected output is just `baz.js`. Without this step,\n // it would become `foo/baz.js`.\n ctx.source = \"\";\n\n return rootless(inputMap);\n }\n\n return null;\n });\n\n if (typeof inputMap.sourceRoot === \"string\") {\n result.sourceRoot = inputMap.sourceRoot;\n }\n\n // remapping returns a SourceMap class type, but this breaks code downstream in\n // @babel/traverse and @babel/types that relies on data being plain objects.\n // When it encounters the sourcemap type it outputs a \"don't know how to turn\n // this value into a node\" error. As a result, we are converting the merged\n // sourcemap to a plain js object.\n return { ...result };\n}\n\nfunction rootless(map: SourceMap): SourceMap {\n return {\n ...map,\n\n // This is a bit hack. Remapping will create absolute sources in our\n // sourcemap, but we want to maintain sources relative to the sourceRoot.\n // We'll re-add the sourceRoot after remapping.\n sourceRoot: null,\n };\n}\n"],"mappings":";;;;;;AACA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,UAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEe,SAASE,cAAcA,CACpCC,QAAmB,EACnBC,GAAc,EACdC,cAAsB,EACX;EAOX,MAAMC,MAAM,GAAGD,cAAc,CAACE,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC;EAMjD,IAAIC,KAAK,GAAG,KAAK;EACjB,MAAMC,MAAM,GAAGC,WAAQA,CAAC,CAACC,QAAQ,CAACP,GAAG,CAAC,EAAE,CAACQ,CAAC,EAAEC,GAAG,KAAK;IAClD,IAAID,CAAC,KAAKN,MAAM,IAAI,CAACE,KAAK,EAAE;MAC1BA,KAAK,GAAG,IAAI;MAMZK,GAAG,CAACP,MAAM,GAAG,EAAE;MAEf,OAAOK,QAAQ,CAACR,QAAQ,CAAC;IAC3B;IAEA,OAAO,IAAI;EACb,CAAC,CAAC;EAEF,IAAI,OAAOA,QAAQ,CAACW,UAAU,KAAK,QAAQ,EAAE;IAC3CL,MAAM,CAACK,UAAU,GAAGX,QAAQ,CAACW,UAAU;EACzC;EAOA,OAAAC,MAAA,CAAAC,MAAA,KAAYP,MAAM;AACpB;AAEA,SAASE,QAAQA,CAACP,GAAc,EAAa;EAC3C,OAAAW,MAAA,CAAAC,MAAA,KACKZ,GAAG;IAKNU,UAAU,EAAE;EAAI;AAEpB;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/index.js b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/index.js deleted file mode 100644 index 3e4f5a55..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/index.js +++ /dev/null @@ -1,90 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.run = run; -function _traverse() { - const data = require("@babel/traverse"); - _traverse = function () { - return data; - }; - return data; -} -var _pluginPass = require("./plugin-pass.js"); -var _blockHoistPlugin = require("./block-hoist-plugin.js"); -var _normalizeOpts = require("./normalize-opts.js"); -var _normalizeFile = require("./normalize-file.js"); -var _generate = require("./file/generate.js"); -var _deepArray = require("../config/helpers/deep-array.js"); -var _async = require("../gensync-utils/async.js"); -function* run(config, code, ast) { - const file = yield* (0, _normalizeFile.default)(config.passes, (0, _normalizeOpts.default)(config), code, ast); - const opts = file.opts; - try { - yield* transformFile(file, config.passes); - } catch (e) { - var _opts$filename; - e.message = `${(_opts$filename = opts.filename) != null ? _opts$filename : "unknown file"}: ${e.message}`; - if (!e.code) { - e.code = "BABEL_TRANSFORM_ERROR"; - } - throw e; - } - let outputCode, outputMap; - try { - if (opts.code !== false) { - ({ - outputCode, - outputMap - } = (0, _generate.default)(config.passes, file)); - } - } catch (e) { - var _opts$filename2; - e.message = `${(_opts$filename2 = opts.filename) != null ? _opts$filename2 : "unknown file"}: ${e.message}`; - if (!e.code) { - e.code = "BABEL_GENERATE_ERROR"; - } - throw e; - } - return { - metadata: file.metadata, - options: opts, - ast: opts.ast === true ? file.ast : null, - code: outputCode === undefined ? null : outputCode, - map: outputMap === undefined ? null : outputMap, - sourceType: file.ast.program.sourceType, - externalDependencies: (0, _deepArray.flattenToSet)(config.externalDependencies) - }; -} -function* transformFile(file, pluginPasses) { - const async = yield* (0, _async.isAsync)(); - for (const pluginPairs of pluginPasses) { - const passPairs = []; - const passes = []; - const visitors = []; - for (const plugin of pluginPairs.concat([(0, _blockHoistPlugin.default)()])) { - const pass = new _pluginPass.default(file, plugin.key, plugin.options, async); - passPairs.push([plugin, pass]); - passes.push(pass); - visitors.push(plugin.visitor); - } - for (const [plugin, pass] of passPairs) { - if (plugin.pre) { - const fn = (0, _async.maybeAsync)(plugin.pre, `You appear to be using an async plugin/preset, but Babel has been called synchronously`); - yield* fn.call(pass, file); - } - } - const visitor = _traverse().default.visitors.merge(visitors, passes, file.opts.wrapPluginVisitorMethod); - (0, _traverse().default)(file.ast, visitor, file.scope); - for (const [plugin, pass] of passPairs) { - if (plugin.post) { - const fn = (0, _async.maybeAsync)(plugin.post, `You appear to be using an async plugin/preset, but Babel has been called synchronously`); - yield* fn.call(pass, file); - } - } - } -} -0 && 0; - -//# sourceMappingURL=index.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/index.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/index.js.map deleted file mode 100644 index 9f816e0e..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_traverse","data","require","_pluginPass","_blockHoistPlugin","_normalizeOpts","_normalizeFile","_generate","_deepArray","_async","run","config","code","ast","file","normalizeFile","passes","normalizeOptions","opts","transformFile","e","_opts$filename","message","filename","outputCode","outputMap","generateCode","_opts$filename2","metadata","options","undefined","map","sourceType","program","externalDependencies","flattenToSet","pluginPasses","async","isAsync","pluginPairs","passPairs","visitors","plugin","concat","loadBlockHoistPlugin","pass","PluginPass","key","push","visitor","pre","fn","maybeAsync","call","traverse","merge","wrapPluginVisitorMethod","scope","post"],"sources":["../../src/transformation/index.ts"],"sourcesContent":["import traverse from \"@babel/traverse\";\nimport type * as t from \"@babel/types\";\nimport type { GeneratorResult } from \"@babel/generator\";\n\nimport type { Handler } from \"gensync\";\n\nimport type { ResolvedConfig, Plugin, PluginPasses } from \"../config/index.ts\";\n\nimport PluginPass from \"./plugin-pass.ts\";\nimport loadBlockHoistPlugin from \"./block-hoist-plugin.ts\";\nimport normalizeOptions from \"./normalize-opts.ts\";\nimport normalizeFile from \"./normalize-file.ts\";\n\nimport generateCode from \"./file/generate.ts\";\nimport type File from \"./file/file.ts\";\n\nimport { flattenToSet } from \"../config/helpers/deep-array.ts\";\nimport { isAsync, maybeAsync } from \"../gensync-utils/async.ts\";\nimport type { SourceTypeOption } from \"../config/validation/options.ts\";\n\nexport type FileResultCallback = {\n (err: Error, file: null): void;\n (err: null, file: FileResult | null): void;\n};\n\nexport type FileResult = {\n metadata: Record;\n options: Record;\n ast: t.File | null;\n code: string | null;\n map: GeneratorResult[\"map\"];\n sourceType: Exclude;\n externalDependencies: Set;\n};\n\nexport function* run(\n config: ResolvedConfig,\n code: string,\n ast?: t.File | t.Program | null,\n): Handler {\n const file = yield* normalizeFile(\n config.passes,\n normalizeOptions(config),\n code,\n ast,\n );\n\n const opts = file.opts;\n try {\n yield* transformFile(file, config.passes);\n } catch (e) {\n e.message = `${opts.filename ?? \"unknown file\"}: ${e.message}`;\n if (!e.code) {\n e.code = \"BABEL_TRANSFORM_ERROR\";\n }\n throw e;\n }\n\n let outputCode, outputMap;\n try {\n if (opts.code !== false) {\n ({ outputCode, outputMap } = generateCode(config.passes, file));\n }\n } catch (e) {\n e.message = `${opts.filename ?? \"unknown file\"}: ${e.message}`;\n if (!e.code) {\n e.code = \"BABEL_GENERATE_ERROR\";\n }\n throw e;\n }\n\n return {\n metadata: file.metadata,\n options: opts,\n ast: opts.ast === true ? file.ast : null,\n code: outputCode === undefined ? null : outputCode,\n map: outputMap === undefined ? null : outputMap,\n sourceType: file.ast.program.sourceType,\n externalDependencies: flattenToSet(config.externalDependencies),\n };\n}\n\nfunction* transformFile(file: File, pluginPasses: PluginPasses): Handler {\n const async = yield* isAsync();\n\n for (const pluginPairs of pluginPasses) {\n const passPairs: [Plugin, PluginPass][] = [];\n const passes = [];\n const visitors = [];\n\n for (const plugin of pluginPairs.concat([loadBlockHoistPlugin()])) {\n const pass = new PluginPass(file, plugin.key, plugin.options, async);\n\n passPairs.push([plugin, pass]);\n passes.push(pass);\n visitors.push(plugin.visitor);\n }\n\n for (const [plugin, pass] of passPairs) {\n if (plugin.pre) {\n const fn = maybeAsync(\n plugin.pre,\n `You appear to be using an async plugin/preset, but Babel has been called synchronously`,\n );\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n yield* fn.call(pass, file);\n }\n }\n\n // merge all plugin visitors into a single visitor\n const visitor = traverse.visitors.merge(\n visitors,\n passes,\n file.opts.wrapPluginVisitorMethod,\n );\n if (process.env.BABEL_8_BREAKING) {\n traverse(file.ast.program, visitor, file.scope, null, file.path, true);\n } else {\n traverse(file.ast, visitor, file.scope);\n }\n\n for (const [plugin, pass] of passPairs) {\n if (plugin.post) {\n const fn = maybeAsync(\n plugin.post,\n `You appear to be using an async plugin/preset, but Babel has been called synchronously`,\n );\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n yield* fn.call(pass, file);\n }\n }\n }\n}\n"],"mappings":";;;;;;AAAA,SAAAA,UAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,SAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAQA,IAAAE,WAAA,GAAAD,OAAA;AACA,IAAAE,iBAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,cAAA,GAAAJ,OAAA;AAEA,IAAAK,SAAA,GAAAL,OAAA;AAGA,IAAAM,UAAA,GAAAN,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AAkBO,UAAUQ,GAAGA,CAClBC,MAAsB,EACtBC,IAAY,EACZC,GAA+B,EACV;EACrB,MAAMC,IAAI,GAAG,OAAO,IAAAC,sBAAa,EAC/BJ,MAAM,CAACK,MAAM,EACb,IAAAC,sBAAgB,EAACN,MAAM,CAAC,EACxBC,IAAI,EACJC,GACF,CAAC;EAED,MAAMK,IAAI,GAAGJ,IAAI,CAACI,IAAI;EACtB,IAAI;IACF,OAAOC,aAAa,CAACL,IAAI,EAAEH,MAAM,CAACK,MAAM,CAAC;EAC3C,CAAC,CAAC,OAAOI,CAAC,EAAE;IAAA,IAAAC,cAAA;IACVD,CAAC,CAACE,OAAO,GAAG,IAAAD,cAAA,GAAGH,IAAI,CAACK,QAAQ,YAAAF,cAAA,GAAI,cAAc,KAAKD,CAAC,CAACE,OAAO,EAAE;IAC9D,IAAI,CAACF,CAAC,CAACR,IAAI,EAAE;MACXQ,CAAC,CAACR,IAAI,GAAG,uBAAuB;IAClC;IACA,MAAMQ,CAAC;EACT;EAEA,IAAII,UAAU,EAAEC,SAAS;EACzB,IAAI;IACF,IAAIP,IAAI,CAACN,IAAI,KAAK,KAAK,EAAE;MACvB,CAAC;QAAEY,UAAU;QAAEC;MAAU,CAAC,GAAG,IAAAC,iBA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GAAG,EAAEL,MAAM,CAACb,OAAO,EAAEQ,KAAK,CAAC;MAEpEG,SAAS,CAACQ,IAAI,CAAC,CAACN,MAAM,EAAEG,IAAI,CAAC,CAAC;MAC9B7B,MAAM,CAACgC,IAAI,CAACH,IAAI,CAAC;MACjBJ,QAAQ,CAACO,IAAI,CAACN,MAAM,CAACO,OAAO,CAAC;IAC/B;IAEA,KAAK,MAAM,CAACP,MAAM,EAAEG,IAAI,CAAC,IAAIL,SAAS,EAAE;MACtC,IAAIE,MAAM,CAACQ,GAAG,EAAE;QACd,MAAMC,EAAE,GAAG,IAAAC,iBAAU,EACnBV,MAAM,CAACQ,GAAG,EACV,wFACF,CAAC;QAGD,OAAOC,EAAE,CAACE,IAAI,CAACR,IAAI,EAAE/B,IAAI,CAAC;MAC5B;IACF;IAGA,MAAMmC,OAAO,GAAGK,mBAAQ,CAACb,QAAQ,CAACc,KAAK,CACrCd,QAAQ,EACRzB,MAAM,EACNF,IAAI,CAACI,IAAI,CAACsC,uBACZ,CAAC;IAIC,IAAAF,mBAAQ,EAACxC,IAAI,CAACD,GAAG,EAAEoC,OAAO,EAAEnC,IAAI,CAAC2C,KAAK,CAAC;IAGzC,KAAK,MAAM,CAACf,MAAM,EAAEG,IAAI,CAAC,IAAIL,SAAS,EAAE;MACtC,IAAIE,MAAM,CAACgB,IAAI,EAAE;QACf,MAAMP,EAAE,GAAG,IAAAC,iBAAU,EACnBV,MAAM,CAACgB,IAAI,EACX,wFACF,CAAC;QAGD,OAAOP,EAAE,CAACE,IAAI,CAACR,IAAI,EAAE/B,IAAI,CAAC;MAC5B;IACF;EACF;AACF;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-file.js b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-file.js deleted file mode 100644 index ba13031d..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-file.js +++ /dev/null @@ -1,127 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = normalizeFile; -function _fs() { - const data = require("fs"); - _fs = function () { - return data; - }; - return data; -} -function _path() { - const data = require("path"); - _path = function () { - return data; - }; - return data; -} -function _debug() { - const data = require("debug"); - _debug = function () { - return data; - }; - return data; -} -function _t() { - const data = require("@babel/types"); - _t = function () { - return data; - }; - return data; -} -function _convertSourceMap() { - const data = require("convert-source-map"); - _convertSourceMap = function () { - return data; - }; - return data; -} -var _file = require("./file/file.js"); -var _index = require("../parser/index.js"); -var _cloneDeep = require("./util/clone-deep.js"); -const { - file, - traverseFast -} = _t(); -const debug = _debug()("babel:transform:file"); -const INLINE_SOURCEMAP_REGEX = /^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,.*$/; -const EXTERNAL_SOURCEMAP_REGEX = /^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/; -function* normalizeFile(pluginPasses, options, code, ast) { - code = `${code || ""}`; - if (ast) { - if (ast.type === "Program") { - ast = file(ast, [], []); - } else if (ast.type !== "File") { - throw new Error("AST root must be a Program or File node"); - } - if (options.cloneInputAst) { - ast = (0, _cloneDeep.default)(ast); - } - } else { - ast = yield* (0, _index.default)(pluginPasses, options, code); - } - let inputMap = null; - if (options.inputSourceMap !== false) { - if (typeof options.inputSourceMap === "object") { - inputMap = _convertSourceMap().fromObject(options.inputSourceMap); - } - if (!inputMap) { - const lastComment = extractComments(INLINE_SOURCEMAP_REGEX, ast); - if (lastComment) { - try { - inputMap = _convertSourceMap().fromComment("//" + lastComment); - } catch (err) { - debug("discarding unknown inline input sourcemap"); - } - } - } - if (!inputMap) { - const lastComment = extractComments(EXTERNAL_SOURCEMAP_REGEX, ast); - if (typeof options.filename === "string" && lastComment) { - try { - const match = EXTERNAL_SOURCEMAP_REGEX.exec(lastComment); - const inputMapContent = _fs().readFileSync(_path().resolve(_path().dirname(options.filename), match[1]), "utf8"); - inputMap = _convertSourceMap().fromJSON(inputMapContent); - } catch (err) { - debug("discarding unknown file input sourcemap", err); - } - } else if (lastComment) { - debug("discarding un-loadable file input sourcemap"); - } - } - } - return new _file.default(options, { - code, - ast: ast, - inputMap - }); -} -function extractCommentsFromList(regex, comments, lastComment) { - if (comments) { - comments = comments.filter(({ - value - }) => { - if (regex.test(value)) { - lastComment = value; - return false; - } - return true; - }); - } - return [comments, lastComment]; -} -function extractComments(regex, ast) { - let lastComment = null; - traverseFast(ast, node => { - [node.leadingComments, lastComment] = extractCommentsFromList(regex, node.leadingComments, lastComment); - [node.innerComments, lastComment] = extractCommentsFromList(regex, node.innerComments, lastComment); - [node.trailingComments, lastComment] = extractCommentsFromList(regex, node.trailingComments, lastComment); - }); - return lastComment; -} -0 && 0; - -//# sourceMappingURL=normalize-file.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-file.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-file.js.map deleted file mode 100644 index 63f7d5e6..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-file.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_fs","data","require","_path","_debug","_t","_convertSourceMap","_file","_index","_cloneDeep","file","traverseFast","debug","buildDebug","INLINE_SOURCEMAP_REGEX","EXTERNAL_SOURCEMAP_REGEX","normalizeFile","pluginPasses","options","code","ast","type","Error","cloneInputAst","cloneDeep","parser","inputMap","inputSourceMap","convertSourceMap","fromObject","lastComment","extractComments","fromComment","err","filename","match","exec","inputMapContent","fs","readFileSync","path","resolve","dirname","fromJSON","File","extractCommentsFromList","regex","comments","filter","value","test","node","leadingComments","innerComments","trailingComments"],"sources":["../../src/transformation/normalize-file.ts"],"sourcesContent":["import fs from \"node:fs\";\nimport path from \"node:path\";\nimport buildDebug from \"debug\";\nimport type { Handler } from \"gensync\";\nimport { file, traverseFast } from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nimport type { PluginPasses } from \"../config/index.ts\";\nimport convertSourceMap from \"convert-source-map\";\nimport type { SourceMapConverter as Converter } from \"convert-source-map\";\nimport File from \"./file/file.ts\";\nimport parser from \"../parser/index.ts\";\nimport cloneDeep from \"./util/clone-deep.ts\";\nimport type { ResolvedOptions } from \"../config/validation/options.ts\";\n\nconst debug = buildDebug(\"babel:transform:file\");\n\n// These regexps are copied from the convert-source-map package,\n// but without // or /* at the beginning of the comment.\n\nconst INLINE_SOURCEMAP_REGEX =\n /^[@#]\\s+sourceMappingURL=data:(?:application|text)\\/json;(?:charset[:=]\\S+?;)?base64,.*$/;\nconst EXTERNAL_SOURCEMAP_REGEX =\n /^[@#][ \\t]+sourceMappingURL=([^\\s'\"`]+)[ \\t]*$/;\n\nexport type NormalizedFile = {\n code: string;\n ast: t.File;\n inputMap: Converter | null;\n};\n\nexport default function* normalizeFile(\n pluginPasses: PluginPasses,\n options: ResolvedOptions,\n code: string,\n ast?: t.File | t.Program | null,\n): Handler {\n code = `${code || \"\"}`;\n\n if (ast) {\n if (ast.type === \"Program\") {\n ast = file(ast, [], []);\n } else if (ast.type !== \"File\") {\n throw new Error(\"AST root must be a Program or File node\");\n }\n\n if (options.cloneInputAst) {\n ast = cloneDeep(ast);\n }\n } else {\n ast = yield* parser(pluginPasses, options, code);\n }\n\n let inputMap = null;\n if (options.inputSourceMap !== false) {\n // If an explicit object is passed in, it overrides the processing of\n // source maps that may be in the file itself.\n if (typeof options.inputSourceMap === \"object\") {\n inputMap = convertSourceMap.fromObject(options.inputSourceMap);\n }\n\n if (!inputMap) {\n const lastComment = extractComments(INLINE_SOURCEMAP_REGEX, ast);\n if (lastComment) {\n try {\n inputMap = convertSourceMap.fromComment(\"//\" + lastComment);\n } catch (err) {\n if (process.env.BABEL_8_BREAKING) {\n console.warn(\n \"discarding unknown inline input sourcemap\",\n options.filename,\n err,\n );\n } else {\n debug(\"discarding unknown inline input sourcemap\");\n }\n }\n }\n }\n\n if (!inputMap) {\n const lastComment = extractComments(EXTERNAL_SOURCEMAP_REGEX, ast);\n if (typeof options.filename === \"string\" && lastComment) {\n try {\n // when `lastComment` is non-null, EXTERNAL_SOURCEMAP_REGEX must have matches\n const match: [string, string] = EXTERNAL_SOURCEMAP_REGEX.exec(\n lastComment,\n ) as any;\n const inputMapContent = fs.readFileSync(\n path.resolve(path.dirname(options.filename), match[1]),\n \"utf8\",\n );\n inputMap = convertSourceMap.fromJSON(inputMapContent);\n } catch (err) {\n debug(\"discarding unknown file input sourcemap\", err);\n }\n } else if (lastComment) {\n debug(\"discarding un-loadable file input sourcemap\");\n }\n }\n }\n\n return new File(options, {\n code,\n ast: ast,\n inputMap,\n });\n}\n\nfunction extractCommentsFromList(\n regex: RegExp,\n comments: t.Comment[],\n lastComment: string | null,\n): [t.Comment[], string | null] {\n if (comments) {\n comments = comments.filter(({ value }) => {\n if (regex.test(value)) {\n lastComment = value;\n return false;\n }\n return true;\n });\n }\n return [comments, lastComment];\n}\n\nfunction extractComments(regex: RegExp, ast: t.Node) {\n let lastComment: string = null;\n traverseFast(ast, node => {\n [node.leadingComments, lastComment] = extractCommentsFromList(\n regex,\n node.leadingComments,\n lastComment,\n );\n [node.innerComments, lastComment] = extractCommentsFromList(\n regex,\n node.innerComments,\n lastComment,\n );\n [node.trailingComments, lastComment] = extractCommentsFromList(\n regex,\n node.trailingComments,\n lastComment,\n );\n });\n return lastComment;\n}\n"],"mappings":";;;;;;AAAA,SAAAA,IAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,GAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,MAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,KAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,OAAA;EAAA,MAAAH,IAAA,GAAAC,OAAA;EAAAE,MAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;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;EACF,CAAC,CAAC;AACJ;AAEA,SAASmB,uBAAuBA,CAC9BC,KAAa,EACbC,QAAqB,EACrBjB,WAA0B,EACI;EAC9B,IAAIiB,QAAQ,EAAE;IACZA,QAAQ,GAAGA,QAAQ,CAACC,MAAM,CAAC,CAAC;MAAEC;IAAM,CAAC,KAAK;MACxC,IAAIH,KAAK,CAACI,IAAI,CAACD,KAAK,CAAC,EAAE;QACrBnB,WAAW,GAAGmB,KAAK;QACnB,OAAO,KAAK;MACd;MACA,OAAO,IAAI;IACb,CAAC,CAAC;EACJ;EACA,OAAO,CAACF,QAAQ,EAAEjB,WAAW,CAAC;AAChC;AAEA,SAASC,eAAeA,CAACe,KAAa,EAAE1B,GAAW,EAAE;EACnD,IAAIU,WAAmB,GAAG,IAAI;EAC9BnB,YAAY,CAACS,GAAG,EAAE+B,IAAI,IAAI;IACxB,CAACA,IAAI,CAACC,eAAe,EAAEtB,WAAW,CAAC,GAAGe,uBAAuB,CAC3DC,KAAK,EACLK,IAAI,CAACC,eAAe,EACpBtB,WACF,CAAC;IACD,CAACqB,IAAI,CAACE,aAAa,EAAEvB,WAAW,CAAC,GAAGe,uBAAuB,CACzDC,KAAK,EACLK,IAAI,CAACE,aAAa,EAClBvB,WACF,CAAC;IACD,CAACqB,IAAI,CAACG,gBAAgB,EAAExB,WAAW,CAAC,GAAGe,uBAAuB,CAC5DC,KAAK,EACLK,IAAI,CAACG,gBAAgB,EACrBxB,WACF,CAAC;EACH,CAAC,CAAC;EACF,OAAOA,WAAW;AACpB;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-opts.js b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-opts.js deleted file mode 100644 index c4d9d8b2..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-opts.js +++ /dev/null @@ -1,59 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = normalizeOptions; -function _path() { - const data = require("path"); - _path = function () { - return data; - }; - return data; -} -function normalizeOptions(config) { - const { - filename, - cwd, - filenameRelative = typeof filename === "string" ? _path().relative(cwd, filename) : "unknown", - sourceType = "module", - inputSourceMap, - sourceMaps = !!inputSourceMap, - sourceRoot = config.options.moduleRoot, - sourceFileName = _path().basename(filenameRelative), - comments = true, - compact = "auto" - } = config.options; - const opts = config.options; - const options = Object.assign({}, opts, { - parserOpts: Object.assign({ - sourceType: _path().extname(filenameRelative) === ".mjs" ? "module" : sourceType, - sourceFileName: filename, - plugins: [] - }, opts.parserOpts), - generatorOpts: Object.assign({ - filename, - auxiliaryCommentBefore: opts.auxiliaryCommentBefore, - auxiliaryCommentAfter: opts.auxiliaryCommentAfter, - retainLines: opts.retainLines, - comments, - shouldPrintComment: opts.shouldPrintComment, - compact, - minified: opts.minified, - sourceMaps: !!sourceMaps, - sourceRoot, - sourceFileName - }, opts.generatorOpts) - }); - for (const plugins of config.passes) { - for (const plugin of plugins) { - if (plugin.manipulateOptions) { - plugin.manipulateOptions(options, options.parserOpts); - } - } - } - return options; -} -0 && 0; - -//# sourceMappingURL=normalize-opts.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-opts.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-opts.js.map deleted file mode 100644 index 1439fa9c..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/normalize-opts.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_path","data","require","normalizeOptions","config","filename","cwd","filenameRelative","path","relative","sourceType","inputSourceMap","sourceMaps","sourceRoot","options","moduleRoot","sourceFileName","basename","comments","compact","opts","Object","assign","parserOpts","extname","plugins","generatorOpts","auxiliaryCommentBefore","auxiliaryCommentAfter","retainLines","shouldPrintComment","minified","passes","plugin","manipulateOptions"],"sources":["../../src/transformation/normalize-opts.ts"],"sourcesContent":["import path from \"node:path\";\nimport type { ResolvedConfig } from \"../config/index.ts\";\nimport type { ResolvedOptions } from \"../config/validation/options.ts\";\n\nexport default function normalizeOptions(\n config: ResolvedConfig,\n): ResolvedOptions {\n const {\n filename,\n cwd,\n filenameRelative = typeof filename === \"string\"\n ? path.relative(cwd, filename)\n : \"unknown\",\n sourceType = \"module\",\n inputSourceMap,\n sourceMaps = !!inputSourceMap,\n sourceRoot = process.env.BABEL_8_BREAKING\n ? undefined\n : // @ts-ignore(Babel 7 vs Babel 8) moduleRoot is a Babel 7 option\n config.options.moduleRoot,\n\n sourceFileName = path.basename(filenameRelative),\n\n comments = true,\n compact = \"auto\",\n } = config.options;\n\n const opts = config.options;\n\n const options: ResolvedOptions = {\n ...opts,\n\n parserOpts: {\n sourceType:\n path.extname(filenameRelative) === \".mjs\" ? \"module\" : sourceType,\n\n // @ts-expect-error We should have passed `sourceFilename` here\n // pending https://github.com/babel/babel/issues/15917#issuecomment-2789278964\n sourceFileName: filename,\n plugins: [],\n ...opts.parserOpts,\n },\n\n generatorOpts: {\n // General generator flags.\n filename,\n\n auxiliaryCommentBefore: opts.auxiliaryCommentBefore,\n auxiliaryCommentAfter: opts.auxiliaryCommentAfter,\n retainLines: opts.retainLines,\n comments,\n shouldPrintComment: opts.shouldPrintComment,\n compact,\n minified: opts.minified,\n\n // Source-map generation flags.\n // babel-generator does not differentiate between `true`, `\"inline\"` or `\"both\"`\n sourceMaps: !!sourceMaps,\n sourceRoot,\n sourceFileName,\n\n ...opts.generatorOpts,\n },\n };\n\n for (const plugins of config.passes) {\n for (const plugin of plugins) {\n if (plugin.manipulateOptions) {\n plugin.manipulateOptions(options, options.parserOpts);\n }\n }\n }\n\n return options;\n}\n"],"mappings":";;;;;;AAAA,SAAAA,MAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,KAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAIe,SAASE,gBAAgBA,CACtCC,MAAsB,EACL;EACjB,MAAM;IACJC,QAAQ;IACR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R,OAAO,EAAE;MAC5B,IAAIQ,MAAM,CAACC,iBAAiB,EAAE;QAC5BD,MAAM,CAACC,iBAAiB,CAACpB,OAAO,EAAEA,OAAO,CAACS,UAAU,CAAC;MACvD;IACF;EACF;EAEA,OAAOT,OAAO;AAChB;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/plugin-pass.js b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/plugin-pass.js deleted file mode 100644 index 1b913070..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/plugin-pass.js +++ /dev/null @@ -1,48 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -class PluginPass { - constructor(file, key, options, isAsync) { - this._map = new Map(); - this.key = void 0; - this.file = void 0; - this.opts = void 0; - this.cwd = void 0; - this.filename = void 0; - this.isAsync = void 0; - this.key = key; - this.file = file; - this.opts = options || {}; - this.cwd = file.opts.cwd; - this.filename = file.opts.filename; - this.isAsync = isAsync; - } - set(key, val) { - this._map.set(key, val); - } - get(key) { - return this._map.get(key); - } - availableHelper(name, versionRange) { - return this.file.availableHelper(name, versionRange); - } - addHelper(name) { - return this.file.addHelper(name); - } - buildCodeFrameError(node, msg, _Error) { - return this.file.buildCodeFrameError(node, msg, _Error); - } -} -exports.default = PluginPass; -PluginPass.prototype.getModuleName = function getModuleName() { - return this.file.getModuleName(); -}; -PluginPass.prototype.addImport = function addImport() { - this.file.addImport(); -}; -0 && 0; - -//# sourceMappingURL=plugin-pass.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/plugin-pass.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/plugin-pass.js.map deleted file mode 100644 index 888f99eb..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/plugin-pass.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["PluginPass","constructor","file","key","options","isAsync","_map","Map","opts","cwd","filename","set","val","get","availableHelper","name","versionRange","addHelper","buildCodeFrameError","node","msg","_Error","exports","default","prototype","getModuleName","addImport"],"sources":["../../src/transformation/plugin-pass.ts"],"sourcesContent":["import type * as t from \"@babel/types\";\nimport type File from \"./file/file.ts\";\n\nexport default class PluginPass {\n _map = new Map();\n key: string | undefined | null;\n file: File;\n opts: Partial;\n\n /**\n * The working directory that Babel's programmatic options are loaded\n * relative to.\n */\n cwd: string;\n\n /** The absolute path of the file being compiled. */\n filename: string | void;\n\n /**\n * Is Babel executed in async mode or not.\n */\n isAsync: boolean;\n\n constructor(\n file: File,\n key: string | null,\n options: Options | undefined,\n isAsync: boolean,\n ) {\n this.key = key;\n this.file = file;\n this.opts = options || {};\n this.cwd = file.opts.cwd;\n this.filename = file.opts.filename;\n this.isAsync = isAsync;\n }\n\n set(key: unknown, val: unknown) {\n this._map.set(key, val);\n }\n\n get(key: unknown): any {\n return this._map.get(key);\n }\n\n availableHelper(name: string, versionRange?: string | null) {\n return this.file.availableHelper(name, versionRange);\n }\n\n addHelper(name: string) {\n return this.file.addHelper(name);\n }\n\n buildCodeFrameError(\n node: t.Node | undefined | null,\n msg: string,\n _Error?: typeof Error,\n ) {\n return this.file.buildCodeFrameError(node, msg, _Error);\n }\n}\n\nif (!process.env.BABEL_8_BREAKING) {\n (PluginPass as any).prototype.getModuleName = function getModuleName(\n this: PluginPass,\n ): string | undefined {\n // @ts-expect-error only exists in Babel 7\n return this.file.getModuleName();\n };\n (PluginPass as any).prototype.addImport = function addImport(\n this: PluginPass,\n ): void {\n // @ts-expect-error only exists in Babel 7\n this.file.addImport();\n };\n}\n"],"mappings":";;;;;;AAGe,MAAMA,UAAU,CAAmB;EAoBhDC,WAAWA,CACTC,IAAU,EACVC,GAAkB,EAClBC,OAA4B,EAC5BC,OAAgB,EAChB;IAAA,KAxBFC,IAAI,GAAG,IAAIC,GAAG,CAAmB,CAAC;IAAA,KAClCJ,GAAG;IAAA,KACHD,IAAI;IAAA,KACJM,IA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CAACxB,IAAI,CAACwB,SAAS,CAAC,CAAC;AACvB,CAAC;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/util/clone-deep.js b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/util/clone-deep.js deleted file mode 100644 index a915149d..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/util/clone-deep.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = _default; -const circleSet = new Set(); -let depth = 0; -function deepClone(value, cache, allowCircle) { - if (value !== null) { - if (allowCircle) { - if (cache.has(value)) return cache.get(value); - } else if (++depth > 250) { - if (circleSet.has(value)) { - depth = 0; - circleSet.clear(); - throw new Error("Babel-deepClone: Cycles are not allowed in AST"); - } - circleSet.add(value); - } - let cloned; - if (Array.isArray(value)) { - cloned = new Array(value.length); - if (allowCircle) cache.set(value, cloned); - for (let i = 0; i < value.length; i++) { - cloned[i] = typeof value[i] !== "object" ? value[i] : deepClone(value[i], cache, allowCircle); - } - } else { - cloned = {}; - if (allowCircle) cache.set(value, cloned); - const keys = Object.keys(value); - for (let i = 0; i < keys.length; i++) { - const key = keys[i]; - cloned[key] = typeof value[key] !== "object" ? value[key] : deepClone(value[key], cache, allowCircle || key === "leadingComments" || key === "innerComments" || key === "trailingComments" || key === "extra"); - } - } - if (!allowCircle) { - if (depth-- > 250) circleSet.delete(value); - } - return cloned; - } - return value; -} -function _default(value) { - if (typeof value !== "object") return value; - try { - return deepClone(value, new Map(), true); - } catch (_) { - return structuredClone(value); - } -} -0 && 0; - -//# sourceMappingURL=clone-deep.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/util/clone-deep.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/util/clone-deep.js.map deleted file mode 100644 index 947b6c9a..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/transformation/util/clone-deep.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["circleSet","Set","depth","deepClone","value","cache","allowCircle","has","get","clear","Error","add","cloned","Array","isArray","length","set","i","keys","Object","key","delete","_default","Map","_","structuredClone"],"sources":["../../../src/transformation/util/clone-deep.ts"],"sourcesContent":["const circleSet = new Set();\nlet depth = 0;\n// https://github.com/babel/babel/pull/14583#discussion_r882828856\nfunction deepClone(\n value: any,\n cache: Map,\n allowCircle: boolean,\n): any {\n if (value !== null) {\n if (allowCircle) {\n if (cache.has(value)) return cache.get(value);\n } else if (++depth > 250) {\n if (circleSet.has(value)) {\n depth = 0;\n circleSet.clear();\n throw new Error(\"Babel-deepClone: Cycles are not allowed in AST\");\n }\n circleSet.add(value);\n }\n let cloned: any;\n if (Array.isArray(value)) {\n cloned = new Array(value.length);\n if (allowCircle) cache.set(value, cloned);\n for (let i = 0; i < value.length; i++) {\n cloned[i] =\n typeof value[i] !== \"object\"\n ? value[i]\n : deepClone(value[i], cache, allowCircle);\n }\n } else {\n cloned = {};\n if (allowCircle) cache.set(value, cloned);\n const keys = Object.keys(value);\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n cloned[key] =\n typeof value[key] !== \"object\"\n ? value[key]\n : deepClone(\n value[key],\n cache,\n allowCircle ||\n key === \"leadingComments\" ||\n key === \"innerComments\" ||\n key === \"trailingComments\" ||\n key === \"extra\",\n );\n }\n }\n if (!allowCircle) {\n if (depth-- > 250) circleSet.delete(value);\n }\n return cloned;\n }\n return value;\n}\n\nexport default function (value: T): T {\n if (typeof value !== \"object\") return value;\n\n if (process.env.BABEL_8_BREAKING) {\n if (!process.env.IS_PUBLISH && depth > 0) {\n throw new Error(\"depth > 0\");\n }\n return deepClone(value, new Map(), false);\n } else {\n try {\n return deepClone(value, new Map(), true);\n } catch (_) {\n return structuredClone(value);\n }\n }\n}\n"],"mappings":";;;;;;AAAA,MAAMA,SAAS,GAAG,IAAIC,GAAG,CAAC,CAAC;AAC3B,IAAIC,KAAK,GAAG,CAA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EAAEA,CAAC,GAAGC,IAAI,CAACH,MAAM,EAAEE,CAAC,EAAE,EAAE;QACpC,MAAMG,GAAG,GAAGF,IAAI,CAACD,CAAC,CAAC;QACnBL,MAAM,CAACQ,GAAG,CAAC,GACT,OAAOhB,KAAK,CAACgB,GAAG,CAAC,KAAK,QAAQ,GAC1BhB,KAAK,CAACgB,GAAG,CAAC,GACVjB,SAAS,CACPC,KAAK,CAACgB,GAAG,CAAC,EACVf,KAAK,EACLC,WAAW,IACTc,GAAG,KAAK,iBAAiB,IACzBA,GAAG,KAAK,eAAe,IACvBA,GAAG,KAAK,kBAAkB,IAC1BA,GAAG,KAAK,OACZ,CAAC;MACT;IACF;IACA,IAAI,CAACd,WAAW,EAAE;MAChB,IAAIJ,KAAK,EAAE,GAAG,GAAG,EAAEF,SAAS,CAACqB,MAAM,CAACjB,KAAK,CAAC;IAC5C;IACA,OAAOQ,MAAM;EACf;EACA,OAAOR,KAAK;AACd;AAEe,SAAAkB,SAAalB,KAAQ,EAAK;EACvC,IAAI,OAAOA,KAAK,KAAK,QAAQ,EAAE,OAAOA,KAAK;EAQzC,IAAI;IACF,OAAOD,SAAS,CAACC,KAAK,EAAE,IAAImB,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC;EAC1C,CAAC,CAAC,OAAOC,CAAC,EAAE;IACV,OAAOC,eAAe,CAACrB,KAAK,CAAC;EAC/B;AAEJ;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/vendor/import-meta-resolve.js b/lambdas/risk-engine/node_modules/@babel/core/lib/vendor/import-meta-resolve.js deleted file mode 100644 index 90a5911b..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/vendor/import-meta-resolve.js +++ /dev/null @@ -1,1042 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.moduleResolve = moduleResolve; -exports.resolve = resolve; -function _assert() { - const data = require("assert"); - _assert = function () { - return data; - }; - return data; -} -function _fs() { - const data = _interopRequireWildcard(require("fs"), true); - _fs = function () { - return data; - }; - return data; -} -function _process() { - const data = require("process"); - _process = function () { - return data; - }; - return data; -} -function _url() { - const data = require("url"); - _url = function () { - return data; - }; - return data; -} -function _path() { - const data = require("path"); - _path = function () { - return data; - }; - return data; -} -function _module() { - const data = require("module"); - _module = function () { - return data; - }; - return data; -} -function _v() { - const data = require("v8"); - _v = function () { - return data; - }; - return data; -} -function _util() { - const data = require("util"); - _util = function () { - return data; - }; - return data; -} -function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); } -const own$1 = {}.hasOwnProperty; -const classRegExp = /^([A-Z][a-z\d]*)+$/; -const kTypes = new Set(['string', 'function', 'number', 'object', 'Function', 'Object', 'boolean', 'bigint', 'symbol']); -const codes = {}; -function formatList(array, type = 'and') { - return array.length < 3 ? array.join(` ${type} `) : `${array.slice(0, -1).join(', ')}, ${type} ${array[array.length - 1]}`; -} -const messages = new Map(); -const nodeInternalPrefix = '__node_internal_'; -let userStackTraceLimit; -codes.ERR_INVALID_ARG_TYPE = createError('ERR_INVALID_ARG_TYPE', (name, expected, actual) => { - _assert()(typeof name === 'string', "'name' must be a string"); - if (!Array.isArray(expected)) { - expected = [expected]; - } - let message = 'The '; - if (name.endsWith(' argument')) { - message += `${name} `; - } else { - const type = name.includes('.') ? 'property' : 'argument'; - message += `"${name}" ${type} `; - } - message += 'must be '; - const types = []; - const instances = []; - const other = []; - for (const value of expected) { - _assert()(typeof value === 'string', 'All expected entries have to be of type string'); - if (kTypes.has(value)) { - types.push(value.toLowerCase()); - } else if (classRegExp.exec(value) === null) { - _assert()(value !== 'object', 'The value "object" should be written as "Object"'); - other.push(value); - } else { - instances.push(value); - } - } - if (instances.length > 0) { - const pos = types.indexOf('object'); - if (pos !== -1) { - types.slice(pos, 1); - instances.push('Object'); - } - } - if (types.length > 0) { - message += `${types.length > 1 ? 'one of type' : 'of type'} ${formatList(types, 'or')}`; - if (instances.length > 0 || other.length > 0) message += ' or '; - } - if (instances.length > 0) { - message += `an instance of ${formatList(instances, 'or')}`; - if (other.length > 0) message += ' or '; - } - if (other.length > 0) { - if (other.length > 1) { - message += `one of ${formatList(other, 'or')}`; - } else { - if (other[0].toLowerCase() !== other[0]) message += 'an '; - message += `${other[0]}`; - } - } - message += `. Received ${determineSpecificType(actual)}`; - return message; -}, TypeError); -codes.ERR_INVALID_MODULE_SPECIFIER = createError('ERR_INVALID_MODULE_SPECIFIER', (request, reason, base = undefined) => { - return `Invalid module "${request}" ${reason}${base ? ` imported from ${base}` : ''}`; -}, TypeError); -codes.ERR_INVALID_PACKAGE_CONFIG = createError('ERR_INVALID_PACKAGE_CONFIG', (path, base, message) => { - return `Invalid package config ${path}${base ? ` while importing ${base}` : ''}${message ? `. ${message}` : ''}`; -}, Error); -codes.ERR_INVALID_PACKAGE_TARGET = createError('ERR_INVALID_PACKAGE_TARGET', (packagePath, key, target, isImport = false, base = undefined) => { - const relatedError = typeof target === 'string' && !isImport && target.length > 0 && !target.startsWith('./'); - if (key === '.') { - _assert()(isImport === false); - return `Invalid "exports" main target ${JSON.stringify(target)} defined ` + `in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ''}${relatedError ? '; targets must start with "./"' : ''}`; - } - return `Invalid "${isImport ? 'imports' : 'exports'}" target ${JSON.stringify(target)} defined for '${key}' in the package config ${packagePath}package.json${base ? ` imported from ${base}` : ''}${relatedError ? '; targets must start with "./"' : ''}`; -}, Error); -codes.ERR_MODULE_NOT_FOUND = createError('ERR_MODULE_NOT_FOUND', (path, base, exactUrl = false) => { - return `Cannot find ${exactUrl ? 'module' : 'package'} '${path}' imported from ${base}`; -}, Error); -codes.ERR_NETWORK_IMPORT_DISALLOWED = createError('ERR_NETWORK_IMPORT_DISALLOWED', "import of '%s' by %s is not supported: %s", Error); -codes.ERR_PACKAGE_IMPORT_NOT_DEFINED = createError('ERR_PACKAGE_IMPORT_NOT_DEFINED', (specifier, packagePath, base) => { - return `Package import specifier "${specifier}" is not defined${packagePath ? ` in package ${packagePath}package.json` : ''} imported from ${base}`; -}, TypeError); -codes.ERR_PACKAGE_PATH_NOT_EXPORTED = createError('ERR_PACKAGE_PATH_NOT_EXPORTED', (packagePath, subpath, base = undefined) => { - if (subpath === '.') return `No "exports" main defined in ${packagePath}package.json${base ? ` imported from ${base}` : ''}`; - return `Package subpath '${subpath}' is not defined by "exports" in ${packagePath}package.json${base ? ` imported from ${base}` : ''}`; -}, Error); -codes.ERR_UNSUPPORTED_DIR_IMPORT = createError('ERR_UNSUPPORTED_DIR_IMPORT', "Directory import '%s' is not supported " + 'resolving ES modules imported from %s', Error); -codes.ERR_UNSUPPORTED_RESOLVE_REQUEST = createError('ERR_UNSUPPORTED_RESOLVE_REQUEST', 'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.', TypeError); -codes.ERR_UNKNOWN_FILE_EXTENSION = createError('ERR_UNKNOWN_FILE_EXTENSION', (extension, path) => { - return `Unknown file extension "${extension}" for ${path}`; -}, TypeError); -codes.ERR_INVALID_ARG_VALUE = createError('ERR_INVALID_ARG_VALUE', (name, value, reason = 'is invalid') => { - let inspected = (0, _util().inspect)(value); - if (inspected.length > 128) { - inspected = `${inspected.slice(0, 128)}...`; - } - const type = name.includes('.') ? 'property' : 'argument'; - return `The ${type} '${name}' ${reason}. Received ${inspected}`; -}, TypeError); -function createError(sym, value, constructor) { - messages.set(sym, value); - return makeNodeErrorWithCode(constructor, sym); -} -function makeNodeErrorWithCode(Base, key) { - return NodeError; - function NodeError(...parameters) { - const limit = Error.stackTraceLimit; - if (isErrorStackTraceLimitWritable()) Error.stackTraceLimit = 0; - const error = new Base(); - if (isErrorStackTraceLimitWritable()) Error.stackTraceLimit = limit; - const message = getMessage(key, parameters, error); - Object.defineProperties(error, { - message: { - value: message, - enumerable: false, - writable: true, - configurable: true - }, - toString: { - value() { - return `${this.name} [${key}]: ${this.message}`; - }, - enumerable: false, - writable: true, - configurable: true - } - }); - captureLargerStackTrace(error); - error.code = key; - return error; - } -} -function isErrorStackTraceLimitWritable() { - try { - if (_v().startupSnapshot.isBuildingSnapshot()) { - return false; - } - } catch (_unused) {} - const desc = Object.getOwnPropertyDescriptor(Error, 'stackTraceLimit'); - if (desc === undefined) { - return Object.isExtensible(Error); - } - return own$1.call(desc, 'writable') && desc.writable !== undefined ? desc.writable : desc.set !== undefined; -} -function hideStackFrames(wrappedFunction) { - const hidden = nodeInternalPrefix + wrappedFunction.name; - Object.defineProperty(wrappedFunction, 'name', { - value: hidden - }); - return wrappedFunction; -} -const captureLargerStackTrace = hideStackFrames(function (error) { - const stackTraceLimitIsWritable = isErrorStackTraceLimitWritable(); - if (stackTraceLimitIsWritable) { - userStackTraceLimit = Error.stackTraceLimit; - Error.stackTraceLimit = Number.POSITIVE_INFINITY; - } - Error.captureStackTrace(error); - if (stackTraceLimitIsWritable) Error.stackTraceLimit = userStackTraceLimit; - return error; -}); -function getMessage(key, parameters, self) { - const message = messages.get(key); - _assert()(message !== undefined, 'expected `message` to be found'); - if (typeof message === 'function') { - _assert()(message.length <= parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not ` + `match the required ones (${message.length}).`); - return Reflect.apply(message, self, parameters); - } - const regex = /%[dfijoOs]/g; - let expectedLength = 0; - while (regex.exec(message) !== null) expectedLength++; - _assert()(expectedLength === parameters.length, `Code: ${key}; The provided arguments length (${parameters.length}) does not ` + `match the required ones (${expectedLength}).`); - if (parameters.length === 0) return message; - parameters.unshift(message); - return Reflect.apply(_util().format, null, parameters); -} -function determineSpecificType(value) { - if (value === null || value === undefined) { - return String(value); - } - if (typeof value === 'function' && value.name) { - return `function ${value.name}`; - } - if (typeof value === 'object') { - if (value.constructor && value.constructor.name) { - return `an instance of ${value.constructor.name}`; - } - return `${(0, _util().inspect)(value, { - depth: -1 - })}`; - } - let inspected = (0, _util().inspect)(value, { - colors: false - }); - if (inspected.length > 28) { - inspected = `${inspected.slice(0, 25)}...`; - } - return `type ${typeof value} (${inspected})`; -} -const hasOwnProperty$1 = {}.hasOwnProperty; -const { - ERR_INVALID_PACKAGE_CONFIG: ERR_INVALID_PACKAGE_CONFIG$1 -} = codes; -const cache = new Map(); -function read(jsonPath, { - base, - specifier -}) { - const existing = cache.get(jsonPath); - if (existing) { - return existing; - } - let string; - try { - string = _fs().default.readFileSync(_path().toNamespacedPath(jsonPath), 'utf8'); - } catch (error) { - const exception = error; - if (exception.code !== 'ENOENT') { - throw exception; - } - } - const result = { - exists: false, - pjsonPath: jsonPath, - main: undefined, - name: undefined, - type: 'none', - exports: undefined, - imports: undefined - }; - if (string !== undefined) { - let parsed; - try { - parsed = JSON.parse(string); - } catch (error_) { - const cause = error_; - const error = new ERR_INVALID_PACKAGE_CONFIG$1(jsonPath, (base ? `"${specifier}" from ` : '') + (0, _url().fileURLToPath)(base || specifier), cause.message); - error.cause = cause; - throw error; - } - result.exists = true; - if (hasOwnProperty$1.call(parsed, 'name') && typeof parsed.name === 'string') { - result.name = parsed.name; - } - if (hasOwnProperty$1.call(parsed, 'main') && typeof parsed.main === 'string') { - result.main = parsed.main; - } - if (hasOwnProperty$1.call(parsed, 'exports')) { - result.exports = parsed.exports; - } - if (hasOwnProperty$1.call(parsed, 'imports')) { - result.imports = parsed.imports; - } - if (hasOwnProperty$1.call(parsed, 'type') && (parsed.type === 'commonjs' || parsed.type === 'module')) { - result.type = parsed.type; - } - } - cache.set(jsonPath, result); - return result; -} -function getPackageScopeConfig(resolved) { - let packageJSONUrl = new URL('package.json', resolved); - while (true) { - const packageJSONPath = packageJSONUrl.pathname; - if (packageJSONPath.endsWith('node_modules/package.json')) { - break; - } - const packageConfig = read((0, _url().fileURLToPath)(packageJSONUrl), { - specifier: resolved - }); - if (packageConfig.exists) { - return packageConfig; - } - const lastPackageJSONUrl = packageJSONUrl; - packageJSONUrl = new URL('../package.json', packageJSONUrl); - if (packageJSONUrl.pathname === lastPackageJSONUrl.pathname) { - break; - } - } - const packageJSONPath = (0, _url().fileURLToPath)(packageJSONUrl); - return { - pjsonPath: packageJSONPath, - exists: false, - type: 'none' - }; -} -function getPackageType(url) { - return getPackageScopeConfig(url).type; -} -const { - ERR_UNKNOWN_FILE_EXTENSION -} = codes; -const hasOwnProperty = {}.hasOwnProperty; -const extensionFormatMap = { - __proto__: null, - '.cjs': 'commonjs', - '.js': 'module', - '.json': 'json', - '.mjs': 'module' -}; -function mimeToFormat(mime) { - if (mime && /\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(mime)) return 'module'; - if (mime === 'application/json') return 'json'; - return null; -} -const protocolHandlers = { - __proto__: null, - 'data:': getDataProtocolModuleFormat, - 'file:': getFileProtocolModuleFormat, - 'http:': getHttpProtocolModuleFormat, - 'https:': getHttpProtocolModuleFormat, - 'node:'() { - return 'builtin'; - } -}; -function getDataProtocolModuleFormat(parsed) { - const { - 1: mime - } = /^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(parsed.pathname) || [null, null, null]; - return mimeToFormat(mime); -} -function extname(url) { - const pathname = url.pathname; - let index = pathname.length; - while (index--) { - const code = pathname.codePointAt(index); - if (code === 47) { - return ''; - } - if (code === 46) { - return pathname.codePointAt(index - 1) === 47 ? '' : pathname.slice(index); - } - } - return ''; -} -function getFileProtocolModuleFormat(url, _context, ignoreErrors) { - const value = extname(url); - if (value === '.js') { - const packageType = getPackageType(url); - if (packageType !== 'none') { - return packageType; - } - return 'commonjs'; - } - if (value === '') { - const packageType = getPackageType(url); - if (packageType === 'none' || packageType === 'commonjs') { - return 'commonjs'; - } - return 'module'; - } - const format = extensionFormatMap[value]; - if (format) return format; - if (ignoreErrors) { - return undefined; - } - const filepath = (0, _url().fileURLToPath)(url); - throw new ERR_UNKNOWN_FILE_EXTENSION(value, filepath); -} -function getHttpProtocolModuleFormat() {} -function defaultGetFormatWithoutErrors(url, context) { - const protocol = url.protocol; - if (!hasOwnProperty.call(protocolHandlers, protocol)) { - return null; - } - return protocolHandlers[protocol](url, context, true) || null; -} -const { - ERR_INVALID_ARG_VALUE -} = codes; -const DEFAULT_CONDITIONS = Object.freeze(['node', 'import']); -const DEFAULT_CONDITIONS_SET = new Set(DEFAULT_CONDITIONS); -function getDefaultConditions() { - return DEFAULT_CONDITIONS; -} -function getDefaultConditionsSet() { - return DEFAULT_CONDITIONS_SET; -} -function getConditionsSet(conditions) { - if (conditions !== undefined && conditions !== getDefaultConditions()) { - if (!Array.isArray(conditions)) { - throw new ERR_INVALID_ARG_VALUE('conditions', conditions, 'expected an array'); - } - return new Set(conditions); - } - return getDefaultConditionsSet(); -} -const RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace]; -const { - ERR_NETWORK_IMPORT_DISALLOWED, - ERR_INVALID_MODULE_SPECIFIER, - ERR_INVALID_PACKAGE_CONFIG, - ERR_INVALID_PACKAGE_TARGET, - ERR_MODULE_NOT_FOUND, - ERR_PACKAGE_IMPORT_NOT_DEFINED, - ERR_PACKAGE_PATH_NOT_EXPORTED, - ERR_UNSUPPORTED_DIR_IMPORT, - ERR_UNSUPPORTED_RESOLVE_REQUEST -} = codes; -const own = {}.hasOwnProperty; -const invalidSegmentRegEx = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i; -const deprecatedInvalidSegmentRegEx = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i; -const invalidPackageNameRegEx = /^\.|%|\\/; -const patternRegEx = /\*/g; -const encodedSeparatorRegEx = /%2f|%5c/i; -const emittedPackageWarnings = new Set(); -const doubleSlashRegEx = /[/\\]{2}/; -function emitInvalidSegmentDeprecation(target, request, match, packageJsonUrl, internal, base, isTarget) { - if (_process().noDeprecation) { - return; - } - const pjsonPath = (0, _url().fileURLToPath)(packageJsonUrl); - const double = doubleSlashRegEx.exec(isTarget ? target : request) !== null; - _process().emitWarning(`Use of deprecated ${double ? 'double slash' : 'leading or trailing slash matching'} resolving "${target}" for module ` + `request "${request}" ${request === match ? '' : `matched to "${match}" `}in the "${internal ? 'imports' : 'exports'}" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${(0, _url().fileURLToPath)(base)}` : ''}.`, 'DeprecationWarning', 'DEP0166'); -} -function emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) { - if (_process().noDeprecation) { - return; - } - const format = defaultGetFormatWithoutErrors(url, { - parentURL: base.href - }); - if (format !== 'module') return; - const urlPath = (0, _url().fileURLToPath)(url.href); - const packagePath = (0, _url().fileURLToPath)(new (_url().URL)('.', packageJsonUrl)); - const basePath = (0, _url().fileURLToPath)(base); - if (!main) { - _process().emitWarning(`No "main" or "exports" field defined in the package.json for ${packagePath} resolving the main entry point "${urlPath.slice(packagePath.length)}", imported from ${basePath}.\nDefault "index" lookups for the main are deprecated for ES modules.`, 'DeprecationWarning', 'DEP0151'); - } else if (_path().resolve(packagePath, main) !== urlPath) { - _process().emitWarning(`Package ${packagePath} has a "main" field set to "${main}", ` + `excluding the full filename and extension to the resolved file at "${urlPath.slice(packagePath.length)}", imported from ${basePath}.\n Automatic extension resolution of the "main" field is ` + 'deprecated for ES modules.', 'DeprecationWarning', 'DEP0151'); - } -} -function tryStatSync(path) { - try { - return (0, _fs().statSync)(path); - } catch (_unused2) {} -} -function fileExists(url) { - const stats = (0, _fs().statSync)(url, { - throwIfNoEntry: false - }); - const isFile = stats ? stats.isFile() : undefined; - return isFile === null || isFile === undefined ? false : isFile; -} -function legacyMainResolve(packageJsonUrl, packageConfig, base) { - let guess; - if (packageConfig.main !== undefined) { - guess = new (_url().URL)(packageConfig.main, packageJsonUrl); - if (fileExists(guess)) return guess; - const tries = [`./${packageConfig.main}.js`, `./${packageConfig.main}.json`, `./${packageConfig.main}.node`, `./${packageConfig.main}/index.js`, `./${packageConfig.main}/index.json`, `./${packageConfig.main}/index.node`]; - let i = -1; - while (++i < tries.length) { - guess = new (_url().URL)(tries[i], packageJsonUrl); - if (fileExists(guess)) break; - guess = undefined; - } - if (guess) { - emitLegacyIndexDeprecation(guess, packageJsonUrl, base, packageConfig.main); - return guess; - } - } - const tries = ['./index.js', './index.json', './index.node']; - let i = -1; - while (++i < tries.length) { - guess = new (_url().URL)(tries[i], packageJsonUrl); - if (fileExists(guess)) break; - guess = undefined; - } - if (guess) { - emitLegacyIndexDeprecation(guess, packageJsonUrl, base, packageConfig.main); - return guess; - } - throw new ERR_MODULE_NOT_FOUND((0, _url().fileURLToPath)(new (_url().URL)('.', packageJsonUrl)), (0, _url().fileURLToPath)(base)); -} -function finalizeResolution(resolved, base, preserveSymlinks) { - if (encodedSeparatorRegEx.exec(resolved.pathname) !== null) { - throw new ERR_INVALID_MODULE_SPECIFIER(resolved.pathname, 'must not include encoded "/" or "\\" characters', (0, _url().fileURLToPath)(base)); - } - let filePath; - try { - filePath = (0, _url().fileURLToPath)(resolved); - } catch (error) { - const cause = error; - Object.defineProperty(cause, 'input', { - value: String(resolved) - }); - Object.defineProperty(cause, 'module', { - value: String(base) - }); - throw cause; - } - const stats = tryStatSync(filePath.endsWith('/') ? filePath.slice(-1) : filePath); - if (stats && stats.isDirectory()) { - const error = new ERR_UNSUPPORTED_DIR_IMPORT(filePath, (0, _url().fileURLToPath)(base)); - error.url = String(resolved); - throw error; - } - if (!stats || !stats.isFile()) { - const error = new ERR_MODULE_NOT_FOUND(filePath || resolved.pathname, base && (0, _url().fileURLToPath)(base), true); - error.url = String(resolved); - throw error; - } - if (!preserveSymlinks) { - const real = (0, _fs().realpathSync)(filePath); - const { - search, - hash - } = resolved; - resolved = (0, _url().pathToFileURL)(real + (filePath.endsWith(_path().sep) ? '/' : '')); - resolved.search = search; - resolved.hash = hash; - } - return resolved; -} -function importNotDefined(specifier, packageJsonUrl, base) { - return new ERR_PACKAGE_IMPORT_NOT_DEFINED(specifier, packageJsonUrl && (0, _url().fileURLToPath)(new (_url().URL)('.', packageJsonUrl)), (0, _url().fileURLToPath)(base)); -} -function exportsNotFound(subpath, packageJsonUrl, base) { - return new ERR_PACKAGE_PATH_NOT_EXPORTED((0, _url().fileURLToPath)(new (_url().URL)('.', packageJsonUrl)), subpath, base && (0, _url().fileURLToPath)(base)); -} -function throwInvalidSubpath(request, match, packageJsonUrl, internal, base) { - const reason = `request is not a valid match in pattern "${match}" for the "${internal ? 'imports' : 'exports'}" resolution of ${(0, _url().fileURLToPath)(packageJsonUrl)}`; - throw new ERR_INVALID_MODULE_SPECIFIER(request, reason, base && (0, _url().fileURLToPath)(base)); -} -function invalidPackageTarget(subpath, target, packageJsonUrl, internal, base) { - target = typeof target === 'object' && target !== null ? JSON.stringify(target, null, '') : `${target}`; - return new ERR_INVALID_PACKAGE_TARGET((0, _url().fileURLToPath)(new (_url().URL)('.', packageJsonUrl)), subpath, target, internal, base && (0, _url().fileURLToPath)(base)); -} -function resolvePackageTargetString(target, subpath, match, packageJsonUrl, base, pattern, internal, isPathMap, conditions) { - if (subpath !== '' && !pattern && target[target.length - 1] !== '/') throw invalidPackageTarget(match, target, packageJsonUrl, internal, base); - if (!target.startsWith('./')) { - if (internal && !target.startsWith('../') && !target.startsWith('/')) { - let isURL = false; - try { - new (_url().URL)(target); - isURL = true; - } catch (_unused3) {} - if (!isURL) { - const exportTarget = pattern ? RegExpPrototypeSymbolReplace.call(patternRegEx, target, () => subpath) : target + subpath; - return packageResolve(exportTarget, packageJsonUrl, conditions); - } - } - throw invalidPackageTarget(match, target, packageJsonUrl, internal, base); - } - if (invalidSegmentRegEx.exec(target.slice(2)) !== null) { - if (deprecatedInvalidSegmentRegEx.exec(target.slice(2)) === null) { - if (!isPathMap) { - const request = pattern ? match.replace('*', () => subpath) : match + subpath; - const resolvedTarget = pattern ? RegExpPrototypeSymbolReplace.call(patternRegEx, target, () => subpath) : target; - emitInvalidSegmentDeprecation(resolvedTarget, request, match, packageJsonUrl, internal, base, true); - } - } else { - throw invalidPackageTarget(match, target, packageJsonUrl, internal, base); - } - } - const resolved = new (_url().URL)(target, packageJsonUrl); - const resolvedPath = resolved.pathname; - const packagePath = new (_url().URL)('.', packageJsonUrl).pathname; - if (!resolvedPath.startsWith(packagePath)) throw invalidPackageTarget(match, target, packageJsonUrl, internal, base); - if (subpath === '') return resolved; - if (invalidSegmentRegEx.exec(subpath) !== null) { - const request = pattern ? match.replace('*', () => subpath) : match + subpath; - if (deprecatedInvalidSegmentRegEx.exec(subpath) === null) { - if (!isPathMap) { - const resolvedTarget = pattern ? RegExpPrototypeSymbolReplace.call(patternRegEx, target, () => subpath) : target; - emitInvalidSegmentDeprecation(resolvedTarget, request, match, packageJsonUrl, internal, base, false); - } - } else { - throwInvalidSubpath(request, match, packageJsonUrl, internal, base); - } - } - if (pattern) { - return new (_url().URL)(RegExpPrototypeSymbolReplace.call(patternRegEx, resolved.href, () => subpath)); - } - return new (_url().URL)(subpath, resolved); -} -function isArrayIndex(key) { - const keyNumber = Number(key); - if (`${keyNumber}` !== key) return false; - return keyNumber >= 0 && keyNumber < 0xffffffff; -} -function resolvePackageTarget(packageJsonUrl, target, subpath, packageSubpath, base, pattern, internal, isPathMap, conditions) { - if (typeof target === 'string') { - return resolvePackageTargetString(target, subpath, packageSubpath, packageJsonUrl, base, pattern, internal, isPathMap, conditions); - } - if (Array.isArray(target)) { - const targetList = target; - if (targetList.length === 0) return null; - let lastException; - let i = -1; - while (++i < targetList.length) { - const targetItem = targetList[i]; - let resolveResult; - try { - resolveResult = resolvePackageTarget(packageJsonUrl, targetItem, subpath, packageSubpath, base, pattern, internal, isPathMap, conditions); - } catch (error) { - const exception = error; - lastException = exception; - if (exception.code === 'ERR_INVALID_PACKAGE_TARGET') continue; - throw error; - } - if (resolveResult === undefined) continue; - if (resolveResult === null) { - lastException = null; - continue; - } - return resolveResult; - } - if (lastException === undefined || lastException === null) { - return null; - } - throw lastException; - } - if (typeof target === 'object' && target !== null) { - const keys = Object.getOwnPropertyNames(target); - let i = -1; - while (++i < keys.length) { - const key = keys[i]; - if (isArrayIndex(key)) { - throw new ERR_INVALID_PACKAGE_CONFIG((0, _url().fileURLToPath)(packageJsonUrl), base, '"exports" cannot contain numeric property keys.'); - } - } - i = -1; - while (++i < keys.length) { - const key = keys[i]; - if (key === 'default' || conditions && conditions.has(key)) { - const conditionalTarget = target[key]; - const resolveResult = resolvePackageTarget(packageJsonUrl, conditionalTarget, subpath, packageSubpath, base, pattern, internal, isPathMap, conditions); - if (resolveResult === undefined) continue; - return resolveResult; - } - } - return null; - } - if (target === null) { - return null; - } - throw invalidPackageTarget(packageSubpath, target, packageJsonUrl, internal, base); -} -function isConditionalExportsMainSugar(exports, packageJsonUrl, base) { - if (typeof exports === 'string' || Array.isArray(exports)) return true; - if (typeof exports !== 'object' || exports === null) return false; - const keys = Object.getOwnPropertyNames(exports); - let isConditionalSugar = false; - let i = 0; - let keyIndex = -1; - while (++keyIndex < keys.length) { - const key = keys[keyIndex]; - const currentIsConditionalSugar = key === '' || key[0] !== '.'; - if (i++ === 0) { - isConditionalSugar = currentIsConditionalSugar; - } else if (isConditionalSugar !== currentIsConditionalSugar) { - throw new ERR_INVALID_PACKAGE_CONFIG((0, _url().fileURLToPath)(packageJsonUrl), base, '"exports" cannot contain some keys starting with \'.\' and some not.' + ' The exports object must either be an object of package subpath keys' + ' or an object of main entry condition name keys only.'); - } - } - return isConditionalSugar; -} -function emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) { - if (_process().noDeprecation) { - return; - } - const pjsonPath = (0, _url().fileURLToPath)(pjsonUrl); - if (emittedPackageWarnings.has(pjsonPath + '|' + match)) return; - emittedPackageWarnings.add(pjsonPath + '|' + match); - _process().emitWarning(`Use of deprecated trailing slash pattern mapping "${match}" in the ` + `"exports" field module resolution of the package at ${pjsonPath}${base ? ` imported from ${(0, _url().fileURLToPath)(base)}` : ''}. Mapping specifiers ending in "/" is no longer supported.`, 'DeprecationWarning', 'DEP0155'); -} -function packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions) { - let exports = packageConfig.exports; - if (isConditionalExportsMainSugar(exports, packageJsonUrl, base)) { - exports = { - '.': exports - }; - } - if (own.call(exports, packageSubpath) && !packageSubpath.includes('*') && !packageSubpath.endsWith('/')) { - const target = exports[packageSubpath]; - const resolveResult = resolvePackageTarget(packageJsonUrl, target, '', packageSubpath, base, false, false, false, conditions); - if (resolveResult === null || resolveResult === undefined) { - throw exportsNotFound(packageSubpath, packageJsonUrl, base); - } - return resolveResult; - } - let bestMatch = ''; - let bestMatchSubpath = ''; - const keys = Object.getOwnPropertyNames(exports); - let i = -1; - while (++i < keys.length) { - const key = keys[i]; - const patternIndex = key.indexOf('*'); - if (patternIndex !== -1 && packageSubpath.startsWith(key.slice(0, patternIndex))) { - if (packageSubpath.endsWith('/')) { - emitTrailingSlashPatternDeprecation(packageSubpath, packageJsonUrl, base); - } - const patternTrailer = key.slice(patternIndex + 1); - if (packageSubpath.length >= key.length && packageSubpath.endsWith(patternTrailer) && patternKeyCompare(bestMatch, key) === 1 && key.lastIndexOf('*') === patternIndex) { - bestMatch = key; - bestMatchSubpath = packageSubpath.slice(patternIndex, packageSubpath.length - patternTrailer.length); - } - } - } - if (bestMatch) { - const target = exports[bestMatch]; - const resolveResult = resolvePackageTarget(packageJsonUrl, target, bestMatchSubpath, bestMatch, base, true, false, packageSubpath.endsWith('/'), conditions); - if (resolveResult === null || resolveResult === undefined) { - throw exportsNotFound(packageSubpath, packageJsonUrl, base); - } - return resolveResult; - } - throw exportsNotFound(packageSubpath, packageJsonUrl, base); -} -function patternKeyCompare(a, b) { - const aPatternIndex = a.indexOf('*'); - const bPatternIndex = b.indexOf('*'); - const baseLengthA = aPatternIndex === -1 ? a.length : aPatternIndex + 1; - const baseLengthB = bPatternIndex === -1 ? b.length : bPatternIndex + 1; - if (baseLengthA > baseLengthB) return -1; - if (baseLengthB > baseLengthA) return 1; - if (aPatternIndex === -1) return 1; - if (bPatternIndex === -1) return -1; - if (a.length > b.length) return -1; - if (b.length > a.length) return 1; - return 0; -} -function packageImportsResolve(name, base, conditions) { - if (name === '#' || name.startsWith('#/') || name.endsWith('/')) { - const reason = 'is not a valid internal imports specifier name'; - throw new ERR_INVALID_MODULE_SPECIFIER(name, reason, (0, _url().fileURLToPath)(base)); - } - let packageJsonUrl; - const packageConfig = getPackageScopeConfig(base); - if (packageConfig.exists) { - packageJsonUrl = (0, _url().pathToFileURL)(packageConfig.pjsonPath); - const imports = packageConfig.imports; - if (imports) { - if (own.call(imports, name) && !name.includes('*')) { - const resolveResult = resolvePackageTarget(packageJsonUrl, imports[name], '', name, base, false, true, false, conditions); - if (resolveResult !== null && resolveResult !== undefined) { - return resolveResult; - } - } else { - let bestMatch = ''; - let bestMatchSubpath = ''; - const keys = Object.getOwnPropertyNames(imports); - let i = -1; - while (++i < keys.length) { - const key = keys[i]; - const patternIndex = key.indexOf('*'); - if (patternIndex !== -1 && name.startsWith(key.slice(0, -1))) { - const patternTrailer = key.slice(patternIndex + 1); - if (name.length >= key.length && name.endsWith(patternTrailer) && patternKeyCompare(bestMatch, key) === 1 && key.lastIndexOf('*') === patternIndex) { - bestMatch = key; - bestMatchSubpath = name.slice(patternIndex, name.length - patternTrailer.length); - } - } - } - if (bestMatch) { - const target = imports[bestMatch]; - const resolveResult = resolvePackageTarget(packageJsonUrl, target, bestMatchSubpath, bestMatch, base, true, true, false, conditions); - if (resolveResult !== null && resolveResult !== undefined) { - return resolveResult; - } - } - } - } - } - throw importNotDefined(name, packageJsonUrl, base); -} -function parsePackageName(specifier, base) { - let separatorIndex = specifier.indexOf('/'); - let validPackageName = true; - let isScoped = false; - if (specifier[0] === '@') { - isScoped = true; - if (separatorIndex === -1 || specifier.length === 0) { - validPackageName = false; - } else { - separatorIndex = specifier.indexOf('/', separatorIndex + 1); - } - } - const packageName = separatorIndex === -1 ? specifier : specifier.slice(0, separatorIndex); - if (invalidPackageNameRegEx.exec(packageName) !== null) { - validPackageName = false; - } - if (!validPackageName) { - throw new ERR_INVALID_MODULE_SPECIFIER(specifier, 'is not a valid package name', (0, _url().fileURLToPath)(base)); - } - const packageSubpath = '.' + (separatorIndex === -1 ? '' : specifier.slice(separatorIndex)); - return { - packageName, - packageSubpath, - isScoped - }; -} -function packageResolve(specifier, base, conditions) { - if (_module().builtinModules.includes(specifier)) { - return new (_url().URL)('node:' + specifier); - } - const { - packageName, - packageSubpath, - isScoped - } = parsePackageName(specifier, base); - const packageConfig = getPackageScopeConfig(base); - if (packageConfig.exists) { - const packageJsonUrl = (0, _url().pathToFileURL)(packageConfig.pjsonPath); - if (packageConfig.name === packageName && packageConfig.exports !== undefined && packageConfig.exports !== null) { - return packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions); - } - } - let packageJsonUrl = new (_url().URL)('./node_modules/' + packageName + '/package.json', base); - let packageJsonPath = (0, _url().fileURLToPath)(packageJsonUrl); - let lastPath; - do { - const stat = tryStatSync(packageJsonPath.slice(0, -13)); - if (!stat || !stat.isDirectory()) { - lastPath = packageJsonPath; - packageJsonUrl = new (_url().URL)((isScoped ? '../../../../node_modules/' : '../../../node_modules/') + packageName + '/package.json', packageJsonUrl); - packageJsonPath = (0, _url().fileURLToPath)(packageJsonUrl); - continue; - } - const packageConfig = read(packageJsonPath, { - base, - specifier - }); - if (packageConfig.exports !== undefined && packageConfig.exports !== null) { - return packageExportsResolve(packageJsonUrl, packageSubpath, packageConfig, base, conditions); - } - if (packageSubpath === '.') { - return legacyMainResolve(packageJsonUrl, packageConfig, base); - } - return new (_url().URL)(packageSubpath, packageJsonUrl); - } while (packageJsonPath.length !== lastPath.length); - throw new ERR_MODULE_NOT_FOUND(packageName, (0, _url().fileURLToPath)(base), false); -} -function isRelativeSpecifier(specifier) { - if (specifier[0] === '.') { - if (specifier.length === 1 || specifier[1] === '/') return true; - if (specifier[1] === '.' && (specifier.length === 2 || specifier[2] === '/')) { - return true; - } - } - return false; -} -function shouldBeTreatedAsRelativeOrAbsolutePath(specifier) { - if (specifier === '') return false; - if (specifier[0] === '/') return true; - return isRelativeSpecifier(specifier); -} -function moduleResolve(specifier, base, conditions, preserveSymlinks) { - const protocol = base.protocol; - const isData = protocol === 'data:'; - const isRemote = isData || protocol === 'http:' || protocol === 'https:'; - let resolved; - if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) { - try { - resolved = new (_url().URL)(specifier, base); - } catch (error_) { - const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base); - error.cause = error_; - throw error; - } - } else if (protocol === 'file:' && specifier[0] === '#') { - resolved = packageImportsResolve(specifier, base, conditions); - } else { - try { - resolved = new (_url().URL)(specifier); - } catch (error_) { - if (isRemote && !_module().builtinModules.includes(specifier)) { - const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base); - error.cause = error_; - throw error; - } - resolved = packageResolve(specifier, base, conditions); - } - } - _assert()(resolved !== undefined, 'expected to be defined'); - if (resolved.protocol !== 'file:') { - return resolved; - } - return finalizeResolution(resolved, base, preserveSymlinks); -} -function checkIfDisallowedImport(specifier, parsed, parsedParentURL) { - if (parsedParentURL) { - const parentProtocol = parsedParentURL.protocol; - if (parentProtocol === 'http:' || parentProtocol === 'https:') { - if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) { - const parsedProtocol = parsed == null ? void 0 : parsed.protocol; - if (parsedProtocol && parsedProtocol !== 'https:' && parsedProtocol !== 'http:') { - throw new ERR_NETWORK_IMPORT_DISALLOWED(specifier, parsedParentURL, 'remote imports cannot import from a local location.'); - } - return { - url: (parsed == null ? void 0 : parsed.href) || '' - }; - } - if (_module().builtinModules.includes(specifier)) { - throw new ERR_NETWORK_IMPORT_DISALLOWED(specifier, parsedParentURL, 'remote imports cannot import from a local location.'); - } - throw new ERR_NETWORK_IMPORT_DISALLOWED(specifier, parsedParentURL, 'only relative and absolute specifiers are supported.'); - } - } -} -function isURL(self) { - return Boolean(self && typeof self === 'object' && 'href' in self && typeof self.href === 'string' && 'protocol' in self && typeof self.protocol === 'string' && self.href && self.protocol); -} -function throwIfInvalidParentURL(parentURL) { - if (parentURL === undefined) { - return; - } - if (typeof parentURL !== 'string' && !isURL(parentURL)) { - throw new codes.ERR_INVALID_ARG_TYPE('parentURL', ['string', 'URL'], parentURL); - } -} -function defaultResolve(specifier, context = {}) { - const { - parentURL - } = context; - _assert()(parentURL !== undefined, 'expected `parentURL` to be defined'); - throwIfInvalidParentURL(parentURL); - let parsedParentURL; - if (parentURL) { - try { - parsedParentURL = new (_url().URL)(parentURL); - } catch (_unused4) {} - } - let parsed; - let protocol; - try { - parsed = shouldBeTreatedAsRelativeOrAbsolutePath(specifier) ? new (_url().URL)(specifier, parsedParentURL) : new (_url().URL)(specifier); - protocol = parsed.protocol; - if (protocol === 'data:') { - return { - url: parsed.href, - format: null - }; - } - } catch (_unused5) {} - const maybeReturn = checkIfDisallowedImport(specifier, parsed, parsedParentURL); - if (maybeReturn) return maybeReturn; - if (protocol === undefined && parsed) { - protocol = parsed.protocol; - } - if (protocol === 'node:') { - return { - url: specifier - }; - } - if (parsed && parsed.protocol === 'node:') return { - url: specifier - }; - const conditions = getConditionsSet(context.conditions); - const url = moduleResolve(specifier, new (_url().URL)(parentURL), conditions, false); - return { - url: url.href, - format: defaultGetFormatWithoutErrors(url, { - parentURL - }) - }; -} -function resolve(specifier, parent) { - if (!parent) { - throw new Error('Please pass `parent`: `import-meta-resolve` cannot ponyfill that'); - } - try { - return defaultResolve(specifier, { - parentURL: parent - }).url; - } catch (error) { - const exception = error; - if ((exception.code === 'ERR_UNSUPPORTED_DIR_IMPORT' || exception.code === 'ERR_MODULE_NOT_FOUND') && typeof exception.url === 'string') { - return exception.url; - } - throw error; - } -} -0 && 0; - -//# sourceMappingURL=import-meta-resolve.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/core/lib/vendor/import-meta-resolve.js.map b/lambdas/risk-engine/node_modules/@babel/core/lib/vendor/import-meta-resolve.js.map deleted file mode 100644 index d9e5b427..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/lib/vendor/import-meta-resolve.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_assert","data","require","_fs","_interopRequireWildcard","_process","_url","_path","_module","_v","_util","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","own$1","classRegExp","kTypes","Set","codes","formatList","array","type","length","join","slice","messages","Map","nodeInternalPrefix","userStackTraceLimit","ERR_INVALID_ARG_TYPE","createError","name","expected","actual","assert","Array","isArray","message","endsWith","includes","types","instances","other","value","push","toLowerCase","exec","pos","indexOf","determineSpecificType","TypeError","ERR_INVALID_MODULE_SPECIFIER","request","reason","base","undefined","ERR_INVALID_PACKAGE_CONFIG","path","Error","ERR_INVALID_PACKAGE_TARGET","packagePath","key","target","isImport","relatedError","startsWith","JSON","stringify","ERR_MODULE_NOT_FOUND","exactUrl","ERR_NETWORK_IMPORT_DISALLOWED","ERR_PACKAGE_IMPORT_NOT_DEFINED","specifier","ERR_PACKAGE_PATH_NOT_EXPORTED","subpath","ERR_UNSUPPORTED_DIR_IMPORT","ERR_UNSUPPORTED_RESOLVE_REQUEST","ERR_UNKNOWN_FILE_EXTENSION","extension","ERR_INVALID_ARG_VALUE","inspected","inspect","sym","constructor","makeNodeErrorWithCode","Base","NodeError","parameters","limit","stackTraceLimit","isErrorStackTraceLimitWritable","error","getMessage","defineProperties","enumerable","writable","configurable","toString","captureLargerStackTrace","code","v8","startupSnapshot","isBuildingSnapshot","_unused","desc","isExtensible","hideStackFrames","wrappedFunction","hidden","stackTraceLimitIsWritable","Number","POSITIVE_INFINITY","captureStackTrace","self","Reflect","apply","regex","expectedLength","unshift","format","String","depth","colors","hasOwnProperty$1","ERR_INVALID_PACKAGE_CONFIG$1","cache","read","jsonPath","existing","string","fs","readFileSync","toNamespacedPath","exception","result","exists","pjsonPath","main","exports","imports","parsed","parse","error_","cause","fileURLToPath","getPackageScopeConfig","resolved","packageJSONUrl","URL","packageJSONPath","pathname","packageConfig","lastPackageJSONUrl","getPackageType","url","extensionFormatMap","mimeToFormat","mime","test","protocolHandlers","getDataProtocolModuleFormat","getFileProtocolModuleFormat","getHttpProtocolModuleFormat","node:","extname","index","codePointAt","_context","ignoreErrors","packageType","filepath","defaultGetFormatWithoutErrors","context","protocol","DEFAULT_CONDITIONS","freeze","DEFAULT_CONDITIONS_SET","getDefaultConditions","getDefaultConditionsSet","getConditionsSet","conditions","RegExpPrototypeSymbolReplace","RegExp","prototype","Symbol","replace","own","invalidSegmentRegEx","deprecatedInvalidSegmentRegEx","invalidPackageNameRegEx","patternRegEx","encodedSeparatorRegEx","emittedPackageWarnings","doubleSlashRegEx","emitInvalidSegmentDeprecation","match","packageJsonUrl","internal","isTarget","process","noDeprecation","double","emitWarning","emitLegacyIndexDeprecation","parentURL","href","urlPath","URL$1","basePath","resolve","tryStatSync","statSync","_unused2","fileExists","stats","throwIfNoEntry","isFile","legacyMainResolve","guess","tries","finalizeResolution","preserveSymlinks","filePath","isDirectory","real","realpathSync","search","hash","pathToFileURL","sep","importNotDefined","exportsNotFound","throwInvalidSubpath","invalidPackageTarget","resolvePackageTargetString","pattern","isPathMap","isURL","_unused3","exportTarget","packageResolve","resolvedTarget","resolvedPath","isArrayIndex","keyNumber","resolvePackageTarget","packageSubpath","targetList","lastException","targetItem","resolveResult","keys","getOwnPropertyNames","conditionalTarget","isConditionalExportsMainSugar","isConditionalSugar","keyIndex","currentIsConditionalSugar","emitTrailingSlashPatternDeprecation","pjsonUrl","add","packageExportsResolve","bestMatch","bestMatchSubpath","patternIndex","patternTrailer","patternKeyCompare","lastIndexOf","a","b","aPatternIndex","bPatternIndex","baseLengthA","baseLengthB","packageImportsResolve","parsePackageName","separatorIndex","validPackageName","isScoped","packageName","builtinModules","packageJsonPath","lastPath","stat","isRelativeSpecifier","shouldBeTreatedAsRelativeOrAbsolutePath","moduleResolve","isData","isRemote","checkIfDisallowedImport","parsedParentURL","parentProtocol","parsedProtocol","Boolean","throwIfInvalidParentURL","defaultResolve","_unused4","_unused5","maybeReturn","parent"],"sources":["../../src/vendor/import-meta-resolve.js"],"sourcesContent":["\n/****************************************************************************\\\n * NOTE FROM BABEL AUTHORS *\n * This file is inlined from https://github.com/wooorm/import-meta-resolve, *\n * because we need to compile it to CommonJS. *\n\\****************************************************************************/\n\n/*\n(The MIT License)\n\nCopyright (c) 2021 Titus Wormer \n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n---\n\nThis is a derivative work based on:\n.\nWhich is licensed:\n\n\"\"\"\nCopyright Node.js contributors. All rights reserved.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to\ndeal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or\nsell copies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\nIN THE SOFTWARE.\n\"\"\"\n\nThis license applies to parts of Node.js originating from the\nhttps://github.com/joyent/node repository:\n\n\"\"\"\nCopyright Joyent, Inc. and other Node contributors. All rights reserved.\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to\ndeal in the Software without restriction, including without limitation the\nrights to use, copy, modify, merge, publish, distribute, sublicense, and/or\nsell copies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\nIN THE SOFTWARE.\n\"\"\"\n*/\n\nimport assert from 'assert';\nimport fs, { realpathSync, statSync } from 'fs';\nimport process from 'process';\nimport { fileURLToPath, URL as URL$1, pathToFileURL } from 'url';\nimport path from 'path';\nimport { builtinModules } from 'module';\nimport v8 from 'v8';\nimport { format, inspect } from 'util';\n\n/**\n * @typedef ErrnoExceptionFields\n * @property {number | undefined} [errnode]\n * @property {string | undefined} [code]\n * @property {string | undefined} [path]\n * @property {string | undefined} [syscall]\n * @property {string | undefined} [url]\n *\n * @typedef {Error & ErrnoExceptionFields} ErrnoException\n */\n\n\nconst own$1 = {}.hasOwnProperty;\n\nconst classRegExp = /^([A-Z][a-z\\d]*)+$/;\n// Sorted by a rough estimate on most frequently used entries.\nconst kTypes = new Set([\n 'string',\n 'function',\n 'number',\n 'object',\n // Accept 'Function' and 'Object' as alternative to the lower cased version.\n 'Function',\n 'Object',\n 'boolean',\n 'bigint',\n 'symbol'\n]);\n\nconst codes = {};\n\n/**\n * Create a list string in the form like 'A and B' or 'A, B, ..., and Z'.\n * We cannot use Intl.ListFormat because it's not available in\n * --without-intl builds.\n *\n * @param {Array} array\n * An array of strings.\n * @param {string} [type]\n * The list type to be inserted before the last element.\n * @returns {string}\n */\nfunction formatList(array, type = 'and') {\n return array.length < 3\n ? array.join(` ${type} `)\n : `${array.slice(0, -1).join(', ')}, ${type} ${array[array.length - 1]}`\n}\n\n/** @type {Map} */\nconst messages = new Map();\nconst nodeInternalPrefix = '__node_internal_';\n/** @type {number} */\nlet userStackTraceLimit;\n\ncodes.ERR_INVALID_ARG_TYPE = createError(\n 'ERR_INVALID_ARG_TYPE',\n /**\n * @param {string} name\n * @param {Array | string} expected\n * @param {unknown} actual\n */\n (name, expected, actual) => {\n assert(typeof name === 'string', \"'name' must be a string\");\n if (!Array.isArray(expected)) {\n expected = [expected];\n }\n\n let message = 'The ';\n if (name.endsWith(' argument')) {\n // For cases like 'first argument'\n message += `${name} `;\n } else {\n const type = name.includes('.') ? 'property' : 'argument';\n message += `\"${name}\" ${type} `;\n }\n\n message += 'must be ';\n\n /** @type {Array} */\n const types = [];\n /** @type {Array} */\n const instances = [];\n /** @type {Array} */\n const other = [];\n\n for (const value of expected) {\n assert(\n typeof value === 'string',\n 'All expected entries have to be of type string'\n );\n\n if (kTypes.has(value)) {\n types.push(value.toLowerCase());\n } else if (classRegExp.exec(value) === null) {\n assert(\n value !== 'object',\n 'The value \"object\" should be written as \"Object\"'\n );\n other.push(value);\n } else {\n instances.push(value);\n }\n }\n\n // Special handle `object` in case other instances are allowed to outline\n // the differences between each other.\n if (instances.length > 0) {\n const pos = types.indexOf('object');\n if (pos !== -1) {\n types.slice(pos, 1);\n instances.push('Object');\n }\n }\n\n if (types.length > 0) {\n message += `${types.length > 1 ? 'one of type' : 'of type'} ${formatList(\n types,\n 'or'\n )}`;\n if (instances.length > 0 || other.length > 0) message += ' or ';\n }\n\n if (instances.length > 0) {\n message += `an instance of ${formatList(instances, 'or')}`;\n if (other.length > 0) message += ' or ';\n }\n\n if (other.length > 0) {\n if (other.length > 1) {\n message += `one of ${formatList(other, 'or')}`;\n } else {\n if (other[0].toLowerCase() !== other[0]) message += 'an ';\n message += `${other[0]}`;\n }\n }\n\n message += `. Received ${determineSpecificType(actual)}`;\n\n return message\n },\n TypeError\n);\n\ncodes.ERR_INVALID_MODULE_SPECIFIER = createError(\n 'ERR_INVALID_MODULE_SPECIFIER',\n /**\n * @param {string} request\n * @param {string} reason\n * @param {string} [base]\n */\n (request, reason, base = undefined) => {\n return `Invalid module \"${request}\" ${reason}${\n base ? ` imported from ${base}` : ''\n }`\n },\n TypeError\n);\n\ncodes.ERR_INVALID_PACKAGE_CONFIG = createError(\n 'ERR_INVALID_PACKAGE_CONFIG',\n /**\n * @param {string} path\n * @param {string} [base]\n * @param {string} [message]\n */\n (path, base, message) => {\n return `Invalid package config ${path}${\n base ? ` while importing ${base}` : ''\n }${message ? `. ${message}` : ''}`\n },\n Error\n);\n\ncodes.ERR_INVALID_PACKAGE_TARGET = createError(\n 'ERR_INVALID_PACKAGE_TARGET',\n /**\n * @param {string} packagePath\n * @param {string} key\n * @param {unknown} target\n * @param {boolean} [isImport=false]\n * @param {string} [base]\n */\n (packagePath, key, target, isImport = false, base = undefined) => {\n const relatedError =\n typeof target === 'string' &&\n !isImport &&\n target.length > 0 &&\n !target.startsWith('./');\n if (key === '.') {\n assert(isImport === false);\n return (\n `Invalid \"exports\" main target ${JSON.stringify(target)} defined ` +\n `in the package config ${packagePath}package.json${\n base ? ` imported from ${base}` : ''\n }${relatedError ? '; targets must start with \"./\"' : ''}`\n )\n }\n\n return `Invalid \"${\n isImport ? 'imports' : 'exports'\n }\" target ${JSON.stringify(\n target\n )} defined for '${key}' in the package config ${packagePath}package.json${\n base ? ` imported from ${base}` : ''\n }${relatedError ? '; targets must start with \"./\"' : ''}`\n },\n Error\n);\n\ncodes.ERR_MODULE_NOT_FOUND = createError(\n 'ERR_MODULE_NOT_FOUND',\n /**\n * @param {string} path\n * @param {string} base\n * @param {boolean} [exactUrl]\n */\n (path, base, exactUrl = false) => {\n return `Cannot find ${\n exactUrl ? 'module' : 'package'\n } '${path}' imported from ${base}`\n },\n Error\n);\n\ncodes.ERR_NETWORK_IMPORT_DISALLOWED = createError(\n 'ERR_NETWORK_IMPORT_DISALLOWED',\n \"import of '%s' by %s is not supported: %s\",\n Error\n);\n\ncodes.ERR_PACKAGE_IMPORT_NOT_DEFINED = createError(\n 'ERR_PACKAGE_IMPORT_NOT_DEFINED',\n /**\n * @param {string} specifier\n * @param {string} packagePath\n * @param {string} base\n */\n (specifier, packagePath, base) => {\n return `Package import specifier \"${specifier}\" is not defined${\n packagePath ? ` in package ${packagePath}package.json` : ''\n } imported from ${base}`\n },\n TypeError\n);\n\ncodes.ERR_PACKAGE_PATH_NOT_EXPORTED = createError(\n 'ERR_PACKAGE_PATH_NOT_EXPORTED',\n /**\n * @param {string} packagePath\n * @param {string} subpath\n * @param {string} [base]\n */\n (packagePath, subpath, base = undefined) => {\n if (subpath === '.')\n return `No \"exports\" main defined in ${packagePath}package.json${\n base ? ` imported from ${base}` : ''\n }`\n return `Package subpath '${subpath}' is not defined by \"exports\" in ${packagePath}package.json${\n base ? ` imported from ${base}` : ''\n }`\n },\n Error\n);\n\ncodes.ERR_UNSUPPORTED_DIR_IMPORT = createError(\n 'ERR_UNSUPPORTED_DIR_IMPORT',\n \"Directory import '%s' is not supported \" +\n 'resolving ES modules imported from %s',\n Error\n);\n\ncodes.ERR_UNSUPPORTED_RESOLVE_REQUEST = createError(\n 'ERR_UNSUPPORTED_RESOLVE_REQUEST',\n 'Failed to resolve module specifier \"%s\" from \"%s\": Invalid relative URL or base scheme is not hierarchical.',\n TypeError\n);\n\ncodes.ERR_UNKNOWN_FILE_EXTENSION = createError(\n 'ERR_UNKNOWN_FILE_EXTENSION',\n /**\n * @param {string} extension\n * @param {string} path\n */\n (extension, path) => {\n return `Unknown file extension \"${extension}\" for ${path}`\n },\n TypeError\n);\n\ncodes.ERR_INVALID_ARG_VALUE = createError(\n 'ERR_INVALID_ARG_VALUE',\n /**\n * @param {string} name\n * @param {unknown} value\n * @param {string} [reason='is invalid']\n */\n (name, value, reason = 'is invalid') => {\n let inspected = inspect(value);\n\n if (inspected.length > 128) {\n inspected = `${inspected.slice(0, 128)}...`;\n }\n\n const type = name.includes('.') ? 'property' : 'argument';\n\n return `The ${type} '${name}' ${reason}. Received ${inspected}`\n },\n TypeError\n // Note: extra classes have been shaken out.\n // , RangeError\n);\n\n/**\n * Utility function for registering the error codes. Only used here. Exported\n * *only* to allow for testing.\n * @param {string} sym\n * @param {MessageFunction | string} value\n * @param {ErrorConstructor} constructor\n * @returns {new (...parameters: Array) => Error}\n */\nfunction createError(sym, value, constructor) {\n // Special case for SystemError that formats the error message differently\n // The SystemErrors only have SystemError as their base classes.\n messages.set(sym, value);\n\n return makeNodeErrorWithCode(constructor, sym)\n}\n\n/**\n * @param {ErrorConstructor} Base\n * @param {string} key\n * @returns {ErrorConstructor}\n */\nfunction makeNodeErrorWithCode(Base, key) {\n // @ts-expect-error It’s a Node error.\n return NodeError\n /**\n * @param {Array} parameters\n */\n function NodeError(...parameters) {\n const limit = Error.stackTraceLimit;\n if (isErrorStackTraceLimitWritable()) Error.stackTraceLimit = 0;\n const error = new Base();\n // Reset the limit and setting the name property.\n if (isErrorStackTraceLimitWritable()) Error.stackTraceLimit = limit;\n const message = getMessage(key, parameters, error);\n Object.defineProperties(error, {\n // Note: no need to implement `kIsNodeError` symbol, would be hard,\n // probably.\n message: {\n value: message,\n enumerable: false,\n writable: true,\n configurable: true\n },\n toString: {\n /** @this {Error} */\n value() {\n return `${this.name} [${key}]: ${this.message}`\n },\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n\n captureLargerStackTrace(error);\n // @ts-expect-error It’s a Node error.\n error.code = key;\n return error\n }\n}\n\n/**\n * @returns {boolean}\n */\nfunction isErrorStackTraceLimitWritable() {\n // Do no touch Error.stackTraceLimit as V8 would attempt to install\n // it again during deserialization.\n try {\n if (v8.startupSnapshot.isBuildingSnapshot()) {\n return false\n }\n } catch {}\n\n const desc = Object.getOwnPropertyDescriptor(Error, 'stackTraceLimit');\n if (desc === undefined) {\n return Object.isExtensible(Error)\n }\n\n return own$1.call(desc, 'writable') && desc.writable !== undefined\n ? desc.writable\n : desc.set !== undefined\n}\n\n/**\n * This function removes unnecessary frames from Node.js core errors.\n * @template {(...parameters: unknown[]) => unknown} T\n * @param {T} wrappedFunction\n * @returns {T}\n */\nfunction hideStackFrames(wrappedFunction) {\n // We rename the functions that will be hidden to cut off the stacktrace\n // at the outermost one\n const hidden = nodeInternalPrefix + wrappedFunction.name;\n Object.defineProperty(wrappedFunction, 'name', {value: hidden});\n return wrappedFunction\n}\n\nconst captureLargerStackTrace = hideStackFrames(\n /**\n * @param {Error} error\n * @returns {Error}\n */\n // @ts-expect-error: fine\n function (error) {\n const stackTraceLimitIsWritable = isErrorStackTraceLimitWritable();\n if (stackTraceLimitIsWritable) {\n userStackTraceLimit = Error.stackTraceLimit;\n Error.stackTraceLimit = Number.POSITIVE_INFINITY;\n }\n\n Error.captureStackTrace(error);\n\n // Reset the limit\n if (stackTraceLimitIsWritable) Error.stackTraceLimit = userStackTraceLimit;\n\n return error\n }\n);\n\n/**\n * @param {string} key\n * @param {Array} parameters\n * @param {Error} self\n * @returns {string}\n */\nfunction getMessage(key, parameters, self) {\n const message = messages.get(key);\n assert(message !== undefined, 'expected `message` to be found');\n\n if (typeof message === 'function') {\n assert(\n message.length <= parameters.length, // Default options do not count.\n `Code: ${key}; The provided arguments length (${parameters.length}) does not ` +\n `match the required ones (${message.length}).`\n );\n return Reflect.apply(message, self, parameters)\n }\n\n const regex = /%[dfijoOs]/g;\n let expectedLength = 0;\n while (regex.exec(message) !== null) expectedLength++;\n assert(\n expectedLength === parameters.length,\n `Code: ${key}; The provided arguments length (${parameters.length}) does not ` +\n `match the required ones (${expectedLength}).`\n );\n if (parameters.length === 0) return message\n\n parameters.unshift(message);\n return Reflect.apply(format, null, parameters)\n}\n\n/**\n * Determine the specific type of a value for type-mismatch errors.\n * @param {unknown} value\n * @returns {string}\n */\nfunction determineSpecificType(value) {\n if (value === null || value === undefined) {\n return String(value)\n }\n\n if (typeof value === 'function' && value.name) {\n return `function ${value.name}`\n }\n\n if (typeof value === 'object') {\n if (value.constructor && value.constructor.name) {\n return `an instance of ${value.constructor.name}`\n }\n\n return `${inspect(value, {depth: -1})}`\n }\n\n let inspected = inspect(value, {colors: false});\n\n if (inspected.length > 28) {\n inspected = `${inspected.slice(0, 25)}...`;\n }\n\n return `type ${typeof value} (${inspected})`\n}\n\n// Manually “tree shaken” from:\n// \n// Last checked on: Apr 29, 2023.\n// Removed the native dependency.\n// Also: no need to cache, we do that in resolve already.\n\n\nconst hasOwnProperty$1 = {}.hasOwnProperty;\n\nconst {ERR_INVALID_PACKAGE_CONFIG: ERR_INVALID_PACKAGE_CONFIG$1} = codes;\n\n/** @type {Map} */\nconst cache = new Map();\n\n/**\n * @param {string} jsonPath\n * @param {{specifier: URL | string, base?: URL}} options\n * @returns {PackageConfig}\n */\nfunction read(jsonPath, {base, specifier}) {\n const existing = cache.get(jsonPath);\n\n if (existing) {\n return existing\n }\n\n /** @type {string | undefined} */\n let string;\n\n try {\n string = fs.readFileSync(path.toNamespacedPath(jsonPath), 'utf8');\n } catch (error) {\n const exception = /** @type {ErrnoException} */ (error);\n\n if (exception.code !== 'ENOENT') {\n throw exception\n }\n }\n\n /** @type {PackageConfig} */\n const result = {\n exists: false,\n pjsonPath: jsonPath,\n main: undefined,\n name: undefined,\n type: 'none', // Ignore unknown types for forwards compatibility\n exports: undefined,\n imports: undefined\n };\n\n if (string !== undefined) {\n /** @type {Record} */\n let parsed;\n\n try {\n parsed = JSON.parse(string);\n } catch (error_) {\n const cause = /** @type {ErrnoException} */ (error_);\n const error = new ERR_INVALID_PACKAGE_CONFIG$1(\n jsonPath,\n (base ? `\"${specifier}\" from ` : '') + fileURLToPath(base || specifier),\n cause.message\n );\n error.cause = cause;\n throw error\n }\n\n result.exists = true;\n\n if (\n hasOwnProperty$1.call(parsed, 'name') &&\n typeof parsed.name === 'string'\n ) {\n result.name = parsed.name;\n }\n\n if (\n hasOwnProperty$1.call(parsed, 'main') &&\n typeof parsed.main === 'string'\n ) {\n result.main = parsed.main;\n }\n\n if (hasOwnProperty$1.call(parsed, 'exports')) {\n // @ts-expect-error: assume valid.\n result.exports = parsed.exports;\n }\n\n if (hasOwnProperty$1.call(parsed, 'imports')) {\n // @ts-expect-error: assume valid.\n result.imports = parsed.imports;\n }\n\n // Ignore unknown types for forwards compatibility\n if (\n hasOwnProperty$1.call(parsed, 'type') &&\n (parsed.type === 'commonjs' || parsed.type === 'module')\n ) {\n result.type = parsed.type;\n }\n }\n\n cache.set(jsonPath, result);\n\n return result\n}\n\n/**\n * @param {URL | string} resolved\n * @returns {PackageConfig}\n */\nfunction getPackageScopeConfig(resolved) {\n // Note: in Node, this is now a native module.\n let packageJSONUrl = new URL('package.json', resolved);\n\n while (true) {\n const packageJSONPath = packageJSONUrl.pathname;\n if (packageJSONPath.endsWith('node_modules/package.json')) {\n break\n }\n\n const packageConfig = read(fileURLToPath(packageJSONUrl), {\n specifier: resolved\n });\n\n if (packageConfig.exists) {\n return packageConfig\n }\n\n const lastPackageJSONUrl = packageJSONUrl;\n packageJSONUrl = new URL('../package.json', packageJSONUrl);\n\n // Terminates at root where ../package.json equals ../../package.json\n // (can't just check \"/package.json\" for Windows support).\n if (packageJSONUrl.pathname === lastPackageJSONUrl.pathname) {\n break\n }\n }\n\n const packageJSONPath = fileURLToPath(packageJSONUrl);\n // ^^ Note: in Node, this is now a native module.\n\n return {\n pjsonPath: packageJSONPath,\n exists: false,\n type: 'none'\n }\n}\n\n/**\n * Returns the package type for a given URL.\n * @param {URL} url - The URL to get the package type for.\n * @returns {PackageType}\n */\nfunction getPackageType(url) {\n // To do @anonrig: Write a C++ function that returns only \"type\".\n return getPackageScopeConfig(url).type\n}\n\n// Manually “tree shaken” from:\n// \n// Last checked on: Apr 29, 2023.\n\n\nconst {ERR_UNKNOWN_FILE_EXTENSION} = codes;\n\nconst hasOwnProperty = {}.hasOwnProperty;\n\n/** @type {Record} */\nconst extensionFormatMap = {\n // @ts-expect-error: hush.\n __proto__: null,\n '.cjs': 'commonjs',\n '.js': 'module',\n '.json': 'json',\n '.mjs': 'module'\n};\n\n/**\n * @param {string | null} mime\n * @returns {string | null}\n */\nfunction mimeToFormat(mime) {\n if (\n mime &&\n /\\s*(text|application)\\/javascript\\s*(;\\s*charset=utf-?8\\s*)?/i.test(mime)\n )\n return 'module'\n if (mime === 'application/json') return 'json'\n return null\n}\n\n/**\n * @callback ProtocolHandler\n * @param {URL} parsed\n * @param {{parentURL: string, source?: Buffer}} context\n * @param {boolean} ignoreErrors\n * @returns {string | null | void}\n */\n\n/**\n * @type {Record}\n */\nconst protocolHandlers = {\n // @ts-expect-error: hush.\n __proto__: null,\n 'data:': getDataProtocolModuleFormat,\n 'file:': getFileProtocolModuleFormat,\n 'http:': getHttpProtocolModuleFormat,\n 'https:': getHttpProtocolModuleFormat,\n 'node:'() {\n return 'builtin'\n }\n};\n\n/**\n * @param {URL} parsed\n */\nfunction getDataProtocolModuleFormat(parsed) {\n const {1: mime} = /^([^/]+\\/[^;,]+)[^,]*?(;base64)?,/.exec(\n parsed.pathname\n ) || [null, null, null];\n return mimeToFormat(mime)\n}\n\n/**\n * Returns the file extension from a URL.\n *\n * Should give similar result to\n * `require('node:path').extname(require('node:url').fileURLToPath(url))`\n * when used with a `file:` URL.\n *\n * @param {URL} url\n * @returns {string}\n */\nfunction extname(url) {\n const pathname = url.pathname;\n let index = pathname.length;\n\n while (index--) {\n const code = pathname.codePointAt(index);\n\n if (code === 47 /* `/` */) {\n return ''\n }\n\n if (code === 46 /* `.` */) {\n return pathname.codePointAt(index - 1) === 47 /* `/` */\n ? ''\n : pathname.slice(index)\n }\n }\n\n return ''\n}\n\n/**\n * @type {ProtocolHandler}\n */\nfunction getFileProtocolModuleFormat(url, _context, ignoreErrors) {\n const value = extname(url);\n\n if (value === '.js') {\n const packageType = getPackageType(url);\n\n if (packageType !== 'none') {\n return packageType\n }\n\n return 'commonjs'\n }\n\n if (value === '') {\n const packageType = getPackageType(url);\n\n // Legacy behavior\n if (packageType === 'none' || packageType === 'commonjs') {\n return 'commonjs'\n }\n\n // Note: we don’t implement WASM, so we don’t need\n // `getFormatOfExtensionlessFile` from `formats`.\n return 'module'\n }\n\n const format = extensionFormatMap[value];\n if (format) return format\n\n // Explicit undefined return indicates load hook should rerun format check\n if (ignoreErrors) {\n return undefined\n }\n\n const filepath = fileURLToPath(url);\n throw new ERR_UNKNOWN_FILE_EXTENSION(value, filepath)\n}\n\nfunction getHttpProtocolModuleFormat() {\n // To do: HTTPS imports.\n}\n\n/**\n * @param {URL} url\n * @param {{parentURL: string}} context\n * @returns {string | null}\n */\nfunction defaultGetFormatWithoutErrors(url, context) {\n const protocol = url.protocol;\n\n if (!hasOwnProperty.call(protocolHandlers, protocol)) {\n return null\n }\n\n return protocolHandlers[protocol](url, context, true) || null\n}\n\n// Manually “tree shaken” from:\n// \n// Last checked on: Apr 29, 2023.\n\n\nconst {ERR_INVALID_ARG_VALUE} = codes;\n\n// In Node itself these values are populated from CLI arguments, before any\n// user code runs.\n// Here we just define the defaults.\nconst DEFAULT_CONDITIONS = Object.freeze(['node', 'import']);\nconst DEFAULT_CONDITIONS_SET = new Set(DEFAULT_CONDITIONS);\n\n/**\n * Returns the default conditions for ES module loading.\n */\nfunction getDefaultConditions() {\n return DEFAULT_CONDITIONS\n}\n\n/**\n * Returns the default conditions for ES module loading, as a Set.\n */\nfunction getDefaultConditionsSet() {\n return DEFAULT_CONDITIONS_SET\n}\n\n/**\n * @param {Array} [conditions]\n * @returns {Set}\n */\nfunction getConditionsSet(conditions) {\n if (conditions !== undefined && conditions !== getDefaultConditions()) {\n if (!Array.isArray(conditions)) {\n throw new ERR_INVALID_ARG_VALUE(\n 'conditions',\n conditions,\n 'expected an array'\n )\n }\n\n return new Set(conditions)\n }\n\n return getDefaultConditionsSet()\n}\n\n// Manually “tree shaken” from:\n// \n// Last checked on: Apr 29, 2023.\n\n\nconst RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace];\n\nconst {\n ERR_NETWORK_IMPORT_DISALLOWED,\n ERR_INVALID_MODULE_SPECIFIER,\n ERR_INVALID_PACKAGE_CONFIG,\n ERR_INVALID_PACKAGE_TARGET,\n ERR_MODULE_NOT_FOUND,\n ERR_PACKAGE_IMPORT_NOT_DEFINED,\n ERR_PACKAGE_PATH_NOT_EXPORTED,\n ERR_UNSUPPORTED_DIR_IMPORT,\n ERR_UNSUPPORTED_RESOLVE_REQUEST\n} = codes;\n\nconst own = {}.hasOwnProperty;\n\nconst invalidSegmentRegEx =\n /(^|\\\\|\\/)((\\.|%2e)(\\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\\\|\\/|$)/i;\nconst deprecatedInvalidSegmentRegEx =\n /(^|\\\\|\\/)((\\.|%2e)(\\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\\\|\\/|$)/i;\nconst invalidPackageNameRegEx = /^\\.|%|\\\\/;\nconst patternRegEx = /\\*/g;\nconst encodedSeparatorRegEx = /%2f|%5c/i;\n/** @type {Set} */\nconst emittedPackageWarnings = new Set();\n\nconst doubleSlashRegEx = /[/\\\\]{2}/;\n\n/**\n *\n * @param {string} target\n * @param {string} request\n * @param {string} match\n * @param {URL} packageJsonUrl\n * @param {boolean} internal\n * @param {URL} base\n * @param {boolean} isTarget\n */\nfunction emitInvalidSegmentDeprecation(\n target,\n request,\n match,\n packageJsonUrl,\n internal,\n base,\n isTarget\n) {\n // @ts-expect-error: apparently it does exist, TS.\n if (process.noDeprecation) {\n return\n }\n\n const pjsonPath = fileURLToPath(packageJsonUrl);\n const double = doubleSlashRegEx.exec(isTarget ? target : request) !== null;\n process.emitWarning(\n `Use of deprecated ${\n double ? 'double slash' : 'leading or trailing slash matching'\n } resolving \"${target}\" for module ` +\n `request \"${request}\" ${\n request === match ? '' : `matched to \"${match}\" `\n }in the \"${\n internal ? 'imports' : 'exports'\n }\" field module resolution of the package at ${pjsonPath}${\n base ? ` imported from ${fileURLToPath(base)}` : ''\n }.`,\n 'DeprecationWarning',\n 'DEP0166'\n );\n}\n\n/**\n * @param {URL} url\n * @param {URL} packageJsonUrl\n * @param {URL} base\n * @param {string} [main]\n * @returns {void}\n */\nfunction emitLegacyIndexDeprecation(url, packageJsonUrl, base, main) {\n // @ts-expect-error: apparently it does exist, TS.\n if (process.noDeprecation) {\n return\n }\n\n const format = defaultGetFormatWithoutErrors(url, {parentURL: base.href});\n if (format !== 'module') return\n const urlPath = fileURLToPath(url.href);\n const packagePath = fileURLToPath(new URL$1('.', packageJsonUrl));\n const basePath = fileURLToPath(base);\n if (!main) {\n process.emitWarning(\n `No \"main\" or \"exports\" field defined in the package.json for ${packagePath} resolving the main entry point \"${urlPath.slice(\n packagePath.length\n )}\", imported from ${basePath}.\\nDefault \"index\" lookups for the main are deprecated for ES modules.`,\n 'DeprecationWarning',\n 'DEP0151'\n );\n } else if (path.resolve(packagePath, main) !== urlPath) {\n process.emitWarning(\n `Package ${packagePath} has a \"main\" field set to \"${main}\", ` +\n `excluding the full filename and extension to the resolved file at \"${urlPath.slice(\n packagePath.length\n )}\", imported from ${basePath}.\\n Automatic extension resolution of the \"main\" field is ` +\n 'deprecated for ES modules.',\n 'DeprecationWarning',\n 'DEP0151'\n );\n }\n}\n\n/**\n * @param {string} path\n * @returns {Stats | undefined}\n */\nfunction tryStatSync(path) {\n // Note: from Node 15 onwards we can use `throwIfNoEntry: false` instead.\n try {\n return statSync(path)\n } catch {\n // Note: in Node code this returns `new Stats`,\n // but in Node 22 that’s marked as a deprecated internal API.\n // Which, well, we kinda are, but still to prevent that warning,\n // just yield `undefined`.\n }\n}\n\n/**\n * Legacy CommonJS main resolution:\n * 1. let M = pkg_url + (json main field)\n * 2. TRY(M, M.js, M.json, M.node)\n * 3. TRY(M/index.js, M/index.json, M/index.node)\n * 4. TRY(pkg_url/index.js, pkg_url/index.json, pkg_url/index.node)\n * 5. NOT_FOUND\n *\n * @param {URL} url\n * @returns {boolean}\n */\nfunction fileExists(url) {\n const stats = statSync(url, {throwIfNoEntry: false});\n const isFile = stats ? stats.isFile() : undefined;\n return isFile === null || isFile === undefined ? false : isFile\n}\n\n/**\n * @param {URL} packageJsonUrl\n * @param {PackageConfig} packageConfig\n * @param {URL} base\n * @returns {URL}\n */\nfunction legacyMainResolve(packageJsonUrl, packageConfig, base) {\n /** @type {URL | undefined} */\n let guess;\n if (packageConfig.main !== undefined) {\n guess = new URL$1(packageConfig.main, packageJsonUrl);\n // Note: fs check redundances will be handled by Descriptor cache here.\n if (fileExists(guess)) return guess\n\n const tries = [\n `./${packageConfig.main}.js`,\n `./${packageConfig.main}.json`,\n `./${packageConfig.main}.node`,\n `./${packageConfig.main}/index.js`,\n `./${packageConfig.main}/index.json`,\n `./${packageConfig.main}/index.node`\n ];\n let i = -1;\n\n while (++i < tries.length) {\n guess = new URL$1(tries[i], packageJsonUrl);\n if (fileExists(guess)) break\n guess = undefined;\n }\n\n if (guess) {\n emitLegacyIndexDeprecation(\n guess,\n packageJsonUrl,\n base,\n packageConfig.main\n );\n return guess\n }\n // Fallthrough.\n }\n\n const tries = ['./index.js', './index.json', './index.node'];\n let i = -1;\n\n while (++i < tries.length) {\n guess = new URL$1(tries[i], packageJsonUrl);\n if (fileExists(guess)) break\n guess = undefined;\n }\n\n if (guess) {\n emitLegacyIndexDeprecation(guess, packageJsonUrl, base, packageConfig.main);\n return guess\n }\n\n // Not found.\n throw new ERR_MODULE_NOT_FOUND(\n fileURLToPath(new URL$1('.', packageJsonUrl)),\n fileURLToPath(base)\n )\n}\n\n/**\n * @param {URL} resolved\n * @param {URL} base\n * @param {boolean} [preserveSymlinks]\n * @returns {URL}\n */\nfunction finalizeResolution(resolved, base, preserveSymlinks) {\n if (encodedSeparatorRegEx.exec(resolved.pathname) !== null) {\n throw new ERR_INVALID_MODULE_SPECIFIER(\n resolved.pathname,\n 'must not include encoded \"/\" or \"\\\\\" characters',\n fileURLToPath(base)\n )\n }\n\n /** @type {string} */\n let filePath;\n\n try {\n filePath = fileURLToPath(resolved);\n } catch (error) {\n const cause = /** @type {ErrnoException} */ (error);\n Object.defineProperty(cause, 'input', {value: String(resolved)});\n Object.defineProperty(cause, 'module', {value: String(base)});\n throw cause\n }\n\n const stats = tryStatSync(\n filePath.endsWith('/') ? filePath.slice(-1) : filePath\n );\n\n if (stats && stats.isDirectory()) {\n const error = new ERR_UNSUPPORTED_DIR_IMPORT(filePath, fileURLToPath(base));\n // @ts-expect-error Add this for `import.meta.resolve`.\n error.url = String(resolved);\n throw error\n }\n\n if (!stats || !stats.isFile()) {\n const error = new ERR_MODULE_NOT_FOUND(\n filePath || resolved.pathname,\n base && fileURLToPath(base),\n true\n );\n // @ts-expect-error Add this for `import.meta.resolve`.\n error.url = String(resolved);\n throw error\n }\n\n if (!preserveSymlinks) {\n const real = realpathSync(filePath);\n const {search, hash} = resolved;\n resolved = pathToFileURL(real + (filePath.endsWith(path.sep) ? '/' : ''));\n resolved.search = search;\n resolved.hash = hash;\n }\n\n return resolved\n}\n\n/**\n * @param {string} specifier\n * @param {URL | undefined} packageJsonUrl\n * @param {URL} base\n * @returns {Error}\n */\nfunction importNotDefined(specifier, packageJsonUrl, base) {\n return new ERR_PACKAGE_IMPORT_NOT_DEFINED(\n specifier,\n packageJsonUrl && fileURLToPath(new URL$1('.', packageJsonUrl)),\n fileURLToPath(base)\n )\n}\n\n/**\n * @param {string} subpath\n * @param {URL} packageJsonUrl\n * @param {URL} base\n * @returns {Error}\n */\nfunction exportsNotFound(subpath, packageJsonUrl, base) {\n return new ERR_PACKAGE_PATH_NOT_EXPORTED(\n fileURLToPath(new URL$1('.', packageJsonUrl)),\n subpath,\n base && fileURLToPath(base)\n )\n}\n\n/**\n * @param {string} request\n * @param {string} match\n * @param {URL} packageJsonUrl\n * @param {boolean} internal\n * @param {URL} [base]\n * @returns {never}\n */\nfunction throwInvalidSubpath(request, match, packageJsonUrl, internal, base) {\n const reason = `request is not a valid match in pattern \"${match}\" for the \"${\n internal ? 'imports' : 'exports'\n }\" resolution of ${fileURLToPath(packageJsonUrl)}`;\n throw new ERR_INVALID_MODULE_SPECIFIER(\n request,\n reason,\n base && fileURLToPath(base)\n )\n}\n\n/**\n * @param {string} subpath\n * @param {unknown} target\n * @param {URL} packageJsonUrl\n * @param {boolean} internal\n * @param {URL} [base]\n * @returns {Error}\n */\nfunction invalidPackageTarget(subpath, target, packageJsonUrl, internal, base) {\n target =\n typeof target === 'object' && target !== null\n ? JSON.stringify(target, null, '')\n : `${target}`;\n\n return new ERR_INVALID_PACKAGE_TARGET(\n fileURLToPath(new URL$1('.', packageJsonUrl)),\n subpath,\n target,\n internal,\n base && fileURLToPath(base)\n )\n}\n\n/**\n * @param {string} target\n * @param {string} subpath\n * @param {string} match\n * @param {URL} packageJsonUrl\n * @param {URL} base\n * @param {boolean} pattern\n * @param {boolean} internal\n * @param {boolean} isPathMap\n * @param {Set | undefined} conditions\n * @returns {URL}\n */\nfunction resolvePackageTargetString(\n target,\n subpath,\n match,\n packageJsonUrl,\n base,\n pattern,\n internal,\n isPathMap,\n conditions\n) {\n if (subpath !== '' && !pattern && target[target.length - 1] !== '/')\n throw invalidPackageTarget(match, target, packageJsonUrl, internal, base)\n\n if (!target.startsWith('./')) {\n if (internal && !target.startsWith('../') && !target.startsWith('/')) {\n let isURL = false;\n\n try {\n new URL$1(target);\n isURL = true;\n } catch {\n // Continue regardless of error.\n }\n\n if (!isURL) {\n const exportTarget = pattern\n ? RegExpPrototypeSymbolReplace.call(\n patternRegEx,\n target,\n () => subpath\n )\n : target + subpath;\n\n return packageResolve(exportTarget, packageJsonUrl, conditions)\n }\n }\n\n throw invalidPackageTarget(match, target, packageJsonUrl, internal, base)\n }\n\n if (invalidSegmentRegEx.exec(target.slice(2)) !== null) {\n if (deprecatedInvalidSegmentRegEx.exec(target.slice(2)) === null) {\n if (!isPathMap) {\n const request = pattern\n ? match.replace('*', () => subpath)\n : match + subpath;\n const resolvedTarget = pattern\n ? RegExpPrototypeSymbolReplace.call(\n patternRegEx,\n target,\n () => subpath\n )\n : target;\n emitInvalidSegmentDeprecation(\n resolvedTarget,\n request,\n match,\n packageJsonUrl,\n internal,\n base,\n true\n );\n }\n } else {\n throw invalidPackageTarget(match, target, packageJsonUrl, internal, base)\n }\n }\n\n const resolved = new URL$1(target, packageJsonUrl);\n const resolvedPath = resolved.pathname;\n const packagePath = new URL$1('.', packageJsonUrl).pathname;\n\n if (!resolvedPath.startsWith(packagePath))\n throw invalidPackageTarget(match, target, packageJsonUrl, internal, base)\n\n if (subpath === '') return resolved\n\n if (invalidSegmentRegEx.exec(subpath) !== null) {\n const request = pattern\n ? match.replace('*', () => subpath)\n : match + subpath;\n if (deprecatedInvalidSegmentRegEx.exec(subpath) === null) {\n if (!isPathMap) {\n const resolvedTarget = pattern\n ? RegExpPrototypeSymbolReplace.call(\n patternRegEx,\n target,\n () => subpath\n )\n : target;\n emitInvalidSegmentDeprecation(\n resolvedTarget,\n request,\n match,\n packageJsonUrl,\n internal,\n base,\n false\n );\n }\n } else {\n throwInvalidSubpath(request, match, packageJsonUrl, internal, base);\n }\n }\n\n if (pattern) {\n return new URL$1(\n RegExpPrototypeSymbolReplace.call(\n patternRegEx,\n resolved.href,\n () => subpath\n )\n )\n }\n\n return new URL$1(subpath, resolved)\n}\n\n/**\n * @param {string} key\n * @returns {boolean}\n */\nfunction isArrayIndex(key) {\n const keyNumber = Number(key);\n if (`${keyNumber}` !== key) return false\n return keyNumber >= 0 && keyNumber < 0xff_ff_ff_ff\n}\n\n/**\n * @param {URL} packageJsonUrl\n * @param {unknown} target\n * @param {string} subpath\n * @param {string} packageSubpath\n * @param {URL} base\n * @param {boolean} pattern\n * @param {boolean} internal\n * @param {boolean} isPathMap\n * @param {Set | undefined} conditions\n * @returns {URL | null}\n */\nfunction resolvePackageTarget(\n packageJsonUrl,\n target,\n subpath,\n packageSubpath,\n base,\n pattern,\n internal,\n isPathMap,\n conditions\n) {\n if (typeof target === 'string') {\n return resolvePackageTargetString(\n target,\n subpath,\n packageSubpath,\n packageJsonUrl,\n base,\n pattern,\n internal,\n isPathMap,\n conditions\n )\n }\n\n if (Array.isArray(target)) {\n /** @type {Array} */\n const targetList = target;\n if (targetList.length === 0) return null\n\n /** @type {ErrnoException | null | undefined} */\n let lastException;\n let i = -1;\n\n while (++i < targetList.length) {\n const targetItem = targetList[i];\n /** @type {URL | null} */\n let resolveResult;\n try {\n resolveResult = resolvePackageTarget(\n packageJsonUrl,\n targetItem,\n subpath,\n packageSubpath,\n base,\n pattern,\n internal,\n isPathMap,\n conditions\n );\n } catch (error) {\n const exception = /** @type {ErrnoException} */ (error);\n lastException = exception;\n if (exception.code === 'ERR_INVALID_PACKAGE_TARGET') continue\n throw error\n }\n\n if (resolveResult === undefined) continue\n\n if (resolveResult === null) {\n lastException = null;\n continue\n }\n\n return resolveResult\n }\n\n if (lastException === undefined || lastException === null) {\n return null\n }\n\n throw lastException\n }\n\n if (typeof target === 'object' && target !== null) {\n const keys = Object.getOwnPropertyNames(target);\n let i = -1;\n\n while (++i < keys.length) {\n const key = keys[i];\n if (isArrayIndex(key)) {\n throw new ERR_INVALID_PACKAGE_CONFIG(\n fileURLToPath(packageJsonUrl),\n base,\n '\"exports\" cannot contain numeric property keys.'\n )\n }\n }\n\n i = -1;\n\n while (++i < keys.length) {\n const key = keys[i];\n if (key === 'default' || (conditions && conditions.has(key))) {\n // @ts-expect-error: indexable.\n const conditionalTarget = /** @type {unknown} */ (target[key]);\n const resolveResult = resolvePackageTarget(\n packageJsonUrl,\n conditionalTarget,\n subpath,\n packageSubpath,\n base,\n pattern,\n internal,\n isPathMap,\n conditions\n );\n if (resolveResult === undefined) continue\n return resolveResult\n }\n }\n\n return null\n }\n\n if (target === null) {\n return null\n }\n\n throw invalidPackageTarget(\n packageSubpath,\n target,\n packageJsonUrl,\n internal,\n base\n )\n}\n\n/**\n * @param {unknown} exports\n * @param {URL} packageJsonUrl\n * @param {URL} base\n * @returns {boolean}\n */\nfunction isConditionalExportsMainSugar(exports, packageJsonUrl, base) {\n if (typeof exports === 'string' || Array.isArray(exports)) return true\n if (typeof exports !== 'object' || exports === null) return false\n\n const keys = Object.getOwnPropertyNames(exports);\n let isConditionalSugar = false;\n let i = 0;\n let keyIndex = -1;\n while (++keyIndex < keys.length) {\n const key = keys[keyIndex];\n const currentIsConditionalSugar = key === '' || key[0] !== '.';\n if (i++ === 0) {\n isConditionalSugar = currentIsConditionalSugar;\n } else if (isConditionalSugar !== currentIsConditionalSugar) {\n throw new ERR_INVALID_PACKAGE_CONFIG(\n fileURLToPath(packageJsonUrl),\n base,\n '\"exports\" cannot contain some keys starting with \\'.\\' and some not.' +\n ' The exports object must either be an object of package subpath keys' +\n ' or an object of main entry condition name keys only.'\n )\n }\n }\n\n return isConditionalSugar\n}\n\n/**\n * @param {string} match\n * @param {URL} pjsonUrl\n * @param {URL} base\n */\nfunction emitTrailingSlashPatternDeprecation(match, pjsonUrl, base) {\n // @ts-expect-error: apparently it does exist, TS.\n if (process.noDeprecation) {\n return\n }\n\n const pjsonPath = fileURLToPath(pjsonUrl);\n if (emittedPackageWarnings.has(pjsonPath + '|' + match)) return\n emittedPackageWarnings.add(pjsonPath + '|' + match);\n process.emitWarning(\n `Use of deprecated trailing slash pattern mapping \"${match}\" in the ` +\n `\"exports\" field module resolution of the package at ${pjsonPath}${\n base ? ` imported from ${fileURLToPath(base)}` : ''\n }. Mapping specifiers ending in \"/\" is no longer supported.`,\n 'DeprecationWarning',\n 'DEP0155'\n );\n}\n\n/**\n * @param {URL} packageJsonUrl\n * @param {string} packageSubpath\n * @param {Record} packageConfig\n * @param {URL} base\n * @param {Set | undefined} conditions\n * @returns {URL}\n */\nfunction packageExportsResolve(\n packageJsonUrl,\n packageSubpath,\n packageConfig,\n base,\n conditions\n) {\n let exports = packageConfig.exports;\n\n if (isConditionalExportsMainSugar(exports, packageJsonUrl, base)) {\n exports = {'.': exports};\n }\n\n if (\n own.call(exports, packageSubpath) &&\n !packageSubpath.includes('*') &&\n !packageSubpath.endsWith('/')\n ) {\n // @ts-expect-error: indexable.\n const target = exports[packageSubpath];\n const resolveResult = resolvePackageTarget(\n packageJsonUrl,\n target,\n '',\n packageSubpath,\n base,\n false,\n false,\n false,\n conditions\n );\n if (resolveResult === null || resolveResult === undefined) {\n throw exportsNotFound(packageSubpath, packageJsonUrl, base)\n }\n\n return resolveResult\n }\n\n let bestMatch = '';\n let bestMatchSubpath = '';\n const keys = Object.getOwnPropertyNames(exports);\n let i = -1;\n\n while (++i < keys.length) {\n const key = keys[i];\n const patternIndex = key.indexOf('*');\n\n if (\n patternIndex !== -1 &&\n packageSubpath.startsWith(key.slice(0, patternIndex))\n ) {\n // When this reaches EOL, this can throw at the top of the whole function:\n //\n // if (StringPrototypeEndsWith(packageSubpath, '/'))\n // throwInvalidSubpath(packageSubpath)\n //\n // To match \"imports\" and the spec.\n if (packageSubpath.endsWith('/')) {\n emitTrailingSlashPatternDeprecation(\n packageSubpath,\n packageJsonUrl,\n base\n );\n }\n\n const patternTrailer = key.slice(patternIndex + 1);\n\n if (\n packageSubpath.length >= key.length &&\n packageSubpath.endsWith(patternTrailer) &&\n patternKeyCompare(bestMatch, key) === 1 &&\n key.lastIndexOf('*') === patternIndex\n ) {\n bestMatch = key;\n bestMatchSubpath = packageSubpath.slice(\n patternIndex,\n packageSubpath.length - patternTrailer.length\n );\n }\n }\n }\n\n if (bestMatch) {\n // @ts-expect-error: indexable.\n const target = /** @type {unknown} */ (exports[bestMatch]);\n const resolveResult = resolvePackageTarget(\n packageJsonUrl,\n target,\n bestMatchSubpath,\n bestMatch,\n base,\n true,\n false,\n packageSubpath.endsWith('/'),\n conditions\n );\n\n if (resolveResult === null || resolveResult === undefined) {\n throw exportsNotFound(packageSubpath, packageJsonUrl, base)\n }\n\n return resolveResult\n }\n\n throw exportsNotFound(packageSubpath, packageJsonUrl, base)\n}\n\n/**\n * @param {string} a\n * @param {string} b\n */\nfunction patternKeyCompare(a, b) {\n const aPatternIndex = a.indexOf('*');\n const bPatternIndex = b.indexOf('*');\n const baseLengthA = aPatternIndex === -1 ? a.length : aPatternIndex + 1;\n const baseLengthB = bPatternIndex === -1 ? b.length : bPatternIndex + 1;\n if (baseLengthA > baseLengthB) return -1\n if (baseLengthB > baseLengthA) return 1\n if (aPatternIndex === -1) return 1\n if (bPatternIndex === -1) return -1\n if (a.length > b.length) return -1\n if (b.length > a.length) return 1\n return 0\n}\n\n/**\n * @param {string} name\n * @param {URL} base\n * @param {Set} [conditions]\n * @returns {URL}\n */\nfunction packageImportsResolve(name, base, conditions) {\n if (name === '#' || name.startsWith('#/') || name.endsWith('/')) {\n const reason = 'is not a valid internal imports specifier name';\n throw new ERR_INVALID_MODULE_SPECIFIER(name, reason, fileURLToPath(base))\n }\n\n /** @type {URL | undefined} */\n let packageJsonUrl;\n\n const packageConfig = getPackageScopeConfig(base);\n\n if (packageConfig.exists) {\n packageJsonUrl = pathToFileURL(packageConfig.pjsonPath);\n const imports = packageConfig.imports;\n if (imports) {\n if (own.call(imports, name) && !name.includes('*')) {\n const resolveResult = resolvePackageTarget(\n packageJsonUrl,\n imports[name],\n '',\n name,\n base,\n false,\n true,\n false,\n conditions\n );\n if (resolveResult !== null && resolveResult !== undefined) {\n return resolveResult\n }\n } else {\n let bestMatch = '';\n let bestMatchSubpath = '';\n const keys = Object.getOwnPropertyNames(imports);\n let i = -1;\n\n while (++i < keys.length) {\n const key = keys[i];\n const patternIndex = key.indexOf('*');\n\n if (patternIndex !== -1 && name.startsWith(key.slice(0, -1))) {\n const patternTrailer = key.slice(patternIndex + 1);\n if (\n name.length >= key.length &&\n name.endsWith(patternTrailer) &&\n patternKeyCompare(bestMatch, key) === 1 &&\n key.lastIndexOf('*') === patternIndex\n ) {\n bestMatch = key;\n bestMatchSubpath = name.slice(\n patternIndex,\n name.length - patternTrailer.length\n );\n }\n }\n }\n\n if (bestMatch) {\n const target = imports[bestMatch];\n const resolveResult = resolvePackageTarget(\n packageJsonUrl,\n target,\n bestMatchSubpath,\n bestMatch,\n base,\n true,\n true,\n false,\n conditions\n );\n\n if (resolveResult !== null && resolveResult !== undefined) {\n return resolveResult\n }\n }\n }\n }\n }\n\n throw importNotDefined(name, packageJsonUrl, base)\n}\n\n/**\n * @param {string} specifier\n * @param {URL} base\n */\nfunction parsePackageName(specifier, base) {\n let separatorIndex = specifier.indexOf('/');\n let validPackageName = true;\n let isScoped = false;\n if (specifier[0] === '@') {\n isScoped = true;\n if (separatorIndex === -1 || specifier.length === 0) {\n validPackageName = false;\n } else {\n separatorIndex = specifier.indexOf('/', separatorIndex + 1);\n }\n }\n\n const packageName =\n separatorIndex === -1 ? specifier : specifier.slice(0, separatorIndex);\n\n // Package name cannot have leading . and cannot have percent-encoding or\n // \\\\ separators.\n if (invalidPackageNameRegEx.exec(packageName) !== null) {\n validPackageName = false;\n }\n\n if (!validPackageName) {\n throw new ERR_INVALID_MODULE_SPECIFIER(\n specifier,\n 'is not a valid package name',\n fileURLToPath(base)\n )\n }\n\n const packageSubpath =\n '.' + (separatorIndex === -1 ? '' : specifier.slice(separatorIndex));\n\n return {packageName, packageSubpath, isScoped}\n}\n\n/**\n * @param {string} specifier\n * @param {URL} base\n * @param {Set | undefined} conditions\n * @returns {URL}\n */\nfunction packageResolve(specifier, base, conditions) {\n if (builtinModules.includes(specifier)) {\n return new URL$1('node:' + specifier)\n }\n\n const {packageName, packageSubpath, isScoped} = parsePackageName(\n specifier,\n base\n );\n\n // ResolveSelf\n const packageConfig = getPackageScopeConfig(base);\n\n // Can’t test.\n /* c8 ignore next 16 */\n if (packageConfig.exists) {\n const packageJsonUrl = pathToFileURL(packageConfig.pjsonPath);\n if (\n packageConfig.name === packageName &&\n packageConfig.exports !== undefined &&\n packageConfig.exports !== null\n ) {\n return packageExportsResolve(\n packageJsonUrl,\n packageSubpath,\n packageConfig,\n base,\n conditions\n )\n }\n }\n\n let packageJsonUrl = new URL$1(\n './node_modules/' + packageName + '/package.json',\n base\n );\n let packageJsonPath = fileURLToPath(packageJsonUrl);\n /** @type {string} */\n let lastPath;\n do {\n const stat = tryStatSync(packageJsonPath.slice(0, -13));\n if (!stat || !stat.isDirectory()) {\n lastPath = packageJsonPath;\n packageJsonUrl = new URL$1(\n (isScoped ? '../../../../node_modules/' : '../../../node_modules/') +\n packageName +\n '/package.json',\n packageJsonUrl\n );\n packageJsonPath = fileURLToPath(packageJsonUrl);\n continue\n }\n\n // Package match.\n const packageConfig = read(packageJsonPath, {base, specifier});\n if (packageConfig.exports !== undefined && packageConfig.exports !== null) {\n return packageExportsResolve(\n packageJsonUrl,\n packageSubpath,\n packageConfig,\n base,\n conditions\n )\n }\n\n if (packageSubpath === '.') {\n return legacyMainResolve(packageJsonUrl, packageConfig, base)\n }\n\n return new URL$1(packageSubpath, packageJsonUrl)\n // Cross-platform root check.\n } while (packageJsonPath.length !== lastPath.length)\n\n throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), false)\n}\n\n/**\n * @param {string} specifier\n * @returns {boolean}\n */\nfunction isRelativeSpecifier(specifier) {\n if (specifier[0] === '.') {\n if (specifier.length === 1 || specifier[1] === '/') return true\n if (\n specifier[1] === '.' &&\n (specifier.length === 2 || specifier[2] === '/')\n ) {\n return true\n }\n }\n\n return false\n}\n\n/**\n * @param {string} specifier\n * @returns {boolean}\n */\nfunction shouldBeTreatedAsRelativeOrAbsolutePath(specifier) {\n if (specifier === '') return false\n if (specifier[0] === '/') return true\n return isRelativeSpecifier(specifier)\n}\n\n/**\n * The “Resolver Algorithm Specification” as detailed in the Node docs (which is\n * sync and slightly lower-level than `resolve`).\n *\n * @param {string} specifier\n * `/example.js`, `./example.js`, `../example.js`, `some-package`, `fs`, etc.\n * @param {URL} base\n * Full URL (to a file) that `specifier` is resolved relative from.\n * @param {Set} [conditions]\n * Conditions.\n * @param {boolean} [preserveSymlinks]\n * Keep symlinks instead of resolving them.\n * @returns {URL}\n * A URL object to the found thing.\n */\nfunction moduleResolve(specifier, base, conditions, preserveSymlinks) {\n // Note: The Node code supports `base` as a string (in this internal API) too,\n // we don’t.\n const protocol = base.protocol;\n const isData = protocol === 'data:';\n const isRemote = isData || protocol === 'http:' || protocol === 'https:';\n // Order swapped from spec for minor perf gain.\n // Ok since relative URLs cannot parse as URLs.\n /** @type {URL | undefined} */\n let resolved;\n\n if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) {\n try {\n resolved = new URL$1(specifier, base);\n } catch (error_) {\n const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);\n error.cause = error_;\n throw error\n }\n } else if (protocol === 'file:' && specifier[0] === '#') {\n resolved = packageImportsResolve(specifier, base, conditions);\n } else {\n try {\n resolved = new URL$1(specifier);\n } catch (error_) {\n // Note: actual code uses `canBeRequiredWithoutScheme`.\n if (isRemote && !builtinModules.includes(specifier)) {\n const error = new ERR_UNSUPPORTED_RESOLVE_REQUEST(specifier, base);\n error.cause = error_;\n throw error\n }\n\n resolved = packageResolve(specifier, base, conditions);\n }\n }\n\n assert(resolved !== undefined, 'expected to be defined');\n\n if (resolved.protocol !== 'file:') {\n return resolved\n }\n\n return finalizeResolution(resolved, base, preserveSymlinks)\n}\n\n/**\n * @param {string} specifier\n * @param {URL | undefined} parsed\n * @param {URL | undefined} parsedParentURL\n */\nfunction checkIfDisallowedImport(specifier, parsed, parsedParentURL) {\n if (parsedParentURL) {\n // Avoid accessing the `protocol` property due to the lazy getters.\n const parentProtocol = parsedParentURL.protocol;\n\n if (parentProtocol === 'http:' || parentProtocol === 'https:') {\n if (shouldBeTreatedAsRelativeOrAbsolutePath(specifier)) {\n // Avoid accessing the `protocol` property due to the lazy getters.\n const parsedProtocol = parsed?.protocol;\n\n // `data:` and `blob:` disallowed due to allowing file: access via\n // indirection\n if (\n parsedProtocol &&\n parsedProtocol !== 'https:' &&\n parsedProtocol !== 'http:'\n ) {\n throw new ERR_NETWORK_IMPORT_DISALLOWED(\n specifier,\n parsedParentURL,\n 'remote imports cannot import from a local location.'\n )\n }\n\n return {url: parsed?.href || ''}\n }\n\n if (builtinModules.includes(specifier)) {\n throw new ERR_NETWORK_IMPORT_DISALLOWED(\n specifier,\n parsedParentURL,\n 'remote imports cannot import from a local location.'\n )\n }\n\n throw new ERR_NETWORK_IMPORT_DISALLOWED(\n specifier,\n parsedParentURL,\n 'only relative and absolute specifiers are supported.'\n )\n }\n }\n}\n\n// Note: this is from:\n// \n/**\n * Checks if a value has the shape of a WHATWG URL object.\n *\n * Using a symbol or instanceof would not be able to recognize URL objects\n * coming from other implementations (e.g. in Electron), so instead we are\n * checking some well known properties for a lack of a better test.\n *\n * We use `href` and `protocol` as they are the only properties that are\n * easy to retrieve and calculate due to the lazy nature of the getters.\n *\n * @template {unknown} Value\n * @param {Value} self\n * @returns {Value is URL}\n */\nfunction isURL(self) {\n return Boolean(\n self &&\n typeof self === 'object' &&\n 'href' in self &&\n typeof self.href === 'string' &&\n 'protocol' in self &&\n typeof self.protocol === 'string' &&\n self.href &&\n self.protocol\n )\n}\n\n/**\n * Validate user-input in `context` supplied by a custom loader.\n *\n * @param {unknown} parentURL\n * @returns {asserts parentURL is URL | string | undefined}\n */\nfunction throwIfInvalidParentURL(parentURL) {\n if (parentURL === undefined) {\n return // Main entry point, so no parent\n }\n\n if (typeof parentURL !== 'string' && !isURL(parentURL)) {\n throw new codes.ERR_INVALID_ARG_TYPE(\n 'parentURL',\n ['string', 'URL'],\n parentURL\n )\n }\n}\n\n/**\n * @param {string} specifier\n * @param {{parentURL?: string, conditions?: Array}} context\n * @returns {{url: string, format?: string | null}}\n */\nfunction defaultResolve(specifier, context = {}) {\n const {parentURL} = context;\n assert(parentURL !== undefined, 'expected `parentURL` to be defined');\n throwIfInvalidParentURL(parentURL);\n\n /** @type {URL | undefined} */\n let parsedParentURL;\n if (parentURL) {\n try {\n parsedParentURL = new URL$1(parentURL);\n } catch {\n // Ignore exception\n }\n }\n\n /** @type {URL | undefined} */\n let parsed;\n /** @type {string | undefined} */\n let protocol;\n\n try {\n parsed = shouldBeTreatedAsRelativeOrAbsolutePath(specifier)\n ? new URL$1(specifier, parsedParentURL)\n : new URL$1(specifier);\n\n // Avoid accessing the `protocol` property due to the lazy getters.\n protocol = parsed.protocol;\n\n if (protocol === 'data:') {\n return {url: parsed.href, format: null}\n }\n } catch {\n // Ignore exception\n }\n\n // There are multiple deep branches that can either throw or return; instead\n // of duplicating that deeply nested logic for the possible returns, DRY and\n // check for a return. This seems the least gnarly.\n const maybeReturn = checkIfDisallowedImport(\n specifier,\n parsed,\n parsedParentURL\n );\n\n if (maybeReturn) return maybeReturn\n\n // This must come after checkIfDisallowedImport\n if (protocol === undefined && parsed) {\n protocol = parsed.protocol;\n }\n\n if (protocol === 'node:') {\n return {url: specifier}\n }\n\n // This must come after checkIfDisallowedImport\n if (parsed && parsed.protocol === 'node:') return {url: specifier}\n\n const conditions = getConditionsSet(context.conditions);\n\n const url = moduleResolve(specifier, new URL$1(parentURL), conditions, false);\n\n return {\n // Do NOT cast `url` to a string: that will work even when there are real\n // problems, silencing them\n url: url.href,\n format: defaultGetFormatWithoutErrors(url, {parentURL})\n }\n}\n\n/**\n * @typedef {import('./lib/errors.js').ErrnoException} ErrnoException\n */\n\n\n/**\n * Match `import.meta.resolve` except that `parent` is required (you can pass\n * `import.meta.url`).\n *\n * @param {string} specifier\n * The module specifier to resolve relative to parent\n * (`/example.js`, `./example.js`, `../example.js`, `some-package`, `fs`,\n * etc).\n * @param {string} parent\n * The absolute parent module URL to resolve from.\n * You must pass `import.meta.url` or something else.\n * @returns {string}\n * Returns a string to a full `file:`, `data:`, or `node:` URL\n * to the found thing.\n */\nfunction resolve(specifier, parent) {\n if (!parent) {\n throw new Error(\n 'Please pass `parent`: `import-meta-resolve` cannot ponyfill that'\n )\n }\n\n try {\n return defaultResolve(specifier, {parentURL: parent}).url\n } catch (error) {\n // See: \n const exception = /** @type {ErrnoException} */ (error);\n\n if (\n (exception.code === 'ERR_UNSUPPORTED_DIR_IMPORT' ||\n exception.code === 'ERR_MODULE_NOT_FOUND') &&\n typeof exception.url === 'string'\n ) {\n return exception.url\n }\n\n throw error\n }\n}\n\nexport { moduleResolve, resolve };\n"],"mappings":";;;;;;;AAoFA,S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EAEA,IAAI;IACF,OAAO6O,cAAc,CAAC/N,SAAS,EAAE;MAACoI,SAAS,EAAE+F;IAAM,CAAC,CAAC,CAACjJ,GAAG;EAC3D,CAAC,CAAC,OAAO/D,KAAK,EAAE;IAEd,MAAM0C,SAAS,GAAkC1C,KAAM;IAEvD,IACE,CAAC0C,SAAS,CAAClC,IAAI,KAAK,4BAA4B,IAC9CkC,SAAS,CAAClC,IAAI,KAAK,sBAAsB,KAC3C,OAAOkC,SAAS,CAACqB,GAAG,KAAK,QAAQ,EACjC;MACA,OAAOrB,SAAS,CAACqB,GAAG;IACtB;IAEA,MAAM/D,KAAK;EACb;AACF;AAAC","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/package.json b/lambdas/risk-engine/node_modules/@babel/core/package.json deleted file mode 100644 index 181350ae..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/package.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "name": "@babel/core", - "version": "7.29.0", - "description": "Babel compiler core.", - "main": "./lib/index.js", - "author": "The Babel Team (https://babel.dev/team)", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "repository": { - "type": "git", - "url": "https://github.com/babel/babel.git", - "directory": "packages/babel-core" - }, - "homepage": "https://babel.dev/docs/en/next/babel-core", - "bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20core%22+is%3Aopen", - "keywords": [ - "6to5", - "babel", - "classes", - "const", - "es6", - "harmony", - "let", - "modules", - "transpile", - "transpiler", - "var", - "babel-core", - "compiler" - ], - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - }, - "browser": { - "./lib/config/files/index.js": "./lib/config/files/index-browser.js", - "./lib/config/resolve-targets.js": "./lib/config/resolve-targets-browser.js", - "./lib/transform-file.js": "./lib/transform-file-browser.js", - "./src/config/files/index.ts": "./src/config/files/index-browser.ts", - "./src/config/resolve-targets.ts": "./src/config/resolve-targets-browser.ts", - "./src/transform-file.ts": "./src/transform-file-browser.ts" - }, - "dependencies": { - "@babel/code-frame": "^7.29.0", - "@babel/generator": "^7.29.0", - "@babel/helper-compilation-targets": "^7.28.6", - "@babel/helper-module-transforms": "^7.28.6", - "@babel/helpers": "^7.28.6", - "@babel/parser": "^7.29.0", - "@babel/template": "^7.28.6", - "@babel/traverse": "^7.29.0", - "@babel/types": "^7.29.0", - "@jridgewell/remapping": "^2.3.5", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" - }, - "devDependencies": { - "@babel/helper-transform-fixture-test-runner": "^7.28.6", - "@babel/plugin-syntax-flow": "^7.28.6", - "@babel/plugin-transform-flow-strip-types": "^7.27.1", - "@babel/plugin-transform-modules-commonjs": "^7.28.6", - "@babel/preset-env": "^7.29.0", - "@babel/preset-typescript": "^7.28.5", - "@jridgewell/trace-mapping": "^0.3.28", - "@types/convert-source-map": "^2.0.0", - "@types/debug": "^4.1.0", - "@types/resolve": "^1.3.2", - "@types/semver": "^5.4.0", - "rimraf": "^3.0.0", - "ts-node": "^11.0.0-beta.1", - "tsx": "^4.20.3" - }, - "type": "commonjs" -} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/core/src/config/files/index-browser.ts b/lambdas/risk-engine/node_modules/@babel/core/src/config/files/index-browser.ts deleted file mode 100644 index 435c0684..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/src/config/files/index-browser.ts +++ /dev/null @@ -1,115 +0,0 @@ -/* c8 ignore start */ - -import type { Handler } from "gensync"; - -import type { - ConfigFile, - IgnoreFile, - RelativeConfig, - FilePackageData, -} from "./types.ts"; - -import type { CallerMetadata } from "../validation/options.ts"; - -export type { ConfigFile, IgnoreFile, RelativeConfig, FilePackageData }; - -export function findConfigUpwards( - // eslint-disable-next-line @typescript-eslint/no-unused-vars - rootDir: string, -): string | null { - return null; -} - -// eslint-disable-next-line require-yield -export function* findPackageData(filepath: string): Handler { - return { - filepath, - directories: [], - pkg: null, - isPackage: false, - }; -} - -// eslint-disable-next-line require-yield -export function* findRelativeConfig( - // eslint-disable-next-line @typescript-eslint/no-unused-vars - pkgData: FilePackageData, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - envName: string, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - caller: CallerMetadata | undefined, -): Handler { - return { config: null, ignore: null }; -} - -// eslint-disable-next-line require-yield -export function* findRootConfig( - // eslint-disable-next-line @typescript-eslint/no-unused-vars - dirname: string, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - envName: string, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - caller: CallerMetadata | undefined, -): Handler { - return null; -} - -// eslint-disable-next-line require-yield -export function* loadConfig( - name: string, - dirname: string, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - envName: string, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - caller: CallerMetadata | undefined, -): Handler { - throw new Error(`Cannot load ${name} relative to ${dirname} in a browser`); -} - -// eslint-disable-next-line require-yield -export function* resolveShowConfigPath( - // eslint-disable-next-line @typescript-eslint/no-unused-vars - dirname: string, -): Handler { - return null; -} - -export const ROOT_CONFIG_FILENAMES: string[] = []; - -type Resolved = - | { loader: "require"; filepath: string } - | { loader: "import"; filepath: string }; - -// eslint-disable-next-line @typescript-eslint/no-unused-vars -export function resolvePlugin(name: string, dirname: string): Resolved | null { - return null; -} - -// eslint-disable-next-line @typescript-eslint/no-unused-vars -export function resolvePreset(name: string, dirname: string): Resolved | null { - return null; -} - -export function loadPlugin( - name: string, - dirname: string, -): Handler<{ - filepath: string; - value: unknown; -}> { - throw new Error( - `Cannot load plugin ${name} relative to ${dirname} in a browser`, - ); -} - -export function loadPreset( - name: string, - dirname: string, -): Handler<{ - filepath: string; - value: unknown; -}> { - throw new Error( - `Cannot load preset ${name} relative to ${dirname} in a browser`, - ); -} diff --git a/lambdas/risk-engine/node_modules/@babel/core/src/config/files/index.ts b/lambdas/risk-engine/node_modules/@babel/core/src/config/files/index.ts deleted file mode 100644 index 7b9bf3b0..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/src/config/files/index.ts +++ /dev/null @@ -1,30 +0,0 @@ -type indexBrowserType = typeof import("./index-browser"); -type indexType = typeof import("./index"); - -// Kind of gross, but essentially asserting that the exports of this module are the same as the -// exports of index-browser, since this file may be replaced at bundle time with index-browser. -// eslint-disable-next-line @typescript-eslint/no-unused-expressions -({}) as any as indexBrowserType as indexType; - -export { findPackageData } from "./package.ts"; - -export { - findConfigUpwards, - findRelativeConfig, - findRootConfig, - loadConfig, - resolveShowConfigPath, - ROOT_CONFIG_FILENAMES, -} from "./configuration.ts"; -export type { - ConfigFile, - IgnoreFile, - RelativeConfig, - FilePackageData, -} from "./types.ts"; -export { - loadPlugin, - loadPreset, - resolvePlugin, - resolvePreset, -} from "./plugins.ts"; diff --git a/lambdas/risk-engine/node_modules/@babel/core/src/config/resolve-targets-browser.ts b/lambdas/risk-engine/node_modules/@babel/core/src/config/resolve-targets-browser.ts deleted file mode 100644 index 89e4194a..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/src/config/resolve-targets-browser.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* c8 ignore start */ - -import type { InputOptions } from "./validation/options.ts"; -import getTargets, { - type InputTargets, -} from "@babel/helper-compilation-targets"; - -import type { Targets } from "@babel/helper-compilation-targets"; - -export function resolveBrowserslistConfigFile( - // eslint-disable-next-line @typescript-eslint/no-unused-vars - browserslistConfigFile: string, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - configFilePath: string, -): string | void { - return undefined; -} - -export function resolveTargets( - options: InputOptions, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - root: string, -): Targets { - const optTargets = options.targets; - let targets: InputTargets; - - if (typeof optTargets === "string" || Array.isArray(optTargets)) { - targets = { browsers: optTargets }; - } else if (optTargets) { - if ("esmodules" in optTargets) { - targets = { ...optTargets, esmodules: "intersect" }; - } else { - // https://github.com/microsoft/TypeScript/issues/17002 - targets = optTargets as InputTargets; - } - } - - return getTargets(targets, { - ignoreBrowserslistConfig: true, - browserslistEnv: options.browserslistEnv, - }); -} diff --git a/lambdas/risk-engine/node_modules/@babel/core/src/config/resolve-targets.ts b/lambdas/risk-engine/node_modules/@babel/core/src/config/resolve-targets.ts deleted file mode 100644 index 4991f775..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/src/config/resolve-targets.ts +++ /dev/null @@ -1,54 +0,0 @@ -type browserType = typeof import("./resolve-targets-browser"); -type nodeType = typeof import("./resolve-targets"); - -// Kind of gross, but essentially asserting that the exports of this module are the same as the -// exports of index-browser, since this file may be replaced at bundle time with index-browser. -// eslint-disable-next-line @typescript-eslint/no-unused-expressions -({}) as any as browserType as nodeType; - -import type { InputOptions } from "./validation/options.ts"; -import path from "node:path"; -import getTargets, { - type InputTargets, -} from "@babel/helper-compilation-targets"; - -import type { Targets } from "@babel/helper-compilation-targets"; - -export function resolveBrowserslistConfigFile( - browserslistConfigFile: string, - configFileDir: string, -): string | undefined { - return path.resolve(configFileDir, browserslistConfigFile); -} - -export function resolveTargets(options: InputOptions, root: string): Targets { - const optTargets = options.targets; - let targets: InputTargets; - - if (typeof optTargets === "string" || Array.isArray(optTargets)) { - targets = { browsers: optTargets }; - } else if (optTargets) { - if ("esmodules" in optTargets) { - targets = { ...optTargets, esmodules: "intersect" }; - } else { - // https://github.com/microsoft/TypeScript/issues/17002 - targets = optTargets as InputTargets; - } - } - - const { browserslistConfigFile } = options; - let configFile; - let ignoreBrowserslistConfig = false; - if (typeof browserslistConfigFile === "string") { - configFile = browserslistConfigFile; - } else { - ignoreBrowserslistConfig = browserslistConfigFile === false; - } - - return getTargets(targets, { - ignoreBrowserslistConfig, - configFile, - configPath: root, - browserslistEnv: options.browserslistEnv, - }); -} diff --git a/lambdas/risk-engine/node_modules/@babel/core/src/transform-file-browser.ts b/lambdas/risk-engine/node_modules/@babel/core/src/transform-file-browser.ts deleted file mode 100644 index 0a15ca5e..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/src/transform-file-browser.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* c8 ignore start */ - -// duplicated from transform-file so we do not have to import anything here -type TransformFile = { - (filename: string, callback: (error: Error, file: null) => void): void; - ( - filename: string, - opts: any, - callback: (error: Error, file: null) => void, - ): void; -}; - -export const transformFile: TransformFile = function transformFile( - filename, - opts, - callback?: (error: Error, file: null) => void, -) { - if (typeof opts === "function") { - callback = opts; - } - - callback(new Error("Transforming files is not supported in browsers"), null); -}; - -export function transformFileSync(): never { - throw new Error("Transforming files is not supported in browsers"); -} - -export function transformFileAsync() { - return Promise.reject( - new Error("Transforming files is not supported in browsers"), - ); -} diff --git a/lambdas/risk-engine/node_modules/@babel/core/src/transform-file.ts b/lambdas/risk-engine/node_modules/@babel/core/src/transform-file.ts deleted file mode 100644 index 10a3140e..00000000 --- a/lambdas/risk-engine/node_modules/@babel/core/src/transform-file.ts +++ /dev/null @@ -1,56 +0,0 @@ -import gensync, { type Handler } from "gensync"; - -import loadConfig from "./config/index.ts"; -import type { InputOptions, ResolvedConfig } from "./config/index.ts"; -import { run } from "./transformation/index.ts"; -import type { FileResult, FileResultCallback } from "./transformation/index.ts"; -import * as fs from "./gensync-utils/fs.ts"; - -type transformFileBrowserType = typeof import("./transform-file-browser"); -type transformFileType = typeof import("./transform-file"); - -// Kind of gross, but essentially asserting that the exports of this module are the same as the -// exports of transform-file-browser, since this file may be replaced at bundle time with -// transform-file-browser. -// eslint-disable-next-line @typescript-eslint/no-unused-expressions -({}) as any as transformFileBrowserType as transformFileType; - -const transformFileRunner = gensync(function* ( - filename: string, - opts?: InputOptions, -): Handler { - const options = { ...opts, filename }; - - const config: ResolvedConfig | null = yield* loadConfig(options); - if (config === null) return null; - - const code = yield* fs.readFile(filename, "utf8"); - return yield* run(config, code); -}); - -// @ts-expect-error TS doesn't detect that this signature is compatible -export function transformFile( - filename: string, - callback: FileResultCallback, -): void; -export function transformFile( - filename: string, - opts: InputOptions | undefined | null, - callback: FileResultCallback, -): void; -export function transformFile( - ...args: Parameters -) { - transformFileRunner.errback(...args); -} - -export function transformFileSync( - ...args: Parameters -) { - return transformFileRunner.sync(...args); -} -export function transformFileAsync( - ...args: Parameters -) { - return transformFileRunner.async(...args); -} diff --git a/lambdas/risk-engine/node_modules/@babel/generator/LICENSE b/lambdas/risk-engine/node_modules/@babel/generator/LICENSE deleted file mode 100644 index f31575ec..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -MIT License - -Copyright (c) 2014-present Sebastian McKenzie and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/@babel/generator/README.md b/lambdas/risk-engine/node_modules/@babel/generator/README.md deleted file mode 100644 index d56149a8..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/README.md +++ /dev/null @@ -1,19 +0,0 @@ -# @babel/generator - -> Turns an AST into code. - -See our website [@babel/generator](https://babeljs.io/docs/babel-generator) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20generator%22+is%3Aopen) associated with this package. - -## Install - -Using npm: - -```sh -npm install --save-dev @babel/generator -``` - -or using yarn: - -```sh -yarn add @babel/generator --dev -``` diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/buffer.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/buffer.js deleted file mode 100644 index 05b52790..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/buffer.js +++ /dev/null @@ -1,244 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -const spaceIndents = []; -for (let i = 0; i < 32; i++) { - spaceIndents.push(" ".repeat(i * 2)); -} -class Buffer { - constructor(map, indentChar) { - this._map = null; - this._buf = ""; - this._str = ""; - this._appendCount = 0; - this._last = 0; - this._canMarkIdName = true; - this._indentChar = ""; - this._queuedChar = 0; - this._position = { - line: 1, - column: 0 - }; - this._sourcePosition = { - identifierName: undefined, - identifierNamePos: undefined, - line: undefined, - column: undefined, - filename: undefined - }; - this._map = map; - this._indentChar = indentChar; - } - get() { - const { - _map, - _last - } = this; - if (this._queuedChar !== 32) { - this._flush(); - } - const code = _last === 10 ? (this._buf + this._str).trimRight() : this._buf + this._str; - if (_map === null) { - return { - code: code, - decodedMap: undefined, - map: null, - rawMappings: undefined - }; - } - const result = { - code: code, - decodedMap: _map.getDecoded(), - get __mergedMap() { - return this.map; - }, - get map() { - const resultMap = _map.get(); - result.map = resultMap; - return resultMap; - }, - set map(value) { - Object.defineProperty(result, "map", { - value, - writable: true - }); - }, - get rawMappings() { - const mappings = _map.getRawMappings(); - result.rawMappings = mappings; - return mappings; - }, - set rawMappings(value) { - Object.defineProperty(result, "rawMappings", { - value, - writable: true - }); - } - }; - return result; - } - append(str, maybeNewline) { - this._flush(); - this._append(str, maybeNewline); - } - appendChar(char) { - this._flush(); - this._appendChar(char, 1, true); - } - queue(char) { - this._flush(); - this._queuedChar = char; - } - _flush() { - const queuedChar = this._queuedChar; - if (queuedChar !== 0) { - this._appendChar(queuedChar, 1, true); - this._queuedChar = 0; - } - } - _appendChar(char, repeat, useSourcePos) { - this._last = char; - if (char === -1) { - const indent = repeat >= 64 ? this._indentChar.repeat(repeat) : spaceIndents[repeat / 2]; - this._str += indent; - } else { - this._str += repeat > 1 ? String.fromCharCode(char).repeat(repeat) : String.fromCharCode(char); - } - const isSpace = char === 32; - const position = this._position; - if (char !== 10) { - if (this._map) { - const sourcePos = this._sourcePosition; - if (useSourcePos && sourcePos) { - this._map.mark(position, sourcePos.line, sourcePos.column, isSpace ? undefined : sourcePos.identifierName, isSpace ? undefined : sourcePos.identifierNamePos, sourcePos.filename); - if (!isSpace && this._canMarkIdName) { - sourcePos.identifierName = undefined; - sourcePos.identifierNamePos = undefined; - } - } else { - this._map.mark(position); - } - } - position.column += repeat; - } else { - position.line++; - position.column = 0; - } - } - _append(str, maybeNewline) { - const len = str.length; - const position = this._position; - const sourcePos = this._sourcePosition; - this._last = -1; - if (++this._appendCount > 4096) { - +this._str; - this._buf += this._str; - this._str = str; - this._appendCount = 0; - } else { - this._str += str; - } - const hasMap = this._map !== null; - if (!maybeNewline && !hasMap) { - position.column += len; - return; - } - const { - column, - identifierName, - identifierNamePos, - filename - } = sourcePos; - let line = sourcePos.line; - if ((identifierName != null || identifierNamePos != null) && this._canMarkIdName) { - sourcePos.identifierName = undefined; - sourcePos.identifierNamePos = undefined; - } - let i = str.indexOf("\n"); - let last = 0; - if (hasMap && i !== 0) { - this._map.mark(position, line, column, identifierName, identifierNamePos, filename); - } - while (i !== -1) { - position.line++; - position.column = 0; - last = i + 1; - if (last < len && line !== undefined) { - line++; - if (hasMap) { - this._map.mark(position, line, 0, undefined, undefined, filename); - } - } - i = str.indexOf("\n", last); - } - position.column += len - last; - } - removeLastSemicolon() { - if (this._queuedChar === 59) { - this._queuedChar = 0; - } - } - getLastChar(checkQueue) { - if (!checkQueue) { - return this._last; - } - const queuedChar = this._queuedChar; - return queuedChar !== 0 ? queuedChar : this._last; - } - getNewlineCount() { - return this._queuedChar === 0 && this._last === 10 ? 1 : 0; - } - hasContent() { - return this._last !== 0; - } - exactSource(loc, cb) { - if (!this._map) { - cb(); - return; - } - this.source("start", loc); - const identifierName = loc.identifierName; - const sourcePos = this._sourcePosition; - if (identifierName != null) { - this._canMarkIdName = false; - sourcePos.identifierName = identifierName; - } - cb(); - if (identifierName != null) { - this._canMarkIdName = true; - sourcePos.identifierName = undefined; - sourcePos.identifierNamePos = undefined; - } - this.source("end", loc); - } - source(prop, loc) { - if (!this._map) return; - this._normalizePosition(prop, loc, 0); - } - sourceWithOffset(prop, loc, columnOffset) { - if (!this._map) return; - this._normalizePosition(prop, loc, columnOffset); - } - _normalizePosition(prop, loc, columnOffset) { - this._flush(); - const pos = loc[prop]; - const target = this._sourcePosition; - if (pos) { - target.line = pos.line; - target.column = Math.max(pos.column + columnOffset, 0); - target.filename = loc.filename; - } - } - getCurrentColumn() { - return this._position.column + (this._queuedChar ? 1 : 0); - } - getCurrentLine() { - return this._position.line; - } -} -exports.default = Buffer; - -//# sourceMappingURL=buffer.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/buffer.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/buffer.js.map deleted file mode 100644 index 804ea0a7..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/buffer.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["spaceIndents","i","push","repeat","Buffer","constructor","map","indentChar","_map","_buf","_str","_appendCount","_last","_canMarkIdName","_indentChar","_queuedChar","_position","line","column","_sourcePosition","identifierName","undefined","identifierNamePos","filename","get","_flush","code","trimRight","decodedMap","rawMappings","result","getDecoded","__mergedMap","resultMap","value","Object","defineProperty","writable","mappings","getRawMappings","append","str","maybeNewline","_append","appendChar","char","_appendChar","queue","queuedChar","useSourcePos","indent","String","fromCharCode","isSpace","position","sourcePos","mark","len","length","hasMap","indexOf","last","removeLastSemicolon","getLastChar","checkQueue","getNewlineCount","hasContent","exactSource","loc","cb","source","prop","_normalizePosition","sourceWithOffset","columnOffset","pos","target","Math","max","getCurrentColumn","getCurrentLine","exports","default"],"sources":["../src/buffer.ts"],"sourcesContent":["import type SourceMap from \"./source-map.ts\";\nimport type { SourceLocation } from \"@babel/types\";\n\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charcodes from \"charcodes\";\n\nexport type Loc = SourceLocation;\nexport type Pos = SourceLocation[\"start\"];\n\ntype SourcePosition = {\n line: number | undefined;\n column: number | undefined;\n identifierName: string | undefined;\n identifierNamePos: Pos | undefined;\n filename: string | undefined;\n};\n\nconst spaceIndents: string[] = [];\nfor (let i = 0; i < 32; i++) {\n spaceIndents.push(\" \".repeat(i * 2));\n}\n\nexport default class Buffer {\n constructor(map: SourceMap | null, indentChar: string) {\n this._map = map;\n this._indentChar = indentChar;\n }\n\n _map: SourceMap | null = null;\n _buf = \"\";\n _str = \"\";\n _appendCount = 0;\n _last = 0;\n _canMarkIdName = true;\n _indentChar = \"\";\n _queuedChar: typeof charcodes.space | typeof charcodes.semicolon | 0 = 0;\n\n _position = {\n line: 1,\n column: 0,\n };\n _sourcePosition: SourcePosition = {\n identifierName: undefined,\n identifierNamePos: undefined,\n line: undefined,\n column: undefined,\n filename: undefined,\n };\n\n /**\n * Get the final string output from the buffer, along with the sourcemap if one exists.\n */\n\n get() {\n const { _map, _last } = this;\n if (this._queuedChar !== charcodes.space) {\n this._flush();\n }\n\n // Whatever trim is used here should not execute a regex against the\n // source string since it may be arbitrarily large after all transformations\n const code =\n _last === charcodes.lineFeed\n ? (this._buf + this._str).trimRight()\n : this._buf + this._str;\n\n // Creating objects with getters is expensive.\n if (_map === null) {\n return {\n code: code,\n decodedMap: undefined,\n map: null,\n rawMappings: undefined,\n };\n }\n\n const result = {\n code: code,\n // Decoded sourcemap is free to generate.\n decodedMap: _map.getDecoded(),\n // Used as a marker for backwards compatibility. We moved input map merging\n // into the generator. We cannot merge the input map a second time, so the\n // presence of this field tells us we've already done the work.\n get __mergedMap() {\n return this.map;\n },\n // Encoding the sourcemap is moderately CPU expensive.\n get map() {\n const resultMap = _map.get();\n result.map = resultMap;\n return resultMap;\n },\n set map(value) {\n Object.defineProperty(result, \"map\", { value, writable: true });\n },\n // Retrieving the raw mappings is very memory intensive.\n get rawMappings() {\n const mappings = _map.getRawMappings();\n result.rawMappings = mappings;\n return mappings;\n },\n set rawMappings(value) {\n Object.defineProperty(result, \"rawMappings\", { value, writable: true });\n },\n };\n\n return result;\n }\n\n /**\n * Add a string to the buffer that cannot be reverted.\n */\n\n append(str: string, maybeNewline: boolean): void {\n this._flush();\n this._append(str, maybeNewline);\n }\n\n appendChar(char: number): void {\n this._flush();\n this._appendChar(char, 1, true);\n }\n\n /**\n * Add a string to the buffer than can be reverted.\n */\n queue(char: typeof charcodes.space | typeof charcodes.semicolon): void {\n this._flush();\n this._queuedChar = char;\n }\n\n _flush(): void {\n const queuedChar = this._queuedChar;\n if (queuedChar !== 0) {\n this._appendChar(queuedChar, 1, true);\n this._queuedChar = 0;\n }\n }\n\n _appendChar(char: number, repeat: number, useSourcePos: boolean): void {\n this._last = char;\n\n if (char === -1) {\n const indent =\n repeat >= 64\n ? this._indentChar.repeat(repeat)\n : spaceIndents[repeat / 2];\n this._str += indent;\n } else {\n this._str +=\n repeat > 1\n ? String.fromCharCode(char).repeat(repeat)\n : String.fromCharCode(char);\n }\n\n const isSpace = char === charcodes.space;\n const position = this._position;\n if (char !== charcodes.lineFeed) {\n if (this._map) {\n const sourcePos = this._sourcePosition;\n if (useSourcePos && sourcePos) {\n this._map.mark(\n position,\n sourcePos.line,\n sourcePos.column,\n isSpace ? undefined : sourcePos.identifierName,\n isSpace ? undefined : sourcePos.identifierNamePos,\n sourcePos.filename,\n );\n\n if (!isSpace && this._canMarkIdName) {\n sourcePos.identifierName = undefined;\n sourcePos.identifierNamePos = undefined;\n }\n } else {\n this._map.mark(position);\n }\n }\n\n position.column += repeat;\n } else {\n position.line++;\n position.column = 0;\n }\n }\n\n _append(str: string, maybeNewline: boolean): void {\n const len = str.length;\n const position = this._position;\n const sourcePos = this._sourcePosition;\n\n this._last = -1; /* LAST_CHAR_KINDS.NORMAL */\n\n if (++this._appendCount > 4096) {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n +this._str; // Unexplainable huge performance boost. Ref: https://github.com/davidmarkclements/flatstr License: MIT\n this._buf += this._str;\n this._str = str;\n this._appendCount = 0;\n } else {\n this._str += str;\n }\n\n const hasMap = this._map !== null;\n\n if (!maybeNewline && !hasMap) {\n position.column += len;\n return;\n }\n\n const { column, identifierName, identifierNamePos, filename } = sourcePos;\n let line = sourcePos.line;\n\n if (\n (identifierName != null || identifierNamePos != null) &&\n this._canMarkIdName\n ) {\n sourcePos.identifierName = undefined;\n sourcePos.identifierNamePos = undefined;\n }\n\n // Search for newline chars. We search only for `\\n`, since both `\\r` and\n // `\\r\\n` are normalized to `\\n` during parse. We exclude `\\u2028` and\n // `\\u2029` for performance reasons, they're so uncommon that it's probably\n // ok. It's also unclear how other sourcemap utilities handle them...\n let i = str.indexOf(\"\\n\");\n let last = 0;\n\n // If the string starts with a newline char, then adding a mark is redundant.\n // This catches both \"no newlines\" and \"newline after several chars\".\n if (hasMap && i !== 0) {\n this._map!.mark(\n position,\n line,\n column,\n identifierName,\n identifierNamePos,\n filename,\n );\n }\n\n // Now, find each remaining newline char in the string.\n while (i !== -1) {\n position.line++;\n position.column = 0;\n last = i + 1;\n\n // We mark the start of each line, which happens directly after this newline char\n // unless this is the last char.\n // When manually adding multi-line content (such as a comment), `line` will be `undefined`.\n if (last < len && line !== undefined) {\n line++;\n if (hasMap) {\n this._map!.mark(position, line, 0, undefined, undefined, filename);\n }\n }\n i = str.indexOf(\"\\n\", last);\n }\n position.column += len - last;\n }\n\n removeLastSemicolon(): void {\n if (this._queuedChar === charcodes.semicolon) {\n this._queuedChar = 0;\n }\n }\n\n getLastChar(checkQueue?: boolean): number {\n if (!checkQueue) {\n return this._last;\n }\n const queuedChar = this._queuedChar;\n return queuedChar !== 0 ? queuedChar : this._last;\n }\n\n /**\n * This will only detect at most 1 newline after a call to `flush()`,\n * but this has not been found so far, and an accurate count can be achieved if needed later.\n */\n getNewlineCount(): number {\n return this._queuedChar === 0 && this._last === charcodes.lineFeed ? 1 : 0;\n }\n\n hasContent(): boolean {\n return this._last !== 0 /*|| this._queuedChar !== 0*/;\n }\n\n /**\n * Certain sourcemap usecases expect mappings to be more accurate than\n * Babel's generic sourcemap handling allows. For now, we special-case\n * identifiers to allow for the primary cases to work.\n * The goal of this line is to ensure that the map output from Babel will\n * have an exact range on identifiers in the output code. Without this\n * line, Babel would potentially include some number of trailing tokens\n * that are printed after the identifier, but before another location has\n * been assigned.\n * This allows tooling like Rollup and Webpack to more accurately perform\n * their own transformations. Most importantly, this allows the import/export\n * transformations performed by those tools to loose less information when\n * applying their own transformations on top of the code and map results\n * generated by Babel itself.\n *\n * The primary example of this is the snippet:\n *\n * import mod from \"mod\";\n * mod();\n *\n * With this line, there will be one mapping range over \"mod\" and another\n * over \"();\", where previously it would have been a single mapping.\n */\n exactSource(loc: Loc, cb: () => void) {\n if (!this._map) {\n cb();\n return;\n }\n\n this.source(\"start\", loc);\n const identifierName = loc.identifierName;\n const sourcePos = this._sourcePosition;\n if (identifierName != null) {\n this._canMarkIdName = false;\n sourcePos.identifierName = identifierName;\n }\n cb();\n\n if (identifierName != null) {\n this._canMarkIdName = true;\n sourcePos.identifierName = undefined;\n sourcePos.identifierNamePos = undefined;\n }\n this.source(\"end\", loc);\n }\n\n /**\n * Sets a given position as the current source location so generated code after this call\n * will be given this position in the sourcemap.\n */\n\n source(prop: \"start\" | \"end\", loc: Loc): void {\n if (!this._map) return;\n\n // Since this is called extremely often, we reuse the same _sourcePosition\n // object for the whole lifetime of the buffer.\n this._normalizePosition(prop, loc, 0);\n }\n\n sourceWithOffset(\n prop: \"start\" | \"end\",\n loc: Loc,\n columnOffset: number,\n ): void {\n if (!this._map) return;\n\n this._normalizePosition(prop, loc, columnOffset);\n }\n\n _normalizePosition(prop: \"start\" | \"end\", loc: Loc, columnOffset: number) {\n this._flush();\n\n const pos = loc[prop];\n const target = this._sourcePosition;\n\n if (pos) {\n target.line = pos.line;\n // TODO: Fix https://github.com/babel/babel/issues/15712 in downstream\n target.column = Math.max(pos.column + columnOffset, 0);\n target.filename = loc.filename;\n }\n }\n\n getCurrentColumn(): number {\n return this._position.column + (this._queuedChar ? 1 : 0);\n }\n\n getCurrentLine(): number {\n return this._position.line;\n }\n}\n"],"mappings":";;;;;;AAkBA,MAAMA,YAAsB,GAAG,EAAE;AACjC,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAG,EAAE,EAAEA,CAAC,EAAE,EAAE;EAC3BD,YAAY,CAACE,IAAI,CAAC,GAAG,CAACC,MAAM,CAACF,CAAC,GAAG,CAAC,CAAC,CAAC;AACtC;AAEe,MAAMG,MAAM,CAAC;EAC1BC,WAAWA,CAACC,GAAqB,EAAEC,UAAkB,EAAE;IAAA,KAKvDC,IAAI,GAAqB,IAAI;IAAA,KAC7BC,IAAI,GAAG,EAAE;IAAA,KACTC,IAAI,GAAG,EAAE;IAAA,KACTC,YAAY,GAAG,CAAC;IAAA,KAChBC,KAAK,GAAG,CAAC;IAAA,KACTC,cAAc,GAAG,IAAI;IAAA,KACrBC,WAAW,GAAG,EAAE;IAAA,KAChBC,WAAW,GAA4D,CAAC;IAAA,KAExEC,SAAS,GAAG;MACVC,IAAI,EAAE,CAAC;MACPC,MAAM,EAAE;IACV,CAAC;IAAA,KACDC,eAAe,GAAmB;MAChCC,cAAc,EAAEC,SAAS;MACzBC,iBAAiB,EAAED,SAAS;MAC5BJ,IAAI,EAAEI,SAAS;MACfH,MAAM,EAAEG,SAAS;MACjBE,QAAQ,EAAEF;IACZ,CAAC;IAvBC,IAAI,CAACb,IAAI,GAAGF,GAAG;IACf,IAAI,CAACQ,WAAW,GAAGP,UAAU;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cA,CAAA,EAAW;IACvB,OAAO,IAAI,CAAChE,SAAS,CAACC,IAAI;EAC5B;AACF;AAACgE,OAAA,CAAAC,OAAA,GAAA9E,MAAA","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/base.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/base.js deleted file mode 100644 index 4768b9b2..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/base.js +++ /dev/null @@ -1,86 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.BlockStatement = BlockStatement; -exports.Directive = Directive; -exports.DirectiveLiteral = DirectiveLiteral; -exports.File = File; -exports.InterpreterDirective = InterpreterDirective; -exports.Placeholder = Placeholder; -exports.Program = Program; -function File(node) { - if (node.program) { - this.print(node.program.interpreter); - } - this.print(node.program); -} -function Program(node) { - var _node$directives; - this.printInnerComments(false); - const directivesLen = (_node$directives = node.directives) == null ? void 0 : _node$directives.length; - if (directivesLen) { - var _node$directives$trai; - const newline = node.body.length ? 2 : 1; - this.printSequence(node.directives, undefined, undefined, newline); - if (!((_node$directives$trai = node.directives[directivesLen - 1].trailingComments) != null && _node$directives$trai.length)) { - this.newline(newline); - } - } - this.printSequence(node.body); -} -function BlockStatement(node) { - var _node$directives2; - this.tokenChar(123); - const oldNoLineTerminatorAfterNode = this.enterDelimited(); - const directivesLen = (_node$directives2 = node.directives) == null ? void 0 : _node$directives2.length; - if (directivesLen) { - var _node$directives$trai2; - const newline = node.body.length ? 2 : 1; - this.printSequence(node.directives, true, true, newline); - if (!((_node$directives$trai2 = node.directives[directivesLen - 1].trailingComments) != null && _node$directives$trai2.length)) { - this.newline(newline); - } - } - this.printSequence(node.body, true, true); - this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode; - this.rightBrace(node); -} -function Directive(node) { - this.print(node.value); - this.semicolon(); -} -const unescapedSingleQuoteRE = /(?:^|[^\\])(?:\\\\)*'/; -const unescapedDoubleQuoteRE = /(?:^|[^\\])(?:\\\\)*"/; -function DirectiveLiteral(node) { - const raw = this.getPossibleRaw(node); - if (!this.format.minified && raw !== undefined) { - this.token(raw); - return; - } - const { - value - } = node; - if (!unescapedDoubleQuoteRE.test(value)) { - this.token(`"${value}"`); - } else if (!unescapedSingleQuoteRE.test(value)) { - this.token(`'${value}'`); - } else { - throw new Error("Malformed AST: it is not possible to print a directive containing" + " both unescaped single and double quotes."); - } -} -function InterpreterDirective(node) { - this.token(`#!${node.value}`); - this._newline(); -} -function Placeholder(node) { - this.token("%%"); - this.print(node.name); - this.token("%%"); - if (node.expectedNode === "Statement") { - this.semicolon(); - } -} - -//# sourceMappingURL=base.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/base.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/base.js.map deleted file mode 100644 index 1bf77734..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/base.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["File","node","program","print","interpreter","Program","_node$directives","printInnerComments","directivesLen","directives","length","_node$directives$trai","newline","body","printSequence","undefined","trailingComments","BlockStatement","_node$directives2","token","oldNoLineTerminatorAfterNode","enterDelimited","_node$directives$trai2","_noLineTerminatorAfterNode","rightBrace","Directive","value","semicolon","unescapedSingleQuoteRE","unescapedDoubleQuoteRE","DirectiveLiteral","raw","getPossibleRaw","format","minified","test","Error","InterpreterDirective","_newline","Placeholder","name","expectedNode"],"sources":["../../src/generators/base.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport type * as t from \"@babel/types\";\n\nexport function File(this: Printer, node: t.File) {\n if (node.program) {\n // Print this here to ensure that Program node 'leadingComments' still\n // get printed after the hashbang.\n this.print(node.program.interpreter);\n }\n\n this.print(node.program);\n}\n\nexport function Program(this: Printer, node: t.Program) {\n // An empty Program doesn't have any inner tokens, so\n // we must explicitly print its inner comments.\n this.printInnerComments(false);\n\n const directivesLen = node.directives?.length;\n if (directivesLen) {\n const newline = node.body.length ? 2 : 1;\n this.printSequence(node.directives, undefined, undefined, newline);\n if (!node.directives[directivesLen - 1].trailingComments?.length) {\n this.newline(newline);\n }\n }\n\n this.printSequence(node.body);\n}\n\nexport function BlockStatement(this: Printer, node: t.BlockStatement) {\n this.token(\"{\");\n const oldNoLineTerminatorAfterNode = this.enterDelimited();\n\n const directivesLen = node.directives?.length;\n if (directivesLen) {\n const newline = node.body.length ? 2 : 1;\n this.printSequence(node.directives, true, true, newline);\n if (!node.directives[directivesLen - 1].trailingComments?.length) {\n this.newline(newline);\n }\n }\n\n this.printSequence(node.body, true, true);\n\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n this.rightBrace(node);\n}\n\nexport function Directive(this: Printer, node: t.Directive) {\n this.print(node.value);\n this.semicolon();\n}\n\n// These regexes match an even number of \\ followed by a quote\nconst unescapedSingleQuoteRE = /(?:^|[^\\\\])(?:\\\\\\\\)*'/;\nconst unescapedDoubleQuoteRE = /(?:^|[^\\\\])(?:\\\\\\\\)*\"/;\n\nexport function DirectiveLiteral(this: Printer, node: t.DirectiveLiteral) {\n const raw = this.getPossibleRaw(node);\n if (!this.format.minified && raw !== undefined) {\n this.token(raw);\n return;\n }\n\n const { value } = node;\n\n // NOTE: In directives we can't change escapings,\n // because they change the behavior.\n // e.g. \"us\\x65 strict\" (\\x65 is e) is not a \"use strict\" directive.\n\n if (!unescapedDoubleQuoteRE.test(value)) {\n this.token(`\"${value}\"`);\n } else if (!unescapedSingleQuoteRE.test(value)) {\n this.token(`'${value}'`);\n } else {\n throw new Error(\n \"Malformed AST: it is not possible to print a directive containing\" +\n \" both unescaped single and double quotes.\",\n );\n }\n}\n\nexport function InterpreterDirective(\n this: Printer,\n node: t.InterpreterDirective,\n) {\n this.token(`#!${node.value}`);\n this._newline();\n}\n\nexport function Placeholder(this: Printer, node: t.Placeholder) {\n this.token(\"%%\");\n this.print(node.name);\n this.token(\"%%\");\n\n if (node.expectedNode === \"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;IAC9C,IAAI,CAACP,KAAK,CAAC,IAAIO,KAAK,GAAG,CAAC;EAC1B,CAAC,MAAM;IACL,MAAM,IAAIU,KAAK,CACb,mEAAmE,GACjE,2CACJ,CAAC;EACH;AACF;AAEO,SAASC,oBAAoBA,CAElCpC,IAA4B,EAC5B;EACA,IAAI,CAACkB,KAAK,CAAC,KAAKlB,IAAI,CAACyB,KAAK,EAAE,CAAC;EAC7B,IAAI,CAACY,QAAQ,CAAC,CAAC;AACjB;AAEO,SAASC,WAAWA,CAAgBtC,IAAmB,EAAE;EAC9D,IAAI,CAACkB,KAAK,CAAC,IAAI,CAAC;EAChB,IAAI,CAAChB,KAAK,CAACF,IAAI,CAACuC,IAAI,CAAC;EACrB,IAAI,CAACrB,KAAK,CAAC,IAAI,CAAC;EAEhB,IAAIlB,IAAI,CAACwC,YAAY,KAAK,WAAW,EAAE;IACrC,IAAI,CAACd,SAAS,CAAC,CAAC;EAClB;AACF","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/classes.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/classes.js deleted file mode 100644 index 75272f83..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/classes.js +++ /dev/null @@ -1,215 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ClassAccessorProperty = ClassAccessorProperty; -exports.ClassBody = ClassBody; -exports.ClassExpression = exports.ClassDeclaration = ClassDeclaration; -exports.ClassMethod = ClassMethod; -exports.ClassPrivateMethod = ClassPrivateMethod; -exports.ClassPrivateProperty = ClassPrivateProperty; -exports.ClassProperty = ClassProperty; -exports.StaticBlock = StaticBlock; -exports._classMethodHead = _classMethodHead; -var _t = require("@babel/types"); -var _expressions = require("./expressions.js"); -var _typescript = require("./typescript.js"); -var _flow = require("./flow.js"); -var _methods = require("./methods.js"); -const { - isExportDefaultDeclaration, - isExportNamedDeclaration -} = _t; -function ClassDeclaration(node, parent) { - const inExport = isExportDefaultDeclaration(parent) || isExportNamedDeclaration(parent); - if (!inExport || !_expressions._shouldPrintDecoratorsBeforeExport.call(this, parent)) { - this.printJoin(node.decorators); - } - if (node.declare) { - this.word("declare"); - this.space(); - } - if (node.abstract) { - this.word("abstract"); - this.space(); - } - this.word("class"); - if (node.id) { - this.space(); - this.print(node.id); - } - this.print(node.typeParameters); - if (node.superClass) { - this.space(); - this.word("extends"); - this.space(); - this.print(node.superClass); - this.print(node.superTypeParameters); - } - if (node.implements) { - this.space(); - this.word("implements"); - this.space(); - this.printList(node.implements); - } - this.space(); - this.print(node.body); -} -function ClassBody(node) { - this.tokenChar(123); - if (node.body.length === 0) { - this.tokenChar(125); - } else { - const separator = classBodyEmptySemicolonsPrinter(this, node); - separator == null || separator(-1); - const oldNoLineTerminatorAfterNode = this.enterDelimited(); - this.printJoin(node.body, true, true, separator, true, true); - this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode; - if (!this.endsWith(10)) this.newline(); - this.rightBrace(node); - } -} -function classBodyEmptySemicolonsPrinter(printer, node) { - if (!printer.tokenMap || node.start == null || node.end == null) { - return null; - } - const indexes = printer.tokenMap.getIndexes(node); - if (!indexes) return null; - let k = 1; - let occurrenceCount = 0; - let nextLocIndex = 0; - const advanceNextLocIndex = () => { - while (nextLocIndex < node.body.length && node.body[nextLocIndex].start == null) { - nextLocIndex++; - } - }; - advanceNextLocIndex(); - return i => { - if (nextLocIndex <= i) { - nextLocIndex = i + 1; - advanceNextLocIndex(); - } - const end = nextLocIndex === node.body.length ? node.end : node.body[nextLocIndex].start; - let tok; - while (k < indexes.length && printer.tokenMap.matchesOriginal(tok = printer._tokens[indexes[k]], ";") && tok.start < end) { - printer.tokenChar(59, occurrenceCount++); - k++; - } - }; -} -function ClassProperty(node) { - this.printJoin(node.decorators); - if (!node.static && !this.format.preserveFormat) { - var _node$key$loc; - const endLine = (_node$key$loc = node.key.loc) == null || (_node$key$loc = _node$key$loc.end) == null ? void 0 : _node$key$loc.line; - if (endLine) this.catchUp(endLine); - } - _typescript._tsPrintClassMemberModifiers.call(this, node); - if (node.computed) { - this.tokenChar(91); - this.print(node.key); - this.tokenChar(93); - } else { - _flow._variance.call(this, node); - this.print(node.key); - } - if (node.optional) { - this.tokenChar(63); - } - if (node.definite) { - this.tokenChar(33); - } - this.print(node.typeAnnotation); - if (node.value) { - this.space(); - this.tokenChar(61); - this.space(); - this.print(node.value); - } - this.semicolon(); -} -function ClassAccessorProperty(node) { - var _node$key$loc2; - this.printJoin(node.decorators); - const endLine = (_node$key$loc2 = node.key.loc) == null || (_node$key$loc2 = _node$key$loc2.end) == null ? void 0 : _node$key$loc2.line; - if (endLine) this.catchUp(endLine); - _typescript._tsPrintClassMemberModifiers.call(this, node); - this.word("accessor", true); - this.space(); - if (node.computed) { - this.tokenChar(91); - this.print(node.key); - this.tokenChar(93); - } else { - _flow._variance.call(this, node); - this.print(node.key); - } - if (node.optional) { - this.tokenChar(63); - } - if (node.definite) { - this.tokenChar(33); - } - this.print(node.typeAnnotation); - if (node.value) { - this.space(); - this.tokenChar(61); - this.space(); - this.print(node.value); - } - this.semicolon(); -} -function ClassPrivateProperty(node) { - this.printJoin(node.decorators); - _typescript._tsPrintClassMemberModifiers.call(this, node); - this.print(node.key); - if (node.optional) { - this.tokenChar(63); - } - if (node.definite) { - this.tokenChar(33); - } - this.print(node.typeAnnotation); - if (node.value) { - this.space(); - this.tokenChar(61); - this.space(); - this.print(node.value); - } - this.semicolon(); -} -function ClassMethod(node) { - _classMethodHead.call(this, node); - this.space(); - this.print(node.body); -} -function ClassPrivateMethod(node) { - _classMethodHead.call(this, node); - this.space(); - this.print(node.body); -} -function _classMethodHead(node) { - this.printJoin(node.decorators); - if (!this.format.preserveFormat) { - var _node$key$loc3; - const endLine = (_node$key$loc3 = node.key.loc) == null || (_node$key$loc3 = _node$key$loc3.end) == null ? void 0 : _node$key$loc3.line; - if (endLine) this.catchUp(endLine); - } - _typescript._tsPrintClassMemberModifiers.call(this, node); - _methods._methodHead.call(this, node); -} -function StaticBlock(node) { - this.word("static"); - this.space(); - this.tokenChar(123); - if (node.body.length === 0) { - this.tokenChar(125); - } else { - this.newline(); - this.printSequence(node.body, true); - this.rightBrace(node); - } -} - -//# sourceMappingURL=classes.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/classes.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/classes.js.map deleted file mode 100644 index d764d73d..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/classes.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_t","require","_expressions","_typescript","_flow","_methods","isExportDefaultDeclaration","isExportNamedDeclaration","ClassDeclaration","node","parent","inExport","_shouldPrintDecoratorsBeforeExport","call","printJoin","decorators","declare","word","space","abstract","id","print","typeParameters","superClass","superTypeParameters","implements","printList","body","ClassBody","token","length","separator","classBodyEmptySemicolonsPrinter","oldNoLineTerminatorAfterNode","enterDelimited","_noLineTerminatorAfterNode","endsWith","newline","rightBrace","printer","tokenMap","start","end","indexes","getIndexes","k","occurrenceCount","nextLocIndex","advanceNextLocIndex","i","tok","matchesOriginal","_tokens","tokenChar","ClassProperty","static","format","preserveFormat","_node$key$loc","endLine","key","loc","line","catchUp","_tsPrintClassMemberModifiers","computed","_variance","optional","definite","typeAnnotation","value","semicolon","ClassAccessorProperty","_node$key$loc2","ClassPrivateProperty","ClassMethod","_classMethodHead","ClassPrivateMethod","_node$key$loc3","_methodHead","StaticBlock","printSequence"],"sources":["../../src/generators/classes.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport {\n isExportDefaultDeclaration,\n isExportNamedDeclaration,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\n\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\nimport { _shouldPrintDecoratorsBeforeExport } from \"./expressions.ts\";\nimport { _tsPrintClassMemberModifiers } from \"./typescript.ts\";\nimport { _variance } from \"./flow.ts\";\nimport { _methodHead } from \"./methods.ts\";\n\nexport function ClassDeclaration(\n this: Printer,\n node: t.ClassDeclaration,\n parent: t.Node,\n) {\n const inExport =\n isExportDefaultDeclaration(parent) || isExportNamedDeclaration(parent);\n\n if (\n !inExport ||\n !_shouldPrintDecoratorsBeforeExport.call(\n this,\n parent as t.ExportDeclaration & { declaration: t.ClassDeclaration },\n )\n ) {\n this.printJoin(node.decorators);\n }\n\n if (node.declare) {\n // TS\n this.word(\"declare\");\n this.space();\n }\n\n if (node.abstract) {\n // TS\n this.word(\"abstract\");\n this.space();\n }\n\n this.word(\"class\");\n\n if (node.id) {\n this.space();\n this.print(node.id);\n }\n\n this.print(node.typeParameters);\n\n if (node.superClass) {\n this.space();\n this.word(\"extends\");\n this.space();\n this.print(node.superClass);\n this.print(\n process.env.BABEL_8_BREAKING\n ? // @ts-ignore(Babel 7 vs Babel 8) Renamed\n node.superTypeArguments\n : // @ts-ignore(Babel 7 vs Babel 8) Renamed\n node.superTypeParameters,\n );\n }\n\n if (node.implements) {\n this.space();\n this.word(\"implements\");\n this.space();\n this.printList(node.implements);\n }\n\n this.space();\n this.print(node.body);\n}\n\nexport { ClassDeclaration as ClassExpression };\n\nexport function ClassBody(this: Printer, node: t.ClassBody) {\n this.token(\"{\");\n if (node.body.length === 0) {\n this.token(\"}\");\n } else {\n const separator = classBodyEmptySemicolonsPrinter(this, node);\n separator?.(-1); // print leading semicolons in preserveFormat mode\n\n const oldNoLineTerminatorAfterNode = this.enterDelimited();\n this.printJoin(node.body, true, true, separator, true, true);\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n\n if (!this.endsWith(charCodes.lineFeed)) this.newline();\n\n this.rightBrace(node);\n }\n}\n\nfunction classBodyEmptySemicolonsPrinter(printer: Printer, node: t.ClassBody) {\n if (!printer.tokenMap || node.start == null || node.end == null) {\n return null;\n }\n\n // \"empty statements\" in class bodies are not represented in the AST.\n // Print them by checking if there are any ; tokens between the current AST\n // member and the next one.\n\n const indexes = printer.tokenMap.getIndexes(node);\n if (!indexes) return null;\n\n let k = 1; // start from 1 to skip '{'\n\n let occurrenceCount = 0;\n\n let nextLocIndex = 0;\n const advanceNextLocIndex = () => {\n while (\n nextLocIndex < node.body.length &&\n node.body[nextLocIndex].start == null\n ) {\n nextLocIndex++;\n }\n };\n advanceNextLocIndex();\n\n return (i: number) => {\n if (nextLocIndex <= i) {\n nextLocIndex = i + 1;\n advanceNextLocIndex();\n }\n\n const end =\n nextLocIndex === node.body.length\n ? node.end\n : node.body[nextLocIndex].start;\n\n let tok;\n while (\n k < indexes.length &&\n printer.tokenMap!.matchesOriginal(\n (tok = printer._tokens![indexes[k]]),\n \";\",\n ) &&\n tok.start < end!\n ) {\n printer.tokenChar(charCodes.semicolon, occurrenceCount++);\n k++;\n }\n };\n}\n\nexport function ClassProperty(this: Printer, node: t.ClassProperty) {\n this.printJoin(node.decorators);\n\n if (!node.static && !this.format.preserveFormat) {\n // catch up to property key, avoid line break\n // between member TS modifiers and the property key.\n const endLine = node.key.loc?.end?.line;\n if (endLine) this.catchUp(endLine);\n }\n\n _tsPrintClassMemberModifiers.call(this, node);\n\n if (node.computed) {\n this.token(\"[\");\n this.print(node.key);\n this.token(\"]\");\n } else {\n _variance.call(this, node);\n this.print(node.key);\n }\n\n // TS\n if (node.optional) {\n this.token(\"?\");\n }\n if (node.definite) {\n this.token(\"!\");\n }\n\n this.print(node.typeAnnotation);\n if (node.value) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.value);\n }\n this.semicolon();\n}\n\nexport function ClassAccessorProperty(\n this: Printer,\n node: t.ClassAccessorProperty,\n) {\n this.printJoin(node.decorators);\n\n // catch up to property key, avoid line break\n // between member modifiers and the property key.\n const endLine = node.key.loc?.end?.line;\n if (endLine) this.catchUp(endLine);\n\n // TS does not support class accessor property yet\n _tsPrintClassMemberModifiers.call(this, node);\n\n this.word(\"accessor\", true);\n this.space();\n\n if (node.computed) {\n this.token(\"[\");\n this.print(node.key);\n this.token(\"]\");\n } else {\n // Todo: Flow does not support class accessor property yet.\n _variance.call(this, node);\n this.print(node.key);\n }\n\n // TS\n if (node.optional) {\n this.token(\"?\");\n }\n if (node.definite) {\n this.token(\"!\");\n }\n\n this.print(node.typeAnnotation);\n if (node.value) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.value);\n }\n this.semicolon();\n}\n\nexport function ClassPrivateProperty(\n this: Printer,\n node: t.ClassPrivateProperty,\n) {\n this.printJoin(node.decorators);\n _tsPrintClassMemberModifiers.call(this, node);\n this.print(node.key);\n // TS\n if (node.optional) {\n this.token(\"?\");\n }\n if (node.definite) {\n this.token(\"!\");\n }\n this.print(node.typeAnnotation);\n if (node.value) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.value);\n }\n this.semicolon();\n}\n\nexport function ClassMethod(this: Printer, node: t.ClassMethod) {\n _classMethodHead.call(this, node);\n this.space();\n this.print(node.body);\n}\n\nexport function ClassPrivateMethod(this: Printer, node: t.ClassPrivateMethod) {\n _classMethodHead.call(this, node);\n this.space();\n this.print(node.body);\n}\n\nexport function _classMethodHead(\n this: Printer,\n node: t.ClassMethod | t.ClassPrivateMethod | t.TSDeclareMethod,\n) {\n this.printJoin(node.decorators);\n\n if (!this.format.preserveFormat) {\n // catch up to method key, avoid line break\n // between member modifiers/method heads and the method key.\n const endLine = node.key.loc?.end?.line;\n if (endLine) this.catchUp(endLine);\n }\n\n _tsPrintClassMemberModifiers.call(this, node);\n _methodHead.call(this, node);\n}\n\nexport function StaticBlock(this: Printer, node: t.StaticBlock) {\n this.word(\"static\");\n this.space();\n this.token(\"{\");\n if (node.body.length === 0) {\n this.token(\"}\");\n } else {\n this.newline();\n this.printSequence(node.body, true);\n this.rightBrace(node);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AACA,IAAAA,EAAA,GAAAC,OAAA;AASA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,G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BhB,IAAI;IACvC,IAAIH,OAAO,EAAE,IAAI,CAACI,OAAO,CAACJ,OAAO,CAAC;EACpC;EAEAK,wCAA4B,CAACnD,IAAI,CAAC,IAAI,EAAEJ,IAAI,CAAC;EAC7CsE,oBAAW,CAAClE,IAAI,CAAC,IAAI,EAAEJ,IAAI,CAAC;AAC9B;AAEO,SAASuE,WAAWA,CAAgBvE,IAAmB,EAAE;EAC9D,IAAI,CAACQ,IAAI,CAAC,QAAQ,CAAC;EACnB,IAAI,CAACC,KAAK,CAAC,CAAC;EACZ,IAAI,CAACW,SAAK,IAAI,CAAC;EACf,IAAIpB,IAAI,CAACkB,IAAI,CAACG,MAAM,KAAK,CAAC,EAAE;IAC1B,IAAI,CAACD,SAAK,IAAI,CAAC;EACjB,CAAC,MAAM;IACL,IAAI,CAACQ,OAAO,CAAC,CAAC;IACd,IAAI,CAAC4C,aAAa,CAACxE,IAAI,CAACkB,IAAI,EAAE,IAAI,CAAC;IACnC,IAAI,CAACW,UAAU,CAAC7B,IAAI,CAAC;EACvB;AACF","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/deprecated.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/deprecated.js deleted file mode 100644 index bc1f4091..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/deprecated.js +++ /dev/null @@ -1,73 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.DecimalLiteral = DecimalLiteral; -exports.Noop = Noop; -exports.RecordExpression = RecordExpression; -exports.TSExpressionWithTypeArguments = TSExpressionWithTypeArguments; -exports.TupleExpression = TupleExpression; -function Noop() {} -function TSExpressionWithTypeArguments(node) { - this.print(node.expression); - this.print(node.typeParameters); -} -function DecimalLiteral(node) { - const raw = this.getPossibleRaw(node); - if (!this.format.minified && raw !== undefined) { - this.word(raw); - return; - } - this.word(node.value + "m"); -} -function RecordExpression(node) { - const props = node.properties; - let startToken; - let endToken; - if (this.format.recordAndTupleSyntaxType === "bar") { - startToken = "{|"; - endToken = "|}"; - } else if (this.format.recordAndTupleSyntaxType !== "hash" && this.format.recordAndTupleSyntaxType != null) { - throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`); - } else { - startToken = "#{"; - endToken = "}"; - } - this.token(startToken); - if (props.length) { - this.space(); - this.printList(props, this.shouldPrintTrailingComma(endToken), true, true); - this.space(); - } - this.token(endToken); -} -function TupleExpression(node) { - const elems = node.elements; - const len = elems.length; - let startToken; - let endToken; - if (this.format.recordAndTupleSyntaxType === "bar") { - startToken = "[|"; - endToken = "|]"; - } else if (this.format.recordAndTupleSyntaxType === "hash") { - startToken = "#["; - endToken = "]"; - } else { - throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`); - } - this.token(startToken); - for (let i = 0; i < elems.length; i++) { - const elem = elems[i]; - if (elem) { - if (i > 0) this.space(); - this.print(elem); - if (i < len - 1 || this.shouldPrintTrailingComma(endToken)) { - this.token(",", false, i); - } - } - } - this.token(endToken); -} - -//# sourceMappingURL=deprecated.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/deprecated.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/deprecated.js.map deleted file mode 100644 index ceb91e9a..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/deprecated.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["Noop","TSExpressionWithTypeArguments","node","print","expression","typeParameters","DecimalLiteral","raw","getPossibleRaw","format","minified","undefined","word","value","RecordExpression","props","properties","startToken","endToken","recordAndTupleSyntaxType","Error","JSON","stringify","token","length","space","printList","shouldPrintTrailingComma","TupleExpression","elems","elements","len","i","elem"],"sources":["../../src/generators/deprecated.ts"],"sourcesContent":["import type Printer from \"../printer\";\nimport type * as t from \"@babel/types\";\n\nexport type DeprecatedBabel7ASTTypes =\n | \"Noop\"\n | \"TSExpressionWithTypeArguments\"\n | \"DecimalLiteral\"\n | \"RecordExpression\"\n | \"TupleExpression\";\n\nexport function Noop(this: Printer) {}\n\nexport function TSExpressionWithTypeArguments(\n this: Printer,\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n node: t.TSExpressionWithTypeArguments,\n) {\n this.print(node.expression);\n this.print(node.typeParameters);\n}\n\nexport function DecimalLiteral(this: Printer, node: any) {\n const raw = this.getPossibleRaw(node);\n if (!this.format.minified && raw !== undefined) {\n this.word(raw);\n return;\n }\n this.word(node.value + \"m\");\n}\n\n// @ts-ignore(Babel 7 vs Babel 8) - t.RecordExpression only exists in Babel 7\nexport function RecordExpression(this: Printer, node: t.RecordExpression) {\n const props = node.properties;\n\n let startToken;\n let endToken;\n\n if (this.format.recordAndTupleSyntaxType === \"bar\") {\n startToken = \"{|\";\n endToken = \"|}\";\n } else if (\n this.format.recordAndTupleSyntaxType !== \"hash\" &&\n this.format.recordAndTupleSyntaxType != null\n ) {\n throw new Error(\n `The \"recordAndTupleSyntaxType\" generator option must be \"bar\" or \"hash\" (${JSON.stringify(\n this.format.recordAndTupleSyntaxType,\n )} received).`,\n );\n } else {\n startToken = \"#{\";\n endToken = \"}\";\n }\n\n this.token(startToken);\n\n if (props.length) {\n this.space();\n this.printList(props, this.shouldPrintTrailingComma(endToken), true, true);\n this.space();\n }\n this.token(endToken);\n}\n\n// @ts-ignore(Babel 7 vs Babel 8) - t.TupleExpression only exists in Babel 7\nexport function TupleExpression(this: Printer, node: t.TupleExpression) {\n const elems = node.elements;\n const len = elems.length;\n\n let startToken;\n let endToken;\n if (process.env.BABEL_8_BREAKING) {\n startToken = \"#[\";\n endToken = \"]\";\n } else {\n if (this.format.recordAndTupleSyntaxType === \"bar\") {\n startToken = \"[|\";\n endToken = \"|]\";\n } else if (this.format.recordAndTupleSyntaxType === \"hash\") {\n startToken = \"#[\";\n endToken = \"]\";\n } else {\n throw new Error(\n `${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`,\n );\n }\n }\n\n this.token(startToken);\n\n for (let i = 0; i < elems.length; i++) {\n const elem = elems[i];\n if (elem) {\n if (i > 0) this.space();\n this.print(elem);\n if (i < len - 1 || this.shouldPrintTrailingComma(endToken)) {\n this.token(\",\", false, i);\n }\n }\n }\n\n this.token(endToken);\n}\n"],"mappings":";;;;;;;;;;AAUO,SAASA,IAAIA,CAAA,EAAgB,CAAC;AAE9B,SAASC,6BAA6BA,CAG3CC,IAAqC,EACrC;EACA,IAAI,CAACC,KAAK,CAACD,IAAI,CAACE,UAAU,CAAC;EAC3B,IAAI,CAACD,KAAK,CAACD,IAAI,CAACG,cAAc,CAAC;AACjC;AAEO,SAASC,cAAcA,CAAgBJ,IAAS,EAAE;EACvD,MAAMK,GAAG,GAAG,IAAI,CAACC,cAAc,CAACN,IAAI,CAAC;EACrC,IAAI,CAAC,IAAI,CAACO,MAAM,CAACC,QAAQ,IAAIH,GAAG,KAAKI,SAAS,EAAE;IAC9C,IAAI,CAACC,IAAI,CAACL,GAAG,CAAC;IACd;EACF;EACA,IAAI,CAACK,IAAI,CAACV,IAAI,CAACW,KAAK,GAAG,GAAG,CAAC;AAC7B;AAGO,SAASC,gBAAgBA,CAAgBZ,IAAwB,EAAE;EACxE,MAAMa,KAAK,GAAGb,IAAI,CAACc,UAAU;EAE7B,IAAIC,UAAU;EACd,IAAIC,QAAQ;EAEZ,IAAI,IAAI,CAACT,MAAM,CAACU,wBAAwB,KAAK,KAAK,EAAE;IAClDF,UAAU,GAAG,IAAI;IACjBC,QAAQ,GAAG,IAAI;EACjB,CAAC,MAAM,IACL,IAAI,CAACT,MAAM,CAACU,wBAAwB,KAAK,MAAM,IAC/C,IAAI,CAACV,MAAM,CAACU,wBAAwB,IAAI,IAAI,EAC5C;IACA,MAAM,IAAIC,KAAK,CACb,4EAA4EC,IAAI,CAACC,SAAS,CACxF,IAAI,CAACb,MAAM,CAACU,wBACd,CAAC,aACH,CAAC;EACH,CAA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,CAAC;MAChB,IAAID,CAAC,GAAGD,GAAG,GAAG,CAAC,IAAI,IAAI,CAACJ,wBAAwB,CAACT,QAAQ,CAAC,EAAE;QAC1D,IAAI,CAACK,KAAK,CAAC,GAAG,EAAE,KAAK,EAAES,CAAC,CAAC;MAC3B;IACF;EACF;EAEA,IAAI,CAACT,KAAK,CAACL,QAAQ,CAAC;AACtB","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/expressions.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/expressions.js deleted file mode 100644 index 74487959..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/expressions.js +++ /dev/null @@ -1,309 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.LogicalExpression = exports.AssignmentExpression = AssignmentExpression; -exports.AssignmentPattern = AssignmentPattern; -exports.AwaitExpression = AwaitExpression; -exports.BinaryExpression = BinaryExpression; -exports.BindExpression = BindExpression; -exports.CallExpression = CallExpression; -exports.ConditionalExpression = ConditionalExpression; -exports.Decorator = Decorator; -exports.DoExpression = DoExpression; -exports.EmptyStatement = EmptyStatement; -exports.ExpressionStatement = ExpressionStatement; -exports.Import = Import; -exports.MemberExpression = MemberExpression; -exports.MetaProperty = MetaProperty; -exports.ModuleExpression = ModuleExpression; -exports.NewExpression = NewExpression; -exports.OptionalCallExpression = OptionalCallExpression; -exports.OptionalMemberExpression = OptionalMemberExpression; -exports.ParenthesizedExpression = ParenthesizedExpression; -exports.PrivateName = PrivateName; -exports.SequenceExpression = SequenceExpression; -exports.Super = Super; -exports.ThisExpression = ThisExpression; -exports.UnaryExpression = UnaryExpression; -exports.UpdateExpression = UpdateExpression; -exports.V8IntrinsicIdentifier = V8IntrinsicIdentifier; -exports.YieldExpression = YieldExpression; -exports._shouldPrintDecoratorsBeforeExport = _shouldPrintDecoratorsBeforeExport; -var _t = require("@babel/types"); -var _index = require("../node/index.js"); -const { - isCallExpression, - isLiteral, - isMemberExpression, - isNewExpression, - isPattern -} = _t; -function UnaryExpression(node) { - const { - operator - } = node; - const firstChar = operator.charCodeAt(0); - if (firstChar >= 97 && firstChar <= 122) { - this.word(operator); - this.space(); - } else { - this.tokenChar(firstChar); - } - this.print(node.argument); -} -function DoExpression(node) { - if (node.async) { - this.word("async", true); - this.space(); - } - this.word("do"); - this.space(); - this.print(node.body); -} -function ParenthesizedExpression(node) { - this.tokenChar(40); - const oldNoLineTerminatorAfterNode = this.enterDelimited(); - this.print(node.expression, undefined, true); - this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode; - this.rightParens(node); -} -function UpdateExpression(node) { - if (node.prefix) { - this.token(node.operator, false, 0, true); - this.print(node.argument); - } else { - this.print(node.argument, true); - this.token(node.operator, false, 0, true); - } -} -function ConditionalExpression(node) { - this.print(node.test); - this.space(); - this.tokenChar(63); - this.space(); - this.print(node.consequent); - this.space(); - this.tokenChar(58); - this.space(); - this.print(node.alternate); -} -function NewExpression(node, parent) { - this.word("new"); - this.space(); - this.print(node.callee); - if (this.format.minified && node.arguments.length === 0 && !node.optional && !isCallExpression(parent, { - callee: node - }) && !isMemberExpression(parent) && !isNewExpression(parent)) { - return; - } - this.print(node.typeArguments); - this.print(node.typeParameters); - if (node.optional) { - this.token("?."); - } - if (node.arguments.length === 0 && this.tokenMap && !this.tokenMap.endMatches(node, ")")) { - return; - } - this.tokenChar(40); - const oldNoLineTerminatorAfterNode = this.enterDelimited(); - this.printList(node.arguments, this.shouldPrintTrailingComma(")"), undefined, undefined, undefined, true); - this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode; - this.rightParens(node); -} -function SequenceExpression(node) { - this.printList(node.expressions); -} -function ThisExpression() { - this.word("this"); -} -function Super() { - this.word("super"); -} -function _shouldPrintDecoratorsBeforeExport(node) { - if (typeof this.format.decoratorsBeforeExport === "boolean") { - return this.format.decoratorsBeforeExport; - } - return typeof node.start === "number" && node.start === node.declaration.start; -} -function Decorator(node) { - this.tokenChar(64); - const { - expression - } = node; - this.print(expression); - this.newline(); -} -function OptionalMemberExpression(node) { - let { - computed - } = node; - const { - optional, - property - } = node; - this.print(node.object); - if (!computed && isMemberExpression(property)) { - throw new TypeError("Got a MemberExpression for MemberExpression property"); - } - if (isLiteral(property) && typeof property.value === "number") { - computed = true; - } - if (optional) { - this.token("?."); - } - if (computed) { - this.tokenChar(91); - this.print(property); - this.tokenChar(93); - } else { - if (!optional) { - this.tokenChar(46); - } - this.print(property); - } -} -function OptionalCallExpression(node) { - this.print(node.callee); - this.print(node.typeParameters); - if (node.optional) { - this.token("?."); - } - this.print(node.typeArguments); - this.tokenChar(40); - const oldNoLineTerminatorAfterNode = this.enterDelimited(); - this.printList(node.arguments, undefined, undefined, undefined, undefined, true); - this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode; - this.rightParens(node); -} -function CallExpression(node) { - this.print(node.callee); - this.print(node.typeArguments); - this.print(node.typeParameters); - this.tokenChar(40); - const oldNoLineTerminatorAfterNode = this.enterDelimited(); - this.printList(node.arguments, this.shouldPrintTrailingComma(")"), undefined, undefined, undefined, true); - this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode; - this.rightParens(node); -} -function Import() { - this.word("import"); -} -function AwaitExpression(node) { - this.word("await"); - this.space(); - this.print(node.argument); -} -function YieldExpression(node) { - if (node.delegate) { - this.word("yield", true); - this.tokenChar(42); - if (node.argument) { - this.space(); - this.print(node.argument); - } - } else if (node.argument) { - this.word("yield", true); - this.space(); - this.print(node.argument); - } else { - this.word("yield"); - } -} -function EmptyStatement() { - this.semicolon(true); -} -function ExpressionStatement(node) { - this.tokenContext |= _index.TokenContext.expressionStatement; - this.print(node.expression); - this.semicolon(); -} -function AssignmentPattern(node) { - this.print(node.left); - if (node.left.type === "Identifier" || isPattern(node.left)) { - if (node.left.optional) this.tokenChar(63); - this.print(node.left.typeAnnotation); - } - this.space(); - this.tokenChar(61); - this.space(); - this.print(node.right); -} -function AssignmentExpression(node) { - this.print(node.left); - this.space(); - this.token(node.operator, false, 0, true); - this.space(); - this.print(node.right); -} -function BinaryExpression(node) { - this.print(node.left); - this.space(); - const { - operator - } = node; - if (operator.charCodeAt(0) === 105) { - this.word(operator); - } else { - this.token(operator, false, 0, true); - this.setLastChar(operator.charCodeAt(operator.length - 1)); - } - this.space(); - this.print(node.right); -} -function BindExpression(node) { - this.print(node.object); - this.token("::"); - this.print(node.callee); -} -function MemberExpression(node) { - this.print(node.object); - if (!node.computed && isMemberExpression(node.property)) { - throw new TypeError("Got a MemberExpression for MemberExpression property"); - } - let computed = node.computed; - if (isLiteral(node.property) && typeof node.property.value === "number") { - computed = true; - } - if (computed) { - const oldNoLineTerminatorAfterNode = this.enterDelimited(); - this.tokenChar(91); - this.print(node.property, undefined, true); - this.tokenChar(93); - this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode; - } else { - this.tokenChar(46); - this.print(node.property); - } -} -function MetaProperty(node) { - this.print(node.meta); - this.tokenChar(46); - this.print(node.property); -} -function PrivateName(node) { - this.tokenChar(35); - this.print(node.id); -} -function V8IntrinsicIdentifier(node) { - this.tokenChar(37); - this.word(node.name); -} -function ModuleExpression(node) { - this.word("module", true); - this.space(); - this.tokenChar(123); - this.indent(); - const { - body - } = node; - if (body.body.length || body.directives.length) { - this.newline(); - } - this.print(body); - this.dedent(); - this.rightBrace(node); -} - -//# sourceMappingURL=expressions.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/expressions.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/expressions.js.map deleted file mode 100644 index c9c6d85a..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/expressions.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_t","require","_index","isCallExpression","isLiteral","isMemberExpression","isNewExpression","isPattern","UnaryExpression","node","operator","firstChar","charCodeAt","word","space","tokenChar","print","argument","DoExpression","async","body","ParenthesizedExpression","token","oldNoLineTerminatorAfterNode","enterDelimited","expression","undefined","_noLineTerminatorAfterNode","rightParens","UpdateExpression","prefix","ConditionalExpression","test","consequent","alternate","NewExpression","parent","callee","format","minified","arguments","length","optional","typeArguments","typeParameters","tokenMap","endMatches","printList","shouldPrintTrailingComma","SequenceExpression","expressions","ThisExpression","Super","_shouldPrintDecoratorsBeforeExport","decoratorsBeforeExport","start","declaration","Decorator","newline","OptionalMemberExpression","computed","property","object","TypeError","value","OptionalCallExpression","CallExpression","Import","AwaitExpression","YieldExpression","delegate","EmptyStatement","semicolon","ExpressionStatement","tokenContext","TokenContext","expressionStatement","AssignmentPattern","left","type","typeAnnotation","right","AssignmentExpression","BinaryExpression","setLastChar","BindExpression","MemberExpression","MetaProperty","meta","PrivateName","id","V8IntrinsicIdentifier","name","ModuleExpression","indent","directives","dedent","rightBrace"],"sources":["../../src/generators/expressions.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport {\n isCallExpression,\n isLiteral,\n isMemberExpression,\n isNewExpression,\n isPattern,\n} from \"@babel/types\";\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\nimport type * as t from \"@babel/types\";\nimport { TokenContext } from \"../node/index.ts\";\n\nexport function UnaryExpression(this: Printer, node: t.UnaryExpression) {\n const { operator } = node;\n const firstChar = operator.charCodeAt(0);\n if (firstChar >= charCodes.lowercaseA && firstChar <= charCodes.lowercaseZ) {\n this.word(operator);\n this.space();\n } else {\n this.tokenChar(firstChar);\n }\n\n this.print(node.argument);\n}\n\nexport function DoExpression(this: Printer, node: t.DoExpression) {\n if (node.async) {\n this.word(\"async\", true);\n this.space();\n }\n this.word(\"do\");\n this.space();\n this.print(node.body);\n}\n\nexport function ParenthesizedExpression(\n this: Printer,\n node: t.ParenthesizedExpression,\n) {\n this.token(\"(\");\n const oldNoLineTerminatorAfterNode = this.enterDelimited();\n this.print(node.expression, undefined, true);\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n this.rightParens(node);\n}\n\nexport function UpdateExpression(this: Printer, node: t.UpdateExpression) {\n if (node.prefix) {\n this.token(node.operator, false, 0, true);\n this.print(node.argument);\n } else {\n this.print(node.argument, true);\n this.token(node.operator, false, 0, true);\n }\n}\n\nexport function ConditionalExpression(\n this: Printer,\n node: t.ConditionalExpression,\n) {\n this.print(node.test);\n this.space();\n this.token(\"?\");\n this.space();\n this.print(node.consequent);\n this.space();\n this.token(\":\");\n this.space();\n this.print(node.alternate);\n}\n\nexport function NewExpression(\n this: Printer,\n node: t.NewExpression,\n parent: t.Node,\n) {\n this.word(\"new\");\n this.space();\n this.print(node.callee);\n if (\n this.format.minified &&\n node.arguments.length === 0 &&\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n !node.optional &&\n !isCallExpression(parent, { callee: node }) &&\n !isMemberExpression(parent) &&\n !isNewExpression(parent)\n ) {\n return;\n }\n\n this.print(node.typeArguments);\n if (!process.env.BABEL_8_BREAKING) {\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n this.print(node.typeParameters); // Legacy TS AST\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n if (node.optional) {\n this.token(\"?.\");\n }\n }\n\n if (\n node.arguments.length === 0 &&\n this.tokenMap &&\n !this.tokenMap.endMatches(node, \")\")\n ) {\n return;\n }\n\n this.token(\"(\");\n const oldNoLineTerminatorAfterNode = this.enterDelimited();\n this.printList(\n node.arguments,\n this.shouldPrintTrailingComma(\")\"),\n undefined,\n undefined,\n undefined,\n true,\n );\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n this.rightParens(node);\n}\n\nexport function SequenceExpression(this: Printer, node: t.SequenceExpression) {\n this.printList(node.expressions);\n}\n\nexport function ThisExpression(this: Printer) {\n this.word(\"this\");\n}\n\nexport function Super(this: Printer) {\n this.word(\"super\");\n}\n\nexport function _shouldPrintDecoratorsBeforeExport(\n this: Printer,\n node: t.ExportDeclaration & { declaration: t.ClassDeclaration },\n) {\n if (typeof this.format.decoratorsBeforeExport === \"boolean\") {\n return this.format.decoratorsBeforeExport;\n }\n return (\n typeof node.start === \"number\" && node.start === node.declaration.start\n );\n}\n\nexport function Decorator(this: Printer, node: t.Decorator) {\n this.token(\"@\");\n const { expression } = node;\n this.print(expression);\n this.newline();\n}\n\nexport function OptionalMemberExpression(\n this: Printer,\n node: t.OptionalMemberExpression,\n) {\n let { computed } = node;\n const { optional, property } = node;\n\n this.print(node.object);\n\n if (!computed && isMemberExpression(property)) {\n throw new TypeError(\"Got a MemberExpression for MemberExpression property\");\n }\n\n // @ts-expect-error todo(flow->ts) maybe instead of typeof check specific literal types?\n if (isLiteral(property) && typeof property.value === \"number\") {\n computed = true;\n }\n if (optional) {\n this.token(\"?.\");\n }\n\n if (computed) {\n this.token(\"[\");\n this.print(property);\n this.token(\"]\");\n } else {\n if (!optional) {\n this.token(\".\");\n }\n this.print(property);\n }\n}\n\nexport function OptionalCallExpression(\n this: Printer,\n node: t.OptionalCallExpression,\n) {\n this.print(node.callee);\n\n if (!process.env.BABEL_8_BREAKING) {\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n this.print(node.typeParameters); // legacy TS AST\n }\n\n if (node.optional) {\n this.token(\"?.\");\n }\n\n this.print(node.typeArguments);\n\n this.token(\"(\");\n const oldNoLineTerminatorAfterNode = this.enterDelimited();\n this.printList(\n node.arguments,\n undefined,\n undefined,\n undefined,\n undefined,\n true,\n );\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n this.rightParens(node);\n}\n\nexport function CallExpression(this: Printer, node: t.CallExpression) {\n this.print(node.callee);\n\n this.print(node.typeArguments);\n if (!process.env.BABEL_8_BREAKING) {\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n this.print(node.typeParameters); // legacy TS AST\n }\n this.token(\"(\");\n const oldNoLineTerminatorAfterNode = this.enterDelimited();\n this.printList(\n node.arguments,\n this.shouldPrintTrailingComma(\")\"),\n undefined,\n undefined,\n undefined,\n true,\n );\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n this.rightParens(node);\n}\n\nexport function Import(this: Printer) {\n this.word(\"import\");\n}\n\nexport function AwaitExpression(this: Printer, node: t.AwaitExpression) {\n this.word(\"await\");\n this.space();\n this.print(node.argument);\n}\n\nexport function YieldExpression(this: Printer, node: t.YieldExpression) {\n if (node.delegate) {\n this.word(\"yield\", true);\n this.token(\"*\");\n if (node.argument) {\n this.space();\n // line terminators are allowed after yield*\n this.print(node.argument);\n }\n } else if (node.argument) {\n this.word(\"yield\", true);\n this.space();\n this.print(node.argument);\n } else {\n this.word(\"yield\");\n }\n}\n\nexport function EmptyStatement(this: Printer) {\n this.semicolon(true /* force */);\n}\n\nexport function ExpressionStatement(\n this: Printer,\n node: t.ExpressionStatement,\n) {\n this.tokenContext |= TokenContext.expressionStatement;\n this.print(node.expression);\n this.semicolon();\n}\n\nexport function AssignmentPattern(this: Printer, node: t.AssignmentPattern) {\n this.print(node.left);\n if (node.left.type === \"Identifier\" || isPattern(node.left)) {\n if (node.left.optional) this.token(\"?\");\n this.print(node.left.typeAnnotation);\n }\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.right);\n}\n\nexport function AssignmentExpression(\n this: Printer,\n node: t.AssignmentExpression | t.LogicalExpression,\n) {\n this.print(node.left);\n\n this.space();\n this.token(node.operator, false, 0, true);\n this.space();\n\n this.print(node.right);\n}\n\nexport { AssignmentExpression as LogicalExpression };\n\nexport function BinaryExpression(this: Printer, node: t.BinaryExpression) {\n this.print(node.left);\n\n this.space();\n const { operator } = node;\n if (operator.charCodeAt(0) === charCodes.lowercaseI) {\n this.word(operator);\n } else {\n this.token(operator, false, 0, true);\n this.setLastChar(operator.charCodeAt(operator.length - 1));\n }\n this.space();\n\n this.print(node.right);\n}\n\nexport function BindExpression(this: Printer, node: t.BindExpression) {\n this.print(node.object);\n this.token(\"::\");\n this.print(node.callee);\n}\n\nexport function MemberExpression(this: Printer, node: t.MemberExpression) {\n this.print(node.object);\n\n if (!node.computed && isMemberExpression(node.property)) {\n throw new TypeError(\"Got a MemberExpression for MemberExpression property\");\n }\n\n let computed = node.computed;\n // @ts-expect-error todo(flow->ts) maybe use specific literal types\n if (isLiteral(node.property) && typeof node.property.value === \"number\") {\n computed = true;\n }\n\n if (computed) {\n const oldNoLineTerminatorAfterNode = this.enterDelimited();\n this.token(\"[\");\n this.print(node.property, undefined, true);\n this.token(\"]\");\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n } else {\n this.token(\".\");\n this.print(node.property);\n }\n}\n\nexport function MetaProperty(this: Printer, node: t.MetaProperty) {\n this.print(node.meta);\n this.token(\".\");\n this.print(node.property);\n}\n\nexport function PrivateName(this: Printer, node: t.PrivateName) {\n this.token(\"#\");\n this.print(node.id);\n}\n\nexport function V8IntrinsicIdentifier(\n this: Printer,\n node: t.V8IntrinsicIdentifier,\n) {\n this.token(\"%\");\n this.word(node.name);\n}\n\nexport function ModuleExpression(this: Printer, node: t.ModuleExpression) {\n this.word(\"module\", true);\n this.space();\n this.token(\"{\");\n this.indent();\n const { body } = node;\n if (body.body.length || body.directives.length) {\n this.newline();\n }\n this.print(body);\n this.dedent();\n this.rightBrace(node);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,EAAA,GAAAC,OAAA;AAWA,IAAAC,MAAA,GAAAD,OAAA;AAAgD;EAV9CE,gBAAgB;EAChBC,SAAS;EACTC,kBAAkB;EAClBC,eAAe;EACfC;AAAS,IAAAP,EAAA;AAQJ,SAASQ,eAAeA,CAAgBC,IAAuB,EAAE;EACtE,MAAM;IAAEC;EAAS,CAAC,GAAGD,IAAI;EACzB,MAAME,SAAS,GAAGD,QAAQ,CAACE,UAAU,CAAC,CAAC,CAAC;EACxC,IAAID,SAAS,MAAwB,IAAIA,SAAS,OAAwB,EAAE;IAC1E,IAAI,CAACE,IAAI,CAACH,QAAQ,CAAC;IACnB,IAAI,CAACI,KAAK,CAAC,CAAC;EACd,CAAC,M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EACzB,IAAI,CAACC,KAAK,CAAC,CAAC;EACZ,IAAI,CAACQ,SAAK,IAAI,CAAC;EACf,IAAI,CAACwE,MAAM,CAAC,CAAC;EACb,MAAM;IAAE1E;EAAK,CAAC,GAAGX,IAAI;EACrB,IAAIW,IAAI,CAACA,IAAI,CAACqB,MAAM,IAAIrB,IAAI,CAAC2E,UAAU,CAACtD,MAAM,EAAE;IAC9C,IAAI,CAACiB,OAAO,CAAC,CAAC;EAChB;EACA,IAAI,CAAC1C,KAAK,CAACI,IAAI,CAAC;EAChB,IAAI,CAAC4E,MAAM,CAAC,CAAC;EACb,IAAI,CAACC,UAAU,CAACxF,IAAI,CAAC;AACvB","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/flow.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/flow.js deleted file mode 100644 index 62445cba..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/flow.js +++ /dev/null @@ -1,658 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.AnyTypeAnnotation = AnyTypeAnnotation; -exports.ArrayTypeAnnotation = ArrayTypeAnnotation; -exports.BooleanLiteralTypeAnnotation = BooleanLiteralTypeAnnotation; -exports.BooleanTypeAnnotation = BooleanTypeAnnotation; -exports.DeclareClass = DeclareClass; -exports.DeclareExportAllDeclaration = DeclareExportAllDeclaration; -exports.DeclareExportDeclaration = DeclareExportDeclaration; -exports.DeclareFunction = DeclareFunction; -exports.DeclareInterface = DeclareInterface; -exports.DeclareModule = DeclareModule; -exports.DeclareModuleExports = DeclareModuleExports; -exports.DeclareOpaqueType = DeclareOpaqueType; -exports.DeclareTypeAlias = DeclareTypeAlias; -exports.DeclareVariable = DeclareVariable; -exports.DeclaredPredicate = DeclaredPredicate; -exports.EmptyTypeAnnotation = EmptyTypeAnnotation; -exports.EnumBooleanBody = EnumBooleanBody; -exports.EnumBooleanMember = EnumBooleanMember; -exports.EnumDeclaration = EnumDeclaration; -exports.EnumDefaultedMember = EnumDefaultedMember; -exports.EnumNumberBody = EnumNumberBody; -exports.EnumNumberMember = EnumNumberMember; -exports.EnumStringBody = EnumStringBody; -exports.EnumStringMember = EnumStringMember; -exports.EnumSymbolBody = EnumSymbolBody; -exports.ExistsTypeAnnotation = ExistsTypeAnnotation; -exports.FunctionTypeAnnotation = FunctionTypeAnnotation; -exports.FunctionTypeParam = FunctionTypeParam; -exports.IndexedAccessType = IndexedAccessType; -exports.InferredPredicate = InferredPredicate; -exports.InterfaceDeclaration = InterfaceDeclaration; -exports.GenericTypeAnnotation = exports.ClassImplements = exports.InterfaceExtends = InterfaceExtends; -exports.InterfaceTypeAnnotation = InterfaceTypeAnnotation; -exports.IntersectionTypeAnnotation = IntersectionTypeAnnotation; -exports.MixedTypeAnnotation = MixedTypeAnnotation; -exports.NullLiteralTypeAnnotation = NullLiteralTypeAnnotation; -exports.NullableTypeAnnotation = NullableTypeAnnotation; -Object.defineProperty(exports, "NumberLiteralTypeAnnotation", { - enumerable: true, - get: function () { - return _types2.NumericLiteral; - } -}); -exports.NumberTypeAnnotation = NumberTypeAnnotation; -exports.ObjectTypeAnnotation = ObjectTypeAnnotation; -exports.ObjectTypeCallProperty = ObjectTypeCallProperty; -exports.ObjectTypeIndexer = ObjectTypeIndexer; -exports.ObjectTypeInternalSlot = ObjectTypeInternalSlot; -exports.ObjectTypeProperty = ObjectTypeProperty; -exports.ObjectTypeSpreadProperty = ObjectTypeSpreadProperty; -exports.OpaqueType = OpaqueType; -exports.OptionalIndexedAccessType = OptionalIndexedAccessType; -exports.QualifiedTypeIdentifier = QualifiedTypeIdentifier; -Object.defineProperty(exports, "StringLiteralTypeAnnotation", { - enumerable: true, - get: function () { - return _types2.StringLiteral; - } -}); -exports.StringTypeAnnotation = StringTypeAnnotation; -exports.SymbolTypeAnnotation = SymbolTypeAnnotation; -exports.ThisTypeAnnotation = ThisTypeAnnotation; -exports.TupleTypeAnnotation = TupleTypeAnnotation; -exports.TypeAlias = TypeAlias; -exports.TypeAnnotation = TypeAnnotation; -exports.TypeCastExpression = TypeCastExpression; -exports.TypeParameter = TypeParameter; -exports.TypeParameterDeclaration = exports.TypeParameterInstantiation = TypeParameterInstantiation; -exports.TypeofTypeAnnotation = TypeofTypeAnnotation; -exports.UnionTypeAnnotation = UnionTypeAnnotation; -exports.Variance = Variance; -exports.VoidTypeAnnotation = VoidTypeAnnotation; -exports._interfaceish = _interfaceish; -exports._variance = _variance; -var _t = require("@babel/types"); -var _modules = require("./modules.js"); -var _index = require("../node/index.js"); -var _types2 = require("./types.js"); -const { - isDeclareExportDeclaration, - isStatement -} = _t; -function AnyTypeAnnotation() { - this.word("any"); -} -function ArrayTypeAnnotation(node) { - this.print(node.elementType, true); - this.tokenChar(91); - this.tokenChar(93); -} -function BooleanTypeAnnotation() { - this.word("boolean"); -} -function BooleanLiteralTypeAnnotation(node) { - this.word(node.value ? "true" : "false"); -} -function NullLiteralTypeAnnotation() { - this.word("null"); -} -function DeclareClass(node, parent) { - if (!isDeclareExportDeclaration(parent)) { - this.word("declare"); - this.space(); - } - this.word("class"); - this.space(); - _interfaceish.call(this, node); -} -function DeclareFunction(node, parent) { - if (!isDeclareExportDeclaration(parent)) { - this.word("declare"); - this.space(); - } - this.word("function"); - this.space(); - this.print(node.id); - this.print(node.id.typeAnnotation.typeAnnotation); - if (node.predicate) { - this.space(); - this.print(node.predicate); - } - this.semicolon(); -} -function InferredPredicate() { - this.tokenChar(37); - this.word("checks"); -} -function DeclaredPredicate(node) { - this.tokenChar(37); - this.word("checks"); - this.tokenChar(40); - this.print(node.value); - this.tokenChar(41); -} -function DeclareInterface(node) { - this.word("declare"); - this.space(); - InterfaceDeclaration.call(this, node); -} -function DeclareModule(node) { - this.word("declare"); - this.space(); - this.word("module"); - this.space(); - this.print(node.id); - this.space(); - this.print(node.body); -} -function DeclareModuleExports(node) { - this.word("declare"); - this.space(); - this.word("module"); - this.tokenChar(46); - this.word("exports"); - this.print(node.typeAnnotation); -} -function DeclareTypeAlias(node) { - this.word("declare"); - this.space(); - TypeAlias.call(this, node); -} -function DeclareOpaqueType(node, parent) { - if (!isDeclareExportDeclaration(parent)) { - this.word("declare"); - this.space(); - } - OpaqueType.call(this, node); -} -function DeclareVariable(node, parent) { - if (!isDeclareExportDeclaration(parent)) { - this.word("declare"); - this.space(); - } - this.word("var"); - this.space(); - this.print(node.id); - this.print(node.id.typeAnnotation); - this.semicolon(); -} -function DeclareExportDeclaration(node) { - this.word("declare"); - this.space(); - this.word("export"); - this.space(); - if (node.default) { - this.word("default"); - this.space(); - } - FlowExportDeclaration.call(this, node); -} -function DeclareExportAllDeclaration(node) { - this.word("declare"); - this.space(); - _modules.ExportAllDeclaration.call(this, node); -} -function EnumDeclaration(node) { - const { - id, - body - } = node; - this.word("enum"); - this.space(); - this.print(id); - this.print(body); -} -function enumExplicitType(context, name, hasExplicitType) { - if (hasExplicitType) { - context.space(); - context.word("of"); - context.space(); - context.word(name); - } - context.space(); -} -function enumBody(context, node) { - const { - members - } = node; - context.token("{"); - context.indent(); - context.newline(); - for (const member of members) { - context.print(member); - context.newline(); - } - if (node.hasUnknownMembers) { - context.token("..."); - context.newline(); - } - context.dedent(); - context.token("}"); -} -function EnumBooleanBody(node) { - const { - explicitType - } = node; - enumExplicitType(this, "boolean", explicitType); - enumBody(this, node); -} -function EnumNumberBody(node) { - const { - explicitType - } = node; - enumExplicitType(this, "number", explicitType); - enumBody(this, node); -} -function EnumStringBody(node) { - const { - explicitType - } = node; - enumExplicitType(this, "string", explicitType); - enumBody(this, node); -} -function EnumSymbolBody(node) { - enumExplicitType(this, "symbol", true); - enumBody(this, node); -} -function EnumDefaultedMember(node) { - const { - id - } = node; - this.print(id); - this.tokenChar(44); -} -function enumInitializedMember(context, node) { - context.print(node.id); - context.space(); - context.token("="); - context.space(); - context.print(node.init); - context.token(","); -} -function EnumBooleanMember(node) { - enumInitializedMember(this, node); -} -function EnumNumberMember(node) { - enumInitializedMember(this, node); -} -function EnumStringMember(node) { - enumInitializedMember(this, node); -} -function FlowExportDeclaration(node) { - if (node.declaration) { - const declar = node.declaration; - this.print(declar); - if (!isStatement(declar)) this.semicolon(); - } else { - this.tokenChar(123); - if (node.specifiers.length) { - this.space(); - this.printList(node.specifiers); - this.space(); - } - this.tokenChar(125); - if (node.source) { - this.space(); - this.word("from"); - this.space(); - this.print(node.source); - } - this.semicolon(); - } -} -function ExistsTypeAnnotation() { - this.tokenChar(42); -} -function FunctionTypeAnnotation(node, parent) { - this.print(node.typeParameters); - this.tokenChar(40); - if (node.this) { - this.word("this"); - this.tokenChar(58); - this.space(); - this.print(node.this.typeAnnotation); - if (node.params.length || node.rest) { - this.tokenChar(44); - this.space(); - } - } - this.printList(node.params); - if (node.rest) { - if (node.params.length) { - this.tokenChar(44); - this.space(); - } - this.token("..."); - this.print(node.rest); - } - this.tokenChar(41); - const type = parent == null ? void 0 : parent.type; - if (type != null && (type === "ObjectTypeCallProperty" || type === "ObjectTypeInternalSlot" || type === "DeclareFunction" || type === "ObjectTypeProperty" && parent.method)) { - this.tokenChar(58); - } else { - this.space(); - this.token("=>"); - } - this.space(); - this.print(node.returnType); -} -function FunctionTypeParam(node) { - this.print(node.name); - if (node.optional) this.tokenChar(63); - if (node.name) { - this.tokenChar(58); - this.space(); - } - this.print(node.typeAnnotation); -} -function InterfaceExtends(node) { - this.print(node.id); - this.print(node.typeParameters, true); -} -function _interfaceish(node) { - var _node$extends; - this.print(node.id); - this.print(node.typeParameters); - if ((_node$extends = node.extends) != null && _node$extends.length) { - this.space(); - this.word("extends"); - this.space(); - this.printList(node.extends); - } - if (node.type === "DeclareClass") { - var _node$mixins, _node$implements; - if ((_node$mixins = node.mixins) != null && _node$mixins.length) { - this.space(); - this.word("mixins"); - this.space(); - this.printList(node.mixins); - } - if ((_node$implements = node.implements) != null && _node$implements.length) { - this.space(); - this.word("implements"); - this.space(); - this.printList(node.implements); - } - } - this.space(); - this.print(node.body); -} -function _variance(node) { - var _node$variance; - const kind = (_node$variance = node.variance) == null ? void 0 : _node$variance.kind; - if (kind != null) { - if (kind === "plus") { - this.tokenChar(43); - } else if (kind === "minus") { - this.tokenChar(45); - } - } -} -function InterfaceDeclaration(node) { - this.word("interface"); - this.space(); - _interfaceish.call(this, node); -} -function andSeparator(occurrenceCount) { - this.space(); - this.token("&", false, occurrenceCount); - this.space(); -} -function InterfaceTypeAnnotation(node) { - var _node$extends2; - this.word("interface"); - if ((_node$extends2 = node.extends) != null && _node$extends2.length) { - this.space(); - this.word("extends"); - this.space(); - this.printList(node.extends); - } - this.space(); - this.print(node.body); -} -function IntersectionTypeAnnotation(node) { - this.printJoin(node.types, undefined, undefined, andSeparator); -} -function MixedTypeAnnotation() { - this.word("mixed"); -} -function EmptyTypeAnnotation() { - this.word("empty"); -} -function NullableTypeAnnotation(node) { - this.tokenChar(63); - this.print(node.typeAnnotation); -} -function NumberTypeAnnotation() { - this.word("number"); -} -function StringTypeAnnotation() { - this.word("string"); -} -function ThisTypeAnnotation() { - this.word("this"); -} -function TupleTypeAnnotation(node) { - this.tokenChar(91); - this.printList(node.types); - this.tokenChar(93); -} -function TypeofTypeAnnotation(node) { - this.word("typeof"); - this.space(); - this.print(node.argument); -} -function TypeAlias(node) { - this.word("type"); - this.space(); - this.print(node.id); - this.print(node.typeParameters); - this.space(); - this.tokenChar(61); - this.space(); - this.print(node.right); - this.semicolon(); -} -function TypeAnnotation(node, parent) { - this.tokenChar(58); - this.space(); - if (parent.type === "ArrowFunctionExpression") { - this.tokenContext |= _index.TokenContext.arrowFlowReturnType; - } else if (node.optional) { - this.tokenChar(63); - } - this.print(node.typeAnnotation); -} -function TypeParameterInstantiation(node) { - this.tokenChar(60); - this.printList(node.params); - this.tokenChar(62); -} -function TypeParameter(node) { - _variance.call(this, node); - this.word(node.name); - if (node.bound) { - this.print(node.bound); - } - if (node.default) { - this.space(); - this.tokenChar(61); - this.space(); - this.print(node.default); - } -} -function OpaqueType(node) { - this.word("opaque"); - this.space(); - this.word("type"); - this.space(); - this.print(node.id); - this.print(node.typeParameters); - if (node.supertype) { - this.tokenChar(58); - this.space(); - this.print(node.supertype); - } - if (node.impltype) { - this.space(); - this.tokenChar(61); - this.space(); - this.print(node.impltype); - } - this.semicolon(); -} -function ObjectTypeAnnotation(node) { - if (node.exact) { - this.token("{|"); - } else { - this.tokenChar(123); - } - const props = [...node.properties, ...(node.callProperties || []), ...(node.indexers || []), ...(node.internalSlots || [])]; - if (props.length) { - this.newline(); - this.space(); - this.printJoin(props, true, true, () => { - if (props.length !== 1 || node.inexact) { - this.tokenChar(44); - this.space(); - } - }, true); - this.space(); - } - if (node.inexact) { - this.indent(); - this.token("..."); - if (props.length) { - this.newline(); - } - this.dedent(); - } - if (node.exact) { - this.token("|}"); - } else { - this.tokenChar(125); - } -} -function ObjectTypeInternalSlot(node) { - if (node.static) { - this.word("static"); - this.space(); - } - this.tokenChar(91); - this.tokenChar(91); - this.print(node.id); - this.tokenChar(93); - this.tokenChar(93); - if (node.optional) this.tokenChar(63); - if (!node.method) { - this.tokenChar(58); - this.space(); - } - this.print(node.value); -} -function ObjectTypeCallProperty(node) { - if (node.static) { - this.word("static"); - this.space(); - } - this.print(node.value); -} -function ObjectTypeIndexer(node) { - if (node.static) { - this.word("static"); - this.space(); - } - _variance.call(this, node); - this.tokenChar(91); - if (node.id) { - this.print(node.id); - this.tokenChar(58); - this.space(); - } - this.print(node.key); - this.tokenChar(93); - this.tokenChar(58); - this.space(); - this.print(node.value); -} -function ObjectTypeProperty(node) { - if (node.proto) { - this.word("proto"); - this.space(); - } - if (node.static) { - this.word("static"); - this.space(); - } - if (node.kind === "get" || node.kind === "set") { - this.word(node.kind); - this.space(); - } - _variance.call(this, node); - this.print(node.key); - if (node.optional) this.tokenChar(63); - if (!node.method) { - this.tokenChar(58); - this.space(); - } - this.print(node.value); -} -function ObjectTypeSpreadProperty(node) { - this.token("..."); - this.print(node.argument); -} -function QualifiedTypeIdentifier(node) { - this.print(node.qualification); - this.tokenChar(46); - this.print(node.id); -} -function SymbolTypeAnnotation() { - this.word("symbol"); -} -function orSeparator(occurrenceCount) { - this.space(); - this.token("|", false, occurrenceCount); - this.space(); -} -function UnionTypeAnnotation(node) { - this.printJoin(node.types, undefined, undefined, orSeparator); -} -function TypeCastExpression(node) { - this.tokenChar(40); - this.print(node.expression); - this.print(node.typeAnnotation); - this.tokenChar(41); -} -function Variance(node) { - if (node.kind === "plus") { - this.tokenChar(43); - } else { - this.tokenChar(45); - } -} -function VoidTypeAnnotation() { - this.word("void"); -} -function IndexedAccessType(node) { - this.print(node.objectType, true); - this.tokenChar(91); - this.print(node.indexType); - this.tokenChar(93); -} -function OptionalIndexedAccessType(node) { - this.print(node.objectType); - if (node.optional) { - this.token("?."); - } - this.tokenChar(91); - this.print(node.indexType); - this.tokenChar(93); -} - -//# sourceMappingURL=flow.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/flow.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/flow.js.map deleted file mode 100644 index b44691af..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/flow.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_t","require","_modules","_index","_types2","isDeclareExportDeclaration","isStatement","AnyTypeAnnotation","word","ArrayTypeAnnotation","node","print","elementType","token","BooleanTypeAnnotation","BooleanLiteralTypeAnnotation","value","NullLiteralTypeAnnotation","DeclareClass","parent","space","_interfaceish","call","DeclareFunction","id","typeAnnotation","predicate","semicolon","InferredPredicate","DeclaredPredicate","DeclareInterface","InterfaceDeclaration","DeclareModule","body","DeclareModuleExports","DeclareTypeAlias","TypeAlias","DeclareOpaqueType","OpaqueType","DeclareVariable","DeclareExportDeclaration","default","FlowExportDeclaration","DeclareExportAllDeclaration","ExportAllDeclaration","EnumDeclaration","enumExplicitType","context","name","hasExplicitType","enumBody","members","indent","newline","member","hasUnknownMembers","dedent","EnumBooleanBody","explicitType","EnumNumberBody","EnumStringBody","EnumSymbolBody","EnumDefaultedMember","enumInitializedMember","init","EnumBooleanMember","EnumNumberMember","EnumStringMember","declaration","declar","specifiers","length","printList","source","ExistsTypeAnnotation","FunctionTypeAnnotation","typeParameters","this","params","rest","type","method","returnType","FunctionTypeParam","optional","InterfaceExtends","_node$extends","extends","_node$mixins","_node$implements","mixins","implements","_variance","_node$variance","kind","variance","andSeparator","occurrenceCount","InterfaceTypeAnnotation","_node$extends2","IntersectionTypeAnnotation","printJoin","types","undefined","MixedTypeAnnotation","EmptyTypeAnnotation","NullableTypeAnnotation","NumberTypeAnnotation","StringTypeAnnotation","ThisTypeAnnotation","TupleTypeAnnotation","TypeofTypeAnnotation","argument","right","TypeAnnotation","tokenContext","TokenContext","arrowFlowReturnType","TypeParameterInstantiation","TypeParameter","bound","supertype","impltype","ObjectTypeAnnotation","exact","props","properties","callProperties","indexers","internalSlots","inexact","ObjectTypeInternalSlot","static","ObjectTypeCallProperty","ObjectTypeIndexer","key","ObjectTypeProperty","proto","ObjectTypeSpreadProperty","QualifiedTypeIdentifier","qualification","SymbolTypeAnnotation","orSeparator","UnionTypeAnnotation","TypeCastExpression","expression","Variance","VoidTypeAnnotation","IndexedAccessType","objectType","indexType","OptionalIndexedAccessType"],"sources":["../../src/generators/flow.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport { isDeclareExportDeclaration, isStatement } from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nimport { ExportAllDeclaration } from \"./modules.ts\";\nimport { TokenContext } from \"../node/index.ts\";\n\nexport function AnyTypeAnnotation(this: Printer) {\n this.word(\"any\");\n}\n\nexport function ArrayTypeAnnotation(\n this: Printer,\n node: t.ArrayTypeAnnotation,\n) {\n this.print(node.elementType, true);\n this.token(\"[\");\n this.token(\"]\");\n}\n\nexport function BooleanTypeAnnotation(this: Printer) {\n this.word(\"boolean\");\n}\n\nexport function BooleanLiteralTypeAnnotation(\n this: Printer,\n node: t.BooleanLiteralTypeAnnotation,\n) {\n this.word(node.value ? \"true\" : \"false\");\n}\n\nexport function NullLiteralTypeAnnotation(this: Printer) {\n this.word(\"null\");\n}\n\nexport function DeclareClass(\n this: Printer,\n node: t.DeclareClass,\n parent: t.Node,\n) {\n if (!isDeclareExportDeclaration(parent)) {\n this.word(\"declare\");\n this.space();\n }\n this.word(\"class\");\n this.space();\n _interfaceish.call(this, node);\n}\n\nexport function DeclareFunction(\n this: Printer,\n node: t.DeclareFunction,\n parent: t.Node,\n) {\n if (!isDeclareExportDeclaration(parent)) {\n this.word(\"declare\");\n this.space();\n }\n this.word(\"function\");\n this.space();\n this.print(node.id);\n // @ts-ignore(Babel 7 vs Babel 8) TODO(Babel 8) Remove this comment, since we'll remove the Noop node\n this.print(node.id.typeAnnotation.typeAnnotation);\n\n if (node.predicate) {\n this.space();\n this.print(node.predicate);\n }\n\n this.semicolon();\n}\n\nexport function InferredPredicate(this: Printer) {\n this.token(\"%\");\n this.word(\"checks\");\n}\n\nexport function DeclaredPredicate(this: Printer, node: t.DeclaredPredicate) {\n this.token(\"%\");\n this.word(\"checks\");\n this.token(\"(\");\n this.print(node.value);\n this.token(\")\");\n}\n\nexport function DeclareInterface(this: Printer, node: t.DeclareInterface) {\n this.word(\"declare\");\n this.space();\n InterfaceDeclaration.call(this, node);\n}\n\nexport function DeclareModule(this: Printer, node: t.DeclareModule) {\n this.word(\"declare\");\n this.space();\n this.word(\"module\");\n this.space();\n this.print(node.id);\n this.space();\n this.print(node.body);\n}\n\nexport function DeclareModuleExports(\n this: Printer,\n node: t.DeclareModuleExports,\n) {\n this.word(\"declare\");\n this.space();\n this.word(\"module\");\n this.token(\".\");\n this.word(\"exports\");\n this.print(node.typeAnnotation);\n}\n\nexport function DeclareTypeAlias(this: Printer, node: t.DeclareTypeAlias) {\n this.word(\"declare\");\n this.space();\n TypeAlias.call(this, node);\n}\n\nexport function DeclareOpaqueType(\n this: Printer,\n node: t.DeclareOpaqueType,\n parent: t.Node,\n) {\n if (!isDeclareExportDeclaration(parent)) {\n this.word(\"declare\");\n this.space();\n }\n OpaqueType.call(this, node);\n}\n\nexport function DeclareVariable(\n this: Printer,\n node: t.DeclareVariable,\n parent: t.Node,\n) {\n if (!isDeclareExportDeclaration(parent)) {\n this.word(\"declare\");\n this.space();\n }\n this.word(\"var\");\n this.space();\n this.print(node.id);\n this.print(node.id.typeAnnotation);\n this.semicolon();\n}\n\nexport function DeclareExportDeclaration(\n this: Printer,\n node: t.DeclareExportDeclaration,\n) {\n this.word(\"declare\");\n this.space();\n this.word(\"export\");\n this.space();\n if (node.default) {\n this.word(\"default\");\n this.space();\n }\n\n FlowExportDeclaration.call(this, node);\n}\n\nexport function DeclareExportAllDeclaration(\n this: Printer,\n node: t.DeclareExportAllDeclaration,\n) {\n this.word(\"declare\");\n this.space();\n ExportAllDeclaration.call(this, node);\n}\n\nexport function EnumDeclaration(this: Printer, node: t.EnumDeclaration) {\n const { id, body } = node;\n this.word(\"enum\");\n this.space();\n this.print(id);\n this.print(body);\n}\n\nfunction enumExplicitType(\n context: Printer,\n name: string,\n hasExplicitType: boolean,\n) {\n if (hasExplicitType) {\n context.space();\n context.word(\"of\");\n context.space();\n context.word(name);\n }\n context.space();\n}\n\nfunction enumBody(context: Printer, node: t.EnumBody) {\n const { members } = node;\n context.token(\"{\");\n context.indent();\n context.newline();\n for (const member of members) {\n context.print(member);\n context.newline();\n }\n if (node.hasUnknownMembers) {\n context.token(\"...\");\n context.newline();\n }\n context.dedent();\n context.token(\"}\");\n}\n\nexport function EnumBooleanBody(this: Printer, node: t.EnumBooleanBody) {\n const { explicitType } = node;\n enumExplicitType(this, \"boolean\", explicitType);\n enumBody(this, node);\n}\n\nexport function EnumNumberBody(this: Printer, node: t.EnumNumberBody) {\n const { explicitType } = node;\n enumExplicitType(this, \"number\", explicitType);\n enumBody(this, node);\n}\n\nexport function EnumStringBody(this: Printer, node: t.EnumStringBody) {\n const { explicitType } = node;\n enumExplicitType(this, \"string\", explicitType);\n enumBody(this, node);\n}\n\nexport function EnumSymbolBody(this: Printer, node: t.EnumSymbolBody) {\n enumExplicitType(this, \"symbol\", true);\n enumBody(this, node);\n}\n\nexport function EnumDefaultedMember(\n this: Printer,\n node: t.EnumDefaultedMember,\n) {\n const { id } = node;\n this.print(id);\n this.token(\",\");\n}\n\nfunction enumInitializedMember(\n context: Printer,\n node: t.EnumBooleanMember | t.EnumNumberMember | t.EnumStringMember,\n) {\n context.print(node.id);\n context.space();\n context.token(\"=\");\n context.space();\n context.print(node.init);\n context.token(\",\");\n}\n\nexport function EnumBooleanMember(this: Printer, node: t.EnumBooleanMember) {\n enumInitializedMember(this, node);\n}\n\nexport function EnumNumberMember(this: Printer, node: t.EnumNumberMember) {\n enumInitializedMember(this, node);\n}\n\nexport function EnumStringMember(this: Printer, node: t.EnumStringMember) {\n enumInitializedMember(this, node);\n}\n\nfunction FlowExportDeclaration(\n this: Printer,\n node: t.DeclareExportDeclaration,\n) {\n if (node.declaration) {\n const declar = node.declaration;\n this.print(declar);\n if (!isStatement(declar)) this.semicolon();\n } else {\n this.token(\"{\");\n if (node.specifiers!.length) {\n this.space();\n this.printList(node.specifiers);\n this.space();\n }\n this.token(\"}\");\n\n if (node.source) {\n this.space();\n this.word(\"from\");\n this.space();\n this.print(node.source);\n }\n\n this.semicolon();\n }\n}\n\nexport function ExistsTypeAnnotation(this: Printer) {\n this.token(\"*\");\n}\n\nexport function FunctionTypeAnnotation(\n this: Printer,\n node: t.FunctionTypeAnnotation,\n parent?: t.Node,\n) {\n this.print(node.typeParameters);\n this.token(\"(\");\n\n if (node.this) {\n this.word(\"this\");\n this.token(\":\");\n this.space();\n this.print(node.this.typeAnnotation);\n if (node.params.length || node.rest) {\n this.token(\",\");\n this.space();\n }\n }\n\n this.printList(node.params);\n\n if (node.rest) {\n if (node.params.length) {\n this.token(\",\");\n this.space();\n }\n this.token(\"...\");\n this.print(node.rest);\n }\n\n this.token(\")\");\n\n // this node type is overloaded, not sure why but it makes it EXTREMELY annoying\n\n const type = parent?.type;\n if (\n type != null &&\n (type === \"ObjectTypeCallProperty\" ||\n type === \"ObjectTypeInternalSlot\" ||\n type === \"DeclareFunction\" ||\n (type === \"ObjectTypeProperty\" && parent.method))\n ) {\n this.token(\":\");\n } else {\n this.space();\n this.token(\"=>\");\n }\n\n this.space();\n this.print(node.returnType);\n}\n\nexport function FunctionTypeParam(this: Printer, node: t.FunctionTypeParam) {\n this.print(node.name);\n if (node.optional) this.token(\"?\");\n if (node.name) {\n this.token(\":\");\n this.space();\n }\n this.print(node.typeAnnotation);\n}\n\nexport function InterfaceExtends(this: Printer, node: t.InterfaceExtends) {\n this.print(node.id);\n this.print(node.typeParameters, true);\n}\n\nexport {\n InterfaceExtends as ClassImplements,\n InterfaceExtends as GenericTypeAnnotation,\n};\n\nexport function _interfaceish(\n this: Printer,\n node: t.InterfaceDeclaration | t.DeclareInterface | t.DeclareClass,\n) {\n this.print(node.id);\n this.print(node.typeParameters);\n if (node.extends?.length) {\n this.space();\n this.word(\"extends\");\n this.space();\n this.printList(node.extends);\n }\n if (node.type === \"DeclareClass\") {\n if (node.mixins?.length) {\n this.space();\n this.word(\"mixins\");\n this.space();\n this.printList(node.mixins);\n }\n if (node.implements?.length) {\n this.space();\n this.word(\"implements\");\n this.space();\n this.printList(node.implements);\n }\n }\n this.space();\n this.print(node.body);\n}\n\nexport function _variance(\n this: Printer,\n node:\n | t.TypeParameter\n | t.ObjectTypeIndexer\n | t.ObjectTypeProperty\n | t.ClassProperty\n | t.ClassPrivateProperty\n | t.ClassAccessorProperty,\n) {\n const kind = node.variance?.kind;\n if (kind != null) {\n if (kind === \"plus\") {\n this.token(\"+\");\n } else if (kind === \"minus\") {\n this.token(\"-\");\n }\n }\n}\n\nexport function InterfaceDeclaration(\n this: Printer,\n node: t.InterfaceDeclaration | t.DeclareInterface,\n) {\n this.word(\"interface\");\n this.space();\n _interfaceish.call(this, node);\n}\n\nfunction andSeparator(this: Printer, occurrenceCount: number) {\n this.space();\n this.token(\"&\", false, occurrenceCount);\n this.space();\n}\n\nexport function InterfaceTypeAnnotation(\n this: Printer,\n node: t.InterfaceTypeAnnotation,\n) {\n this.word(\"interface\");\n if (node.extends?.length) {\n this.space();\n this.word(\"extends\");\n this.space();\n this.printList(node.extends);\n }\n this.space();\n this.print(node.body);\n}\n\nexport function IntersectionTypeAnnotation(\n this: Printer,\n node: t.IntersectionTypeAnnotation,\n) {\n this.printJoin(node.types, undefined, undefined, andSeparator);\n}\n\nexport function MixedTypeAnnotation(this: Printer) {\n this.word(\"mixed\");\n}\n\nexport function EmptyTypeAnnotation(this: Printer) {\n this.word(\"empty\");\n}\n\nexport function NullableTypeAnnotation(\n this: Printer,\n node: t.NullableTypeAnnotation,\n) {\n this.token(\"?\");\n this.print(node.typeAnnotation);\n}\n\nexport {\n NumericLiteral as NumberLiteralTypeAnnotation,\n StringLiteral as StringLiteralTypeAnnotation,\n} from \"./types.ts\";\n\nexport function NumberTypeAnnotation(this: Printer) {\n this.word(\"number\");\n}\n\nexport function StringTypeAnnotation(this: Printer) {\n this.word(\"string\");\n}\n\nexport function ThisTypeAnnotation(this: Printer) {\n this.word(\"this\");\n}\n\nexport function TupleTypeAnnotation(\n this: Printer,\n node: t.TupleTypeAnnotation,\n) {\n this.token(\"[\");\n this.printList(node.types);\n this.token(\"]\");\n}\n\nexport function TypeofTypeAnnotation(\n this: Printer,\n node: t.TypeofTypeAnnotation,\n) {\n this.word(\"typeof\");\n this.space();\n this.print(node.argument);\n}\n\nexport function TypeAlias(\n this: Printer,\n node: t.TypeAlias | t.DeclareTypeAlias,\n) {\n this.word(\"type\");\n this.space();\n this.print(node.id);\n this.print(node.typeParameters);\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.right);\n this.semicolon();\n}\n\nexport function TypeAnnotation(\n this: Printer,\n node: t.TypeAnnotation,\n parent: t.Node,\n) {\n this.token(\":\");\n this.space();\n if (parent.type === \"ArrowFunctionExpression\") {\n this.tokenContext |= TokenContext.arrowFlowReturnType;\n } else if (\n // @ts-expect-error todo(flow->ts) can this be removed? `.optional` looks to be not existing property\n node.optional\n ) {\n this.token(\"?\");\n }\n this.print(node.typeAnnotation);\n}\n\nexport function TypeParameterInstantiation(\n this: Printer,\n node: t.TypeParameterInstantiation,\n): void {\n this.token(\"<\");\n this.printList(node.params);\n this.token(\">\");\n}\n\nexport { TypeParameterInstantiation as TypeParameterDeclaration };\n\nexport function TypeParameter(this: Printer, node: t.TypeParameter) {\n _variance.call(this, node);\n\n this.word(node.name);\n\n if (node.bound) {\n this.print(node.bound);\n }\n\n if (node.default) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.default);\n }\n}\n\nexport function OpaqueType(\n this: Printer,\n node: t.OpaqueType | t.DeclareOpaqueType,\n) {\n this.word(\"opaque\");\n this.space();\n this.word(\"type\");\n this.space();\n this.print(node.id);\n this.print(node.typeParameters);\n if (node.supertype) {\n this.token(\":\");\n this.space();\n this.print(node.supertype);\n }\n\n if (node.impltype) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.impltype);\n }\n this.semicolon();\n}\n\nexport function ObjectTypeAnnotation(\n this: Printer,\n node: t.ObjectTypeAnnotation,\n) {\n if (node.exact) {\n this.token(\"{|\");\n } else {\n this.token(\"{\");\n }\n\n // TODO: remove the array fallbacks and instead enforce the types to require an array\n const props = [\n ...node.properties,\n ...(node.callProperties || []),\n ...(node.indexers || []),\n ...(node.internalSlots || []),\n ];\n\n if (props.length) {\n this.newline();\n\n this.space();\n\n this.printJoin(\n props,\n true,\n true,\n () => {\n if (props.length !== 1 || node.inexact) {\n this.token(\",\");\n this.space();\n }\n },\n true,\n );\n\n this.space();\n }\n\n if (node.inexact) {\n this.indent();\n this.token(\"...\");\n if (props.length) {\n this.newline();\n }\n this.dedent();\n }\n\n if (node.exact) {\n this.token(\"|}\");\n } else {\n this.token(\"}\");\n }\n}\n\nexport function ObjectTypeInternalSlot(\n this: Printer,\n node: t.ObjectTypeInternalSlot,\n) {\n if (node.static) {\n this.word(\"static\");\n this.space();\n }\n this.token(\"[\");\n this.token(\"[\");\n this.print(node.id);\n this.token(\"]\");\n this.token(\"]\");\n if (node.optional) this.token(\"?\");\n if (!node.method) {\n this.token(\":\");\n this.space();\n }\n this.print(node.value);\n}\n\nexport function ObjectTypeCallProperty(\n this: Printer,\n node: t.ObjectTypeCallProperty,\n) {\n if (node.static) {\n this.word(\"static\");\n this.space();\n }\n this.print(node.value);\n}\n\nexport function ObjectTypeIndexer(this: Printer, node: t.ObjectTypeIndexer) {\n if (node.static) {\n this.word(\"static\");\n this.space();\n }\n _variance.call(this, node);\n this.token(\"[\");\n if (node.id) {\n this.print(node.id);\n this.token(\":\");\n this.space();\n }\n this.print(node.key);\n this.token(\"]\");\n this.token(\":\");\n this.space();\n this.print(node.value);\n}\n\nexport function ObjectTypeProperty(this: Printer, node: t.ObjectTypeProperty) {\n if (node.proto) {\n this.word(\"proto\");\n this.space();\n }\n if (node.static) {\n this.word(\"static\");\n this.space();\n }\n if (node.kind === \"get\" || node.kind === \"set\") {\n this.word(node.kind);\n this.space();\n }\n _variance.call(this, node);\n this.print(node.key);\n if (node.optional) this.token(\"?\");\n if (!node.method) {\n this.token(\":\");\n this.space();\n }\n this.print(node.value);\n}\n\nexport function ObjectTypeSpreadProperty(\n this: Printer,\n node: t.ObjectTypeSpreadProperty,\n) {\n this.token(\"...\");\n this.print(node.argument);\n}\n\nexport function QualifiedTypeIdentifier(\n this: Printer,\n node: t.QualifiedTypeIdentifier,\n) {\n this.print(node.qualification);\n this.token(\".\");\n this.print(node.id);\n}\n\nexport function SymbolTypeAnnotation(this: Printer) {\n this.word(\"symbol\");\n}\n\nfunction orSeparator(this: Printer, occurrenceCount: number) {\n this.space();\n this.token(\"|\", false, occurrenceCount);\n this.space();\n}\n\nexport function UnionTypeAnnotation(\n this: Printer,\n node: t.UnionTypeAnnotation,\n) {\n this.printJoin(node.types, undefined, undefined, orSeparator);\n}\n\nexport function TypeCastExpression(this: Printer, node: t.TypeCastExpression) {\n this.token(\"(\");\n this.print(node.expression);\n this.print(node.typeAnnotation);\n this.token(\")\");\n}\n\nexport function Variance(this: Printer, node: t.Variance) {\n if (node.kind === \"plus\") {\n this.token(\"+\");\n } else {\n this.token(\"-\");\n }\n}\n\nexport function VoidTypeAnnotation(this: Printer) {\n this.word(\"void\");\n}\n\nexport function IndexedAccessType(this: Printer, node: t.IndexedAccessType) {\n this.print(node.objectType, true);\n this.token(\"[\");\n this.print(node.indexType);\n this.token(\"]\");\n}\n\nexport function OptionalIndexedAccessType(\n this: Printer,\n node: t.OptionalIndexedAccessType,\n) {\n this.print(node.objectType);\n if (node.optional) {\n this.token(\"?.\");\n }\n this.token(\"[\");\n this.print(node.indexType);\n this.token(\"]\");\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,EAAA,GAAAC,OAAA;AAEA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AAqdA,IAAAG,OAAA,GAAAH,OAAA;AAGoB;EA3dXI,0BAA0B;EAAEC;AAAW,IAAAN,EAAA;AAKzC,SAASO,iBAAiBA,CAAA,EAAgB;EAC/C,IAAI,CAACC,IAAI,CAAC,KAAK,CAAC;AAClB;AAEO,SAASC,mBAAmBA,CAEjCC,IAA2B,EAC3B;EACA,IAAI,CAACC,KAAK,CAACD,IAAI,CAACE,WAAW,EAAE,IAAI,CAAC;EAClC,IAAI,CAACC,SAAK,GAAI,CAAC;EACf,IAAI,CAACA,SAAK,GAAI,CAAC;AACjB;AAEO,SAASC,qBAAqBA,CAAA,EAAgB;EACnD,IAAI,CAACN,IAAI,CAAC,SAAS,CAAC;AACtB;AAEO,SAASO,4BAA4BA,CAE1CL,IAAoC,EACpC;EACA,IAAI,CAACF,IAAI,CAACE,IAAI,CAACM,KAAK,GAAG,MAAM,GAAG,OAAO,CAAC;AAC1C;AAEO,SAASC,yBAAyBA,CAAA,EAAgB;EACvD,IAAI,C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;EAChD,IAAI,CAAC3I,IAAI,CAAC,MAAM,CAAC;AACnB;AAEO,SAAS4I,iBAAiBA,CAAgB1I,IAAyB,EAAE;EAC1E,IAAI,CAACC,KAAK,CAACD,IAAI,CAAC2I,UAAU,EAAE,IAAI,CAAC;EACjC,IAAI,CAACxI,SAAK,GAAI,CAAC;EACf,IAAI,CAACF,KAAK,CAACD,IAAI,CAAC4I,SAAS,CAAC;EAC1B,IAAI,CAACzI,SAAK,GAAI,CAAC;AACjB;AAEO,SAAS0I,yBAAyBA,CAEvC7I,IAAiC,EACjC;EACA,IAAI,CAACC,KAAK,CAACD,IAAI,CAAC2I,UAAU,CAAC;EAC3B,IAAI3I,IAAI,CAAC0E,QAAQ,EAAE;IACjB,IAAI,CAACvE,KAAK,CAAC,IAAI,CAAC;EAClB;EACA,IAAI,CAACA,SAAK,GAAI,CAAC;EACf,IAAI,CAACF,KAAK,CAACD,IAAI,CAAC4I,SAAS,CAAC;EAC1B,IAAI,CAACzI,SAAK,GAAI,CAAC;AACjB","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/index.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/index.js deleted file mode 100644 index 331c73f7..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/index.js +++ /dev/null @@ -1,128 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -var _templateLiterals = require("./template-literals.js"); -Object.keys(_templateLiterals).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _templateLiterals[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _templateLiterals[key]; - } - }); -}); -var _expressions = require("./expressions.js"); -Object.keys(_expressions).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _expressions[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _expressions[key]; - } - }); -}); -var _statements = require("./statements.js"); -Object.keys(_statements).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _statements[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _statements[key]; - } - }); -}); -var _classes = require("./classes.js"); -Object.keys(_classes).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _classes[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _classes[key]; - } - }); -}); -var _methods = require("./methods.js"); -Object.keys(_methods).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _methods[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _methods[key]; - } - }); -}); -var _modules = require("./modules.js"); -Object.keys(_modules).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _modules[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _modules[key]; - } - }); -}); -var _types = require("./types.js"); -Object.keys(_types).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _types[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _types[key]; - } - }); -}); -var _flow = require("./flow.js"); -Object.keys(_flow).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _flow[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _flow[key]; - } - }); -}); -var _base = require("./base.js"); -Object.keys(_base).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _base[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _base[key]; - } - }); -}); -var _jsx = require("./jsx.js"); -Object.keys(_jsx).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _jsx[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _jsx[key]; - } - }); -}); -var _typescript = require("./typescript.js"); -Object.keys(_typescript).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _typescript[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function () { - return _typescript[key]; - } - }); -}); - -//# sourceMappingURL=index.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/index.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/index.js.map deleted file mode 100644 index e8b0341b..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_templateLiterals","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_expressions","_statements","_classes","_methods","_modules","_types","_flow","_base","_jsx","_typescript"],"sources":["../../src/generators/index.ts"],"sourcesContent":["export * from \"./template-literals.ts\";\nexport * from \"./expressions.ts\";\nexport * from \"./statements.ts\";\nexport * from \"./classes.ts\";\nexport * from \"./methods.ts\";\nexport * from \"./modules.ts\";\nexport * from \"./types.ts\";\nexport * from \"./flow.ts\";\nexport * from \"./base.ts\";\nexport * from \"./jsx.ts\";\nexport * from \"./typescript.ts\";\n"],"mappings":";;;;;AAAA,IAAAA,iBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,iBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,iBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,iBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,YAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,YAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAA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AA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAY,KAAA,CAAAZ,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAQ,KAAA,CAAAZ,GAAA;IAAA;EAAA;AAAA;AACA,IAAAa,IAAA,GAAAjB,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAe,IAAA,EAAAd,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAa,IAAA,CAAAb,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAS,IAAA,CAAAb,GAAA;IAAA;EAAA;AAAA;AACA,IAAAc,WAAA,GAAAlB,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAgB,WAAA,EAAAf,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAc,WAAA,CAAAd,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAU,WAAA,CAAAd,GAAA;IAAA;EAAA;AAAA","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/jsx.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/jsx.js deleted file mode 100644 index be7c5126..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/jsx.js +++ /dev/null @@ -1,124 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.JSXAttribute = JSXAttribute; -exports.JSXClosingElement = JSXClosingElement; -exports.JSXClosingFragment = JSXClosingFragment; -exports.JSXElement = JSXElement; -exports.JSXEmptyExpression = JSXEmptyExpression; -exports.JSXExpressionContainer = JSXExpressionContainer; -exports.JSXFragment = JSXFragment; -exports.JSXIdentifier = JSXIdentifier; -exports.JSXMemberExpression = JSXMemberExpression; -exports.JSXNamespacedName = JSXNamespacedName; -exports.JSXOpeningElement = JSXOpeningElement; -exports.JSXOpeningFragment = JSXOpeningFragment; -exports.JSXSpreadAttribute = JSXSpreadAttribute; -exports.JSXSpreadChild = JSXSpreadChild; -exports.JSXText = JSXText; -function JSXAttribute(node) { - this.print(node.name); - if (node.value) { - this.tokenChar(61); - this.print(node.value); - } -} -function JSXIdentifier(node) { - this.word(node.name); -} -function JSXNamespacedName(node) { - this.print(node.namespace); - this.tokenChar(58); - this.print(node.name); -} -function JSXMemberExpression(node) { - this.print(node.object); - this.tokenChar(46); - this.print(node.property); -} -function JSXSpreadAttribute(node) { - this.tokenChar(123); - this.token("..."); - this.print(node.argument); - this.rightBrace(node); -} -function JSXExpressionContainer(node) { - this.tokenChar(123); - this.print(node.expression); - this.rightBrace(node); -} -function JSXSpreadChild(node) { - this.tokenChar(123); - this.token("..."); - this.print(node.expression); - this.rightBrace(node); -} -function JSXText(node) { - const raw = this.getPossibleRaw(node); - if (raw !== undefined) { - this.token(raw, true); - } else { - this.token(node.value, true); - } -} -function JSXElement(node) { - const open = node.openingElement; - this.print(open); - if (open.selfClosing) return; - this.indent(); - for (const child of node.children) { - this.print(child); - } - this.dedent(); - this.print(node.closingElement); -} -function spaceSeparator() { - this.space(); -} -function JSXOpeningElement(node) { - this.tokenChar(60); - this.print(node.name); - if (node.typeArguments) { - this.print(node.typeArguments); - } - this.print(node.typeParameters); - if (node.attributes.length > 0) { - this.space(); - this.printJoin(node.attributes, undefined, undefined, spaceSeparator); - } - if (node.selfClosing) { - this.space(); - this.tokenChar(47); - } - this.tokenChar(62); -} -function JSXClosingElement(node) { - this.tokenChar(60); - this.tokenChar(47); - this.print(node.name); - this.tokenChar(62); -} -function JSXEmptyExpression() { - this.printInnerComments(); -} -function JSXFragment(node) { - this.print(node.openingFragment); - this.indent(); - for (const child of node.children) { - this.print(child); - } - this.dedent(); - this.print(node.closingFragment); -} -function JSXOpeningFragment() { - this.tokenChar(60); - this.tokenChar(62); -} -function JSXClosingFragment() { - this.token(" 0) {\n this.space();\n this.printJoin(node.attributes, undefined, undefined, spaceSeparator);\n }\n if (node.selfClosing) {\n this.space();\n this.token(\"/\");\n }\n this.token(\">\");\n}\n\nexport function JSXClosingElement(this: Printer, node: t.JSXClosingElement) {\n this.token(\"<\");\n this.token(\"/\");\n this.print(node.name);\n this.token(\">\");\n}\n\nexport function JSXEmptyExpression(this: Printer) {\n // This node is empty, so forcefully print its inner comments.\n this.printInnerComments();\n}\n\nexport function JSXFragment(this: Printer, node: t.JSXFragment) {\n this.print(node.openingFragment);\n\n this.indent();\n for (const child of node.children) {\n this.print(child);\n }\n this.dedent();\n\n this.print(node.closingFragment);\n}\n\nexport function JSXOpeningFragment(this: Printer) {\n this.token(\"<\");\n this.token(\">\");\n}\n\nexport function JSXClosingFragment(this: Printer) {\n this.token(\"\");\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAGO,SAASA,YAAYA,CAAgBC,IAAoB,EAAE;EAChE,IAAI,CAACC,KAAK,CAACD,IAAI,CAACE,IAAI,CAAC;EACrB,IAAIF,IAAI,CAACG,KAAK,EAAE;IACd,IAAI,CAACC,SAAK,GAAI,CAAC;IACf,IAAI,CAACH,KAAK,CAACD,IAAI,CAACG,KAAK,CAAC;EACxB;AACF;AAEO,SAASE,aAAaA,CAAgBL,IAAqB,EAAE;EAClE,IAAI,CAACM,IAAI,CAACN,IAAI,CAACE,IAAI,CAAC;AACtB;AAEO,SAASK,iBAAiBA,CAAgBP,IAAyB,EAAE;EAC1E,IAAI,CAACC,KAAK,CAACD,IAAI,CAACQ,SAAS,CAAC;EAC1B,IAAI,CA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AK,GAAI,CAAC;EACf,IAAI,CAACH,KAAK,CAACD,IAAI,CAACE,IAAI,CAAC;EACrB,IAAI,CAACE,SAAK,GAAI,CAAC;AACjB;AAEO,SAASoC,kBAAkBA,CAAA,EAAgB;EAEhD,IAAI,CAACC,kBAAkB,CAAC,CAAC;AAC3B;AAEO,SAASC,WAAWA,CAAgB1C,IAAmB,EAAE;EAC9D,IAAI,CAACC,KAAK,CAACD,IAAI,CAAC2C,eAAe,CAAC;EAEhC,IAAI,CAACjB,MAAM,CAAC,CAAC;EACb,KAAK,MAAMC,KAAK,IAAI3B,IAAI,CAAC4B,QAAQ,EAAE;IACjC,IAAI,CAAC3B,KAAK,CAAC0B,KAAK,CAAC;EACnB;EACA,IAAI,CAACE,MAAM,CAAC,CAAC;EAEb,IAAI,CAAC5B,KAAK,CAACD,IAAI,CAAC4C,eAAe,CAAC;AAClC;AAEO,SAASC,kBAAkBA,CAAA,EAAgB;EAChD,IAAI,CAACzC,SAAK,GAAI,CAAC;EACf,IAAI,CAACA,SAAK,GAAI,CAAC;AACjB;AAEO,SAAS0C,kBAAkBA,CAAA,EAAgB;EAChD,IAAI,CAAC1C,KAAK,CAAC,IAAI,CAAC;EAChB,IAAI,CAACA,SAAK,GAAI,CAAC;AACjB","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/methods.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/methods.js deleted file mode 100644 index 01b90aa0..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/methods.js +++ /dev/null @@ -1,207 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ArrowFunctionExpression = ArrowFunctionExpression; -exports.FunctionDeclaration = exports.FunctionExpression = FunctionExpression; -exports._functionHead = _functionHead; -exports._methodHead = _methodHead; -exports._param = _param; -exports._parameters = _parameters; -exports._params = _params; -exports._predicate = _predicate; -exports._shouldPrintArrowParamsParens = _shouldPrintArrowParamsParens; -var _t = require("@babel/types"); -var _index = require("../node/index.js"); -const { - isIdentifier -} = _t; -function _params(node, noLineTerminator, idNode, parentNode) { - this.print(node.typeParameters); - if (idNode !== undefined || parentNode !== undefined) { - const nameInfo = _getFuncIdName.call(this, idNode, parentNode); - if (nameInfo) { - this.sourceIdentifierName(nameInfo.name, nameInfo.pos); - } - } - this.tokenChar(40); - _parameters.call(this, node.params, 41); - this.print(node.returnType, noLineTerminator); - this._noLineTerminator = noLineTerminator; -} -function _parameters(parameters, endToken) { - const oldNoLineTerminatorAfterNode = this.enterDelimited(); - const trailingComma = this.shouldPrintTrailingComma(endToken); - const paramLength = parameters.length; - for (let i = 0; i < paramLength; i++) { - _param.call(this, parameters[i]); - if (trailingComma || i < paramLength - 1) { - this.tokenChar(44, i); - this.space(); - } - } - this.tokenChar(endToken); - this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode; -} -function _param(parameter) { - this.printJoin(parameter.decorators, undefined, undefined, undefined, undefined, true); - this.print(parameter, undefined, true); - if (parameter.optional) { - this.tokenChar(63); - } - this.print(parameter.typeAnnotation, undefined, true); -} -function _methodHead(node) { - const kind = node.kind; - const key = node.key; - if (kind === "get" || kind === "set") { - this.word(kind); - this.space(); - } - if (node.async) { - this.word("async", true); - this.space(); - } - if (kind === "method" || kind === "init") { - if (node.generator) { - this.tokenChar(42); - } - } - if (node.computed) { - this.tokenChar(91); - this.print(key); - this.tokenChar(93); - } else { - this.print(key); - } - if (node.optional) { - this.tokenChar(63); - } - if (this._buf._map) { - _params.call(this, node, false, node.computed && node.key.type !== "StringLiteral" ? undefined : node.key); - } else { - _params.call(this, node, false); - } -} -function _predicate(node, noLineTerminatorAfter) { - if (node.predicate) { - if (!node.returnType) { - this.tokenChar(58); - } - this.space(); - this.print(node.predicate, noLineTerminatorAfter); - } -} -function _functionHead(node, parent, hasPredicate) { - if (node.async) { - this.word("async"); - if (!this.format.preserveFormat) { - this._innerCommentsState = 0; - } - this.space(); - } - this.word("function"); - if (node.generator) { - if (!this.format.preserveFormat) { - this._innerCommentsState = 0; - } - this.tokenChar(42); - } - this.space(); - if (node.id) { - this.print(node.id); - } - if (this._buf._map) { - _params.call(this, node, false, node.id, parent); - } else { - _params.call(this, node, false); - } - if (hasPredicate) { - _predicate.call(this, node); - } -} -function FunctionExpression(node, parent) { - _functionHead.call(this, node, parent, true); - this.space(); - this.print(node.body); -} -function ArrowFunctionExpression(node, parent) { - if (node.async) { - this.word("async", true); - this.space(); - } - if (_shouldPrintArrowParamsParens.call(this, node)) { - _params.call(this, node, true, undefined, this._buf._map ? parent : undefined); - } else { - this.print(node.params[0], true); - } - _predicate.call(this, node, true); - this.space(); - this.printInnerComments(); - this.token("=>"); - this.space(); - this.tokenContext |= _index.TokenContext.arrowBody; - this.print(node.body); -} -function _shouldPrintArrowParamsParens(node) { - var _firstParam$leadingCo, _firstParam$trailingC; - if (node.params.length !== 1) return true; - if (node.typeParameters || node.returnType || node.predicate) { - return true; - } - const firstParam = node.params[0]; - if (!isIdentifier(firstParam) || firstParam.typeAnnotation || firstParam.optional || (_firstParam$leadingCo = firstParam.leadingComments) != null && _firstParam$leadingCo.length || (_firstParam$trailingC = firstParam.trailingComments) != null && _firstParam$trailingC.length) { - return true; - } - if (this.tokenMap) { - if (node.loc == null) return true; - if (this.tokenMap.findMatching(node, "(") !== null) return true; - const arrowToken = this.tokenMap.findMatching(node, "=>"); - if ((arrowToken == null ? void 0 : arrowToken.loc) == null) return true; - return arrowToken.loc.start.line !== node.loc.start.line; - } - if (this.format.retainLines) return true; - return false; -} -function _getFuncIdName(idNode, parent) { - let id = idNode; - if (!id && parent) { - const parentType = parent.type; - if (parentType === "VariableDeclarator") { - id = parent.id; - } else if (parentType === "AssignmentExpression" || parentType === "AssignmentPattern") { - id = parent.left; - } else if (parentType === "ObjectProperty" || parentType === "ClassProperty") { - if (!parent.computed || parent.key.type === "StringLiteral") { - id = parent.key; - } - } else if (parentType === "ClassPrivateProperty" || parentType === "ClassAccessorProperty") { - id = parent.key; - } - } - if (!id) return; - let nameInfo; - if (id.type === "Identifier") { - var _id$loc, _id$loc2; - nameInfo = { - pos: (_id$loc = id.loc) == null ? void 0 : _id$loc.start, - name: ((_id$loc2 = id.loc) == null ? void 0 : _id$loc2.identifierName) || id.name - }; - } else if (id.type === "PrivateName") { - var _id$loc3; - nameInfo = { - pos: (_id$loc3 = id.loc) == null ? void 0 : _id$loc3.start, - name: "#" + id.id.name - }; - } else if (id.type === "StringLiteral") { - var _id$loc4; - nameInfo = { - pos: (_id$loc4 = id.loc) == null ? void 0 : _id$loc4.start, - name: id.value - }; - } - return nameInfo; -} - -//# sourceMappingURL=methods.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/methods.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/methods.js.map deleted file mode 100644 index d448e32b..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/methods.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_t","require","_index","isIdentifier","_params","node","noLineTerminator","idNode","parentNode","print","typeParameters","undefined","nameInfo","_getFuncIdName","call","sourceIdentifierName","name","pos","token","_parameters","params","returnType","_noLineTerminator","parameters","endToken","oldNoLineTerminatorAfterNode","enterDelimited","trailingComma","shouldPrintTrailingComma","paramLength","length","i","_param","tokenChar","space","_noLineTerminatorAfterNode","parameter","printJoin","decorators","optional","typeAnnotation","_methodHead","kind","key","word","async","generator","computed","_buf","_map","type","_predicate","noLineTerminatorAfter","predicate","_functionHead","parent","hasPredicate","format","preserveFormat","_innerCommentsState","id","FunctionExpression","body","ArrowFunctionExpression","_shouldPrintArrowParamsParens","printInnerComments","tokenContext","TokenContext","arrowBody","_firstParam$leadingCo","_firstParam$trailingC","firstParam","leadingComments","trailingComments","tokenMap","loc","findMatching","arrowToken","start","line","retainLines","parentType","left","_id$loc","_id$loc2","identifierName","_id$loc3","_id$loc4","value"],"sources":["../../src/generators/methods.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport type * as t from \"@babel/types\";\nimport { isIdentifier, type ParentMaps } from \"@babel/types\";\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\nimport { TokenContext } from \"../node/index.ts\";\n\ntype ParentsOf = ParentMaps[T[\"type\"]];\n\nexport function _params(\n this: Printer,\n node: t.Function | t.TSDeclareMethod | t.TSDeclareFunction,\n noLineTerminator: boolean,\n idNode?: t.Expression | t.PrivateName | null,\n parentNode?: ParentsOf,\n) {\n this.print(node.typeParameters);\n\n if (idNode !== undefined || parentNode !== undefined) {\n const nameInfo = _getFuncIdName.call(this, idNode, parentNode);\n if (nameInfo) {\n this.sourceIdentifierName(nameInfo.name, nameInfo.pos);\n }\n }\n\n this.token(\"(\");\n _parameters.call(this, node.params, charCodes.rightParenthesis);\n\n this.print(node.returnType, noLineTerminator);\n\n this._noLineTerminator = noLineTerminator;\n}\n\nexport function _parameters(\n this: Printer,\n parameters: t.Function[\"params\"],\n endToken: number,\n) {\n const oldNoLineTerminatorAfterNode = this.enterDelimited();\n\n const trailingComma = this.shouldPrintTrailingComma(endToken);\n\n const paramLength = parameters.length;\n for (let i = 0; i < paramLength; i++) {\n _param.call(this, parameters[i]);\n\n if (trailingComma || i < paramLength - 1) {\n this.tokenChar(charCodes.comma, i);\n this.space();\n }\n }\n\n this.tokenChar(endToken);\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n}\n\nexport function _param(\n this: Printer,\n parameter: t.Identifier | t.RestElement | t.Pattern | t.TSParameterProperty,\n) {\n this.printJoin(\n // @ts-expect-error decorators is not in VoidPattern\n parameter.decorators,\n undefined,\n undefined,\n undefined,\n undefined,\n true,\n );\n this.print(parameter, undefined, true);\n if (\n // @ts-expect-error optional is not in TSParameterProperty\n parameter.optional\n ) {\n this.token(\"?\"); // TS / flow\n }\n\n this.print(\n // @ts-expect-error typeAnnotation is not in TSParameterProperty\n parameter.typeAnnotation,\n undefined,\n true,\n ); // TS / flow\n}\n\nexport function _methodHead(this: Printer, node: t.Method | t.TSDeclareMethod) {\n const kind = node.kind;\n const key = node.key;\n\n if (kind === \"get\" || kind === \"set\") {\n this.word(kind);\n this.space();\n }\n\n if (node.async) {\n this.word(\"async\", true);\n this.space();\n }\n\n if (\n kind === \"method\" ||\n // @ts-expect-error Fixme: kind: \"init\" is not defined\n kind === \"init\"\n ) {\n if (node.generator) {\n this.token(\"*\");\n }\n }\n\n if (node.computed) {\n this.token(\"[\");\n this.print(key);\n this.token(\"]\");\n } else {\n this.print(key);\n }\n\n if (\n // @ts-expect-error optional is not in ObjectMethod\n node.optional\n ) {\n // TS\n this.token(\"?\");\n }\n\n if (this._buf._map) {\n _params.call(\n this,\n node,\n false,\n node.computed && node.key.type !== \"StringLiteral\" ? undefined : node.key,\n );\n } else {\n _params.call(this, node, false);\n }\n}\n\nexport function _predicate(\n this: Printer,\n node:\n | t.FunctionDeclaration\n | t.FunctionExpression\n | t.ArrowFunctionExpression,\n noLineTerminatorAfter?: boolean,\n) {\n if (node.predicate) {\n if (!node.returnType) {\n this.token(\":\");\n }\n this.space();\n this.print(node.predicate, noLineTerminatorAfter);\n }\n}\n\nexport function _functionHead(\n this: Printer,\n node: t.FunctionDeclaration | t.FunctionExpression | t.TSDeclareFunction,\n parent: ParentsOf,\n hasPredicate: boolean,\n) {\n if (node.async) {\n this.word(\"async\");\n if (!this.format.preserveFormat) {\n // We prevent inner comments from being printed here,\n // so that they are always consistently printed in the\n // same place regardless of the function type.\n this._innerCommentsState = 0 /* INNER_COMMENT_STATE.DISALLOWED */;\n }\n this.space();\n }\n this.word(\"function\");\n if (node.generator) {\n if (!this.format.preserveFormat) {\n // We prevent inner comments from being printed here,\n // so that they are always consistently printed in the\n // same place regardless of the function type.\n this._innerCommentsState = 0 /* INNER_COMMENT_STATE.DISALLOWED */;\n }\n this.token(\"*\");\n }\n\n this.space();\n if (node.id) {\n this.print(node.id);\n }\n\n if (this._buf._map) {\n _params.call(this, node, false, node.id, parent);\n } else {\n _params.call(this, node, false);\n }\n if (hasPredicate) {\n _predicate.call(this, node as t.FunctionDeclaration | t.FunctionExpression);\n }\n}\n\nexport function FunctionExpression(\n this: Printer,\n node: t.FunctionExpression,\n parent: ParentsOf,\n) {\n _functionHead.call(this, node, parent, true);\n this.space();\n this.print(node.body);\n}\n\nexport { FunctionExpression as FunctionDeclaration };\n\nexport function ArrowFunctionExpression(\n this: Printer,\n node: t.ArrowFunctionExpression,\n parent: ParentsOf,\n) {\n if (node.async) {\n this.word(\"async\", true);\n this.space();\n }\n\n if (_shouldPrintArrowParamsParens.call(this, node)) {\n _params.call(\n this,\n node,\n true,\n undefined,\n this._buf._map ? parent : undefined,\n );\n } else {\n this.print(node.params[0], true);\n }\n\n _predicate.call(this, node, true);\n this.space();\n // When printing (x)/*1*/=>{}, we remove the parentheses\n // and thus there aren't two contiguous inner tokens.\n // We forcefully print inner comments here.\n this.printInnerComments();\n this.token(\"=>\");\n\n this.space();\n\n this.tokenContext |= TokenContext.arrowBody;\n this.print(node.body);\n}\n\n// Try to avoid printing parens in simple cases, but only if we're pretty\n// sure that they aren't needed by type annotations or potential newlines.\nexport function _shouldPrintArrowParamsParens(\n this: Printer,\n node: t.ArrowFunctionExpression,\n): boolean {\n if (node.params.length !== 1) return true;\n\n if (node.typeParameters || node.returnType || node.predicate) {\n return true;\n }\n\n const firstParam = node.params[0];\n if (\n !isIdentifier(firstParam) ||\n firstParam.typeAnnotation ||\n firstParam.optional ||\n // Flow does not support `foo /*: string*/ => {};`\n firstParam.leadingComments?.length ||\n firstParam.trailingComments?.length\n ) {\n return true;\n }\n\n if (this.tokenMap) {\n if (node.loc == null) return true;\n if (this.tokenMap.findMatching(node, \"(\") !== null) return true;\n const arrowToken = this.tokenMap.findMatching(node, \"=>\");\n if (arrowToken?.loc == null) return true;\n return arrowToken.loc.start.line !== node.loc.start.line;\n }\n\n if (this.format.retainLines) return true;\n\n return false;\n}\n\nfunction _getFuncIdName(\n this: Printer,\n idNode: t.Expression | t.PrivateName,\n parent: ParentsOf,\n) {\n let id: t.Expression | t.PrivateName | t.LVal | t.VoidPattern = idNode;\n\n if (!id && parent) {\n const parentType = parent.type;\n\n if (parentType === \"VariableDeclarator\") {\n id = parent.id;\n } else if (\n parentType === \"AssignmentExpression\" ||\n parentType === \"AssignmentPattern\"\n ) {\n id = parent.left;\n } else if (\n parentType === \"ObjectProperty\" ||\n parentType === \"ClassProperty\"\n ) {\n if (!parent.computed || parent.key.type === \"StringLiteral\") {\n id = parent.key;\n }\n } else if (\n parentType === \"ClassPrivateProperty\" ||\n parentType === \"ClassAccessorProperty\"\n ) {\n id = parent.key;\n }\n }\n\n if (!id) return;\n\n let nameInfo;\n\n if (id.type === \"Identifier\") {\n nameInfo = {\n pos: id.loc?.start,\n name: id.loc?.identifierName || id.name,\n };\n } else if (id.type === \"PrivateName\") {\n nameInfo = {\n pos: id.loc?.start,\n name: \"#\" + id.id.name,\n };\n } else if (id.type === \"StringLiteral\") {\n nameInfo = {\n pos: id.loc?.start,\n name: id.value,\n };\n }\n\n return nameInfo;\n}\n"],"mappings":";;;;;;;;;;;;;;AAEA,IAAAA,EAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAAgD;EAHvCE;AAAY,IAAAH,EAAA;AAOd,SAASI,OAAOA,CAErBC,IAA0D,EAC1DC,gBAAyB,EACzBC,MAA4C,EAC5CC,UAAmC,EACnC;EACA,IAAI,CAACC,KAAK,CAACJ,IAAI,CAACK,cAAc,CAAC;EAE/B,IAAIH,MAAM,KAAKI,SAAS,IAAIH,UAAU,KAAKG,SAAS,EAAE;IACpD,MAAMC,QAAQ,GAAGC,cAAc,CAACC,IAAI,CAAC,IAAI,EAAEP,MAAM,EAAEC,UAAU,CAAC;IAC9D,IAAII,QAAQ,EAAE;MACZ,IAAI,CAACG,oBAAoB,CAACH,QAAQ,CAACI,IAAI,EAAEJ,QAAQ,CAACK,GAAG,CAAC;IACxD;EACF;EAEA,IAAI,CAACC,SAAK,GAAI,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E,CAAC5C;IACpB,CAAC;EACH,CAAC,MAAM,IAAI4C,EAAE,CAACV,IAAI,KAAK,eAAe,EAAE;IAAA,IAAAqC,QAAA;IACtC3E,QAAQ,GAAG;MACTK,GAAG,GAAAsE,QAAA,GAAE3B,EAAE,CAACe,GAAG,qBAANY,QAAA,CAAQT,KAAK;MAClB9D,IAAI,EAAE4C,EAAE,CAAC4B;IACX,CAAC;EACH;EAEA,OAAO5E,QAAQ;AACjB","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/modules.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/modules.js deleted file mode 100644 index b787d420..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/modules.js +++ /dev/null @@ -1,290 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ExportAllDeclaration = ExportAllDeclaration; -exports.ExportDefaultDeclaration = ExportDefaultDeclaration; -exports.ExportDefaultSpecifier = ExportDefaultSpecifier; -exports.ExportNamedDeclaration = ExportNamedDeclaration; -exports.ExportNamespaceSpecifier = ExportNamespaceSpecifier; -exports.ExportSpecifier = ExportSpecifier; -exports.ImportAttribute = ImportAttribute; -exports.ImportDeclaration = ImportDeclaration; -exports.ImportDefaultSpecifier = ImportDefaultSpecifier; -exports.ImportExpression = ImportExpression; -exports.ImportNamespaceSpecifier = ImportNamespaceSpecifier; -exports.ImportSpecifier = ImportSpecifier; -exports._printAttributes = _printAttributes; -var _t = require("@babel/types"); -var _index = require("../node/index.js"); -var _expressions = require("./expressions.js"); -const { - isClassDeclaration, - isExportDefaultSpecifier, - isExportNamespaceSpecifier, - isImportDefaultSpecifier, - isImportNamespaceSpecifier, - isStatement -} = _t; -function ImportSpecifier(node) { - if (node.importKind === "type" || node.importKind === "typeof") { - this.word(node.importKind); - this.space(); - } - this.print(node.imported); - if (node.local && node.local.name !== node.imported.name) { - this.space(); - this.word("as"); - this.space(); - this.print(node.local); - } -} -function ImportDefaultSpecifier(node) { - this.print(node.local); -} -function ExportDefaultSpecifier(node) { - this.print(node.exported); -} -function ExportSpecifier(node) { - if (node.exportKind === "type") { - this.word("type"); - this.space(); - } - this.print(node.local); - if (node.exported && node.local.name !== node.exported.name) { - this.space(); - this.word("as"); - this.space(); - this.print(node.exported); - } -} -function ExportNamespaceSpecifier(node) { - this.tokenChar(42); - this.space(); - this.word("as"); - this.space(); - this.print(node.exported); -} -let warningShown = false; -function _printAttributes(node, hasPreviousBrace) { - var _node$extra; - const { - attributes - } = node; - var { - assertions - } = node; - const { - importAttributesKeyword - } = this.format; - if (attributes && !importAttributesKeyword && node.extra && (node.extra.deprecatedAssertSyntax || node.extra.deprecatedWithLegacySyntax) && !warningShown) { - warningShown = true; - console.warn(`\ -You are using import attributes, without specifying the desired output syntax. -Please specify the "importAttributesKeyword" generator option, whose value can be one of: - - "with" : \`import { a } from "b" with { type: "json" };\` - - "assert" : \`import { a } from "b" assert { type: "json" };\` - - "with-legacy" : \`import { a } from "b" with type: "json";\` -`); - } - const useAssertKeyword = importAttributesKeyword === "assert" || !importAttributesKeyword && assertions; - this.word(useAssertKeyword ? "assert" : "with"); - this.space(); - if (!useAssertKeyword && (importAttributesKeyword === "with-legacy" || !importAttributesKeyword && (_node$extra = node.extra) != null && _node$extra.deprecatedWithLegacySyntax)) { - this.printList(attributes || assertions); - return; - } - const occurrenceCount = hasPreviousBrace ? 1 : 0; - this.token("{", undefined, occurrenceCount); - this.space(); - this.printList(attributes || assertions, this.shouldPrintTrailingComma("}")); - this.space(); - this.token("}", undefined, occurrenceCount); -} -function ExportAllDeclaration(node) { - var _node$attributes, _node$assertions; - this.word("export"); - this.space(); - if (node.exportKind === "type") { - this.word("type"); - this.space(); - } - this.tokenChar(42); - this.space(); - this.word("from"); - this.space(); - if ((_node$attributes = node.attributes) != null && _node$attributes.length || (_node$assertions = node.assertions) != null && _node$assertions.length) { - this.print(node.source, true); - this.space(); - _printAttributes.call(this, node, false); - } else { - this.print(node.source); - } - this.semicolon(); -} -function maybePrintDecoratorsBeforeExport(printer, node) { - if (isClassDeclaration(node.declaration) && _expressions._shouldPrintDecoratorsBeforeExport.call(printer, node)) { - printer.printJoin(node.declaration.decorators); - } -} -function ExportNamedDeclaration(node) { - maybePrintDecoratorsBeforeExport(this, node); - this.word("export"); - this.space(); - if (node.declaration) { - const declar = node.declaration; - this.print(declar); - if (!isStatement(declar)) this.semicolon(); - } else { - if (node.exportKind === "type") { - this.word("type"); - this.space(); - } - const specifiers = node.specifiers.slice(0); - let hasSpecial = false; - for (;;) { - const first = specifiers[0]; - if (isExportDefaultSpecifier(first) || isExportNamespaceSpecifier(first)) { - hasSpecial = true; - this.print(specifiers.shift()); - if (specifiers.length) { - this.tokenChar(44); - this.space(); - } - } else { - break; - } - } - let hasBrace = false; - if (specifiers.length || !specifiers.length && !hasSpecial) { - hasBrace = true; - this.tokenChar(123); - if (specifiers.length) { - this.space(); - this.printList(specifiers, this.shouldPrintTrailingComma("}")); - this.space(); - } - this.tokenChar(125); - } - if (node.source) { - var _node$attributes2, _node$assertions2; - this.space(); - this.word("from"); - this.space(); - if ((_node$attributes2 = node.attributes) != null && _node$attributes2.length || (_node$assertions2 = node.assertions) != null && _node$assertions2.length) { - this.print(node.source, true); - this.space(); - _printAttributes.call(this, node, hasBrace); - } else { - this.print(node.source); - } - } - this.semicolon(); - } -} -function ExportDefaultDeclaration(node) { - maybePrintDecoratorsBeforeExport(this, node); - this.word("export"); - this.noIndentInnerCommentsHere(); - this.space(); - this.word("default"); - this.space(); - this.tokenContext |= _index.TokenContext.exportDefault; - const declar = node.declaration; - this.print(declar); - if (!isStatement(declar)) this.semicolon(); -} -function ImportDeclaration(node) { - var _node$attributes3, _node$assertions3; - this.word("import"); - this.space(); - const isTypeKind = node.importKind === "type" || node.importKind === "typeof"; - if (isTypeKind) { - this.noIndentInnerCommentsHere(); - this.word(node.importKind); - this.space(); - } else if (node.module) { - this.noIndentInnerCommentsHere(); - this.word("module"); - this.space(); - } else if (node.phase) { - this.noIndentInnerCommentsHere(); - this.word(node.phase); - this.space(); - } - const specifiers = node.specifiers.slice(0); - const hasSpecifiers = !!specifiers.length; - while (hasSpecifiers) { - const first = specifiers[0]; - if (isImportDefaultSpecifier(first) || isImportNamespaceSpecifier(first)) { - this.print(specifiers.shift()); - if (specifiers.length) { - this.tokenChar(44); - this.space(); - } - } else { - break; - } - } - let hasBrace = false; - if (specifiers.length) { - hasBrace = true; - this.tokenChar(123); - this.space(); - this.printList(specifiers, this.shouldPrintTrailingComma("}")); - this.space(); - this.tokenChar(125); - } else if (isTypeKind && !hasSpecifiers) { - hasBrace = true; - this.tokenChar(123); - this.tokenChar(125); - } - if (hasSpecifiers || isTypeKind) { - this.space(); - this.word("from"); - this.space(); - } - if ((_node$attributes3 = node.attributes) != null && _node$attributes3.length || (_node$assertions3 = node.assertions) != null && _node$assertions3.length) { - this.print(node.source, true); - this.space(); - _printAttributes.call(this, node, hasBrace); - } else { - this.print(node.source); - } - this.semicolon(); -} -function ImportAttribute(node) { - this.print(node.key); - this.tokenChar(58); - this.space(); - this.print(node.value); -} -function ImportNamespaceSpecifier(node) { - this.tokenChar(42); - this.space(); - this.word("as"); - this.space(); - this.print(node.local); -} -function ImportExpression(node) { - this.word("import"); - if (node.phase) { - this.tokenChar(46); - this.word(node.phase); - } - this.tokenChar(40); - const shouldPrintTrailingComma = this.shouldPrintTrailingComma(")"); - this.print(node.source); - if (node.options != null) { - this.tokenChar(44); - this.space(); - this.print(node.options); - } - if (shouldPrintTrailingComma) { - this.tokenChar(44); - } - this.rightParens(node); -} - -//# sourceMappingURL=modules.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/modules.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/modules.js.map deleted file mode 100644 index c642e939..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/modules.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_t","require","_index","_expressions","isClassDeclaration","isExportDefaultSpecifier","isExportNamespaceSpecifier","isImportDefaultSpecifier","isImportNamespaceSpecifier","isStatement","ImportSpecifier","node","importKind","word","space","print","imported","local","name","ImportDefaultSpecifier","ExportDefaultSpecifier","exported","ExportSpecifier","exportKind","ExportNamespaceSpecifier","token","warningShown","_printAttributes","hasPreviousBrace","_node$extra","attributes","assertions","importAttributesKeyword","format","extra","deprecatedAssertSyntax","deprecatedWithLegacySyntax","console","warn","useAssertKeyword","printList","occurrenceCount","undefined","shouldPrintTrailingComma","ExportAllDeclaration","_node$attributes","_node$assertions","length","source","call","semicolon","maybePrintDecoratorsBeforeExport","printer","declaration","_shouldPrintDecoratorsBeforeExport","printJoin","decorators","ExportNamedDeclaration","declar","specifiers","slice","hasSpecial","first","shift","hasBrace","_node$attributes2","_node$assertions2","ExportDefaultDeclaration","noIndentInnerCommentsHere","tokenContext","TokenContext","exportDefault","ImportDeclaration","_node$attributes3","_node$assertions3","isTypeKind","module","phase","hasSpecifiers","ImportAttribute","key","value","ImportNamespaceSpecifier","ImportExpression","options","rightParens"],"sources":["../../src/generators/modules.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport {\n isClassDeclaration,\n isExportDefaultSpecifier,\n isExportNamespaceSpecifier,\n isImportDefaultSpecifier,\n isImportNamespaceSpecifier,\n isStatement,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nimport { TokenContext } from \"../node/index.ts\";\nimport { _shouldPrintDecoratorsBeforeExport } from \"./expressions.ts\";\n\nexport function ImportSpecifier(this: Printer, node: t.ImportSpecifier) {\n if (node.importKind === \"type\" || node.importKind === \"typeof\") {\n this.word(node.importKind);\n this.space();\n }\n\n this.print(node.imported);\n // @ts-expect-error todo(flow-ts) maybe check node type instead of relying on name to be undefined on t.StringLiteral\n if (node.local && node.local.name !== node.imported.name) {\n this.space();\n this.word(\"as\");\n this.space();\n this.print(node.local);\n }\n}\n\nexport function ImportDefaultSpecifier(\n this: Printer,\n node: t.ImportDefaultSpecifier,\n) {\n this.print(node.local);\n}\n\nexport function ExportDefaultSpecifier(\n this: Printer,\n node: t.ExportDefaultSpecifier,\n) {\n this.print(node.exported);\n}\n\nexport function ExportSpecifier(this: Printer, node: t.ExportSpecifier) {\n if (node.exportKind === \"type\") {\n this.word(\"type\");\n this.space();\n }\n\n this.print(node.local);\n // @ts-expect-error todo(flow-ts) maybe check node type instead of relying on name to be undefined on t.StringLiteral\n if (node.exported && node.local.name !== node.exported.name) {\n this.space();\n this.word(\"as\");\n this.space();\n this.print(node.exported);\n }\n}\n\nexport function ExportNamespaceSpecifier(\n this: Printer,\n node: t.ExportNamespaceSpecifier,\n) {\n this.token(\"*\");\n this.space();\n this.word(\"as\");\n this.space();\n this.print(node.exported);\n}\n\nlet warningShown = false;\n\nexport function _printAttributes(\n this: Printer,\n node: Extract,\n hasPreviousBrace: boolean,\n) {\n const { attributes } = node;\n\n if (!process.env.BABEL_8_BREAKING) {\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n // eslint-disable-next-line no-var\n var { assertions } = node;\n const { importAttributesKeyword } = this.format;\n\n if (\n attributes &&\n !importAttributesKeyword &&\n node.extra &&\n (node.extra.deprecatedAssertSyntax ||\n node.extra.deprecatedWithLegacySyntax) &&\n // In the production build only show the warning once.\n // We want to show it per-usage locally for tests.\n (!process.env.IS_PUBLISH || !warningShown)\n ) {\n warningShown = true;\n console.warn(`\\\nYou are using import attributes, without specifying the desired output syntax.\nPlease specify the \"importAttributesKeyword\" generator option, whose value can be one of:\n - \"with\" : \\`import { a } from \"b\" with { type: \"json\" };\\`\n - \"assert\" : \\`import { a } from \"b\" assert { type: \"json\" };\\`\n - \"with-legacy\" : \\`import { a } from \"b\" with type: \"json\";\\`\n`);\n }\n\n const useAssertKeyword =\n importAttributesKeyword === \"assert\" ||\n (!importAttributesKeyword && assertions);\n\n this.word(useAssertKeyword ? \"assert\" : \"with\");\n this.space();\n\n if (\n !useAssertKeyword &&\n (importAttributesKeyword === \"with-legacy\" ||\n (!importAttributesKeyword && node.extra?.deprecatedWithLegacySyntax))\n ) {\n // with-legacy\n this.printList(attributes || assertions);\n return;\n }\n } else {\n this.word(\"with\");\n this.space();\n }\n\n const occurrenceCount = hasPreviousBrace ? 1 : 0;\n\n this.token(\"{\", undefined, occurrenceCount);\n this.space();\n this.printList(\n process.env.BABEL_8_BREAKING ? attributes : attributes || assertions,\n this.shouldPrintTrailingComma(\"}\"),\n );\n this.space();\n this.token(\"}\", undefined, occurrenceCount);\n}\n\nexport function ExportAllDeclaration(\n this: Printer,\n node: t.ExportAllDeclaration | t.DeclareExportAllDeclaration,\n) {\n this.word(\"export\");\n this.space();\n if (node.exportKind === \"type\") {\n this.word(\"type\");\n this.space();\n }\n this.token(\"*\");\n this.space();\n this.word(\"from\");\n this.space();\n if (\n node.attributes?.length ||\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n (!process.env.BABEL_8_BREAKING && node.assertions?.length)\n ) {\n this.print(node.source, true);\n this.space();\n _printAttributes.call(this, node, false);\n } else {\n this.print(node.source);\n }\n\n this.semicolon();\n}\n\nfunction maybePrintDecoratorsBeforeExport(\n printer: Printer,\n node: t.ExportNamedDeclaration | t.ExportDefaultDeclaration,\n) {\n if (\n isClassDeclaration(node.declaration) &&\n _shouldPrintDecoratorsBeforeExport.call(\n printer,\n node as t.ExportNamedDeclaration & { declaration: t.ClassDeclaration },\n )\n ) {\n printer.printJoin(node.declaration.decorators);\n }\n}\n\nexport function ExportNamedDeclaration(\n this: Printer,\n node: t.ExportNamedDeclaration,\n) {\n maybePrintDecoratorsBeforeExport(this, node);\n\n this.word(\"export\");\n this.space();\n if (node.declaration) {\n const declar = node.declaration;\n this.print(declar);\n if (!isStatement(declar)) this.semicolon();\n } else {\n if (node.exportKind === \"type\") {\n this.word(\"type\");\n this.space();\n }\n\n const specifiers = node.specifiers.slice(0);\n\n // print \"special\" specifiers first\n let hasSpecial = false;\n for (;;) {\n const first = specifiers[0];\n if (\n isExportDefaultSpecifier(first) ||\n isExportNamespaceSpecifier(first)\n ) {\n hasSpecial = true;\n this.print(specifiers.shift());\n if (specifiers.length) {\n this.token(\",\");\n this.space();\n }\n } else {\n break;\n }\n }\n\n let hasBrace = false;\n if (specifiers.length || (!specifiers.length && !hasSpecial)) {\n hasBrace = true;\n this.token(\"{\");\n if (specifiers.length) {\n this.space();\n this.printList(specifiers, this.shouldPrintTrailingComma(\"}\"));\n this.space();\n }\n this.token(\"}\");\n }\n\n if (node.source) {\n this.space();\n this.word(\"from\");\n this.space();\n if (\n node.attributes?.length ||\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n (!process.env.BABEL_8_BREAKING && node.assertions?.length)\n ) {\n this.print(node.source, true);\n this.space();\n _printAttributes.call(this, node, hasBrace);\n } else {\n this.print(node.source);\n }\n }\n\n this.semicolon();\n }\n}\n\nexport function ExportDefaultDeclaration(\n this: Printer,\n node: t.ExportDefaultDeclaration,\n) {\n maybePrintDecoratorsBeforeExport(this, node);\n\n this.word(\"export\");\n this.noIndentInnerCommentsHere();\n this.space();\n this.word(\"default\");\n this.space();\n this.tokenContext |= TokenContext.exportDefault;\n const declar = node.declaration;\n this.print(declar);\n if (!isStatement(declar)) this.semicolon();\n}\n\nexport function ImportDeclaration(this: Printer, node: t.ImportDeclaration) {\n this.word(\"import\");\n this.space();\n\n const isTypeKind = node.importKind === \"type\" || node.importKind === \"typeof\";\n if (isTypeKind) {\n this.noIndentInnerCommentsHere();\n this.word(node.importKind!);\n this.space();\n } else if (node.module) {\n this.noIndentInnerCommentsHere();\n this.word(\"module\");\n this.space();\n } else if (node.phase) {\n this.noIndentInnerCommentsHere();\n this.word(node.phase);\n this.space();\n }\n\n const specifiers = node.specifiers.slice(0);\n const hasSpecifiers = !!specifiers.length;\n // print \"special\" specifiers first. The loop condition is constant,\n // but there is a \"break\" in the body.\n while (hasSpecifiers) {\n const first = specifiers[0];\n if (isImportDefaultSpecifier(first) || isImportNamespaceSpecifier(first)) {\n this.print(specifiers.shift());\n if (specifiers.length) {\n this.token(\",\");\n this.space();\n }\n } else {\n break;\n }\n }\n\n let hasBrace = false;\n if (specifiers.length) {\n hasBrace = true;\n this.token(\"{\");\n this.space();\n this.printList(specifiers, this.shouldPrintTrailingComma(\"}\"));\n this.space();\n this.token(\"}\");\n } else if (isTypeKind && !hasSpecifiers) {\n hasBrace = true;\n this.token(\"{\");\n this.token(\"}\");\n }\n\n if (hasSpecifiers || isTypeKind) {\n this.space();\n this.word(\"from\");\n this.space();\n }\n\n if (\n node.attributes?.length ||\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n (!process.env.BABEL_8_BREAKING && node.assertions?.length)\n ) {\n this.print(node.source, true);\n this.space();\n _printAttributes.call(this, node, hasBrace);\n } else {\n this.print(node.source);\n }\n\n this.semicolon();\n}\n\nexport function ImportAttribute(this: Printer, node: t.ImportAttribute) {\n this.print(node.key);\n this.token(\":\");\n this.space();\n this.print(node.value);\n}\n\nexport function ImportNamespaceSpecifier(\n this: Printer,\n node: t.ImportNamespaceSpecifier,\n) {\n this.token(\"*\");\n this.space();\n this.word(\"as\");\n this.space();\n this.print(node.local);\n}\n\nexport function ImportExpression(this: Printer, node: t.ImportExpression) {\n this.word(\"import\");\n if (node.phase) {\n this.token(\".\");\n this.word(node.phase);\n }\n this.token(\"(\");\n const shouldPrintTrailingComma = this.shouldPrintTrailingComma(\")\");\n this.print(node.source);\n if (node.options != null) {\n this.token(\",\");\n this.space();\n this.print(node.options);\n }\n if (shouldPrintTrailingComma) {\n this.token(\",\");\n }\n this.rightParens(node);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AACA,IAAAA,EAAA,GAAAC,OAAA;AASA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AAAsE;EATpEG,kBAAkB;EAClBC,wBAAwB;EACxBC,0BAA0B;EAC1BC,wBAAwB;EACxBC,0BAA0B;EAC1BC;AAAW,IAAAT,EAAA;AAMN,SAASU,eAAeA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K,CAAC;EACvB;EACA,IAAI,CAACpD,SAAK,GAAI,CAAC;EACf,MAAMkB,wBAAwB,GAAG,IAAI,CAACA,wBAAwB,CAAC,GAAG,CAAC;EACnE,IAAI,CAAC5B,KAAK,CAACJ,IAAI,CAACqC,MAAM,CAAC;EACvB,IAAIrC,IAAI,CAACyE,OAAO,IAAI,IAAI,EAAE;IACxB,IAAI,CAAC3D,SAAK,GAAI,CAAC;IACf,IAAI,CAACX,KAAK,CAAC,CAAC;IACZ,IAAI,CAACC,KAAK,CAACJ,IAAI,CAACyE,OAAO,CAAC;EAC1B;EACA,IAAIzC,wBAAwB,EAAE;IAC5B,IAAI,CAAClB,SAAK,GAAI,CAAC;EACjB;EACA,IAAI,CAAC4D,WAAW,CAAC1E,IAAI,CAAC;AACxB","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/statements.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/statements.js deleted file mode 100644 index ab139b33..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/statements.js +++ /dev/null @@ -1,297 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.BreakStatement = BreakStatement; -exports.CatchClause = CatchClause; -exports.ContinueStatement = ContinueStatement; -exports.DebuggerStatement = DebuggerStatement; -exports.DoWhileStatement = DoWhileStatement; -exports.ForInStatement = ForInStatement; -exports.ForOfStatement = ForOfStatement; -exports.ForStatement = ForStatement; -exports.IfStatement = IfStatement; -exports.LabeledStatement = LabeledStatement; -exports.ReturnStatement = ReturnStatement; -exports.SwitchCase = SwitchCase; -exports.SwitchStatement = SwitchStatement; -exports.ThrowStatement = ThrowStatement; -exports.TryStatement = TryStatement; -exports.VariableDeclaration = VariableDeclaration; -exports.VariableDeclarator = VariableDeclarator; -exports.WhileStatement = WhileStatement; -exports.WithStatement = WithStatement; -var _t = require("@babel/types"); -var _index = require("../node/index.js"); -const { - isFor, - isIfStatement, - isStatement -} = _t; -function WithStatement(node) { - this.word("with"); - this.space(); - this.tokenChar(40); - this.print(node.object); - this.tokenChar(41); - this.printBlock(node.body); -} -function IfStatement(node) { - this.word("if"); - this.space(); - this.tokenChar(40); - this.print(node.test); - this.tokenChar(41); - this.space(); - const needsBlock = node.alternate && isIfStatement(getLastStatement(node.consequent)); - if (needsBlock) { - this.tokenChar(123); - this.newline(); - this.indent(); - } - this.printAndIndentOnComments(node.consequent); - if (needsBlock) { - this.dedent(); - this.newline(); - this.tokenChar(125); - } - if (node.alternate) { - if (this.endsWith(125)) this.space(); - this.word("else"); - this.space(); - this.printAndIndentOnComments(node.alternate); - } -} -function getLastStatement(statement) { - const { - body - } = statement; - if (isStatement(body) === false) { - return statement; - } - return getLastStatement(body); -} -function ForStatement(node) { - this.word("for"); - this.space(); - this.tokenChar(40); - this.tokenContext |= _index.TokenContext.forInitHead | _index.TokenContext.forInOrInitHeadAccumulate; - this.print(node.init); - this.tokenContext = _index.TokenContext.normal; - this.tokenChar(59); - if (node.test) { - this.space(); - this.print(node.test); - } - this.tokenChar(59, 1); - if (node.update) { - this.space(); - this.print(node.update); - } - this.tokenChar(41); - this.printBlock(node.body); -} -function WhileStatement(node) { - this.word("while"); - this.space(); - this.tokenChar(40); - this.print(node.test); - this.tokenChar(41); - this.printBlock(node.body); -} -function ForInStatement(node) { - this.word("for"); - this.space(); - this.noIndentInnerCommentsHere(); - this.tokenChar(40); - this.tokenContext |= _index.TokenContext.forInHead | _index.TokenContext.forInOrInitHeadAccumulate; - this.print(node.left); - this.tokenContext = _index.TokenContext.normal; - this.space(); - this.word("in"); - this.space(); - this.print(node.right); - this.tokenChar(41); - this.printBlock(node.body); -} -function ForOfStatement(node) { - this.word("for"); - this.space(); - if (node.await) { - this.word("await"); - this.space(); - } - this.noIndentInnerCommentsHere(); - this.tokenChar(40); - this.tokenContext |= _index.TokenContext.forOfHead; - this.print(node.left); - this.space(); - this.word("of"); - this.space(); - this.print(node.right); - this.tokenChar(41); - this.printBlock(node.body); -} -function DoWhileStatement(node) { - this.word("do"); - this.space(); - this.print(node.body); - this.space(); - this.word("while"); - this.space(); - this.tokenChar(40); - this.print(node.test); - this.tokenChar(41); - this.semicolon(); -} -function printStatementAfterKeyword(printer, node) { - if (node) { - printer.space(); - printer.printTerminatorless(node); - } - printer.semicolon(); -} -function BreakStatement(node) { - this.word("break"); - printStatementAfterKeyword(this, node.label); -} -function ContinueStatement(node) { - this.word("continue"); - printStatementAfterKeyword(this, node.label); -} -function ReturnStatement(node) { - this.word("return"); - printStatementAfterKeyword(this, node.argument); -} -function ThrowStatement(node) { - this.word("throw"); - printStatementAfterKeyword(this, node.argument); -} -function LabeledStatement(node) { - this.print(node.label); - this.tokenChar(58); - this.space(); - this.print(node.body); -} -function TryStatement(node) { - this.word("try"); - this.space(); - this.print(node.block); - this.space(); - if (node.handlers) { - this.print(node.handlers[0]); - } else { - this.print(node.handler); - } - if (node.finalizer) { - this.space(); - this.word("finally"); - this.space(); - this.print(node.finalizer); - } -} -function CatchClause(node) { - this.word("catch"); - this.space(); - if (node.param) { - this.tokenChar(40); - this.print(node.param); - this.print(node.param.typeAnnotation); - this.tokenChar(41); - this.space(); - } - this.print(node.body); -} -function SwitchStatement(node) { - this.word("switch"); - this.space(); - this.tokenChar(40); - this.print(node.discriminant); - this.tokenChar(41); - this.space(); - this.tokenChar(123); - this.printSequence(node.cases, true); - this.rightBrace(node); -} -function SwitchCase(node) { - if (node.test) { - this.word("case"); - this.space(); - this.print(node.test); - this.tokenChar(58); - } else { - this.word("default"); - this.tokenChar(58); - } - if (node.consequent.length) { - this.newline(); - this.printSequence(node.consequent, true); - } -} -function DebuggerStatement() { - this.word("debugger"); - this.semicolon(); -} -function commaSeparatorWithNewline(occurrenceCount) { - this.tokenChar(44, occurrenceCount); - this.newline(); -} -function VariableDeclaration(node, parent) { - if (node.declare) { - this.word("declare"); - this.space(); - } - const { - kind - } = node; - switch (kind) { - case "await using": - this.word("await"); - this.space(); - case "using": - this.word("using", true); - break; - default: - this.word(kind); - } - this.space(); - let hasInits = false; - if (!isFor(parent)) { - for (const declar of node.declarations) { - if (declar.init) { - hasInits = true; - break; - } - } - } - this.printList(node.declarations, undefined, undefined, node.declarations.length > 1, hasInits ? commaSeparatorWithNewline : undefined); - if (parent != null) { - switch (parent.type) { - case "ForStatement": - if (parent.init === node) { - return; - } - break; - case "ForInStatement": - case "ForOfStatement": - if (parent.left === node) { - return; - } - } - } - this.semicolon(); -} -function VariableDeclarator(node) { - this.print(node.id); - if (node.definite) this.tokenChar(33); - this.print(node.id.typeAnnotation); - if (node.init) { - this.space(); - this.tokenChar(61); - this.space(); - this.print(node.init); - } -} - -//# sourceMappingURL=statements.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/statements.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/statements.js.map deleted file mode 100644 index b01021ce..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/statements.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_t","require","_index","isFor","isIfStatement","isStatement","WithStatement","node","word","space","token","print","object","printBlock","body","IfStatement","test","needsBlock","alternate","getLastStatement","consequent","newline","indent","printAndIndentOnComments","dedent","endsWith","statement","ForStatement","tokenContext","TokenContext","forInitHead","forInOrInitHeadAccumulate","init","normal","tokenChar","update","WhileStatement","ForInStatement","noIndentInnerCommentsHere","forInHead","left","right","ForOfStatement","await","forOfHead","DoWhileStatement","semicolon","printStatementAfterKeyword","printer","printTerminatorless","BreakStatement","label","ContinueStatement","ReturnStatement","argument","ThrowStatement","LabeledStatement","TryStatement","block","handlers","handler","finalizer","CatchClause","param","typeAnnotation","SwitchStatement","discriminant","printSequence","cases","rightBrace","SwitchCase","length","DebuggerStatement","commaSeparatorWithNewline","occurrenceCount","VariableDeclaration","parent","declare","kind","hasInits","declar","declarations","printList","undefined","type","VariableDeclarator","id","definite"],"sources":["../../src/generators/statements.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport { isFor, isIfStatement, isStatement } from \"@babel/types\";\nimport type * as t from \"@babel/types\";\n\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\nimport { TokenContext } from \"../node/index.ts\";\n\nexport function WithStatement(this: Printer, node: t.WithStatement) {\n this.word(\"with\");\n this.space();\n this.token(\"(\");\n this.print(node.object);\n this.token(\")\");\n this.printBlock(node.body);\n}\n\nexport function IfStatement(this: Printer, node: t.IfStatement) {\n this.word(\"if\");\n this.space();\n this.token(\"(\");\n this.print(node.test);\n this.token(\")\");\n this.space();\n\n const needsBlock =\n node.alternate && isIfStatement(getLastStatement(node.consequent));\n if (needsBlock) {\n this.token(\"{\");\n this.newline();\n this.indent();\n }\n\n this.printAndIndentOnComments(node.consequent);\n\n if (needsBlock) {\n this.dedent();\n this.newline();\n this.token(\"}\");\n }\n\n if (node.alternate) {\n if (this.endsWith(charCodes.rightCurlyBrace)) this.space();\n this.word(\"else\");\n this.space();\n this.printAndIndentOnComments(node.alternate);\n }\n}\n\n// Recursively get the last statement.\nfunction getLastStatement(statement: t.Statement): t.Statement {\n // @ts-expect-error: If statement.body is empty or not a Node, isStatement will return false\n const { body } = statement;\n if (isStatement(body) === false) {\n return statement;\n }\n\n return getLastStatement(body);\n}\n\nexport function ForStatement(this: Printer, node: t.ForStatement) {\n this.word(\"for\");\n this.space();\n this.token(\"(\");\n\n this.tokenContext |=\n TokenContext.forInitHead | TokenContext.forInOrInitHeadAccumulate;\n this.print(node.init);\n this.tokenContext = TokenContext.normal;\n\n this.token(\";\");\n\n if (node.test) {\n this.space();\n this.print(node.test);\n }\n this.tokenChar(charCodes.semicolon, 1);\n\n if (node.update) {\n this.space();\n this.print(node.update);\n }\n\n this.token(\")\");\n this.printBlock(node.body);\n}\n\nexport function WhileStatement(this: Printer, node: t.WhileStatement) {\n this.word(\"while\");\n this.space();\n this.token(\"(\");\n this.print(node.test);\n this.token(\")\");\n this.printBlock(node.body);\n}\n\nexport function ForInStatement(this: Printer, node: t.ForInStatement) {\n this.word(\"for\");\n this.space();\n this.noIndentInnerCommentsHere();\n this.token(\"(\");\n this.tokenContext |=\n TokenContext.forInHead | TokenContext.forInOrInitHeadAccumulate;\n this.print(node.left);\n this.tokenContext = TokenContext.normal;\n this.space();\n this.word(\"in\");\n this.space();\n this.print(node.right);\n this.token(\")\");\n this.printBlock(node.body);\n}\n\nexport function ForOfStatement(this: Printer, node: t.ForOfStatement) {\n this.word(\"for\");\n this.space();\n if (node.await) {\n this.word(\"await\");\n this.space();\n }\n this.noIndentInnerCommentsHere();\n this.token(\"(\");\n this.tokenContext |= TokenContext.forOfHead;\n this.print(node.left);\n this.space();\n this.word(\"of\");\n this.space();\n this.print(node.right);\n this.token(\")\");\n this.printBlock(node.body);\n}\n\nexport function DoWhileStatement(this: Printer, node: t.DoWhileStatement) {\n this.word(\"do\");\n this.space();\n this.print(node.body);\n this.space();\n this.word(\"while\");\n this.space();\n this.token(\"(\");\n this.print(node.test);\n this.token(\")\");\n this.semicolon();\n}\n\nfunction printStatementAfterKeyword(\n printer: Printer,\n node: t.Node | null | undefined,\n) {\n if (node) {\n printer.space();\n printer.printTerminatorless(node);\n }\n\n printer.semicolon();\n}\n\nexport function BreakStatement(this: Printer, node: t.ContinueStatement) {\n this.word(\"break\");\n printStatementAfterKeyword(this, node.label);\n}\n\nexport function ContinueStatement(this: Printer, node: t.ContinueStatement) {\n this.word(\"continue\");\n printStatementAfterKeyword(this, node.label);\n}\n\nexport function ReturnStatement(this: Printer, node: t.ReturnStatement) {\n this.word(\"return\");\n printStatementAfterKeyword(this, node.argument);\n}\n\nexport function ThrowStatement(this: Printer, node: t.ThrowStatement) {\n this.word(\"throw\");\n printStatementAfterKeyword(this, node.argument);\n}\n\nexport function LabeledStatement(this: Printer, node: t.LabeledStatement) {\n this.print(node.label);\n this.token(\":\");\n this.space();\n this.print(node.body);\n}\n\nexport function TryStatement(this: Printer, node: t.TryStatement) {\n this.word(\"try\");\n this.space();\n this.print(node.block);\n this.space();\n\n // Esprima bug puts the catch clause in a `handlers` array.\n // see https://code.google.com/p/esprima/issues/detail?id=433\n // We run into this from regenerator generated ast.\n // @ts-expect-error todo(flow->ts) should ast node type be updated to support this?\n if (node.handlers) {\n // @ts-expect-error todo(flow->ts) should ast node type be updated to support this?\n this.print(node.handlers[0]);\n } else {\n this.print(node.handler);\n }\n\n if (node.finalizer) {\n this.space();\n this.word(\"finally\");\n this.space();\n this.print(node.finalizer);\n }\n}\n\nexport function CatchClause(this: Printer, node: t.CatchClause) {\n this.word(\"catch\");\n this.space();\n if (node.param) {\n this.token(\"(\");\n this.print(node.param);\n this.print(node.param.typeAnnotation);\n this.token(\")\");\n this.space();\n }\n this.print(node.body);\n}\n\nexport function SwitchStatement(this: Printer, node: t.SwitchStatement) {\n this.word(\"switch\");\n this.space();\n this.token(\"(\");\n this.print(node.discriminant);\n this.token(\")\");\n this.space();\n this.token(\"{\");\n\n this.printSequence(node.cases, true);\n\n this.rightBrace(node);\n}\n\nexport function SwitchCase(this: Printer, node: t.SwitchCase) {\n if (node.test) {\n this.word(\"case\");\n this.space();\n this.print(node.test);\n this.token(\":\");\n } else {\n this.word(\"default\");\n this.token(\":\");\n }\n\n if (node.consequent.length) {\n this.newline();\n this.printSequence(node.consequent, true);\n }\n}\n\nexport function DebuggerStatement(this: Printer) {\n this.word(\"debugger\");\n this.semicolon();\n}\n\nfunction commaSeparatorWithNewline(this: Printer, occurrenceCount: number) {\n this.tokenChar(charCodes.comma, occurrenceCount);\n this.newline();\n}\n\nexport function VariableDeclaration(\n this: Printer,\n node: t.VariableDeclaration,\n parent: t.Node,\n) {\n if (node.declare) {\n // TS\n this.word(\"declare\");\n this.space();\n }\n\n const { kind } = node;\n switch (kind) {\n case \"await using\":\n this.word(\"await\");\n this.space();\n // fallthrough\n case \"using\":\n this.word(\"using\", true);\n break;\n default:\n this.word(kind);\n }\n this.space();\n\n let hasInits = false;\n // don't add whitespace to loop heads\n if (!isFor(parent)) {\n for (const declar of node.declarations) {\n if (declar.init) {\n // has an init so let's split it up over multiple lines\n hasInits = true;\n break;\n }\n }\n }\n\n //\n // use a pretty separator when we aren't in compact mode, have initializers and don't have retainLines on\n // this will format declarations like:\n //\n // let foo = \"bar\", bar = \"foo\";\n //\n // into\n //\n // let foo = \"bar\",\n // bar = \"foo\";\n //\n\n this.printList(\n node.declarations,\n undefined,\n undefined,\n node.declarations.length > 1,\n hasInits ? commaSeparatorWithNewline : undefined,\n );\n\n if (parent != null) {\n switch (parent.type) {\n case \"ForStatement\":\n if (parent.init === node) {\n return;\n }\n break;\n case \"ForInStatement\":\n case \"ForOfStatement\":\n if (parent.left === node) {\n return;\n }\n }\n }\n\n this.semicolon();\n}\n\nexport function VariableDeclarator(this: Printer, node: t.VariableDeclarator) {\n this.print(node.id);\n if (node.definite) this.token(\"!\"); // TS\n // @ts-ignore(Babel 7 vs Babel 8) Property 'typeAnnotation' does not exist on type 'MemberExpression'.\n this.print(node.id.typeAnnotation);\n if (node.init) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.init);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,EAAA,GAAAC,OAAA;AAMA,IAAAC,MAAA,GAAAD,OAAA;AAAgD;EANvCE,KAAK;EAAEC,aAAa;EAAEC;AAAW,IAAAL,EAAA;AAQnC,SAASM,aAAaA,CAAgBC,IAAqB,EAAE;EAClE,IAAI,CAACC,IAAI,CAAC,MAAM,CAAC;EACjB,IAAI,CAACC,KAAK,CAAC,CAAC;EACZ,IAAI,CAACC,SAAK,GAAI,CAAC;EACf,IAAI,CAACC,KAAK,CAACJ,IAAI,CAACK,MAAM,CAAC;EACvB,IAAI,CAACF,SAAK,GAAI,CAAC;EACf,IAAI,CAACG,UAAU,CAACN,IAAI,CAACO,IAAI,CAAC;AAC5B;AAEO,SAASC,WAAWA,CAAgBR,IAAmB,EAAE;EAC9D,IAAI,CAACC,IAAI,CAAC,IAAI,CAAC;EACf,IA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AAI,EAAE;UACxB;QACF;IACJ;EACF;EAEA,IAAI,CAACuC,SAAS,CAAC,CAAC;AAClB;AAEO,SAASuC,kBAAkBA,CAAgB9E,IAA0B,EAAE;EAC5E,IAAI,CAACI,KAAK,CAACJ,IAAI,CAAC+E,EAAE,CAAC;EACnB,IAAI/E,IAAI,CAACgF,QAAQ,EAAE,IAAI,CAAC7E,SAAK,GAAI,CAAC;EAElC,IAAI,CAACC,KAAK,CAACJ,IAAI,CAAC+E,EAAE,CAACtB,cAAc,CAAC;EAClC,IAAIzD,IAAI,CAACyB,IAAI,EAAE;IACb,IAAI,CAACvB,KAAK,CAAC,CAAC;IACZ,IAAI,CAACC,SAAK,GAAI,CAAC;IACf,IAAI,CAACD,KAAK,CAAC,CAAC;IACZ,IAAI,CAACE,KAAK,CAACJ,IAAI,CAACyB,IAAI,CAAC;EACvB;AACF","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/template-literals.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/template-literals.js deleted file mode 100644 index b0c029cc..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/template-literals.js +++ /dev/null @@ -1,38 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.TaggedTemplateExpression = TaggedTemplateExpression; -exports.TemplateElement = TemplateElement; -exports.TemplateLiteral = TemplateLiteral; -exports._printTemplate = _printTemplate; -function TaggedTemplateExpression(node) { - this.print(node.tag); - this.print(node.typeParameters); - this.print(node.quasi); -} -function TemplateElement() { - throw new Error("TemplateElement printing is handled in TemplateLiteral"); -} -function _printTemplate(node, substitutions) { - const quasis = node.quasis; - let partRaw = "`"; - for (let i = 0; i < quasis.length - 1; i++) { - partRaw += quasis[i].value.raw; - this.token(partRaw + "${", true); - this.print(substitutions[i]); - partRaw = "}"; - if (this.tokenMap) { - const token = this.tokenMap.findMatching(node, "}", i); - if (token) this._catchUpTo(token.loc.start); - } - } - partRaw += quasis[quasis.length - 1].value.raw; - this.token(partRaw + "`", true); -} -function TemplateLiteral(node) { - _printTemplate.call(this, node, node.expressions); -} - -//# sourceMappingURL=template-literals.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/template-literals.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/template-literals.js.map deleted file mode 100644 index 59fa221e..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/template-literals.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["TaggedTemplateExpression","node","print","tag","typeParameters","quasi","TemplateElement","Error","_printTemplate","substitutions","quasis","partRaw","i","length","value","raw","token","tokenMap","findMatching","_catchUpTo","loc","start","TemplateLiteral","call","expressions"],"sources":["../../src/generators/template-literals.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport type * as t from \"@babel/types\";\n\nexport function TaggedTemplateExpression(\n this: Printer,\n node: t.TaggedTemplateExpression,\n) {\n this.print(node.tag);\n if (process.env.BABEL_8_BREAKING) {\n // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST\n this.print(node.typeArguments);\n } else {\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n this.print(node.typeParameters);\n }\n this.print(node.quasi);\n}\n\nexport function TemplateElement(this: Printer) {\n throw new Error(\"TemplateElement printing is handled in TemplateLiteral\");\n}\n\nexport type TemplateLiteralBase = t.Node & {\n quasis: t.TemplateElement[];\n};\n\nexport function _printTemplate(\n this: Printer,\n node: TemplateLiteralBase,\n substitutions: T[],\n) {\n const quasis = node.quasis;\n let partRaw = \"`\";\n for (let i = 0; i < quasis.length - 1; i++) {\n partRaw += quasis[i].value.raw;\n this.token(partRaw + \"${\", true);\n this.print(substitutions[i]);\n partRaw = \"}\";\n\n // In Babel 7 we have individual tokens for ${ and }, so the automatic\n // catchup logic does not work. Manually look for those tokens.\n if (!process.env.BABEL_8_BREAKING && this.tokenMap) {\n const token = this.tokenMap.findMatching(node, \"}\", i);\n if (token) this._catchUpTo(token.loc.start);\n }\n }\n partRaw += quasis[quasis.length - 1].value.raw;\n this.token(partRaw + \"`\", true);\n}\n\nexport function TemplateLiteral(this: Printer, node: t.TemplateLiteral) {\n _printTemplate.call(this, node, node.expressions);\n}\n"],"mappings":";;;;;;;;;AAGO,SAASA,wBAAwBA,CAEtCC,IAAgC,EAChC;EACA,IAAI,CAACC,KAAK,CAACD,IAAI,CAACE,GAAG,CAAC;EAMlB,IAAI,CAACD,KAAK,CAACD,IAAI,CAACG,cAAc,CAAC;EAEjC,IAAI,CAACF,KAAK,CAACD,IAAI,CAACI,KAAK,CAAC;AACxB;AAEO,SAASC,eAAeA,CAAA,EAAgB;EAC7C,MAAM,IAAIC,KAAK,CAAC,wDAAwD,CAAC;AAC3E;AAMO,SAASC,cAAcA,CAE5BP,IAAyB,EACzBQ,aAAkB,EAClB;EACA,MAAMC,MAAM,GAAGT,IAAI,CAACS,MAAM;EAC1B,IAAIC,OAAO,GAAG,GAAG;EACjB,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGF,MAAM,CAACG,MAAM,GAAG,CAAC,EAAED,CAAC,EAAE,EAAE;IAC1CD,OAAO,IAAID,MAAM,CAACE,CAAC,CAAC,CAACE,KAAK,CAACC,GAAG;IAC9B,IAAI,CAACC,KAAK,CAACL,OAAO,GAAG,IAAI,EAAE,IAAI,CAAC;IAChC,IAAI,CAACT,KAAK,CAACO,aAAa,CAACG,CAAC,CAAC,CAAC;IAC5BD,OAAO,GAAG,GAAG;IAIb,IAAqC,IAAI,CAACM,QAAQ,EAAE;MAClD,MAAMD,KAAK,GAAG,IAAI,CAACC,QAAQ,CAACC,YAAY,CAACjB,IAAI,EAAE,GAAG,EAAEW,CAAC,CAAC;MACtD,IAAII,KAAK,EAAE,IAAI,CAACG,UAAU,CAACH,KAAK,CAACI,GAAG,CAACC,KAAK,CAAC;IAC7C;EACF;EACAV,OAAO,IAAID,MAAM,CAACA,MAAM,CAACG,MAAM,GAAG,CAAC,CAAC,CAACC,KAAK,CAACC,GAAG;EAC9C,IAAI,CAACC,KAAK,CAACL,OAAO,GAAG,GAAG,EAAE,IAAI,CAAC;AACjC;AAEO,SAASW,eAAeA,CAAgBrB,IAAuB,EAAE;EACtEO,cAAc,CAACe,IAAI,CAAC,IAAI,EAAEtB,IAAI,EAAEA,IAAI,CAACuB,WAAW,CAAC;AACnD","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/types.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/types.js deleted file mode 100644 index cfe96187..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/types.js +++ /dev/null @@ -1,183 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.ArgumentPlaceholder = ArgumentPlaceholder; -exports.ArrayPattern = exports.ArrayExpression = ArrayExpression; -exports.BigIntLiteral = BigIntLiteral; -exports.BooleanLiteral = BooleanLiteral; -exports.Identifier = Identifier; -exports.NullLiteral = NullLiteral; -exports.NumericLiteral = NumericLiteral; -exports.ObjectPattern = exports.ObjectExpression = ObjectExpression; -exports.ObjectMethod = ObjectMethod; -exports.ObjectProperty = ObjectProperty; -exports.PipelineBareFunction = PipelineBareFunction; -exports.PipelinePrimaryTopicReference = PipelinePrimaryTopicReference; -exports.PipelineTopicExpression = PipelineTopicExpression; -exports.RegExpLiteral = RegExpLiteral; -exports.SpreadElement = exports.RestElement = RestElement; -exports.StringLiteral = StringLiteral; -exports.TopicReference = TopicReference; -exports.VoidPattern = VoidPattern; -exports._getRawIdentifier = _getRawIdentifier; -var _t = require("@babel/types"); -var _jsesc = require("jsesc"); -var _methods = require("./methods.js"); -const { - isAssignmentPattern, - isIdentifier -} = _t; -let lastRawIdentResult = ""; -function _getRawIdentifier(node) { - const { - name - } = node; - const token = this.tokenMap.find(node, tok => tok.value === name); - if (token) { - lastRawIdentResult = this._originalCode.slice(token.start, token.end); - return lastRawIdentResult; - } - return lastRawIdentResult = node.name; -} -function Identifier(node) { - if (this._buf._map) { - var _node$loc; - this.sourceIdentifierName(((_node$loc = node.loc) == null ? void 0 : _node$loc.identifierName) || node.name); - } - this.word(this.tokenMap ? lastRawIdentResult : node.name); -} -function ArgumentPlaceholder() { - this.tokenChar(63); -} -function RestElement(node) { - this.token("..."); - this.print(node.argument); -} -function ObjectExpression(node) { - const props = node.properties; - this.tokenChar(123); - if (props.length) { - const oldNoLineTerminatorAfterNode = this.enterDelimited(); - this.space(); - this.printList(props, this.shouldPrintTrailingComma("}"), true, true, undefined, true); - this.space(); - this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode; - } - this.rightBrace(node); -} -function ObjectMethod(node) { - this.printJoin(node.decorators); - _methods._methodHead.call(this, node); - this.space(); - this.print(node.body); -} -function ObjectProperty(node) { - this.printJoin(node.decorators); - if (node.computed) { - this.tokenChar(91); - this.print(node.key); - this.tokenChar(93); - } else { - if (isAssignmentPattern(node.value) && isIdentifier(node.key) && node.key.name === node.value.left.name) { - this.print(node.value); - return; - } - this.print(node.key); - if (node.shorthand && isIdentifier(node.key) && isIdentifier(node.value) && node.key.name === node.value.name) { - return; - } - } - this.tokenChar(58); - this.space(); - this.print(node.value); -} -function ArrayExpression(node) { - const elems = node.elements; - const len = elems.length; - this.tokenChar(91); - const oldNoLineTerminatorAfterNode = this.enterDelimited(); - for (let i = 0; i < elems.length; i++) { - const elem = elems[i]; - if (elem) { - if (i > 0) this.space(); - this.print(elem, undefined, true); - if (i < len - 1 || this.shouldPrintTrailingComma("]")) { - this.tokenChar(44, i); - } - } else { - this.tokenChar(44, i); - } - } - this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode; - this.tokenChar(93); -} -function RegExpLiteral(node) { - this.word(`/${node.pattern}/${node.flags}`, false); -} -function BooleanLiteral(node) { - this.word(node.value ? "true" : "false"); -} -function NullLiteral() { - this.word("null"); -} -function NumericLiteral(node) { - const raw = this.getPossibleRaw(node); - const opts = this.format.jsescOption; - const value = node.value; - const str = value + ""; - if (opts.numbers) { - this.number(_jsesc(value, opts), value); - } else if (raw == null) { - this.number(str, value); - } else if (this.format.minified) { - this.number(raw.length < str.length ? raw : str, value); - } else { - this.number(raw, value); - } -} -function StringLiteral(node) { - const raw = this.getPossibleRaw(node); - if (!this.format.minified && raw !== undefined) { - this.token(raw); - return; - } - const val = _jsesc(node.value, this.format.jsescOption); - this.token(val); -} -function BigIntLiteral(node) { - const raw = this.getPossibleRaw(node); - if (!this.format.minified && raw !== undefined) { - this.word(raw); - return; - } - this.word(node.value + "n"); -} -const validTopicTokenSet = new Set(["^^", "@@", "^", "%", "#"]); -function TopicReference() { - const { - topicToken - } = this.format; - if (validTopicTokenSet.has(topicToken)) { - this.token(topicToken); - } else { - const givenTopicTokenJSON = JSON.stringify(topicToken); - const validTopics = Array.from(validTopicTokenSet, v => JSON.stringify(v)); - throw new Error(`The "topicToken" generator option must be one of ` + `${validTopics.join(", ")} (${givenTopicTokenJSON} received instead).`); - } -} -function PipelineTopicExpression(node) { - this.print(node.expression); -} -function PipelineBareFunction(node) { - this.print(node.callee); -} -function PipelinePrimaryTopicReference() { - this.tokenChar(35); -} -function VoidPattern() { - this.word("void"); -} - -//# sourceMappingURL=types.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/types.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/types.js.map deleted file mode 100644 index 9f27ab17..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/types.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_t","require","_jsesc","_methods","isAssignmentPattern","isIdentifier","lastRawIdentResult","_getRawIdentifier","node","name","token","tokenMap","find","tok","value","_originalCode","slice","start","end","Identifier","_buf","_map","_node$loc","sourceIdentifierName","loc","identifierName","word","ArgumentPlaceholder","RestElement","print","argument","ObjectExpression","props","properties","length","oldNoLineTerminatorAfterNode","enterDelimited","space","printList","shouldPrintTrailingComma","undefined","_noLineTerminatorAfterNode","rightBrace","ObjectMethod","printJoin","decorators","_methodHead","call","body","ObjectProperty","computed","key","left","shorthand","ArrayExpression","elems","elements","len","i","elem","tokenChar","RegExpLiteral","pattern","flags","BooleanLiteral","NullLiteral","NumericLiteral","raw","getPossibleRaw","opts","format","jsescOption","str","numbers","number","jsesc","minified","StringLiteral","val","BigIntLiteral","validTopicTokenSet","Set","TopicReference","topicToken","has","givenTopicTokenJSON","JSON","stringify","validTopics","Array","from","v","Error","join","PipelineTopicExpression","expression","PipelineBareFunction","callee","PipelinePrimaryTopicReference","VoidPattern"],"sources":["../../src/generators/types.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport { isAssignmentPattern, isIdentifier } from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nimport jsesc from \"jsesc\";\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\nimport { _methodHead } from \"./methods.ts\";\n\nlet lastRawIdentResult: string = \"\";\nexport function _getRawIdentifier(this: Printer, node: t.Identifier) {\n const { name } = node;\n const token = this.tokenMap!.find(node, tok => tok.value === name);\n if (token) {\n lastRawIdentResult = this._originalCode!.slice(token.start, token.end);\n return lastRawIdentResult;\n }\n return (lastRawIdentResult = node.name);\n}\n\nexport function Identifier(this: Printer, node: t.Identifier) {\n if (this._buf._map) {\n this.sourceIdentifierName(node.loc?.identifierName || node.name);\n }\n\n this.word(this.tokenMap ? lastRawIdentResult : node.name);\n}\n\nexport function ArgumentPlaceholder(this: Printer) {\n this.token(\"?\");\n}\n\nexport function RestElement(this: Printer, node: t.RestElement) {\n this.token(\"...\");\n this.print(node.argument);\n}\n\nexport { RestElement as SpreadElement };\n\nexport function ObjectExpression(this: Printer, node: t.ObjectExpression) {\n const props = node.properties;\n\n this.token(\"{\");\n\n if (props.length) {\n const oldNoLineTerminatorAfterNode = this.enterDelimited();\n this.space();\n this.printList(\n props,\n this.shouldPrintTrailingComma(\"}\"),\n true,\n true,\n undefined,\n true,\n );\n this.space();\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n }\n\n this.rightBrace(node);\n}\n\nexport { ObjectExpression as ObjectPattern };\n\nexport function ObjectMethod(this: Printer, node: t.ObjectMethod) {\n this.printJoin(node.decorators);\n _methodHead.call(this, node);\n this.space();\n this.print(node.body);\n}\n\nexport function ObjectProperty(this: Printer, node: t.ObjectProperty) {\n this.printJoin(node.decorators);\n\n if (node.computed) {\n this.token(\"[\");\n this.print(node.key);\n this.token(\"]\");\n } else {\n // print `({ foo: foo = 5 } = {})` as `({ foo = 5 } = {});`\n if (\n isAssignmentPattern(node.value) &&\n isIdentifier(node.key) &&\n // @ts-expect-error todo(flow->ts) `.name` does not exist on some types in union\n node.key.name === node.value.left.name\n ) {\n this.print(node.value);\n return;\n }\n\n this.print(node.key);\n\n // shorthand!\n if (\n node.shorthand &&\n isIdentifier(node.key) &&\n isIdentifier(node.value) &&\n node.key.name === node.value.name\n ) {\n return;\n }\n }\n\n this.token(\":\");\n this.space();\n this.print(node.value);\n}\n\nexport function ArrayExpression(this: Printer, node: t.ArrayExpression) {\n const elems = node.elements;\n const len = elems.length;\n\n this.token(\"[\");\n\n const oldNoLineTerminatorAfterNode = this.enterDelimited();\n\n for (let i = 0; i < elems.length; i++) {\n const elem = elems[i];\n if (elem) {\n if (i > 0) this.space();\n this.print(elem, undefined, true);\n if (i < len - 1 || this.shouldPrintTrailingComma(\"]\")) {\n this.tokenChar(charCodes.comma, i);\n }\n } else {\n // If the array expression ends with a hole, that hole\n // will be ignored by the interpreter, but if it ends with\n // two (or more) holes, we need to write out two (or more)\n // commas so that the resulting code is interpreted with\n // both (all) of the holes.\n this.tokenChar(charCodes.comma, i);\n }\n }\n\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n\n this.token(\"]\");\n}\n\nexport { ArrayExpression as ArrayPattern };\n\nexport function RegExpLiteral(this: Printer, node: t.RegExpLiteral) {\n this.word(`/${node.pattern}/${node.flags}`, false);\n}\n\nexport function BooleanLiteral(this: Printer, node: t.BooleanLiteral) {\n this.word(node.value ? \"true\" : \"false\");\n}\n\nexport function NullLiteral(this: Printer) {\n this.word(\"null\");\n}\n\nexport function NumericLiteral(this: Printer, node: t.NumericLiteral) {\n const raw = this.getPossibleRaw(node);\n const opts = this.format.jsescOption;\n const value = node.value;\n const str = value + \"\";\n if (opts.numbers) {\n this.number(jsesc(value, opts), value);\n } else if (raw == null) {\n this.number(str, value); // normalize\n } else if (this.format.minified) {\n this.number(raw.length < str.length ? raw : str, value);\n } else {\n this.number(raw, value);\n }\n}\n\nexport function StringLiteral(this: Printer, node: t.StringLiteral) {\n const raw = this.getPossibleRaw(node);\n if (!this.format.minified && raw !== undefined) {\n this.token(raw);\n return;\n }\n\n const val = jsesc(node.value, this.format.jsescOption);\n\n this.token(val);\n}\n\nexport function BigIntLiteral(this: Printer, node: t.BigIntLiteral) {\n const raw = this.getPossibleRaw(node);\n if (!this.format.minified && raw !== undefined) {\n this.word(raw);\n return;\n }\n this.word(node.value + \"n\");\n}\n\n// Hack pipe operator\nconst validTopicTokenSet = new Set([\n \"^^\",\n \"@@\",\n \"^\",\n \"%\",\n \"#\",\n]);\nexport function TopicReference(this: Printer) {\n const { topicToken } = this.format;\n\n if (validTopicTokenSet.has(topicToken)) {\n this.token(topicToken!);\n } else {\n const givenTopicTokenJSON = JSON.stringify(topicToken);\n const validTopics = Array.from(validTopicTokenSet, v => JSON.stringify(v));\n throw new Error(\n `The \"topicToken\" generator option must be one of ` +\n `${validTopics.join(\", \")} (${givenTopicTokenJSON} received instead).`,\n );\n }\n}\n\n// Smart-mix pipe operator\nexport function PipelineTopicExpression(\n this: Printer,\n node: t.PipelineTopicExpression,\n) {\n this.print(node.expression);\n}\n\nexport function PipelineBareFunction(\n this: Printer,\n node: t.PipelineBareFunction,\n) {\n this.print(node.callee);\n}\n\nexport function PipelinePrimaryTopicReference(this: Printer) {\n this.token(\"#\");\n}\n\n// discard binding\nexport function VoidPattern(this: Printer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K,WAAW,GAAGC,KAAK,CAACC,IAAI,CAACV,kBAAkB,EAAEW,CAAC,IAAIL,IAAI,CAACC,SAAS,CAACI,CAAC,CAAC,CAAC;IAC1E,MAAM,IAAIC,KAAK,CACb,mDAAmD,GACjD,GAAGJ,WAAW,CAACK,IAAI,CAAC,IAAI,CAAC,KAAKR,mBAAmB,qBACrD,CAAC;EACH;AACF;AAGO,SAASS,uBAAuBA,CAErCtF,IAA+B,EAC/B;EACA,IAAI,CAACqB,KAAK,CAACrB,IAAI,CAACuF,UAAU,CAAC;AAC7B;AAEO,SAASC,oBAAoBA,CAElCxF,IAA4B,EAC5B;EACA,IAAI,CAACqB,KAAK,CAACrB,IAAI,CAACyF,MAAM,CAAC;AACzB;AAEO,SAASC,6BAA6BA,CAAA,EAAgB;EAC3D,IAAI,CAACxF,SAAK,GAAI,CAAC;AACjB;AAGO,SAASyF,WAAWA,CAAA,EAAgB;EACzC,IAAI,CAACzE,IAAI,CAAC,MAAM,CAAC;AACnB","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/typescript.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/typescript.js deleted file mode 100644 index ca9edb8c..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/typescript.js +++ /dev/null @@ -1,726 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.TSAnyKeyword = TSAnyKeyword; -exports.TSArrayType = TSArrayType; -exports.TSAsExpression = TSAsExpression; -exports.TSBigIntKeyword = TSBigIntKeyword; -exports.TSBooleanKeyword = TSBooleanKeyword; -exports.TSCallSignatureDeclaration = TSCallSignatureDeclaration; -exports.TSInterfaceHeritage = exports.TSClassImplements = TSClassImplements; -exports.TSConditionalType = TSConditionalType; -exports.TSConstructSignatureDeclaration = TSConstructSignatureDeclaration; -exports.TSConstructorType = TSConstructorType; -exports.TSDeclareFunction = TSDeclareFunction; -exports.TSDeclareMethod = TSDeclareMethod; -exports.TSEnumBody = TSEnumBody; -exports.TSEnumDeclaration = TSEnumDeclaration; -exports.TSEnumMember = TSEnumMember; -exports.TSExportAssignment = TSExportAssignment; -exports.TSExternalModuleReference = TSExternalModuleReference; -exports.TSFunctionType = TSFunctionType; -exports.TSImportEqualsDeclaration = TSImportEqualsDeclaration; -exports.TSImportType = TSImportType; -exports.TSIndexSignature = TSIndexSignature; -exports.TSIndexedAccessType = TSIndexedAccessType; -exports.TSInferType = TSInferType; -exports.TSInstantiationExpression = TSInstantiationExpression; -exports.TSInterfaceBody = TSInterfaceBody; -exports.TSInterfaceDeclaration = TSInterfaceDeclaration; -exports.TSIntersectionType = TSIntersectionType; -exports.TSIntrinsicKeyword = TSIntrinsicKeyword; -exports.TSLiteralType = TSLiteralType; -exports.TSMappedType = TSMappedType; -exports.TSMethodSignature = TSMethodSignature; -exports.TSModuleBlock = TSModuleBlock; -exports.TSModuleDeclaration = TSModuleDeclaration; -exports.TSNamedTupleMember = TSNamedTupleMember; -exports.TSNamespaceExportDeclaration = TSNamespaceExportDeclaration; -exports.TSNeverKeyword = TSNeverKeyword; -exports.TSNonNullExpression = TSNonNullExpression; -exports.TSNullKeyword = TSNullKeyword; -exports.TSNumberKeyword = TSNumberKeyword; -exports.TSObjectKeyword = TSObjectKeyword; -exports.TSOptionalType = TSOptionalType; -exports.TSParameterProperty = TSParameterProperty; -exports.TSParenthesizedType = TSParenthesizedType; -exports.TSPropertySignature = TSPropertySignature; -exports.TSQualifiedName = TSQualifiedName; -exports.TSRestType = TSRestType; -exports.TSSatisfiesExpression = TSSatisfiesExpression; -exports.TSStringKeyword = TSStringKeyword; -exports.TSSymbolKeyword = TSSymbolKeyword; -exports.TSTemplateLiteralType = TSTemplateLiteralType; -exports.TSThisType = TSThisType; -exports.TSTupleType = TSTupleType; -exports.TSTypeAliasDeclaration = TSTypeAliasDeclaration; -exports.TSTypeAnnotation = TSTypeAnnotation; -exports.TSTypeAssertion = TSTypeAssertion; -exports.TSTypeLiteral = TSTypeLiteral; -exports.TSTypeOperator = TSTypeOperator; -exports.TSTypeParameter = TSTypeParameter; -exports.TSTypeParameterDeclaration = exports.TSTypeParameterInstantiation = TSTypeParameterInstantiation; -exports.TSTypePredicate = TSTypePredicate; -exports.TSTypeQuery = TSTypeQuery; -exports.TSTypeReference = TSTypeReference; -exports.TSUndefinedKeyword = TSUndefinedKeyword; -exports.TSUnionType = TSUnionType; -exports.TSUnknownKeyword = TSUnknownKeyword; -exports.TSVoidKeyword = TSVoidKeyword; -exports._tsPrintClassMemberModifiers = _tsPrintClassMemberModifiers; -var _methods = require("./methods.js"); -var _classes = require("./classes.js"); -var _templateLiterals = require("./template-literals.js"); -function TSTypeAnnotation(node, parent) { - this.token((parent.type === "TSFunctionType" || parent.type === "TSConstructorType") && parent.typeAnnotation === node ? "=>" : ":"); - this.space(); - if (node.optional) this.tokenChar(63); - this.print(node.typeAnnotation); -} -function TSTypeParameterInstantiation(node, parent) { - this.tokenChar(60); - let printTrailingSeparator = parent.type === "ArrowFunctionExpression" && node.params.length === 1; - if (this.tokenMap && node.start != null && node.end != null) { - printTrailingSeparator && (printTrailingSeparator = !!this.tokenMap.find(node, t => this.tokenMap.matchesOriginal(t, ","))); - printTrailingSeparator || (printTrailingSeparator = this.shouldPrintTrailingComma(">")); - } - this.printList(node.params, printTrailingSeparator); - this.tokenChar(62); -} -function TSTypeParameter(node) { - if (node.const) { - this.word("const"); - this.space(); - } - if (node.in) { - this.word("in"); - this.space(); - } - if (node.out) { - this.word("out"); - this.space(); - } - this.word(node.name); - if (node.constraint) { - this.space(); - this.word("extends"); - this.space(); - this.print(node.constraint); - } - if (node.default) { - this.space(); - this.tokenChar(61); - this.space(); - this.print(node.default); - } -} -function TSParameterProperty(node) { - if (node.accessibility) { - this.word(node.accessibility); - this.space(); - } - if (node.readonly) { - this.word("readonly"); - this.space(); - } - _methods._param.call(this, node.parameter); -} -function TSDeclareFunction(node, parent) { - if (node.declare) { - this.word("declare"); - this.space(); - } - _methods._functionHead.call(this, node, parent, false); - this.semicolon(); -} -function TSDeclareMethod(node) { - _classes._classMethodHead.call(this, node); - this.semicolon(); -} -function TSQualifiedName(node) { - this.print(node.left); - this.tokenChar(46); - this.print(node.right); -} -function TSCallSignatureDeclaration(node) { - tsPrintSignatureDeclarationBase.call(this, node); - maybePrintTrailingCommaOrSemicolon(this, node); -} -function maybePrintTrailingCommaOrSemicolon(printer, node) { - if (!printer.tokenMap || !node.start || !node.end) { - printer.semicolon(); - return; - } - if (printer.tokenMap.endMatches(node, ",")) { - printer.token(","); - } else if (printer.tokenMap.endMatches(node, ";")) { - printer.semicolon(); - } -} -function TSConstructSignatureDeclaration(node) { - this.word("new"); - this.space(); - tsPrintSignatureDeclarationBase.call(this, node); - maybePrintTrailingCommaOrSemicolon(this, node); -} -function TSPropertySignature(node) { - const { - readonly - } = node; - if (readonly) { - this.word("readonly"); - this.space(); - } - tsPrintPropertyOrMethodName.call(this, node); - this.print(node.typeAnnotation); - maybePrintTrailingCommaOrSemicolon(this, node); -} -function tsPrintPropertyOrMethodName(node) { - if (node.computed) { - this.tokenChar(91); - } - this.print(node.key); - if (node.computed) { - this.tokenChar(93); - } - if (node.optional) { - this.tokenChar(63); - } -} -function TSMethodSignature(node) { - const { - kind - } = node; - if (kind === "set" || kind === "get") { - this.word(kind); - this.space(); - } - tsPrintPropertyOrMethodName.call(this, node); - tsPrintSignatureDeclarationBase.call(this, node); - maybePrintTrailingCommaOrSemicolon(this, node); -} -function TSIndexSignature(node) { - const { - readonly, - static: isStatic - } = node; - if (isStatic) { - this.word("static"); - this.space(); - } - if (readonly) { - this.word("readonly"); - this.space(); - } - this.tokenChar(91); - _methods._parameters.call(this, node.parameters, 93); - this.print(node.typeAnnotation); - maybePrintTrailingCommaOrSemicolon(this, node); -} -function TSAnyKeyword() { - this.word("any"); -} -function TSBigIntKeyword() { - this.word("bigint"); -} -function TSUnknownKeyword() { - this.word("unknown"); -} -function TSNumberKeyword() { - this.word("number"); -} -function TSObjectKeyword() { - this.word("object"); -} -function TSBooleanKeyword() { - this.word("boolean"); -} -function TSStringKeyword() { - this.word("string"); -} -function TSSymbolKeyword() { - this.word("symbol"); -} -function TSVoidKeyword() { - this.word("void"); -} -function TSUndefinedKeyword() { - this.word("undefined"); -} -function TSNullKeyword() { - this.word("null"); -} -function TSNeverKeyword() { - this.word("never"); -} -function TSIntrinsicKeyword() { - this.word("intrinsic"); -} -function TSThisType() { - this.word("this"); -} -function TSFunctionType(node) { - tsPrintFunctionOrConstructorType.call(this, node); -} -function TSConstructorType(node) { - if (node.abstract) { - this.word("abstract"); - this.space(); - } - this.word("new"); - this.space(); - tsPrintFunctionOrConstructorType.call(this, node); -} -function tsPrintFunctionOrConstructorType(node) { - const { - typeParameters - } = node; - const parameters = node.parameters; - this.print(typeParameters); - this.tokenChar(40); - _methods._parameters.call(this, parameters, 41); - this.space(); - const returnType = node.typeAnnotation; - this.print(returnType); -} -function TSTypeReference(node) { - const typeArguments = node.typeParameters; - this.print(node.typeName, !!typeArguments); - this.print(typeArguments); -} -function TSTypePredicate(node) { - if (node.asserts) { - this.word("asserts"); - this.space(); - } - this.print(node.parameterName); - if (node.typeAnnotation) { - this.space(); - this.word("is"); - this.space(); - this.print(node.typeAnnotation.typeAnnotation); - } -} -function TSTypeQuery(node) { - this.word("typeof"); - this.space(); - this.print(node.exprName); - const typeArguments = node.typeParameters; - if (typeArguments) { - this.print(typeArguments); - } -} -function TSTypeLiteral(node) { - printBraced(this, node, () => this.printJoin(node.members, true, true, undefined, undefined, true)); -} -function TSArrayType(node) { - this.print(node.elementType, true); - this.tokenChar(91); - this.tokenChar(93); -} -function TSTupleType(node) { - this.tokenChar(91); - this.printList(node.elementTypes, this.shouldPrintTrailingComma("]")); - this.tokenChar(93); -} -function TSOptionalType(node) { - this.print(node.typeAnnotation); - this.tokenChar(63); -} -function TSRestType(node) { - this.token("..."); - this.print(node.typeAnnotation); -} -function TSNamedTupleMember(node) { - this.print(node.label); - if (node.optional) this.tokenChar(63); - this.tokenChar(58); - this.space(); - this.print(node.elementType); -} -function TSUnionType(node) { - tsPrintUnionOrIntersectionType(this, node, "|"); -} -function TSIntersectionType(node) { - tsPrintUnionOrIntersectionType(this, node, "&"); -} -function tsPrintUnionOrIntersectionType(printer, node, sep) { - var _printer$tokenMap; - let hasLeadingToken = 0; - if ((_printer$tokenMap = printer.tokenMap) != null && _printer$tokenMap.startMatches(node, sep)) { - hasLeadingToken = 1; - printer.token(sep); - } - printer.printJoin(node.types, undefined, undefined, function (i) { - this.space(); - this.token(sep, undefined, i + hasLeadingToken); - this.space(); - }); -} -function TSConditionalType(node) { - this.print(node.checkType); - this.space(); - this.word("extends"); - this.space(); - this.print(node.extendsType); - this.space(); - this.tokenChar(63); - this.space(); - this.print(node.trueType); - this.space(); - this.tokenChar(58); - this.space(); - this.print(node.falseType); -} -function TSInferType(node) { - this.word("infer"); - this.print(node.typeParameter); -} -function TSParenthesizedType(node) { - this.tokenChar(40); - this.print(node.typeAnnotation); - this.tokenChar(41); -} -function TSTypeOperator(node) { - this.word(node.operator); - this.space(); - this.print(node.typeAnnotation); -} -function TSIndexedAccessType(node) { - this.print(node.objectType, true); - this.tokenChar(91); - this.print(node.indexType); - this.tokenChar(93); -} -function TSMappedType(node) { - const { - nameType, - optional, - readonly, - typeAnnotation - } = node; - this.tokenChar(123); - const oldNoLineTerminatorAfterNode = this.enterDelimited(); - this.space(); - if (readonly) { - tokenIfPlusMinus(this, readonly); - this.word("readonly"); - this.space(); - } - this.tokenChar(91); - this.word(node.typeParameter.name); - this.space(); - this.word("in"); - this.space(); - this.print(node.typeParameter.constraint, undefined, true); - if (nameType) { - this.space(); - this.word("as"); - this.space(); - this.print(nameType, undefined, true); - } - this.tokenChar(93); - if (optional) { - tokenIfPlusMinus(this, optional); - this.tokenChar(63); - } - if (typeAnnotation) { - this.tokenChar(58); - this.space(); - this.print(typeAnnotation, undefined, true); - } - this.space(); - this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode; - this.tokenChar(125); -} -function tokenIfPlusMinus(self, tok) { - if (tok !== true) { - self.token(tok); - } -} -function TSTemplateLiteralType(node) { - _templateLiterals._printTemplate.call(this, node, node.types); -} -function TSLiteralType(node) { - this.print(node.literal); -} -function TSClassImplements(node) { - this.print(node.expression); - this.print(node.typeArguments); -} -function TSInterfaceDeclaration(node) { - const { - declare, - id, - typeParameters, - extends: extendz, - body - } = node; - if (declare) { - this.word("declare"); - this.space(); - } - this.word("interface"); - this.space(); - this.print(id); - this.print(typeParameters); - if (extendz != null && extendz.length) { - this.space(); - this.word("extends"); - this.space(); - this.printList(extendz); - } - this.space(); - this.print(body); -} -function TSInterfaceBody(node) { - printBraced(this, node, () => this.printJoin(node.body, true, true, undefined, undefined, true)); -} -function TSTypeAliasDeclaration(node) { - const { - declare, - id, - typeParameters, - typeAnnotation - } = node; - if (declare) { - this.word("declare"); - this.space(); - } - this.word("type"); - this.space(); - this.print(id); - this.print(typeParameters); - this.space(); - this.tokenChar(61); - this.space(); - this.print(typeAnnotation); - this.semicolon(); -} -function TSAsExpression(node) { - const { - expression, - typeAnnotation - } = node; - this.print(expression, true); - this.space(); - this.word("as"); - this.space(); - this.print(typeAnnotation); -} -function TSSatisfiesExpression(node) { - const { - expression, - typeAnnotation - } = node; - this.print(expression, true); - this.space(); - this.word("satisfies"); - this.space(); - this.print(typeAnnotation); -} -function TSTypeAssertion(node) { - const { - typeAnnotation, - expression - } = node; - this.tokenChar(60); - this.print(typeAnnotation); - this.tokenChar(62); - this.space(); - this.print(expression); -} -function TSInstantiationExpression(node) { - this.print(node.expression); - this.print(node.typeParameters); -} -function TSEnumDeclaration(node) { - const { - declare, - const: isConst, - id - } = node; - if (declare) { - this.word("declare"); - this.space(); - } - if (isConst) { - this.word("const"); - this.space(); - } - this.word("enum"); - this.space(); - this.print(id); - this.space(); - TSEnumBody.call(this, node); -} -function TSEnumBody(node) { - printBraced(this, node, () => { - var _this$shouldPrintTrai; - return this.printList(node.members, (_this$shouldPrintTrai = this.shouldPrintTrailingComma("}")) != null ? _this$shouldPrintTrai : true, true, true, undefined, true); - }); -} -function TSEnumMember(node) { - const { - id, - initializer - } = node; - this.print(id); - if (initializer) { - this.space(); - this.tokenChar(61); - this.space(); - this.print(initializer); - } -} -function TSModuleDeclaration(node) { - const { - declare, - id, - kind - } = node; - if (declare) { - this.word("declare"); - this.space(); - } - if (!node.global) { - this.word(kind != null ? kind : id.type === "Identifier" ? "namespace" : "module"); - this.space(); - } - this.print(id); - if (!node.body) { - this.semicolon(); - return; - } - let body = node.body; - while (body.type === "TSModuleDeclaration") { - this.tokenChar(46); - this.print(body.id); - body = body.body; - } - this.space(); - this.print(body); -} -function TSModuleBlock(node) { - printBraced(this, node, () => this.printSequence(node.body, true, true)); -} -function TSImportType(node) { - const { - qualifier, - options - } = node; - this.word("import"); - this.tokenChar(40); - this.print(node.argument); - if (options) { - this.tokenChar(44); - this.print(options); - } - this.tokenChar(41); - if (qualifier) { - this.tokenChar(46); - this.print(qualifier); - } - const typeArguments = node.typeParameters; - if (typeArguments) { - this.print(typeArguments); - } -} -function TSImportEqualsDeclaration(node) { - const { - id, - moduleReference - } = node; - if (node.isExport) { - this.word("export"); - this.space(); - } - this.word("import"); - this.space(); - this.print(id); - this.space(); - this.tokenChar(61); - this.space(); - this.print(moduleReference); - this.semicolon(); -} -function TSExternalModuleReference(node) { - this.token("require("); - this.print(node.expression); - this.tokenChar(41); -} -function TSNonNullExpression(node) { - this.print(node.expression); - this.tokenChar(33); - this.setLastChar(33); -} -function TSExportAssignment(node) { - this.word("export"); - this.space(); - this.tokenChar(61); - this.space(); - this.print(node.expression); - this.semicolon(); -} -function TSNamespaceExportDeclaration(node) { - this.word("export"); - this.space(); - this.word("as"); - this.space(); - this.word("namespace"); - this.space(); - this.print(node.id); - this.semicolon(); -} -function tsPrintSignatureDeclarationBase(node) { - const { - typeParameters - } = node; - const parameters = node.parameters; - this.print(typeParameters); - this.tokenChar(40); - _methods._parameters.call(this, parameters, 41); - const returnType = node.typeAnnotation; - this.print(returnType); -} -function _tsPrintClassMemberModifiers(node) { - const isPrivateField = node.type === "ClassPrivateProperty"; - const isPublicField = node.type === "ClassAccessorProperty" || node.type === "ClassProperty"; - printModifiersList(this, node, [isPublicField && node.declare && "declare", !isPrivateField && node.accessibility]); - if (node.static) { - this.word("static"); - this.space(); - } - printModifiersList(this, node, [!isPrivateField && node.abstract && "abstract", !isPrivateField && node.override && "override", (isPublicField || isPrivateField) && node.readonly && "readonly"]); -} -function printBraced(printer, node, cb) { - printer.token("{"); - const oldNoLineTerminatorAfterNode = printer.enterDelimited(); - cb(); - printer._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode; - printer.rightBrace(node); -} -function printModifiersList(printer, node, modifiers) { - var _printer$tokenMap2; - const modifiersSet = new Set(); - for (const modifier of modifiers) { - if (modifier) modifiersSet.add(modifier); - } - (_printer$tokenMap2 = printer.tokenMap) == null || _printer$tokenMap2.find(node, tok => { - if (modifiersSet.has(tok.value)) { - printer.token(tok.value); - printer.space(); - modifiersSet.delete(tok.value); - return modifiersSet.size === 0; - } - return false; - }); - for (const modifier of modifiersSet) { - printer.word(modifier); - printer.space(); - } -} - -//# sourceMappingURL=typescript.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/typescript.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/typescript.js.map deleted file mode 100644 index 5e9bd153..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/generators/typescript.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_methods","require","_classes","_templateLiterals","TSTypeAnnotation","node","parent","token","type","typeAnnotation","space","optional","print","TSTypeParameterInstantiation","printTrailingSeparator","params","length","tokenMap","start","end","find","t","matchesOriginal","shouldPrintTrailingComma","printList","TSTypeParameter","const","word","in","out","name","constraint","default","TSParameterProperty","accessibility","readonly","_param","call","parameter","TSDeclareFunction","declare","_functionHead","semicolon","TSDeclareMethod","_classMethodHead","TSQualifiedName","left","right","TSCallSignatureDeclaration","tsPrintSignatureDeclarationBase","maybePrintTrailingCommaOrSemicolon","printer","endMatches","TSConstructSignatureDeclaration","TSPropertySignature","tsPrintPropertyOrMethodName","computed","key","TSMethodSignature","kind","TSIndexSignature","static","isStatic","_parameters","parameters","TSAnyKeyword","TSBigIntKeyword","TSUnknownKeyword","TSNumberKeyword","TSObjectKeyword","TSBooleanKeyword","TSStringKeyword","TSSymbolKeyword","TSVoidKeyword","TSUndefinedKeyword","TSNullKeyword","TSNeverKeyword","TSIntrinsicKeyword","TSThisType","TSFunctionType","tsPrintFunctionOrConstructorType","TSConstructorType","abstract","typeParameters","returnType","TSTypeReference","typeArguments","typeName","TSTypePredicate","asserts","parameterName","TSTypeQuery","exprName","TSTypeLiteral","printBraced","printJoin","members","undefined","TSArrayType","elementType","TSTupleType","elementTypes","TSOptionalType","TSRestType","TSNamedTupleMember","label","TSUnionType","tsPrintUnionOrIntersectionType","TSIntersectionType","sep","_printer$tokenMap","hasLeadingToken","startMatches","types","i","TSConditionalType","checkType","extendsType","trueType","falseType","TSInferType","typeParameter","TSParenthesizedType","TSTypeOperator","operator","TSIndexedAccessType","objectType","indexType","TSMappedType","nameType","oldNoLineTerminatorAfterNode","enterDelimited","tokenIfPlusMinus","_noLineTerminatorAfterNode","self","tok","TSTemplateLiteralType","_printTemplate","TSLiteralType","literal","TSClassImplements","expression","TSInterfaceDeclaration","id","extends","extendz","body","TSInterfaceBody","TSTypeAliasDeclaration","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSInstantiationExpression","TSEnumDeclaration","isConst","TSEnumBody","_this$shouldPrintTrai","TSEnumMember","initializer","TSModuleDeclaration","global","TSModuleBlock","printSequence","TSImportType","qualifier","options","argument","TSImportEqualsDeclaration","moduleReference","isExport","TSExternalModuleReference","TSNonNullExpression","setLastChar","TSExportAssignment","TSNamespaceExportDeclaration","_tsPrintClassMemberModifiers","isPrivateField","isPublicField","printModifiersList","override","cb","rightBrace","modifiers","_printer$tokenMap2","modifiersSet","Set","modifier","add","has","value","delete","size"],"sources":["../../src/generators/typescript.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport type * as t from \"@babel/types\";\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\nimport { _functionHead, _param, _parameters } from \"./methods.ts\";\nimport { _classMethodHead } from \"./classes.ts\";\nimport { _printTemplate } from \"./template-literals.ts\";\n\nexport function TSTypeAnnotation(\n this: Printer,\n node: t.TSTypeAnnotation,\n parent: t.Node,\n) {\n // TODO(@nicolo-ribaudo): investigate not including => in the range\n // of the return type of an arrow function type\n this.token(\n (parent.type === \"TSFunctionType\" || parent.type === \"TSConstructorType\") &&\n (process.env.BABEL_8_BREAKING\n ? // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST shape\n parent.returnType\n : // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST shape\n parent.typeAnnotation) === node\n ? \"=>\"\n : \":\",\n );\n this.space();\n // @ts-expect-error todo(flow->ts) can this be removed? `.optional` looks to be not existing property\n if (node.optional) this.token(\"?\");\n this.print(node.typeAnnotation);\n}\n\nexport function TSTypeParameterInstantiation(\n this: Printer,\n node: t.TSTypeParameterInstantiation,\n parent: t.Node,\n): void {\n this.token(\"<\");\n\n let printTrailingSeparator: boolean | null =\n parent.type === \"ArrowFunctionExpression\" && node.params.length === 1;\n if (this.tokenMap && node.start != null && node.end != null) {\n // Only force the trailing comma for pre-existing nodes if they\n // already had a comma (either because they were multi-param, or\n // because they had a trailing comma)\n printTrailingSeparator &&= !!this.tokenMap.find(node, t =>\n this.tokenMap!.matchesOriginal(t, \",\"),\n );\n // Preserve the trailing comma if it was there before\n printTrailingSeparator ||= this.shouldPrintTrailingComma(\">\");\n }\n\n this.printList(node.params, printTrailingSeparator);\n this.token(\">\");\n}\n\nexport { TSTypeParameterInstantiation as TSTypeParameterDeclaration };\n\nexport function TSTypeParameter(this: Printer, node: t.TSTypeParameter) {\n if (node.const) {\n this.word(\"const\");\n this.space();\n }\n\n if (node.in) {\n this.word(\"in\");\n this.space();\n }\n\n if (node.out) {\n this.word(\"out\");\n this.space();\n }\n\n this.word(\n !process.env.BABEL_8_BREAKING\n ? (node.name as unknown as string)\n : (node.name as unknown as t.Identifier).name,\n );\n\n if (node.constraint) {\n this.space();\n this.word(\"extends\");\n this.space();\n this.print(node.constraint);\n }\n\n if (node.default) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.default);\n }\n}\n\nexport function TSParameterProperty(\n this: Printer,\n node: t.TSParameterProperty,\n) {\n if (node.accessibility) {\n this.word(node.accessibility);\n this.space();\n }\n\n if (node.readonly) {\n this.word(\"readonly\");\n this.space();\n }\n\n _param.call(this, node.parameter);\n}\n\nexport function TSDeclareFunction(\n this: Printer,\n node: t.TSDeclareFunction,\n parent: t.ParentMaps[\"TSDeclareFunction\"],\n) {\n if (node.declare) {\n this.word(\"declare\");\n this.space();\n }\n _functionHead.call(this, node, parent, false);\n this.semicolon();\n}\n\nexport function TSDeclareMethod(this: Printer, node: t.TSDeclareMethod) {\n _classMethodHead.call(this, node);\n this.semicolon();\n}\n\nexport function TSQualifiedName(this: Printer, node: t.TSQualifiedName) {\n this.print(node.left);\n this.token(\".\");\n this.print(node.right);\n}\n\nexport function TSCallSignatureDeclaration(\n this: Printer,\n node: t.TSCallSignatureDeclaration,\n) {\n tsPrintSignatureDeclarationBase.call(this, node);\n maybePrintTrailingCommaOrSemicolon(this, node);\n}\n\nfunction maybePrintTrailingCommaOrSemicolon(printer: Printer, node: t.Node) {\n if (!printer.tokenMap || !node.start || !node.end) {\n printer.semicolon();\n return;\n }\n\n if (printer.tokenMap.endMatches(node, \",\")) {\n printer.token(\",\");\n } else if (printer.tokenMap.endMatches(node, \";\")) {\n printer.semicolon();\n }\n}\n\nexport function TSConstructSignatureDeclaration(\n this: Printer,\n node: t.TSConstructSignatureDeclaration,\n) {\n this.word(\"new\");\n this.space();\n tsPrintSignatureDeclarationBase.call(this, node);\n maybePrintTrailingCommaOrSemicolon(this, node);\n}\n\nexport function TSPropertySignature(\n this: Printer,\n node: t.TSPropertySignature,\n) {\n const { readonly } = node;\n if (readonly) {\n this.word(\"readonly\");\n this.space();\n }\n tsPrintPropertyOrMethodName.call(this, node);\n this.print(node.typeAnnotation);\n maybePrintTrailingCommaOrSemicolon(this, node);\n}\n\nfunction tsPrintPropertyOrMethodName(\n this: Printer,\n node: t.TSPropertySignature | t.TSMethodSignature,\n) {\n if (node.computed) {\n this.token(\"[\");\n }\n this.print(node.key);\n if (node.computed) {\n this.token(\"]\");\n }\n if (node.optional) {\n this.token(\"?\");\n }\n}\n\nexport function TSMethodSignature(this: Printer, node: t.TSMethodSignature) {\n const { kind } = node;\n if (kind === \"set\" || kind === \"get\") {\n this.word(kind);\n this.space();\n }\n tsPrintPropertyOrMethodName.call(this, node);\n tsPrintSignatureDeclarationBase.call(this, node);\n maybePrintTrailingCommaOrSemicolon(this, node);\n}\n\nexport function TSIndexSignature(this: Printer, node: t.TSIndexSignature) {\n const { readonly, static: isStatic } = node;\n if (isStatic) {\n this.word(\"static\");\n this.space();\n }\n if (readonly) {\n this.word(\"readonly\");\n this.space();\n }\n this.token(\"[\");\n _parameters.call(this, node.parameters, charCodes.rightSquareBracket);\n this.print(node.typeAnnotation);\n maybePrintTrailingCommaOrSemicolon(this, node);\n}\n\nexport function TSAnyKeyword(this: Printer) {\n this.word(\"any\");\n}\nexport function TSBigIntKeyword(this: Printer) {\n this.word(\"bigint\");\n}\nexport function TSUnknownKeyword(this: Printer) {\n this.word(\"unknown\");\n}\nexport function TSNumberKeyword(this: Printer) {\n this.word(\"number\");\n}\nexport function TSObjectKeyword(this: Printer) {\n this.word(\"object\");\n}\nexport function TSBooleanKeyword(this: Printer) {\n this.word(\"boolean\");\n}\nexport function TSStringKeyword(this: Printer) {\n this.word(\"string\");\n}\nexport function TSSymbolKeyword(this: Printer) {\n this.word(\"symbol\");\n}\nexport function TSVoidKeyword(this: Printer) {\n this.word(\"void\");\n}\nexport function TSUndefinedKeyword(this: Printer) {\n this.word(\"undefined\");\n}\nexport function TSNullKeyword(this: Printer) {\n this.word(\"null\");\n}\nexport function TSNeverKeyword(this: Printer) {\n this.word(\"never\");\n}\nexport function TSIntrinsicKeyword(this: Printer) {\n this.word(\"intrinsic\");\n}\n\nexport function TSThisType(this: Printer) {\n this.word(\"this\");\n}\n\nexport function TSFunctionType(this: Printer, node: t.TSFunctionType) {\n tsPrintFunctionOrConstructorType.call(this, node);\n}\n\nexport function TSConstructorType(this: Printer, node: t.TSConstructorType) {\n if (node.abstract) {\n this.word(\"abstract\");\n this.space();\n }\n this.word(\"new\");\n this.space();\n tsPrintFunctionOrConstructorType.call(this, node);\n}\n\nfunction tsPrintFunctionOrConstructorType(\n this: Printer,\n node: t.TSFunctionType | t.TSConstructorType,\n) {\n const { typeParameters } = node;\n const parameters = process.env.BABEL_8_BREAKING\n ? // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST shape\n node.params\n : // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST shape\n node.parameters;\n this.print(typeParameters);\n this.token(\"(\");\n _parameters.call(this, parameters, charCodes.rightParenthesis);\n this.space();\n const returnType = process.env.BABEL_8_BREAKING\n ? // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST shape\n node.returnType\n : // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST shape\n node.typeAnnotation;\n this.print(returnType);\n}\n\nexport function TSTypeReference(this: Printer, node: t.TSTypeReference) {\n const typeArguments = process.env.BABEL_8_BREAKING\n ? // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST shape\n node.typeArguments\n : // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST shape\n node.typeParameters;\n this.print(node.typeName, !!typeArguments);\n this.print(typeArguments);\n}\n\nexport function TSTypePredicate(this: Printer, node: t.TSTypePredicate) {\n if (node.asserts) {\n this.word(\"asserts\");\n this.space();\n }\n this.print(node.parameterName);\n if (node.typeAnnotation) {\n this.space();\n this.word(\"is\");\n this.space();\n this.print(node.typeAnnotation.typeAnnotation);\n }\n}\n\nexport function TSTypeQuery(this: Printer, node: t.TSTypeQuery) {\n this.word(\"typeof\");\n this.space();\n this.print(node.exprName);\n\n const typeArguments = process.env.BABEL_8_BREAKING\n ? //@ts-ignore(Babel 7 vs Babel 8) Babel 8 AST\n node.typeArguments\n : //@ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n node.typeParameters;\n if (typeArguments) {\n this.print(typeArguments);\n }\n}\n\nexport function TSTypeLiteral(this: Printer, node: t.TSTypeLiteral) {\n printBraced(this, node, () =>\n this.printJoin(node.members, true, true, undefined, undefined, true),\n );\n}\n\nexport function TSArrayType(this: Printer, node: t.TSArrayType) {\n this.print(node.elementType, true);\n\n this.token(\"[\");\n this.token(\"]\");\n}\n\nexport function TSTupleType(this: Printer, node: t.TSTupleType) {\n this.token(\"[\");\n this.printList(node.elementTypes, this.shouldPrintTrailingComma(\"]\"));\n this.token(\"]\");\n}\n\nexport function TSOptionalType(this: Printer, node: t.TSOptionalType) {\n this.print(node.typeAnnotation);\n this.token(\"?\");\n}\n\nexport function TSRestType(this: Printer, node: t.TSRestType) {\n this.token(\"...\");\n this.print(node.typeAnnotation);\n}\n\nexport function TSNamedTupleMember(this: Printer, node: t.TSNamedTupleMember) {\n this.print(node.label);\n if (node.optional) this.token(\"?\");\n this.token(\":\");\n this.space();\n this.print(node.elementType);\n}\n\nexport function TSUnionType(this: Printer, node: t.TSUnionType) {\n tsPrintUnionOrIntersectionType(this, node, \"|\");\n}\n\nexport function TSIntersectionType(this: Printer, node: t.TSIntersectionType) {\n tsPrintUnionOrIntersectionType(this, node, \"&\");\n}\n\nfunction tsPrintUnionOrIntersectionType(\n printer: Printer,\n node: t.TSUnionType | t.TSIntersectionType,\n sep: \"|\" | \"&\",\n) {\n let hasLeadingToken = 0;\n if (printer.tokenMap?.startMatches(node, sep)) {\n hasLeadingToken = 1;\n printer.token(sep);\n }\n\n printer.printJoin(node.types, undefined, undefined, function (i) {\n this.space();\n this.token(sep, undefined, i + hasLeadingToken);\n this.space();\n });\n}\n\nexport function TSConditionalType(this: Printer, node: t.TSConditionalType) {\n this.print(node.checkType);\n this.space();\n this.word(\"extends\");\n this.space();\n this.print(node.extendsType);\n this.space();\n this.token(\"?\");\n this.space();\n this.print(node.trueType);\n this.space();\n this.token(\":\");\n this.space();\n this.print(node.falseType);\n}\n\nexport function TSInferType(this: Printer, node: t.TSInferType) {\n this.word(\"infer\");\n this.print(node.typeParameter);\n}\n\nexport function TSParenthesizedType(\n this: Printer,\n node: t.TSParenthesizedType,\n) {\n this.token(\"(\");\n this.print(node.typeAnnotation);\n this.token(\")\");\n}\n\nexport function TSTypeOperator(this: Printer, node: t.TSTypeOperator) {\n this.word(node.operator);\n this.space();\n this.print(node.typeAnnotation);\n}\n\nexport function TSIndexedAccessType(\n this: Printer,\n node: t.TSIndexedAccessType,\n) {\n this.print(node.objectType, true);\n this.token(\"[\");\n this.print(node.indexType);\n this.token(\"]\");\n}\n\nexport function TSMappedType(this: Printer, node: t.TSMappedType) {\n const { nameType, optional, readonly, typeAnnotation } = node;\n this.token(\"{\");\n const oldNoLineTerminatorAfterNode = this.enterDelimited();\n this.space();\n if (readonly) {\n tokenIfPlusMinus(this, readonly);\n this.word(\"readonly\");\n this.space();\n }\n\n this.token(\"[\");\n if (process.env.BABEL_8_BREAKING) {\n // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST shape\n this.word(node.key.name);\n } else {\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST shape\n this.word(node.typeParameter.name);\n }\n\n this.space();\n this.word(\"in\");\n this.space();\n if (process.env.BABEL_8_BREAKING) {\n // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST shape\n this.print(node.constraint, undefined, true);\n } else {\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST shape\n this.print(node.typeParameter.constraint, undefined, true);\n }\n\n if (nameType) {\n this.space();\n this.word(\"as\");\n this.space();\n this.print(nameType, undefined, true);\n }\n\n this.token(\"]\");\n\n if (optional) {\n tokenIfPlusMinus(this, optional);\n this.token(\"?\");\n }\n\n if (typeAnnotation) {\n this.token(\":\");\n this.space();\n this.print(typeAnnotation, undefined, true);\n }\n this.space();\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n this.token(\"}\");\n}\n\nfunction tokenIfPlusMinus(self: Printer, tok: true | \"+\" | \"-\") {\n if (tok !== true) {\n self.token(tok);\n }\n}\n\nexport function TSTemplateLiteralType(\n this: Printer,\n node: t.TSTemplateLiteralType,\n) {\n _printTemplate.call(this, node, node.types);\n}\n\nexport function TSLiteralType(this: Printer, node: t.TSLiteralType) {\n this.print(node.literal);\n}\n\nexport function TSClassImplements(\n this: Printer,\n // TODO(Babel 8): Just use t.TSClassImplements\n node: t.Node & {\n expression: t.TSEntityName;\n typeArguments?: t.TSTypeParameterInstantiation;\n },\n) {\n this.print(node.expression);\n this.print(node.typeArguments);\n}\n\nexport { TSClassImplements as TSInterfaceHeritage };\n\nexport function TSInterfaceDeclaration(\n this: Printer,\n node: t.TSInterfaceDeclaration,\n) {\n const { declare, id, typeParameters, extends: extendz, body } = node;\n if (declare) {\n this.word(\"declare\");\n this.space();\n }\n this.word(\"interface\");\n this.space();\n this.print(id);\n this.print(typeParameters);\n if (extendz?.length) {\n this.space();\n this.word(\"extends\");\n this.space();\n this.printList(extendz);\n }\n this.space();\n this.print(body);\n}\n\nexport function TSInterfaceBody(this: Printer, node: t.TSInterfaceBody) {\n printBraced(this, node, () =>\n this.printJoin(node.body, true, true, undefined, undefined, true),\n );\n}\n\nexport function TSTypeAliasDeclaration(\n this: Printer,\n node: t.TSTypeAliasDeclaration,\n) {\n const { declare, id, typeParameters, typeAnnotation } = node;\n if (declare) {\n this.word(\"declare\");\n this.space();\n }\n this.word(\"type\");\n this.space();\n this.print(id);\n this.print(typeParameters);\n this.space();\n this.token(\"=\");\n this.space();\n this.print(typeAnnotation);\n this.semicolon();\n}\n\nexport function TSAsExpression(this: Printer, node: t.TSAsExpression) {\n const { expression, typeAnnotation } = node;\n this.print(expression, true);\n this.space();\n this.word(\"as\");\n this.space();\n this.print(typeAnnotation);\n}\n\nexport function TSSatisfiesExpression(\n this: Printer,\n node: t.TSSatisfiesExpression,\n) {\n const { expression, typeAnnotation } = node;\n this.print(expression, true);\n this.space();\n this.word(\"satisfies\");\n this.space();\n this.print(typeAnnotation);\n}\n\nexport function TSTypeAssertion(this: Printer, node: t.TSTypeAssertion) {\n const { typeAnnotation, expression } = node;\n this.token(\"<\");\n this.print(typeAnnotation);\n this.token(\">\");\n this.space();\n this.print(expression);\n}\n\nexport function TSInstantiationExpression(\n this: Printer,\n node: t.TSInstantiationExpression,\n) {\n this.print(node.expression);\n if (process.env.BABEL_8_BREAKING) {\n // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST\n this.print(node.typeArguments);\n } else {\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n this.print(node.typeParameters);\n }\n}\n\nexport function TSEnumDeclaration(this: Printer, node: t.TSEnumDeclaration) {\n const { declare, const: isConst, id } = node;\n if (declare) {\n this.word(\"declare\");\n this.space();\n }\n if (isConst) {\n this.word(\"const\");\n this.space();\n }\n this.word(\"enum\");\n this.space();\n this.print(id);\n this.space();\n\n if (process.env.BABEL_8_BREAKING) {\n // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST\n this.print(node.body);\n } else {\n // cast to TSEnumBody for Babel 7 AST\n TSEnumBody.call(this, node as unknown as t.TSEnumBody);\n }\n}\n\nexport function TSEnumBody(this: Printer, node: t.TSEnumBody) {\n printBraced(this, node, () =>\n this.printList(\n node.members,\n this.shouldPrintTrailingComma(\"}\") ??\n (process.env.BABEL_8_BREAKING ? false : true),\n true,\n true,\n undefined,\n true,\n ),\n );\n}\n\nexport function TSEnumMember(this: Printer, node: t.TSEnumMember) {\n const { id, initializer } = node;\n this.print(id);\n if (initializer) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(initializer);\n }\n}\n\nexport function TSModuleDeclaration(\n this: Printer,\n node: t.TSModuleDeclaration,\n) {\n const { declare, id, kind } = node;\n\n if (declare) {\n this.word(\"declare\");\n this.space();\n }\n\n if (process.env.BABEL_8_BREAKING) {\n if (kind !== \"global\") {\n this.word(kind);\n this.space();\n }\n\n this.print(node.id);\n if (!node.body) {\n this.semicolon();\n return;\n }\n this.space();\n this.print(node.body);\n } else {\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST shape\n if (!node.global) {\n this.word(kind ?? (id.type === \"Identifier\" ? \"namespace\" : \"module\"));\n this.space();\n }\n\n this.print(id);\n\n if (!node.body) {\n this.semicolon();\n return;\n }\n\n let body = node.body;\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST shape\n while (body.type === \"TSModuleDeclaration\") {\n this.token(\".\");\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST shape\n this.print(body.id);\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST shape\n body = body.body;\n }\n\n this.space();\n this.print(body);\n }\n}\n\nexport function TSModuleBlock(this: Printer, node: t.TSModuleBlock) {\n printBraced(this, node, () => this.printSequence(node.body, true, true));\n}\n\nexport function TSImportType(this: Printer, node: t.TSImportType) {\n const { qualifier, options } = node;\n this.word(\"import\");\n this.token(\"(\");\n this.print(\n //@ts-ignore(Babel 7 vs Babel 8) Babel 8 AST\n process.env.BABEL_8_BREAKING ? node.source : node.argument,\n );\n if (options) {\n this.token(\",\");\n this.print(options);\n }\n this.token(\")\");\n if (qualifier) {\n this.token(\".\");\n this.print(qualifier);\n }\n const typeArguments = process.env.BABEL_8_BREAKING\n ? //@ts-ignore(Babel 7 vs Babel 8) Babel 8 AST\n node.typeArguments\n : //@ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n node.typeParameters;\n if (typeArguments) {\n this.print(typeArguments);\n }\n}\n\nexport function TSImportEqualsDeclaration(\n this: Printer,\n node: t.TSImportEqualsDeclaration,\n) {\n const { id, moduleReference } = node;\n if (\n !process.env.BABEL_8_BREAKING &&\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n node.isExport\n ) {\n this.word(\"export\");\n this.space();\n }\n this.word(\"import\");\n this.space();\n this.print(id);\n this.space();\n this.token(\"=\");\n this.space();\n this.print(moduleReference);\n this.semicolon();\n}\n\nexport function TSExternalModuleReference(\n this: Printer,\n node: t.TSExternalModuleReference,\n) {\n this.token(\"require(\");\n this.print(node.expression);\n this.token(\")\");\n}\n\nexport function TSNonNullExpression(\n this: Printer,\n node: t.TSNonNullExpression,\n) {\n this.print(node.expression);\n this.token(\"!\");\n this.setLastChar(charCodes.exclamationMark);\n}\n\nexport function TSExportAssignment(this: Printer, node: t.TSExportAssignment) {\n this.word(\"export\");\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.expression);\n this.semicolon();\n}\n\nexport function TSNamespaceExportDeclaration(\n this: Printer,\n node: t.TSNamespaceExportDeclaration,\n) {\n this.word(\"export\");\n this.space();\n this.word(\"as\");\n this.space();\n this.word(\"namespace\");\n this.space();\n this.print(node.id);\n this.semicolon();\n}\n\nfunction tsPrintSignatureDeclarationBase(this: Printer, node: any) {\n const { typeParameters } = node;\n const parameters = process.env.BABEL_8_BREAKING\n ? node.params\n : node.parameters;\n this.print(typeParameters);\n this.token(\"(\");\n _parameters.call(this, parameters, charCodes.rightParenthesis);\n const returnType = process.env.BABEL_8_BREAKING\n ? node.returnType\n : node.typeAnnotation;\n this.print(returnType);\n}\n\nexport function _tsPrintClassMemberModifiers(\n this: Printer,\n node:\n | t.ClassProperty\n | t.ClassAccessorProperty\n | t.ClassPrivateProperty\n | t.ClassMethod\n | t.ClassPrivateMethod\n | t.TSDeclareMethod,\n) {\n const isPrivateField = node.type === \"ClassPrivateProperty\";\n const isPublicField =\n node.type === \"ClassAccessorProperty\" || node.type === \"ClassProperty\";\n printModifiersList(this, node, [\n isPublicField && node.declare && \"declare\",\n !isPrivateField && node.accessibility,\n ]);\n if (node.static) {\n this.word(\"static\");\n this.space();\n }\n printModifiersList(this, node, [\n !isPrivateField && node.abstract && \"abstract\",\n !isPrivateField && node.override && \"override\",\n (isPublicField || isPrivateField) && node.readonly && \"readonly\",\n ]);\n}\n\nfunction printBraced(printer: Printer, node: t.Node, cb: () => void) {\n printer.token(\"{\");\n const oldNoLineTerminatorAfterNode = printer.enterDelimited();\n cb();\n printer._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n printer.rightBrace(node);\n}\n\nfunction printModifiersList(\n printer: Printer,\n node: t.Node,\n modifiers: (string | false | null | undefined)[],\n) {\n const modifiersSet = new Set();\n for (const modifier of modifiers) {\n if (modifier) modifiersSet.add(modifier);\n }\n\n printer.tokenMap?.find(node, tok => {\n if (modifiersSet.has(tok.value)) {\n printer.token(tok.value);\n printer.space();\n modifiersSet.delete(tok.value);\n return modifiersSet.size === 0;\n }\n return false;\n });\n\n for (const modifier of modifiersSet) {\n printer.word(modifier);\n printer.space();\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAAA,QAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AACA,IAAAE,iBAAA,GAAAF,OAAA;AAEO,SAASG,gBAAgBA,CAE9BC,IAAwB,EACxBC,MAAc,EACd;EAGA,IAAI,CAACC,KAAK,CACR,CAACD,MAAM,CAACE,IAAI,KAAK,gBAAgB,IAAIF,MAAM,CAACE,IAAI,KAAK,mBAAmB,KAKlEF,MAAM,CAACG,cAAc,KAAMJ,IAAI,GACjC,IAAI,GACJ,GACN,CAAC;EACD,IAAI,CAACK,KAAK,CAAC,CAAC;EAEZ,IAAIL,IAAI,CAACM,QAAQ,EAAE,IAAI,CAACJ,SAAK,GAAI,CAAC;EAClC,IAAI,CAACK,KAAK,CAACP,IAAI,CAACI,cAAc,CAAC;AACjC;AAEO,SAASI,4BAA4BA,CAE1CR,IAAoC,EACpCC,MAAc,EACR;EACN,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el/generator/lib/index.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/index.js deleted file mode 100644 index e8b3bcc1..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/index.js +++ /dev/null @@ -1,108 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -exports.generate = generate; -var _sourceMap = require("./source-map.js"); -var _printer = require("./printer.js"); -function normalizeOptions(code, opts, ast) { - var _opts$recordAndTupleS; - if (opts.experimental_preserveFormat) { - if (typeof code !== "string") { - throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string"); - } - if (!opts.retainLines) { - throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`"); - } - if (opts.compact && opts.compact !== "auto") { - throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option"); - } - if (opts.minified) { - throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option"); - } - if (opts.jsescOption) { - throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option"); - } - if (!Array.isArray(ast.tokens)) { - throw new Error("`experimental_preserveFormat` requires the AST to have attached the token of the input code. Make sure to enable the `tokens: true` parser option."); - } - } - const format = { - auxiliaryCommentBefore: opts.auxiliaryCommentBefore, - auxiliaryCommentAfter: opts.auxiliaryCommentAfter, - shouldPrintComment: opts.shouldPrintComment, - preserveFormat: opts.experimental_preserveFormat, - retainLines: opts.retainLines, - retainFunctionParens: opts.retainFunctionParens, - comments: opts.comments == null || opts.comments, - compact: opts.compact, - minified: opts.minified, - concise: opts.concise, - indent: { - adjustMultilineComment: true, - style: " " - }, - jsescOption: Object.assign({ - quotes: "double", - wrap: true, - minimal: false - }, opts.jsescOption), - topicToken: opts.topicToken - }; - format.decoratorsBeforeExport = opts.decoratorsBeforeExport; - format.jsescOption.json = opts.jsonCompatibleStrings; - format.recordAndTupleSyntaxType = (_opts$recordAndTupleS = opts.recordAndTupleSyntaxType) != null ? _opts$recordAndTupleS : "hash"; - format.importAttributesKeyword = opts.importAttributesKeyword; - if (format.minified) { - format.compact = true; - format.shouldPrintComment = format.shouldPrintComment || (() => format.comments); - } else { - format.shouldPrintComment = format.shouldPrintComment || (value => format.comments || value.includes("@license") || value.includes("@preserve")); - } - if (format.compact === "auto") { - format.compact = typeof code === "string" && code.length > 500000; - if (format.compact) { - console.error("[BABEL] Note: The code generator has deoptimised the styling of " + `${opts.filename} as it exceeds the max of ${"500KB"}.`); - } - } - if (format.compact || format.preserveFormat) { - format.indent.adjustMultilineComment = false; - } - const { - auxiliaryCommentBefore, - auxiliaryCommentAfter, - shouldPrintComment - } = format; - if (auxiliaryCommentBefore && !shouldPrintComment(auxiliaryCommentBefore)) { - format.auxiliaryCommentBefore = undefined; - } - if (auxiliaryCommentAfter && !shouldPrintComment(auxiliaryCommentAfter)) { - format.auxiliaryCommentAfter = undefined; - } - return format; -} -exports.CodeGenerator = class CodeGenerator { - constructor(ast, opts = {}, code) { - this._ast = void 0; - this._format = void 0; - this._map = void 0; - this._ast = ast; - this._format = normalizeOptions(code, opts, ast); - this._map = opts.sourceMaps ? new _sourceMap.default(opts, code) : null; - } - generate() { - const printer = new _printer.default(this._format, this._map); - return printer.generate(this._ast); - } -}; -function generate(ast, opts = {}, code) { - const format = normalizeOptions(code, opts, ast); - const map = opts.sourceMaps ? new _sourceMap.default(opts, code) : null; - const printer = new _printer.default(format, map, ast.tokens, typeof code === "string" ? code : null); - return printer.generate(ast); -} -var _default = exports.default = generate; - -//# sourceMappingURL=index.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/index.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/index.js.map deleted file mode 100644 index e6a7901d..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_sourceMap","require","_printer","normalizeOptions","code","opts","ast","_opts$recordAndTupleS","experimental_preserveFormat","Error","retainLines","compact","minified","jsescOption","Array","isArray","tokens","format","auxiliaryCommentBefore","auxiliaryCommentAfter","shouldPrintComment","preserveFormat","retainFunctionParens","comments","concise","indent","adjustMultilineComment","style","Object","assign","quotes","wrap","minimal","topicToken","decoratorsBeforeExport","json","jsonCompatibleStrings","recordAndTupleSyntaxType","importAttributesKeyword","value","includes","length","console","error","filename","undefined","exports","CodeGenerator","constructor","_ast","_format","_map","sourceMaps","SourceMap","generate","printer","Printer","map","_default","default"],"sources":["../src/index.ts"],"sourcesContent":["import SourceMap from \"./source-map.ts\";\nimport Printer from \"./printer.ts\";\nimport type * as t from \"@babel/types\";\nimport type { Opts as jsescOptions } from \"jsesc\";\nimport type { Format } from \"./printer.ts\";\nimport type {\n EncodedSourceMap,\n DecodedSourceMap,\n Mapping,\n} from \"@jridgewell/gen-mapping\";\n\n/**\n * Normalize generator options, setting defaults.\n *\n * - Detects code indentation.\n * - If `opts.compact = \"auto\"` and the code is over 500KB, `compact` will be set to `true`.\n */\n\nfunction normalizeOptions(\n code: string | Record | undefined,\n opts: GeneratorOptions,\n ast: t.Node,\n): Format {\n if (opts.experimental_preserveFormat) {\n if (typeof code !== \"string\") {\n throw new Error(\n \"`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string\",\n );\n }\n if (!opts.retainLines) {\n throw new Error(\n \"`experimental_preserveFormat` requires `retainLines` to be set to `true`\",\n );\n }\n if (opts.compact && opts.compact !== \"auto\") {\n throw new Error(\n \"`experimental_preserveFormat` is not compatible with the `compact` option\",\n );\n }\n if (opts.minified) {\n throw new Error(\n \"`experimental_preserveFormat` is not compatible with the `minified` option\",\n );\n }\n if (opts.jsescOption) {\n throw new Error(\n \"`experimental_preserveFormat` is not compatible with the `jsescOption` option\",\n );\n }\n if (!Array.isArray((ast as any).tokens)) {\n throw new Error(\n \"`experimental_preserveFormat` requires the AST to have attached the token of the input code. Make sure to enable the `tokens: true` parser option.\",\n );\n }\n }\n\n const format: Format = {\n auxiliaryCommentBefore: opts.auxiliaryCommentBefore,\n auxiliaryCommentAfter: opts.auxiliaryCommentAfter,\n // @ts-expect-error define it later\n shouldPrintComment: opts.shouldPrintComment,\n preserveFormat: opts.experimental_preserveFormat,\n retainLines: opts.retainLines,\n retainFunctionParens: opts.retainFunctionParens,\n comments: opts.comments == null || opts.comments,\n compact: opts.compact,\n minified: opts.minified,\n concise: opts.concise,\n indent: {\n adjustMultilineComment: true,\n style: \" \",\n },\n jsescOption: {\n quotes: \"double\",\n wrap: true,\n minimal: process.env.BABEL_8_BREAKING ? true : false,\n ...opts.jsescOption,\n },\n topicToken: opts.topicToken,\n };\n\n if (!process.env.BABEL_8_BREAKING) {\n format.decoratorsBeforeExport = opts.decoratorsBeforeExport;\n format.jsescOption.json = opts.jsonCompatibleStrings;\n format.recordAndTupleSyntaxType = opts.recordAndTupleSyntaxType ?? \"hash\";\n format.importAttributesKeyword = opts.importAttributesKeyword;\n }\n\n if (format.minified) {\n format.compact = true;\n\n format.shouldPrintComment =\n format.shouldPrintComment || (() => format.comments);\n } else {\n format.shouldPrintComment =\n format.shouldPrintComment ||\n (value =>\n format.comments ||\n value.includes(\"@license\") ||\n value.includes(\"@preserve\"));\n }\n\n if (format.compact === \"auto\") {\n format.compact = typeof code === \"string\" && code.length > 500_000; // 500KB\n\n if (format.compact) {\n console.error(\n \"[BABEL] Note: The code generator has deoptimised the styling of \" +\n `${opts.filename} as it exceeds the max of ${\"500KB\"}.`,\n );\n }\n }\n\n if (format.compact || format.preserveFormat) {\n format.indent.adjustMultilineComment = false;\n }\n\n const { auxiliaryCommentBefore, auxiliaryCommentAfter, shouldPrintComment } =\n format;\n\n if (auxiliaryCommentBefore && !shouldPrintComment(auxiliaryCommentBefore)) {\n format.auxiliaryCommentBefore = undefined;\n }\n if (auxiliaryCommentAfter && !shouldPrintComment(auxiliaryCommentAfter)) {\n format.auxiliaryCommentAfter = undefined;\n }\n\n return format;\n}\n\nexport interface GeneratorOptions {\n /**\n * Optional string to add as a block comment at the start of the output file.\n */\n auxiliaryCommentBefore?: string;\n\n /**\n * Optional string to add as a block comment at the end of the output file.\n */\n auxiliaryCommentAfter?: string;\n\n /**\n * Function that takes a comment (as a string) and returns true if the comment should be included in the output.\n * By default, comments are included if `opts.comments` is `true` or if `opts.minified` is `false` and the comment\n * contains `@preserve` or `@license`.\n */\n shouldPrintComment?(comment: string): boolean;\n\n /**\n * Preserve the input code format while printing the transformed code.\n * This is experimental, and may have breaking changes in future\n * patch releases. It will be removed in a future minor release,\n * when it will graduate to stable.\n */\n experimental_preserveFormat?: boolean;\n\n /**\n * Attempt to use the same line numbers in the output code as in the source code (helps preserve stack traces).\n * Defaults to `false`.\n */\n retainLines?: boolean;\n\n /**\n * Retain parens around function expressions (could be used to change engine parsing behavior)\n * Defaults to `false`.\n */\n retainFunctionParens?: boolean;\n\n /**\n * Should comments be included in output? Defaults to `true`.\n */\n comments?: boolean;\n\n /**\n * Set to true to avoid adding whitespace for formatting. Defaults to the value of `opts.minified`.\n */\n compact?: boolean | \"auto\";\n\n /**\n * Should the output be minified. Defaults to `false`.\n */\n minified?: boolean;\n\n /**\n * Set to true to reduce whitespace (but not as much as opts.compact). Defaults to `false`.\n */\n concise?: boolean;\n\n /**\n * Used in warning messages\n */\n filename?: string;\n\n /**\n * Enable generating source maps. Defaults to `false`.\n */\n sourceMaps?: boolean;\n\n inputSourceMap?: any;\n\n /**\n * A root for all relative URLs in the source map.\n */\n sourceRoot?: string;\n\n /**\n * The filename for the source code (i.e. the code in the `code` argument).\n * This will only be used if `code` is a string.\n */\n sourceFileName?: string;\n\n /**\n * Set to true to run jsesc with \"json\": true to print \"\\u00A9\" vs. \"©\";\n * @deprecated use `jsescOptions: { json: true }` instead\n */\n jsonCompatibleStrings?: boolean;\n\n /**\n * Set to true to enable support for experimental decorators syntax before\n * module exports. If not specified, decorators will be printed in the same\n * position as they were in the input source code.\n * @deprecated Removed in Babel 8\n */\n decoratorsBeforeExport?: boolean;\n\n /**\n * Options for outputting jsesc representation.\n */\n jsescOption?: jsescOptions;\n\n /**\n * For use with the recordAndTuple token.\n * @deprecated It will be removed in Babel 8.\n */\n recordAndTupleSyntaxType?: \"bar\" | \"hash\";\n\n /**\n * For use with the Hack-style pipe operator.\n * Changes what token is used for pipe bodies’ topic references.\n */\n topicToken?: \"%\" | \"#\" | \"@@\" | \"^^\" | \"^\";\n\n /**\n * The import attributes syntax style:\n * - \"with\" : `import { a } from \"b\" with { type: \"json\" };`\n * - \"assert\" : `import { a } from \"b\" assert { type: \"json\" };`\n * - \"with-legacy\" : `import { a } from \"b\" with type: \"json\";`\n * @deprecated Removed in Babel 8.\n */\n importAttributesKeyword?: \"with\" | \"assert\" | \"with-legacy\";\n}\n\nexport interface GeneratorResult {\n code: string;\n map: EncodedSourceMap | null;\n decodedMap: DecodedSourceMap | undefined;\n rawMappings: Mapping[] | undefined;\n}\n\nif (!process.env.BABEL_8_BREAKING && !USE_ESM) {\n /**\n * We originally exported the Generator class above, but to make it extra clear that it is a private API,\n * we have moved that to an internal class instance and simplified the interface to the two public methods\n * that we wish to support.\n */\n\n // eslint-disable-next-line no-restricted-globals\n exports.CodeGenerator = class CodeGenerator {\n private _ast: t.Node;\n private _format: Format;\n private _map: SourceMap | null;\n constructor(ast: t.Node, opts: GeneratorOptions = {}, code?: string) {\n this._ast = ast;\n this._format = normalizeOptions(code, opts, ast);\n this._map = opts.sourceMaps ? new SourceMap(opts, code) : null;\n }\n generate(): GeneratorResult {\n const printer = new Printer(this._format, this._map);\n\n return printer.generate(this._ast);\n }\n };\n}\n\n/**\n * Turns an AST into code, maintaining sourcemaps, user preferences, and valid output.\n * @param ast - the abstract syntax tree from which to generate output code.\n * @param opts - used for specifying options for code generation.\n * @param code - the original source code, used for source maps.\n * @returns - an object containing the output code and source map.\n */\nexport function generate(\n ast: t.Node,\n opts: GeneratorOptions = {},\n code?: string | Record,\n): GeneratorResult {\n const format = normalizeOptions(code, opts, ast);\n const map = opts.sourceMaps ? new SourceMap(opts, code) : null;\n\n const printer = new Printer(\n format,\n map,\n (ast as any).tokens,\n typeof code === \"string\" ? code : null,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AAUI,SAASK,QAAQA,CACtBhD,GAAW,EACXD,IAAsB,GAAG,CAAC,CAAC,EAC3BD,IAAsC,EACrB;EACjB,MAAMa,MAAM,GAAGd,gBAAgB,CAACC,IAAI,EAAEC,IAAI,EAAEC,GAAG,CAAC;EAChD,MAAMmD,GAAG,GAAGpD,IAAI,CAAC+C,UAAU,GAAG,IAAIC,kBAAS,CAAChD,IAAI,EAAED,IAAI,CAAC,GAAG,IAAI;EAE9D,MAAMmD,OAAO,GAAG,IAAIC,gBAAO,CACzBvC,MAAM,EACNwC,GAAG,EACFnD,GAAG,CAASU,MAAM,EACnB,OAAOZ,IAAI,KAAK,QAAQ,GAAGA,IAAI,GAAG,IACpC,CAAC;EAED,OAAOmD,OAAO,CAACD,QAAQ,CAAChD,GAAG,CAAC;AAC9B;AAAC,IAAAoD,QAAA,GAAAZ,OAAA,CAAAa,OAAA,GAEcL,QAAQ","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/node/index.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/node/index.js deleted file mode 100644 index 58cb15c5..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/node/index.js +++ /dev/null @@ -1,81 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.TokenContext = void 0; -exports.isLastChild = isLastChild; -exports.parentNeedsParens = parentNeedsParens; -var parens = require("./parentheses.js"); -var _t = require("@babel/types"); -var _nodes = require("../nodes.js"); -const { - VISITOR_KEYS -} = _t; -const TokenContext = exports.TokenContext = { - normal: 0, - expressionStatement: 1, - arrowBody: 2, - exportDefault: 4, - arrowFlowReturnType: 8, - forInitHead: 16, - forInHead: 32, - forOfHead: 64, - forInOrInitHeadAccumulate: 128, - forInOrInitHeadAccumulatePassThroughMask: 128 -}; -for (const type of Object.keys(parens)) { - const func = parens[type]; - if (_nodes.generatorInfosMap.has(type)) { - _nodes.generatorInfosMap.get(type)[2] = func; - } -} -function isOrHasCallExpression(node) { - switch (node.type) { - case "CallExpression": - return true; - case "MemberExpression": - return isOrHasCallExpression(node.object); - } - return false; -} -function parentNeedsParens(node, parent, parentId) { - switch (parentId) { - case 112: - if (parent.callee === node) { - if (isOrHasCallExpression(node)) return true; - } - break; - case 42: - return !isDecoratorMemberExpression(node) && !(node.type === "CallExpression" && isDecoratorMemberExpression(node.callee)) && node.type !== "ParenthesizedExpression"; - } - return false; -} -function isDecoratorMemberExpression(node) { - switch (node.type) { - case "Identifier": - return true; - case "MemberExpression": - return !node.computed && node.property.type === "Identifier" && isDecoratorMemberExpression(node.object); - default: - return false; - } -} -function isLastChild(parent, child) { - const visitorKeys = VISITOR_KEYS[parent.type]; - for (let i = visitorKeys.length - 1; i >= 0; i--) { - const val = parent[visitorKeys[i]]; - if (val === child) { - return true; - } else if (Array.isArray(val)) { - let j = val.length - 1; - while (j >= 0 && val[j] === null) j--; - return j >= 0 && val[j] === child; - } else if (val) { - return false; - } - } - return false; -} - -//# sourceMappingURL=index.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/node/index.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/node/index.js.map deleted file mode 100644 index bae168fb..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/node/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["parens","require","_t","_nodes","VISITOR_KEYS","TokenContext","exports","normal","expressionStatement","arrowBody","exportDefault","arrowFlowReturnType","forInitHead","forInHead","forOfHead","forInOrInitHeadAccumulate","forInOrInitHeadAccumulatePassThroughMask","type","Object","keys","func","generatorInfosMap","has","get","isOrHasCallExpression","node","object","parentNeedsParens","parent","parentId","callee","isDecoratorMemberExpression","computed","property","isLastChild","child","visitorKeys","i","length","val","Array","isArray","j"],"sources":["../../src/node/index.ts"],"sourcesContent":["import * as parens from \"./parentheses.ts\";\nimport { VISITOR_KEYS } from \"@babel/types\";\nimport type * as t from \"@babel/types\";\n\nimport { generatorInfosMap } from \"../nodes.ts\";\n\nexport const enum TokenContext {\n normal = 0,\n expressionStatement = 1 << 0,\n arrowBody = 1 << 1,\n exportDefault = 1 << 2,\n arrowFlowReturnType = 1 << 3,\n forInitHead = 1 << 4,\n forInHead = 1 << 5,\n forOfHead = 1 << 6,\n // This flag lives across the token boundary, and will\n // be reset after forIn or forInit head is printed\n forInOrInitHeadAccumulate = 1 << 7,\n forInOrInitHeadAccumulatePassThroughMask = 0b10000000,\n}\n\nexport type NodeHandler = (\n node: t.Node,\n // todo:\n // node: K extends keyof typeof t\n // ? Extract\n // : t.Node,\n parent: t.Node,\n parentId: number,\n tokenContext?: number,\n getRawIdentifier?: (node: t.Identifier) => string,\n) => R | undefined;\n\nfor (const type of Object.keys(parens) as (keyof typeof parens)[]) {\n const func = parens[type];\n if (generatorInfosMap.has(type)) {\n generatorInfosMap.get(type)![2] = func;\n }\n}\n\nfunction isOrHasCallExpression(node: t.Node): boolean {\n switch (node.type) {\n case \"CallExpression\":\n return true;\n case \"MemberExpression\":\n return isOrHasCallExpression(node.object);\n }\n return false;\n}\n\nexport function parentNeedsParens(\n node: t.Node,\n parent: any,\n parentId: number,\n): boolean {\n switch (parentId) {\n case __node(\"NewExpression\"):\n if (parent.callee === node) {\n if (isOrHasCallExpression(node)) return true;\n }\n break;\n case __node(\"Decorator\"):\n return (\n !isDecoratorMemberExpression(node) &&\n !(\n node.type === \"CallExpression\" &&\n isDecoratorMemberExpression(node.callee)\n ) &&\n node.type !== \"ParenthesizedExpression\"\n );\n }\n return false;\n}\n\nfunction isDecoratorMemberExpression(node: t.Node): boolean {\n switch (node.type) {\n case \"Identifier\":\n return true;\n case \"MemberExpression\":\n return (\n !node.computed &&\n node.property.type === \"Identifier\" &&\n isDecoratorMemberExpression(node.object)\n );\n default:\n return false;\n }\n}\n\nexport function isLastChild(parent: t.Node, child: t.Node) {\n const visitorKeys = VISITOR_KEYS[parent.type];\n for (let i = visitorKeys.length - 1; i >= 0; i--) {\n const val = (parent as any)[visitorKeys[i]] as t.Node | t.Node[] | null;\n if (val === child) {\n return true;\n } else if (Array.isArray(val)) {\n let j = val.length - 1;\n while (j >= 0 && val[j] === null) j--;\n return j >= 0 && val[j] === child;\n } else if (val) {\n return false;\n }\n }\n return false;\n}\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,EAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;AAAgD;EAHvCG;AAAY,IAAAF,EAAA;AAAA,MAKHG,YAAY,GAAAC,OAAA,CAAAD,YAAA;EAAAE,MAAA;EAAAC,mBAAA;EAAAC,SAAA;EAAAC,aAAA;EAAAC,mBAAA;EAAAC,WAAA;EAAAC,SAAA;EAAAC,SAAA;EAAAC,yBAAA;EAAAC,wCAAA;AAAA;AA2B9B,KAAK,MAAMC,IAAI,IAAIC,MAAM,CAACC,IAAI,CAACnB,MAAM,CAAC,EAA6B;EACjE,MAAMoB,IAAI,GAAGpB,MAAM,CAACiB,IAAI,CAAC;EACzB,IAAII,wBAAiB,CAACC,GAAG,CAACL,IAAI,CAAC,EAAE;IAC/BI,wBAAiB,CAACE,GAAG,CAACN,IAAI,CAAC,CAAE,CAAC,CAAC,GAAGG,IAAI;EACxC;AACF;AAEA,SAASI,qBAAqBA,CAACC,IAAY,EAAW;EACpD,QAAQA,IAAI,CAACR,IAAI;IACf,KAAK,gBAAgB;MACnB,OAAO,IAAI;IACb,KAAK,kBAAkB;MACrB,OAAOO,qBAAqB,CAACC,IAAI,CAACC,MAAM,CAAC;EAC7C;EACA,OAAO,KAAK;AACd;AAEO,SAASC,iBAAiBA,CAC/BF,IAAY,EACZG,MAAW,EACXC,QAAgB,EACP;EACT,QAAQA,QAAQ;IACd;MACE,IAAID,MAAM,CAACE,MAAM,KAAKL,IAAI,EAAE;QAC1B,IAAID,qBAAqB,CAACC,IAAI,CAAC,EAAE,OAAO,IAAI;MAC9C;MACA;IACF;MACE,OACE,CAACM,2BAA2B,CAACN,IAAI,CAAC,I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k-engine/node_modules/@babel/generator/lib/node/parentheses.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/node/parentheses.js deleted file mode 100644 index b7e1f4f2..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/node/parentheses.js +++ /dev/null @@ -1,298 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.AssignmentExpression = AssignmentExpression; -exports.BinaryExpression = BinaryExpression; -exports.ClassExpression = ClassExpression; -exports.ArrowFunctionExpression = exports.ConditionalExpression = ConditionalExpression; -exports.DoExpression = DoExpression; -exports.FunctionExpression = FunctionExpression; -exports.FunctionTypeAnnotation = FunctionTypeAnnotation; -exports.Identifier = Identifier; -exports.LogicalExpression = LogicalExpression; -exports.NullableTypeAnnotation = NullableTypeAnnotation; -exports.ObjectExpression = ObjectExpression; -exports.OptionalIndexedAccessType = OptionalIndexedAccessType; -exports.OptionalCallExpression = exports.OptionalMemberExpression = OptionalMemberExpression; -exports.SequenceExpression = SequenceExpression; -exports.TSSatisfiesExpression = exports.TSAsExpression = TSAsExpression; -exports.TSConditionalType = TSConditionalType; -exports.TSConstructorType = exports.TSFunctionType = TSFunctionType; -exports.TSInferType = TSInferType; -exports.TSInstantiationExpression = TSInstantiationExpression; -exports.TSIntersectionType = TSIntersectionType; -exports.SpreadElement = exports.UnaryExpression = exports.TSTypeAssertion = UnaryLike; -exports.TSTypeOperator = TSTypeOperator; -exports.TSUnionType = TSUnionType; -exports.IntersectionTypeAnnotation = exports.UnionTypeAnnotation = UnionTypeAnnotation; -exports.UpdateExpression = UpdateExpression; -exports.AwaitExpression = exports.YieldExpression = YieldExpression; -var _t = require("@babel/types"); -var _index = require("./index.js"); -const { - isMemberExpression, - isOptionalMemberExpression, - isYieldExpression, - isStatement -} = _t; -const PRECEDENCE = new Map([["||", 0], ["??", 1], ["&&", 2], ["|", 3], ["^", 4], ["&", 5], ["==", 6], ["===", 6], ["!=", 6], ["!==", 6], ["<", 7], [">", 7], ["<=", 7], [">=", 7], ["in", 7], ["instanceof", 7], [">>", 8], ["<<", 8], [">>>", 8], ["+", 9], ["-", 9], ["*", 10], ["/", 10], ["%", 10], ["**", 11]]); -function isTSTypeExpression(nodeId) { - return nodeId === 156 || nodeId === 201 || nodeId === 209; -} -const isClassExtendsClause = (node, parent, parentId) => { - return (parentId === 21 || parentId === 22) && parent.superClass === node; -}; -const hasPostfixPart = (node, parent, parentId) => { - switch (parentId) { - case 108: - case 132: - return parent.object === node; - case 17: - case 130: - case 112: - return parent.callee === node; - case 222: - return parent.tag === node; - case 191: - return true; - } - return false; -}; -function NullableTypeAnnotation(node, parent, parentId) { - return parentId === 4; -} -function FunctionTypeAnnotation(node, parent, parentId, tokenContext) { - return (parentId === 239 || parentId === 90 || parentId === 4 || (tokenContext & _index.TokenContext.arrowFlowReturnType) > 0 - ); -} -function UpdateExpression(node, parent, parentId) { - return hasPostfixPart(node, parent, parentId) || isClassExtendsClause(node, parent, parentId); -} -function needsParenBeforeExpressionBrace(tokenContext) { - return (tokenContext & (_index.TokenContext.expressionStatement | _index.TokenContext.arrowBody)) > 0; -} -function ObjectExpression(node, parent, parentId, tokenContext) { - return needsParenBeforeExpressionBrace(tokenContext); -} -function DoExpression(node, parent, parentId, tokenContext) { - return (tokenContext & _index.TokenContext.expressionStatement) > 0 && !node.async; -} -function BinaryLike(node, parent, parentId, nodeType) { - if (isClassExtendsClause(node, parent, parentId)) { - return true; - } - if (hasPostfixPart(node, parent, parentId) || parentId === 238 || parentId === 145 || parentId === 8) { - return true; - } - let parentPos; - switch (parentId) { - case 10: - case 107: - parentPos = PRECEDENCE.get(parent.operator); - break; - case 156: - case 201: - parentPos = 7; - } - if (parentPos !== undefined) { - const nodePos = nodeType === 2 ? 7 : PRECEDENCE.get(node.operator); - if (parentPos > nodePos) return true; - if (parentPos === nodePos && parentId === 10 && (nodePos === 11 ? parent.left === node : parent.right === node)) { - return true; - } - if (nodeType === 1 && parentId === 107 && (nodePos === 1 && parentPos !== 1 || parentPos === 1 && nodePos !== 1)) { - return true; - } - } - return false; -} -function UnionTypeAnnotation(node, parent, parentId) { - switch (parentId) { - case 4: - case 115: - case 90: - case 239: - return true; - } - return false; -} -function OptionalIndexedAccessType(node, parent, parentId) { - return parentId === 84 && parent.objectType === node; -} -function TSAsExpression(node, parent, parentId) { - if ((parentId === 6 || parentId === 7) && parent.left === node) { - return true; - } - if (parentId === 10 && (parent.operator === "|" || parent.operator === "&") && node === parent.left) { - return true; - } - return BinaryLike(node, parent, parentId, 2); -} -function TSConditionalType(node, parent, parentId) { - switch (parentId) { - case 155: - case 195: - case 211: - case 212: - return true; - case 175: - return parent.objectType === node; - case 181: - case 219: - return parent.types[0] === node; - case 161: - return parent.checkType === node || parent.extendsType === node; - } - return false; -} -function TSUnionType(node, parent, parentId) { - switch (parentId) { - case 181: - case 211: - case 155: - case 195: - return true; - case 175: - return parent.objectType === node; - } - return false; -} -function TSIntersectionType(node, parent, parentId) { - return parentId === 211 || TSTypeOperator(node, parent, parentId); -} -function TSInferType(node, parent, parentId) { - if (TSTypeOperator(node, parent, parentId)) { - return true; - } - if ((parentId === 181 || parentId === 219) && node.typeParameter.constraint && parent.types[0] === node) { - return true; - } - return false; -} -function TSTypeOperator(node, parent, parentId) { - switch (parentId) { - case 155: - case 195: - return true; - case 175: - if (parent.objectType === node) { - return true; - } - } - return false; -} -function TSInstantiationExpression(node, parent, parentId) { - switch (parentId) { - case 17: - case 130: - case 112: - case 177: - return (parent.typeParameters - ) != null; - } - return false; -} -function TSFunctionType(node, parent, parentId) { - if (TSUnionType(node, parent, parentId)) return true; - return parentId === 219 || parentId === 161 && (parent.checkType === node || parent.extendsType === node); -} -function BinaryExpression(node, parent, parentId, tokenContext) { - if (BinaryLike(node, parent, parentId, 0)) return true; - return (tokenContext & _index.TokenContext.forInOrInitHeadAccumulate) > 0 && node.operator === "in"; -} -function LogicalExpression(node, parent, parentId) { - return BinaryLike(node, parent, parentId, 1); -} -function SequenceExpression(node, parent, parentId) { - if (parentId === 144 || parentId === 133 || parentId === 108 && parent.property === node || parentId === 132 && parent.property === node || parentId === 224) { - return false; - } - if (parentId === 21) { - return true; - } - if (parentId === 68) { - return parent.right === node; - } - if (parentId === 60) { - return true; - } - return !isStatement(parent); -} -function YieldExpression(node, parent, parentId) { - return parentId === 10 || parentId === 107 || parentId === 238 || parentId === 145 || hasPostfixPart(node, parent, parentId) || parentId === 8 && isYieldExpression(node) || parentId === 28 && node === parent.test || isClassExtendsClause(node, parent, parentId) || isTSTypeExpression(parentId); -} -function ClassExpression(node, parent, parentId, tokenContext) { - return (tokenContext & (_index.TokenContext.expressionStatement | _index.TokenContext.exportDefault)) > 0; -} -function UnaryLike(node, parent, parentId) { - return hasPostfixPart(node, parent, parentId) || parentId === 10 && parent.operator === "**" && parent.left === node || isClassExtendsClause(node, parent, parentId); -} -function FunctionExpression(node, parent, parentId, tokenContext) { - return (tokenContext & (_index.TokenContext.expressionStatement | _index.TokenContext.exportDefault)) > 0; -} -function ConditionalExpression(node, parent, parentId) { - switch (parentId) { - case 238: - case 145: - case 10: - case 107: - case 8: - return true; - case 28: - if (parent.test === node) { - return true; - } - } - if (isTSTypeExpression(parentId)) { - return true; - } - return UnaryLike(node, parent, parentId); -} -function OptionalMemberExpression(node, parent, parentId) { - switch (parentId) { - case 17: - return parent.callee === node; - case 108: - return parent.object === node; - } - return false; -} -function AssignmentExpression(node, parent, parentId, tokenContext) { - if (needsParenBeforeExpressionBrace(tokenContext) && node.left.type === "ObjectPattern") { - return true; - } - return ConditionalExpression(node, parent, parentId); -} -function Identifier(node, parent, parentId, tokenContext, getRawIdentifier) { - var _node$extra; - if (getRawIdentifier && getRawIdentifier(node) !== node.name) { - return false; - } - if (parentId === 6 && (_node$extra = node.extra) != null && _node$extra.parenthesized && parent.left === node) { - const rightType = parent.right.type; - if ((rightType === "FunctionExpression" || rightType === "ClassExpression") && parent.right.id == null) { - return true; - } - } - if (tokenContext & _index.TokenContext.forOfHead || (parentId === 108 || parentId === 132) && tokenContext & (_index.TokenContext.expressionStatement | _index.TokenContext.forInitHead | _index.TokenContext.forInHead)) { - if (node.name === "let") { - const isFollowedByBracket = isMemberExpression(parent, { - object: node, - computed: true - }) || isOptionalMemberExpression(parent, { - object: node, - computed: true, - optional: false - }); - if (isFollowedByBracket && tokenContext & (_index.TokenContext.expressionStatement | _index.TokenContext.forInitHead | _index.TokenContext.forInHead)) { - return true; - } - return (tokenContext & _index.TokenContext.forOfHead) > 0; - } - } - return parentId === 68 && parent.left === node && node.name === "async" && !parent.await; -} - -//# sourceMappingURL=parentheses.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/node/parentheses.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/node/parentheses.js.map deleted file mode 100644 index 0120e9c7..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/node/parentheses.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_t","require","_index","isMemberExpression","isOptionalMemberExpression","isYieldExpression","isStatement","PRECEDENCE","Map","isTSTypeExpression","nodeId","isClassExtendsClause","node","parent","parentId","superClass","hasPostfixPart","object","callee","tag","NullableTypeAnnotation","FunctionTypeAnnotation","tokenContext","TokenContext","arrowFlowReturnType","UpdateExpression","needsParenBeforeExpressionBrace","expressionStatement","arrowBody","ObjectExpression","DoExpression","async","BinaryLike","nodeType","parentPos","get","operator","undefined","nodePos","left","right","UnionTypeAnnotation","OptionalIndexedAccessType","objectType","TSAsExpression","TSConditionalType","types","checkType","extendsType","TSUnionType","TSIntersectionType","TSTypeOperator","TSInferType","typeParameter","constraint","TSInstantiationExpression","typeParameters","TSFunctionType","BinaryExpression","forInOrInitHeadAccumulate","LogicalExpression","SequenceExpression","property","YieldExpression","test","ClassExpression","exportDefault","UnaryLike","FunctionExpression","ConditionalExpression","OptionalMemberExpression","AssignmentExpression","type","Identifier","getRawIdentifier","_node$extra","name","extra","parenthesized","rightType","id","forOfHead","forInitHead","forInHead","isFollowedByBracket","computed","optional","await"],"sources":["../../src/node/parentheses.ts"],"sourcesContent":["import {\n isMemberExpression,\n isOptionalMemberExpression,\n isYieldExpression,\n isStatement,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\n\nimport { TokenContext } from \"./index.ts\";\n\nconst PRECEDENCE = new Map([\n [\"||\", 0],\n [\"??\", 1],\n [\"&&\", 2],\n [\"|\", 3],\n [\"^\", 4],\n [\"&\", 5],\n [\"==\", 6],\n [\"===\", 6],\n [\"!=\", 6],\n [\"!==\", 6],\n [\"<\", 7],\n [\">\", 7],\n [\"<=\", 7],\n [\">=\", 7],\n [\"in\", 7],\n [\"instanceof\", 7],\n [\">>\", 8],\n [\"<<\", 8],\n [\">>>\", 8],\n [\"+\", 9],\n [\"-\", 9],\n [\"*\", 10],\n [\"/\", 10],\n [\"%\", 10],\n [\"**\", 11],\n]);\n\nfunction isTSTypeExpression(nodeId: number) {\n return (\n nodeId === __node(\"TSAsExpression\") ||\n nodeId === __node(\"TSSatisfiesExpression\") ||\n nodeId === __node(\"TSTypeAssertion\")\n );\n}\n\nconst isClassExtendsClause = (\n node: t.Node,\n parent: any,\n parentId: number,\n): parent is t.Class => {\n return (\n (parentId === __node(\"ClassDeclaration\") ||\n parentId === __node(\"ClassExpression\")) &&\n parent.superClass === node\n );\n};\n\nconst hasPostfixPart = (node: t.Node, parent: any, parentId: number) => {\n switch (parentId) {\n case __node(\"MemberExpression\"):\n case __node(\"OptionalMemberExpression\"):\n return parent.object === node;\n case __node(\"CallExpression\"):\n case __node(\"OptionalCallExpression\"):\n case __node(\"NewExpression\"):\n return parent.callee === node;\n case __node(\"TaggedTemplateExpression\"):\n return parent.tag === node;\n case __node(\"TSNonNullExpression\"):\n return true;\n }\n\n return false;\n};\n\nexport function NullableTypeAnnotation(\n node: t.NullableTypeAnnotation,\n parent: any,\n parentId: number,\n): boolean {\n return parentId === __node(\"ArrayTypeAnnotation\");\n}\n\nexport function FunctionTypeAnnotation(\n node: t.FunctionTypeAnnotation,\n parent: any,\n parentId: number,\n tokenContext: number,\n): boolean {\n return (\n // (() => A) | (() => B)\n parentId === __node(\"UnionTypeAnnotation\") ||\n // (() => A) & (() => B)\n parentId === __node(\"IntersectionTypeAnnotation\") ||\n // (() => A)[]\n parentId === __node(\"ArrayTypeAnnotation\") ||\n (tokenContext & TokenContext.arrowFlowReturnType) > 0\n );\n}\n\nexport function UpdateExpression(\n node: t.UpdateExpression,\n parent: any,\n parentId: number,\n): boolean {\n return (\n hasPostfixPart(node, parent, parentId) ||\n isClassExtendsClause(node, parent, parentId)\n );\n}\n\nfunction needsParenBeforeExpressionBrace(tokenContext: number) {\n return (\n (tokenContext &\n (TokenContext.expressionStatement | TokenContext.arrowBody)) >\n 0\n );\n}\n\nexport function ObjectExpression(\n node: t.ObjectExpression,\n parent: any,\n parentId: number,\n tokenContext: number,\n): boolean {\n return needsParenBeforeExpressionBrace(tokenContext);\n}\n\nexport function DoExpression(\n node: t.DoExpression,\n parent: any,\n parentId: number,\n tokenContext: number,\n): boolean {\n // `async do` can start an expression statement\n return (tokenContext & TokenContext.expressionStatement) > 0 && !node.async;\n}\n\nconst enum BinaryLikeType {\n Binary = 0,\n Logical = 1,\n TypeScript = 2,\n}\n\nfunction BinaryLike(\n node: t.Binary | t.TSAsExpression | t.TSSatisfiesExpression,\n parent: any,\n parentId: number,\n nodeType: BinaryLikeType,\n): boolean {\n if (isClassExtendsClause(node, parent, parentId)) {\n return true;\n }\n\n if (\n hasPostfixPart(node, parent, parentId) ||\n parentId === __node(\"UnaryExpression\") ||\n parentId === __node(\"SpreadElement\") ||\n parentId === __node(\"AwaitExpression\")\n ) {\n return true;\n }\n let parentPos: number | undefined;\n switch (parentId) {\n case __node(\"BinaryExpression\"):\n case __node(\"LogicalExpression\"):\n parentPos = PRECEDENCE.get(parent.operator);\n break;\n case __node(\"TSAsExpression\"):\n case __node(\"TSSatisfiesExpression\"):\n parentPos = 7; /* in */\n }\n if (parentPos !== undefined) {\n const nodePos =\n nodeType === BinaryLikeType.TypeScript\n ? 7 /* in */\n : PRECEDENCE.get((node as t.Binary).operator)!;\n if (parentPos > nodePos) return true;\n if (\n parentPos === nodePos &&\n parentId === __node(\"BinaryExpression\") &&\n (nodePos === 11 /* ** */ ? parent.left === node : parent.right === node)\n ) {\n return true;\n }\n if (\n nodeType === BinaryLikeType.Logical &&\n parentId === __node(\"LogicalExpression\") &&\n // 1: ??\n ((nodePos === 1 && parentPos !== 1) || (parentPos === 1 && nodePos !== 1))\n ) {\n return true;\n }\n }\n return false;\n}\n\nexport function UnionTypeAnnotation(\n node: t.UnionTypeAnnotation | t.IntersectionTypeAnnotation,\n parent: any,\n parentId: number,\n): boolean {\n switch (parentId) {\n case __node(\"ArrayTypeAnnotation\"):\n case __node(\"NullableTypeAnnotation\"):\n case __node(\"IntersectionTypeAnnotation\"):\n case __node(\"UnionTypeAnnotation\"):\n return true;\n }\n return false;\n}\n\nexport { UnionTypeAnnotation as IntersectionTypeAnnotation };\n\nexport function OptionalIndexedAccessType(\n node: t.OptionalIndexedAccessType,\n parent: any,\n parentId: number,\n): boolean {\n return parentId === __node(\"IndexedAccessType\") && parent.objectType === node;\n}\n\nexport function TSAsExpression(\n node: t.TSAsExpression | t.TSSatisfiesExpression,\n parent: any,\n parentId: number,\n): boolean {\n if (\n (parentId === __node(\"AssignmentExpression\") ||\n parentId === __node(\"AssignmentPattern\")) &&\n parent.left === node\n ) {\n return true;\n }\n if (\n parentId === __node(\"BinaryExpression\") &&\n (parent.operator === \"|\" || parent.operator === \"&\") &&\n node === parent.left\n ) {\n return true;\n }\n return BinaryLike(node, parent, parentId, BinaryLikeType.TypeScript);\n}\n\nexport { TSAsExpression as TSSatisfiesExpression };\n\nexport { UnaryLike as TSTypeAssertion };\n\nexport function TSConditionalType(\n node: t.TSConditionalType,\n parent: any,\n parentId: number,\n): boolean {\n switch (parentId) {\n case __node(\"TSArrayType\"):\n case __node(\"TSOptionalType\"):\n case __node(\"TSTypeOperator\"):\n // for `infer K extends (L extends M ? M : ...)`\n // fallthrough\n case __node(\"TSTypeParameter\"):\n return true;\n case __node(\"TSIndexedAccessType\"):\n return parent.objectType === node;\n case __node(\"TSIntersectionType\"):\n case __node(\"TSUnionType\"):\n return parent.types[0] === node;\n case __node(\"TSConditionalType\"):\n return parent.checkType === node || parent.extendsType === node;\n }\n return false;\n}\n\nexport function TSUnionType(\n node: t.TSUnionType | t.TSFunctionType,\n parent: any,\n parentId: number,\n): boolean {\n switch (parentId) {\n case __node(\"TSIntersectionType\"):\n case __node(\"TSTypeOperator\"):\n case __node(\"TSArrayType\"):\n case __node(\"TSOptionalType\"):\n return true;\n case __node(\"TSIndexedAccessType\"):\n return parent.objectType === node;\n }\n return false;\n}\n\nexport function TSIntersectionType(\n node: t.TSUnionType,\n parent: any,\n parentId: number,\n): boolean {\n return (\n parentId === __node(\"TSTypeOperator\") ||\n TSTypeOperator(node, parent, parentId)\n );\n}\n\nexport function TSInferType(\n node: t.TSInferType,\n parent: any,\n parentId: number,\n): boolean {\n if (TSTypeOperator(node, parent, parentId)) {\n return true;\n }\n if (\n (parentId === __node(\"TSIntersectionType\") ||\n parentId === __node(\"TSUnionType\")) &&\n node.typeParameter.constraint &&\n parent.types[0] === node\n ) {\n return true;\n }\n return false;\n}\n\nexport function TSTypeOperator(\n node: t.TSTypeOperator | t.TSUnionType | t.TSInferType,\n parent: any,\n parentId: number,\n): boolean {\n switch (parentId) {\n case __node(\"TSArrayType\"):\n case __node(\"TSOptionalType\"):\n return true;\n case __node(\"TSIndexedAccessType\"):\n if (parent.objectType === node) {\n return true;\n }\n }\n return false;\n}\n\nexport function TSInstantiationExpression(\n node: t.TSInstantiationExpression,\n parent: any,\n parentId: number,\n) {\n switch (parentId) {\n case __node(\"CallExpression\"):\n case __node(\"OptionalCallExpression\"):\n case __node(\"NewExpression\"):\n case __node(\"TSInstantiationExpression\"):\n return (\n (process.env.BABEL_8_BREAKING\n ? // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST\n parent.typeArguments\n : // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n parent.typeParameters) != null\n );\n }\n\n return false;\n}\n\nexport function TSFunctionType(\n node: t.TSFunctionType,\n parent: any,\n parentId: number,\n): boolean {\n if (TSUnionType(node, parent, parentId)) return true;\n\n return (\n parentId === __node(\"TSUnionType\") ||\n (parentId === __node(\"TSConditionalType\") &&\n (parent.checkType === node || parent.extendsType === node))\n );\n}\n\nexport { TSFunctionType as TSConstructorType };\n\nexport function BinaryExpression(\n node: t.BinaryExpression,\n parent: any,\n parentId: number,\n tokenContext: number,\n): boolean {\n if (BinaryLike(node, parent, parentId, BinaryLikeType.Binary)) return true;\n\n // for ((1 in []);;);\n // for (var x = (1 in []) in 2);\n return (\n (tokenContext & TokenContext.forInOrInitHeadAccumulate) > 0 &&\n node.operator === \"in\"\n );\n}\n\nexport function LogicalExpression(\n node: t.LogicalExpression,\n parent: any,\n parentId: number,\n): boolean {\n return BinaryLike(node, parent, parentId, BinaryLikeType.Logical);\n}\n\nexport function SequenceExpression(\n node: t.SequenceExpression,\n parent: any,\n parentId: number,\n): boolean {\n if (\n parentId === __node(\"SequenceExpression\") ||\n parentId === __node(\"ParenthesizedExpression\") ||\n (parentId === __node(\"MemberExpression\") && parent.property === node) ||\n (parentId === __node(\"OptionalMemberExpression\") &&\n parent.property === node) ||\n parentId === __node(\"TemplateLiteral\")\n ) {\n return false;\n }\n if (parentId === __node(\"ClassDeclaration\")) {\n return true;\n }\n if (parentId === __node(\"ForOfStatement\")) {\n return parent.right === node;\n }\n if (parentId === __node(\"ExportDefaultDeclaration\")) {\n return true;\n }\n\n return !isStatement(parent);\n}\n\nexport function YieldExpression(\n node: t.YieldExpression,\n parent: any,\n parentId: number,\n): boolean {\n return (\n parentId === __node(\"BinaryExpression\") ||\n parentId === __node(\"LogicalExpression\") ||\n parentId === __node(\"UnaryExpression\") ||\n parentId === __node(\"SpreadElement\") ||\n hasPostfixPart(node, parent, parentId) ||\n (parentId === __node(\"AwaitExpression\") && isYieldExpression(node)) ||\n (parentId === __node(\"ConditionalExpression\") && node === parent.test) ||\n isClassExtendsClause(node, parent, parentId) ||\n isTSTypeExpression(parentId)\n );\n}\n\nexport { YieldExpression as AwaitExpression };\n\nexport function ClassExpression(\n node: t.ClassExpression,\n parent: any,\n parentId: number,\n tokenContext: number,\n): boolean {\n return (\n (tokenContext &\n (TokenContext.expressionStatement | TokenContext.exportDefault)) >\n 0\n );\n}\n\nfunction UnaryLike(\n node:\n | t.UnaryLike\n | t.TSTypeAssertion\n | t.ArrowFunctionExpression\n | t.ConditionalExpression\n | t.AssignmentExpression,\n parent: any,\n parentId: number,\n): boolean {\n return (\n hasPostfixPart(node, parent, parentId) ||\n (parentId === __node(\"BinaryExpression\") &&\n parent.operator === \"**\" &&\n parent.left === node) ||\n isClassExtendsClause(node, parent, parentId)\n );\n}\n\nexport { UnaryLike as UnaryExpression, UnaryLike as SpreadElement };\n\nexport function FunctionExpression(\n node: t.FunctionExpression,\n parent: any,\n parentId: number,\n tokenContext: number,\n): boolean {\n return (\n (tokenContext &\n (TokenContext.expressionStatement | TokenContext.exportDefault)) >\n 0\n );\n}\n\nexport function ConditionalExpression(\n node:\n | t.ConditionalExpression\n | t.ArrowFunctionExpression\n | t.AssignmentExpression,\n parent: any,\n parentId: number,\n): boolean {\n switch (parentId) {\n case __node(\"UnaryExpression\"):\n case __node(\"SpreadElement\"):\n case __node(\"BinaryExpression\"):\n case __node(\"LogicalExpression\"):\n case __node(\"AwaitExpression\"):\n return true;\n case __node(\"ConditionalExpression\"):\n if (parent.test === node) {\n return true;\n }\n }\n\n if (isTSTypeExpression(parentId)) {\n return true;\n }\n\n return UnaryLike(node, parent, parentId);\n}\n\nexport { ConditionalExpression as ArrowFunctionExpression };\n\nexport function OptionalMemberExpression(\n node: t.OptionalMemberExpression,\n parent: any,\n parentId: number,\n): boolean {\n switch (parentId) {\n case __node(\"CallExpression\"):\n return parent.callee === node;\n case __node(\"MemberExpression\"):\n return parent.object === node;\n }\n return false;\n}\n\nexport { OptionalMemberExpression as OptionalCallExpression };\n\nexport function AssignmentExpression(\n node: t.AssignmentExpression,\n parent: any,\n parentId: number,\n tokenContext: number,\n): boolean {\n if (\n needsParenBeforeExpressionBrace(tokenContext) &&\n node.left.type === \"ObjectPattern\"\n ) {\n return true;\n }\n return ConditionalExpression(node, parent, parentId);\n}\n\nexport function Identifier(\n node: t.Identifier,\n parent: any,\n parentId: number,\n tokenContext: number,\n getRawIdentifier: (node: t.Identifier) => string,\n): boolean {\n if (getRawIdentifier && getRawIdentifier(node) !== node.name) {\n return false;\n }\n\n // 13.15.2 AssignmentExpression RS: Evaluation\n // (fn) = function () {};\n if (\n parentId === __node(\"AssignmentExpression\") &&\n node.extra?.parenthesized &&\n parent.left === node\n ) {\n const rightType = parent.right.type;\n if (\n (rightType === \"FunctionExpression\" || rightType === \"ClassExpression\") &&\n parent.right.id == null\n ) {\n return true;\n }\n }\n\n // fast path\n if (\n tokenContext & TokenContext.forOfHead ||\n ((parentId === __node(\"MemberExpression\") ||\n parentId === __node(\"OptionalMemberExpression\")) &&\n tokenContext &\n (TokenContext.expressionStatement |\n TokenContext.forInitHead |\n TokenContext.forInHead))\n ) {\n // Non-strict code allows the identifier `let`, but it cannot occur as-is in\n // certain contexts to avoid ambiguity with contextual keyword `let`.\n if (node.name === \"let\") {\n // Some contexts only forbid `let [`, so check if the next token would\n // be the left bracket of a computed member expression.\n const isFollowedByBracket =\n isMemberExpression(parent, {\n object: node,\n computed: true,\n }) ||\n isOptionalMemberExpression(parent, {\n object: node,\n computed: true,\n optional: false,\n });\n if (\n isFollowedByBracket &&\n tokenContext &\n (TokenContext.expressionStatement |\n TokenContext.forInitHead |\n TokenContext.forInHead)\n ) {\n return true;\n }\n return (tokenContext & TokenContext.forOfHead) > 0;\n }\n }\n\n // ECMAScript specifically forbids a for-of loop from starting with the\n // token sequence `for (async of`, because it would be ambiguous with\n // `for (async of => {};;)`, so we need to add extra parentheses.\n return (\n parentId === __node(\"ForOfStatement\") &&\n parent.left === node &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I;IACnC,IACE,CAACO,SAAS,KAAK,oBAAoB,IAAIA,SAAS,KAAK,iBAAiB,KACtElE,MAAM,CAAC2B,KAAK,CAACwC,EAAE,IAAI,IAAI,EACvB;MACA,OAAO,IAAI;IACb;EACF;EAGA,IACE1D,YAAY,GAAGC,mBAAY,CAAC0D,SAAS,IACpC,CAACnE,QAAQ,QAA+B,IACvCA,QAAQ,QAAuC,KAC/CQ,YAAY,IACTC,mBAAY,CAACI,mBAAmB,GAC/BJ,mBAAY,CAAC2D,WAAW,GACxB3D,mBAAY,CAAC4D,SAAS,CAAE,EAC9B;IAGA,IAAIvE,IAAI,CAACgE,IAAI,KAAK,KAAK,EAAE;MAGvB,MAAMQ,mBAAmB,GACvBjF,kBAAkB,CAACU,MAAM,EAAE;QACzBI,MAAM,EAAEL,IAAI;QACZyE,QAAQ,EAAE;MACZ,CAAC,CAAC,IACFjF,0BAA0B,CAACS,MAAM,EAAE;QACjCI,MAAM,EAAEL,IAAI;QACZyE,QAAQ,EAAE,IAAI;QACdC,QAAQ,EAAE;MACZ,CAAC,CAAC;MACJ,IACEF,mBAAmB,IACnB9D,YAAY,IACTC,mBAAY,CAACI,mBAAmB,GAC/BJ,mBAAY,CAAC2D,WAAW,GACxB3D,mBAAY,CAAC4D,SAAS,CAAC,EAC3B;QACA,OAAO,IAAI;MACb;MACA,OAAO,CAAC7D,YAAY,GAAGC,mBAAY,CAAC0D,SAAS,IAAI,CAAC;IACpD;EACF;EAKA,OACEnE,QAAQ,OAA6B,IACrCD,MAAM,CAAC0B,IAAI,KAAK3B,IAAI,IACpBA,IAAI,CAACgE,IAAI,KAAK,OAAO,IACrB,CAAC/D,MAAM,CAAC0E,KAAK;AAEjB","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/nodes.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/nodes.js deleted file mode 100644 index 8754a389..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/nodes.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.generatorInfosMap = void 0; -var generatorFunctions = require("./generators/index.js"); -var deprecatedGeneratorFunctions = require("./generators/deprecated.js"); -const generatorInfosMap = exports.generatorInfosMap = new Map(); -let index = 0; -for (const key of Object.keys(generatorFunctions).sort()) { - if (key.startsWith("_")) continue; - generatorInfosMap.set(key, [generatorFunctions[key], index++, undefined]); -} -for (const key of Object.keys(deprecatedGeneratorFunctions)) { - generatorInfosMap.set(key, [deprecatedGeneratorFunctions[key], index++, undefined]); -} - -//# sourceMappingURL=nodes.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/nodes.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/nodes.js.map deleted file mode 100644 index 6aa82830..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/nodes.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["generatorFunctions","require","deprecatedGeneratorFunctions","generatorInfosMap","exports","Map","index","key","Object","keys","sort","startsWith","set","undefined"],"sources":["../src/nodes.ts"],"sourcesContent":["import type * as t from \"@babel/types\";\n\nimport * as generatorFunctions from \"./generators/index.ts\";\nimport * as deprecatedGeneratorFunctions from \"./generators/deprecated.ts\";\nimport type { NodeHandler } from \"./node/index.ts\";\nimport type Printer from \"./printer.ts\";\n\ndeclare global {\n function __node(type: t.Node[\"type\"]): number;\n}\n\nconst generatorInfosMap = new Map<\n string,\n [\n (this: Printer, node: t.Node, parent?: t.Node | null) => void,\n number,\n NodeHandler | undefined,\n ]\n>();\nlet index = 0;\n\nfor (const key of Object.keys(generatorFunctions).sort() as Exclude<\n keyof typeof generatorFunctions,\n `_${string}`\n>[]) {\n if (key.startsWith(\"_\")) continue;\n generatorInfosMap.set(key, [generatorFunctions[key], index++, undefined]);\n}\nif (!process.env.BABEL_8_BREAKING) {\n for (const key of Object.keys(\n deprecatedGeneratorFunctions,\n ) as (keyof typeof deprecatedGeneratorFunctions)[]) {\n generatorInfosMap.set(key, [\n deprecatedGeneratorFunctions[key],\n index++,\n undefined,\n ]);\n }\n}\n\nexport { generatorInfosMap };\n"],"mappings":";;;;;;AAEA,IAAAA,kBAAA,GAAAC,OAAA;AACA,IAAAC,4BAAA,GAAAD,OAAA;AAQA,MAAME,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,GAAG,IAAIE,GAAG,CAO/B,CAAC;AACH,IAAIC,KAAK,GAAG,CAAC;AAEb,KAAK,MAAMC,GAAG,IAAIC,MAAM,CAACC,IAAI,CAACT,kBAAkB,CAAC,CAACU,IAAI,CAAC,CAAC,EAGnD;EACH,IAAIH,GAAG,CAACI,UAAU,CAAC,GAAG,CAAC,EAAE;EACzBR,iBAAiB,CAACS,GAAG,CAACL,GAAG,EAAE,CAACP,kBAAkB,CAACO,GAAG,CAAC,EAAED,KAAK,EAAE,EAAEO,SAAS,CAAC,CAAC;AAC3E;AAEE,KAAK,MAAMN,GAAG,IAAIC,MAAM,CAACC,IAAI,CAC3BP,4BACF,CAAC,EAAmD;EAClDC,iBAAiB,CAACS,GAAG,CAACL,GAAG,EAAE,CACzBL,4BAA4B,CAACK,GAAG,CAAC,EACjCD,KAAK,EAAE,EACPO,SAAS,CACV,CAAC;AACJ","ignoreList":[]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/printer.js b/lambdas/risk-engine/node_modules/@babel/generator/lib/printer.js deleted file mode 100644 index ffdd45f6..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/printer.js +++ /dev/null @@ -1,782 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -var _buffer = require("./buffer.js"); -var _index = require("./node/index.js"); -var _nodes = require("./nodes.js"); -var _t = require("@babel/types"); -var _tokenMap = require("./token-map.js"); -var _types2 = require("./generators/types.js"); -const { - isExpression, - isFunction, - isStatement, - isClassBody, - isTSInterfaceBody, - isTSEnumMember -} = _t; -const SCIENTIFIC_NOTATION = /e/i; -const ZERO_DECIMAL_INTEGER = /\.0+$/; -const HAS_NEWLINE = /[\n\r\u2028\u2029]/; -const HAS_NEWLINE_OR_BlOCK_COMMENT_END = /[\n\r\u2028\u2029]|\*\//; -function commentIsNewline(c) { - return c.type === "CommentLine" || HAS_NEWLINE.test(c.value); -} -class Printer { - constructor(format, map, tokens = null, originalCode = null) { - this.tokenContext = _index.TokenContext.normal; - this._tokens = null; - this._originalCode = null; - this._currentNode = null; - this._currentTypeId = null; - this._indent = 0; - this._indentRepeat = 0; - this._insideAux = false; - this._noLineTerminator = false; - this._noLineTerminatorAfterNode = null; - this._printAuxAfterOnNextUserNode = false; - this._printedComments = new Set(); - this._lastCommentLine = 0; - this._innerCommentsState = 0; - this._flags = 0; - this.tokenMap = null; - this._boundGetRawIdentifier = null; - this._printSemicolonBeforeNextNode = -1; - this._printSemicolonBeforeNextToken = -1; - this.format = format; - this._tokens = tokens; - this._originalCode = originalCode; - this._indentRepeat = format.indent.style.length; - this._inputMap = (map == null ? void 0 : map._inputMap) || null; - this._buf = new _buffer.default(map, format.indent.style[0]); - const { - preserveFormat, - compact, - concise, - retainLines, - retainFunctionParens - } = format; - if (preserveFormat) { - this._flags |= 1; - } - if (compact) { - this._flags |= 2; - } - if (concise) { - this._flags |= 4; - } - if (retainLines) { - this._flags |= 8; - } - if (retainFunctionParens) { - this._flags |= 16; - } - if (format.auxiliaryCommentBefore || format.auxiliaryCommentAfter) { - this._flags |= 32; - } - } - enterDelimited() { - const oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode; - if (oldNoLineTerminatorAfterNode !== null) { - this._noLineTerminatorAfterNode = null; - } - return oldNoLineTerminatorAfterNode; - } - generate(ast) { - if (this.format.preserveFormat) { - this.tokenMap = new _tokenMap.TokenMap(ast, this._tokens, this._originalCode); - this._boundGetRawIdentifier = _types2._getRawIdentifier.bind(this); - } - this.print(ast); - this._maybeAddAuxComment(); - return this._buf.get(); - } - indent(flags = this._flags) { - if (flags & (1 | 2 | 4)) { - return; - } - this._indent += this._indentRepeat; - } - dedent(flags = this._flags) { - if (flags & (1 | 2 | 4)) { - return; - } - this._indent -= this._indentRepeat; - } - semicolon(force = false) { - const flags = this._flags; - if (flags & 32) { - this._maybeAddAuxComment(); - } - if (flags & 1) { - const node = this._currentNode; - if (node.start != null && node.end != null) { - if (!this.tokenMap.endMatches(node, ";")) { - this._printSemicolonBeforeNextNode = this._buf.getCurrentLine(); - return; - } - const indexes = this.tokenMap.getIndexes(this._currentNode); - this._catchUpTo(this._tokens[indexes[indexes.length - 1]].loc.start); - } - } - if (force) { - this._appendChar(59); - } else { - this._queue(59); - } - this._noLineTerminator = false; - } - rightBrace(node) { - if (this.format.minified) { - this._buf.removeLastSemicolon(); - } - this.sourceWithOffset("end", node.loc, -1); - this.tokenChar(125); - } - rightParens(node) { - this.sourceWithOffset("end", node.loc, -1); - this.tokenChar(41); - } - space(force = false) { - if (this._flags & (1 | 2)) { - return; - } - if (force) { - this._space(); - } else { - const lastCp = this.getLastChar(true); - if (lastCp !== 0 && lastCp !== 32 && lastCp !== 10) { - this._space(); - } - } - } - word(str, noLineTerminatorAfter = false) { - this.tokenContext &= _index.TokenContext.forInOrInitHeadAccumulatePassThroughMask; - this._maybePrintInnerComments(str); - const flags = this._flags; - if (flags & 32) { - this._maybeAddAuxComment(); - } - if (flags & 1) this._catchUpToCurrentToken(str); - const lastChar = this.getLastChar(); - if (lastChar === -2 || lastChar === -3 || lastChar === 47 && str.charCodeAt(0) === 47) { - this._space(); - } - this._append(str, false); - this.setLastChar(-3); - this._noLineTerminator = noLineTerminatorAfter; - } - number(str, number) { - function isNonDecimalLiteral(str) { - if (str.length > 2 && str.charCodeAt(0) === 48) { - const secondChar = str.charCodeAt(1); - return secondChar === 98 || secondChar === 111 || secondChar === 120; - } - return false; - } - this.word(str); - if (Number.isInteger(number) && !isNonDecimalLiteral(str) && !SCIENTIFIC_NOTATION.test(str) && !ZERO_DECIMAL_INTEGER.test(str) && str.charCodeAt(str.length - 1) !== 46) { - this.setLastChar(-2); - } - } - token(str, maybeNewline = false, occurrenceCount = 0, mayNeedSpace = false) { - this.tokenContext &= _index.TokenContext.forInOrInitHeadAccumulatePassThroughMask; - this._maybePrintInnerComments(str, occurrenceCount); - const flags = this._flags; - if (flags & 32) { - this._maybeAddAuxComment(); - } - if (flags & 1) { - this._catchUpToCurrentToken(str, occurrenceCount); - } - if (mayNeedSpace) { - const strFirst = str.charCodeAt(0); - if ((strFirst === 45 && str === "--" || strFirst === 61) && this.getLastChar() === 33 || strFirst === 43 && this.getLastChar() === 43 || strFirst === 45 && this.getLastChar() === 45 || strFirst === 46 && this.getLastChar() === -2) { - this._space(); - } - } - this._append(str, maybeNewline); - this._noLineTerminator = false; - } - tokenChar(char, occurrenceCount = 0) { - this.tokenContext &= _index.TokenContext.forInOrInitHeadAccumulatePassThroughMask; - this._maybePrintInnerComments(char, occurrenceCount); - const flags = this._flags; - if (flags & 32) { - this._maybeAddAuxComment(); - } - if (flags & 1) { - this._catchUpToCurrentToken(char, occurrenceCount); - } - if (char === 43 && this.getLastChar() === 43 || char === 45 && this.getLastChar() === 45 || char === 46 && this.getLastChar() === -2) { - this._space(); - } - this._appendChar(char); - this._noLineTerminator = false; - } - newline(i = 1, flags = this._flags) { - if (i <= 0) return; - if (flags & (8 | 2)) { - return; - } - if (flags & 4) { - this.space(); - return; - } - if (i > 2) i = 2; - i -= this._buf.getNewlineCount(); - for (let j = 0; j < i; j++) { - this._newline(); - } - } - endsWith(char) { - return this.getLastChar(true) === char; - } - getLastChar(checkQueue) { - return this._buf.getLastChar(checkQueue); - } - setLastChar(char) { - this._buf._last = char; - } - exactSource(loc, cb) { - if (!loc) { - cb(); - return; - } - this._catchUp("start", loc); - this._buf.exactSource(loc, cb); - } - source(prop, loc) { - if (!loc) return; - this._catchUp(prop, loc); - this._buf.source(prop, loc); - } - sourceWithOffset(prop, loc, columnOffset) { - if (!loc || this.format.preserveFormat) return; - this._catchUp(prop, loc); - this._buf.sourceWithOffset(prop, loc, columnOffset); - } - sourceIdentifierName(identifierName, pos) { - if (!this._buf._canMarkIdName) return; - const sourcePosition = this._buf._sourcePosition; - sourcePosition.identifierNamePos = pos; - sourcePosition.identifierName = identifierName; - } - _space() { - this._queue(32); - } - _newline() { - if (this._buf._queuedChar === 32) this._buf._queuedChar = 0; - this._appendChar(10, true); - } - _catchUpToCurrentToken(str, occurrenceCount = 0) { - const token = this.tokenMap.findMatching(this._currentNode, str, occurrenceCount); - if (token) this._catchUpTo(token.loc.start); - if (this._printSemicolonBeforeNextToken !== -1 && this._printSemicolonBeforeNextToken === this._buf.getCurrentLine()) { - this._appendChar(59, true); - } - this._printSemicolonBeforeNextToken = -1; - this._printSemicolonBeforeNextNode = -1; - } - _append(str, maybeNewline) { - this._maybeIndent(); - this._buf.append(str, maybeNewline); - } - _appendChar(char, noIndent) { - if (!noIndent) { - this._maybeIndent(); - } - this._buf.appendChar(char); - } - _queue(char) { - this._buf.queue(char); - this.setLastChar(-1); - } - _maybeIndent() { - const indent = this._shouldIndent(); - if (indent > 0) { - this._buf._appendChar(-1, indent, false); - } - } - _shouldIndent() { - return this.endsWith(10) ? this._indent : 0; - } - catchUp(line) { - if (!this.format.retainLines) return; - const count = line - this._buf.getCurrentLine(); - for (let i = 0; i < count; i++) { - this._newline(); - } - } - _catchUp(prop, loc) { - const flags = this._flags; - if ((flags & 1) === 0) { - if (flags & 8 && loc != null && loc[prop]) { - this.catchUp(loc[prop].line); - } - return; - } - const pos = loc == null ? void 0 : loc[prop]; - if (pos != null) this._catchUpTo(pos); - } - _catchUpTo({ - line, - column, - index - }) { - const count = line - this._buf.getCurrentLine(); - if (count > 0 && this._noLineTerminator) { - return; - } - for (let i = 0; i < count; i++) { - this._newline(); - } - const spacesCount = count > 0 ? column : column - this._buf.getCurrentColumn(); - if (spacesCount > 0) { - const spaces = this._originalCode ? this._originalCode.slice(index - spacesCount, index).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu, " ") : " ".repeat(spacesCount); - this._append(spaces, false); - this.setLastChar(32); - } - } - printTerminatorless(node) { - this._noLineTerminator = true; - this.print(node); - } - print(node, noLineTerminatorAfter = false, resetTokenContext = false, trailingCommentsLineOffset) { - var _node$leadingComments, _node$leadingComments2; - if (!node) return; - this._innerCommentsState = 0; - const { - type, - loc, - extra - } = node; - const flags = this._flags; - let changedFlags = false; - if (node._compact) { - this._flags |= 4; - changedFlags = true; - } - const nodeInfo = _nodes.generatorInfosMap.get(type); - if (nodeInfo === undefined) { - throw new ReferenceError(`unknown node of type ${JSON.stringify(type)} with constructor ${JSON.stringify(node.constructor.name)}`); - } - const [printMethod, nodeId, needsParens] = nodeInfo; - const parent = this._currentNode; - const parentId = this._currentTypeId; - this._currentNode = node; - this._currentTypeId = nodeId; - if (flags & 1) { - this._printSemicolonBeforeNextToken = this._printSemicolonBeforeNextNode; - } - let oldInAux; - if (flags & 32) { - oldInAux = this._insideAux; - this._insideAux = loc == null; - this._maybeAddAuxComment(this._insideAux && !oldInAux); - } - let oldTokenContext = 0; - if (resetTokenContext) { - oldTokenContext = this.tokenContext; - if (oldTokenContext & _index.TokenContext.forInOrInitHeadAccumulate) { - this.tokenContext = 0; - } else { - oldTokenContext = 0; - } - } - const parenthesized = extra != null && extra.parenthesized; - let shouldPrintParens = parenthesized && flags & 1 || parenthesized && flags & 16 && nodeId === 71 || parent && ((0, _index.parentNeedsParens)(node, parent, parentId) || needsParens != null && needsParens(node, parent, parentId, this.tokenContext, flags & 1 ? this._boundGetRawIdentifier : undefined)); - if (!shouldPrintParens && parenthesized && (_node$leadingComments = node.leadingComments) != null && _node$leadingComments.length && node.leadingComments[0].type === "CommentBlock") { - switch (parentId) { - case 65: - case 243: - case 6: - case 143: - break; - case 17: - case 130: - case 112: - if (parent.callee !== node) break; - default: - shouldPrintParens = true; - } - } - let indentParenthesized = false; - if (!shouldPrintParens && this._noLineTerminator && ((_node$leadingComments2 = node.leadingComments) != null && _node$leadingComments2.some(commentIsNewline) || flags & 8 && loc && loc.start.line > this._buf.getCurrentLine())) { - shouldPrintParens = true; - indentParenthesized = true; - } - let oldNoLineTerminatorAfterNode; - if (!shouldPrintParens) { - noLineTerminatorAfter || (noLineTerminatorAfter = !!parent && this._noLineTerminatorAfterNode === parent && (0, _index.isLastChild)(parent, node)); - if (noLineTerminatorAfter) { - var _node$trailingComment; - if ((_node$trailingComment = node.trailingComments) != null && _node$trailingComment.some(commentIsNewline)) { - if (isExpression(node)) shouldPrintParens = true; - } else { - oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode; - this._noLineTerminatorAfterNode = node; - } - } - } - if (shouldPrintParens) { - this.tokenChar(40); - if (indentParenthesized) this.indent(); - this._innerCommentsState = 0; - if (!resetTokenContext) { - oldTokenContext = this.tokenContext; - } - if (oldTokenContext & _index.TokenContext.forInOrInitHeadAccumulate) { - this.tokenContext = 0; - } - oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode; - this._noLineTerminatorAfterNode = null; - } - this._printLeadingComments(node, parent); - this.exactSource(nodeId === 139 || nodeId === 66 ? null : loc, printMethod.bind(this, node, parent)); - if (shouldPrintParens) { - this._printTrailingComments(node, parent); - if (indentParenthesized) { - this.dedent(); - this.newline(); - } - this.tokenChar(41); - this._noLineTerminator = noLineTerminatorAfter; - } else if (noLineTerminatorAfter && !this._noLineTerminator) { - this._noLineTerminator = true; - this._printTrailingComments(node, parent); - } else { - this._printTrailingComments(node, parent, trailingCommentsLineOffset); - } - if (oldTokenContext) this.tokenContext = oldTokenContext; - this._currentNode = parent; - this._currentTypeId = parentId; - if (changedFlags) { - this._flags = flags; - } - if (flags & 32) { - this._insideAux = oldInAux; - } - if (oldNoLineTerminatorAfterNode != null) { - this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode; - } - this._innerCommentsState = 0; - } - _maybeAddAuxComment(enteredPositionlessNode) { - if (enteredPositionlessNode) this._printAuxBeforeComment(); - if (!this._insideAux) this._printAuxAfterComment(); - } - _printAuxBeforeComment() { - if (this._printAuxAfterOnNextUserNode) return; - this._printAuxAfterOnNextUserNode = true; - const comment = this.format.auxiliaryCommentBefore; - if (comment) { - this._printComment({ - type: "CommentBlock", - value: comment - }, 0); - } - } - _printAuxAfterComment() { - if (!this._printAuxAfterOnNextUserNode) return; - this._printAuxAfterOnNextUserNode = false; - const comment = this.format.auxiliaryCommentAfter; - if (comment) { - this._printComment({ - type: "CommentBlock", - value: comment - }, 0); - } - } - getPossibleRaw(node) { - const extra = node.extra; - if ((extra == null ? void 0 : extra.raw) != null && extra.rawValue != null && node.value === extra.rawValue) { - return extra.raw; - } - } - printJoin(nodes, statement, indent, separator, printTrailingSeparator, resetTokenContext, trailingCommentsLineOffset) { - if (!(nodes != null && nodes.length)) return; - const flags = this._flags; - if (indent == null && flags & 8) { - var _nodes$0$loc; - const startLine = (_nodes$0$loc = nodes[0].loc) == null ? void 0 : _nodes$0$loc.start.line; - if (startLine != null && startLine !== this._buf.getCurrentLine()) { - indent = true; - } - } - if (indent) this.indent(flags); - const len = nodes.length; - for (let i = 0; i < len; i++) { - const node = nodes[i]; - if (!node) continue; - if (statement && i === 0 && this._buf.hasContent()) { - this.newline(1, flags); - } - this.print(node, false, resetTokenContext, trailingCommentsLineOffset || 0); - if (separator != null) { - if (i < len - 1) separator.call(this, i, false);else if (printTrailingSeparator) separator.call(this, i, true); - } - if (statement) { - if (i + 1 === len) { - this.newline(1, flags); - } else { - const lastCommentLine = this._lastCommentLine; - if (lastCommentLine > 0) { - var _nodes$loc; - const offset = (((_nodes$loc = nodes[i + 1].loc) == null ? void 0 : _nodes$loc.start.line) || 0) - lastCommentLine; - if (offset >= 0) { - this.newline(offset || 1, flags); - continue; - } - } - this.newline(1, flags); - } - } - } - if (indent) this.dedent(flags); - } - printAndIndentOnComments(node) { - const indent = node.leadingComments && node.leadingComments.length > 0; - if (indent) this.indent(); - this.print(node); - if (indent) this.dedent(); - } - printBlock(body) { - if (body.type !== "EmptyStatement") { - this.space(); - } - this.print(body); - } - _printTrailingComments(node, parent, lineOffset) { - const { - innerComments, - trailingComments - } = node; - if (innerComments != null && innerComments.length) { - this._printComments(2, innerComments, node, parent, lineOffset); - } - if (trailingComments != null && trailingComments.length) { - this._printComments(2, trailingComments, node, parent, lineOffset); - } else { - this._lastCommentLine = 0; - } - } - _printLeadingComments(node, parent) { - const comments = node.leadingComments; - if (!(comments != null && comments.length)) return; - this._printComments(0, comments, node, parent); - } - _maybePrintInnerComments(nextTokenStr, nextTokenOccurrenceCount) { - var _this$tokenMap; - const state = this._innerCommentsState; - switch (state & 3) { - case 0: - this._innerCommentsState = 1 | 4; - return; - case 1: - this.printInnerComments((state & 4) > 0, (_this$tokenMap = this.tokenMap) == null ? void 0 : _this$tokenMap.findMatching(this._currentNode, nextTokenStr, nextTokenOccurrenceCount)); - } - } - printInnerComments(indent = true, nextToken) { - const node = this._currentNode; - const comments = node.innerComments; - if (!(comments != null && comments.length)) { - this._innerCommentsState = 2; - return; - } - const hasSpace = this.endsWith(32); - if (indent) this.indent(); - switch (this._printComments(1, comments, node, undefined, undefined, nextToken)) { - case 2: - this._innerCommentsState = 2; - case 1: - if (hasSpace) this.space(); - } - if (indent) this.dedent(); - } - noIndentInnerCommentsHere() { - this._innerCommentsState &= ~4; - } - printSequence(nodes, indent, resetTokenContext, trailingCommentsLineOffset) { - this.printJoin(nodes, true, indent != null ? indent : false, undefined, undefined, resetTokenContext, trailingCommentsLineOffset); - } - printList(items, printTrailingSeparator, statement, indent, separator, resetTokenContext) { - this.printJoin(items, statement, indent, separator != null ? separator : commaSeparator, printTrailingSeparator, resetTokenContext); - } - shouldPrintTrailingComma(listEnd) { - if (!this.tokenMap) return null; - const listEndIndex = this.tokenMap.findLastIndex(this._currentNode, token => this.tokenMap.matchesOriginal(token, typeof listEnd === "number" ? String.fromCharCode(listEnd) : listEnd)); - if (listEndIndex <= 0) return null; - return this.tokenMap.matchesOriginal(this._tokens[listEndIndex - 1], ","); - } - _shouldPrintComment(comment, nextToken) { - if (comment.ignore) return 0; - if (this._printedComments.has(comment)) return 0; - if (this._noLineTerminator && HAS_NEWLINE_OR_BlOCK_COMMENT_END.test(comment.value)) { - return 2; - } - if (nextToken && this.tokenMap) { - const commentTok = this.tokenMap.find(this._currentNode, token => token.value === comment.value); - if (commentTok && commentTok.start > nextToken.start) { - return 2; - } - } - this._printedComments.add(comment); - if (!this.format.shouldPrintComment(comment.value)) { - return 0; - } - return 1; - } - _printComment(comment, skipNewLines) { - const noLineTerminator = this._noLineTerminator; - const isBlockComment = comment.type === "CommentBlock"; - const printNewLines = isBlockComment && skipNewLines !== 1 && !noLineTerminator; - if (printNewLines && this._buf.hasContent() && skipNewLines !== 2) { - this.newline(1); - } - switch (this.getLastChar(true)) { - case 47: - this._space(); - case 91: - case 123: - case 40: - break; - default: - this.space(); - } - let val; - if (isBlockComment) { - val = `/*${comment.value}*/`; - if (this.format.indent.adjustMultilineComment) { - var _comment$loc; - const offset = (_comment$loc = comment.loc) == null ? void 0 : _comment$loc.start.column; - if (offset) { - const newlineRegex = new RegExp("\\n\\s{1," + offset + "}", "g"); - val = val.replace(newlineRegex, "\n"); - } - if (this._flags & 4) { - val = val.replace(/\n(?!$)/g, `\n`); - } else { - let indentSize = this.format.retainLines ? 0 : this._buf.getCurrentColumn(); - if (this._shouldIndent() || this.format.retainLines) { - indentSize += this._indent; - } - val = val.replace(/\n(?!$)/g, `\n${" ".repeat(indentSize)}`); - } - } - } else if (!noLineTerminator) { - val = `//${comment.value}`; - } else { - val = `/*${comment.value}*/`; - } - this.source("start", comment.loc); - this._append(val, isBlockComment); - if (!isBlockComment && !noLineTerminator) { - this._newline(); - } - if (printNewLines && skipNewLines !== 3) { - this.newline(1); - } - } - _printComments(type, comments, node, parent, lineOffset = 0, nextToken) { - const nodeLoc = node.loc; - const len = comments.length; - let hasLoc = !!nodeLoc; - const nodeStartLine = hasLoc ? nodeLoc.start.line : 0; - const nodeEndLine = hasLoc ? nodeLoc.end.line : 0; - let lastLine = 0; - let leadingCommentNewline = 0; - const { - _noLineTerminator, - _flags - } = this; - for (let i = 0; i < len; i++) { - const comment = comments[i]; - const shouldPrint = this._shouldPrintComment(comment, nextToken); - if (shouldPrint === 2) { - return i === 0 ? 0 : 1; - } - if (hasLoc && comment.loc && shouldPrint === 1) { - const commentStartLine = comment.loc.start.line; - const commentEndLine = comment.loc.end.line; - if (type === 0) { - let offset = 0; - if (i === 0) { - if (this._buf.hasContent() && (comment.type === "CommentLine" || commentStartLine !== commentEndLine)) { - offset = leadingCommentNewline = 1; - } - } else { - offset = commentStartLine - lastLine; - } - lastLine = commentEndLine; - if (offset > 0 && !_noLineTerminator) { - this.newline(offset, _flags); - } - this._printComment(comment, 1); - if (i + 1 === len) { - const count = Math.max(nodeStartLine - lastLine, leadingCommentNewline); - if (count > 0 && !_noLineTerminator) { - this.newline(count, _flags); - } - lastLine = nodeStartLine; - } - } else if (type === 1) { - const offset = commentStartLine - (i === 0 ? nodeStartLine : lastLine); - lastLine = commentEndLine; - if (offset > 0 && !_noLineTerminator) { - this.newline(offset, _flags); - } - this._printComment(comment, 1); - if (i + 1 === len) { - const count = Math.min(1, nodeEndLine - lastLine); - if (count > 0 && !_noLineTerminator) { - this.newline(count, _flags); - } - lastLine = nodeEndLine; - } - } else { - const offset = commentStartLine - (i === 0 ? nodeEndLine - lineOffset : lastLine); - lastLine = commentEndLine; - if (offset > 0 && !_noLineTerminator) { - this.newline(offset, _flags); - } - this._printComment(comment, 1); - } - } else { - hasLoc = false; - if (shouldPrint !== 1) { - continue; - } - if (len === 1) { - const singleLine = comment.loc ? comment.loc.start.line === comment.loc.end.line : !HAS_NEWLINE.test(comment.value); - const shouldSkipNewline = singleLine && !isStatement(node) && !isClassBody(parent) && !isTSInterfaceBody(parent) && !isTSEnumMember(node); - if (type === 0) { - this._printComment(comment, shouldSkipNewline && node.type !== "ObjectExpression" || singleLine && isFunction(parent) && parent.body === node ? 1 : 0); - } else if (shouldSkipNewline && type === 2) { - this._printComment(comment, 1); - } else { - this._printComment(comment, 0); - } - } else if (type === 1 && !(node.type === "ObjectExpression" && node.properties.length > 1) && node.type !== "ClassBody" && node.type !== "TSInterfaceBody") { - this._printComment(comment, i === 0 ? 2 : i === len - 1 ? 3 : 0); - } else { - this._printComment(comment, 0); - } - } - } - if (type === 2 && hasLoc && lastLine) { - this._lastCommentLine = lastLine; - } - return 2; - } -} -var _default = exports.default = Printer; -function commaSeparator(occurrenceCount, last) { - this.tokenChar(44, occurrenceCount); - if (!last) this.space(); -} - -//# sourceMappingURL=printer.js.map diff --git a/lambdas/risk-engine/node_modules/@babel/generator/lib/printer.js.map b/lambdas/risk-engine/node_modules/@babel/generator/lib/printer.js.map deleted file mode 100644 index 1576929a..00000000 --- a/lambdas/risk-engine/node_modules/@babel/generator/lib/printer.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"names":["_buffer","require","_index","_nodes","_t","_tokenMap","_types2","isExpression","isFunction","isStatement","isClassBody","isTSInterfaceBody","isTSEnumMember","SCIENTIFIC_NOTATION","ZERO_DECIMAL_INTEGER","HAS_NEWLINE","HAS_NEWLINE_OR_BlOCK_COMMENT_END","commentIsNewline","c","type","test","value","Printer","constructor","format","map","tokens","originalCode","tokenContext","TokenContext","normal","_tokens","_originalCode","_currentNode","_currentTypeId","_indent","_indentRepeat","_insideAux","_noLineTerminator","_noLineTerminatorAfterNode","_printAuxAfterOnNextUserNode","_printedComments","Set","_lastCommentLine","_innerCommentsState","_flags","tokenMap","_boundGetRawIdentifier","_printSemicolonBeforeNextNode","_printSemicolonBeforeNextToken","indent","style","length","_inputMap","_buf","Buffer","preserveFormat","compact","concise","retainLines","retainFunctionParens","auxiliaryCommentBefore","auxiliaryCommentAfter","enterDelimited","oldNoLineTerminatorAfterNode","generate","ast","TokenMap","_getRawIdentifier","bind","print","_maybeAddAuxComment","get","flags","dedent","semicolon","force","node","start","end","endMatches","getCurrentLine","indexes","getIndexes","_catchUpTo","loc","_appendChar","_queue","rightBrace","minified","removeLastSemicolon","sourceWithOffset","token","rightParens","space","_space","lastCp","getLastChar","word","str","noLineTerminatorAfter","forInOrInitHeadAccumulatePassThroughMask","_maybePrintInnerComments","_catchUpToCurrentToken","lastChar","charCodeAt","_append","setLastChar","number","isNonDecimalLiteral","secondChar","Number","isInteger","maybeNewline","occurrenceCount","mayNeedSpace","strFirst","tokenChar","char","newline","i","getNewlineCount","j","_newline","endsWith","checkQueue","_last","exactSource","cb","_catchUp","source","prop","columnOffset","sourceIdentifierName","identifierName","pos","_canMarkIdName","sourcePosition","_sourcePosition","identifierNamePos","_queuedChar","findMatching","_maybeIndent","append","noIndent","appendChar","queue","_shouldIndent","catchUp","line","count","column","index","spacesCount","getCurrentColumn","spaces","slice","replace","repeat","printTerminatorless","resetTokenContext","trailingCommentsLineOffset","_node$leadingComments","_node$leadingComments2","extra","changedFlags","_compact","nodeInfo","generatorInfosMap","undefined","ReferenceError","JSON","stringify","name","printMethod","nodeId","needsParens","parent","parentId","oldInAux","oldTokenContext","forInOrInitHeadAccumulate","parenthesized","shouldPrintParens","parentNeedsParens","leadingComments","callee","indentParenthesized","some","isLastChild","_node$trailingComment","trailingComments","_printLeadingComments","_printTrailingComments","enteredPositionlessNode","_printAuxBeforeComment","_printAuxAfterComment","comment","_printComment","getPossibleRaw","raw","rawValue","printJoin","nodes","statement","separator","printTrailingSeparator","_nodes$0$loc","startLine","len","hasContent","call","lastCommentLine","_nodes$loc","offset","printAndIndentOnComments","printBlock","body","lineOffset","innerComments","_printComments","comments","nextTokenStr","nextTokenOccurrenceCount","_this$tokenMap","state","printInnerComments","nextToken","hasSpace","noIndentInnerCommentsHere","printSequence","printList","items","commaSeparator","shouldPrintTrailingComma","listEnd","listEndIndex","findLastIndex","matchesOriginal","String","fromCharCode","_shouldPrintComment","ignore","has","commentTok","find","add","shouldPrintComment","skipNewLines","noLineTerminator","isBlockComment","printNewLines","val","adjustMultilineComment","_comment$loc","newlineRegex","RegExp","indentSize","nodeLoc","hasLoc","nodeStartLine","nodeEndLine","lastLine","leadingCommentNewline","shouldPrint","commentStartLine","commentEndLine","Math","max","min","singleLine","shouldSkipNewline","properties","_default","exports","default","last"],"sources":["../src/printer.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unsafe-enum-comparison */\n\nimport Buffer from \"./buffer.ts\";\nimport type { Loc, Pos } from \"./buffer.ts\";\nimport { isLastChild, parentNeedsParens } from \"./node/index.ts\";\nimport { generatorInfosMap } from \"./nodes.ts\";\nimport type * as t from \"@babel/types\";\nimport {\n isExpression,\n isFunction,\n isStatement,\n isClassBody,\n isTSInterfaceBody,\n isTSEnumMember,\n} from \"@babel/types\";\nimport type { Opts as jsescOptions } from \"jsesc\";\n\nimport { TokenMap } from \"./token-map.ts\";\n\nimport type { GeneratorOptions } from \"./index.ts\";\nimport type SourceMap from \"./source-map.ts\";\nimport type { TraceMap } from \"@jridgewell/trace-mapping\";\nimport type { Token } from \"@babel/parser\";\n\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\n\nconst SCIENTIFIC_NOTATION = /e/i;\nconst ZERO_DECIMAL_INTEGER = /\\.0+$/;\nconst HAS_NEWLINE = /[\\n\\r\\u2028\\u2029]/;\nconst HAS_NEWLINE_OR_BlOCK_COMMENT_END = /[\\n\\r\\u2028\\u2029]|\\*\\//;\n\nfunction commentIsNewline(c: t.Comment) {\n return c.type === \"CommentLine\" || HAS_NEWLINE.test(c.value);\n}\n\nimport { TokenContext } from \"./node/index.ts\";\nimport { _getRawIdentifier } from \"./generators/types.ts\";\n\nconst enum COMMENT_TYPE {\n LEADING,\n INNER,\n TRAILING,\n}\n\nconst enum COMMENT_SKIP_NEWLINE {\n DEFAULT,\n ALL,\n LEADING,\n TRAILING,\n}\n\nconst enum PRINT_COMMENT_HINT {\n SKIP,\n ALLOW,\n DEFER,\n}\n\nconst enum PRINTER_FLAGS {\n EMPTY = 0,\n PRESERVE_FORMAT = 1 << 0,\n COMPACT = 1 << 1,\n CONCISE = 1 << 2,\n RETAIN_LINES = 1 << 3,\n RETAIN_FUNCTION_PARENS = 1 << 4,\n AUX_COMMENTS = 1 << 5,\n}\n\nconst enum LAST_CHAR_KINDS {\n EMPTY = 0,\n NORMAL = -1,\n INTEGER = -2,\n WORD = -3,\n}\n\nconst enum INNER_COMMENTS_STATE {\n DISALLOWED = 0,\n ALLOWED = 1,\n PRINTED = 2,\n\n WITH_INDENT = 4,\n MASK = 3,\n}\n\nconst enum PRINT_COMMENTS_RESULT {\n PRINTED_NONE = 0,\n PRINTED_SOME = 1,\n PRINTED_ALL = 2,\n}\n\nexport type Format = {\n shouldPrintComment: (comment: string) => boolean;\n preserveFormat: boolean | undefined;\n retainLines: boolean | undefined;\n retainFunctionParens: boolean | undefined;\n comments: boolean | undefined;\n auxiliaryCommentBefore: string | undefined;\n auxiliaryCommentAfter: string | undefined;\n compact: boolean | \"auto\" | undefined;\n minified: boolean | undefined;\n concise: boolean | undefined;\n indent: {\n adjustMultilineComment: boolean;\n style: string;\n };\n /**\n * @deprecated Removed in Babel 8, syntax type is always 'hash'\n */\n recordAndTupleSyntaxType?: GeneratorOptions[\"recordAndTupleSyntaxType\"];\n jsescOption: jsescOptions;\n /**\n * @deprecated Removed in Babel 8, use `jsescOption` instead\n */\n jsonCompatibleStrings?: boolean;\n /**\n * For use with the Hack-style pipe operator.\n * Changes what token is used for pipe bodies’ topic references.\n */\n topicToken?: GeneratorOptions[\"topicToken\"];\n /**\n * @deprecated Removed in Babel 8\n */\n decoratorsBeforeExport?: boolean;\n /**\n * The import attributes syntax style:\n * - \"with\" : `import { a } from \"b\" with { type: \"json\" };`\n * - \"assert\" : `import { a } from \"b\" assert { type: \"json\" };`\n * - \"with-legacy\" : `import { a } from \"b\" with type: \"json\";`\n * @deprecated Removed in Babel 8.\n */\n importAttributesKeyword?: \"with\" | \"assert\" | \"with-legacy\";\n};\n\ninterface PrintSequenceOptions {\n statement?: boolean;\n indent?: boolean;\n trailingCommentsLineOffset?: number;\n}\n\ninterface PrintListOptions {\n separator?: (this: Printer, occurrenceCount: number, last: boolean) => void;\n statement?: boolean;\n indent?: boolean;\n printTrailingSeparator?: boolean;\n}\n\nexport type PrintJoinOptions = PrintListOptions & PrintSequenceOptions;\nclass Printer {\n constructor(\n format: Format,\n map: SourceMap | null,\n tokens: Token[] | null = null,\n originalCode: string | null = null,\n ) {\n this.format = format;\n\n this._tokens = tokens;\n this._originalCode = originalCode;\n\n this._indentRepeat = format.indent.style.length;\n\n this._inputMap = map?._inputMap || null;\n\n this._buf = new Buffer(map, format.indent.style[0]);\n\n const {\n preserveFormat,\n compact,\n concise,\n retainLines,\n retainFunctionParens,\n } = format;\n if (preserveFormat) {\n this._flags |= PRINTER_FLAGS.PRESERVE_FORMAT;\n }\n if (compact) {\n this._flags |= PRINTER_FLAGS.COMPACT;\n }\n if (concise) {\n this._flags |= PRINTER_FLAGS.CONCISE;\n }\n if (retainLines) {\n this._flags |= PRINTER_FLAGS.RETAIN_LINES;\n }\n if (retainFunctionParens) {\n this._flags |= PRINTER_FLAGS.RETAIN_FUNCTION_PARENS;\n }\n if (format.auxiliaryCommentBefore || format.auxiliaryCommentAfter) {\n this._flags |= PRINTER_FLAGS.AUX_COMMENTS;\n }\n }\n declare _inputMap: TraceMap | null;\n\n declare format: Format;\n\n enterDelimited() {\n const oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode;\n if (oldNoLineTerminatorAfterNode !== null) {\n this._noLineTerminatorAfterNode = null;\n }\n return oldNoLineTerminatorAfterNode;\n }\n\n tokenContext: number = TokenContext.normal;\n\n _tokens: Token[] | null = null;\n _originalCode: string | null = null;\n\n declare _buf: Buffer;\n _currentNode: t.Node | null = null;\n _currentTypeId: number | null = null;\n _indent: number = 0;\n _indentRepeat: number = 0;\n _insideAux: boolean = false;\n _noLineTerminator: boolean = false;\n _noLineTerminatorAfterNode: t.Node | null = null;\n _printAuxAfterOnNextUserNode: boolean = false;\n _printedComments = new Set();\n _lastCommentLine = 0;\n _innerCommentsState = INNER_COMMENTS_STATE.DISALLOWED;\n _flags = PRINTER_FLAGS.EMPTY;\n\n tokenMap: TokenMap | null = null;\n\n _boundGetRawIdentifier: ((node: t.Identifier) => string) | null = null;\n\n generate(ast: t.Node) {\n if (this.format.preserveFormat) {\n this.tokenMap = new TokenMap(ast, this._tokens!, this._originalCode!);\n this._boundGetRawIdentifier = _getRawIdentifier.bind(this);\n }\n this.print(ast);\n this._maybeAddAuxComment();\n\n return this._buf.get();\n }\n\n /**\n * Increment indent size.\n */\n\n indent(flags = this._flags): void {\n if (\n flags &\n (PRINTER_FLAGS.PRESERVE_FORMAT |\n PRINTER_FLAGS.COMPACT |\n PRINTER_FLAGS.CONCISE)\n ) {\n return;\n }\n\n this._indent += this._indentRepeat;\n }\n\n /**\n * Decrement indent size.\n */\n\n dedent(flags = this._flags): void {\n if (\n flags &\n (PRINTER_FLAGS.PRESERVE_FORMAT |\n PRINTER_FLAGS.COMPACT |\n PRINTER_FLAGS.CONCISE)\n ) {\n return;\n }\n\n this._indent -= this._indentRepeat;\n }\n\n /**\n * If the next token is on the same line, we must first print a semicolon.\n * This option is only used in `preserveFormat` node, for semicolons that\n * might have omitted due to them being absent in the original code (thanks\n * to ASI).\n *\n * We need both *NextToken and *NextNode because we only want to insert the\n * semicolon when the next token starts a new node, and not in cases like\n * foo} (where } is not starting a new node). So we first set *NextNode, and\n * then the print() method will move it to *NextToken.\n */\n _printSemicolonBeforeNextNode: number = -1;\n _printSemicolonBeforeNextToken: number = -1;\n\n /**\n * Add a semicolon to the buffer.\n */\n semicolon(force: boolean = false): void {\n const flags = this._flags;\n if (flags & PRINTER_FLAGS.AUX_COMMENTS) {\n this._maybeAddAuxComment();\n }\n if (flags & PRINTER_FLAGS.PRESERVE_FORMAT) {\n const node = this._currentNode!;\n if (node.start != null && node.end != null) {\n if (!this.tokenMap!.endMatches(node, \";\")) {\n // no semicolon\n this._printSemicolonBeforeNextNode = this._buf.getCurrentLine();\n return;\n }\n const indexes = this.tokenMap!.getIndexes(this._currentNode!)!;\n this._catchUpTo(this._tokens![indexes[indexes.length - 1]].loc.start);\n }\n }\n if (force) {\n this._appendChar(charCodes.semicolon);\n } else {\n this._queue(charCodes.semicolon);\n }\n this._noLineTerminator = false;\n }\n\n /**\n * Add a right brace to the buffer.\n */\n\n rightBrace(node: t.Node): void {\n if (this.format.minified) {\n this._buf.removeLastSemicolon();\n }\n this.sourceWithOffset(\"end\", node.loc, -1);\n this.token(\"}\");\n }\n\n rightParens(node: t.Node): void {\n this.sourceWithOffset(\"end\", node.loc, -1);\n this.token(\")\");\n }\n\n /**\n * Add a space to the buffer unless it is compact.\n */\n\n space(force: boolean = false): void {\n if (this._flags & (PRINTER_FLAGS.PRESERVE_FORMAT | PRINTER_FLAGS.COMPACT)) {\n return;\n }\n\n if (force) {\n this._space();\n } else {\n const lastCp = this.getLastChar(true);\n if (\n lastCp !== 0 &&\n lastCp !== charCodes.space &&\n lastCp !== charCodes.lineFeed\n ) {\n this._space();\n }\n }\n }\n\n /**\n * Writes a token that can't be safely parsed without taking whitespace into account.\n */\n\n word(str: string, noLineTerminatorAfter: boolean = false): void {\n this.tokenContext &= TokenContext.forInOrInitHeadAccumulatePassThroughMask;\n\n this._maybePrintInnerComments(str);\n\n const flags = this._flags;\n if (flags & PRINTER_FLAGS.AUX_COMMENTS) {\n this._maybeAddAuxComment();\n }\n\n if (flags & PRINTER_FLAGS.PRESERVE_FORMAT) this._catchUpToCurrentToken(str);\n\n const lastChar = this.getLastChar();\n\n if (\n lastChar === LAST_CHAR_KINDS.INTEGER ||\n lastChar === LAST_CHAR_KINDS.WORD ||\n // prevent concatenating words and creating // comment out of division and regex\n (lastChar === charCodes.slash && str.charCodeAt(0) === charCodes.slash)\n ) {\n this._space();\n }\n this._append(str, false);\n\n this.setLastChar(-3);\n this._noLineTerminator = noLineTerminatorAfter;\n }\n\n /**\n * Writes a number token so that we can validate if it is an integer.\n */\n\n number(str: string, number?: number): void {\n // const NON_DECIMAL_LITERAL = /^0[box]/;\n function isNonDecimalLiteral(str: string) {\n if (str.length > 2 && str.charCodeAt(0) === charCodes.digit0) {\n const secondChar = str.charCodeAt(1);\n return (\n secondChar === charCodes.lowercaseB ||\n secondChar === charCodes.lowercaseO ||\n secondChar === charCodes.lowercaseX\n );\n }\n return false;\n }\n this.word(str);\n\n // Integer tokens need special handling because they cannot have '.'s inserted immediately after them.\n if (\n Number.isInteger(number) &&\n !isNonDecimalLiteral(str) &&\n !SCIENTIFIC_NOTATION.test(str) &&\n !ZERO_DECIMAL_INTEGER.test(str) &&\n str.charCodeAt(str.length - 1) !== charCodes.dot\n ) {\n this.setLastChar(LAST_CHAR_KINDS.INTEGER);\n }\n }\n\n /**\n * Writes a simple token.\n *\n * @param {string} str The string to append.\n * @param {boolean} [maybeNewline=false] Wether `str` might potentially\n * contain a line terminator or not.\n * @param {number} [occurrenceCount=0] The occurrence count of this token in\n * the current node. This is used when printing in `preserveFormat` mode,\n * to know which token we should map to (for example, to disambiguate the\n * commas in an array literal).\n */\n token(\n str: string,\n maybeNewline = false,\n occurrenceCount = 0,\n mayNeedSpace: boolean = false,\n ): void {\n this.tokenContext &= TokenContext.forInOrInitHeadAccumulatePassThroughMask;\n\n this._maybePrintInnerComments(str, occurrenceCount);\n\n const flags = this._flags;\n\n if (flags & PRINTER_FLAGS.AUX_COMMENTS) {\n this._maybeAddAuxComment();\n }\n\n if (flags & PRINTER_FLAGS.PRESERVE_FORMAT) {\n this._catchUpToCurrentToken(str, occurrenceCount);\n }\n\n if (mayNeedSpace) {\n const strFirst = str.charCodeAt(0);\n if (\n // space is mandatory to avoid outputting ` line comment\n const comment = this.skipLineComment(3);\n if (comment !== undefined) {\n this.addComment(comment);\n comments?.push(comment);\n }\n } else {\n break loop;\n }\n } else if (\n ch === charCodes.lessThan &&\n !this.inModule &&\n this.optionFlags & OptionFlags.AnnexB\n ) {\n const pos = this.state.pos;\n if (\n this.input.charCodeAt(pos + 1) === charCodes.exclamationMark &&\n this.input.charCodeAt(pos + 2) === charCodes.dash &&\n this.input.charCodeAt(pos + 3) === charCodes.dash\n ) {\n // ` - - All Contributors: 18 👪 - - - 🤝 Code of Conduct: Kept - 🧪 Coverage - 📝 License: MIT - 📦 npm version - 💪 TypeScript: Strict -

- -## Usage - -```shell -npm i dedent -``` - -```js -import dedent from "dedent"; - -function usageExample() { - const first = dedent`A string that gets so long you need to break it over - multiple lines. Luckily dedent is here to keep it - readable without lots of spaces ending up in the string - itself.`; - - const second = dedent` - Leading and trailing lines will be trimmed, so you can write something like - this and have it work as you expect: - - * how convenient it is - * that I can use an indented list - - and still have it do the right thing - - That's all. - `; - - const third = dedent(` - Wait! I lied. Dedent can also be used as a function. - `); - - return first + "\n\n" + second + "\n\n" + third; -} - -console.log(usageExample()); -``` - -```plaintext -A string that gets so long you need to break it over -multiple lines. Luckily dedent is here to keep it -readable without lots of spaces ending up in the string -itself. - -Leading and trailing lines will be trimmed, so you can write something like -this and have it work as you expect: - - * how convenient it is - * that I can use an indented list - - and still have it do the right thing - -That's all. - -Wait! I lied. Dedent can also be used as a function. -``` - -## Options - -You can customize the options `dedent` runs with by calling its `withOptions` method with an object: - - -```js -import dedent from 'dedent'; - -dedent.withOptions({ /* ... */ })`input`; -dedent.withOptions({ /* ... */ })(`input`); -``` - -`options` returns a new `dedent` function, so if you'd like to reuse the same options, you can create a dedicated `dedent` function: - - -```js -import dedent from 'dedent'; - -const dedenter = dedent.withOptions({ /* ... */ }); - -dedenter`input`; -dedenter(`input`); -``` - -### `alignValues` - -When an interpolation evaluates to a multi-line string, only its first line is placed where the `${...}` appears. Subsequent lines keep whatever indentation they already had inside that value (often none), so they can appear “shifted left”. - -Enable `alignValues` to fix that visual jump. When `true`, for every multi-line interpolated value, each line after the first gets extra indentation appended so it starts in the same column as the first line. - -```js -import dedent from "dedent"; - -const list = dedent` - - apples - - bananas - - cherries -`; - -const withoutAlign = dedent` - List without alignValues (default): - ${list} - Done. -`; - -const withAlign = dedent.withOptions({ alignValues: true })` - List with alignValues: true - ${list} - Done. -`; - -console.log(withoutAlign); -console.log("---"); -console.log(withAlign); -``` - -```plaintext -List without alignValues (default): - - apples -- bananas -- cherries -Done. ---- -List with alignValues: true - - apples - - bananas - - cherries -Done. -``` - -### `escapeSpecialCharacters` - -JavaScript string tags by default add an extra `\` escape in front of some special characters such as `$` dollar signs. -`dedent` will escape those special characters when called as a string tag. - -If you'd like to change the behavior, an `escapeSpecialCharacters` option is available. -It defaults to: - -- `false`: when `dedent` is called as a function -- `true`: when `dedent` is called as a string tag - -```js -import dedent from "dedent"; - -// "$hello!" -dedent` - $hello! -`; - -// "\$hello!" -dedent.withOptions({ escapeSpecialCharacters: false })` - $hello! -`; - -// "$hello!" -dedent.withOptions({ escapeSpecialCharacters: true })` - $hello! -`; -``` - -For more context, see [🚀 Feature: Add an option to disable special character escaping](https://github.com/dmnd/dedent/issues/63). - -### `trimWhitespace` - -By default, dedent will trim leading and trailing whitespace from the overall string. - -This can be disabled by setting `trimWhitespace: false`. - -```js -import dedent from "dedent"; - -// "hello!" -dedent` - hello! -`; - -// "\nhello! \n" -dedent.withOptions({ trimWhitespace: false })` - hello! -`; - -// "hello!" -dedent.withOptions({ trimWhitespace: true })` - hello! -`; -``` - -## License - -MIT - -## Contributors - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Adrian Jost
Adrian Jost

💻
Andri Möll
Andri Möll

🐛
Benny Powers - עם ישראל חי!
Benny Powers - עם ישראל חי!

🔧
Craig Spence
Craig Spence

💻
Desmond Brand
Desmond Brand

🐛 💻 📖 🤔 🚇 🚧 📆 🔧
Gareth Jones
Gareth Jones

💻 🐛
Gray Zhang
Gray Zhang

🐛
Haroen Viaene
Haroen Viaene

💻 🚧
Hyeseong Kim
Hyeseong Kim

🔧 🚇
John L. Armstrong IV
John L. Armstrong IV

🐛
Josh Goldberg ✨
Josh Goldberg ✨

🐛 💻 📖 🤔 🚇 🚧 📆 🔧
Pratap Vardhan
Pratap Vardhan

💻
Simon Lydell
Simon Lydell

🐛
Yusuke Iinuma
Yusuke Iinuma

💻
Yves M.
Yves M.

🔧
d07riv
d07riv

🐛
mizdra
mizdra

💻
sirian
sirian

🐛
- - - - - - - -> 💙 This package was templated with [create-typescript-app](https://github.com/JoshuaKGoldberg/create-typescript-app). diff --git a/lambdas/risk-engine/node_modules/dedent/dist/dedent.d.mts b/lambdas/risk-engine/node_modules/dedent/dist/dedent.d.mts deleted file mode 100644 index 24c8bab9..00000000 --- a/lambdas/risk-engine/node_modules/dedent/dist/dedent.d.mts +++ /dev/null @@ -1,15 +0,0 @@ -interface DedentOptions { - alignValues?: boolean; - escapeSpecialCharacters?: boolean; - trimWhitespace?: boolean; -} -interface Dedent { - (literals: string): string; - (strings: TemplateStringsArray, ...values: unknown[]): string; - withOptions: CreateDedent; -} -type CreateDedent = (options: DedentOptions) => Dedent; - -declare const dedent: Dedent; - -export { CreateDedent, Dedent, DedentOptions, dedent as default }; diff --git a/lambdas/risk-engine/node_modules/dedent/dist/dedent.d.ts b/lambdas/risk-engine/node_modules/dedent/dist/dedent.d.ts deleted file mode 100644 index 24c8bab9..00000000 --- a/lambdas/risk-engine/node_modules/dedent/dist/dedent.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -interface DedentOptions { - alignValues?: boolean; - escapeSpecialCharacters?: boolean; - trimWhitespace?: boolean; -} -interface Dedent { - (literals: string): string; - (strings: TemplateStringsArray, ...values: unknown[]): string; - withOptions: CreateDedent; -} -type CreateDedent = (options: DedentOptions) => Dedent; - -declare const dedent: Dedent; - -export { CreateDedent, Dedent, DedentOptions, dedent as default }; diff --git a/lambdas/risk-engine/node_modules/dedent/dist/dedent.js b/lambdas/risk-engine/node_modules/dedent/dist/dedent.js deleted file mode 100644 index 5c8cdc95..00000000 --- a/lambdas/risk-engine/node_modules/dedent/dist/dedent.js +++ /dev/null @@ -1,105 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -const dedent = createDedent({}); -var _default = exports.default = dedent; -function createDedent(options) { - dedent.withOptions = newOptions => createDedent({ - ...options, - ...newOptions - }); - return dedent; - function dedent(strings, ...values) { - const raw = typeof strings === "string" ? [strings] : strings.raw; - const { - alignValues = false, - escapeSpecialCharacters = Array.isArray(strings), - trimWhitespace = true - } = options; - - // first, perform interpolation - let result = ""; - for (let i = 0; i < raw.length; i++) { - let next = raw[i]; - if (escapeSpecialCharacters) { - // handle escaped newlines, backticks, and interpolation characters - next = next.replace(/\\\n[ \t]*/g, "").replace(/\\`/g, "`").replace(/\\\$/g, "$").replace(/\\\{/g, "{"); - } - result += next; - if (i < values.length) { - const value = alignValues ? alignValue(values[i], result) : values[i]; - - // eslint-disable-next-line @typescript-eslint/restrict-plus-operands - result += value; - } - } - - // now strip indentation - const lines = result.split("\n"); - let mindent = null; - for (const l of lines) { - const m = l.match(/^(\s+)\S+/); - if (m) { - const indent = m[1].length; - if (!mindent) { - // this is the first indented line - mindent = indent; - } else { - mindent = Math.min(mindent, indent); - } - } - } - if (mindent !== null) { - const m = mindent; // appease TypeScript - result = lines - // https://github.com/typescript-eslint/typescript-eslint/issues/7140 - // eslint-disable-next-line @typescript-eslint/prefer-string-starts-ends-with - .map(l => l[0] === " " || l[0] === "\t" ? l.slice(m) : l).join("\n"); - } - - // dedent eats leading and trailing whitespace too - if (trimWhitespace) { - result = result.trim(); - } - - // Unescape escapes after trimming so sequences like `\n`, `\t`, - // `\xHH` and `\u{...}` are preserved (fixes #24) - if (escapeSpecialCharacters) { - result = result.replace(/\\n/g, "\n").replace(/\\t/g, "\t").replace(/\\r/g, "\r").replace(/\\v/g, "\v").replace(/\\b/g, "\b").replace(/\\f/g, "\f").replace(/\\0/g, "\0").replace(/\\x([\da-fA-F]{2})/g, (_, h) => String.fromCharCode(parseInt(h, 16))).replace(/\\u\{([\da-fA-F]{1,6})\}/g, (_, h) => String.fromCodePoint(parseInt(h, 16))).replace(/\\u([\da-fA-F]{4})/g, (_, h) => String.fromCharCode(parseInt(h, 16))); - } - - // Workaround for Bun issue with Unicode characters - // https://github.com/oven-sh/bun/issues/8745 - if (typeof Bun !== "undefined") { - result = result.replace( - // Matches e.g. \\u{1f60a} or \\u5F1F - /\\u(?:\{([\da-fA-F]{1,6})\}|([\da-fA-F]{4}))/g, (_, braced, unbraced) => { - var _ref; - const hex = (_ref = braced !== null && braced !== void 0 ? braced : unbraced) !== null && _ref !== void 0 ? _ref : ""; - return String.fromCodePoint(parseInt(hex, 16)); - }); - } - return result; - } -} - -/** - * Adjusts the indentation of a multi-line interpolated value to match the current line. - */ -function alignValue(value, precedingText) { - if (typeof value !== "string" || !value.includes("\n")) { - return value; - } - const currentLine = precedingText.slice(precedingText.lastIndexOf("\n") + 1); - const indentMatch = currentLine.match(/^(\s+)/); - if (indentMatch) { - const indent = indentMatch[1]; - return value.replace(/\n/g, `\n${indent}`); - } - return value; -} -module.exports = exports.default; -module.exports.default = exports.default; diff --git a/lambdas/risk-engine/node_modules/dedent/dist/dedent.mjs b/lambdas/risk-engine/node_modules/dedent/dist/dedent.mjs deleted file mode 100644 index d53ee1ae..00000000 --- a/lambdas/risk-engine/node_modules/dedent/dist/dedent.mjs +++ /dev/null @@ -1,99 +0,0 @@ -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } -function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } -function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); } -function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); } -const dedent = createDedent({}); -export default dedent; -function createDedent(options) { - dedent.withOptions = newOptions => createDedent(_objectSpread(_objectSpread({}, options), newOptions)); - return dedent; - function dedent(strings, ...values) { - const raw = typeof strings === "string" ? [strings] : strings.raw; - const { - alignValues = false, - escapeSpecialCharacters = Array.isArray(strings), - trimWhitespace = true - } = options; - - // first, perform interpolation - let result = ""; - for (let i = 0; i < raw.length; i++) { - let next = raw[i]; - if (escapeSpecialCharacters) { - // handle escaped newlines, backticks, and interpolation characters - next = next.replace(/\\\n[ \t]*/g, "").replace(/\\`/g, "`").replace(/\\\$/g, "$").replace(/\\\{/g, "{"); - } - result += next; - if (i < values.length) { - const value = alignValues ? alignValue(values[i], result) : values[i]; - - // eslint-disable-next-line @typescript-eslint/restrict-plus-operands - result += value; - } - } - - // now strip indentation - const lines = result.split("\n"); - let mindent = null; - for (const l of lines) { - const m = l.match(/^(\s+)\S+/); - if (m) { - const indent = m[1].length; - if (!mindent) { - // this is the first indented line - mindent = indent; - } else { - mindent = Math.min(mindent, indent); - } - } - } - if (mindent !== null) { - const m = mindent; // appease TypeScript - result = lines - // https://github.com/typescript-eslint/typescript-eslint/issues/7140 - // eslint-disable-next-line @typescript-eslint/prefer-string-starts-ends-with - .map(l => l[0] === " " || l[0] === "\t" ? l.slice(m) : l).join("\n"); - } - - // dedent eats leading and trailing whitespace too - if (trimWhitespace) { - result = result.trim(); - } - - // Unescape escapes after trimming so sequences like `\n`, `\t`, - // `\xHH` and `\u{...}` are preserved (fixes #24) - if (escapeSpecialCharacters) { - result = result.replace(/\\n/g, "\n").replace(/\\t/g, "\t").replace(/\\r/g, "\r").replace(/\\v/g, "\v").replace(/\\b/g, "\b").replace(/\\f/g, "\f").replace(/\\0/g, "\0").replace(/\\x([\da-fA-F]{2})/g, (_, h) => String.fromCharCode(parseInt(h, 16))).replace(/\\u\{([\da-fA-F]{1,6})\}/g, (_, h) => String.fromCodePoint(parseInt(h, 16))).replace(/\\u([\da-fA-F]{4})/g, (_, h) => String.fromCharCode(parseInt(h, 16))); - } - - // Workaround for Bun issue with Unicode characters - // https://github.com/oven-sh/bun/issues/8745 - if (typeof Bun !== "undefined") { - result = result.replace( - // Matches e.g. \\u{1f60a} or \\u5F1F - /\\u(?:\{([\da-fA-F]{1,6})\}|([\da-fA-F]{4}))/g, (_, braced, unbraced) => { - var _ref; - const hex = (_ref = braced !== null && braced !== void 0 ? braced : unbraced) !== null && _ref !== void 0 ? _ref : ""; - return String.fromCodePoint(parseInt(hex, 16)); - }); - } - return result; - } -} - -/** - * Adjusts the indentation of a multi-line interpolated value to match the current line. - */ -function alignValue(value, precedingText) { - if (typeof value !== "string" || !value.includes("\n")) { - return value; - } - const currentLine = precedingText.slice(precedingText.lastIndexOf("\n") + 1); - const indentMatch = currentLine.match(/^(\s+)/); - if (indentMatch) { - const indent = indentMatch[1]; - return value.replace(/\n/g, `\n${indent}`); - } - return value; -} diff --git a/lambdas/risk-engine/node_modules/dedent/macro.js b/lambdas/risk-engine/node_modules/dedent/macro.js deleted file mode 100644 index 2e5763d0..00000000 --- a/lambdas/risk-engine/node_modules/dedent/macro.js +++ /dev/null @@ -1,32 +0,0 @@ -const { MacroError, createMacro } = require("babel-plugin-macros"); -const dedent = require("./dist/dedent.js").default; - -module.exports = createMacro(prevalMacros); - -function prevalMacros({ babel, references, state }) { - references.default.forEach((referencePath) => { - if (referencePath.parentPath.type === "TaggedTemplateExpression") { - asTag(referencePath.parentPath.get("quasi"), state, babel); - } else if (referencePath.parentPath.type === "CallExpression") { - asFunction(referencePath.parentPath.get("arguments"), state, babel); - } else { - throw new MacroError( - `dedent.macro can only be used as tagged template expression or function call. You tried ${referencePath.parentPath.type}.`, - ); - } - }); -} - -function asTag(quasiPath, _, babel) { - const string = quasiPath.parentPath.get("quasi").evaluate().value; - const { types: t } = babel; - - quasiPath.parentPath.replaceWith(t.stringLiteral(dedent(string))); -} - -function asFunction(argumentsPaths, _, babel) { - const string = argumentsPaths[0].evaluate().value; - const { types: t } = babel; - - argumentsPaths[0].parentPath.replaceWith(t.stringLiteral(dedent(string))); -} diff --git a/lambdas/risk-engine/node_modules/dedent/package.json b/lambdas/risk-engine/node_modules/dedent/package.json deleted file mode 100644 index 2d73912c..00000000 --- a/lambdas/risk-engine/node_modules/dedent/package.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "name": "dedent", - "version": "1.7.2", - "description": "A string tag that strips indentation from multi-line strings. ⬅️", - "keywords": [ - "dedent", - "tag", - "multi-line string", - "es6" - ], - "homepage": "https://github.com/dmnd/dedent", - "bugs": { - "url": "https://github.com/dmnd/dedent/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/dmnd/dedent" - }, - "license": "MIT", - "author": { - "name": "Desmond Brand", - "email": "dmnd@desmondbrand.com", - "url": "http://desmondbrand.com" - }, - "type": "commonjs", - "exports": { - ".": { - "types": { - "import": "./dist/dedent.d.mts", - "require": "./dist/dedent.d.ts" - }, - "import": "./dist/dedent.mjs", - "require": "./dist/dedent.js" - } - }, - "main": "./dist/dedent.js", - "module": "./dist/dedent.mjs", - "types": "./dist/dedent.d.mts", - "files": [ - "dist/", - "macro.js", - "package.json", - "LICENSE.md", - "README.md" - ], - "scripts": { - "build": "pnpm build:legacy && pnpm build:modern && pnpm build:types", - "build:legacy": "BABEL_ENV=legacy babel src/dedent.ts --out-file dist/dedent.js", - "build:modern": "BABEL_ENV=modern babel src/dedent.ts --out-file dist/dedent.mjs", - "build:types": "tsup src/dedent.ts --dts-only", - "format": "prettier \"**/*\" --ignore-unknown", - "lint": "eslint . .*js --max-warnings 0 --report-unused-disable-directives", - "lint:knip": "knip", - "lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\"", - "lint:package-json": "npmPkgJsonLint .", - "lint:packages": "pnpm dedupe --check", - "lint:spelling": "cspell \"**\" \".github/**/*\"", - "prepare": "husky install", - "should-semantic-release": "should-semantic-release --verbose", - "test": "jest", - "test:bun": "bun test src/dedent.test.ts", - "tsc": "tsc" - }, - "lint-staged": { - "*": "prettier --ignore-unknown --write" - }, - "devDependencies": { - "@babel/cli": "^7.21.5", - "@babel/preset-env": "^7.23.3", - "@babel/preset-typescript": "^7.23.3", - "@release-it/conventional-changelog": "^8.0.1", - "@types/babel-plugin-macros": "^3.1.0", - "@types/bun": "^1.3.4", - "@types/eslint": "^8.44.7", - "@types/jest": "^29.5.3", - "@typescript-eslint/eslint-plugin": "^6.10.0", - "@typescript-eslint/parser": "^6.10.0", - "babel-plugin-add-module-exports": "^1.0.4", - "babel-plugin-tester": "^11.0.4", - "console-fail-test": "^0.2.3", - "cspell": "^8.0.0", - "eslint": "^8.53.0", - "eslint-plugin-deprecation": "^2.0.0", - "eslint-plugin-eslint-comments": "^3.2.0", - "eslint-plugin-jest": "^27.6.0", - "eslint-plugin-jsdoc": "^46.9.0", - "eslint-plugin-jsonc": "^2.10.0", - "eslint-plugin-markdown": "^3.0.1", - "eslint-plugin-n": "^16.3.1", - "eslint-plugin-no-only-tests": "^3.1.0", - "eslint-plugin-perfectionist": "^2.3.0", - "eslint-plugin-regexp": "^2.1.1", - "eslint-plugin-yml": "^1.10.0", - "husky": "^8.0.3", - "jest": "^29.7.0", - "jsonc-eslint-parser": "^2.4.0", - "knip": "^5.75.0", - "lint-staged": "^15.1.0", - "markdownlint": "^0.31.1", - "markdownlint-cli": "^0.37.0", - "npm-package-json-lint": "^7.1.0", - "npm-package-json-lint-config-default": "^6.0.0", - "prettier": "^3.0.3", - "prettier-plugin-curly": "^0.1.3", - "prettier-plugin-packagejson": "^2.4.6", - "release-it": "^17.0.0", - "should-semantic-release": "^0.2.1", - "tsup": "^7.2.0", - "typescript": "^5.2.2", - "yaml-eslint-parser": "^1.2.2" - }, - "peerDependencies": { - "babel-plugin-macros": "^3.1.0" - }, - "peerDependenciesMeta": { - "babel-plugin-macros": { - "optional": true - } - }, - "packageManager": "pnpm@8.7.0" -} diff --git a/lambdas/risk-engine/node_modules/deepmerge/.editorconfig b/lambdas/risk-engine/node_modules/deepmerge/.editorconfig deleted file mode 100644 index 6244e1b7..00000000 --- a/lambdas/risk-engine/node_modules/deepmerge/.editorconfig +++ /dev/null @@ -1,7 +0,0 @@ -root = true - -[*] -indent_style = tab -end_of_line = lf -trim_trailing_whitespace = true -insert_final_newline = true diff --git a/lambdas/risk-engine/node_modules/deepmerge/.eslintcache b/lambdas/risk-engine/node_modules/deepmerge/.eslintcache deleted file mode 100644 index c1321eb4..00000000 --- a/lambdas/risk-engine/node_modules/deepmerge/.eslintcache +++ /dev/null @@ -1 +0,0 @@ -[{"/Users/joshduff/code/deepmerge/test/custom-is-mergeable-object.js":"1"},{"size":1990,"mtime":1679007485753,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","suppressedMessages":"6","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"ktjd5k","/Users/joshduff/code/deepmerge/test/custom-is-mergeable-object.js",[],[]] \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/deepmerge/changelog.md b/lambdas/risk-engine/node_modules/deepmerge/changelog.md deleted file mode 100644 index 082e0dd3..00000000 --- a/lambdas/risk-engine/node_modules/deepmerge/changelog.md +++ /dev/null @@ -1,167 +0,0 @@ -# [4.3.1](https://github.com/TehShrike/deepmerge/releases/tag/v4.3.1) - -- Fix type definition for arrayMerge options. [#239](https://github.com/TehShrike/deepmerge/pull/239) - -# [4.3.0](https://github.com/TehShrike/deepmerge/releases/tag/v4.3.0) - -- Avoid thrown errors if the target doesn't have `propertyIsEnumerable`. [#252](https://github.com/TehShrike/deepmerge/pull/252) - -# [4.2.2](https://github.com/TehShrike/deepmerge/releases/tag/v4.2.2) - -- `isMergeableObject` is now only called if there are two values that could be merged. [a34dd4d2](https://github.com/TehShrike/deepmerge/commit/a34dd4d25bf5e250653540a2022bc832c7b00a19) - -# [4.2.1](https://github.com/TehShrike/deepmerge/releases/tag/v4.2.1) - -- Fix: falsey values can now be merged. [#170](https://github.com/TehShrike/deepmerge/issues/170) - -# [4.2.0](https://github.com/TehShrike/deepmerge/releases/tag/v4.2.0) - -- Properties are now only overwritten if they exist on the target object and are enumerable. [#164](https://github.com/TehShrike/deepmerge/pull/164) - -Technically this could probably be a patch release since "which properties get overwritten" wasn't documented and accidentally overwriting a built-in function or some function up the property chain would almost certainly be undesirable, but it feels like a gray area, so here we are with a feature version bump. - -# [4.1.2](https://github.com/TehShrike/deepmerge/releases/tag/v4.1.2) - -- Rolled back #167 since `Object.assign` breaks ES5 support. [55067352](https://github.com/TehShrike/deepmerge/commit/55067352a92c65a6c44a5165f3387720aae1e192) - -# [4.1.1](https://github.com/TehShrike/deepmerge/releases/tag/v4.1.1) - -- The `options` argument is no longer mutated [#167](https://github.com/TehShrike/deepmerge/pull/167) - -# [4.1.0](https://github.com/TehShrike/deepmerge/releases/tag/v4.1.0) - -- `cloneUnlessOtherwiseSpecified` is now exposed to the `arrayMerge` function [#165](https://github.com/TehShrike/deepmerge/pull/165) - -# [4.0.0](https://github.com/TehShrike/deepmerge/releases/tag/v4.0.0) - -- The `main` entry point in `package.json` is now a CommonJS module instead of a UMD module [#155](https://github.com/TehShrike/deepmerge/pull/155) - -# [3.3.0](https://github.com/TehShrike/deepmerge/releases/tag/v3.3.0) - -- Enumerable Symbol properties are now copied [#151](https://github.com/TehShrike/deepmerge/pull/151) - -# [3.2.1](https://github.com/TehShrike/deepmerge/releases/tag/v3.2.1) - -- bumping dev dependency versions to try to shut up bogus security warnings from Github/npm [#149](https://github.com/TehShrike/deepmerge/pull/149) - -# [3.2.0](https://github.com/TehShrike/deepmerge/releases/tag/v3.2.0) - -- feature: added the [`customMerge`](https://github.com/TehShrike/deepmerge#custommerge) option [#133](https://github.com/TehShrike/deepmerge/pull/133) - -# [3.1.0](https://github.com/TehShrike/deepmerge/releases/tag/v3.1.0) - -- typescript typing: make the `all` function generic [#129](https://github.com/TehShrike/deepmerge/pull/129) - -# [3.0.0](https://github.com/TehShrike/deepmerge/releases/tag/v3.0.0) - -- drop ES module build [#123](https://github.com/TehShrike/deepmerge/issues/123) - -# [2.2.1](https://github.com/TehShrike/deepmerge/releases/tag/v2.2.1) - -- bug: typescript export type was wrong [#121](https://github.com/TehShrike/deepmerge/pull/121) - -# [2.2.0](https://github.com/TehShrike/deepmerge/releases/tag/v2.2.0) - -- feature: added TypeScript typings [#119](https://github.com/TehShrike/deepmerge/pull/119) - -# [2.1.1](https://github.com/TehShrike/deepmerge/releases/tag/v2.1.1) - -- documentation: Rename "methods" to "api", note ESM syntax [#103](https://github.com/TehShrike/deepmerge/pull/103) -- documentation: Fix grammar [#107](https://github.com/TehShrike/deepmerge/pull/107) -- documentation: Restructure headers for clarity + some wording tweaks [108](https://github.com/TehShrike/deepmerge/pull/108) + [109](https://github.com/TehShrike/deepmerge/pull/109) - - -# [2.1.0](https://github.com/TehShrike/deepmerge/releases/tag/v2.1.0) - -- feature: Support a custom `isMergeableObject` function [#96](https://github.com/TehShrike/deepmerge/pull/96) -- documentation: note a Webpack bug that some users might need to work around [#100](https://github.com/TehShrike/deepmerge/pull/100) - -# [2.0.1](https://github.com/TehShrike/deepmerge/releases/tag/v2.0.1) - -- documentation: fix the old array merge algorithm in the readme. [#84](https://github.com/TehShrike/deepmerge/pull/84) - -# [2.0.0](https://github.com/TehShrike/deepmerge/releases/tag/v2.0.0) - -- breaking: the array merge algorithm has changed from a complicated thing to `target.concat(source).map(element => cloneUnlessOtherwiseSpecified(element, optionsArgument))` -- breaking: The `clone` option now defaults to `true` -- feature: `merge.all` now accepts an array of any size, even 0 or 1 elements - -See [pull request 77](https://github.com/TehShrike/deepmerge/pull/77). - -# [1.5.2](https://github.com/TehShrike/deepmerge/releases/tag/v1.5.2) - -- fix: no longer attempts to merge React elements [#76](https://github.com/TehShrike/deepmerge/issues/76) - -# [1.5.1](https://github.com/TehShrike/deepmerge/releases/tag/v1.5.1) - -- bower support: officially dropping bower support. If you use bower, please depend on the [unpkg distribution](https://unpkg.com/deepmerge/dist/umd.js). See [#63](https://github.com/TehShrike/deepmerge/issues/63) - -# [1.5.0](https://github.com/TehShrike/deepmerge/releases/tag/v1.5.0) - -- bug fix: merging objects into arrays was allowed, and doesn't make any sense. [#65](https://github.com/TehShrike/deepmerge/issues/65) published as a feature release instead of a patch because it is a decent behavior change. - -# [1.4.4](https://github.com/TehShrike/deepmerge/releases/tag/v1.4.4) - -- bower support: updated `main` in bower.json - -# [1.4.3](https://github.com/TehShrike/deepmerge/releases/tag/v1.4.3) - -- bower support: inline is-mergeable-object in a new CommonJS build, so that people using both bower and CommonJS can bundle the library [0b34e6](https://github.com/TehShrike/deepmerge/commit/0b34e6e95f989f2fc8091d25f0d291c08f3d2d24) - -# [1.4.2](https://github.com/TehShrike/deepmerge/releases/tag/v1.4.2) - -- performance: bump is-mergeable-object dependency version for a slight performance improvement [5906c7](https://github.com/TehShrike/deepmerge/commit/5906c765d691d48e83d76efbb0d4b9ca150dc12c) - -# [1.4.1](https://github.com/TehShrike/deepmerge/releases/tag/v1.4.1) - -- documentation: fix unpkg link [acc45b](https://github.com/TehShrike/deepmerge/commit/acc45be85519c1df906a72ecb24764b622d18d47) - -# [1.4.0](https://github.com/TehShrike/deepmerge/releases/tag/v1.4.0) - -- api: instead of only exporting a UMD module, expose a UMD module with `pkg.main`, a CJS module with `pkg.browser`, and an ES module with `pkg.module` [#62](https://github.com/TehShrike/deepmerge/pull/62) - -# [1.3.2](https://github.com/TehShrike/deepmerge/releases/tag/v1.3.2) - -- documentation: note the minified/gzipped file sizes [56](https://github.com/TehShrike/deepmerge/pull/56) -- documentation: make data structures more readable in merge example: pull request [57](https://github.com/TehShrike/deepmerge/pull/57) - -# [1.3.1](https://github.com/TehShrike/deepmerge/releases/tag/v1.3.1) - -- documentation: clarify and test some array merging documentation: pull request [51](https://github.com/TehShrike/deepmerge/pull/51) - -# [1.3.0](https://github.com/TehShrike/deepmerge/releases/tag/v1.3.0) - -- feature: `merge.all`, a merge function that merges any number of objects: pull request [50](https://github.com/TehShrike/deepmerge/pull/50) - -# [1.2.0](https://github.com/TehShrike/deepmerge/releases/tag/v1.2.0) - -- fix: an error that would be thrown when an array would be merged onto a truthy non-array value: pull request [46](https://github.com/TehShrike/deepmerge/pull/46) -- feature: the ability to clone: Issue [28](https://github.com/TehShrike/deepmerge/issues/28), pull requests [44](https://github.com/TehShrike/deepmerge/pull/44) and [48](https://github.com/TehShrike/deepmerge/pull/48) -- maintenance: added tests + travis to `.npmignore`: pull request [47](https://github.com/TehShrike/deepmerge/pull/47) - -# [1.1.1](https://github.com/TehShrike/deepmerge/releases/tag/v1.1.1) - -- fix an issue where an error was thrown when merging an array onto a non-array: [Pull request 46](https://github.com/TehShrike/deepmerge/pull/46) - -# [1.1.0](https://github.com/TehShrike/deepmerge/releases/tag/v1.1.0) - -- allow consumers to specify their own array merging algorithm: [Pull request 37](https://github.com/TehShrike/deepmerge/pull/37) - -# [1.0.3](https://github.com/TehShrike/deepmerge/releases/tag/v1.0.3) - -- adding bower.json back: [Issue 38](https://github.com/TehShrike/deepmerge/pull/38) -- updating keywords and Github links in package.json [bc3898e](https://github.com/TehShrike/deepmerge/commit/bc3898e587a56f74591328f40f656b0152c1d5eb) - -# [1.0.2](https://github.com/TehShrike/deepmerge/releases/tag/v1.0.2) - -- Updating the readme: dropping bower, testing that the example works: [7102fc](https://github.com/TehShrike/deepmerge/commit/7102fcc4ddec11e2d33205866f9f18df14e5aeb5) - -# [1.0.1](https://github.com/TehShrike/deepmerge/releases/tag/v1.0.1) - -- `null`, dates, and regular expressions are now properly merged in arrays: [Issue 18](https://github.com/TehShrike/deepmerge/pull/18), plus commit: [ef1c6b](https://github.com/TehShrike/deepmerge/commit/ef1c6bac8350ba12a24966f0bc7da02560827586) - -# 1.0.0 - -- Should only be a patch change, because this module is READY. [Issue 15](https://github.com/TehShrike/deepmerge/issues/15) -- Regular expressions are now treated like primitive values when merging: [Issue 30](https://github.com/TehShrike/deepmerge/pull/30) -- Dates are now treated like primitives when merging: [Issue 31](https://github.com/TehShrike/deepmerge/issues/31) diff --git a/lambdas/risk-engine/node_modules/deepmerge/dist/cjs.js b/lambdas/risk-engine/node_modules/deepmerge/dist/cjs.js deleted file mode 100644 index 7c36cbdd..00000000 --- a/lambdas/risk-engine/node_modules/deepmerge/dist/cjs.js +++ /dev/null @@ -1,133 +0,0 @@ -'use strict'; - -var isMergeableObject = function isMergeableObject(value) { - return isNonNullObject(value) - && !isSpecial(value) -}; - -function isNonNullObject(value) { - return !!value && typeof value === 'object' -} - -function isSpecial(value) { - var stringValue = Object.prototype.toString.call(value); - - return stringValue === '[object RegExp]' - || stringValue === '[object Date]' - || isReactElement(value) -} - -// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25 -var canUseSymbol = typeof Symbol === 'function' && Symbol.for; -var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7; - -function isReactElement(value) { - return value.$$typeof === REACT_ELEMENT_TYPE -} - -function emptyTarget(val) { - return Array.isArray(val) ? [] : {} -} - -function cloneUnlessOtherwiseSpecified(value, options) { - return (options.clone !== false && options.isMergeableObject(value)) - ? deepmerge(emptyTarget(value), value, options) - : value -} - -function defaultArrayMerge(target, source, options) { - return target.concat(source).map(function(element) { - return cloneUnlessOtherwiseSpecified(element, options) - }) -} - -function getMergeFunction(key, options) { - if (!options.customMerge) { - return deepmerge - } - var customMerge = options.customMerge(key); - return typeof customMerge === 'function' ? customMerge : deepmerge -} - -function getEnumerableOwnPropertySymbols(target) { - return Object.getOwnPropertySymbols - ? Object.getOwnPropertySymbols(target).filter(function(symbol) { - return Object.propertyIsEnumerable.call(target, symbol) - }) - : [] -} - -function getKeys(target) { - return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target)) -} - -function propertyIsOnObject(object, property) { - try { - return property in object - } catch(_) { - return false - } -} - -// Protects from prototype poisoning and unexpected merging up the prototype chain. -function propertyIsUnsafe(target, key) { - return propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet, - && !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain, - && Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable. -} - -function mergeObject(target, source, options) { - var destination = {}; - if (options.isMergeableObject(target)) { - getKeys(target).forEach(function(key) { - destination[key] = cloneUnlessOtherwiseSpecified(target[key], options); - }); - } - getKeys(source).forEach(function(key) { - if (propertyIsUnsafe(target, key)) { - return - } - - if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) { - destination[key] = getMergeFunction(key, options)(target[key], source[key], options); - } else { - destination[key] = cloneUnlessOtherwiseSpecified(source[key], options); - } - }); - return destination -} - -function deepmerge(target, source, options) { - options = options || {}; - options.arrayMerge = options.arrayMerge || defaultArrayMerge; - options.isMergeableObject = options.isMergeableObject || isMergeableObject; - // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge() - // implementations can use it. The caller may not replace it. - options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified; - - var sourceIsArray = Array.isArray(source); - var targetIsArray = Array.isArray(target); - var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray; - - if (!sourceAndTargetTypesMatch) { - return cloneUnlessOtherwiseSpecified(source, options) - } else if (sourceIsArray) { - return options.arrayMerge(target, source, options) - } else { - return mergeObject(target, source, options) - } -} - -deepmerge.all = function deepmergeAll(array, options) { - if (!Array.isArray(array)) { - throw new Error('first argument should be an array') - } - - return array.reduce(function(prev, next) { - return deepmerge(prev, next, options) - }, {}) -}; - -var deepmerge_1 = deepmerge; - -module.exports = deepmerge_1; diff --git a/lambdas/risk-engine/node_modules/deepmerge/dist/umd.js b/lambdas/risk-engine/node_modules/deepmerge/dist/umd.js deleted file mode 100644 index 4071e7c5..00000000 --- a/lambdas/risk-engine/node_modules/deepmerge/dist/umd.js +++ /dev/null @@ -1,139 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : - typeof define === 'function' && define.amd ? define(factory) : - (global = global || self, global.deepmerge = factory()); -}(this, function () { 'use strict'; - - var isMergeableObject = function isMergeableObject(value) { - return isNonNullObject(value) - && !isSpecial(value) - }; - - function isNonNullObject(value) { - return !!value && typeof value === 'object' - } - - function isSpecial(value) { - var stringValue = Object.prototype.toString.call(value); - - return stringValue === '[object RegExp]' - || stringValue === '[object Date]' - || isReactElement(value) - } - - // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25 - var canUseSymbol = typeof Symbol === 'function' && Symbol.for; - var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7; - - function isReactElement(value) { - return value.$$typeof === REACT_ELEMENT_TYPE - } - - function emptyTarget(val) { - return Array.isArray(val) ? [] : {} - } - - function cloneUnlessOtherwiseSpecified(value, options) { - return (options.clone !== false && options.isMergeableObject(value)) - ? deepmerge(emptyTarget(value), value, options) - : value - } - - function defaultArrayMerge(target, source, options) { - return target.concat(source).map(function(element) { - return cloneUnlessOtherwiseSpecified(element, options) - }) - } - - function getMergeFunction(key, options) { - if (!options.customMerge) { - return deepmerge - } - var customMerge = options.customMerge(key); - return typeof customMerge === 'function' ? customMerge : deepmerge - } - - function getEnumerableOwnPropertySymbols(target) { - return Object.getOwnPropertySymbols - ? Object.getOwnPropertySymbols(target).filter(function(symbol) { - return Object.propertyIsEnumerable.call(target, symbol) - }) - : [] - } - - function getKeys(target) { - return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target)) - } - - function propertyIsOnObject(object, property) { - try { - return property in object - } catch(_) { - return false - } - } - - // Protects from prototype poisoning and unexpected merging up the prototype chain. - function propertyIsUnsafe(target, key) { - return propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet, - && !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain, - && Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable. - } - - function mergeObject(target, source, options) { - var destination = {}; - if (options.isMergeableObject(target)) { - getKeys(target).forEach(function(key) { - destination[key] = cloneUnlessOtherwiseSpecified(target[key], options); - }); - } - getKeys(source).forEach(function(key) { - if (propertyIsUnsafe(target, key)) { - return - } - - if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) { - destination[key] = getMergeFunction(key, options)(target[key], source[key], options); - } else { - destination[key] = cloneUnlessOtherwiseSpecified(source[key], options); - } - }); - return destination - } - - function deepmerge(target, source, options) { - options = options || {}; - options.arrayMerge = options.arrayMerge || defaultArrayMerge; - options.isMergeableObject = options.isMergeableObject || isMergeableObject; - // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge() - // implementations can use it. The caller may not replace it. - options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified; - - var sourceIsArray = Array.isArray(source); - var targetIsArray = Array.isArray(target); - var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray; - - if (!sourceAndTargetTypesMatch) { - return cloneUnlessOtherwiseSpecified(source, options) - } else if (sourceIsArray) { - return options.arrayMerge(target, source, options) - } else { - return mergeObject(target, source, options) - } - } - - deepmerge.all = function deepmergeAll(array, options) { - if (!Array.isArray(array)) { - throw new Error('first argument should be an array') - } - - return array.reduce(function(prev, next) { - return deepmerge(prev, next, options) - }, {}) - }; - - var deepmerge_1 = deepmerge; - - return deepmerge_1; - -})); diff --git a/lambdas/risk-engine/node_modules/deepmerge/index.d.ts b/lambdas/risk-engine/node_modules/deepmerge/index.d.ts deleted file mode 100644 index 46784de5..00000000 --- a/lambdas/risk-engine/node_modules/deepmerge/index.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -declare function deepmerge(x: Partial, y: Partial, options?: deepmerge.Options): T; -declare function deepmerge(x: Partial, y: Partial, options?: deepmerge.Options): T1 & T2; - -declare namespace deepmerge { - export interface Options { - arrayMerge?(target: any[], source: any[], options?: ArrayMergeOptions): any[]; - clone?: boolean; - customMerge?: (key: string, options?: Options) => ((x: any, y: any) => any) | undefined; - isMergeableObject?(value: object): boolean; - } - export interface ArrayMergeOptions { - isMergeableObject(value: object): boolean; - cloneUnlessOtherwiseSpecified(value: object, options?: Options): object; - } - - export function all (objects: object[], options?: Options): object; - export function all (objects: Partial[], options?: Options): T; -} - -export = deepmerge; diff --git a/lambdas/risk-engine/node_modules/deepmerge/index.js b/lambdas/risk-engine/node_modules/deepmerge/index.js deleted file mode 100644 index 77968aed..00000000 --- a/lambdas/risk-engine/node_modules/deepmerge/index.js +++ /dev/null @@ -1,106 +0,0 @@ -var defaultIsMergeableObject = require('is-mergeable-object') - -function emptyTarget(val) { - return Array.isArray(val) ? [] : {} -} - -function cloneUnlessOtherwiseSpecified(value, options) { - return (options.clone !== false && options.isMergeableObject(value)) - ? deepmerge(emptyTarget(value), value, options) - : value -} - -function defaultArrayMerge(target, source, options) { - return target.concat(source).map(function(element) { - return cloneUnlessOtherwiseSpecified(element, options) - }) -} - -function getMergeFunction(key, options) { - if (!options.customMerge) { - return deepmerge - } - var customMerge = options.customMerge(key) - return typeof customMerge === 'function' ? customMerge : deepmerge -} - -function getEnumerableOwnPropertySymbols(target) { - return Object.getOwnPropertySymbols - ? Object.getOwnPropertySymbols(target).filter(function(symbol) { - return Object.propertyIsEnumerable.call(target, symbol) - }) - : [] -} - -function getKeys(target) { - return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target)) -} - -function propertyIsOnObject(object, property) { - try { - return property in object - } catch(_) { - return false - } -} - -// Protects from prototype poisoning and unexpected merging up the prototype chain. -function propertyIsUnsafe(target, key) { - return propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet, - && !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain, - && Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable. -} - -function mergeObject(target, source, options) { - var destination = {} - if (options.isMergeableObject(target)) { - getKeys(target).forEach(function(key) { - destination[key] = cloneUnlessOtherwiseSpecified(target[key], options) - }) - } - getKeys(source).forEach(function(key) { - if (propertyIsUnsafe(target, key)) { - return - } - - if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) { - destination[key] = getMergeFunction(key, options)(target[key], source[key], options) - } else { - destination[key] = cloneUnlessOtherwiseSpecified(source[key], options) - } - }) - return destination -} - -function deepmerge(target, source, options) { - options = options || {} - options.arrayMerge = options.arrayMerge || defaultArrayMerge - options.isMergeableObject = options.isMergeableObject || defaultIsMergeableObject - // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge() - // implementations can use it. The caller may not replace it. - options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified - - var sourceIsArray = Array.isArray(source) - var targetIsArray = Array.isArray(target) - var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray - - if (!sourceAndTargetTypesMatch) { - return cloneUnlessOtherwiseSpecified(source, options) - } else if (sourceIsArray) { - return options.arrayMerge(target, source, options) - } else { - return mergeObject(target, source, options) - } -} - -deepmerge.all = function deepmergeAll(array, options) { - if (!Array.isArray(array)) { - throw new Error('first argument should be an array') - } - - return array.reduce(function(prev, next) { - return deepmerge(prev, next, options) - }, {}) -} - -module.exports = deepmerge diff --git a/lambdas/risk-engine/node_modules/deepmerge/license.txt b/lambdas/risk-engine/node_modules/deepmerge/license.txt deleted file mode 100644 index 50030787..00000000 --- a/lambdas/risk-engine/node_modules/deepmerge/license.txt +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2012 James Halliday, Josh Duff, and other contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/deepmerge/package.json b/lambdas/risk-engine/node_modules/deepmerge/package.json deleted file mode 100644 index 2b7b1be8..00000000 --- a/lambdas/risk-engine/node_modules/deepmerge/package.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "deepmerge", - "description": "A library for deep (recursive) merging of Javascript objects", - "keywords": [ - "merge", - "deep", - "extend", - "copy", - "clone", - "recursive" - ], - "version": "4.3.1", - "homepage": "https://github.com/TehShrike/deepmerge", - "repository": { - "type": "git", - "url": "git://github.com/TehShrike/deepmerge.git" - }, - "main": "dist/cjs.js", - "engines": { - "node": ">=0.10.0" - }, - "scripts": { - "build": "rollup -c", - "test": "npm run build && tape test/*.js && jsmd readme.md && npm run test:typescript", - "test:typescript": "tsc --noEmit test/typescript.ts && ts-node test/typescript.ts", - "size": "npm run build && uglifyjs --compress --mangle -- ./dist/umd.js | gzip -c | wc -c" - }, - "devDependencies": { - "@types/node": "^8.10.54", - "is-mergeable-object": "1.1.0", - "is-plain-object": "^5.0.0", - "jsmd": "^1.0.2", - "rollup": "^1.23.1", - "rollup-plugin-commonjs": "^10.1.0", - "rollup-plugin-node-resolve": "^5.2.0", - "tape": "^4.11.0", - "ts-node": "7.0.1", - "typescript": "=2.2.2", - "uglify-js": "^3.6.1" - }, - "license": "MIT" -} diff --git a/lambdas/risk-engine/node_modules/deepmerge/readme.md b/lambdas/risk-engine/node_modules/deepmerge/readme.md deleted file mode 100644 index 79e4e303..00000000 --- a/lambdas/risk-engine/node_modules/deepmerge/readme.md +++ /dev/null @@ -1,264 +0,0 @@ -# deepmerge - -Merges the enumerable properties of two or more objects deeply. - -> UMD bundle is 723B minified+gzipped - -## Getting Started - -### Example Usage - - -```js -const x = { - foo: { bar: 3 }, - array: [{ - does: 'work', - too: [ 1, 2, 3 ] - }] -} - -const y = { - foo: { baz: 4 }, - quux: 5, - array: [{ - does: 'work', - too: [ 4, 5, 6 ] - }, { - really: 'yes' - }] -} - -const output = { - foo: { - bar: 3, - baz: 4 - }, - array: [{ - does: 'work', - too: [ 1, 2, 3 ] - }, { - does: 'work', - too: [ 4, 5, 6 ] - }, { - really: 'yes' - }], - quux: 5 -} - -merge(x, y) // => output -``` - - -### Installation - -With [npm](http://npmjs.org) do: - -```sh -npm install deepmerge -``` - -deepmerge can be used directly in the browser without the use of package managers/bundlers as well: [UMD version from unpkg.com](https://unpkg.com/deepmerge/dist/umd.js). - - -### Include - -deepmerge exposes a CommonJS entry point: - -``` -const merge = require('deepmerge') -``` - -The ESM entry point was dropped due to a [Webpack bug](https://github.com/webpack/webpack/issues/6584). - -# API - - -## `merge(x, y, [options])` - -Merge two objects `x` and `y` deeply, returning a new merged object with the -elements from both `x` and `y`. - -If an element at the same key is present for both `x` and `y`, the value from -`y` will appear in the result. - -Merging creates a new object, so that neither `x` or `y` is modified. - -**Note:** By default, arrays are merged by concatenating them. - -## `merge.all(arrayOfObjects, [options])` - -Merges any number of objects into a single result object. - -```js -const foobar = { foo: { bar: 3 } } -const foobaz = { foo: { baz: 4 } } -const bar = { bar: 'yay!' } - -merge.all([ foobar, foobaz, bar ]) // => { foo: { bar: 3, baz: 4 }, bar: 'yay!' } -``` - - -## Options - -### `arrayMerge` - -There are multiple ways to merge two arrays, below are a few examples but you can also create your own custom function. - -Your `arrayMerge` function will be called with three arguments: a `target` array, the `source` array, and an `options` object with these properties: - -- `isMergeableObject(value)` -- `cloneUnlessOtherwiseSpecified(value, options)` - -#### `arrayMerge` example: overwrite target array - -Overwrites the existing array values completely rather than concatenating them: - -```js -const overwriteMerge = (destinationArray, sourceArray, options) => sourceArray - -merge( - [1, 2, 3], - [3, 2, 1], - { arrayMerge: overwriteMerge } -) // => [3, 2, 1] -``` - -#### `arrayMerge` example: combine arrays - -Combines objects at the same index in the two arrays. - -This was the default array merging algorithm pre-version-2.0.0. - -```js -const combineMerge = (target, source, options) => { - const destination = target.slice() - - source.forEach((item, index) => { - if (typeof destination[index] === 'undefined') { - destination[index] = options.cloneUnlessOtherwiseSpecified(item, options) - } else if (options.isMergeableObject(item)) { - destination[index] = merge(target[index], item, options) - } else if (target.indexOf(item) === -1) { - destination.push(item) - } - }) - return destination -} - -merge( - [{ a: true }], - [{ b: true }, 'ah yup'], - { arrayMerge: combineMerge } -) // => [{ a: true, b: true }, 'ah yup'] -``` - -### `isMergeableObject` - -By default, deepmerge clones every property from almost every kind of object. - -You may not want this, if your objects are of special types, and you want to copy the whole object instead of just copying its properties. - -You can accomplish this by passing in a function for the `isMergeableObject` option. - -If you only want to clone properties of plain objects, and ignore all "special" kinds of instantiated objects, you probably want to drop in [`is-plain-object`](https://github.com/jonschlinkert/is-plain-object). - -```js -const { isPlainObject } = require('is-plain-object') - -function SuperSpecial() { - this.special = 'oh yeah man totally' -} - -const instantiatedSpecialObject = new SuperSpecial() - -const target = { - someProperty: { - cool: 'oh for sure' - } -} - -const source = { - someProperty: instantiatedSpecialObject -} - -const defaultOutput = merge(target, source) - -defaultOutput.someProperty.cool // => 'oh for sure' -defaultOutput.someProperty.special // => 'oh yeah man totally' -defaultOutput.someProperty instanceof SuperSpecial // => false - -const customMergeOutput = merge(target, source, { - isMergeableObject: isPlainObject -}) - -customMergeOutput.someProperty.cool // => undefined -customMergeOutput.someProperty.special // => 'oh yeah man totally' -customMergeOutput.someProperty instanceof SuperSpecial // => true -``` - -### `customMerge` - -Specifies a function which can be used to override the default merge behavior for a property, based on the property name. - -The `customMerge` function will be passed the key for each property, and should return the function which should be used to merge the values for that property. - -It may also return undefined, in which case the default merge behaviour will be used. - -```js -const alex = { - name: { - first: 'Alex', - last: 'Alexson' - }, - pets: ['Cat', 'Parrot'] -} - -const tony = { - name: { - first: 'Tony', - last: 'Tonison' - }, - pets: ['Dog'] -} - -const mergeNames = (nameA, nameB) => `${nameA.first} and ${nameB.first}` - -const options = { - customMerge: (key) => { - if (key === 'name') { - return mergeNames - } - } -} - -const result = merge(alex, tony, options) - -result.name // => 'Alex and Tony' -result.pets // => ['Cat', 'Parrot', 'Dog'] -``` - - -### `clone` - -*Deprecated.* - -Defaults to `true`. - -If `clone` is `false` then child objects will be copied directly instead of being cloned. This was the default behavior before version 2.x. - - -# Testing - -With [npm](http://npmjs.org) do: - -```sh -npm test -``` - - -# License - -MIT diff --git a/lambdas/risk-engine/node_modules/deepmerge/rollup.config.js b/lambdas/risk-engine/node_modules/deepmerge/rollup.config.js deleted file mode 100644 index 8323ab27..00000000 --- a/lambdas/risk-engine/node_modules/deepmerge/rollup.config.js +++ /dev/null @@ -1,22 +0,0 @@ -import resolve from 'rollup-plugin-node-resolve' -import commonjs from 'rollup-plugin-commonjs' -import pkg from './package.json' - -export default { - input: `index.js`, - plugins: [ - commonjs(), - resolve(), - ], - output: [ - { - file: pkg.main, - format: `cjs` - }, - { - name: 'deepmerge', - file: 'dist/umd.js', - format: `umd` - }, - ], -} diff --git a/lambdas/risk-engine/node_modules/detect-newline/index.d.ts b/lambdas/risk-engine/node_modules/detect-newline/index.d.ts deleted file mode 100644 index 1f32fd26..00000000 --- a/lambdas/risk-engine/node_modules/detect-newline/index.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -declare const detectNewline: { - /** - Detect the dominant newline character of a string. - - @returns The detected newline or `undefined` when no newline character is found. - - @example - ``` - import detectNewline = require('detect-newline'); - - detectNewline('foo\nbar\nbaz\r\n'); - //=> '\n' - ``` - */ - (string: string): '\r\n' | '\n' | undefined; - - /** - Detect the dominant newline character of a string. - - @returns The detected newline or `\n` when no newline character is found or the input is not a string. - */ - graceful(string: string): '\r\n' | '\n'; - graceful(string?: unknown): '\n'; -}; - -export = detectNewline; diff --git a/lambdas/risk-engine/node_modules/detect-newline/index.js b/lambdas/risk-engine/node_modules/detect-newline/index.js deleted file mode 100644 index 987ed870..00000000 --- a/lambdas/risk-engine/node_modules/detect-newline/index.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - -const detectNewline = string => { - if (typeof string !== 'string') { - throw new TypeError('Expected a string'); - } - - const newlines = string.match(/(?:\r?\n)/g) || []; - - if (newlines.length === 0) { - return; - } - - const crlf = newlines.filter(newline => newline === '\r\n').length; - const lf = newlines.length - crlf; - - return crlf > lf ? '\r\n' : '\n'; -}; - -module.exports = detectNewline; -module.exports.graceful = string => (typeof string === 'string' && detectNewline(string)) || '\n'; diff --git a/lambdas/risk-engine/node_modules/detect-newline/license b/lambdas/risk-engine/node_modules/detect-newline/license deleted file mode 100644 index e7af2f77..00000000 --- a/lambdas/risk-engine/node_modules/detect-newline/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/detect-newline/package.json b/lambdas/risk-engine/node_modules/detect-newline/package.json deleted file mode 100644 index 1adf246a..00000000 --- a/lambdas/risk-engine/node_modules/detect-newline/package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "detect-newline", - "version": "3.1.0", - "description": "Detect the dominant newline character of a string", - "license": "MIT", - "repository": "sindresorhus/detect-newline", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "newline", - "linebreak", - "line-break", - "line", - "lf", - "crlf", - "eol", - "linefeed", - "character", - "char" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } -} diff --git a/lambdas/risk-engine/node_modules/detect-newline/readme.md b/lambdas/risk-engine/node_modules/detect-newline/readme.md deleted file mode 100644 index eee16c23..00000000 --- a/lambdas/risk-engine/node_modules/detect-newline/readme.md +++ /dev/null @@ -1,42 +0,0 @@ -# detect-newline [![Build Status](https://travis-ci.org/sindresorhus/detect-newline.svg?branch=master)](https://travis-ci.org/sindresorhus/detect-newline) - -> Detect the dominant newline character of a string - - -## Install - -``` -$ npm install detect-newline -``` - - -## Usage - -```js -const detectNewline = require('detect-newline'); - -detectNewline('foo\nbar\nbaz\r\n'); -//=> '\n' -``` - - -## API - -### detectNewline(string) - -Returns the detected newline or `undefined` when no newline character is found. - -### detectNewline.graceful(unknown) - -Returns the detected newline or `\n` when no newline character is found or the input is not a string. - - -## Related - -- [detect-newline-cli](https://github.com/sindresorhus/detect-newline-cli) - CLI for this module -- [detect-indent](https://github.com/sindresorhus/detect-indent) - Detect the indentation of code - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/lambdas/risk-engine/node_modules/diff-sequences/LICENSE b/lambdas/risk-engine/node_modules/diff-sequences/LICENSE deleted file mode 100644 index b93be905..00000000 --- a/lambdas/risk-engine/node_modules/diff-sequences/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) Meta Platforms, Inc. and affiliates. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/diff-sequences/README.md b/lambdas/risk-engine/node_modules/diff-sequences/README.md deleted file mode 100644 index fd5b99be..00000000 --- a/lambdas/risk-engine/node_modules/diff-sequences/README.md +++ /dev/null @@ -1,404 +0,0 @@ -# diff-sequences - -Compare items in two sequences to find a **longest common subsequence**. - -The items not in common are the items to delete or insert in a **shortest edit script**. - -To maximize flexibility and minimize memory, you write **callback** functions as configuration: - -**Input** function `isCommon(aIndex, bIndex)` compares items at indexes in the sequences and returns a truthy/falsey value. This package might call your function more than once for some pairs of indexes. - -- Because your function encapsulates **comparison**, this package can compare items according to `===` operator, `Object.is` method, or other criterion. -- Because your function encapsulates **sequences**, this package can find differences in arrays, strings, or other data. - -**Output** function `foundSubsequence(nCommon, aCommon, bCommon)` receives the number of adjacent items and starting indexes of each common subsequence. If sequences do not have common items, then this package does not call your function. - -If N is the sum of lengths of sequences and L is length of a longest common subsequence, then D = N – 2L is the number of **differences** in the corresponding shortest edit script. - -[_An O(ND) Difference Algorithm and Its Variations_](http://xmailserver.org/diff2.pdf) by Eugene W. Myers is fast when sequences have **few** differences. - -This package implements the **linear space** variation with optimizations so it is fast even when sequences have **many** differences. - -## Usage - -To add this package as a dependency of a project, do either of the following: - -- `npm install diff-sequences` -- `yarn add diff-sequences` - -To use `diff` as the name of the default export from this package, do either of the following: - -- `var diff = require('diff-sequences').default; // CommonJS modules` -- `import diff from 'diff-sequences'; // ECMAScript modules` - -Call `diff` with the **lengths** of sequences and your **callback** functions: - -```js -const a = ['a', 'b', 'c', 'a', 'b', 'b', 'a']; -const b = ['c', 'b', 'a', 'b', 'a', 'c']; - -function isCommon(aIndex, bIndex) { - return a[aIndex] === b[bIndex]; -} -function foundSubsequence(nCommon, aCommon, bCommon) { - // see examples -} - -diff(a.length, b.length, isCommon, foundSubsequence); -``` - -## Example of longest common subsequence - -Some sequences (for example, `a` and `b` in the example of usage) have more than one longest common subsequence. - -This package finds the following common items: - -| comparisons of common items | values | output arguments | -| :------------------------------- | :--------- | --------------------------: | -| `a[2] === b[0]` | `'c'` | `foundSubsequence(1, 2, 0)` | -| `a[4] === b[1]` | `'b'` | `foundSubsequence(1, 4, 1)` | -| `a[5] === b[3] && a[6] === b[4]` | `'b', 'a'` | `foundSubsequence(2, 5, 3)` | - -The “edit graph” analogy in the Myers paper shows the following common items: - -| comparisons of common items | values | -| :------------------------------- | :--------- | -| `a[2] === b[0]` | `'c'` | -| `a[3] === b[2] && a[4] === b[3]` | `'a', 'b'` | -| `a[6] === b[4]` | `'a'` | - -Various packages which implement the Myers algorithm will **always agree** on the **length** of a longest common subsequence, but might **sometimes disagree** on which **items** are in it. - -## Example of callback functions to count common items - -```js -// Return length of longest common subsequence according to === operator. -function countCommonItems(a, b) { - let n = 0; - function isCommon(aIndex, bIndex) { - return a[aIndex] === b[bIndex]; - } - function foundSubsequence(nCommon) { - n += nCommon; - } - - diff(a.length, b.length, isCommon, foundSubsequence); - - return n; -} - -const commonLength = countCommonItems( - ['a', 'b', 'c', 'a', 'b', 'b', 'a'], - ['c', 'b', 'a', 'b', 'a', 'c'], -); -``` - -| category of items | expression | value | -| :----------------- | ------------------------: | ----: | -| in common | `commonLength` | `4` | -| to delete from `a` | `a.length - commonLength` | `3` | -| to insert from `b` | `b.length - commonLength` | `2` | - -If the length difference `b.length - a.length` is: - -- negative: its absolute value is the minimum number of items to **delete** from `a` -- positive: it is the minimum number of items to **insert** from `b` -- zero: there is an **equal** number of items to delete from `a` and insert from `b` -- non-zero: there is an equal number of **additional** items to delete from `a` and insert from `b` - -In this example, `6 - 7` is: - -- negative: `1` is the minimum number of items to **delete** from `a` -- non-zero: `2` is the number of **additional** items to delete from `a` and insert from `b` - -## Example of callback functions to find common items - -```js -// Return array of items in longest common subsequence according to Object.is method. -const findCommonItems = (a, b) => { - const array = []; - diff( - a.length, - b.length, - (aIndex, bIndex) => Object.is(a[aIndex], b[bIndex]), - (nCommon, aCommon) => { - for (; nCommon !== 0; nCommon -= 1, aCommon += 1) { - array.push(a[aCommon]); - } - }, - ); - return array; -}; - -const commonItems = findCommonItems( - ['a', 'b', 'c', 'a', 'b', 'b', 'a'], - ['c', 'b', 'a', 'b', 'a', 'c'], -); -``` - -| `i` | `commonItems[i]` | `aIndex` | -| --: | :--------------- | -------: | -| `0` | `'c'` | `2` | -| `1` | `'b'` | `4` | -| `2` | `'b'` | `5` | -| `3` | `'a'` | `6` | - -## Example of callback functions to diff index intervals - -Instead of slicing array-like objects, you can adjust indexes in your callback functions. - -```js -// Diff index intervals that are half open [start, end) like array slice method. -const diffIndexIntervals = (a, aStart, aEnd, b, bStart, bEnd) => { - // Validate: 0 <= aStart and aStart <= aEnd and aEnd <= a.length - // Validate: 0 <= bStart and bStart <= bEnd and bEnd <= b.length - - diff( - aEnd - aStart, - bEnd - bStart, - (aIndex, bIndex) => Object.is(a[aStart + aIndex], b[bStart + bIndex]), - (nCommon, aCommon, bCommon) => { - // aStart + aCommon, bStart + bCommon - }, - ); - - // After the last common subsequence, do any remaining work. -}; -``` - -## Example of callback functions to emulate diff command - -Linux or Unix has a `diff` command to compare files line by line. Its output is a **shortest edit script**: - -- **c**hange adjacent lines from the first file to lines from the second file -- **d**elete lines from the first file -- **a**ppend or insert lines from the second file - -```js -// Given zero-based half-open range [start, end) of array indexes, -// return one-based closed range [start + 1, end] as string. -const getRange = (start, end) => - start + 1 === end ? `${start + 1}` : `${start + 1},${end}`; - -// Given index intervals of lines to delete or insert, or both, or neither, -// push formatted diff lines onto array. -const pushDelIns = (aLines, aIndex, aEnd, bLines, bIndex, bEnd, array) => { - const deleteLines = aIndex !== aEnd; - const insertLines = bIndex !== bEnd; - const changeLines = deleteLines && insertLines; - if (changeLines) { - array.push(`${getRange(aIndex, aEnd)}c${getRange(bIndex, bEnd)}`); - } else if (deleteLines) { - array.push(`${getRange(aIndex, aEnd)}d${String(bIndex)}`); - } else if (insertLines) { - array.push(`${String(aIndex)}a${getRange(bIndex, bEnd)}`); - } else { - return; - } - - for (; aIndex !== aEnd; aIndex += 1) { - array.push(`< ${aLines[aIndex]}`); // delete is less than - } - - if (changeLines) { - array.push('---'); - } - - for (; bIndex !== bEnd; bIndex += 1) { - array.push(`> ${bLines[bIndex]}`); // insert is greater than - } -}; - -// Given content of two files, return emulated output of diff utility. -const findShortestEditScript = (a, b) => { - const aLines = a.split('\n'); - const bLines = b.split('\n'); - const aLength = aLines.length; - const bLength = bLines.length; - - const isCommon = (aIndex, bIndex) => aLines[aIndex] === bLines[bIndex]; - - let aIndex = 0; - let bIndex = 0; - const array = []; - const foundSubsequence = (nCommon, aCommon, bCommon) => { - pushDelIns(aLines, aIndex, aCommon, bLines, bIndex, bCommon, array); - aIndex = aCommon + nCommon; // number of lines compared in a - bIndex = bCommon + nCommon; // number of lines compared in b - }; - - diff(aLength, bLength, isCommon, foundSubsequence); - - // After the last common subsequence, push remaining change lines. - pushDelIns(aLines, aIndex, aLength, bLines, bIndex, bLength, array); - - return array.length === 0 ? '' : `${array.join('\n')}\n`; -}; -``` - -## Example of callback functions to format diff lines - -Here is simplified code to format **changed and unchanged lines** in expected and received values after a test fails in Jest: - -```js -// Format diff with minus or plus for change lines and space for common lines. -const formatDiffLines = (a, b) => { - // Jest depends on pretty-format package to serialize objects as strings. - // Unindented for comparison to avoid distracting differences: - const aLinesUn = format(a, {indent: 0 /*, other options*/}).split('\n'); - const bLinesUn = format(b, {indent: 0 /*, other options*/}).split('\n'); - // Indented to display changed and unchanged lines: - const aLinesIn = format(a, {indent: 2 /*, other options*/}).split('\n'); - const bLinesIn = format(b, {indent: 2 /*, other options*/}).split('\n'); - - const aLength = aLinesIn.length; // Validate: aLinesUn.length === aLength - const bLength = bLinesIn.length; // Validate: bLinesUn.length === bLength - - const isCommon = (aIndex, bIndex) => aLinesUn[aIndex] === bLinesUn[bIndex]; - - // Only because the GitHub Flavored Markdown doc collapses adjacent spaces, - // this example code and the following table represent spaces as middle dots. - let aIndex = 0; - let bIndex = 0; - const array = []; - const foundSubsequence = (nCommon, aCommon, bCommon) => { - for (; aIndex !== aCommon; aIndex += 1) { - array.push(`-·${aLinesIn[aIndex]}`); // delete is minus - } - for (; bIndex !== bCommon; bIndex += 1) { - array.push(`+·${bLinesIn[bIndex]}`); // insert is plus - } - for (; nCommon !== 0; nCommon -= 1, aIndex += 1, bIndex += 1) { - // For common lines, received indentation seems more intuitive. - array.push(`··${bLinesIn[bIndex]}`); // common is space - } - }; - - diff(aLength, bLength, isCommon, foundSubsequence); - - // After the last common subsequence, push remaining change lines. - for (; aIndex !== aLength; aIndex += 1) { - array.push(`-·${aLinesIn[aIndex]}`); - } - for (; bIndex !== bLength; bIndex += 1) { - array.push(`+·${bLinesIn[bIndex]}`); - } - - return array; -}; - -const expected = { - searching: '', - sorting: { - ascending: true, - fieldKey: 'what', - }, -}; -const received = { - searching: '', - sorting: [ - { - descending: false, - fieldKey: 'what', - }, - ], -}; - -const diffLines = formatDiffLines(expected, received); -``` - -If N is the sum of lengths of sequences and L is length of a longest common subsequence, then N – L is length of an array of diff lines. In this example, N is 7 + 9, L is 5, and N – L is 11. - -| `i` | `diffLines[i]` | `aIndex` | `bIndex` | -| ---: | :--------------------------------- | -------: | -------: | -| `0` | `'··Object {'` | `0` | `0` | -| `1` | `'····"searching": "",'` | `1` | `1` | -| `2` | `'-···"sorting": Object {'` | `2` | | -| `3` | `'-·····"ascending": true,'` | `3` | | -| `4` | `'+·····"sorting": Array ['` | | `2` | -| `5` | `'+·······Object {'` | | `3` | -| `6` | `'+·········"descending": false,'` | | `4` | -| `7` | `'··········"fieldKey": "what",'` | `4` | `5` | -| `8` | `'········},'` | `5` | `6` | -| `9` | `'+·····],'` | | `7` | -| `10` | `'··}'` | `6` | `8` | - -## Example of callback functions to find diff items - -Here is simplified code to find changed and unchanged substrings **within adjacent changed lines** in expected and received values after a test fails in Jest: - -```js -// Return diff items for strings (compatible with diff-match-patch package). -const findDiffItems = (a, b) => { - const isCommon = (aIndex, bIndex) => a[aIndex] === b[bIndex]; - - let aIndex = 0; - let bIndex = 0; - const array = []; - const foundSubsequence = (nCommon, aCommon, bCommon) => { - if (aIndex !== aCommon) { - array.push([-1, a.slice(aIndex, aCommon)]); // delete is -1 - } - if (bIndex !== bCommon) { - array.push([1, b.slice(bIndex, bCommon)]); // insert is 1 - } - - aIndex = aCommon + nCommon; // number of characters compared in a - bIndex = bCommon + nCommon; // number of characters compared in b - array.push([0, a.slice(aCommon, aIndex)]); // common is 0 - }; - - diff(a.length, b.length, isCommon, foundSubsequence); - - // After the last common subsequence, push remaining change items. - if (aIndex !== a.length) { - array.push([-1, a.slice(aIndex)]); - } - if (bIndex !== b.length) { - array.push([1, b.slice(bIndex)]); - } - - return array; -}; - -const expectedDeleted = ['"sorting": Object {', '"ascending": true,'].join( - '\n', -); -const receivedInserted = [ - '"sorting": Array [', - 'Object {', - '"descending": false,', -].join('\n'); - -const diffItems = findDiffItems(expectedDeleted, receivedInserted); -``` - -| `i` | `diffItems[i][0]` | `diffItems[i][1]` | -| --: | ----------------: | :---------------- | -| `0` | `0` | `'"sorting": '` | -| `1` | `1` | `'Array [\n'` | -| `2` | `0` | `'Object {\n"'` | -| `3` | `-1` | `'a'` | -| `4` | `1` | `'de'` | -| `5` | `0` | `'scending": '` | -| `6` | `-1` | `'tru'` | -| `7` | `1` | `'fals'` | -| `8` | `0` | `'e,'` | - -The length difference `b.length - a.length` is equal to the sum of `diffItems[i][0]` values times `diffItems[i][1]` lengths. In this example, the difference `48 - 38` is equal to the sum `10`. - -| category of diff item | `[0]` | `[1]` lengths | subtotal | -| :-------------------- | ----: | -----------------: | -------: | -| in common | `0` | `11 + 10 + 11 + 2` | `0` | -| to delete from `a` | `–1` | `1 + 3` | `-4` | -| to insert from `b` | `1` | `8 + 2 + 4` | `14` | - -Instead of formatting the changed substrings with escape codes for colors in the `foundSubsequence` function to save memory, this example spends memory to **gain flexibility** before formatting, so a separate heuristic algorithm might modify the generic array of diff items to show changes more clearly: - -| `i` | `diffItems[i][0]` | `diffItems[i][1]` | -| --: | ----------------: | :---------------- | -| `6` | `-1` | `'true'` | -| `7` | `1` | `'false'` | -| `8` | `0` | `','` | - -For expected and received strings of serialized data, the result of finding changed **lines**, and then finding changed **substrings** within adjacent changed lines (as in the preceding two examples) sometimes displays the changes in a more intuitive way than the result of finding changed substrings, and then splitting them into changed and unchanged lines. diff --git a/lambdas/risk-engine/node_modules/diff-sequences/build/index.d.ts b/lambdas/risk-engine/node_modules/diff-sequences/build/index.d.ts deleted file mode 100644 index 9e9c3db8..00000000 --- a/lambdas/risk-engine/node_modules/diff-sequences/build/index.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -export declare type Callbacks = { - foundSubsequence: FoundSubsequence; - isCommon: IsCommon; -}; - -declare function diffSequence( - aLength: number, - bLength: number, - isCommon: IsCommon, - foundSubsequence: FoundSubsequence, -): void; -export default diffSequence; - -declare type FoundSubsequence = ( - nCommon: number, // caller can assume: 0 < nCommon - aCommon: number, // caller can assume: 0 <= aCommon && aCommon < aLength - bCommon: number, -) => void; - -/** - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - */ -declare type IsCommon = ( - aIndex: number, // caller can assume: 0 <= aIndex && aIndex < aLength - bIndex: number, -) => boolean; - -export {}; diff --git a/lambdas/risk-engine/node_modules/diff-sequences/build/index.js b/lambdas/risk-engine/node_modules/diff-sequences/build/index.js deleted file mode 100644 index b0a1ff6c..00000000 --- a/lambdas/risk-engine/node_modules/diff-sequences/build/index.js +++ /dev/null @@ -1,798 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { - value: true -}); -exports.default = diffSequence; -/** - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - */ - -// This diff-sequences package implements the linear space variation in -// An O(ND) Difference Algorithm and Its Variations by Eugene W. Myers - -// Relationship in notation between Myers paper and this package: -// A is a -// N is aLength, aEnd - aStart, and so on -// x is aIndex, aFirst, aLast, and so on -// B is b -// M is bLength, bEnd - bStart, and so on -// y is bIndex, bFirst, bLast, and so on -// Δ = N - M is negative of baDeltaLength = bLength - aLength -// D is d -// k is kF -// k + Δ is kF = kR - baDeltaLength -// V is aIndexesF or aIndexesR (see comment below about Indexes type) -// index intervals [1, N] and [1, M] are [0, aLength) and [0, bLength) -// starting point in forward direction (0, 0) is (-1, -1) -// starting point in reverse direction (N + 1, M + 1) is (aLength, bLength) - -// The “edit graph” for sequences a and b corresponds to items: -// in a on the horizontal axis -// in b on the vertical axis -// -// Given a-coordinate of a point in a diagonal, you can compute b-coordinate. -// -// Forward diagonals kF: -// zero diagonal intersects top left corner -// positive diagonals intersect top edge -// negative diagonals insersect left edge -// -// Reverse diagonals kR: -// zero diagonal intersects bottom right corner -// positive diagonals intersect right edge -// negative diagonals intersect bottom edge - -// The graph contains a directed acyclic graph of edges: -// horizontal: delete an item from a -// vertical: insert an item from b -// diagonal: common item in a and b -// -// The algorithm solves dual problems in the graph analogy: -// Find longest common subsequence: path with maximum number of diagonal edges -// Find shortest edit script: path with minimum number of non-diagonal edges - -// Input callback function compares items at indexes in the sequences. - -// Output callback function receives the number of adjacent items -// and starting indexes of each common subsequence. -// Either original functions or wrapped to swap indexes if graph is transposed. -// Indexes in sequence a of last point of forward or reverse paths in graph. -// Myers algorithm indexes by diagonal k which for negative is bad deopt in V8. -// This package indexes by iF and iR which are greater than or equal to zero. -// and also updates the index arrays in place to cut memory in half. -// kF = 2 * iF - d -// kR = d - 2 * iR -// Division of index intervals in sequences a and b at the middle change. -// Invariant: intervals do not have common items at the start or end. -const pkg = 'diff-sequences'; // for error messages -const NOT_YET_SET = 0; // small int instead of undefined to avoid deopt in V8 - -// Return the number of common items that follow in forward direction. -// The length of what Myers paper calls a “snake” in a forward path. -const countCommonItemsF = (aIndex, aEnd, bIndex, bEnd, isCommon) => { - let nCommon = 0; - while (aIndex < aEnd && bIndex < bEnd && isCommon(aIndex, bIndex)) { - aIndex += 1; - bIndex += 1; - nCommon += 1; - } - return nCommon; -}; - -// Return the number of common items that precede in reverse direction. -// The length of what Myers paper calls a “snake” in a reverse path. -const countCommonItemsR = (aStart, aIndex, bStart, bIndex, isCommon) => { - let nCommon = 0; - while (aStart <= aIndex && bStart <= bIndex && isCommon(aIndex, bIndex)) { - aIndex -= 1; - bIndex -= 1; - nCommon += 1; - } - return nCommon; -}; - -// A simple function to extend forward paths from (d - 1) to d changes -// when forward and reverse paths cannot yet overlap. -const extendPathsF = ( - d, - aEnd, - bEnd, - bF, - isCommon, - aIndexesF, - iMaxF // return the value because optimization might decrease it -) => { - // Unroll the first iteration. - let iF = 0; - let kF = -d; // kF = 2 * iF - d - let aFirst = aIndexesF[iF]; // in first iteration always insert - let aIndexPrev1 = aFirst; // prev value of [iF - 1] in next iteration - aIndexesF[iF] += countCommonItemsF( - aFirst + 1, - aEnd, - bF + aFirst - kF + 1, - bEnd, - isCommon - ); - - // Optimization: skip diagonals in which paths cannot ever overlap. - const nF = d < iMaxF ? d : iMaxF; - - // The diagonals kF are odd when d is odd and even when d is even. - for (iF += 1, kF += 2; iF <= nF; iF += 1, kF += 2) { - // To get first point of path segment, move one change in forward direction - // from last point of previous path segment in an adjacent diagonal. - // In last possible iteration when iF === d and kF === d always delete. - if (iF !== d && aIndexPrev1 < aIndexesF[iF]) { - aFirst = aIndexesF[iF]; // vertical to insert from b - } else { - aFirst = aIndexPrev1 + 1; // horizontal to delete from a - - if (aEnd <= aFirst) { - // Optimization: delete moved past right of graph. - return iF - 1; - } - } - - // To get last point of path segment, move along diagonal of common items. - aIndexPrev1 = aIndexesF[iF]; - aIndexesF[iF] = - aFirst + - countCommonItemsF(aFirst + 1, aEnd, bF + aFirst - kF + 1, bEnd, isCommon); - } - return iMaxF; -}; - -// A simple function to extend reverse paths from (d - 1) to d changes -// when reverse and forward paths cannot yet overlap. -const extendPathsR = ( - d, - aStart, - bStart, - bR, - isCommon, - aIndexesR, - iMaxR // return the value because optimization might decrease it -) => { - // Unroll the first iteration. - let iR = 0; - let kR = d; // kR = d - 2 * iR - let aFirst = aIndexesR[iR]; // in first iteration always insert - let aIndexPrev1 = aFirst; // prev value of [iR - 1] in next iteration - aIndexesR[iR] -= countCommonItemsR( - aStart, - aFirst - 1, - bStart, - bR + aFirst - kR - 1, - isCommon - ); - - // Optimization: skip diagonals in which paths cannot ever overlap. - const nR = d < iMaxR ? d : iMaxR; - - // The diagonals kR are odd when d is odd and even when d is even. - for (iR += 1, kR -= 2; iR <= nR; iR += 1, kR -= 2) { - // To get first point of path segment, move one change in reverse direction - // from last point of previous path segment in an adjacent diagonal. - // In last possible iteration when iR === d and kR === -d always delete. - if (iR !== d && aIndexesR[iR] < aIndexPrev1) { - aFirst = aIndexesR[iR]; // vertical to insert from b - } else { - aFirst = aIndexPrev1 - 1; // horizontal to delete from a - - if (aFirst < aStart) { - // Optimization: delete moved past left of graph. - return iR - 1; - } - } - - // To get last point of path segment, move along diagonal of common items. - aIndexPrev1 = aIndexesR[iR]; - aIndexesR[iR] = - aFirst - - countCommonItemsR( - aStart, - aFirst - 1, - bStart, - bR + aFirst - kR - 1, - isCommon - ); - } - return iMaxR; -}; - -// A complete function to extend forward paths from (d - 1) to d changes. -// Return true if a path overlaps reverse path of (d - 1) changes in its diagonal. -const extendOverlappablePathsF = ( - d, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - iMaxF, - aIndexesR, - iMaxR, - division // update prop values if return true -) => { - const bF = bStart - aStart; // bIndex = bF + aIndex - kF - const aLength = aEnd - aStart; - const bLength = bEnd - bStart; - const baDeltaLength = bLength - aLength; // kF = kR - baDeltaLength - - // Range of diagonals in which forward and reverse paths might overlap. - const kMinOverlapF = -baDeltaLength - (d - 1); // -(d - 1) <= kR - const kMaxOverlapF = -baDeltaLength + (d - 1); // kR <= (d - 1) - - let aIndexPrev1 = NOT_YET_SET; // prev value of [iF - 1] in next iteration - - // Optimization: skip diagonals in which paths cannot ever overlap. - const nF = d < iMaxF ? d : iMaxF; - - // The diagonals kF = 2 * iF - d are odd when d is odd and even when d is even. - for (let iF = 0, kF = -d; iF <= nF; iF += 1, kF += 2) { - // To get first point of path segment, move one change in forward direction - // from last point of previous path segment in an adjacent diagonal. - // In first iteration when iF === 0 and kF === -d always insert. - // In last possible iteration when iF === d and kF === d always delete. - const insert = iF === 0 || (iF !== d && aIndexPrev1 < aIndexesF[iF]); - const aLastPrev = insert ? aIndexesF[iF] : aIndexPrev1; - const aFirst = insert - ? aLastPrev // vertical to insert from b - : aLastPrev + 1; // horizontal to delete from a - - // To get last point of path segment, move along diagonal of common items. - const bFirst = bF + aFirst - kF; - const nCommonF = countCommonItemsF( - aFirst + 1, - aEnd, - bFirst + 1, - bEnd, - isCommon - ); - const aLast = aFirst + nCommonF; - aIndexPrev1 = aIndexesF[iF]; - aIndexesF[iF] = aLast; - if (kMinOverlapF <= kF && kF <= kMaxOverlapF) { - // Solve for iR of reverse path with (d - 1) changes in diagonal kF: - // kR = kF + baDeltaLength - // kR = (d - 1) - 2 * iR - const iR = (d - 1 - (kF + baDeltaLength)) / 2; - - // If this forward path overlaps the reverse path in this diagonal, - // then this is the middle change of the index intervals. - if (iR <= iMaxR && aIndexesR[iR] - 1 <= aLast) { - // Unlike the Myers algorithm which finds only the middle “snake” - // this package can find two common subsequences per division. - // Last point of previous path segment is on an adjacent diagonal. - const bLastPrev = bF + aLastPrev - (insert ? kF + 1 : kF - 1); - - // Because of invariant that intervals preceding the middle change - // cannot have common items at the end, - // move in reverse direction along a diagonal of common items. - const nCommonR = countCommonItemsR( - aStart, - aLastPrev, - bStart, - bLastPrev, - isCommon - ); - const aIndexPrevFirst = aLastPrev - nCommonR; - const bIndexPrevFirst = bLastPrev - nCommonR; - const aEndPreceding = aIndexPrevFirst + 1; - const bEndPreceding = bIndexPrevFirst + 1; - division.nChangePreceding = d - 1; - if (d - 1 === aEndPreceding + bEndPreceding - aStart - bStart) { - // Optimization: number of preceding changes in forward direction - // is equal to number of items in preceding interval, - // therefore it cannot contain any common items. - division.aEndPreceding = aStart; - division.bEndPreceding = bStart; - } else { - division.aEndPreceding = aEndPreceding; - division.bEndPreceding = bEndPreceding; - } - division.nCommonPreceding = nCommonR; - if (nCommonR !== 0) { - division.aCommonPreceding = aEndPreceding; - division.bCommonPreceding = bEndPreceding; - } - division.nCommonFollowing = nCommonF; - if (nCommonF !== 0) { - division.aCommonFollowing = aFirst + 1; - division.bCommonFollowing = bFirst + 1; - } - const aStartFollowing = aLast + 1; - const bStartFollowing = bFirst + nCommonF + 1; - division.nChangeFollowing = d - 1; - if (d - 1 === aEnd + bEnd - aStartFollowing - bStartFollowing) { - // Optimization: number of changes in reverse direction - // is equal to number of items in following interval, - // therefore it cannot contain any common items. - division.aStartFollowing = aEnd; - division.bStartFollowing = bEnd; - } else { - division.aStartFollowing = aStartFollowing; - division.bStartFollowing = bStartFollowing; - } - return true; - } - } - } - return false; -}; - -// A complete function to extend reverse paths from (d - 1) to d changes. -// Return true if a path overlaps forward path of d changes in its diagonal. -const extendOverlappablePathsR = ( - d, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - iMaxF, - aIndexesR, - iMaxR, - division // update prop values if return true -) => { - const bR = bEnd - aEnd; // bIndex = bR + aIndex - kR - const aLength = aEnd - aStart; - const bLength = bEnd - bStart; - const baDeltaLength = bLength - aLength; // kR = kF + baDeltaLength - - // Range of diagonals in which forward and reverse paths might overlap. - const kMinOverlapR = baDeltaLength - d; // -d <= kF - const kMaxOverlapR = baDeltaLength + d; // kF <= d - - let aIndexPrev1 = NOT_YET_SET; // prev value of [iR - 1] in next iteration - - // Optimization: skip diagonals in which paths cannot ever overlap. - const nR = d < iMaxR ? d : iMaxR; - - // The diagonals kR = d - 2 * iR are odd when d is odd and even when d is even. - for (let iR = 0, kR = d; iR <= nR; iR += 1, kR -= 2) { - // To get first point of path segment, move one change in reverse direction - // from last point of previous path segment in an adjacent diagonal. - // In first iteration when iR === 0 and kR === d always insert. - // In last possible iteration when iR === d and kR === -d always delete. - const insert = iR === 0 || (iR !== d && aIndexesR[iR] < aIndexPrev1); - const aLastPrev = insert ? aIndexesR[iR] : aIndexPrev1; - const aFirst = insert - ? aLastPrev // vertical to insert from b - : aLastPrev - 1; // horizontal to delete from a - - // To get last point of path segment, move along diagonal of common items. - const bFirst = bR + aFirst - kR; - const nCommonR = countCommonItemsR( - aStart, - aFirst - 1, - bStart, - bFirst - 1, - isCommon - ); - const aLast = aFirst - nCommonR; - aIndexPrev1 = aIndexesR[iR]; - aIndexesR[iR] = aLast; - if (kMinOverlapR <= kR && kR <= kMaxOverlapR) { - // Solve for iF of forward path with d changes in diagonal kR: - // kF = kR - baDeltaLength - // kF = 2 * iF - d - const iF = (d + (kR - baDeltaLength)) / 2; - - // If this reverse path overlaps the forward path in this diagonal, - // then this is a middle change of the index intervals. - if (iF <= iMaxF && aLast - 1 <= aIndexesF[iF]) { - const bLast = bFirst - nCommonR; - division.nChangePreceding = d; - if (d === aLast + bLast - aStart - bStart) { - // Optimization: number of changes in reverse direction - // is equal to number of items in preceding interval, - // therefore it cannot contain any common items. - division.aEndPreceding = aStart; - division.bEndPreceding = bStart; - } else { - division.aEndPreceding = aLast; - division.bEndPreceding = bLast; - } - division.nCommonPreceding = nCommonR; - if (nCommonR !== 0) { - // The last point of reverse path segment is start of common subsequence. - division.aCommonPreceding = aLast; - division.bCommonPreceding = bLast; - } - division.nChangeFollowing = d - 1; - if (d === 1) { - // There is no previous path segment. - division.nCommonFollowing = 0; - division.aStartFollowing = aEnd; - division.bStartFollowing = bEnd; - } else { - // Unlike the Myers algorithm which finds only the middle “snake” - // this package can find two common subsequences per division. - // Last point of previous path segment is on an adjacent diagonal. - const bLastPrev = bR + aLastPrev - (insert ? kR - 1 : kR + 1); - - // Because of invariant that intervals following the middle change - // cannot have common items at the start, - // move in forward direction along a diagonal of common items. - const nCommonF = countCommonItemsF( - aLastPrev, - aEnd, - bLastPrev, - bEnd, - isCommon - ); - division.nCommonFollowing = nCommonF; - if (nCommonF !== 0) { - // The last point of reverse path segment is start of common subsequence. - division.aCommonFollowing = aLastPrev; - division.bCommonFollowing = bLastPrev; - } - const aStartFollowing = aLastPrev + nCommonF; // aFirstPrev - const bStartFollowing = bLastPrev + nCommonF; // bFirstPrev - - if (d - 1 === aEnd + bEnd - aStartFollowing - bStartFollowing) { - // Optimization: number of changes in forward direction - // is equal to number of items in following interval, - // therefore it cannot contain any common items. - division.aStartFollowing = aEnd; - division.bStartFollowing = bEnd; - } else { - division.aStartFollowing = aStartFollowing; - division.bStartFollowing = bStartFollowing; - } - } - return true; - } - } - } - return false; -}; - -// Given index intervals and input function to compare items at indexes, -// divide at the middle change. -// -// DO NOT CALL if start === end, because interval cannot contain common items -// and because this function will throw the “no overlap” error. -const divide = ( - nChange, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - aIndexesR, - division // output -) => { - const bF = bStart - aStart; // bIndex = bF + aIndex - kF - const bR = bEnd - aEnd; // bIndex = bR + aIndex - kR - const aLength = aEnd - aStart; - const bLength = bEnd - bStart; - - // Because graph has square or portrait orientation, - // length difference is minimum number of items to insert from b. - // Corresponding forward and reverse diagonals in graph - // depend on length difference of the sequences: - // kF = kR - baDeltaLength - // kR = kF + baDeltaLength - const baDeltaLength = bLength - aLength; - - // Optimization: max diagonal in graph intersects corner of shorter side. - let iMaxF = aLength; - let iMaxR = aLength; - - // Initialize no changes yet in forward or reverse direction: - aIndexesF[0] = aStart - 1; // at open start of interval, outside closed start - aIndexesR[0] = aEnd; // at open end of interval - - if (baDeltaLength % 2 === 0) { - // The number of changes in paths is 2 * d if length difference is even. - const dMin = (nChange || baDeltaLength) / 2; - const dMax = (aLength + bLength) / 2; - for (let d = 1; d <= dMax; d += 1) { - iMaxF = extendPathsF(d, aEnd, bEnd, bF, isCommon, aIndexesF, iMaxF); - if (d < dMin) { - iMaxR = extendPathsR(d, aStart, bStart, bR, isCommon, aIndexesR, iMaxR); - } else if ( - // If a reverse path overlaps a forward path in the same diagonal, - // return a division of the index intervals at the middle change. - extendOverlappablePathsR( - d, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - iMaxF, - aIndexesR, - iMaxR, - division - ) - ) { - return; - } - } - } else { - // The number of changes in paths is 2 * d - 1 if length difference is odd. - const dMin = ((nChange || baDeltaLength) + 1) / 2; - const dMax = (aLength + bLength + 1) / 2; - - // Unroll first half iteration so loop extends the relevant pairs of paths. - // Because of invariant that intervals have no common items at start or end, - // and limitation not to call divide with empty intervals, - // therefore it cannot be called if a forward path with one change - // would overlap a reverse path with no changes, even if dMin === 1. - let d = 1; - iMaxF = extendPathsF(d, aEnd, bEnd, bF, isCommon, aIndexesF, iMaxF); - for (d += 1; d <= dMax; d += 1) { - iMaxR = extendPathsR( - d - 1, - aStart, - bStart, - bR, - isCommon, - aIndexesR, - iMaxR - ); - if (d < dMin) { - iMaxF = extendPathsF(d, aEnd, bEnd, bF, isCommon, aIndexesF, iMaxF); - } else if ( - // If a forward path overlaps a reverse path in the same diagonal, - // return a division of the index intervals at the middle change. - extendOverlappablePathsF( - d, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - iMaxF, - aIndexesR, - iMaxR, - division - ) - ) { - return; - } - } - } - - /* istanbul ignore next */ - throw new Error( - `${pkg}: no overlap aStart=${aStart} aEnd=${aEnd} bStart=${bStart} bEnd=${bEnd}` - ); -}; - -// Given index intervals and input function to compare items at indexes, -// return by output function the number of adjacent items and starting indexes -// of each common subsequence. Divide and conquer with only linear space. -// -// The index intervals are half open [start, end) like array slice method. -// DO NOT CALL if start === end, because interval cannot contain common items -// and because divide function will throw the “no overlap” error. -const findSubsequences = ( - nChange, - aStart, - aEnd, - bStart, - bEnd, - transposed, - callbacks, - aIndexesF, - aIndexesR, - division // temporary memory, not input nor output -) => { - if (bEnd - bStart < aEnd - aStart) { - // Transpose graph so it has portrait instead of landscape orientation. - // Always compare shorter to longer sequence for consistency and optimization. - transposed = !transposed; - if (transposed && callbacks.length === 1) { - // Lazily wrap callback functions to swap args if graph is transposed. - const {foundSubsequence, isCommon} = callbacks[0]; - callbacks[1] = { - foundSubsequence: (nCommon, bCommon, aCommon) => { - foundSubsequence(nCommon, aCommon, bCommon); - }, - isCommon: (bIndex, aIndex) => isCommon(aIndex, bIndex) - }; - } - const tStart = aStart; - const tEnd = aEnd; - aStart = bStart; - aEnd = bEnd; - bStart = tStart; - bEnd = tEnd; - } - const {foundSubsequence, isCommon} = callbacks[transposed ? 1 : 0]; - - // Divide the index intervals at the middle change. - divide( - nChange, - aStart, - aEnd, - bStart, - bEnd, - isCommon, - aIndexesF, - aIndexesR, - division - ); - const { - nChangePreceding, - aEndPreceding, - bEndPreceding, - nCommonPreceding, - aCommonPreceding, - bCommonPreceding, - nCommonFollowing, - aCommonFollowing, - bCommonFollowing, - nChangeFollowing, - aStartFollowing, - bStartFollowing - } = division; - - // Unless either index interval is empty, they might contain common items. - if (aStart < aEndPreceding && bStart < bEndPreceding) { - // Recursely find and return common subsequences preceding the division. - findSubsequences( - nChangePreceding, - aStart, - aEndPreceding, - bStart, - bEndPreceding, - transposed, - callbacks, - aIndexesF, - aIndexesR, - division - ); - } - - // Return common subsequences that are adjacent to the middle change. - if (nCommonPreceding !== 0) { - foundSubsequence(nCommonPreceding, aCommonPreceding, bCommonPreceding); - } - if (nCommonFollowing !== 0) { - foundSubsequence(nCommonFollowing, aCommonFollowing, bCommonFollowing); - } - - // Unless either index interval is empty, they might contain common items. - if (aStartFollowing < aEnd && bStartFollowing < bEnd) { - // Recursely find and return common subsequences following the division. - findSubsequences( - nChangeFollowing, - aStartFollowing, - aEnd, - bStartFollowing, - bEnd, - transposed, - callbacks, - aIndexesF, - aIndexesR, - division - ); - } -}; -const validateLength = (name, arg) => { - if (typeof arg !== 'number') { - throw new TypeError(`${pkg}: ${name} typeof ${typeof arg} is not a number`); - } - if (!Number.isSafeInteger(arg)) { - throw new RangeError(`${pkg}: ${name} value ${arg} is not a safe integer`); - } - if (arg < 0) { - throw new RangeError(`${pkg}: ${name} value ${arg} is a negative integer`); - } -}; -const validateCallback = (name, arg) => { - const type = typeof arg; - if (type !== 'function') { - throw new TypeError(`${pkg}: ${name} typeof ${type} is not a function`); - } -}; - -// Compare items in two sequences to find a longest common subsequence. -// Given lengths of sequences and input function to compare items at indexes, -// return by output function the number of adjacent items and starting indexes -// of each common subsequence. -function diffSequence(aLength, bLength, isCommon, foundSubsequence) { - validateLength('aLength', aLength); - validateLength('bLength', bLength); - validateCallback('isCommon', isCommon); - validateCallback('foundSubsequence', foundSubsequence); - - // Count common items from the start in the forward direction. - const nCommonF = countCommonItemsF(0, aLength, 0, bLength, isCommon); - if (nCommonF !== 0) { - foundSubsequence(nCommonF, 0, 0); - } - - // Unless both sequences consist of common items only, - // find common items in the half-trimmed index intervals. - if (aLength !== nCommonF || bLength !== nCommonF) { - // Invariant: intervals do not have common items at the start. - // The start of an index interval is closed like array slice method. - const aStart = nCommonF; - const bStart = nCommonF; - - // Count common items from the end in the reverse direction. - const nCommonR = countCommonItemsR( - aStart, - aLength - 1, - bStart, - bLength - 1, - isCommon - ); - - // Invariant: intervals do not have common items at the end. - // The end of an index interval is open like array slice method. - const aEnd = aLength - nCommonR; - const bEnd = bLength - nCommonR; - - // Unless one sequence consists of common items only, - // therefore the other trimmed index interval consists of changes only, - // find common items in the trimmed index intervals. - const nCommonFR = nCommonF + nCommonR; - if (aLength !== nCommonFR && bLength !== nCommonFR) { - const nChange = 0; // number of change items is not yet known - const transposed = false; // call the original unwrapped functions - const callbacks = [ - { - foundSubsequence, - isCommon - } - ]; - - // Indexes in sequence a of last points in furthest reaching paths - // from outside the start at top left in the forward direction: - const aIndexesF = [NOT_YET_SET]; - // from the end at bottom right in the reverse direction: - const aIndexesR = [NOT_YET_SET]; - - // Initialize one object as output of all calls to divide function. - const division = { - aCommonFollowing: NOT_YET_SET, - aCommonPreceding: NOT_YET_SET, - aEndPreceding: NOT_YET_SET, - aStartFollowing: NOT_YET_SET, - bCommonFollowing: NOT_YET_SET, - bCommonPreceding: NOT_YET_SET, - bEndPreceding: NOT_YET_SET, - bStartFollowing: NOT_YET_SET, - nChangeFollowing: NOT_YET_SET, - nChangePreceding: NOT_YET_SET, - nCommonFollowing: NOT_YET_SET, - nCommonPreceding: NOT_YET_SET - }; - - // Find and return common subsequences in the trimmed index intervals. - findSubsequences( - nChange, - aStart, - aEnd, - bStart, - bEnd, - transposed, - callbacks, - aIndexesF, - aIndexesR, - division - ); - } - if (nCommonR !== 0) { - foundSubsequence(nCommonR, aEnd, bEnd); - } - } -} diff --git a/lambdas/risk-engine/node_modules/diff-sequences/package.json b/lambdas/risk-engine/node_modules/diff-sequences/package.json deleted file mode 100644 index 0324babc..00000000 --- a/lambdas/risk-engine/node_modules/diff-sequences/package.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "diff-sequences", - "version": "29.6.3", - "repository": { - "type": "git", - "url": "https://github.com/jestjs/jest.git", - "directory": "packages/diff-sequences" - }, - "license": "MIT", - "description": "Compare items in two sequences to find a longest common subsequence", - "keywords": [ - "fast", - "linear", - "space", - "callback", - "diff" - ], - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "main": "./build/index.js", - "types": "./build/index.d.ts", - "exports": { - ".": { - "types": "./build/index.d.ts", - "default": "./build/index.js" - }, - "./package.json": "./package.json" - }, - "devDependencies": { - "@fast-check/jest": "^1.3.0", - "benchmark": "^2.1.4", - "diff": "^5.0.0" - }, - "publishConfig": { - "access": "public" - }, - "gitHead": "fb7d95c8af6e0d65a8b65348433d8a0ea0725b5b" -} diff --git a/lambdas/risk-engine/node_modules/electron-to-chromium/LICENSE b/lambdas/risk-engine/node_modules/electron-to-chromium/LICENSE deleted file mode 100644 index 6c7b614d..00000000 --- a/lambdas/risk-engine/node_modules/electron-to-chromium/LICENSE +++ /dev/null @@ -1,5 +0,0 @@ -Copyright 2018 Kilian Valkhof - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/electron-to-chromium/README.md b/lambdas/risk-engine/node_modules/electron-to-chromium/README.md deleted file mode 100644 index e3c9d5df..00000000 --- a/lambdas/risk-engine/node_modules/electron-to-chromium/README.md +++ /dev/null @@ -1,186 +0,0 @@ -### Made by [@kilianvalkhof](https://twitter.com/kilianvalkhof) - -#### Other projects: - -- 💻 [Polypane](https://polypane.app) - Develop responsive websites and apps twice as fast on multiple screens at once -- 🖌️ [Superposition](https://superposition.design) - Kickstart your design system by extracting design tokens from your website -- 🗒️ [FromScratch](https://fromscratch.rocks) - A smart but simple autosaving scratchpad - ---- - -# Electron-to-Chromium [![npm](https://img.shields.io/npm/v/electron-to-chromium.svg)](https://www.npmjs.com/package/electron-to-chromium) [![npm-downloads](https://img.shields.io/npm/dm/electron-to-chromium.svg)](https://www.npmjs.com/package/electron-to-chromium) [![codecov](https://codecov.io/gh/Kilian/electron-to-chromium/branch/master/graph/badge.svg)](https://codecov.io/gh/Kilian/electron-to-chromium)[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FKilian%2Felectron-to-chromium.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FKilian%2Felectron-to-chromium?ref=badge_shield) - -This repository provides a mapping of Electron versions to the Chromium version that it uses. - -This package is used in [Browserslist](https://github.com/ai/browserslist), so you can use e.g. `electron >= 1.4` in [Autoprefixer](https://github.com/postcss/autoprefixer), [Stylelint](https://github.com/stylelint/stylelint), [babel-preset-env](https://github.com/babel/babel-preset-env) and [eslint-plugin-compat](https://github.com/amilajack/eslint-plugin-compat). - -**Supported by:** - - - - - - -## Install -Install using `npm install electron-to-chromium`. - -## Usage -To include Electron-to-Chromium, require it: - -```js -var e2c = require('electron-to-chromium'); -``` - -### Properties -The Electron-to-Chromium object has 4 properties to use: - -#### `versions` -An object of key-value pairs with a _major_ Electron version as the key, and the corresponding major Chromium version as the value. - -```js -var versions = e2c.versions; -console.log(versions['1.4']); -// returns "53" -``` - -#### `fullVersions` -An object of key-value pairs with a Electron version as the key, and the corresponding full Chromium version as the value. - -```js -var versions = e2c.fullVersions; -console.log(versions['1.4.11']); -// returns "53.0.2785.143" -``` - -#### `chromiumVersions` -An object of key-value pairs with a _major_ Chromium version as the key, and the corresponding major Electron version as the value. - -```js -var versions = e2c.chromiumVersions; -console.log(versions['54']); -// returns "1.4" -``` - -#### `fullChromiumVersions` -An object of key-value pairs with a Chromium version as the key, and an array of the corresponding major Electron versions as the value. - -```js -var versions = e2c.fullChromiumVersions; -console.log(versions['54.0.2840.101']); -// returns ["1.5.1", "1.5.0"] -``` -### Functions - -#### `electronToChromium(query)` -Arguments: -* Query: string or number, required. A major or full Electron version. - -A function that returns the corresponding Chromium version for a given Electron function. Returns a string. - -If you provide it with a major Electron version, it will return a major Chromium version: - -```js -var chromeVersion = e2c.electronToChromium('1.4'); -// chromeVersion is "53" -``` - -If you provide it with a full Electron version, it will return the full Chromium version. - -```js -var chromeVersion = e2c.electronToChromium('1.4.11'); -// chromeVersion is "53.0.2785.143" -``` - -If a query does not match a Chromium version, it will return `undefined`. - -```js -var chromeVersion = e2c.electronToChromium('9000'); -// chromeVersion is undefined -``` - -#### `chromiumToElectron(query)` -Arguments: -* Query: string or number, required. A major or full Chromium version. - -Returns a string with the corresponding Electron version for a given Chromium query. - -If you provide it with a major Chromium version, it will return a major Electron version: - -```js -var electronVersion = e2c.chromiumToElectron('54'); -// electronVersion is "1.4" -``` - -If you provide it with a full Chrome version, it will return an array of full Electron versions. - -```js -var electronVersions = e2c.chromiumToElectron('56.0.2924.87'); -// electronVersions is ["1.6.3", "1.6.2", "1.6.1", "1.6.0"] -``` - -If a query does not match an Electron version, it will return `undefined`. - -```js -var electronVersion = e2c.chromiumToElectron('10'); -// electronVersion is undefined -``` - -#### `electronToBrowserList(query)` **DEPRECATED** -Arguments: -* Query: string or number, required. A major Electron version. - -_**Deprecated**: Browserlist already includes electron-to-chromium._ - -A function that returns a [Browserslist](https://github.com/ai/browserslist) query that matches the given major Electron version. Returns a string. - -If you provide it with a major Electron version, it will return a Browserlist query string that matches the Chromium capabilities: - -```js -var query = e2c.electronToBrowserList('1.4'); -// query is "Chrome >= 53" -``` - -If a query does not match a Chromium version, it will return `undefined`. - -```js -var query = e2c.electronToBrowserList('9000'); -// query is undefined -``` - -### Importing just versions, fullVersions, chromiumVersions and fullChromiumVersions -All lists can be imported on their own, if file size is a concern. - -#### `versions` - -```js -var versions = require('electron-to-chromium/versions'); -``` - -#### `fullVersions` - -```js -var fullVersions = require('electron-to-chromium/full-versions'); -``` - -#### `chromiumVersions` - -```js -var chromiumVersions = require('electron-to-chromium/chromium-versions'); -``` - -#### `fullChromiumVersions` - -```js -var fullChromiumVersions = require('electron-to-chromium/full-chromium-versions'); -``` - -## Updating -This package will be updated with each new Electron release. - -To update the list, run `npm run build.js`. Requires internet access as it downloads from the canonical list of Electron versions. - -To verify correct behaviour, run `npm test`. - - -## License -[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FKilian%2Felectron-to-chromium.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FKilian%2Felectron-to-chromium?ref=badge_large) diff --git a/lambdas/risk-engine/node_modules/electron-to-chromium/chromium-versions.js b/lambdas/risk-engine/node_modules/electron-to-chromium/chromium-versions.js deleted file mode 100644 index 921fc251..00000000 --- a/lambdas/risk-engine/node_modules/electron-to-chromium/chromium-versions.js +++ /dev/null @@ -1,87 +0,0 @@ -module.exports = { - "39": "0.20", - "40": "0.21", - "41": "0.21", - "42": "0.25", - "43": "0.27", - "44": "0.30", - "45": "0.31", - "47": "0.36", - "49": "0.37", - "50": "1.1", - "51": "1.2", - "52": "1.3", - "53": "1.4", - "54": "1.4", - "56": "1.6", - "58": "1.7", - "59": "1.8", - "61": "2.0", - "66": "3.0", - "69": "4.0", - "72": "5.0", - "73": "5.0", - "76": "6.0", - "78": "7.0", - "79": "8.0", - "80": "8.0", - "82": "9.0", - "83": "9.0", - "84": "10.0", - "85": "10.0", - "86": "11.0", - "87": "11.0", - "89": "12.0", - "90": "13.0", - "91": "13.0", - "92": "14.0", - "93": "14.0", - "94": "15.0", - "95": "16.0", - "96": "16.0", - "98": "17.0", - "99": "18.0", - "100": "18.0", - "102": "19.0", - "103": "20.0", - "104": "20.0", - "105": "21.0", - "106": "21.0", - "107": "22.0", - "108": "22.0", - "110": "23.0", - "111": "24.0", - "112": "24.0", - "114": "25.0", - "116": "26.0", - "118": "27.0", - "119": "28.0", - "120": "28.0", - "121": "29.0", - "122": "29.0", - "123": "30.0", - "124": "30.0", - "125": "31.0", - "126": "31.0", - "127": "32.0", - "128": "32.0", - "129": "33.0", - "130": "33.0", - "131": "34.0", - "132": "34.0", - "133": "35.0", - "134": "35.0", - "135": "36.0", - "136": "36.0", - "137": "37.0", - "138": "37.0", - "139": "38.0", - "140": "38.0", - "141": "39.0", - "142": "39.0", - "143": "40.0", - "144": "40.0", - "146": "41.0", - "147": "42.0", - "148": "42.0" -}; \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/electron-to-chromium/chromium-versions.json b/lambdas/risk-engine/node_modules/electron-to-chromium/chromium-versions.json deleted file mode 100644 index ccae5fd4..00000000 --- a/lambdas/risk-engine/node_modules/electron-to-chromium/chromium-versions.json +++ /dev/null @@ -1 +0,0 @@ -{"39":"0.20","40":"0.21","41":"0.21","42":"0.25","43":"0.27","44":"0.30","45":"0.31","47":"0.36","49":"0.37","50":"1.1","51":"1.2","52":"1.3","53":"1.4","54":"1.4","56":"1.6","58":"1.7","59":"1.8","61":"2.0","66":"3.0","69":"4.0","72":"5.0","73":"5.0","76":"6.0","78":"7.0","79":"8.0","80":"8.0","82":"9.0","83":"9.0","84":"10.0","85":"10.0","86":"11.0","87":"11.0","89":"12.0","90":"13.0","91":"13.0","92":"14.0","93":"14.0","94":"15.0","95":"16.0","96":"16.0","98":"17.0","99":"18.0","100":"18.0","102":"19.0","103":"20.0","104":"20.0","105":"21.0","106":"21.0","107":"22.0","108":"22.0","110":"23.0","111":"24.0","112":"24.0","114":"25.0","116":"26.0","118":"27.0","119":"28.0","120":"28.0","121":"29.0","122":"29.0","123":"30.0","124":"30.0","125":"31.0","126":"31.0","127":"32.0","128":"32.0","129":"33.0","130":"33.0","131":"34.0","132":"34.0","133":"35.0","134":"35.0","135":"36.0","136":"36.0","137":"37.0","138":"37.0","139":"38.0","140":"38.0","141":"39.0","142":"39.0","143":"40.0","144":"40.0","146":"41.0","147":"42.0","148":"42.0"} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/electron-to-chromium/full-chromium-versions.js b/lambdas/risk-engine/node_modules/electron-to-chromium/full-chromium-versions.js deleted file mode 100644 index 152e4469..00000000 --- a/lambdas/risk-engine/node_modules/electron-to-chromium/full-chromium-versions.js +++ /dev/null @@ -1,2753 +0,0 @@ -module.exports = { - "39.0.2171.65": [ - "0.20.0", - "0.20.1", - "0.20.2", - "0.20.3", - "0.20.4", - "0.20.5", - "0.20.6", - "0.20.7", - "0.20.8" - ], - "40.0.2214.91": [ - "0.21.0", - "0.21.1", - "0.21.2" - ], - "41.0.2272.76": [ - "0.21.3", - "0.22.1", - "0.22.2", - "0.22.3", - "0.23.0", - "0.24.0" - ], - "42.0.2311.107": [ - "0.25.0", - "0.25.1", - "0.25.2", - "0.25.3", - "0.26.0", - "0.26.1", - "0.27.0", - "0.27.1" - ], - "43.0.2357.65": [ - "0.27.2", - "0.27.3", - "0.28.0", - "0.28.1", - "0.28.2", - "0.28.3", - "0.29.1", - "0.29.2" - ], - "44.0.2403.125": [ - "0.30.4", - "0.31.0" - ], - "45.0.2454.85": [ - "0.31.2", - "0.32.2", - "0.32.3", - "0.33.0", - "0.33.1", - "0.33.2", - "0.33.3", - "0.33.4", - "0.33.6", - "0.33.7", - "0.33.8", - "0.33.9", - "0.34.0", - "0.34.1", - "0.34.2", - "0.34.3", - "0.34.4", - "0.35.1", - "0.35.2", - "0.35.3", - "0.35.4", - "0.35.5" - ], - "47.0.2526.73": [ - "0.36.0", - "0.36.2", - "0.36.3", - "0.36.4" - ], - "47.0.2526.110": [ - "0.36.5", - "0.36.6", - "0.36.7", - "0.36.8", - "0.36.9", - "0.36.10", - "0.36.11", - "0.36.12" - ], - "49.0.2623.75": [ - "0.37.0", - "0.37.1", - "0.37.3", - "0.37.4", - "0.37.5", - "0.37.6", - "0.37.7", - "0.37.8", - "1.0.0", - "1.0.1", - "1.0.2" - ], - "50.0.2661.102": [ - "1.1.0", - "1.1.1", - "1.1.2", - "1.1.3" - ], - "51.0.2704.63": [ - "1.2.0", - "1.2.1" - ], - "51.0.2704.84": [ - "1.2.2", - "1.2.3" - ], - "51.0.2704.103": [ - "1.2.4", - "1.2.5" - ], - "51.0.2704.106": [ - "1.2.6", - "1.2.7", - "1.2.8" - ], - "52.0.2743.82": [ - "1.3.0", - "1.3.1", - "1.3.2", - "1.3.3", - "1.3.4", - "1.3.5", - "1.3.6", - "1.3.7", - "1.3.9", - "1.3.10", - "1.3.13", - "1.3.14", - "1.3.15" - ], - "53.0.2785.113": [ - "1.4.0", - "1.4.1", - "1.4.2", - "1.4.3", - "1.4.4", - "1.4.5" - ], - "53.0.2785.143": [ - "1.4.6", - "1.4.7", - "1.4.8", - "1.4.10", - "1.4.11", - "1.4.13", - "1.4.14", - "1.4.15", - "1.4.16" - ], - "54.0.2840.51": [ - "1.4.12" - ], - "54.0.2840.101": [ - "1.5.0", - "1.5.1" - ], - "56.0.2924.87": [ - "1.6.0", - "1.6.1", - "1.6.2", - "1.6.3", - "1.6.4", - "1.6.5", - "1.6.6", - "1.6.7", - "1.6.8", - "1.6.9", - "1.6.10", - "1.6.11", - "1.6.12", - "1.6.13", - "1.6.14", - "1.6.15", - "1.6.16", - "1.6.17", - "1.6.18" - ], - "58.0.3029.110": [ - "1.7.0", - "1.7.1", - "1.7.2", - "1.7.3", - "1.7.4", - "1.7.5", - "1.7.6", - "1.7.7", - "1.7.8", - "1.7.9", - "1.7.10", - "1.7.11", - "1.7.12", - "1.7.13", - "1.7.14", - "1.7.15", - "1.7.16" - ], - "59.0.3071.115": [ - "1.8.0", - "1.8.1", - "1.8.2-beta.1", - "1.8.2-beta.2", - "1.8.2-beta.3", - "1.8.2-beta.4", - "1.8.2-beta.5", - "1.8.2", - "1.8.3", - "1.8.4", - "1.8.5", - "1.8.6", - "1.8.7", - "1.8.8" - ], - "61.0.3163.100": [ - "2.0.0-beta.1", - "2.0.0-beta.2", - "2.0.0-beta.3", - "2.0.0-beta.4", - "2.0.0-beta.5", - "2.0.0-beta.6", - "2.0.0-beta.7", - "2.0.0-beta.8", - "2.0.0", - "2.0.1", - "2.0.2", - "2.0.3", - "2.0.4", - "2.0.5", - "2.0.6", - "2.0.7", - "2.0.8", - "2.0.9", - "2.0.10", - "2.0.11", - "2.0.12", - "2.0.13", - "2.0.14", - "2.0.15", - "2.0.16", - "2.0.17", - "2.0.18", - "2.1.0-unsupported.20180809" - ], - "66.0.3359.181": [ - "3.0.0-beta.1", - "3.0.0-beta.2", - "3.0.0-beta.3", - "3.0.0-beta.4", - "3.0.0-beta.5", - "3.0.0-beta.6", - "3.0.0-beta.7", - "3.0.0-beta.8", - "3.0.0-beta.9", - "3.0.0-beta.10", - "3.0.0-beta.11", - "3.0.0-beta.12", - "3.0.0-beta.13", - "3.0.0", - "3.0.1", - "3.0.2", - "3.0.3", - "3.0.4", - "3.0.5", - "3.0.6", - "3.0.7", - "3.0.8", - "3.0.9", - "3.0.10", - "3.0.11", - "3.0.12", - "3.0.13", - "3.0.14", - "3.0.15", - "3.0.16", - "3.1.0-beta.1", - "3.1.0-beta.2", - "3.1.0-beta.3", - "3.1.0-beta.4", - "3.1.0-beta.5", - "3.1.0", - "3.1.1", - "3.1.2", - "3.1.3", - "3.1.4", - "3.1.5", - "3.1.6", - "3.1.7", - "3.1.8", - "3.1.9", - "3.1.10", - "3.1.11", - "3.1.12", - "3.1.13" - ], - "69.0.3497.106": [ - "4.0.0-beta.1", - "4.0.0-beta.2", - "4.0.0-beta.3", - "4.0.0-beta.4", - "4.0.0-beta.5", - "4.0.0-beta.6", - "4.0.0-beta.7", - "4.0.0-beta.8", - "4.0.0-beta.9", - "4.0.0-beta.10", - "4.0.0-beta.11", - "4.0.0", - "4.0.1", - "4.0.2", - "4.0.3", - "4.0.4", - "4.0.5", - "4.0.6" - ], - "69.0.3497.128": [ - "4.0.7", - "4.0.8", - "4.1.0", - "4.1.1", - "4.1.2", - "4.1.3", - "4.1.4", - "4.1.5", - "4.2.0", - "4.2.1", - "4.2.2", - "4.2.3", - "4.2.4", - "4.2.5", - "4.2.6", - "4.2.7", - "4.2.8", - "4.2.9", - "4.2.10", - "4.2.11", - "4.2.12" - ], - "72.0.3626.52": [ - "5.0.0-beta.1", - "5.0.0-beta.2" - ], - "73.0.3683.27": [ - "5.0.0-beta.3" - ], - "73.0.3683.54": [ - "5.0.0-beta.4" - ], - "73.0.3683.61": [ - "5.0.0-beta.5" - ], - "73.0.3683.84": [ - "5.0.0-beta.6" - ], - "73.0.3683.94": [ - "5.0.0-beta.7" - ], - "73.0.3683.104": [ - "5.0.0-beta.8" - ], - "73.0.3683.117": [ - "5.0.0-beta.9" - ], - "73.0.3683.119": [ - "5.0.0" - ], - "73.0.3683.121": [ - "5.0.1", - "5.0.2", - "5.0.3", - "5.0.4", - "5.0.5", - "5.0.6", - "5.0.7", - "5.0.8", - "5.0.9", - "5.0.10", - "5.0.11", - "5.0.12", - "5.0.13" - ], - "76.0.3774.1": [ - "6.0.0-beta.1" - ], - "76.0.3783.1": [ - "6.0.0-beta.2", - "6.0.0-beta.3", - "6.0.0-beta.4" - ], - "76.0.3805.4": [ - "6.0.0-beta.5" - ], - "76.0.3809.3": [ - "6.0.0-beta.6" - ], - "76.0.3809.22": [ - "6.0.0-beta.7" - ], - "76.0.3809.26": [ - "6.0.0-beta.8", - "6.0.0-beta.9" - ], - "76.0.3809.37": [ - "6.0.0-beta.10" - ], - "76.0.3809.42": [ - "6.0.0-beta.11" - ], - "76.0.3809.54": [ - "6.0.0-beta.12" - ], - "76.0.3809.60": [ - "6.0.0-beta.13" - ], - "76.0.3809.68": [ - "6.0.0-beta.14" - ], - "76.0.3809.74": [ - "6.0.0-beta.15" - ], - "76.0.3809.88": [ - "6.0.0" - ], - "76.0.3809.102": [ - "6.0.1" - ], - "76.0.3809.110": [ - "6.0.2" - ], - "76.0.3809.126": [ - "6.0.3" - ], - "76.0.3809.131": [ - "6.0.4" - ], - "76.0.3809.136": [ - "6.0.5" - ], - "76.0.3809.138": [ - "6.0.6" - ], - "76.0.3809.139": [ - "6.0.7" - ], - "76.0.3809.146": [ - "6.0.8", - "6.0.9", - "6.0.10", - "6.0.11", - "6.0.12", - "6.1.0", - "6.1.1", - "6.1.2", - "6.1.3", - "6.1.4", - "6.1.5", - "6.1.6", - "6.1.7", - "6.1.8", - "6.1.9", - "6.1.10", - "6.1.11", - "6.1.12" - ], - "78.0.3866.0": [ - "7.0.0-beta.1", - "7.0.0-beta.2", - "7.0.0-beta.3" - ], - "78.0.3896.6": [ - "7.0.0-beta.4" - ], - "78.0.3905.1": [ - "7.0.0-beta.5", - "7.0.0-beta.6", - "7.0.0-beta.7", - "7.0.0" - ], - "78.0.3904.92": [ - "7.0.1" - ], - "78.0.3904.94": [ - "7.1.0" - ], - "78.0.3904.99": [ - "7.1.1" - ], - "78.0.3904.113": [ - "7.1.2" - ], - "78.0.3904.126": [ - "7.1.3" - ], - "78.0.3904.130": [ - "7.1.4", - "7.1.5", - "7.1.6", - "7.1.7", - "7.1.8", - "7.1.9", - "7.1.10", - "7.1.11", - "7.1.12", - "7.1.13", - "7.1.14", - "7.2.0", - "7.2.1", - "7.2.2", - "7.2.3", - "7.2.4", - "7.3.0", - "7.3.1", - "7.3.2", - "7.3.3" - ], - "79.0.3931.0": [ - "8.0.0-beta.1", - "8.0.0-beta.2" - ], - "80.0.3955.0": [ - "8.0.0-beta.3", - "8.0.0-beta.4" - ], - "80.0.3987.14": [ - "8.0.0-beta.5" - ], - "80.0.3987.51": [ - "8.0.0-beta.6" - ], - "80.0.3987.59": [ - "8.0.0-beta.7" - ], - "80.0.3987.75": [ - "8.0.0-beta.8", - "8.0.0-beta.9" - ], - "80.0.3987.86": [ - "8.0.0", - "8.0.1", - "8.0.2" - ], - "80.0.3987.134": [ - "8.0.3" - ], - "80.0.3987.137": [ - "8.1.0" - ], - "80.0.3987.141": [ - "8.1.1" - ], - "80.0.3987.158": [ - "8.2.0" - ], - "80.0.3987.163": [ - "8.2.1", - "8.2.2", - "8.2.3", - "8.5.3", - "8.5.4", - "8.5.5" - ], - "80.0.3987.165": [ - "8.2.4", - "8.2.5", - "8.3.0", - "8.3.1", - "8.3.2", - "8.3.3", - "8.3.4", - "8.4.0", - "8.4.1", - "8.5.0", - "8.5.1", - "8.5.2" - ], - "82.0.4048.0": [ - "9.0.0-beta.1", - "9.0.0-beta.2", - "9.0.0-beta.3", - "9.0.0-beta.4", - "9.0.0-beta.5" - ], - "82.0.4058.2": [ - "9.0.0-beta.6", - "9.0.0-beta.7", - "9.0.0-beta.9" - ], - "82.0.4085.10": [ - "9.0.0-beta.10" - ], - "82.0.4085.14": [ - "9.0.0-beta.11", - "9.0.0-beta.12", - "9.0.0-beta.13" - ], - "82.0.4085.27": [ - "9.0.0-beta.14" - ], - "83.0.4102.3": [ - "9.0.0-beta.15", - "9.0.0-beta.16" - ], - "83.0.4103.14": [ - "9.0.0-beta.17" - ], - "83.0.4103.16": [ - "9.0.0-beta.18" - ], - "83.0.4103.24": [ - "9.0.0-beta.19" - ], - "83.0.4103.26": [ - "9.0.0-beta.20", - "9.0.0-beta.21" - ], - "83.0.4103.34": [ - "9.0.0-beta.22" - ], - "83.0.4103.44": [ - "9.0.0-beta.23" - ], - "83.0.4103.45": [ - "9.0.0-beta.24" - ], - "83.0.4103.64": [ - "9.0.0" - ], - "83.0.4103.94": [ - "9.0.1", - "9.0.2" - ], - "83.0.4103.100": [ - "9.0.3" - ], - "83.0.4103.104": [ - "9.0.4" - ], - "83.0.4103.119": [ - "9.0.5" - ], - "83.0.4103.122": [ - "9.1.0", - "9.1.1", - "9.1.2", - "9.2.0", - "9.2.1", - "9.3.0", - "9.3.1", - "9.3.2", - "9.3.3", - "9.3.4", - "9.3.5", - "9.4.0", - "9.4.1", - "9.4.2", - "9.4.3", - "9.4.4" - ], - "84.0.4129.0": [ - "10.0.0-beta.1", - "10.0.0-beta.2" - ], - "85.0.4161.2": [ - "10.0.0-beta.3", - "10.0.0-beta.4" - ], - "85.0.4181.1": [ - "10.0.0-beta.8", - "10.0.0-beta.9" - ], - "85.0.4183.19": [ - "10.0.0-beta.10" - ], - "85.0.4183.20": [ - "10.0.0-beta.11" - ], - "85.0.4183.26": [ - "10.0.0-beta.12" - ], - "85.0.4183.39": [ - "10.0.0-beta.13", - "10.0.0-beta.14", - "10.0.0-beta.15", - "10.0.0-beta.17", - "10.0.0-beta.19", - "10.0.0-beta.20", - "10.0.0-beta.21" - ], - "85.0.4183.70": [ - "10.0.0-beta.23" - ], - "85.0.4183.78": [ - "10.0.0-beta.24" - ], - "85.0.4183.80": [ - "10.0.0-beta.25" - ], - "85.0.4183.84": [ - "10.0.0" - ], - "85.0.4183.86": [ - "10.0.1" - ], - "85.0.4183.87": [ - "10.1.0" - ], - "85.0.4183.93": [ - "10.1.1" - ], - "85.0.4183.98": [ - "10.1.2" - ], - "85.0.4183.121": [ - "10.1.3", - "10.1.4", - "10.1.5", - "10.1.6", - "10.1.7", - "10.2.0", - "10.3.0", - "10.3.1", - "10.3.2", - "10.4.0", - "10.4.1", - "10.4.2", - "10.4.3", - "10.4.4", - "10.4.5", - "10.4.6", - "10.4.7" - ], - "86.0.4234.0": [ - "11.0.0-beta.1", - "11.0.0-beta.3", - "11.0.0-beta.4", - "11.0.0-beta.5", - "11.0.0-beta.6", - "11.0.0-beta.7" - ], - "87.0.4251.1": [ - "11.0.0-beta.8", - "11.0.0-beta.9", - "11.0.0-beta.11" - ], - "87.0.4280.11": [ - "11.0.0-beta.12", - "11.0.0-beta.13" - ], - "87.0.4280.27": [ - "11.0.0-beta.16", - "11.0.0-beta.17", - "11.0.0-beta.18", - "11.0.0-beta.19" - ], - "87.0.4280.40": [ - "11.0.0-beta.20" - ], - "87.0.4280.47": [ - "11.0.0-beta.22", - "11.0.0-beta.23" - ], - "87.0.4280.60": [ - "11.0.0", - "11.0.1" - ], - "87.0.4280.67": [ - "11.0.2", - "11.0.3", - "11.0.4" - ], - "87.0.4280.88": [ - "11.0.5", - "11.1.0", - "11.1.1" - ], - "87.0.4280.141": [ - "11.2.0", - "11.2.1", - "11.2.2", - "11.2.3", - "11.3.0", - "11.4.0", - "11.4.1", - "11.4.2", - "11.4.3", - "11.4.4", - "11.4.5", - "11.4.6", - "11.4.7", - "11.4.8", - "11.4.9", - "11.4.10", - "11.4.11", - "11.4.12", - "11.5.0" - ], - "89.0.4328.0": [ - "12.0.0-beta.1", - "12.0.0-beta.3", - "12.0.0-beta.4", - "12.0.0-beta.5", - "12.0.0-beta.6", - "12.0.0-beta.7", - "12.0.0-beta.8", - "12.0.0-beta.9", - "12.0.0-beta.10", - "12.0.0-beta.11", - "12.0.0-beta.12", - "12.0.0-beta.14" - ], - "89.0.4348.1": [ - "12.0.0-beta.16", - "12.0.0-beta.18", - "12.0.0-beta.19", - "12.0.0-beta.20" - ], - "89.0.4388.2": [ - "12.0.0-beta.21", - "12.0.0-beta.22", - "12.0.0-beta.23", - "12.0.0-beta.24", - "12.0.0-beta.25", - "12.0.0-beta.26" - ], - "89.0.4389.23": [ - "12.0.0-beta.27", - "12.0.0-beta.28", - "12.0.0-beta.29" - ], - "89.0.4389.58": [ - "12.0.0-beta.30", - "12.0.0-beta.31" - ], - "89.0.4389.69": [ - "12.0.0" - ], - "89.0.4389.82": [ - "12.0.1" - ], - "89.0.4389.90": [ - "12.0.2" - ], - "89.0.4389.114": [ - "12.0.3", - "12.0.4" - ], - "89.0.4389.128": [ - "12.0.5", - "12.0.6", - "12.0.7", - "12.0.8", - "12.0.9", - "12.0.10", - "12.0.11", - "12.0.12", - "12.0.13", - "12.0.14", - "12.0.15", - "12.0.16", - "12.0.17", - "12.0.18", - "12.1.0", - "12.1.1", - "12.1.2", - "12.2.0", - "12.2.1", - "12.2.2", - "12.2.3" - ], - "90.0.4402.0": [ - "13.0.0-beta.2", - "13.0.0-beta.3" - ], - "90.0.4415.0": [ - "13.0.0-beta.4", - "13.0.0-beta.5", - "13.0.0-beta.6", - "13.0.0-beta.7", - "13.0.0-beta.8", - "13.0.0-beta.9", - "13.0.0-beta.10", - "13.0.0-beta.11", - "13.0.0-beta.12", - "13.0.0-beta.13" - ], - "91.0.4448.0": [ - "13.0.0-beta.14", - "13.0.0-beta.16", - "13.0.0-beta.17", - "13.0.0-beta.18", - "13.0.0-beta.20" - ], - "91.0.4472.33": [ - "13.0.0-beta.21", - "13.0.0-beta.22", - "13.0.0-beta.23" - ], - "91.0.4472.38": [ - "13.0.0-beta.24", - "13.0.0-beta.25", - "13.0.0-beta.26", - "13.0.0-beta.27", - "13.0.0-beta.28" - ], - "91.0.4472.69": [ - "13.0.0", - "13.0.1" - ], - "91.0.4472.77": [ - "13.1.0", - "13.1.1", - "13.1.2" - ], - "91.0.4472.106": [ - "13.1.3", - "13.1.4" - ], - "91.0.4472.124": [ - "13.1.5", - "13.1.6", - "13.1.7" - ], - "91.0.4472.164": [ - "13.1.8", - "13.1.9", - "13.2.0", - "13.2.1", - "13.2.2", - "13.2.3", - "13.3.0", - "13.4.0", - "13.5.0", - "13.5.1", - "13.5.2", - "13.6.0", - "13.6.1", - "13.6.2", - "13.6.3", - "13.6.6", - "13.6.7", - "13.6.8", - "13.6.9" - ], - "92.0.4511.0": [ - "14.0.0-beta.1", - "14.0.0-beta.2", - "14.0.0-beta.3" - ], - "93.0.4536.0": [ - "14.0.0-beta.5", - "14.0.0-beta.6", - "14.0.0-beta.7", - "14.0.0-beta.8" - ], - "93.0.4539.0": [ - "14.0.0-beta.9", - "14.0.0-beta.10" - ], - "93.0.4557.4": [ - "14.0.0-beta.11", - "14.0.0-beta.12" - ], - "93.0.4566.0": [ - "14.0.0-beta.13", - "14.0.0-beta.14", - "14.0.0-beta.15", - "14.0.0-beta.16", - "14.0.0-beta.17", - "15.0.0-alpha.1", - "15.0.0-alpha.2" - ], - "93.0.4577.15": [ - "14.0.0-beta.18", - "14.0.0-beta.19", - "14.0.0-beta.20", - "14.0.0-beta.21" - ], - "93.0.4577.25": [ - "14.0.0-beta.22", - "14.0.0-beta.23" - ], - "93.0.4577.51": [ - "14.0.0-beta.24", - "14.0.0-beta.25" - ], - "93.0.4577.58": [ - "14.0.0" - ], - "93.0.4577.63": [ - "14.0.1" - ], - "93.0.4577.82": [ - "14.0.2", - "14.1.0", - "14.1.1", - "14.2.0", - "14.2.1", - "14.2.2", - "14.2.3", - "14.2.4", - "14.2.5", - "14.2.6", - "14.2.7", - "14.2.8", - "14.2.9" - ], - "94.0.4584.0": [ - "15.0.0-alpha.3", - "15.0.0-alpha.4", - "15.0.0-alpha.5", - "15.0.0-alpha.6" - ], - "94.0.4590.2": [ - "15.0.0-alpha.7", - "15.0.0-alpha.8", - "15.0.0-alpha.9" - ], - "94.0.4606.12": [ - "15.0.0-alpha.10" - ], - "94.0.4606.20": [ - "15.0.0-beta.1", - "15.0.0-beta.2" - ], - "94.0.4606.31": [ - "15.0.0-beta.3", - "15.0.0-beta.4", - "15.0.0-beta.5", - "15.0.0-beta.6", - "15.0.0-beta.7" - ], - "94.0.4606.51": [ - "15.0.0" - ], - "94.0.4606.61": [ - "15.1.0", - "15.1.1" - ], - "94.0.4606.71": [ - "15.1.2" - ], - "94.0.4606.81": [ - "15.2.0", - "15.3.0", - "15.3.1", - "15.3.2", - "15.3.3", - "15.3.4", - "15.3.5", - "15.3.6", - "15.3.7", - "15.4.0", - "15.4.1", - "15.4.2", - "15.5.0", - "15.5.1", - "15.5.2", - "15.5.3", - "15.5.4", - "15.5.5", - "15.5.6", - "15.5.7" - ], - "95.0.4629.0": [ - "16.0.0-alpha.1", - "16.0.0-alpha.2", - "16.0.0-alpha.3", - "16.0.0-alpha.4", - "16.0.0-alpha.5", - "16.0.0-alpha.6", - "16.0.0-alpha.7" - ], - "96.0.4647.0": [ - "16.0.0-alpha.8", - "16.0.0-alpha.9", - "16.0.0-beta.1", - "16.0.0-beta.2", - "16.0.0-beta.3" - ], - "96.0.4664.18": [ - "16.0.0-beta.4", - "16.0.0-beta.5" - ], - "96.0.4664.27": [ - "16.0.0-beta.6", - "16.0.0-beta.7" - ], - "96.0.4664.35": [ - "16.0.0-beta.8", - "16.0.0-beta.9" - ], - "96.0.4664.45": [ - "16.0.0", - "16.0.1" - ], - "96.0.4664.55": [ - "16.0.2", - "16.0.3", - "16.0.4", - "16.0.5" - ], - "96.0.4664.110": [ - "16.0.6", - "16.0.7", - "16.0.8" - ], - "96.0.4664.174": [ - "16.0.9", - "16.0.10", - "16.1.0", - "16.1.1", - "16.2.0", - "16.2.1", - "16.2.2", - "16.2.3", - "16.2.4", - "16.2.5", - "16.2.6", - "16.2.7", - "16.2.8" - ], - "96.0.4664.4": [ - "17.0.0-alpha.1", - "17.0.0-alpha.2", - "17.0.0-alpha.3" - ], - "98.0.4706.0": [ - "17.0.0-alpha.4", - "17.0.0-alpha.5", - "17.0.0-alpha.6", - "17.0.0-beta.1", - "17.0.0-beta.2" - ], - "98.0.4758.9": [ - "17.0.0-beta.3" - ], - "98.0.4758.11": [ - "17.0.0-beta.4", - "17.0.0-beta.5", - "17.0.0-beta.6", - "17.0.0-beta.7", - "17.0.0-beta.8", - "17.0.0-beta.9" - ], - "98.0.4758.74": [ - "17.0.0" - ], - "98.0.4758.82": [ - "17.0.1" - ], - "98.0.4758.102": [ - "17.1.0" - ], - "98.0.4758.109": [ - "17.1.1", - "17.1.2", - "17.2.0" - ], - "98.0.4758.141": [ - "17.3.0", - "17.3.1", - "17.4.0", - "17.4.1", - "17.4.2", - "17.4.3", - "17.4.4", - "17.4.5", - "17.4.6", - "17.4.7", - "17.4.8", - "17.4.9", - "17.4.10", - "17.4.11" - ], - "99.0.4767.0": [ - "18.0.0-alpha.1", - "18.0.0-alpha.2", - "18.0.0-alpha.3", - "18.0.0-alpha.4", - "18.0.0-alpha.5" - ], - "100.0.4894.0": [ - "18.0.0-beta.1", - "18.0.0-beta.2", - "18.0.0-beta.3", - "18.0.0-beta.4", - "18.0.0-beta.5", - "18.0.0-beta.6" - ], - "100.0.4896.56": [ - "18.0.0" - ], - "100.0.4896.60": [ - "18.0.1", - "18.0.2" - ], - "100.0.4896.75": [ - "18.0.3", - "18.0.4" - ], - "100.0.4896.127": [ - "18.1.0" - ], - "100.0.4896.143": [ - "18.2.0", - "18.2.1", - "18.2.2", - "18.2.3" - ], - "100.0.4896.160": [ - "18.2.4", - "18.3.0", - "18.3.1", - "18.3.2", - "18.3.3", - "18.3.4", - "18.3.5", - "18.3.6", - "18.3.7", - "18.3.8", - "18.3.9", - "18.3.11", - "18.3.12", - "18.3.13", - "18.3.14", - "18.3.15" - ], - "102.0.4962.3": [ - "19.0.0-alpha.1" - ], - "102.0.4971.0": [ - "19.0.0-alpha.2", - "19.0.0-alpha.3" - ], - "102.0.4989.0": [ - "19.0.0-alpha.4", - "19.0.0-alpha.5" - ], - "102.0.4999.0": [ - "19.0.0-beta.1", - "19.0.0-beta.2", - "19.0.0-beta.3" - ], - "102.0.5005.27": [ - "19.0.0-beta.4" - ], - "102.0.5005.40": [ - "19.0.0-beta.5", - "19.0.0-beta.6", - "19.0.0-beta.7" - ], - "102.0.5005.49": [ - "19.0.0-beta.8" - ], - "102.0.5005.61": [ - "19.0.0", - "19.0.1" - ], - "102.0.5005.63": [ - "19.0.2", - "19.0.3", - "19.0.4" - ], - "102.0.5005.115": [ - "19.0.5", - "19.0.6" - ], - "102.0.5005.134": [ - "19.0.7" - ], - "102.0.5005.148": [ - "19.0.8" - ], - "102.0.5005.167": [ - "19.0.9", - "19.0.10", - "19.0.11", - "19.0.12", - "19.0.13", - "19.0.14", - "19.0.15", - "19.0.16", - "19.0.17", - "19.1.0", - "19.1.1", - "19.1.2", - "19.1.3", - "19.1.4", - "19.1.5", - "19.1.6", - "19.1.7", - "19.1.8", - "19.1.9" - ], - "103.0.5044.0": [ - "20.0.0-alpha.1" - ], - "104.0.5073.0": [ - "20.0.0-alpha.2", - "20.0.0-alpha.3", - "20.0.0-alpha.4", - "20.0.0-alpha.5", - "20.0.0-alpha.6", - "20.0.0-alpha.7", - "20.0.0-beta.1", - "20.0.0-beta.2", - "20.0.0-beta.3", - "20.0.0-beta.4", - "20.0.0-beta.5", - "20.0.0-beta.6", - "20.0.0-beta.7", - "20.0.0-beta.8" - ], - "104.0.5112.39": [ - "20.0.0-beta.9" - ], - "104.0.5112.48": [ - "20.0.0-beta.10", - "20.0.0-beta.11", - "20.0.0-beta.12" - ], - "104.0.5112.57": [ - "20.0.0-beta.13" - ], - "104.0.5112.65": [ - "20.0.0" - ], - "104.0.5112.81": [ - "20.0.1", - "20.0.2", - "20.0.3" - ], - "104.0.5112.102": [ - "20.1.0", - "20.1.1" - ], - "104.0.5112.114": [ - "20.1.2", - "20.1.3", - "20.1.4" - ], - "104.0.5112.124": [ - "20.2.0", - "20.3.0", - "20.3.1", - "20.3.2", - "20.3.3", - "20.3.4", - "20.3.5", - "20.3.6", - "20.3.7", - "20.3.8", - "20.3.9", - "20.3.10", - "20.3.11", - "20.3.12" - ], - "105.0.5187.0": [ - "21.0.0-alpha.1", - "21.0.0-alpha.2", - "21.0.0-alpha.3", - "21.0.0-alpha.4", - "21.0.0-alpha.5" - ], - "106.0.5216.0": [ - "21.0.0-alpha.6", - "21.0.0-beta.1", - "21.0.0-beta.2", - "21.0.0-beta.3", - "21.0.0-beta.4", - "21.0.0-beta.5" - ], - "106.0.5249.40": [ - "21.0.0-beta.6", - "21.0.0-beta.7", - "21.0.0-beta.8" - ], - "106.0.5249.51": [ - "21.0.0" - ], - "106.0.5249.61": [ - "21.0.1" - ], - "106.0.5249.91": [ - "21.1.0" - ], - "106.0.5249.103": [ - "21.1.1" - ], - "106.0.5249.119": [ - "21.2.0" - ], - "106.0.5249.165": [ - "21.2.1" - ], - "106.0.5249.168": [ - "21.2.2", - "21.2.3" - ], - "106.0.5249.181": [ - "21.3.0", - "21.3.1" - ], - "106.0.5249.199": [ - "21.3.3", - "21.3.4", - "21.3.5", - "21.4.0", - "21.4.1", - "21.4.2", - "21.4.3", - "21.4.4" - ], - "107.0.5286.0": [ - "22.0.0-alpha.1" - ], - "108.0.5329.0": [ - "22.0.0-alpha.3", - "22.0.0-alpha.4", - "22.0.0-alpha.5", - "22.0.0-alpha.6" - ], - "108.0.5355.0": [ - "22.0.0-alpha.7" - ], - "108.0.5359.10": [ - "22.0.0-alpha.8", - "22.0.0-beta.1", - "22.0.0-beta.2", - "22.0.0-beta.3" - ], - "108.0.5359.29": [ - "22.0.0-beta.4" - ], - "108.0.5359.40": [ - "22.0.0-beta.5", - "22.0.0-beta.6" - ], - "108.0.5359.48": [ - "22.0.0-beta.7", - "22.0.0-beta.8" - ], - "108.0.5359.62": [ - "22.0.0" - ], - "108.0.5359.125": [ - "22.0.1" - ], - "108.0.5359.179": [ - "22.0.2", - "22.0.3", - "22.1.0" - ], - "108.0.5359.215": [ - "22.2.0", - "22.2.1", - "22.3.0", - "22.3.1", - "22.3.2", - "22.3.3", - "22.3.4", - "22.3.5", - "22.3.6", - "22.3.7", - "22.3.8", - "22.3.9", - "22.3.10", - "22.3.11", - "22.3.12", - "22.3.13", - "22.3.14", - "22.3.15", - "22.3.16", - "22.3.17", - "22.3.18", - "22.3.20", - "22.3.21", - "22.3.22", - "22.3.23", - "22.3.24", - "22.3.25", - "22.3.26", - "22.3.27" - ], - "110.0.5415.0": [ - "23.0.0-alpha.1" - ], - "110.0.5451.0": [ - "23.0.0-alpha.2", - "23.0.0-alpha.3" - ], - "110.0.5478.5": [ - "23.0.0-beta.1", - "23.0.0-beta.2", - "23.0.0-beta.3" - ], - "110.0.5481.30": [ - "23.0.0-beta.4" - ], - "110.0.5481.38": [ - "23.0.0-beta.5" - ], - "110.0.5481.52": [ - "23.0.0-beta.6", - "23.0.0-beta.8" - ], - "110.0.5481.77": [ - "23.0.0" - ], - "110.0.5481.100": [ - "23.1.0" - ], - "110.0.5481.104": [ - "23.1.1" - ], - "110.0.5481.177": [ - "23.1.2" - ], - "110.0.5481.179": [ - "23.1.3" - ], - "110.0.5481.192": [ - "23.1.4", - "23.2.0" - ], - "110.0.5481.208": [ - "23.2.1", - "23.2.2", - "23.2.3", - "23.2.4", - "23.3.0", - "23.3.1", - "23.3.2", - "23.3.3", - "23.3.4", - "23.3.5", - "23.3.6", - "23.3.7", - "23.3.8", - "23.3.9", - "23.3.10", - "23.3.11", - "23.3.12", - "23.3.13" - ], - "111.0.5560.0": [ - "24.0.0-alpha.1", - "24.0.0-alpha.2", - "24.0.0-alpha.3", - "24.0.0-alpha.4", - "24.0.0-alpha.5", - "24.0.0-alpha.6", - "24.0.0-alpha.7" - ], - "111.0.5563.50": [ - "24.0.0-beta.1", - "24.0.0-beta.2" - ], - "112.0.5615.20": [ - "24.0.0-beta.3", - "24.0.0-beta.4" - ], - "112.0.5615.29": [ - "24.0.0-beta.5" - ], - "112.0.5615.39": [ - "24.0.0-beta.6", - "24.0.0-beta.7" - ], - "112.0.5615.49": [ - "24.0.0" - ], - "112.0.5615.50": [ - "24.1.0", - "24.1.1" - ], - "112.0.5615.87": [ - "24.1.2" - ], - "112.0.5615.165": [ - "24.1.3", - "24.2.0", - "24.3.0" - ], - "112.0.5615.183": [ - "24.3.1" - ], - "112.0.5615.204": [ - "24.4.0", - "24.4.1", - "24.5.0", - "24.5.1", - "24.6.0", - "24.6.1", - "24.6.2", - "24.6.3", - "24.6.4", - "24.6.5", - "24.7.0", - "24.7.1", - "24.8.0", - "24.8.1", - "24.8.2", - "24.8.3", - "24.8.4", - "24.8.5", - "24.8.6", - "24.8.7", - "24.8.8" - ], - "114.0.5694.0": [ - "25.0.0-alpha.1", - "25.0.0-alpha.2" - ], - "114.0.5710.0": [ - "25.0.0-alpha.3", - "25.0.0-alpha.4" - ], - "114.0.5719.0": [ - "25.0.0-alpha.5", - "25.0.0-alpha.6", - "25.0.0-beta.1", - "25.0.0-beta.2", - "25.0.0-beta.3" - ], - "114.0.5735.16": [ - "25.0.0-beta.4", - "25.0.0-beta.5", - "25.0.0-beta.6", - "25.0.0-beta.7" - ], - "114.0.5735.35": [ - "25.0.0-beta.8" - ], - "114.0.5735.45": [ - "25.0.0-beta.9", - "25.0.0", - "25.0.1" - ], - "114.0.5735.106": [ - "25.1.0", - "25.1.1" - ], - "114.0.5735.134": [ - "25.2.0" - ], - "114.0.5735.199": [ - "25.3.0" - ], - "114.0.5735.243": [ - "25.3.1" - ], - "114.0.5735.248": [ - "25.3.2", - "25.4.0" - ], - "114.0.5735.289": [ - "25.5.0", - "25.6.0", - "25.7.0", - "25.8.0", - "25.8.1", - "25.8.2", - "25.8.3", - "25.8.4", - "25.9.0", - "25.9.1", - "25.9.2", - "25.9.3", - "25.9.4", - "25.9.5", - "25.9.6", - "25.9.7", - "25.9.8" - ], - "116.0.5791.0": [ - "26.0.0-alpha.1", - "26.0.0-alpha.2", - "26.0.0-alpha.3", - "26.0.0-alpha.4", - "26.0.0-alpha.5" - ], - "116.0.5815.0": [ - "26.0.0-alpha.6" - ], - "116.0.5831.0": [ - "26.0.0-alpha.7" - ], - "116.0.5845.0": [ - "26.0.0-alpha.8", - "26.0.0-beta.1" - ], - "116.0.5845.14": [ - "26.0.0-beta.2", - "26.0.0-beta.3", - "26.0.0-beta.4", - "26.0.0-beta.5", - "26.0.0-beta.6", - "26.0.0-beta.7" - ], - "116.0.5845.42": [ - "26.0.0-beta.8", - "26.0.0-beta.9" - ], - "116.0.5845.49": [ - "26.0.0-beta.10", - "26.0.0-beta.11" - ], - "116.0.5845.62": [ - "26.0.0-beta.12" - ], - "116.0.5845.82": [ - "26.0.0" - ], - "116.0.5845.97": [ - "26.1.0" - ], - "116.0.5845.179": [ - "26.2.0" - ], - "116.0.5845.188": [ - "26.2.1" - ], - "116.0.5845.190": [ - "26.2.2", - "26.2.3", - "26.2.4" - ], - "116.0.5845.228": [ - "26.3.0", - "26.4.0", - "26.4.1", - "26.4.2", - "26.4.3", - "26.5.0", - "26.6.0", - "26.6.1", - "26.6.2", - "26.6.3", - "26.6.4", - "26.6.5", - "26.6.6", - "26.6.7", - "26.6.8", - "26.6.9", - "26.6.10" - ], - "118.0.5949.0": [ - "27.0.0-alpha.1", - "27.0.0-alpha.2", - "27.0.0-alpha.3", - "27.0.0-alpha.4", - "27.0.0-alpha.5", - "27.0.0-alpha.6" - ], - "118.0.5993.5": [ - "27.0.0-beta.1", - "27.0.0-beta.2", - "27.0.0-beta.3" - ], - "118.0.5993.11": [ - "27.0.0-beta.4" - ], - "118.0.5993.18": [ - "27.0.0-beta.5", - "27.0.0-beta.6", - "27.0.0-beta.7", - "27.0.0-beta.8", - "27.0.0-beta.9" - ], - "118.0.5993.54": [ - "27.0.0" - ], - "118.0.5993.89": [ - "27.0.1", - "27.0.2" - ], - "118.0.5993.120": [ - "27.0.3" - ], - "118.0.5993.129": [ - "27.0.4" - ], - "118.0.5993.144": [ - "27.1.0", - "27.1.2" - ], - "118.0.5993.159": [ - "27.1.3", - "27.2.0", - "27.2.1", - "27.2.2", - "27.2.3", - "27.2.4", - "27.3.0", - "27.3.1", - "27.3.2", - "27.3.3", - "27.3.4", - "27.3.5", - "27.3.6", - "27.3.7", - "27.3.8", - "27.3.9", - "27.3.10", - "27.3.11" - ], - "119.0.6045.0": [ - "28.0.0-alpha.1", - "28.0.0-alpha.2" - ], - "119.0.6045.21": [ - "28.0.0-alpha.3", - "28.0.0-alpha.4" - ], - "119.0.6045.33": [ - "28.0.0-alpha.5", - "28.0.0-alpha.6", - "28.0.0-alpha.7", - "28.0.0-beta.1" - ], - "120.0.6099.0": [ - "28.0.0-beta.2" - ], - "120.0.6099.5": [ - "28.0.0-beta.3", - "28.0.0-beta.4" - ], - "120.0.6099.18": [ - "28.0.0-beta.5", - "28.0.0-beta.6", - "28.0.0-beta.7", - "28.0.0-beta.8", - "28.0.0-beta.9", - "28.0.0-beta.10" - ], - "120.0.6099.35": [ - "28.0.0-beta.11" - ], - "120.0.6099.56": [ - "28.0.0" - ], - "120.0.6099.109": [ - "28.1.0", - "28.1.1" - ], - "120.0.6099.199": [ - "28.1.2", - "28.1.3" - ], - "120.0.6099.216": [ - "28.1.4" - ], - "120.0.6099.227": [ - "28.2.0" - ], - "120.0.6099.268": [ - "28.2.1" - ], - "120.0.6099.276": [ - "28.2.2" - ], - "120.0.6099.283": [ - "28.2.3" - ], - "120.0.6099.291": [ - "28.2.4", - "28.2.5", - "28.2.6", - "28.2.7", - "28.2.8", - "28.2.9", - "28.2.10", - "28.3.0", - "28.3.1", - "28.3.2", - "28.3.3" - ], - "121.0.6147.0": [ - "29.0.0-alpha.1", - "29.0.0-alpha.2", - "29.0.0-alpha.3" - ], - "121.0.6159.0": [ - "29.0.0-alpha.4", - "29.0.0-alpha.5", - "29.0.0-alpha.6", - "29.0.0-alpha.7" - ], - "122.0.6194.0": [ - "29.0.0-alpha.8" - ], - "122.0.6236.2": [ - "29.0.0-alpha.9", - "29.0.0-alpha.10", - "29.0.0-alpha.11", - "29.0.0-beta.1", - "29.0.0-beta.2" - ], - "122.0.6261.6": [ - "29.0.0-beta.3", - "29.0.0-beta.4" - ], - "122.0.6261.18": [ - "29.0.0-beta.5", - "29.0.0-beta.6", - "29.0.0-beta.7", - "29.0.0-beta.8", - "29.0.0-beta.9", - "29.0.0-beta.10", - "29.0.0-beta.11" - ], - "122.0.6261.29": [ - "29.0.0-beta.12" - ], - "122.0.6261.39": [ - "29.0.0" - ], - "122.0.6261.57": [ - "29.0.1" - ], - "122.0.6261.70": [ - "29.1.0" - ], - "122.0.6261.111": [ - "29.1.1" - ], - "122.0.6261.112": [ - "29.1.2", - "29.1.3" - ], - "122.0.6261.129": [ - "29.1.4" - ], - "122.0.6261.130": [ - "29.1.5" - ], - "122.0.6261.139": [ - "29.1.6" - ], - "122.0.6261.156": [ - "29.2.0", - "29.3.0", - "29.3.1", - "29.3.2", - "29.3.3", - "29.4.0", - "29.4.1", - "29.4.2", - "29.4.3", - "29.4.4", - "29.4.5", - "29.4.6" - ], - "123.0.6296.0": [ - "30.0.0-alpha.1" - ], - "123.0.6312.5": [ - "30.0.0-alpha.2" - ], - "124.0.6323.0": [ - "30.0.0-alpha.3", - "30.0.0-alpha.4" - ], - "124.0.6331.0": [ - "30.0.0-alpha.5", - "30.0.0-alpha.6" - ], - "124.0.6353.0": [ - "30.0.0-alpha.7" - ], - "124.0.6359.0": [ - "30.0.0-beta.1", - "30.0.0-beta.2" - ], - "124.0.6367.9": [ - "30.0.0-beta.3", - "30.0.0-beta.4", - "30.0.0-beta.5" - ], - "124.0.6367.18": [ - "30.0.0-beta.6" - ], - "124.0.6367.29": [ - "30.0.0-beta.7", - "30.0.0-beta.8" - ], - "124.0.6367.49": [ - "30.0.0" - ], - "124.0.6367.60": [ - "30.0.1" - ], - "124.0.6367.91": [ - "30.0.2" - ], - "124.0.6367.119": [ - "30.0.3" - ], - "124.0.6367.201": [ - "30.0.4" - ], - "124.0.6367.207": [ - "30.0.5", - "30.0.6" - ], - "124.0.6367.221": [ - "30.0.7" - ], - "124.0.6367.230": [ - "30.0.8" - ], - "124.0.6367.233": [ - "30.0.9" - ], - "124.0.6367.243": [ - "30.1.0", - "30.1.1", - "30.1.2", - "30.2.0", - "30.3.0", - "30.3.1", - "30.4.0", - "30.5.0", - "30.5.1" - ], - "125.0.6412.0": [ - "31.0.0-alpha.1", - "31.0.0-alpha.2", - "31.0.0-alpha.3", - "31.0.0-alpha.4", - "31.0.0-alpha.5" - ], - "126.0.6445.0": [ - "31.0.0-beta.1", - "31.0.0-beta.2", - "31.0.0-beta.3", - "31.0.0-beta.4", - "31.0.0-beta.5", - "31.0.0-beta.6", - "31.0.0-beta.7", - "31.0.0-beta.8", - "31.0.0-beta.9" - ], - "126.0.6478.36": [ - "31.0.0-beta.10", - "31.0.0", - "31.0.1" - ], - "126.0.6478.61": [ - "31.0.2" - ], - "126.0.6478.114": [ - "31.1.0" - ], - "126.0.6478.127": [ - "31.2.0", - "31.2.1" - ], - "126.0.6478.183": [ - "31.3.0" - ], - "126.0.6478.185": [ - "31.3.1" - ], - "126.0.6478.234": [ - "31.4.0", - "31.5.0", - "31.6.0", - "31.7.0", - "31.7.1", - "31.7.2", - "31.7.3", - "31.7.4", - "31.7.5", - "31.7.6", - "31.7.7" - ], - "127.0.6521.0": [ - "32.0.0-alpha.1", - "32.0.0-alpha.2", - "32.0.0-alpha.3", - "32.0.0-alpha.4", - "32.0.0-alpha.5" - ], - "128.0.6571.0": [ - "32.0.0-alpha.6", - "32.0.0-alpha.7" - ], - "128.0.6573.0": [ - "32.0.0-alpha.8", - "32.0.0-alpha.9", - "32.0.0-alpha.10", - "32.0.0-beta.1" - ], - "128.0.6611.0": [ - "32.0.0-beta.2" - ], - "128.0.6613.7": [ - "32.0.0-beta.3" - ], - "128.0.6613.18": [ - "32.0.0-beta.4" - ], - "128.0.6613.27": [ - "32.0.0-beta.5", - "32.0.0-beta.6", - "32.0.0-beta.7" - ], - "128.0.6613.36": [ - "32.0.0", - "32.0.1" - ], - "128.0.6613.84": [ - "32.0.2" - ], - "128.0.6613.120": [ - "32.1.0" - ], - "128.0.6613.137": [ - "32.1.1" - ], - "128.0.6613.162": [ - "32.1.2" - ], - "128.0.6613.178": [ - "32.2.0" - ], - "128.0.6613.186": [ - "32.2.1", - "32.2.2", - "32.2.3", - "32.2.4", - "32.2.5", - "32.2.6", - "32.2.7", - "32.2.8", - "32.3.0", - "32.3.1", - "32.3.2", - "32.3.3" - ], - "129.0.6668.0": [ - "33.0.0-alpha.1" - ], - "130.0.6672.0": [ - "33.0.0-alpha.2", - "33.0.0-alpha.3", - "33.0.0-alpha.4", - "33.0.0-alpha.5", - "33.0.0-alpha.6", - "33.0.0-beta.1", - "33.0.0-beta.2", - "33.0.0-beta.3", - "33.0.0-beta.4" - ], - "130.0.6723.19": [ - "33.0.0-beta.5", - "33.0.0-beta.6", - "33.0.0-beta.7" - ], - "130.0.6723.31": [ - "33.0.0-beta.8", - "33.0.0-beta.9", - "33.0.0-beta.10" - ], - "130.0.6723.44": [ - "33.0.0-beta.11", - "33.0.0" - ], - "130.0.6723.59": [ - "33.0.1", - "33.0.2" - ], - "130.0.6723.91": [ - "33.1.0" - ], - "130.0.6723.118": [ - "33.2.0" - ], - "130.0.6723.137": [ - "33.2.1" - ], - "130.0.6723.152": [ - "33.3.0" - ], - "130.0.6723.170": [ - "33.3.1" - ], - "130.0.6723.191": [ - "33.3.2", - "33.4.0", - "33.4.1", - "33.4.2", - "33.4.3", - "33.4.4", - "33.4.5", - "33.4.6", - "33.4.7", - "33.4.8", - "33.4.9", - "33.4.10", - "33.4.11" - ], - "131.0.6776.0": [ - "34.0.0-alpha.1" - ], - "132.0.6779.0": [ - "34.0.0-alpha.2" - ], - "132.0.6789.1": [ - "34.0.0-alpha.3", - "34.0.0-alpha.4", - "34.0.0-alpha.5", - "34.0.0-alpha.6", - "34.0.0-alpha.7" - ], - "132.0.6820.0": [ - "34.0.0-alpha.8" - ], - "132.0.6824.0": [ - "34.0.0-alpha.9", - "34.0.0-beta.1", - "34.0.0-beta.2", - "34.0.0-beta.3" - ], - "132.0.6834.6": [ - "34.0.0-beta.4", - "34.0.0-beta.5" - ], - "132.0.6834.15": [ - "34.0.0-beta.6", - "34.0.0-beta.7", - "34.0.0-beta.8" - ], - "132.0.6834.32": [ - "34.0.0-beta.9", - "34.0.0-beta.10", - "34.0.0-beta.11" - ], - "132.0.6834.46": [ - "34.0.0-beta.12", - "34.0.0-beta.13" - ], - "132.0.6834.57": [ - "34.0.0-beta.14", - "34.0.0-beta.15", - "34.0.0-beta.16" - ], - "132.0.6834.83": [ - "34.0.0", - "34.0.1" - ], - "132.0.6834.159": [ - "34.0.2" - ], - "132.0.6834.194": [ - "34.1.0", - "34.1.1" - ], - "132.0.6834.196": [ - "34.2.0" - ], - "132.0.6834.210": [ - "34.3.0", - "34.3.1", - "34.3.2", - "34.3.3", - "34.3.4", - "34.4.0", - "34.4.1", - "34.5.0", - "34.5.1", - "34.5.2", - "34.5.3", - "34.5.4", - "34.5.5", - "34.5.6", - "34.5.7", - "34.5.8" - ], - "133.0.6920.0": [ - "35.0.0-alpha.1", - "35.0.0-alpha.2", - "35.0.0-alpha.3", - "35.0.0-alpha.4", - "35.0.0-alpha.5", - "35.0.0-beta.1" - ], - "134.0.6968.0": [ - "35.0.0-beta.2", - "35.0.0-beta.3", - "35.0.0-beta.4" - ], - "134.0.6989.0": [ - "35.0.0-beta.5" - ], - "134.0.6990.0": [ - "35.0.0-beta.6", - "35.0.0-beta.7" - ], - "134.0.6998.10": [ - "35.0.0-beta.8", - "35.0.0-beta.9" - ], - "134.0.6998.23": [ - "35.0.0-beta.10", - "35.0.0-beta.11", - "35.0.0-beta.12" - ], - "134.0.6998.44": [ - "35.0.0-beta.13", - "35.0.0", - "35.0.1" - ], - "134.0.6998.88": [ - "35.0.2", - "35.0.3" - ], - "134.0.6998.165": [ - "35.1.0", - "35.1.1" - ], - "134.0.6998.178": [ - "35.1.2" - ], - "134.0.6998.179": [ - "35.1.3", - "35.1.4", - "35.1.5" - ], - "134.0.6998.205": [ - "35.2.0", - "35.2.1", - "35.2.2", - "35.3.0", - "35.4.0", - "35.5.0", - "35.5.1", - "35.6.0", - "35.7.0", - "35.7.1", - "35.7.2", - "35.7.4", - "35.7.5" - ], - "135.0.7049.5": [ - "36.0.0-alpha.1" - ], - "136.0.7062.0": [ - "36.0.0-alpha.2", - "36.0.0-alpha.3", - "36.0.0-alpha.4" - ], - "136.0.7067.0": [ - "36.0.0-alpha.5", - "36.0.0-alpha.6", - "36.0.0-beta.1", - "36.0.0-beta.2", - "36.0.0-beta.3", - "36.0.0-beta.4" - ], - "136.0.7103.17": [ - "36.0.0-beta.5" - ], - "136.0.7103.25": [ - "36.0.0-beta.6", - "36.0.0-beta.7" - ], - "136.0.7103.33": [ - "36.0.0-beta.8", - "36.0.0-beta.9" - ], - "136.0.7103.48": [ - "36.0.0", - "36.0.1" - ], - "136.0.7103.49": [ - "36.1.0", - "36.2.0" - ], - "136.0.7103.93": [ - "36.2.1" - ], - "136.0.7103.113": [ - "36.3.0", - "36.3.1" - ], - "136.0.7103.115": [ - "36.3.2" - ], - "136.0.7103.149": [ - "36.4.0" - ], - "136.0.7103.168": [ - "36.5.0" - ], - "136.0.7103.177": [ - "36.6.0", - "36.7.0", - "36.7.1", - "36.7.3", - "36.7.4", - "36.8.0", - "36.8.1", - "36.9.0", - "36.9.1", - "36.9.2", - "36.9.3", - "36.9.4", - "36.9.5" - ], - "137.0.7151.0": [ - "37.0.0-alpha.1", - "37.0.0-alpha.2" - ], - "138.0.7156.0": [ - "37.0.0-alpha.3" - ], - "138.0.7165.0": [ - "37.0.0-alpha.4" - ], - "138.0.7177.0": [ - "37.0.0-alpha.5" - ], - "138.0.7178.0": [ - "37.0.0-alpha.6", - "37.0.0-alpha.7", - "37.0.0-beta.1", - "37.0.0-beta.2" - ], - "138.0.7190.0": [ - "37.0.0-beta.3" - ], - "138.0.7204.15": [ - "37.0.0-beta.4", - "37.0.0-beta.5", - "37.0.0-beta.6", - "37.0.0-beta.7" - ], - "138.0.7204.23": [ - "37.0.0-beta.8" - ], - "138.0.7204.35": [ - "37.0.0-beta.9", - "37.0.0", - "37.1.0" - ], - "138.0.7204.97": [ - "37.2.0", - "37.2.1" - ], - "138.0.7204.100": [ - "37.2.2", - "37.2.3" - ], - "138.0.7204.157": [ - "37.2.4" - ], - "138.0.7204.168": [ - "37.2.5" - ], - "138.0.7204.185": [ - "37.2.6" - ], - "138.0.7204.224": [ - "37.3.0" - ], - "138.0.7204.235": [ - "37.3.1" - ], - "138.0.7204.243": [ - "37.4.0" - ], - "138.0.7204.251": [ - "37.5.0", - "37.5.1", - "37.6.0", - "37.6.1", - "37.7.0", - "37.7.1", - "37.8.0", - "37.9.0", - "37.10.0", - "37.10.1", - "37.10.2", - "37.10.3" - ], - "139.0.7219.0": [ - "38.0.0-alpha.1", - "38.0.0-alpha.2", - "38.0.0-alpha.3" - ], - "140.0.7261.0": [ - "38.0.0-alpha.4", - "38.0.0-alpha.5", - "38.0.0-alpha.6" - ], - "140.0.7281.0": [ - "38.0.0-alpha.7", - "38.0.0-alpha.8" - ], - "140.0.7301.0": [ - "38.0.0-alpha.9" - ], - "140.0.7309.0": [ - "38.0.0-alpha.10" - ], - "140.0.7312.0": [ - "38.0.0-alpha.11" - ], - "140.0.7314.0": [ - "38.0.0-alpha.12", - "38.0.0-alpha.13", - "38.0.0-beta.1" - ], - "140.0.7327.0": [ - "38.0.0-beta.2", - "38.0.0-beta.3" - ], - "140.0.7339.2": [ - "38.0.0-beta.4", - "38.0.0-beta.5", - "38.0.0-beta.6" - ], - "140.0.7339.16": [ - "38.0.0-beta.7" - ], - "140.0.7339.24": [ - "38.0.0-beta.8", - "38.0.0-beta.9" - ], - "140.0.7339.41": [ - "38.0.0-beta.11", - "38.0.0" - ], - "140.0.7339.80": [ - "38.1.0" - ], - "140.0.7339.133": [ - "38.1.1", - "38.1.2", - "38.2.0", - "38.2.1", - "38.2.2" - ], - "140.0.7339.240": [ - "38.3.0", - "38.4.0" - ], - "140.0.7339.249": [ - "38.5.0", - "38.6.0", - "38.7.0", - "38.7.1", - "38.7.2", - "38.8.0", - "38.8.1", - "38.8.2", - "38.8.4", - "38.8.6" - ], - "141.0.7361.0": [ - "39.0.0-alpha.1", - "39.0.0-alpha.2" - ], - "141.0.7390.7": [ - "39.0.0-alpha.3", - "39.0.0-alpha.4", - "39.0.0-alpha.5" - ], - "142.0.7417.0": [ - "39.0.0-alpha.6", - "39.0.0-alpha.7", - "39.0.0-alpha.8", - "39.0.0-alpha.9", - "39.0.0-beta.1", - "39.0.0-beta.2", - "39.0.0-beta.3" - ], - "142.0.7444.34": [ - "39.0.0-beta.4", - "39.0.0-beta.5" - ], - "142.0.7444.52": [ - "39.0.0" - ], - "142.0.7444.59": [ - "39.1.0", - "39.1.1" - ], - "142.0.7444.134": [ - "39.1.2" - ], - "142.0.7444.162": [ - "39.2.0", - "39.2.1", - "39.2.2" - ], - "142.0.7444.175": [ - "39.2.3" - ], - "142.0.7444.177": [ - "39.2.4", - "39.2.5" - ], - "142.0.7444.226": [ - "39.2.6" - ], - "142.0.7444.235": [ - "39.2.7" - ], - "142.0.7444.265": [ - "39.3.0", - "39.4.0", - "39.5.0", - "39.5.1", - "39.5.2", - "39.6.0", - "39.6.1", - "39.7.0", - "39.8.0", - "39.8.1", - "39.8.2", - "39.8.3", - "39.8.4", - "39.8.5" - ], - "143.0.7499.0": [ - "40.0.0-alpha.2" - ], - "144.0.7506.0": [ - "40.0.0-alpha.4" - ], - "144.0.7526.0": [ - "40.0.0-alpha.5", - "40.0.0-alpha.6", - "40.0.0-alpha.7", - "40.0.0-alpha.8" - ], - "144.0.7527.0": [ - "40.0.0-beta.1", - "40.0.0-beta.2" - ], - "144.0.7547.0": [ - "40.0.0-beta.3", - "40.0.0-beta.4", - "40.0.0-beta.5" - ], - "144.0.7559.31": [ - "40.0.0-beta.6", - "40.0.0-beta.7", - "40.0.0-beta.8" - ], - "144.0.7559.60": [ - "40.0.0-beta.9", - "40.0.0" - ], - "144.0.7559.96": [ - "40.1.0" - ], - "144.0.7559.111": [ - "40.2.0", - "40.2.1" - ], - "144.0.7559.134": [ - "40.3.0", - "40.4.0" - ], - "144.0.7559.173": [ - "40.4.1" - ], - "144.0.7559.177": [ - "40.5.0", - "40.6.0" - ], - "144.0.7559.220": [ - "40.6.1" - ], - "144.0.7559.225": [ - "40.7.0" - ], - "144.0.7559.236": [ - "40.8.0", - "40.8.1", - "40.8.2", - "40.8.3", - "40.8.4", - "40.8.5" - ], - "146.0.7635.0": [ - "41.0.0-alpha.1", - "41.0.0-alpha.2" - ], - "146.0.7645.0": [ - "41.0.0-alpha.3" - ], - "146.0.7650.0": [ - "41.0.0-alpha.4", - "41.0.0-alpha.5", - "41.0.0-alpha.6", - "41.0.0-beta.1", - "41.0.0-beta.2", - "41.0.0-beta.3" - ], - "146.0.7666.0": [ - "41.0.0-beta.4" - ], - "146.0.7680.16": [ - "41.0.0-beta.5", - "41.0.0-beta.6" - ], - "146.0.7680.31": [ - "41.0.0-beta.7", - "41.0.0-beta.8" - ], - "146.0.7680.65": [ - "41.0.0" - ], - "146.0.7680.72": [ - "41.0.1", - "41.0.2" - ], - "146.0.7680.80": [ - "41.0.3" - ], - "146.0.7680.153": [ - "41.0.4" - ], - "146.0.7680.166": [ - "41.1.0" - ], - "147.0.7727.0": [ - "42.0.0-alpha.1" - ], - "148.0.7733.0": [ - "42.0.0-alpha.2" - ], - "148.0.7738.0": [ - "42.0.0-alpha.4" - ], - "148.0.7741.0": [ - "42.0.0-alpha.5" - ] -}; \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/electron-to-chromium/full-chromium-versions.json b/lambdas/risk-engine/node_modules/electron-to-chromium/full-chromium-versions.json deleted file mode 100644 index d4d92645..00000000 --- a/lambdas/risk-engine/node_modules/electron-to-chromium/full-chromium-versions.json +++ /dev/null @@ -1 +0,0 @@ -{"39.0.2171.65":["0.20.0","0.20.1","0.20.2","0.20.3","0.20.4","0.20.5","0.20.6","0.20.7","0.20.8"],"40.0.2214.91":["0.21.0","0.21.1","0.21.2"],"41.0.2272.76":["0.21.3","0.22.1","0.22.2","0.22.3","0.23.0","0.24.0"],"42.0.2311.107":["0.25.0","0.25.1","0.25.2","0.25.3","0.26.0","0.26.1","0.27.0","0.27.1"],"43.0.2357.65":["0.27.2","0.27.3","0.28.0","0.28.1","0.28.2","0.28.3","0.29.1","0.29.2"],"44.0.2403.125":["0.30.4","0.31.0"],"45.0.2454.85":["0.31.2","0.32.2","0.32.3","0.33.0","0.33.1","0.33.2","0.33.3","0.33.4","0.33.6","0.33.7","0.33.8","0.33.9","0.34.0","0.34.1","0.34.2","0.34.3","0.34.4","0.35.1","0.35.2","0.35.3","0.35.4","0.35.5"],"47.0.2526.73":["0.36.0","0.36.2","0.36.3","0.36.4"],"47.0.2526.110":["0.36.5","0.36.6","0.36.7","0.36.8","0.36.9","0.36.10","0.36.11","0.36.12"],"49.0.2623.75":["0.37.0","0.37.1","0.37.3","0.37.4","0.37.5","0.37.6","0.37.7","0.37.8","1.0.0","1.0.1","1.0.2"],"50.0.2661.102":["1.1.0","1.1.1","1.1.2","1.1.3"],"51.0.2704.63":["1.2.0","1.2.1"],"51.0.2704.84":["1.2.2","1.2.3"],"51.0.2704.103":["1.2.4","1.2.5"],"51.0.2704.106":["1.2.6","1.2.7","1.2.8"],"52.0.2743.82":["1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.3.7","1.3.9","1.3.10","1.3.13","1.3.14","1.3.15"],"53.0.2785.113":["1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5"],"53.0.2785.143":["1.4.6","1.4.7","1.4.8","1.4.10","1.4.11","1.4.13","1.4.14","1.4.15","1.4.16"],"54.0.2840.51":["1.4.12"],"54.0.2840.101":["1.5.0","1.5.1"],"56.0.2924.87":["1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9","1.6.10","1.6.11","1.6.12","1.6.13","1.6.14","1.6.15","1.6.16","1.6.17","1.6.18"],"58.0.3029.110":["1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","1.7.9","1.7.10","1.7.11","1.7.12","1.7.13","1.7.14","1.7.15","1.7.16"],"59.0.3071.115":["1.8.0","1.8.1","1.8.2-beta.1","1.8.2-beta.2","1.8.2-beta.3","1.8.2-beta.4","1.8.2-beta.5","1.8.2","1.8.3","1.8.4","1.8.5","1.8.6","1.8.7","1.8.8"],"61.0.3163.100":["2.0.0-beta.1","2.0.0-beta.2","2.0.0-beta.3","2.0.0-beta.4","2.0.0-beta.5","2.0.0-beta.6","2.0.0-beta.7","2.0.0-beta.8","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.0.10","2.0.11","2.0.12","2.0.13","2.0.14","2.0.15","2.0.16","2.0.17","2.0.18","2.1.0-unsupported.20180809"],"66.0.3359.181":["3.0.0-beta.1","3.0.0-beta.2","3.0.0-beta.3","3.0.0-beta.4","3.0.0-beta.5","3.0.0-beta.6","3.0.0-beta.7","3.0.0-beta.8","3.0.0-beta.9","3.0.0-beta.10","3.0.0-beta.11","3.0.0-beta.12","3.0.0-beta.13","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9","3.0.10","3.0.11","3.0.12","3.0.13","3.0.14","3.0.15","3.0.16","3.1.0-beta.1","3.1.0-beta.2","3.1.0-beta.3","3.1.0-beta.4","3.1.0-beta.5","3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9","3.1.10","3.1.11","3.1.12","3.1.13"],"69.0.3497.106":["4.0.0-beta.1","4.0.0-beta.2","4.0.0-beta.3","4.0.0-beta.4","4.0.0-beta.5","4.0.0-beta.6","4.0.0-beta.7","4.0.0-beta.8","4.0.0-beta.9","4.0.0-beta.10","4.0.0-beta.11","4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6"],"69.0.3497.128":["4.0.7","4.0.8","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.2.0","4.2.1","4.2.2","4.2.3","4.2.4","4.2.5","4.2.6","4.2.7","4.2.8","4.2.9","4.2.10","4.2.11","4.2.12"],"72.0.3626.52":["5.0.0-beta.1","5.0.0-beta.2"],"73.0.3683.27":["5.0.0-beta.3"],"73.0.3683.54":["5.0.0-beta.4"],"73.0.3683.61":["5.0.0-beta.5"],"73.0.3683.84":["5.0.0-beta.6"],"73.0.3683.94":["5.0.0-beta.7"],"73.0.3683.104":["5.0.0-beta.8"],"73.0.3683.117":["5.0.0-beta.9"],"73.0.3683.119":["5.0.0"],"73.0.3683.121":["5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6","5.0.7","5.0.8","5.0.9","5.0.10","5.0.11","5.0.12","5.0.13"],"76.0.3774.1":["6.0.0-beta.1"],"76.0.3783.1":["6.0.0-beta.2","6.0.0-beta.3","6.0.0-beta.4"],"76.0.3805.4":["6.0.0-beta.5"],"76.0.3809.3":["6.0.0-beta.6"],"76.0.3809.22":["6.0.0-beta.7"],"76.0.3809.26":["6.0.0-beta.8","6.0.0-beta.9"],"76.0.3809.37":["6.0.0-beta.10"],"76.0.3809.42":["6.0.0-beta.11"],"76.0.3809.54":["6.0.0-beta.12"],"76.0.3809.60":["6.0.0-beta.13"],"76.0.3809.68":["6.0.0-beta.14"],"76.0.3809.74":["6.0.0-beta.15"],"76.0.3809.88":["6.0.0"],"76.0.3809.102":["6.0.1"],"76.0.3809.110":["6.0.2"],"76.0.3809.126":["6.0.3"],"76.0.3809.131":["6.0.4"],"76.0.3809.136":["6.0.5"],"76.0.3809.138":["6.0.6"],"76.0.3809.139":["6.0.7"],"76.0.3809.146":["6.0.8","6.0.9","6.0.10","6.0.11","6.0.12","6.1.0","6.1.1","6.1.2","6.1.3","6.1.4","6.1.5","6.1.6","6.1.7","6.1.8","6.1.9","6.1.10","6.1.11","6.1.12"],"78.0.3866.0":["7.0.0-beta.1","7.0.0-beta.2","7.0.0-beta.3"],"78.0.3896.6":["7.0.0-beta.4"],"78.0.3905.1":["7.0.0-beta.5","7.0.0-beta.6","7.0.0-beta.7","7.0.0"],"78.0.3904.92":["7.0.1"],"78.0.3904.94":["7.1.0"],"78.0.3904.99":["7.1.1"],"78.0.3904.113":["7.1.2"],"78.0.3904.126":["7.1.3"],"78.0.3904.130":["7.1.4","7.1.5","7.1.6","7.1.7","7.1.8","7.1.9","7.1.10","7.1.11","7.1.12","7.1.13","7.1.14","7.2.0","7.2.1","7.2.2","7.2.3","7.2.4","7.3.0","7.3.1","7.3.2","7.3.3"],"79.0.3931.0":["8.0.0-beta.1","8.0.0-beta.2"],"80.0.3955.0":["8.0.0-beta.3","8.0.0-beta.4"],"80.0.3987.14":["8.0.0-beta.5"],"80.0.3987.51":["8.0.0-beta.6"],"80.0.3987.59":["8.0.0-beta.7"],"80.0.3987.75":["8.0.0-beta.8","8.0.0-beta.9"],"80.0.3987.86":["8.0.0","8.0.1","8.0.2"],"80.0.3987.134":["8.0.3"],"80.0.3987.137":["8.1.0"],"80.0.3987.141":["8.1.1"],"80.0.3987.158":["8.2.0"],"80.0.3987.163":["8.2.1","8.2.2","8.2.3","8.5.3","8.5.4","8.5.5"],"80.0.3987.165":["8.2.4","8.2.5","8.3.0","8.3.1","8.3.2","8.3.3","8.3.4","8.4.0","8.4.1","8.5.0","8.5.1","8.5.2"],"82.0.4048.0":["9.0.0-beta.1","9.0.0-beta.2","9.0.0-beta.3","9.0.0-beta.4","9.0.0-beta.5"],"82.0.4058.2":["9.0.0-beta.6","9.0.0-beta.7","9.0.0-beta.9"],"82.0.4085.10":["9.0.0-beta.10"],"82.0.4085.14":["9.0.0-beta.11","9.0.0-beta.12","9.0.0-beta.13"],"82.0.4085.27":["9.0.0-beta.14"],"83.0.4102.3":["9.0.0-beta.15","9.0.0-beta.16"],"83.0.4103.14":["9.0.0-beta.17"],"83.0.4103.16":["9.0.0-beta.18"],"83.0.4103.24":["9.0.0-beta.19"],"83.0.4103.26":["9.0.0-beta.20","9.0.0-beta.21"],"83.0.4103.34":["9.0.0-beta.22"],"83.0.4103.44":["9.0.0-beta.23"],"83.0.4103.45":["9.0.0-beta.24"],"83.0.4103.64":["9.0.0"],"83.0.4103.94":["9.0.1","9.0.2"],"83.0.4103.100":["9.0.3"],"83.0.4103.104":["9.0.4"],"83.0.4103.119":["9.0.5"],"83.0.4103.122":["9.1.0","9.1.1","9.1.2","9.2.0","9.2.1","9.3.0","9.3.1","9.3.2","9.3.3","9.3.4","9.3.5","9.4.0","9.4.1","9.4.2","9.4.3","9.4.4"],"84.0.4129.0":["10.0.0-beta.1","10.0.0-beta.2"],"85.0.4161.2":["10.0.0-beta.3","10.0.0-beta.4"],"85.0.4181.1":["10.0.0-beta.8","10.0.0-beta.9"],"85.0.4183.19":["10.0.0-beta.10"],"85.0.4183.20":["10.0.0-beta.11"],"85.0.4183.26":["10.0.0-beta.12"],"85.0.4183.39":["10.0.0-beta.13","10.0.0-beta.14","10.0.0-beta.15","10.0.0-beta.17","10.0.0-beta.19","10.0.0-beta.20","10.0.0-beta.21"],"85.0.4183.70":["10.0.0-beta.23"],"85.0.4183.78":["10.0.0-beta.24"],"85.0.4183.80":["10.0.0-beta.25"],"85.0.4183.84":["10.0.0"],"85.0.4183.86":["10.0.1"],"85.0.4183.87":["10.1.0"],"85.0.4183.93":["10.1.1"],"85.0.4183.98":["10.1.2"],"85.0.4183.121":["10.1.3","10.1.4","10.1.5","10.1.6","10.1.7","10.2.0","10.3.0","10.3.1","10.3.2","10.4.0","10.4.1","10.4.2","10.4.3","10.4.4","10.4.5","10.4.6","10.4.7"],"86.0.4234.0":["11.0.0-beta.1","11.0.0-beta.3","11.0.0-beta.4","11.0.0-beta.5","11.0.0-beta.6","11.0.0-beta.7"],"87.0.4251.1":["11.0.0-beta.8","11.0.0-beta.9","11.0.0-beta.11"],"87.0.4280.11":["11.0.0-beta.12","11.0.0-beta.13"],"87.0.4280.27":["11.0.0-beta.16","11.0.0-beta.17","11.0.0-beta.18","11.0.0-beta.19"],"87.0.4280.40":["11.0.0-beta.20"],"87.0.4280.47":["11.0.0-beta.22","11.0.0-beta.23"],"87.0.4280.60":["11.0.0","11.0.1"],"87.0.4280.67":["11.0.2","11.0.3","11.0.4"],"87.0.4280.88":["11.0.5","11.1.0","11.1.1"],"87.0.4280.141":["11.2.0","11.2.1","11.2.2","11.2.3","11.3.0","11.4.0","11.4.1","11.4.2","11.4.3","11.4.4","11.4.5","11.4.6","11.4.7","11.4.8","11.4.9","11.4.10","11.4.11","11.4.12","11.5.0"],"89.0.4328.0":["12.0.0-beta.1","12.0.0-beta.3","12.0.0-beta.4","12.0.0-beta.5","12.0.0-beta.6","12.0.0-beta.7","12.0.0-beta.8","12.0.0-beta.9","12.0.0-beta.10","12.0.0-beta.11","12.0.0-beta.12","12.0.0-beta.14"],"89.0.4348.1":["12.0.0-beta.16","12.0.0-beta.18","12.0.0-beta.19","12.0.0-beta.20"],"89.0.4388.2":["12.0.0-beta.21","12.0.0-beta.22","12.0.0-beta.23","12.0.0-beta.24","12.0.0-beta.25","12.0.0-beta.26"],"89.0.4389.23":["12.0.0-beta.27","12.0.0-beta.28","12.0.0-beta.29"],"89.0.4389.58":["12.0.0-beta.30","12.0.0-beta.31"],"89.0.4389.69":["12.0.0"],"89.0.4389.82":["12.0.1"],"89.0.4389.90":["12.0.2"],"89.0.4389.114":["12.0.3","12.0.4"],"89.0.4389.128":["12.0.5","12.0.6","12.0.7","12.0.8","12.0.9","12.0.10","12.0.11","12.0.12","12.0.13","12.0.14","12.0.15","12.0.16","12.0.17","12.0.18","12.1.0","12.1.1","12.1.2","12.2.0","12.2.1","12.2.2","12.2.3"],"90.0.4402.0":["13.0.0-beta.2","13.0.0-beta.3"],"90.0.4415.0":["13.0.0-beta.4","13.0.0-beta.5","13.0.0-beta.6","13.0.0-beta.7","13.0.0-beta.8","13.0.0-beta.9","13.0.0-beta.10","13.0.0-beta.11","13.0.0-beta.12","13.0.0-beta.13"],"91.0.4448.0":["13.0.0-beta.14","13.0.0-beta.16","13.0.0-beta.17","13.0.0-beta.18","13.0.0-beta.20"],"91.0.4472.33":["13.0.0-beta.21","13.0.0-beta.22","13.0.0-beta.23"],"91.0.4472.38":["13.0.0-beta.24","13.0.0-beta.25","13.0.0-beta.26","13.0.0-beta.27","13.0.0-beta.28"],"91.0.4472.69":["13.0.0","13.0.1"],"91.0.4472.77":["13.1.0","13.1.1","13.1.2"],"91.0.4472.106":["13.1.3","13.1.4"],"91.0.4472.124":["13.1.5","13.1.6","13.1.7"],"91.0.4472.164":["13.1.8","13.1.9","13.2.0","13.2.1","13.2.2","13.2.3","13.3.0","13.4.0","13.5.0","13.5.1","13.5.2","13.6.0","13.6.1","13.6.2","13.6.3","13.6.6","13.6.7","13.6.8","13.6.9"],"92.0.4511.0":["14.0.0-beta.1","14.0.0-beta.2","14.0.0-beta.3"],"93.0.4536.0":["14.0.0-beta.5","14.0.0-beta.6","14.0.0-beta.7","14.0.0-beta.8"],"93.0.4539.0":["14.0.0-beta.9","14.0.0-beta.10"],"93.0.4557.4":["14.0.0-beta.11","14.0.0-beta.12"],"93.0.4566.0":["14.0.0-beta.13","14.0.0-beta.14","14.0.0-beta.15","14.0.0-beta.16","14.0.0-beta.17","15.0.0-alpha.1","15.0.0-alpha.2"],"93.0.4577.15":["14.0.0-beta.18","14.0.0-beta.19","14.0.0-beta.20","14.0.0-beta.21"],"93.0.4577.25":["14.0.0-beta.22","14.0.0-beta.23"],"93.0.4577.51":["14.0.0-beta.24","14.0.0-beta.25"],"93.0.4577.58":["14.0.0"],"93.0.4577.63":["14.0.1"],"93.0.4577.82":["14.0.2","14.1.0","14.1.1","14.2.0","14.2.1","14.2.2","14.2.3","14.2.4","14.2.5","14.2.6","14.2.7","14.2.8","14.2.9"],"94.0.4584.0":["15.0.0-alpha.3","15.0.0-alpha.4","15.0.0-alpha.5","15.0.0-alpha.6"],"94.0.4590.2":["15.0.0-alpha.7","15.0.0-alpha.8","15.0.0-alpha.9"],"94.0.4606.12":["15.0.0-alpha.10"],"94.0.4606.20":["15.0.0-beta.1","15.0.0-beta.2"],"94.0.4606.31":["15.0.0-beta.3","15.0.0-beta.4","15.0.0-beta.5","15.0.0-beta.6","15.0.0-beta.7"],"94.0.4606.51":["15.0.0"],"94.0.4606.61":["15.1.0","15.1.1"],"94.0.4606.71":["15.1.2"],"94.0.4606.81":["15.2.0","15.3.0","15.3.1","15.3.2","15.3.3","15.3.4","15.3.5","15.3.6","15.3.7","15.4.0","15.4.1","15.4.2","15.5.0","15.5.1","15.5.2","15.5.3","15.5.4","15.5.5","15.5.6","15.5.7"],"95.0.4629.0":["16.0.0-alpha.1","16.0.0-alpha.2","16.0.0-alpha.3","16.0.0-alpha.4","16.0.0-alpha.5","16.0.0-alpha.6","16.0.0-alpha.7"],"96.0.4647.0":["16.0.0-alpha.8","16.0.0-alpha.9","16.0.0-beta.1","16.0.0-beta.2","16.0.0-beta.3"],"96.0.4664.18":["16.0.0-beta.4","16.0.0-beta.5"],"96.0.4664.27":["16.0.0-beta.6","16.0.0-beta.7"],"96.0.4664.35":["16.0.0-beta.8","16.0.0-beta.9"],"96.0.4664.45":["16.0.0","16.0.1"],"96.0.4664.55":["16.0.2","16.0.3","16.0.4","16.0.5"],"96.0.4664.110":["16.0.6","16.0.7","16.0.8"],"96.0.4664.174":["16.0.9","16.0.10","16.1.0","16.1.1","16.2.0","16.2.1","16.2.2","16.2.3","16.2.4","16.2.5","16.2.6","16.2.7","16.2.8"],"96.0.4664.4":["17.0.0-alpha.1","17.0.0-alpha.2","17.0.0-alpha.3"],"98.0.4706.0":["17.0.0-alpha.4","17.0.0-alpha.5","17.0.0-alpha.6","17.0.0-beta.1","17.0.0-beta.2"],"98.0.4758.9":["17.0.0-beta.3"],"98.0.4758.11":["17.0.0-beta.4","17.0.0-beta.5","17.0.0-beta.6","17.0.0-beta.7","17.0.0-beta.8","17.0.0-beta.9"],"98.0.4758.74":["17.0.0"],"98.0.4758.82":["17.0.1"],"98.0.4758.102":["17.1.0"],"98.0.4758.109":["17.1.1","17.1.2","17.2.0"],"98.0.4758.141":["17.3.0","17.3.1","17.4.0","17.4.1","17.4.2","17.4.3","17.4.4","17.4.5","17.4.6","17.4.7","17.4.8","17.4.9","17.4.10","17.4.11"],"99.0.4767.0":["18.0.0-alpha.1","18.0.0-alpha.2","18.0.0-alpha.3","18.0.0-alpha.4","18.0.0-alpha.5"],"100.0.4894.0":["18.0.0-beta.1","18.0.0-beta.2","18.0.0-beta.3","18.0.0-beta.4","18.0.0-beta.5","18.0.0-beta.6"],"100.0.4896.56":["18.0.0"],"100.0.4896.60":["18.0.1","18.0.2"],"100.0.4896.75":["18.0.3","18.0.4"],"100.0.4896.127":["18.1.0"],"100.0.4896.143":["18.2.0","18.2.1","18.2.2","18.2.3"],"100.0.4896.160":["18.2.4","18.3.0","18.3.1","18.3.2","18.3.3","18.3.4","18.3.5","18.3.6","18.3.7","18.3.8","18.3.9","18.3.11","18.3.12","18.3.13","18.3.14","18.3.15"],"102.0.4962.3":["19.0.0-alpha.1"],"102.0.4971.0":["19.0.0-alpha.2","19.0.0-alpha.3"],"102.0.4989.0":["19.0.0-alpha.4","19.0.0-alpha.5"],"102.0.4999.0":["19.0.0-beta.1","19.0.0-beta.2","19.0.0-beta.3"],"102.0.5005.27":["19.0.0-beta.4"],"102.0.5005.40":["19.0.0-beta.5","19.0.0-beta.6","19.0.0-beta.7"],"102.0.5005.49":["19.0.0-beta.8"],"102.0.5005.61":["19.0.0","19.0.1"],"102.0.5005.63":["19.0.2","19.0.3","19.0.4"],"102.0.5005.115":["19.0.5","19.0.6"],"102.0.5005.134":["19.0.7"],"102.0.5005.148":["19.0.8"],"102.0.5005.167":["19.0.9","19.0.10","19.0.11","19.0.12","19.0.13","19.0.14","19.0.15","19.0.16","19.0.17","19.1.0","19.1.1","19.1.2","19.1.3","19.1.4","19.1.5","19.1.6","19.1.7","19.1.8","19.1.9"],"103.0.5044.0":["20.0.0-alpha.1"],"104.0.5073.0":["20.0.0-alpha.2","20.0.0-alpha.3","20.0.0-alpha.4","20.0.0-alpha.5","20.0.0-alpha.6","20.0.0-alpha.7","20.0.0-beta.1","20.0.0-beta.2","20.0.0-beta.3","20.0.0-beta.4","20.0.0-beta.5","20.0.0-beta.6","20.0.0-beta.7","20.0.0-beta.8"],"104.0.5112.39":["20.0.0-beta.9"],"104.0.5112.48":["20.0.0-beta.10","20.0.0-beta.11","20.0.0-beta.12"],"104.0.5112.57":["20.0.0-beta.13"],"104.0.5112.65":["20.0.0"],"104.0.5112.81":["20.0.1","20.0.2","20.0.3"],"104.0.5112.102":["20.1.0","20.1.1"],"104.0.5112.114":["20.1.2","20.1.3","20.1.4"],"104.0.5112.124":["20.2.0","20.3.0","20.3.1","20.3.2","20.3.3","20.3.4","20.3.5","20.3.6","20.3.7","20.3.8","20.3.9","20.3.10","20.3.11","20.3.12"],"105.0.5187.0":["21.0.0-alpha.1","21.0.0-alpha.2","21.0.0-alpha.3","21.0.0-alpha.4","21.0.0-alpha.5"],"106.0.5216.0":["21.0.0-alpha.6","21.0.0-beta.1","21.0.0-beta.2","21.0.0-beta.3","21.0.0-beta.4","21.0.0-beta.5"],"106.0.5249.40":["21.0.0-beta.6","21.0.0-beta.7","21.0.0-beta.8"],"106.0.5249.51":["21.0.0"],"106.0.5249.61":["21.0.1"],"106.0.5249.91":["21.1.0"],"106.0.5249.103":["21.1.1"],"106.0.5249.119":["21.2.0"],"106.0.5249.165":["21.2.1"],"106.0.5249.168":["21.2.2","21.2.3"],"106.0.5249.181":["21.3.0","21.3.1"],"106.0.5249.199":["21.3.3","21.3.4","21.3.5","21.4.0","21.4.1","21.4.2","21.4.3","21.4.4"],"107.0.5286.0":["22.0.0-alpha.1"],"108.0.5329.0":["22.0.0-alpha.3","22.0.0-alpha.4","22.0.0-alpha.5","22.0.0-alpha.6"],"108.0.5355.0":["22.0.0-alpha.7"],"108.0.5359.10":["22.0.0-alpha.8","22.0.0-beta.1","22.0.0-beta.2","22.0.0-beta.3"],"108.0.5359.29":["22.0.0-beta.4"],"108.0.5359.40":["22.0.0-beta.5","22.0.0-beta.6"],"108.0.5359.48":["22.0.0-beta.7","22.0.0-beta.8"],"108.0.5359.62":["22.0.0"],"108.0.5359.125":["22.0.1"],"108.0.5359.179":["22.0.2","22.0.3","22.1.0"],"108.0.5359.215":["22.2.0","22.2.1","22.3.0","22.3.1","22.3.2","22.3.3","22.3.4","22.3.5","22.3.6","22.3.7","22.3.8","22.3.9","22.3.10","22.3.11","22.3.12","22.3.13","22.3.14","22.3.15","22.3.16","22.3.17","22.3.18","22.3.20","22.3.21","22.3.22","22.3.23","22.3.24","22.3.25","22.3.26","22.3.27"],"110.0.5415.0":["23.0.0-alpha.1"],"110.0.5451.0":["23.0.0-alpha.2","23.0.0-alpha.3"],"110.0.5478.5":["23.0.0-beta.1","23.0.0-beta.2","23.0.0-beta.3"],"110.0.5481.30":["23.0.0-beta.4"],"110.0.5481.38":["23.0.0-beta.5"],"110.0.5481.52":["23.0.0-beta.6","23.0.0-beta.8"],"110.0.5481.77":["23.0.0"],"110.0.5481.100":["23.1.0"],"110.0.5481.104":["23.1.1"],"110.0.5481.177":["23.1.2"],"110.0.5481.179":["23.1.3"],"110.0.5481.192":["23.1.4","23.2.0"],"110.0.5481.208":["23.2.1","23.2.2","23.2.3","23.2.4","23.3.0","23.3.1","23.3.2","23.3.3","23.3.4","23.3.5","23.3.6","23.3.7","23.3.8","23.3.9","23.3.10","23.3.11","23.3.12","23.3.13"],"111.0.5560.0":["24.0.0-alpha.1","24.0.0-alpha.2","24.0.0-alpha.3","24.0.0-alpha.4","24.0.0-alpha.5","24.0.0-alpha.6","24.0.0-alpha.7"],"111.0.5563.50":["24.0.0-beta.1","24.0.0-beta.2"],"112.0.5615.20":["24.0.0-beta.3","24.0.0-beta.4"],"112.0.5615.29":["24.0.0-beta.5"],"112.0.5615.39":["24.0.0-beta.6","24.0.0-beta.7"],"112.0.5615.49":["24.0.0"],"112.0.5615.50":["24.1.0","24.1.1"],"112.0.5615.87":["24.1.2"],"112.0.5615.165":["24.1.3","24.2.0","24.3.0"],"112.0.5615.183":["24.3.1"],"112.0.5615.204":["24.4.0","24.4.1","24.5.0","24.5.1","24.6.0","24.6.1","24.6.2","24.6.3","24.6.4","24.6.5","24.7.0","24.7.1","24.8.0","24.8.1","24.8.2","24.8.3","24.8.4","24.8.5","24.8.6","24.8.7","24.8.8"],"114.0.5694.0":["25.0.0-alpha.1","25.0.0-alpha.2"],"114.0.5710.0":["25.0.0-alpha.3","25.0.0-alpha.4"],"114.0.5719.0":["25.0.0-alpha.5","25.0.0-alpha.6","25.0.0-beta.1","25.0.0-beta.2","25.0.0-beta.3"],"114.0.5735.16":["25.0.0-beta.4","25.0.0-beta.5","25.0.0-beta.6","25.0.0-beta.7"],"114.0.5735.35":["25.0.0-beta.8"],"114.0.5735.45":["25.0.0-beta.9","25.0.0","25.0.1"],"114.0.5735.106":["25.1.0","25.1.1"],"114.0.5735.134":["25.2.0"],"114.0.5735.199":["25.3.0"],"114.0.5735.243":["25.3.1"],"114.0.5735.248":["25.3.2","25.4.0"],"114.0.5735.289":["25.5.0","25.6.0","25.7.0","25.8.0","25.8.1","25.8.2","25.8.3","25.8.4","25.9.0","25.9.1","25.9.2","25.9.3","25.9.4","25.9.5","25.9.6","25.9.7","25.9.8"],"116.0.5791.0":["26.0.0-alpha.1","26.0.0-alpha.2","26.0.0-alpha.3","26.0.0-alpha.4","26.0.0-alpha.5"],"116.0.5815.0":["26.0.0-alpha.6"],"116.0.5831.0":["26.0.0-alpha.7"],"116.0.5845.0":["26.0.0-alpha.8","26.0.0-beta.1"],"116.0.5845.14":["26.0.0-beta.2","26.0.0-beta.3","26.0.0-beta.4","26.0.0-beta.5","26.0.0-beta.6","26.0.0-beta.7"],"116.0.5845.42":["26.0.0-beta.8","26.0.0-beta.9"],"116.0.5845.49":["26.0.0-beta.10","26.0.0-beta.11"],"116.0.5845.62":["26.0.0-beta.12"],"116.0.5845.82":["26.0.0"],"116.0.5845.97":["26.1.0"],"116.0.5845.179":["26.2.0"],"116.0.5845.188":["26.2.1"],"116.0.5845.190":["26.2.2","26.2.3","26.2.4"],"116.0.5845.228":["26.3.0","26.4.0","26.4.1","26.4.2","26.4.3","26.5.0","26.6.0","26.6.1","26.6.2","26.6.3","26.6.4","26.6.5","26.6.6","26.6.7","26.6.8","26.6.9","26.6.10"],"118.0.5949.0":["27.0.0-alpha.1","27.0.0-alpha.2","27.0.0-alpha.3","27.0.0-alpha.4","27.0.0-alpha.5","27.0.0-alpha.6"],"118.0.5993.5":["27.0.0-beta.1","27.0.0-beta.2","27.0.0-beta.3"],"118.0.5993.11":["27.0.0-beta.4"],"118.0.5993.18":["27.0.0-beta.5","27.0.0-beta.6","27.0.0-beta.7","27.0.0-beta.8","27.0.0-beta.9"],"118.0.5993.54":["27.0.0"],"118.0.5993.89":["27.0.1","27.0.2"],"118.0.5993.120":["27.0.3"],"118.0.5993.129":["27.0.4"],"118.0.5993.144":["27.1.0","27.1.2"],"118.0.5993.159":["27.1.3","27.2.0","27.2.1","27.2.2","27.2.3","27.2.4","27.3.0","27.3.1","27.3.2","27.3.3","27.3.4","27.3.5","27.3.6","27.3.7","27.3.8","27.3.9","27.3.10","27.3.11"],"119.0.6045.0":["28.0.0-alpha.1","28.0.0-alpha.2"],"119.0.6045.21":["28.0.0-alpha.3","28.0.0-alpha.4"],"119.0.6045.33":["28.0.0-alpha.5","28.0.0-alpha.6","28.0.0-alpha.7","28.0.0-beta.1"],"120.0.6099.0":["28.0.0-beta.2"],"120.0.6099.5":["28.0.0-beta.3","28.0.0-beta.4"],"120.0.6099.18":["28.0.0-beta.5","28.0.0-beta.6","28.0.0-beta.7","28.0.0-beta.8","28.0.0-beta.9","28.0.0-beta.10"],"120.0.6099.35":["28.0.0-beta.11"],"120.0.6099.56":["28.0.0"],"120.0.6099.109":["28.1.0","28.1.1"],"120.0.6099.199":["28.1.2","28.1.3"],"120.0.6099.216":["28.1.4"],"120.0.6099.227":["28.2.0"],"120.0.6099.268":["28.2.1"],"120.0.6099.276":["28.2.2"],"120.0.6099.283":["28.2.3"],"120.0.6099.291":["28.2.4","28.2.5","28.2.6","28.2.7","28.2.8","28.2.9","28.2.10","28.3.0","28.3.1","28.3.2","28.3.3"],"121.0.6147.0":["29.0.0-alpha.1","29.0.0-alpha.2","29.0.0-alpha.3"],"121.0.6159.0":["29.0.0-alpha.4","29.0.0-alpha.5","29.0.0-alpha.6","29.0.0-alpha.7"],"122.0.6194.0":["29.0.0-alpha.8"],"122.0.6236.2":["29.0.0-alpha.9","29.0.0-alpha.10","29.0.0-alpha.11","29.0.0-beta.1","29.0.0-beta.2"],"122.0.6261.6":["29.0.0-beta.3","29.0.0-beta.4"],"122.0.6261.18":["29.0.0-beta.5","29.0.0-beta.6","29.0.0-beta.7","29.0.0-beta.8","29.0.0-beta.9","29.0.0-beta.10","29.0.0-beta.11"],"122.0.6261.29":["29.0.0-beta.12"],"122.0.6261.39":["29.0.0"],"122.0.6261.57":["29.0.1"],"122.0.6261.70":["29.1.0"],"122.0.6261.111":["29.1.1"],"122.0.6261.112":["29.1.2","29.1.3"],"122.0.6261.129":["29.1.4"],"122.0.6261.130":["29.1.5"],"122.0.6261.139":["29.1.6"],"122.0.6261.156":["29.2.0","29.3.0","29.3.1","29.3.2","29.3.3","29.4.0","29.4.1","29.4.2","29.4.3","29.4.4","29.4.5","29.4.6"],"123.0.6296.0":["30.0.0-alpha.1"],"123.0.6312.5":["30.0.0-alpha.2"],"124.0.6323.0":["30.0.0-alpha.3","30.0.0-alpha.4"],"124.0.6331.0":["30.0.0-alpha.5","30.0.0-alpha.6"],"124.0.6353.0":["30.0.0-alpha.7"],"124.0.6359.0":["30.0.0-beta.1","30.0.0-beta.2"],"124.0.6367.9":["30.0.0-beta.3","30.0.0-beta.4","30.0.0-beta.5"],"124.0.6367.18":["30.0.0-beta.6"],"124.0.6367.29":["30.0.0-beta.7","30.0.0-beta.8"],"124.0.6367.49":["30.0.0"],"124.0.6367.60":["30.0.1"],"124.0.6367.91":["30.0.2"],"124.0.6367.119":["30.0.3"],"124.0.6367.201":["30.0.4"],"124.0.6367.207":["30.0.5","30.0.6"],"124.0.6367.221":["30.0.7"],"124.0.6367.230":["30.0.8"],"124.0.6367.233":["30.0.9"],"124.0.6367.243":["30.1.0","30.1.1","30.1.2","30.2.0","30.3.0","30.3.1","30.4.0","30.5.0","30.5.1"],"125.0.6412.0":["31.0.0-alpha.1","31.0.0-alpha.2","31.0.0-alpha.3","31.0.0-alpha.4","31.0.0-alpha.5"],"126.0.6445.0":["31.0.0-beta.1","31.0.0-beta.2","31.0.0-beta.3","31.0.0-beta.4","31.0.0-beta.5","31.0.0-beta.6","31.0.0-beta.7","31.0.0-beta.8","31.0.0-beta.9"],"126.0.6478.36":["31.0.0-beta.10","31.0.0","31.0.1"],"126.0.6478.61":["31.0.2"],"126.0.6478.114":["31.1.0"],"126.0.6478.127":["31.2.0","31.2.1"],"126.0.6478.183":["31.3.0"],"126.0.6478.185":["31.3.1"],"126.0.6478.234":["31.4.0","31.5.0","31.6.0","31.7.0","31.7.1","31.7.2","31.7.3","31.7.4","31.7.5","31.7.6","31.7.7"],"127.0.6521.0":["32.0.0-alpha.1","32.0.0-alpha.2","32.0.0-alpha.3","32.0.0-alpha.4","32.0.0-alpha.5"],"128.0.6571.0":["32.0.0-alpha.6","32.0.0-alpha.7"],"128.0.6573.0":["32.0.0-alpha.8","32.0.0-alpha.9","32.0.0-alpha.10","32.0.0-beta.1"],"128.0.6611.0":["32.0.0-beta.2"],"128.0.6613.7":["32.0.0-beta.3"],"128.0.6613.18":["32.0.0-beta.4"],"128.0.6613.27":["32.0.0-beta.5","32.0.0-beta.6","32.0.0-beta.7"],"128.0.6613.36":["32.0.0","32.0.1"],"128.0.6613.84":["32.0.2"],"128.0.6613.120":["32.1.0"],"128.0.6613.137":["32.1.1"],"128.0.6613.162":["32.1.2"],"128.0.6613.178":["32.2.0"],"128.0.6613.186":["32.2.1","32.2.2","32.2.3","32.2.4","32.2.5","32.2.6","32.2.7","32.2.8","32.3.0","32.3.1","32.3.2","32.3.3"],"129.0.6668.0":["33.0.0-alpha.1"],"130.0.6672.0":["33.0.0-alpha.2","33.0.0-alpha.3","33.0.0-alpha.4","33.0.0-alpha.5","33.0.0-alpha.6","33.0.0-beta.1","33.0.0-beta.2","33.0.0-beta.3","33.0.0-beta.4"],"130.0.6723.19":["33.0.0-beta.5","33.0.0-beta.6","33.0.0-beta.7"],"130.0.6723.31":["33.0.0-beta.8","33.0.0-beta.9","33.0.0-beta.10"],"130.0.6723.44":["33.0.0-beta.11","33.0.0"],"130.0.6723.59":["33.0.1","33.0.2"],"130.0.6723.91":["33.1.0"],"130.0.6723.118":["33.2.0"],"130.0.6723.137":["33.2.1"],"130.0.6723.152":["33.3.0"],"130.0.6723.170":["33.3.1"],"130.0.6723.191":["33.3.2","33.4.0","33.4.1","33.4.2","33.4.3","33.4.4","33.4.5","33.4.6","33.4.7","33.4.8","33.4.9","33.4.10","33.4.11"],"131.0.6776.0":["34.0.0-alpha.1"],"132.0.6779.0":["34.0.0-alpha.2"],"132.0.6789.1":["34.0.0-alpha.3","34.0.0-alpha.4","34.0.0-alpha.5","34.0.0-alpha.6","34.0.0-alpha.7"],"132.0.6820.0":["34.0.0-alpha.8"],"132.0.6824.0":["34.0.0-alpha.9","34.0.0-beta.1","34.0.0-beta.2","34.0.0-beta.3"],"132.0.6834.6":["34.0.0-beta.4","34.0.0-beta.5"],"132.0.6834.15":["34.0.0-beta.6","34.0.0-beta.7","34.0.0-beta.8"],"132.0.6834.32":["34.0.0-beta.9","34.0.0-beta.10","34.0.0-beta.11"],"132.0.6834.46":["34.0.0-beta.12","34.0.0-beta.13"],"132.0.6834.57":["34.0.0-beta.14","34.0.0-beta.15","34.0.0-beta.16"],"132.0.6834.83":["34.0.0","34.0.1"],"132.0.6834.159":["34.0.2"],"132.0.6834.194":["34.1.0","34.1.1"],"132.0.6834.196":["34.2.0"],"132.0.6834.210":["34.3.0","34.3.1","34.3.2","34.3.3","34.3.4","34.4.0","34.4.1","34.5.0","34.5.1","34.5.2","34.5.3","34.5.4","34.5.5","34.5.6","34.5.7","34.5.8"],"133.0.6920.0":["35.0.0-alpha.1","35.0.0-alpha.2","35.0.0-alpha.3","35.0.0-alpha.4","35.0.0-alpha.5","35.0.0-beta.1"],"134.0.6968.0":["35.0.0-beta.2","35.0.0-beta.3","35.0.0-beta.4"],"134.0.6989.0":["35.0.0-beta.5"],"134.0.6990.0":["35.0.0-beta.6","35.0.0-beta.7"],"134.0.6998.10":["35.0.0-beta.8","35.0.0-beta.9"],"134.0.6998.23":["35.0.0-beta.10","35.0.0-beta.11","35.0.0-beta.12"],"134.0.6998.44":["35.0.0-beta.13","35.0.0","35.0.1"],"134.0.6998.88":["35.0.2","35.0.3"],"134.0.6998.165":["35.1.0","35.1.1"],"134.0.6998.178":["35.1.2"],"134.0.6998.179":["35.1.3","35.1.4","35.1.5"],"134.0.6998.205":["35.2.0","35.2.1","35.2.2","35.3.0","35.4.0","35.5.0","35.5.1","35.6.0","35.7.0","35.7.1","35.7.2","35.7.4","35.7.5"],"135.0.7049.5":["36.0.0-alpha.1"],"136.0.7062.0":["36.0.0-alpha.2","36.0.0-alpha.3","36.0.0-alpha.4"],"136.0.7067.0":["36.0.0-alpha.5","36.0.0-alpha.6","36.0.0-beta.1","36.0.0-beta.2","36.0.0-beta.3","36.0.0-beta.4"],"136.0.7103.17":["36.0.0-beta.5"],"136.0.7103.25":["36.0.0-beta.6","36.0.0-beta.7"],"136.0.7103.33":["36.0.0-beta.8","36.0.0-beta.9"],"136.0.7103.48":["36.0.0","36.0.1"],"136.0.7103.49":["36.1.0","36.2.0"],"136.0.7103.93":["36.2.1"],"136.0.7103.113":["36.3.0","36.3.1"],"136.0.7103.115":["36.3.2"],"136.0.7103.149":["36.4.0"],"136.0.7103.168":["36.5.0"],"136.0.7103.177":["36.6.0","36.7.0","36.7.1","36.7.3","36.7.4","36.8.0","36.8.1","36.9.0","36.9.1","36.9.2","36.9.3","36.9.4","36.9.5"],"137.0.7151.0":["37.0.0-alpha.1","37.0.0-alpha.2"],"138.0.7156.0":["37.0.0-alpha.3"],"138.0.7165.0":["37.0.0-alpha.4"],"138.0.7177.0":["37.0.0-alpha.5"],"138.0.7178.0":["37.0.0-alpha.6","37.0.0-alpha.7","37.0.0-beta.1","37.0.0-beta.2"],"138.0.7190.0":["37.0.0-beta.3"],"138.0.7204.15":["37.0.0-beta.4","37.0.0-beta.5","37.0.0-beta.6","37.0.0-beta.7"],"138.0.7204.23":["37.0.0-beta.8"],"138.0.7204.35":["37.0.0-beta.9","37.0.0","37.1.0"],"138.0.7204.97":["37.2.0","37.2.1"],"138.0.7204.100":["37.2.2","37.2.3"],"138.0.7204.157":["37.2.4"],"138.0.7204.168":["37.2.5"],"138.0.7204.185":["37.2.6"],"138.0.7204.224":["37.3.0"],"138.0.7204.235":["37.3.1"],"138.0.7204.243":["37.4.0"],"138.0.7204.251":["37.5.0","37.5.1","37.6.0","37.6.1","37.7.0","37.7.1","37.8.0","37.9.0","37.10.0","37.10.1","37.10.2","37.10.3"],"139.0.7219.0":["38.0.0-alpha.1","38.0.0-alpha.2","38.0.0-alpha.3"],"140.0.7261.0":["38.0.0-alpha.4","38.0.0-alpha.5","38.0.0-alpha.6"],"140.0.7281.0":["38.0.0-alpha.7","38.0.0-alpha.8"],"140.0.7301.0":["38.0.0-alpha.9"],"140.0.7309.0":["38.0.0-alpha.10"],"140.0.7312.0":["38.0.0-alpha.11"],"140.0.7314.0":["38.0.0-alpha.12","38.0.0-alpha.13","38.0.0-beta.1"],"140.0.7327.0":["38.0.0-beta.2","38.0.0-beta.3"],"140.0.7339.2":["38.0.0-beta.4","38.0.0-beta.5","38.0.0-beta.6"],"140.0.7339.16":["38.0.0-beta.7"],"140.0.7339.24":["38.0.0-beta.8","38.0.0-beta.9"],"140.0.7339.41":["38.0.0-beta.11","38.0.0"],"140.0.7339.80":["38.1.0"],"140.0.7339.133":["38.1.1","38.1.2","38.2.0","38.2.1","38.2.2"],"140.0.7339.240":["38.3.0","38.4.0"],"140.0.7339.249":["38.5.0","38.6.0","38.7.0","38.7.1","38.7.2","38.8.0","38.8.1","38.8.2","38.8.4","38.8.6"],"141.0.7361.0":["39.0.0-alpha.1","39.0.0-alpha.2"],"141.0.7390.7":["39.0.0-alpha.3","39.0.0-alpha.4","39.0.0-alpha.5"],"142.0.7417.0":["39.0.0-alpha.6","39.0.0-alpha.7","39.0.0-alpha.8","39.0.0-alpha.9","39.0.0-beta.1","39.0.0-beta.2","39.0.0-beta.3"],"142.0.7444.34":["39.0.0-beta.4","39.0.0-beta.5"],"142.0.7444.52":["39.0.0"],"142.0.7444.59":["39.1.0","39.1.1"],"142.0.7444.134":["39.1.2"],"142.0.7444.162":["39.2.0","39.2.1","39.2.2"],"142.0.7444.175":["39.2.3"],"142.0.7444.177":["39.2.4","39.2.5"],"142.0.7444.226":["39.2.6"],"142.0.7444.235":["39.2.7"],"142.0.7444.265":["39.3.0","39.4.0","39.5.0","39.5.1","39.5.2","39.6.0","39.6.1","39.7.0","39.8.0","39.8.1","39.8.2","39.8.3","39.8.4","39.8.5"],"143.0.7499.0":["40.0.0-alpha.2"],"144.0.7506.0":["40.0.0-alpha.4"],"144.0.7526.0":["40.0.0-alpha.5","40.0.0-alpha.6","40.0.0-alpha.7","40.0.0-alpha.8"],"144.0.7527.0":["40.0.0-beta.1","40.0.0-beta.2"],"144.0.7547.0":["40.0.0-beta.3","40.0.0-beta.4","40.0.0-beta.5"],"144.0.7559.31":["40.0.0-beta.6","40.0.0-beta.7","40.0.0-beta.8"],"144.0.7559.60":["40.0.0-beta.9","40.0.0"],"144.0.7559.96":["40.1.0"],"144.0.7559.111":["40.2.0","40.2.1"],"144.0.7559.134":["40.3.0","40.4.0"],"144.0.7559.173":["40.4.1"],"144.0.7559.177":["40.5.0","40.6.0"],"144.0.7559.220":["40.6.1"],"144.0.7559.225":["40.7.0"],"144.0.7559.236":["40.8.0","40.8.1","40.8.2","40.8.3","40.8.4","40.8.5"],"146.0.7635.0":["41.0.0-alpha.1","41.0.0-alpha.2"],"146.0.7645.0":["41.0.0-alpha.3"],"146.0.7650.0":["41.0.0-alpha.4","41.0.0-alpha.5","41.0.0-alpha.6","41.0.0-beta.1","41.0.0-beta.2","41.0.0-beta.3"],"146.0.7666.0":["41.0.0-beta.4"],"146.0.7680.16":["41.0.0-beta.5","41.0.0-beta.6"],"146.0.7680.31":["41.0.0-beta.7","41.0.0-beta.8"],"146.0.7680.65":["41.0.0"],"146.0.7680.72":["41.0.1","41.0.2"],"146.0.7680.80":["41.0.3"],"146.0.7680.153":["41.0.4"],"146.0.7680.166":["41.1.0"],"147.0.7727.0":["42.0.0-alpha.1"],"148.0.7733.0":["42.0.0-alpha.2"],"148.0.7738.0":["42.0.0-alpha.4"],"148.0.7741.0":["42.0.0-alpha.5"]} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/electron-to-chromium/full-versions.js b/lambdas/risk-engine/node_modules/electron-to-chromium/full-versions.js deleted file mode 100644 index f6eca882..00000000 --- a/lambdas/risk-engine/node_modules/electron-to-chromium/full-versions.js +++ /dev/null @@ -1,1751 +0,0 @@ -module.exports = { - "0.20.0": "39.0.2171.65", - "0.20.1": "39.0.2171.65", - "0.20.2": "39.0.2171.65", - "0.20.3": "39.0.2171.65", - "0.20.4": "39.0.2171.65", - "0.20.5": "39.0.2171.65", - "0.20.6": "39.0.2171.65", - "0.20.7": "39.0.2171.65", - "0.20.8": "39.0.2171.65", - "0.21.0": "40.0.2214.91", - "0.21.1": "40.0.2214.91", - "0.21.2": "40.0.2214.91", - "0.21.3": "41.0.2272.76", - "0.22.1": "41.0.2272.76", - "0.22.2": "41.0.2272.76", - "0.22.3": "41.0.2272.76", - "0.23.0": "41.0.2272.76", - "0.24.0": "41.0.2272.76", - "0.25.0": "42.0.2311.107", - "0.25.1": "42.0.2311.107", - "0.25.2": "42.0.2311.107", - "0.25.3": "42.0.2311.107", - "0.26.0": "42.0.2311.107", - "0.26.1": "42.0.2311.107", - "0.27.0": "42.0.2311.107", - "0.27.1": "42.0.2311.107", - "0.27.2": "43.0.2357.65", - "0.27.3": "43.0.2357.65", - "0.28.0": "43.0.2357.65", - "0.28.1": "43.0.2357.65", - "0.28.2": "43.0.2357.65", - "0.28.3": "43.0.2357.65", - "0.29.1": "43.0.2357.65", - "0.29.2": "43.0.2357.65", - "0.30.4": "44.0.2403.125", - "0.31.0": "44.0.2403.125", - "0.31.2": "45.0.2454.85", - "0.32.2": "45.0.2454.85", - "0.32.3": "45.0.2454.85", - "0.33.0": "45.0.2454.85", - "0.33.1": "45.0.2454.85", - "0.33.2": "45.0.2454.85", - "0.33.3": "45.0.2454.85", - "0.33.4": "45.0.2454.85", - "0.33.6": "45.0.2454.85", - "0.33.7": "45.0.2454.85", - "0.33.8": "45.0.2454.85", - "0.33.9": "45.0.2454.85", - "0.34.0": "45.0.2454.85", - "0.34.1": "45.0.2454.85", - "0.34.2": "45.0.2454.85", - "0.34.3": "45.0.2454.85", - "0.34.4": "45.0.2454.85", - "0.35.1": "45.0.2454.85", - "0.35.2": "45.0.2454.85", - "0.35.3": "45.0.2454.85", - "0.35.4": "45.0.2454.85", - "0.35.5": "45.0.2454.85", - "0.36.0": "47.0.2526.73", - "0.36.2": "47.0.2526.73", - "0.36.3": "47.0.2526.73", - "0.36.4": "47.0.2526.73", - "0.36.5": "47.0.2526.110", - "0.36.6": "47.0.2526.110", - "0.36.7": "47.0.2526.110", - "0.36.8": "47.0.2526.110", - "0.36.9": "47.0.2526.110", - "0.36.10": "47.0.2526.110", - "0.36.11": "47.0.2526.110", - "0.36.12": "47.0.2526.110", - "0.37.0": "49.0.2623.75", - "0.37.1": "49.0.2623.75", - "0.37.3": "49.0.2623.75", - "0.37.4": "49.0.2623.75", - "0.37.5": "49.0.2623.75", - "0.37.6": "49.0.2623.75", - "0.37.7": "49.0.2623.75", - "0.37.8": "49.0.2623.75", - "1.0.0": "49.0.2623.75", - "1.0.1": "49.0.2623.75", - "1.0.2": "49.0.2623.75", - "1.1.0": "50.0.2661.102", - "1.1.1": "50.0.2661.102", - "1.1.2": "50.0.2661.102", - "1.1.3": "50.0.2661.102", - "1.2.0": "51.0.2704.63", - "1.2.1": "51.0.2704.63", - "1.2.2": "51.0.2704.84", - "1.2.3": "51.0.2704.84", - "1.2.4": "51.0.2704.103", - "1.2.5": "51.0.2704.103", - "1.2.6": "51.0.2704.106", - "1.2.7": "51.0.2704.106", - "1.2.8": "51.0.2704.106", - "1.3.0": "52.0.2743.82", - "1.3.1": "52.0.2743.82", - "1.3.2": "52.0.2743.82", - "1.3.3": "52.0.2743.82", - "1.3.4": "52.0.2743.82", - "1.3.5": "52.0.2743.82", - "1.3.6": "52.0.2743.82", - "1.3.7": "52.0.2743.82", - "1.3.9": "52.0.2743.82", - "1.3.10": "52.0.2743.82", - "1.3.13": "52.0.2743.82", - "1.3.14": "52.0.2743.82", - "1.3.15": "52.0.2743.82", - "1.4.0": "53.0.2785.113", - "1.4.1": "53.0.2785.113", - "1.4.2": "53.0.2785.113", - "1.4.3": "53.0.2785.113", - "1.4.4": "53.0.2785.113", - "1.4.5": "53.0.2785.113", - "1.4.6": "53.0.2785.143", - "1.4.7": "53.0.2785.143", - "1.4.8": "53.0.2785.143", - "1.4.10": "53.0.2785.143", - "1.4.11": "53.0.2785.143", - "1.4.12": "54.0.2840.51", - "1.4.13": "53.0.2785.143", - "1.4.14": "53.0.2785.143", - "1.4.15": "53.0.2785.143", - "1.4.16": "53.0.2785.143", - "1.5.0": "54.0.2840.101", - "1.5.1": "54.0.2840.101", - "1.6.0": "56.0.2924.87", - "1.6.1": "56.0.2924.87", - "1.6.2": "56.0.2924.87", - "1.6.3": "56.0.2924.87", - "1.6.4": "56.0.2924.87", - "1.6.5": "56.0.2924.87", - "1.6.6": "56.0.2924.87", - "1.6.7": "56.0.2924.87", - "1.6.8": "56.0.2924.87", - "1.6.9": "56.0.2924.87", - "1.6.10": "56.0.2924.87", - "1.6.11": "56.0.2924.87", - "1.6.12": "56.0.2924.87", - "1.6.13": "56.0.2924.87", - "1.6.14": "56.0.2924.87", - "1.6.15": "56.0.2924.87", - "1.6.16": "56.0.2924.87", - "1.6.17": "56.0.2924.87", - "1.6.18": "56.0.2924.87", - "1.7.0": "58.0.3029.110", - "1.7.1": "58.0.3029.110", - "1.7.2": "58.0.3029.110", - "1.7.3": "58.0.3029.110", - "1.7.4": "58.0.3029.110", - "1.7.5": "58.0.3029.110", - "1.7.6": "58.0.3029.110", - "1.7.7": "58.0.3029.110", - "1.7.8": "58.0.3029.110", - "1.7.9": "58.0.3029.110", - "1.7.10": "58.0.3029.110", - "1.7.11": "58.0.3029.110", - "1.7.12": "58.0.3029.110", - "1.7.13": "58.0.3029.110", - "1.7.14": "58.0.3029.110", - "1.7.15": "58.0.3029.110", - "1.7.16": "58.0.3029.110", - "1.8.0": "59.0.3071.115", - "1.8.1": "59.0.3071.115", - "1.8.2-beta.1": "59.0.3071.115", - "1.8.2-beta.2": "59.0.3071.115", - "1.8.2-beta.3": "59.0.3071.115", - "1.8.2-beta.4": "59.0.3071.115", - "1.8.2-beta.5": "59.0.3071.115", - "1.8.2": "59.0.3071.115", - "1.8.3": "59.0.3071.115", - "1.8.4": "59.0.3071.115", - "1.8.5": "59.0.3071.115", - "1.8.6": "59.0.3071.115", - "1.8.7": "59.0.3071.115", - "1.8.8": "59.0.3071.115", - "2.0.0-beta.1": "61.0.3163.100", - "2.0.0-beta.2": "61.0.3163.100", - "2.0.0-beta.3": "61.0.3163.100", - "2.0.0-beta.4": "61.0.3163.100", - "2.0.0-beta.5": "61.0.3163.100", - "2.0.0-beta.6": "61.0.3163.100", - "2.0.0-beta.7": "61.0.3163.100", - "2.0.0-beta.8": "61.0.3163.100", - "2.0.0": "61.0.3163.100", - "2.0.1": "61.0.3163.100", - "2.0.2": "61.0.3163.100", - "2.0.3": "61.0.3163.100", - "2.0.4": "61.0.3163.100", - "2.0.5": "61.0.3163.100", - "2.0.6": "61.0.3163.100", - "2.0.7": "61.0.3163.100", - "2.0.8": "61.0.3163.100", - "2.0.9": "61.0.3163.100", - "2.0.10": "61.0.3163.100", - "2.0.11": "61.0.3163.100", - "2.0.12": "61.0.3163.100", - "2.0.13": "61.0.3163.100", - "2.0.14": "61.0.3163.100", - "2.0.15": "61.0.3163.100", - "2.0.16": "61.0.3163.100", - "2.0.17": "61.0.3163.100", - "2.0.18": "61.0.3163.100", - "2.1.0-unsupported.20180809": "61.0.3163.100", - "3.0.0-beta.1": "66.0.3359.181", - "3.0.0-beta.2": "66.0.3359.181", - "3.0.0-beta.3": "66.0.3359.181", - "3.0.0-beta.4": "66.0.3359.181", - "3.0.0-beta.5": "66.0.3359.181", - "3.0.0-beta.6": "66.0.3359.181", - "3.0.0-beta.7": "66.0.3359.181", - "3.0.0-beta.8": "66.0.3359.181", - "3.0.0-beta.9": "66.0.3359.181", - "3.0.0-beta.10": "66.0.3359.181", - "3.0.0-beta.11": "66.0.3359.181", - "3.0.0-beta.12": "66.0.3359.181", - "3.0.0-beta.13": "66.0.3359.181", - "3.0.0": "66.0.3359.181", - "3.0.1": "66.0.3359.181", - "3.0.2": "66.0.3359.181", - "3.0.3": "66.0.3359.181", - "3.0.4": "66.0.3359.181", - "3.0.5": "66.0.3359.181", - "3.0.6": "66.0.3359.181", - "3.0.7": "66.0.3359.181", - "3.0.8": "66.0.3359.181", - "3.0.9": "66.0.3359.181", - "3.0.10": "66.0.3359.181", - "3.0.11": "66.0.3359.181", - "3.0.12": "66.0.3359.181", - "3.0.13": "66.0.3359.181", - "3.0.14": "66.0.3359.181", - "3.0.15": "66.0.3359.181", - "3.0.16": "66.0.3359.181", - "3.1.0-beta.1": "66.0.3359.181", - "3.1.0-beta.2": "66.0.3359.181", - "3.1.0-beta.3": "66.0.3359.181", - "3.1.0-beta.4": "66.0.3359.181", - "3.1.0-beta.5": "66.0.3359.181", - "3.1.0": "66.0.3359.181", - "3.1.1": "66.0.3359.181", - "3.1.2": "66.0.3359.181", - "3.1.3": "66.0.3359.181", - "3.1.4": "66.0.3359.181", - "3.1.5": "66.0.3359.181", - "3.1.6": "66.0.3359.181", - "3.1.7": "66.0.3359.181", - "3.1.8": "66.0.3359.181", - "3.1.9": "66.0.3359.181", - "3.1.10": "66.0.3359.181", - "3.1.11": "66.0.3359.181", - "3.1.12": "66.0.3359.181", - "3.1.13": "66.0.3359.181", - "4.0.0-beta.1": "69.0.3497.106", - "4.0.0-beta.2": "69.0.3497.106", - "4.0.0-beta.3": "69.0.3497.106", - "4.0.0-beta.4": "69.0.3497.106", - "4.0.0-beta.5": "69.0.3497.106", - "4.0.0-beta.6": "69.0.3497.106", - "4.0.0-beta.7": "69.0.3497.106", - "4.0.0-beta.8": "69.0.3497.106", - "4.0.0-beta.9": "69.0.3497.106", - "4.0.0-beta.10": "69.0.3497.106", - "4.0.0-beta.11": "69.0.3497.106", - "4.0.0": "69.0.3497.106", - "4.0.1": "69.0.3497.106", - "4.0.2": "69.0.3497.106", - "4.0.3": "69.0.3497.106", - "4.0.4": "69.0.3497.106", - "4.0.5": "69.0.3497.106", - "4.0.6": "69.0.3497.106", - "4.0.7": "69.0.3497.128", - "4.0.8": "69.0.3497.128", - "4.1.0": "69.0.3497.128", - "4.1.1": "69.0.3497.128", - "4.1.2": "69.0.3497.128", - "4.1.3": "69.0.3497.128", - "4.1.4": "69.0.3497.128", - "4.1.5": "69.0.3497.128", - "4.2.0": "69.0.3497.128", - "4.2.1": "69.0.3497.128", - "4.2.2": "69.0.3497.128", - "4.2.3": "69.0.3497.128", - "4.2.4": "69.0.3497.128", - "4.2.5": "69.0.3497.128", - "4.2.6": "69.0.3497.128", - "4.2.7": "69.0.3497.128", - "4.2.8": "69.0.3497.128", - "4.2.9": "69.0.3497.128", - "4.2.10": "69.0.3497.128", - "4.2.11": "69.0.3497.128", - "4.2.12": "69.0.3497.128", - "5.0.0-beta.1": "72.0.3626.52", - "5.0.0-beta.2": "72.0.3626.52", - "5.0.0-beta.3": "73.0.3683.27", - "5.0.0-beta.4": "73.0.3683.54", - "5.0.0-beta.5": "73.0.3683.61", - "5.0.0-beta.6": "73.0.3683.84", - "5.0.0-beta.7": "73.0.3683.94", - "5.0.0-beta.8": "73.0.3683.104", - "5.0.0-beta.9": "73.0.3683.117", - "5.0.0": "73.0.3683.119", - "5.0.1": "73.0.3683.121", - "5.0.2": "73.0.3683.121", - "5.0.3": "73.0.3683.121", - "5.0.4": "73.0.3683.121", - "5.0.5": "73.0.3683.121", - "5.0.6": "73.0.3683.121", - "5.0.7": "73.0.3683.121", - "5.0.8": "73.0.3683.121", - "5.0.9": "73.0.3683.121", - "5.0.10": "73.0.3683.121", - "5.0.11": "73.0.3683.121", - "5.0.12": "73.0.3683.121", - "5.0.13": "73.0.3683.121", - "6.0.0-beta.1": "76.0.3774.1", - "6.0.0-beta.2": "76.0.3783.1", - "6.0.0-beta.3": "76.0.3783.1", - "6.0.0-beta.4": "76.0.3783.1", - "6.0.0-beta.5": "76.0.3805.4", - "6.0.0-beta.6": "76.0.3809.3", - "6.0.0-beta.7": "76.0.3809.22", - "6.0.0-beta.8": "76.0.3809.26", - "6.0.0-beta.9": "76.0.3809.26", - "6.0.0-beta.10": "76.0.3809.37", - "6.0.0-beta.11": "76.0.3809.42", - "6.0.0-beta.12": "76.0.3809.54", - "6.0.0-beta.13": "76.0.3809.60", - "6.0.0-beta.14": "76.0.3809.68", - "6.0.0-beta.15": "76.0.3809.74", - "6.0.0": "76.0.3809.88", - "6.0.1": "76.0.3809.102", - "6.0.2": "76.0.3809.110", - "6.0.3": "76.0.3809.126", - "6.0.4": "76.0.3809.131", - "6.0.5": "76.0.3809.136", - "6.0.6": "76.0.3809.138", - "6.0.7": "76.0.3809.139", - "6.0.8": "76.0.3809.146", - "6.0.9": "76.0.3809.146", - "6.0.10": "76.0.3809.146", - "6.0.11": "76.0.3809.146", - "6.0.12": "76.0.3809.146", - "6.1.0": "76.0.3809.146", - "6.1.1": "76.0.3809.146", - "6.1.2": "76.0.3809.146", - "6.1.3": "76.0.3809.146", - "6.1.4": "76.0.3809.146", - "6.1.5": "76.0.3809.146", - "6.1.6": "76.0.3809.146", - "6.1.7": "76.0.3809.146", - "6.1.8": "76.0.3809.146", - "6.1.9": "76.0.3809.146", - "6.1.10": "76.0.3809.146", - "6.1.11": "76.0.3809.146", - "6.1.12": "76.0.3809.146", - "7.0.0-beta.1": "78.0.3866.0", - "7.0.0-beta.2": "78.0.3866.0", - "7.0.0-beta.3": "78.0.3866.0", - "7.0.0-beta.4": "78.0.3896.6", - "7.0.0-beta.5": "78.0.3905.1", - "7.0.0-beta.6": "78.0.3905.1", - "7.0.0-beta.7": "78.0.3905.1", - "7.0.0": "78.0.3905.1", - "7.0.1": "78.0.3904.92", - "7.1.0": "78.0.3904.94", - "7.1.1": "78.0.3904.99", - "7.1.2": "78.0.3904.113", - "7.1.3": "78.0.3904.126", - "7.1.4": "78.0.3904.130", - "7.1.5": "78.0.3904.130", - "7.1.6": "78.0.3904.130", - "7.1.7": "78.0.3904.130", - "7.1.8": "78.0.3904.130", - "7.1.9": "78.0.3904.130", - "7.1.10": "78.0.3904.130", - "7.1.11": "78.0.3904.130", - "7.1.12": "78.0.3904.130", - "7.1.13": "78.0.3904.130", - "7.1.14": "78.0.3904.130", - "7.2.0": "78.0.3904.130", - "7.2.1": "78.0.3904.130", - "7.2.2": "78.0.3904.130", - "7.2.3": "78.0.3904.130", - "7.2.4": "78.0.3904.130", - "7.3.0": "78.0.3904.130", - "7.3.1": "78.0.3904.130", - "7.3.2": "78.0.3904.130", - "7.3.3": "78.0.3904.130", - "8.0.0-beta.1": "79.0.3931.0", - "8.0.0-beta.2": "79.0.3931.0", - "8.0.0-beta.3": "80.0.3955.0", - "8.0.0-beta.4": "80.0.3955.0", - "8.0.0-beta.5": "80.0.3987.14", - "8.0.0-beta.6": "80.0.3987.51", - "8.0.0-beta.7": "80.0.3987.59", - "8.0.0-beta.8": "80.0.3987.75", - "8.0.0-beta.9": "80.0.3987.75", - "8.0.0": "80.0.3987.86", - "8.0.1": "80.0.3987.86", - "8.0.2": "80.0.3987.86", - "8.0.3": "80.0.3987.134", - "8.1.0": "80.0.3987.137", - "8.1.1": "80.0.3987.141", - "8.2.0": "80.0.3987.158", - "8.2.1": "80.0.3987.163", - "8.2.2": "80.0.3987.163", - "8.2.3": "80.0.3987.163", - "8.2.4": "80.0.3987.165", - "8.2.5": "80.0.3987.165", - "8.3.0": "80.0.3987.165", - "8.3.1": "80.0.3987.165", - "8.3.2": "80.0.3987.165", - "8.3.3": "80.0.3987.165", - "8.3.4": "80.0.3987.165", - "8.4.0": "80.0.3987.165", - "8.4.1": "80.0.3987.165", - "8.5.0": "80.0.3987.165", - "8.5.1": "80.0.3987.165", - "8.5.2": "80.0.3987.165", - "8.5.3": "80.0.3987.163", - "8.5.4": "80.0.3987.163", - "8.5.5": "80.0.3987.163", - "9.0.0-beta.1": "82.0.4048.0", - "9.0.0-beta.2": "82.0.4048.0", - "9.0.0-beta.3": "82.0.4048.0", - "9.0.0-beta.4": "82.0.4048.0", - "9.0.0-beta.5": "82.0.4048.0", - "9.0.0-beta.6": "82.0.4058.2", - "9.0.0-beta.7": "82.0.4058.2", - "9.0.0-beta.9": "82.0.4058.2", - "9.0.0-beta.10": "82.0.4085.10", - "9.0.0-beta.11": "82.0.4085.14", - "9.0.0-beta.12": "82.0.4085.14", - "9.0.0-beta.13": "82.0.4085.14", - "9.0.0-beta.14": "82.0.4085.27", - "9.0.0-beta.15": "83.0.4102.3", - "9.0.0-beta.16": "83.0.4102.3", - "9.0.0-beta.17": "83.0.4103.14", - "9.0.0-beta.18": "83.0.4103.16", - "9.0.0-beta.19": "83.0.4103.24", - "9.0.0-beta.20": "83.0.4103.26", - "9.0.0-beta.21": "83.0.4103.26", - "9.0.0-beta.22": "83.0.4103.34", - "9.0.0-beta.23": "83.0.4103.44", - "9.0.0-beta.24": "83.0.4103.45", - "9.0.0": "83.0.4103.64", - "9.0.1": "83.0.4103.94", - "9.0.2": "83.0.4103.94", - "9.0.3": "83.0.4103.100", - "9.0.4": "83.0.4103.104", - "9.0.5": "83.0.4103.119", - "9.1.0": "83.0.4103.122", - "9.1.1": "83.0.4103.122", - "9.1.2": "83.0.4103.122", - "9.2.0": "83.0.4103.122", - "9.2.1": "83.0.4103.122", - "9.3.0": "83.0.4103.122", - "9.3.1": "83.0.4103.122", - "9.3.2": "83.0.4103.122", - "9.3.3": "83.0.4103.122", - "9.3.4": "83.0.4103.122", - "9.3.5": "83.0.4103.122", - "9.4.0": "83.0.4103.122", - "9.4.1": "83.0.4103.122", - "9.4.2": "83.0.4103.122", - "9.4.3": "83.0.4103.122", - "9.4.4": "83.0.4103.122", - "10.0.0-beta.1": "84.0.4129.0", - "10.0.0-beta.2": "84.0.4129.0", - "10.0.0-beta.3": "85.0.4161.2", - "10.0.0-beta.4": "85.0.4161.2", - "10.0.0-beta.8": "85.0.4181.1", - "10.0.0-beta.9": "85.0.4181.1", - "10.0.0-beta.10": "85.0.4183.19", - "10.0.0-beta.11": "85.0.4183.20", - "10.0.0-beta.12": "85.0.4183.26", - "10.0.0-beta.13": "85.0.4183.39", - "10.0.0-beta.14": "85.0.4183.39", - "10.0.0-beta.15": "85.0.4183.39", - "10.0.0-beta.17": "85.0.4183.39", - "10.0.0-beta.19": "85.0.4183.39", - "10.0.0-beta.20": "85.0.4183.39", - "10.0.0-beta.21": "85.0.4183.39", - "10.0.0-beta.23": "85.0.4183.70", - "10.0.0-beta.24": "85.0.4183.78", - "10.0.0-beta.25": "85.0.4183.80", - "10.0.0": "85.0.4183.84", - "10.0.1": "85.0.4183.86", - "10.1.0": "85.0.4183.87", - "10.1.1": "85.0.4183.93", - "10.1.2": "85.0.4183.98", - "10.1.3": "85.0.4183.121", - "10.1.4": "85.0.4183.121", - "10.1.5": "85.0.4183.121", - "10.1.6": "85.0.4183.121", - "10.1.7": "85.0.4183.121", - "10.2.0": "85.0.4183.121", - "10.3.0": "85.0.4183.121", - "10.3.1": "85.0.4183.121", - "10.3.2": "85.0.4183.121", - "10.4.0": "85.0.4183.121", - "10.4.1": "85.0.4183.121", - "10.4.2": "85.0.4183.121", - "10.4.3": "85.0.4183.121", - "10.4.4": "85.0.4183.121", - "10.4.5": "85.0.4183.121", - "10.4.6": "85.0.4183.121", - "10.4.7": "85.0.4183.121", - "11.0.0-beta.1": "86.0.4234.0", - "11.0.0-beta.3": "86.0.4234.0", - "11.0.0-beta.4": "86.0.4234.0", - "11.0.0-beta.5": "86.0.4234.0", - "11.0.0-beta.6": "86.0.4234.0", - "11.0.0-beta.7": "86.0.4234.0", - "11.0.0-beta.8": "87.0.4251.1", - "11.0.0-beta.9": "87.0.4251.1", - "11.0.0-beta.11": "87.0.4251.1", - "11.0.0-beta.12": "87.0.4280.11", - "11.0.0-beta.13": "87.0.4280.11", - "11.0.0-beta.16": "87.0.4280.27", - "11.0.0-beta.17": "87.0.4280.27", - "11.0.0-beta.18": "87.0.4280.27", - "11.0.0-beta.19": "87.0.4280.27", - "11.0.0-beta.20": "87.0.4280.40", - "11.0.0-beta.22": "87.0.4280.47", - "11.0.0-beta.23": "87.0.4280.47", - "11.0.0": "87.0.4280.60", - "11.0.1": "87.0.4280.60", - "11.0.2": "87.0.4280.67", - "11.0.3": "87.0.4280.67", - "11.0.4": "87.0.4280.67", - "11.0.5": "87.0.4280.88", - "11.1.0": "87.0.4280.88", - "11.1.1": "87.0.4280.88", - "11.2.0": "87.0.4280.141", - "11.2.1": "87.0.4280.141", - "11.2.2": "87.0.4280.141", - "11.2.3": "87.0.4280.141", - "11.3.0": "87.0.4280.141", - "11.4.0": "87.0.4280.141", - "11.4.1": "87.0.4280.141", - "11.4.2": "87.0.4280.141", - "11.4.3": "87.0.4280.141", - "11.4.4": "87.0.4280.141", - "11.4.5": "87.0.4280.141", - "11.4.6": "87.0.4280.141", - "11.4.7": "87.0.4280.141", - "11.4.8": "87.0.4280.141", - "11.4.9": "87.0.4280.141", - "11.4.10": "87.0.4280.141", - "11.4.11": "87.0.4280.141", - "11.4.12": "87.0.4280.141", - "11.5.0": "87.0.4280.141", - "12.0.0-beta.1": "89.0.4328.0", - "12.0.0-beta.3": "89.0.4328.0", - "12.0.0-beta.4": "89.0.4328.0", - "12.0.0-beta.5": "89.0.4328.0", - "12.0.0-beta.6": "89.0.4328.0", - "12.0.0-beta.7": "89.0.4328.0", - "12.0.0-beta.8": "89.0.4328.0", - "12.0.0-beta.9": "89.0.4328.0", - "12.0.0-beta.10": "89.0.4328.0", - "12.0.0-beta.11": "89.0.4328.0", - "12.0.0-beta.12": "89.0.4328.0", - "12.0.0-beta.14": "89.0.4328.0", - "12.0.0-beta.16": "89.0.4348.1", - "12.0.0-beta.18": "89.0.4348.1", - "12.0.0-beta.19": "89.0.4348.1", - "12.0.0-beta.20": "89.0.4348.1", - "12.0.0-beta.21": "89.0.4388.2", - "12.0.0-beta.22": "89.0.4388.2", - "12.0.0-beta.23": "89.0.4388.2", - "12.0.0-beta.24": "89.0.4388.2", - "12.0.0-beta.25": "89.0.4388.2", - "12.0.0-beta.26": "89.0.4388.2", - "12.0.0-beta.27": "89.0.4389.23", - "12.0.0-beta.28": "89.0.4389.23", - "12.0.0-beta.29": "89.0.4389.23", - "12.0.0-beta.30": "89.0.4389.58", - "12.0.0-beta.31": "89.0.4389.58", - "12.0.0": "89.0.4389.69", - "12.0.1": "89.0.4389.82", - "12.0.2": "89.0.4389.90", - "12.0.3": "89.0.4389.114", - "12.0.4": "89.0.4389.114", - "12.0.5": "89.0.4389.128", - "12.0.6": "89.0.4389.128", - "12.0.7": "89.0.4389.128", - "12.0.8": "89.0.4389.128", - "12.0.9": "89.0.4389.128", - "12.0.10": "89.0.4389.128", - "12.0.11": "89.0.4389.128", - "12.0.12": "89.0.4389.128", - "12.0.13": "89.0.4389.128", - "12.0.14": "89.0.4389.128", - "12.0.15": "89.0.4389.128", - "12.0.16": "89.0.4389.128", - "12.0.17": "89.0.4389.128", - "12.0.18": "89.0.4389.128", - "12.1.0": "89.0.4389.128", - "12.1.1": "89.0.4389.128", - "12.1.2": "89.0.4389.128", - "12.2.0": "89.0.4389.128", - "12.2.1": "89.0.4389.128", - "12.2.2": "89.0.4389.128", - "12.2.3": "89.0.4389.128", - "13.0.0-beta.2": "90.0.4402.0", - "13.0.0-beta.3": "90.0.4402.0", - "13.0.0-beta.4": "90.0.4415.0", - "13.0.0-beta.5": "90.0.4415.0", - "13.0.0-beta.6": "90.0.4415.0", - "13.0.0-beta.7": "90.0.4415.0", - "13.0.0-beta.8": "90.0.4415.0", - "13.0.0-beta.9": "90.0.4415.0", - "13.0.0-beta.10": "90.0.4415.0", - "13.0.0-beta.11": "90.0.4415.0", - "13.0.0-beta.12": "90.0.4415.0", - "13.0.0-beta.13": "90.0.4415.0", - "13.0.0-beta.14": "91.0.4448.0", - "13.0.0-beta.16": "91.0.4448.0", - "13.0.0-beta.17": "91.0.4448.0", - "13.0.0-beta.18": "91.0.4448.0", - "13.0.0-beta.20": "91.0.4448.0", - "13.0.0-beta.21": "91.0.4472.33", - "13.0.0-beta.22": "91.0.4472.33", - "13.0.0-beta.23": "91.0.4472.33", - "13.0.0-beta.24": "91.0.4472.38", - "13.0.0-beta.25": "91.0.4472.38", - "13.0.0-beta.26": "91.0.4472.38", - "13.0.0-beta.27": "91.0.4472.38", - "13.0.0-beta.28": "91.0.4472.38", - "13.0.0": "91.0.4472.69", - "13.0.1": "91.0.4472.69", - "13.1.0": "91.0.4472.77", - "13.1.1": "91.0.4472.77", - "13.1.2": "91.0.4472.77", - "13.1.3": "91.0.4472.106", - "13.1.4": "91.0.4472.106", - "13.1.5": "91.0.4472.124", - "13.1.6": "91.0.4472.124", - "13.1.7": "91.0.4472.124", - "13.1.8": "91.0.4472.164", - "13.1.9": "91.0.4472.164", - "13.2.0": "91.0.4472.164", - "13.2.1": "91.0.4472.164", - "13.2.2": "91.0.4472.164", - "13.2.3": "91.0.4472.164", - "13.3.0": "91.0.4472.164", - "13.4.0": "91.0.4472.164", - "13.5.0": "91.0.4472.164", - "13.5.1": "91.0.4472.164", - "13.5.2": "91.0.4472.164", - "13.6.0": "91.0.4472.164", - "13.6.1": "91.0.4472.164", - "13.6.2": "91.0.4472.164", - "13.6.3": "91.0.4472.164", - "13.6.6": "91.0.4472.164", - "13.6.7": "91.0.4472.164", - "13.6.8": "91.0.4472.164", - "13.6.9": "91.0.4472.164", - "14.0.0-beta.1": "92.0.4511.0", - "14.0.0-beta.2": "92.0.4511.0", - "14.0.0-beta.3": "92.0.4511.0", - "14.0.0-beta.5": "93.0.4536.0", - "14.0.0-beta.6": "93.0.4536.0", - "14.0.0-beta.7": "93.0.4536.0", - "14.0.0-beta.8": "93.0.4536.0", - "14.0.0-beta.9": "93.0.4539.0", - "14.0.0-beta.10": "93.0.4539.0", - "14.0.0-beta.11": "93.0.4557.4", - "14.0.0-beta.12": "93.0.4557.4", - "14.0.0-beta.13": "93.0.4566.0", - "14.0.0-beta.14": "93.0.4566.0", - "14.0.0-beta.15": "93.0.4566.0", - "14.0.0-beta.16": "93.0.4566.0", - "14.0.0-beta.17": "93.0.4566.0", - "14.0.0-beta.18": "93.0.4577.15", - "14.0.0-beta.19": "93.0.4577.15", - "14.0.0-beta.20": "93.0.4577.15", - "14.0.0-beta.21": "93.0.4577.15", - "14.0.0-beta.22": "93.0.4577.25", - "14.0.0-beta.23": "93.0.4577.25", - "14.0.0-beta.24": "93.0.4577.51", - "14.0.0-beta.25": "93.0.4577.51", - "14.0.0": "93.0.4577.58", - "14.0.1": "93.0.4577.63", - "14.0.2": "93.0.4577.82", - "14.1.0": "93.0.4577.82", - "14.1.1": "93.0.4577.82", - "14.2.0": "93.0.4577.82", - "14.2.1": "93.0.4577.82", - "14.2.2": "93.0.4577.82", - "14.2.3": "93.0.4577.82", - "14.2.4": "93.0.4577.82", - "14.2.5": "93.0.4577.82", - "14.2.6": "93.0.4577.82", - "14.2.7": "93.0.4577.82", - "14.2.8": "93.0.4577.82", - "14.2.9": "93.0.4577.82", - "15.0.0-alpha.1": "93.0.4566.0", - "15.0.0-alpha.2": "93.0.4566.0", - "15.0.0-alpha.3": "94.0.4584.0", - "15.0.0-alpha.4": "94.0.4584.0", - "15.0.0-alpha.5": "94.0.4584.0", - "15.0.0-alpha.6": "94.0.4584.0", - "15.0.0-alpha.7": "94.0.4590.2", - "15.0.0-alpha.8": "94.0.4590.2", - "15.0.0-alpha.9": "94.0.4590.2", - "15.0.0-alpha.10": "94.0.4606.12", - "15.0.0-beta.1": "94.0.4606.20", - "15.0.0-beta.2": "94.0.4606.20", - "15.0.0-beta.3": "94.0.4606.31", - "15.0.0-beta.4": "94.0.4606.31", - "15.0.0-beta.5": "94.0.4606.31", - "15.0.0-beta.6": "94.0.4606.31", - "15.0.0-beta.7": "94.0.4606.31", - "15.0.0": "94.0.4606.51", - "15.1.0": "94.0.4606.61", - "15.1.1": "94.0.4606.61", - "15.1.2": "94.0.4606.71", - "15.2.0": "94.0.4606.81", - "15.3.0": "94.0.4606.81", - "15.3.1": "94.0.4606.81", - "15.3.2": "94.0.4606.81", - "15.3.3": "94.0.4606.81", - "15.3.4": "94.0.4606.81", - "15.3.5": "94.0.4606.81", - "15.3.6": "94.0.4606.81", - "15.3.7": "94.0.4606.81", - "15.4.0": "94.0.4606.81", - "15.4.1": "94.0.4606.81", - "15.4.2": "94.0.4606.81", - "15.5.0": "94.0.4606.81", - "15.5.1": "94.0.4606.81", - "15.5.2": "94.0.4606.81", - "15.5.3": "94.0.4606.81", - "15.5.4": "94.0.4606.81", - "15.5.5": "94.0.4606.81", - "15.5.6": "94.0.4606.81", - "15.5.7": "94.0.4606.81", - "16.0.0-alpha.1": "95.0.4629.0", - "16.0.0-alpha.2": "95.0.4629.0", - "16.0.0-alpha.3": "95.0.4629.0", - "16.0.0-alpha.4": "95.0.4629.0", - "16.0.0-alpha.5": "95.0.4629.0", - "16.0.0-alpha.6": "95.0.4629.0", - "16.0.0-alpha.7": "95.0.4629.0", - "16.0.0-alpha.8": "96.0.4647.0", - "16.0.0-alpha.9": "96.0.4647.0", - "16.0.0-beta.1": "96.0.4647.0", - "16.0.0-beta.2": "96.0.4647.0", - "16.0.0-beta.3": "96.0.4647.0", - "16.0.0-beta.4": "96.0.4664.18", - "16.0.0-beta.5": "96.0.4664.18", - "16.0.0-beta.6": "96.0.4664.27", - "16.0.0-beta.7": "96.0.4664.27", - "16.0.0-beta.8": "96.0.4664.35", - "16.0.0-beta.9": "96.0.4664.35", - "16.0.0": "96.0.4664.45", - "16.0.1": "96.0.4664.45", - "16.0.2": "96.0.4664.55", - "16.0.3": "96.0.4664.55", - "16.0.4": "96.0.4664.55", - "16.0.5": "96.0.4664.55", - "16.0.6": "96.0.4664.110", - "16.0.7": "96.0.4664.110", - "16.0.8": "96.0.4664.110", - "16.0.9": "96.0.4664.174", - "16.0.10": "96.0.4664.174", - "16.1.0": "96.0.4664.174", - "16.1.1": "96.0.4664.174", - "16.2.0": "96.0.4664.174", - "16.2.1": "96.0.4664.174", - "16.2.2": "96.0.4664.174", - "16.2.3": "96.0.4664.174", - "16.2.4": "96.0.4664.174", - "16.2.5": "96.0.4664.174", - "16.2.6": "96.0.4664.174", - "16.2.7": "96.0.4664.174", - "16.2.8": "96.0.4664.174", - "17.0.0-alpha.1": "96.0.4664.4", - "17.0.0-alpha.2": "96.0.4664.4", - "17.0.0-alpha.3": "96.0.4664.4", - "17.0.0-alpha.4": "98.0.4706.0", - "17.0.0-alpha.5": "98.0.4706.0", - "17.0.0-alpha.6": "98.0.4706.0", - "17.0.0-beta.1": "98.0.4706.0", - "17.0.0-beta.2": "98.0.4706.0", - "17.0.0-beta.3": "98.0.4758.9", - "17.0.0-beta.4": "98.0.4758.11", - "17.0.0-beta.5": "98.0.4758.11", - "17.0.0-beta.6": "98.0.4758.11", - "17.0.0-beta.7": "98.0.4758.11", - "17.0.0-beta.8": "98.0.4758.11", - "17.0.0-beta.9": "98.0.4758.11", - "17.0.0": "98.0.4758.74", - "17.0.1": "98.0.4758.82", - "17.1.0": "98.0.4758.102", - "17.1.1": "98.0.4758.109", - "17.1.2": "98.0.4758.109", - "17.2.0": "98.0.4758.109", - "17.3.0": "98.0.4758.141", - "17.3.1": "98.0.4758.141", - "17.4.0": "98.0.4758.141", - "17.4.1": "98.0.4758.141", - "17.4.2": "98.0.4758.141", - "17.4.3": "98.0.4758.141", - "17.4.4": "98.0.4758.141", - "17.4.5": "98.0.4758.141", - "17.4.6": "98.0.4758.141", - "17.4.7": "98.0.4758.141", - "17.4.8": "98.0.4758.141", - "17.4.9": "98.0.4758.141", - "17.4.10": "98.0.4758.141", - "17.4.11": "98.0.4758.141", - "18.0.0-alpha.1": "99.0.4767.0", - "18.0.0-alpha.2": "99.0.4767.0", - "18.0.0-alpha.3": "99.0.4767.0", - "18.0.0-alpha.4": "99.0.4767.0", - "18.0.0-alpha.5": "99.0.4767.0", - "18.0.0-beta.1": "100.0.4894.0", - "18.0.0-beta.2": "100.0.4894.0", - "18.0.0-beta.3": "100.0.4894.0", - "18.0.0-beta.4": "100.0.4894.0", - "18.0.0-beta.5": "100.0.4894.0", - "18.0.0-beta.6": "100.0.4894.0", - "18.0.0": "100.0.4896.56", - "18.0.1": "100.0.4896.60", - "18.0.2": "100.0.4896.60", - "18.0.3": "100.0.4896.75", - "18.0.4": "100.0.4896.75", - "18.1.0": "100.0.4896.127", - "18.2.0": "100.0.4896.143", - "18.2.1": "100.0.4896.143", - "18.2.2": "100.0.4896.143", - "18.2.3": "100.0.4896.143", - "18.2.4": "100.0.4896.160", - "18.3.0": "100.0.4896.160", - "18.3.1": "100.0.4896.160", - "18.3.2": "100.0.4896.160", - "18.3.3": "100.0.4896.160", - "18.3.4": "100.0.4896.160", - "18.3.5": "100.0.4896.160", - "18.3.6": "100.0.4896.160", - "18.3.7": "100.0.4896.160", - "18.3.8": "100.0.4896.160", - "18.3.9": "100.0.4896.160", - "18.3.11": "100.0.4896.160", - "18.3.12": "100.0.4896.160", - "18.3.13": "100.0.4896.160", - "18.3.14": "100.0.4896.160", - "18.3.15": "100.0.4896.160", - "19.0.0-alpha.1": "102.0.4962.3", - "19.0.0-alpha.2": "102.0.4971.0", - "19.0.0-alpha.3": "102.0.4971.0", - "19.0.0-alpha.4": "102.0.4989.0", - "19.0.0-alpha.5": "102.0.4989.0", - "19.0.0-beta.1": "102.0.4999.0", - "19.0.0-beta.2": "102.0.4999.0", - "19.0.0-beta.3": "102.0.4999.0", - "19.0.0-beta.4": "102.0.5005.27", - "19.0.0-beta.5": "102.0.5005.40", - "19.0.0-beta.6": "102.0.5005.40", - "19.0.0-beta.7": "102.0.5005.40", - "19.0.0-beta.8": "102.0.5005.49", - "19.0.0": "102.0.5005.61", - "19.0.1": "102.0.5005.61", - "19.0.2": "102.0.5005.63", - "19.0.3": "102.0.5005.63", - "19.0.4": "102.0.5005.63", - "19.0.5": "102.0.5005.115", - "19.0.6": "102.0.5005.115", - "19.0.7": "102.0.5005.134", - "19.0.8": "102.0.5005.148", - "19.0.9": "102.0.5005.167", - "19.0.10": "102.0.5005.167", - "19.0.11": "102.0.5005.167", - "19.0.12": "102.0.5005.167", - "19.0.13": "102.0.5005.167", - "19.0.14": "102.0.5005.167", - "19.0.15": "102.0.5005.167", - "19.0.16": "102.0.5005.167", - "19.0.17": "102.0.5005.167", - "19.1.0": "102.0.5005.167", - "19.1.1": "102.0.5005.167", - "19.1.2": "102.0.5005.167", - "19.1.3": "102.0.5005.167", - "19.1.4": "102.0.5005.167", - "19.1.5": "102.0.5005.167", - "19.1.6": "102.0.5005.167", - "19.1.7": "102.0.5005.167", - "19.1.8": "102.0.5005.167", - "19.1.9": "102.0.5005.167", - "20.0.0-alpha.1": "103.0.5044.0", - "20.0.0-alpha.2": "104.0.5073.0", - "20.0.0-alpha.3": "104.0.5073.0", - "20.0.0-alpha.4": "104.0.5073.0", - "20.0.0-alpha.5": "104.0.5073.0", - "20.0.0-alpha.6": "104.0.5073.0", - "20.0.0-alpha.7": "104.0.5073.0", - "20.0.0-beta.1": "104.0.5073.0", - "20.0.0-beta.2": "104.0.5073.0", - "20.0.0-beta.3": "104.0.5073.0", - "20.0.0-beta.4": "104.0.5073.0", - "20.0.0-beta.5": "104.0.5073.0", - "20.0.0-beta.6": "104.0.5073.0", - "20.0.0-beta.7": "104.0.5073.0", - "20.0.0-beta.8": "104.0.5073.0", - "20.0.0-beta.9": "104.0.5112.39", - "20.0.0-beta.10": "104.0.5112.48", - "20.0.0-beta.11": "104.0.5112.48", - "20.0.0-beta.12": "104.0.5112.48", - "20.0.0-beta.13": "104.0.5112.57", - "20.0.0": "104.0.5112.65", - "20.0.1": "104.0.5112.81", - "20.0.2": "104.0.5112.81", - "20.0.3": "104.0.5112.81", - "20.1.0": "104.0.5112.102", - "20.1.1": "104.0.5112.102", - "20.1.2": "104.0.5112.114", - "20.1.3": "104.0.5112.114", - "20.1.4": "104.0.5112.114", - "20.2.0": "104.0.5112.124", - "20.3.0": "104.0.5112.124", - "20.3.1": "104.0.5112.124", - "20.3.2": "104.0.5112.124", - "20.3.3": "104.0.5112.124", - "20.3.4": "104.0.5112.124", - "20.3.5": "104.0.5112.124", - "20.3.6": "104.0.5112.124", - "20.3.7": "104.0.5112.124", - "20.3.8": "104.0.5112.124", - "20.3.9": "104.0.5112.124", - "20.3.10": "104.0.5112.124", - "20.3.11": "104.0.5112.124", - "20.3.12": "104.0.5112.124", - "21.0.0-alpha.1": "105.0.5187.0", - "21.0.0-alpha.2": "105.0.5187.0", - "21.0.0-alpha.3": "105.0.5187.0", - "21.0.0-alpha.4": "105.0.5187.0", - "21.0.0-alpha.5": "105.0.5187.0", - "21.0.0-alpha.6": "106.0.5216.0", - "21.0.0-beta.1": "106.0.5216.0", - "21.0.0-beta.2": "106.0.5216.0", - "21.0.0-beta.3": "106.0.5216.0", - "21.0.0-beta.4": "106.0.5216.0", - "21.0.0-beta.5": "106.0.5216.0", - "21.0.0-beta.6": "106.0.5249.40", - "21.0.0-beta.7": "106.0.5249.40", - "21.0.0-beta.8": "106.0.5249.40", - "21.0.0": "106.0.5249.51", - "21.0.1": "106.0.5249.61", - "21.1.0": "106.0.5249.91", - "21.1.1": "106.0.5249.103", - "21.2.0": "106.0.5249.119", - "21.2.1": "106.0.5249.165", - "21.2.2": "106.0.5249.168", - "21.2.3": "106.0.5249.168", - "21.3.0": "106.0.5249.181", - "21.3.1": "106.0.5249.181", - "21.3.3": "106.0.5249.199", - "21.3.4": "106.0.5249.199", - "21.3.5": "106.0.5249.199", - "21.4.0": "106.0.5249.199", - "21.4.1": "106.0.5249.199", - "21.4.2": "106.0.5249.199", - "21.4.3": "106.0.5249.199", - "21.4.4": "106.0.5249.199", - "22.0.0-alpha.1": "107.0.5286.0", - "22.0.0-alpha.3": "108.0.5329.0", - "22.0.0-alpha.4": "108.0.5329.0", - "22.0.0-alpha.5": "108.0.5329.0", - "22.0.0-alpha.6": "108.0.5329.0", - "22.0.0-alpha.7": "108.0.5355.0", - "22.0.0-alpha.8": "108.0.5359.10", - "22.0.0-beta.1": "108.0.5359.10", - "22.0.0-beta.2": "108.0.5359.10", - "22.0.0-beta.3": "108.0.5359.10", - "22.0.0-beta.4": "108.0.5359.29", - "22.0.0-beta.5": "108.0.5359.40", - "22.0.0-beta.6": "108.0.5359.40", - "22.0.0-beta.7": "108.0.5359.48", - "22.0.0-beta.8": "108.0.5359.48", - "22.0.0": "108.0.5359.62", - "22.0.1": "108.0.5359.125", - "22.0.2": "108.0.5359.179", - "22.0.3": "108.0.5359.179", - "22.1.0": "108.0.5359.179", - "22.2.0": "108.0.5359.215", - "22.2.1": "108.0.5359.215", - "22.3.0": "108.0.5359.215", - "22.3.1": "108.0.5359.215", - "22.3.2": "108.0.5359.215", - "22.3.3": "108.0.5359.215", - "22.3.4": "108.0.5359.215", - "22.3.5": "108.0.5359.215", - "22.3.6": "108.0.5359.215", - "22.3.7": "108.0.5359.215", - "22.3.8": "108.0.5359.215", - "22.3.9": "108.0.5359.215", - "22.3.10": "108.0.5359.215", - "22.3.11": "108.0.5359.215", - "22.3.12": "108.0.5359.215", - "22.3.13": "108.0.5359.215", - "22.3.14": "108.0.5359.215", - "22.3.15": "108.0.5359.215", - "22.3.16": "108.0.5359.215", - "22.3.17": "108.0.5359.215", - "22.3.18": "108.0.5359.215", - "22.3.20": "108.0.5359.215", - "22.3.21": "108.0.5359.215", - "22.3.22": "108.0.5359.215", - "22.3.23": "108.0.5359.215", - "22.3.24": "108.0.5359.215", - "22.3.25": "108.0.5359.215", - "22.3.26": "108.0.5359.215", - "22.3.27": "108.0.5359.215", - "23.0.0-alpha.1": "110.0.5415.0", - "23.0.0-alpha.2": "110.0.5451.0", - "23.0.0-alpha.3": "110.0.5451.0", - "23.0.0-beta.1": "110.0.5478.5", - "23.0.0-beta.2": "110.0.5478.5", - "23.0.0-beta.3": "110.0.5478.5", - "23.0.0-beta.4": "110.0.5481.30", - "23.0.0-beta.5": "110.0.5481.38", - "23.0.0-beta.6": "110.0.5481.52", - "23.0.0-beta.8": "110.0.5481.52", - "23.0.0": "110.0.5481.77", - "23.1.0": "110.0.5481.100", - "23.1.1": "110.0.5481.104", - "23.1.2": "110.0.5481.177", - "23.1.3": "110.0.5481.179", - "23.1.4": "110.0.5481.192", - "23.2.0": "110.0.5481.192", - "23.2.1": "110.0.5481.208", - "23.2.2": "110.0.5481.208", - "23.2.3": "110.0.5481.208", - "23.2.4": "110.0.5481.208", - "23.3.0": "110.0.5481.208", - "23.3.1": "110.0.5481.208", - "23.3.2": "110.0.5481.208", - "23.3.3": "110.0.5481.208", - "23.3.4": "110.0.5481.208", - "23.3.5": "110.0.5481.208", - "23.3.6": "110.0.5481.208", - "23.3.7": "110.0.5481.208", - "23.3.8": "110.0.5481.208", - "23.3.9": "110.0.5481.208", - "23.3.10": "110.0.5481.208", - "23.3.11": "110.0.5481.208", - "23.3.12": "110.0.5481.208", - "23.3.13": "110.0.5481.208", - "24.0.0-alpha.1": "111.0.5560.0", - "24.0.0-alpha.2": "111.0.5560.0", - "24.0.0-alpha.3": "111.0.5560.0", - "24.0.0-alpha.4": "111.0.5560.0", - "24.0.0-alpha.5": "111.0.5560.0", - "24.0.0-alpha.6": "111.0.5560.0", - "24.0.0-alpha.7": "111.0.5560.0", - "24.0.0-beta.1": "111.0.5563.50", - "24.0.0-beta.2": "111.0.5563.50", - "24.0.0-beta.3": "112.0.5615.20", - "24.0.0-beta.4": "112.0.5615.20", - "24.0.0-beta.5": "112.0.5615.29", - "24.0.0-beta.6": "112.0.5615.39", - "24.0.0-beta.7": "112.0.5615.39", - "24.0.0": "112.0.5615.49", - "24.1.0": "112.0.5615.50", - "24.1.1": "112.0.5615.50", - "24.1.2": "112.0.5615.87", - "24.1.3": "112.0.5615.165", - "24.2.0": "112.0.5615.165", - "24.3.0": "112.0.5615.165", - "24.3.1": "112.0.5615.183", - "24.4.0": "112.0.5615.204", - "24.4.1": "112.0.5615.204", - "24.5.0": "112.0.5615.204", - "24.5.1": "112.0.5615.204", - "24.6.0": "112.0.5615.204", - "24.6.1": "112.0.5615.204", - "24.6.2": "112.0.5615.204", - "24.6.3": "112.0.5615.204", - "24.6.4": "112.0.5615.204", - "24.6.5": "112.0.5615.204", - "24.7.0": "112.0.5615.204", - "24.7.1": "112.0.5615.204", - "24.8.0": "112.0.5615.204", - "24.8.1": "112.0.5615.204", - "24.8.2": "112.0.5615.204", - "24.8.3": "112.0.5615.204", - "24.8.4": "112.0.5615.204", - "24.8.5": "112.0.5615.204", - "24.8.6": "112.0.5615.204", - "24.8.7": "112.0.5615.204", - "24.8.8": "112.0.5615.204", - "25.0.0-alpha.1": "114.0.5694.0", - "25.0.0-alpha.2": "114.0.5694.0", - "25.0.0-alpha.3": "114.0.5710.0", - "25.0.0-alpha.4": "114.0.5710.0", - "25.0.0-alpha.5": "114.0.5719.0", - "25.0.0-alpha.6": "114.0.5719.0", - "25.0.0-beta.1": "114.0.5719.0", - "25.0.0-beta.2": "114.0.5719.0", - "25.0.0-beta.3": "114.0.5719.0", - "25.0.0-beta.4": "114.0.5735.16", - "25.0.0-beta.5": "114.0.5735.16", - "25.0.0-beta.6": "114.0.5735.16", - "25.0.0-beta.7": "114.0.5735.16", - "25.0.0-beta.8": "114.0.5735.35", - "25.0.0-beta.9": "114.0.5735.45", - "25.0.0": "114.0.5735.45", - "25.0.1": "114.0.5735.45", - "25.1.0": "114.0.5735.106", - "25.1.1": "114.0.5735.106", - "25.2.0": "114.0.5735.134", - "25.3.0": "114.0.5735.199", - "25.3.1": "114.0.5735.243", - "25.3.2": "114.0.5735.248", - "25.4.0": "114.0.5735.248", - "25.5.0": "114.0.5735.289", - "25.6.0": "114.0.5735.289", - "25.7.0": "114.0.5735.289", - "25.8.0": "114.0.5735.289", - "25.8.1": "114.0.5735.289", - "25.8.2": "114.0.5735.289", - "25.8.3": "114.0.5735.289", - "25.8.4": "114.0.5735.289", - "25.9.0": "114.0.5735.289", - "25.9.1": "114.0.5735.289", - "25.9.2": "114.0.5735.289", - "25.9.3": "114.0.5735.289", - "25.9.4": "114.0.5735.289", - "25.9.5": "114.0.5735.289", - "25.9.6": "114.0.5735.289", - "25.9.7": "114.0.5735.289", - "25.9.8": "114.0.5735.289", - "26.0.0-alpha.1": "116.0.5791.0", - "26.0.0-alpha.2": "116.0.5791.0", - "26.0.0-alpha.3": "116.0.5791.0", - "26.0.0-alpha.4": "116.0.5791.0", - "26.0.0-alpha.5": "116.0.5791.0", - "26.0.0-alpha.6": "116.0.5815.0", - "26.0.0-alpha.7": "116.0.5831.0", - "26.0.0-alpha.8": "116.0.5845.0", - "26.0.0-beta.1": "116.0.5845.0", - "26.0.0-beta.2": "116.0.5845.14", - "26.0.0-beta.3": "116.0.5845.14", - "26.0.0-beta.4": "116.0.5845.14", - "26.0.0-beta.5": "116.0.5845.14", - "26.0.0-beta.6": "116.0.5845.14", - "26.0.0-beta.7": "116.0.5845.14", - "26.0.0-beta.8": "116.0.5845.42", - "26.0.0-beta.9": "116.0.5845.42", - "26.0.0-beta.10": "116.0.5845.49", - "26.0.0-beta.11": "116.0.5845.49", - "26.0.0-beta.12": "116.0.5845.62", - "26.0.0": "116.0.5845.82", - "26.1.0": "116.0.5845.97", - "26.2.0": "116.0.5845.179", - "26.2.1": "116.0.5845.188", - "26.2.2": "116.0.5845.190", - "26.2.3": "116.0.5845.190", - "26.2.4": "116.0.5845.190", - "26.3.0": "116.0.5845.228", - "26.4.0": "116.0.5845.228", - "26.4.1": "116.0.5845.228", - "26.4.2": "116.0.5845.228", - "26.4.3": "116.0.5845.228", - "26.5.0": "116.0.5845.228", - "26.6.0": "116.0.5845.228", - "26.6.1": "116.0.5845.228", - "26.6.2": "116.0.5845.228", - "26.6.3": "116.0.5845.228", - "26.6.4": "116.0.5845.228", - "26.6.5": "116.0.5845.228", - "26.6.6": "116.0.5845.228", - "26.6.7": "116.0.5845.228", - "26.6.8": "116.0.5845.228", - "26.6.9": "116.0.5845.228", - "26.6.10": "116.0.5845.228", - "27.0.0-alpha.1": "118.0.5949.0", - "27.0.0-alpha.2": "118.0.5949.0", - "27.0.0-alpha.3": "118.0.5949.0", - "27.0.0-alpha.4": "118.0.5949.0", - "27.0.0-alpha.5": "118.0.5949.0", - "27.0.0-alpha.6": "118.0.5949.0", - "27.0.0-beta.1": "118.0.5993.5", - "27.0.0-beta.2": "118.0.5993.5", - "27.0.0-beta.3": "118.0.5993.5", - "27.0.0-beta.4": "118.0.5993.11", - "27.0.0-beta.5": "118.0.5993.18", - "27.0.0-beta.6": "118.0.5993.18", - "27.0.0-beta.7": "118.0.5993.18", - "27.0.0-beta.8": "118.0.5993.18", - "27.0.0-beta.9": "118.0.5993.18", - "27.0.0": "118.0.5993.54", - "27.0.1": "118.0.5993.89", - "27.0.2": "118.0.5993.89", - "27.0.3": "118.0.5993.120", - "27.0.4": "118.0.5993.129", - "27.1.0": "118.0.5993.144", - "27.1.2": "118.0.5993.144", - "27.1.3": "118.0.5993.159", - "27.2.0": "118.0.5993.159", - "27.2.1": "118.0.5993.159", - "27.2.2": "118.0.5993.159", - "27.2.3": "118.0.5993.159", - "27.2.4": "118.0.5993.159", - "27.3.0": "118.0.5993.159", - "27.3.1": "118.0.5993.159", - "27.3.2": "118.0.5993.159", - "27.3.3": "118.0.5993.159", - "27.3.4": "118.0.5993.159", - "27.3.5": "118.0.5993.159", - "27.3.6": "118.0.5993.159", - "27.3.7": "118.0.5993.159", - "27.3.8": "118.0.5993.159", - "27.3.9": "118.0.5993.159", - "27.3.10": "118.0.5993.159", - "27.3.11": "118.0.5993.159", - "28.0.0-alpha.1": "119.0.6045.0", - "28.0.0-alpha.2": "119.0.6045.0", - "28.0.0-alpha.3": "119.0.6045.21", - "28.0.0-alpha.4": "119.0.6045.21", - "28.0.0-alpha.5": "119.0.6045.33", - "28.0.0-alpha.6": "119.0.6045.33", - "28.0.0-alpha.7": "119.0.6045.33", - "28.0.0-beta.1": "119.0.6045.33", - "28.0.0-beta.2": "120.0.6099.0", - "28.0.0-beta.3": "120.0.6099.5", - "28.0.0-beta.4": "120.0.6099.5", - "28.0.0-beta.5": "120.0.6099.18", - "28.0.0-beta.6": "120.0.6099.18", - "28.0.0-beta.7": "120.0.6099.18", - "28.0.0-beta.8": "120.0.6099.18", - "28.0.0-beta.9": "120.0.6099.18", - "28.0.0-beta.10": "120.0.6099.18", - "28.0.0-beta.11": "120.0.6099.35", - "28.0.0": "120.0.6099.56", - "28.1.0": "120.0.6099.109", - "28.1.1": "120.0.6099.109", - "28.1.2": "120.0.6099.199", - "28.1.3": "120.0.6099.199", - "28.1.4": "120.0.6099.216", - "28.2.0": "120.0.6099.227", - "28.2.1": "120.0.6099.268", - "28.2.2": "120.0.6099.276", - "28.2.3": "120.0.6099.283", - "28.2.4": "120.0.6099.291", - "28.2.5": "120.0.6099.291", - "28.2.6": "120.0.6099.291", - "28.2.7": "120.0.6099.291", - "28.2.8": "120.0.6099.291", - "28.2.9": "120.0.6099.291", - "28.2.10": "120.0.6099.291", - "28.3.0": "120.0.6099.291", - "28.3.1": "120.0.6099.291", - "28.3.2": "120.0.6099.291", - "28.3.3": "120.0.6099.291", - "29.0.0-alpha.1": "121.0.6147.0", - "29.0.0-alpha.2": "121.0.6147.0", - "29.0.0-alpha.3": "121.0.6147.0", - "29.0.0-alpha.4": "121.0.6159.0", - "29.0.0-alpha.5": "121.0.6159.0", - "29.0.0-alpha.6": "121.0.6159.0", - "29.0.0-alpha.7": "121.0.6159.0", - "29.0.0-alpha.8": "122.0.6194.0", - "29.0.0-alpha.9": "122.0.6236.2", - "29.0.0-alpha.10": "122.0.6236.2", - "29.0.0-alpha.11": "122.0.6236.2", - "29.0.0-beta.1": "122.0.6236.2", - "29.0.0-beta.2": "122.0.6236.2", - "29.0.0-beta.3": "122.0.6261.6", - "29.0.0-beta.4": "122.0.6261.6", - "29.0.0-beta.5": "122.0.6261.18", - "29.0.0-beta.6": "122.0.6261.18", - "29.0.0-beta.7": "122.0.6261.18", - "29.0.0-beta.8": "122.0.6261.18", - "29.0.0-beta.9": "122.0.6261.18", - "29.0.0-beta.10": "122.0.6261.18", - "29.0.0-beta.11": "122.0.6261.18", - "29.0.0-beta.12": "122.0.6261.29", - "29.0.0": "122.0.6261.39", - "29.0.1": "122.0.6261.57", - "29.1.0": "122.0.6261.70", - "29.1.1": "122.0.6261.111", - "29.1.2": "122.0.6261.112", - "29.1.3": "122.0.6261.112", - "29.1.4": "122.0.6261.129", - "29.1.5": "122.0.6261.130", - "29.1.6": "122.0.6261.139", - "29.2.0": "122.0.6261.156", - "29.3.0": "122.0.6261.156", - "29.3.1": "122.0.6261.156", - "29.3.2": "122.0.6261.156", - "29.3.3": "122.0.6261.156", - "29.4.0": "122.0.6261.156", - "29.4.1": "122.0.6261.156", - "29.4.2": "122.0.6261.156", - "29.4.3": "122.0.6261.156", - "29.4.4": "122.0.6261.156", - "29.4.5": "122.0.6261.156", - "29.4.6": "122.0.6261.156", - "30.0.0-alpha.1": "123.0.6296.0", - "30.0.0-alpha.2": "123.0.6312.5", - "30.0.0-alpha.3": "124.0.6323.0", - "30.0.0-alpha.4": "124.0.6323.0", - "30.0.0-alpha.5": "124.0.6331.0", - "30.0.0-alpha.6": "124.0.6331.0", - "30.0.0-alpha.7": "124.0.6353.0", - "30.0.0-beta.1": "124.0.6359.0", - "30.0.0-beta.2": "124.0.6359.0", - "30.0.0-beta.3": "124.0.6367.9", - "30.0.0-beta.4": "124.0.6367.9", - "30.0.0-beta.5": "124.0.6367.9", - "30.0.0-beta.6": "124.0.6367.18", - "30.0.0-beta.7": "124.0.6367.29", - "30.0.0-beta.8": "124.0.6367.29", - "30.0.0": "124.0.6367.49", - "30.0.1": "124.0.6367.60", - "30.0.2": "124.0.6367.91", - "30.0.3": "124.0.6367.119", - "30.0.4": "124.0.6367.201", - "30.0.5": "124.0.6367.207", - "30.0.6": "124.0.6367.207", - "30.0.7": "124.0.6367.221", - "30.0.8": "124.0.6367.230", - "30.0.9": "124.0.6367.233", - "30.1.0": "124.0.6367.243", - "30.1.1": "124.0.6367.243", - "30.1.2": "124.0.6367.243", - "30.2.0": "124.0.6367.243", - "30.3.0": "124.0.6367.243", - "30.3.1": "124.0.6367.243", - "30.4.0": "124.0.6367.243", - "30.5.0": "124.0.6367.243", - "30.5.1": "124.0.6367.243", - "31.0.0-alpha.1": "125.0.6412.0", - "31.0.0-alpha.2": "125.0.6412.0", - "31.0.0-alpha.3": "125.0.6412.0", - "31.0.0-alpha.4": "125.0.6412.0", - "31.0.0-alpha.5": "125.0.6412.0", - "31.0.0-beta.1": "126.0.6445.0", - "31.0.0-beta.2": "126.0.6445.0", - "31.0.0-beta.3": "126.0.6445.0", - "31.0.0-beta.4": "126.0.6445.0", - "31.0.0-beta.5": "126.0.6445.0", - "31.0.0-beta.6": "126.0.6445.0", - "31.0.0-beta.7": "126.0.6445.0", - "31.0.0-beta.8": "126.0.6445.0", - "31.0.0-beta.9": "126.0.6445.0", - "31.0.0-beta.10": "126.0.6478.36", - "31.0.0": "126.0.6478.36", - "31.0.1": "126.0.6478.36", - "31.0.2": "126.0.6478.61", - "31.1.0": "126.0.6478.114", - "31.2.0": "126.0.6478.127", - "31.2.1": "126.0.6478.127", - "31.3.0": "126.0.6478.183", - "31.3.1": "126.0.6478.185", - "31.4.0": "126.0.6478.234", - "31.5.0": "126.0.6478.234", - "31.6.0": "126.0.6478.234", - "31.7.0": "126.0.6478.234", - "31.7.1": "126.0.6478.234", - "31.7.2": "126.0.6478.234", - "31.7.3": "126.0.6478.234", - "31.7.4": "126.0.6478.234", - "31.7.5": "126.0.6478.234", - "31.7.6": "126.0.6478.234", - "31.7.7": "126.0.6478.234", - "32.0.0-alpha.1": "127.0.6521.0", - "32.0.0-alpha.2": "127.0.6521.0", - "32.0.0-alpha.3": "127.0.6521.0", - "32.0.0-alpha.4": "127.0.6521.0", - "32.0.0-alpha.5": "127.0.6521.0", - "32.0.0-alpha.6": "128.0.6571.0", - "32.0.0-alpha.7": "128.0.6571.0", - "32.0.0-alpha.8": "128.0.6573.0", - "32.0.0-alpha.9": "128.0.6573.0", - "32.0.0-alpha.10": "128.0.6573.0", - "32.0.0-beta.1": "128.0.6573.0", - "32.0.0-beta.2": "128.0.6611.0", - "32.0.0-beta.3": "128.0.6613.7", - "32.0.0-beta.4": "128.0.6613.18", - "32.0.0-beta.5": "128.0.6613.27", - "32.0.0-beta.6": "128.0.6613.27", - "32.0.0-beta.7": "128.0.6613.27", - "32.0.0": "128.0.6613.36", - "32.0.1": "128.0.6613.36", - "32.0.2": "128.0.6613.84", - "32.1.0": "128.0.6613.120", - "32.1.1": "128.0.6613.137", - "32.1.2": "128.0.6613.162", - "32.2.0": "128.0.6613.178", - "32.2.1": "128.0.6613.186", - "32.2.2": "128.0.6613.186", - "32.2.3": "128.0.6613.186", - "32.2.4": "128.0.6613.186", - "32.2.5": "128.0.6613.186", - "32.2.6": "128.0.6613.186", - "32.2.7": "128.0.6613.186", - "32.2.8": "128.0.6613.186", - "32.3.0": "128.0.6613.186", - "32.3.1": "128.0.6613.186", - "32.3.2": "128.0.6613.186", - "32.3.3": "128.0.6613.186", - "33.0.0-alpha.1": "129.0.6668.0", - "33.0.0-alpha.2": "130.0.6672.0", - "33.0.0-alpha.3": "130.0.6672.0", - "33.0.0-alpha.4": "130.0.6672.0", - "33.0.0-alpha.5": "130.0.6672.0", - "33.0.0-alpha.6": "130.0.6672.0", - "33.0.0-beta.1": "130.0.6672.0", - "33.0.0-beta.2": "130.0.6672.0", - "33.0.0-beta.3": "130.0.6672.0", - "33.0.0-beta.4": "130.0.6672.0", - "33.0.0-beta.5": "130.0.6723.19", - "33.0.0-beta.6": "130.0.6723.19", - "33.0.0-beta.7": "130.0.6723.19", - "33.0.0-beta.8": "130.0.6723.31", - "33.0.0-beta.9": "130.0.6723.31", - "33.0.0-beta.10": "130.0.6723.31", - "33.0.0-beta.11": "130.0.6723.44", - "33.0.0": "130.0.6723.44", - "33.0.1": "130.0.6723.59", - "33.0.2": "130.0.6723.59", - "33.1.0": "130.0.6723.91", - "33.2.0": "130.0.6723.118", - "33.2.1": "130.0.6723.137", - "33.3.0": "130.0.6723.152", - "33.3.1": "130.0.6723.170", - "33.3.2": "130.0.6723.191", - "33.4.0": "130.0.6723.191", - "33.4.1": "130.0.6723.191", - "33.4.2": "130.0.6723.191", - "33.4.3": "130.0.6723.191", - "33.4.4": "130.0.6723.191", - "33.4.5": "130.0.6723.191", - "33.4.6": "130.0.6723.191", - "33.4.7": "130.0.6723.191", - "33.4.8": "130.0.6723.191", - "33.4.9": "130.0.6723.191", - "33.4.10": "130.0.6723.191", - "33.4.11": "130.0.6723.191", - "34.0.0-alpha.1": "131.0.6776.0", - "34.0.0-alpha.2": "132.0.6779.0", - "34.0.0-alpha.3": "132.0.6789.1", - "34.0.0-alpha.4": "132.0.6789.1", - "34.0.0-alpha.5": "132.0.6789.1", - "34.0.0-alpha.6": "132.0.6789.1", - "34.0.0-alpha.7": "132.0.6789.1", - "34.0.0-alpha.8": "132.0.6820.0", - "34.0.0-alpha.9": "132.0.6824.0", - "34.0.0-beta.1": "132.0.6824.0", - "34.0.0-beta.2": "132.0.6824.0", - "34.0.0-beta.3": "132.0.6824.0", - "34.0.0-beta.4": "132.0.6834.6", - "34.0.0-beta.5": "132.0.6834.6", - "34.0.0-beta.6": "132.0.6834.15", - "34.0.0-beta.7": "132.0.6834.15", - "34.0.0-beta.8": "132.0.6834.15", - "34.0.0-beta.9": "132.0.6834.32", - "34.0.0-beta.10": "132.0.6834.32", - "34.0.0-beta.11": "132.0.6834.32", - "34.0.0-beta.12": "132.0.6834.46", - "34.0.0-beta.13": "132.0.6834.46", - "34.0.0-beta.14": "132.0.6834.57", - "34.0.0-beta.15": "132.0.6834.57", - "34.0.0-beta.16": "132.0.6834.57", - "34.0.0": "132.0.6834.83", - "34.0.1": "132.0.6834.83", - "34.0.2": "132.0.6834.159", - "34.1.0": "132.0.6834.194", - "34.1.1": "132.0.6834.194", - "34.2.0": "132.0.6834.196", - "34.3.0": "132.0.6834.210", - "34.3.1": "132.0.6834.210", - "34.3.2": "132.0.6834.210", - "34.3.3": "132.0.6834.210", - "34.3.4": "132.0.6834.210", - "34.4.0": "132.0.6834.210", - "34.4.1": "132.0.6834.210", - "34.5.0": "132.0.6834.210", - "34.5.1": "132.0.6834.210", - "34.5.2": "132.0.6834.210", - "34.5.3": "132.0.6834.210", - "34.5.4": "132.0.6834.210", - "34.5.5": "132.0.6834.210", - "34.5.6": "132.0.6834.210", - "34.5.7": "132.0.6834.210", - "34.5.8": "132.0.6834.210", - "35.0.0-alpha.1": "133.0.6920.0", - "35.0.0-alpha.2": "133.0.6920.0", - "35.0.0-alpha.3": "133.0.6920.0", - "35.0.0-alpha.4": "133.0.6920.0", - "35.0.0-alpha.5": "133.0.6920.0", - "35.0.0-beta.1": "133.0.6920.0", - "35.0.0-beta.2": "134.0.6968.0", - "35.0.0-beta.3": "134.0.6968.0", - "35.0.0-beta.4": "134.0.6968.0", - "35.0.0-beta.5": "134.0.6989.0", - "35.0.0-beta.6": "134.0.6990.0", - "35.0.0-beta.7": "134.0.6990.0", - "35.0.0-beta.8": "134.0.6998.10", - "35.0.0-beta.9": "134.0.6998.10", - "35.0.0-beta.10": "134.0.6998.23", - "35.0.0-beta.11": "134.0.6998.23", - "35.0.0-beta.12": "134.0.6998.23", - "35.0.0-beta.13": "134.0.6998.44", - "35.0.0": "134.0.6998.44", - "35.0.1": "134.0.6998.44", - "35.0.2": "134.0.6998.88", - "35.0.3": "134.0.6998.88", - "35.1.0": "134.0.6998.165", - "35.1.1": "134.0.6998.165", - "35.1.2": "134.0.6998.178", - "35.1.3": "134.0.6998.179", - "35.1.4": "134.0.6998.179", - "35.1.5": "134.0.6998.179", - "35.2.0": "134.0.6998.205", - "35.2.1": "134.0.6998.205", - "35.2.2": "134.0.6998.205", - "35.3.0": "134.0.6998.205", - "35.4.0": "134.0.6998.205", - "35.5.0": "134.0.6998.205", - "35.5.1": "134.0.6998.205", - "35.6.0": "134.0.6998.205", - "35.7.0": "134.0.6998.205", - "35.7.1": "134.0.6998.205", - "35.7.2": "134.0.6998.205", - "35.7.4": "134.0.6998.205", - "35.7.5": "134.0.6998.205", - "36.0.0-alpha.1": "135.0.7049.5", - "36.0.0-alpha.2": "136.0.7062.0", - "36.0.0-alpha.3": "136.0.7062.0", - "36.0.0-alpha.4": "136.0.7062.0", - "36.0.0-alpha.5": "136.0.7067.0", - "36.0.0-alpha.6": "136.0.7067.0", - "36.0.0-beta.1": "136.0.7067.0", - "36.0.0-beta.2": "136.0.7067.0", - "36.0.0-beta.3": "136.0.7067.0", - "36.0.0-beta.4": "136.0.7067.0", - "36.0.0-beta.5": "136.0.7103.17", - "36.0.0-beta.6": "136.0.7103.25", - "36.0.0-beta.7": "136.0.7103.25", - "36.0.0-beta.8": "136.0.7103.33", - "36.0.0-beta.9": "136.0.7103.33", - "36.0.0": "136.0.7103.48", - "36.0.1": "136.0.7103.48", - "36.1.0": "136.0.7103.49", - "36.2.0": "136.0.7103.49", - "36.2.1": "136.0.7103.93", - "36.3.0": "136.0.7103.113", - "36.3.1": "136.0.7103.113", - "36.3.2": "136.0.7103.115", - "36.4.0": "136.0.7103.149", - "36.5.0": "136.0.7103.168", - "36.6.0": "136.0.7103.177", - "36.7.0": "136.0.7103.177", - "36.7.1": "136.0.7103.177", - "36.7.3": "136.0.7103.177", - "36.7.4": "136.0.7103.177", - "36.8.0": "136.0.7103.177", - "36.8.1": "136.0.7103.177", - "36.9.0": "136.0.7103.177", - "36.9.1": "136.0.7103.177", - "36.9.2": "136.0.7103.177", - "36.9.3": "136.0.7103.177", - "36.9.4": "136.0.7103.177", - "36.9.5": "136.0.7103.177", - "37.0.0-alpha.1": "137.0.7151.0", - "37.0.0-alpha.2": "137.0.7151.0", - "37.0.0-alpha.3": "138.0.7156.0", - "37.0.0-alpha.4": "138.0.7165.0", - "37.0.0-alpha.5": "138.0.7177.0", - "37.0.0-alpha.6": "138.0.7178.0", - "37.0.0-alpha.7": "138.0.7178.0", - "37.0.0-beta.1": "138.0.7178.0", - "37.0.0-beta.2": "138.0.7178.0", - "37.0.0-beta.3": "138.0.7190.0", - "37.0.0-beta.4": "138.0.7204.15", - "37.0.0-beta.5": "138.0.7204.15", - "37.0.0-beta.6": "138.0.7204.15", - "37.0.0-beta.7": "138.0.7204.15", - "37.0.0-beta.8": "138.0.7204.23", - "37.0.0-beta.9": "138.0.7204.35", - "37.0.0": "138.0.7204.35", - "37.1.0": "138.0.7204.35", - "37.2.0": "138.0.7204.97", - "37.2.1": "138.0.7204.97", - "37.2.2": "138.0.7204.100", - "37.2.3": "138.0.7204.100", - "37.2.4": "138.0.7204.157", - "37.2.5": "138.0.7204.168", - "37.2.6": "138.0.7204.185", - "37.3.0": "138.0.7204.224", - "37.3.1": "138.0.7204.235", - "37.4.0": "138.0.7204.243", - "37.5.0": "138.0.7204.251", - "37.5.1": "138.0.7204.251", - "37.6.0": "138.0.7204.251", - "37.6.1": "138.0.7204.251", - "37.7.0": "138.0.7204.251", - "37.7.1": "138.0.7204.251", - "37.8.0": "138.0.7204.251", - "37.9.0": "138.0.7204.251", - "37.10.0": "138.0.7204.251", - "37.10.1": "138.0.7204.251", - "37.10.2": "138.0.7204.251", - "37.10.3": "138.0.7204.251", - "38.0.0-alpha.1": "139.0.7219.0", - "38.0.0-alpha.2": "139.0.7219.0", - "38.0.0-alpha.3": "139.0.7219.0", - "38.0.0-alpha.4": "140.0.7261.0", - "38.0.0-alpha.5": "140.0.7261.0", - "38.0.0-alpha.6": "140.0.7261.0", - "38.0.0-alpha.7": "140.0.7281.0", - "38.0.0-alpha.8": "140.0.7281.0", - "38.0.0-alpha.9": "140.0.7301.0", - "38.0.0-alpha.10": "140.0.7309.0", - "38.0.0-alpha.11": "140.0.7312.0", - "38.0.0-alpha.12": "140.0.7314.0", - "38.0.0-alpha.13": "140.0.7314.0", - "38.0.0-beta.1": "140.0.7314.0", - "38.0.0-beta.2": "140.0.7327.0", - "38.0.0-beta.3": "140.0.7327.0", - "38.0.0-beta.4": "140.0.7339.2", - "38.0.0-beta.5": "140.0.7339.2", - "38.0.0-beta.6": "140.0.7339.2", - "38.0.0-beta.7": "140.0.7339.16", - "38.0.0-beta.8": "140.0.7339.24", - "38.0.0-beta.9": "140.0.7339.24", - "38.0.0-beta.11": "140.0.7339.41", - "38.0.0": "140.0.7339.41", - "38.1.0": "140.0.7339.80", - "38.1.1": "140.0.7339.133", - "38.1.2": "140.0.7339.133", - "38.2.0": "140.0.7339.133", - "38.2.1": "140.0.7339.133", - "38.2.2": "140.0.7339.133", - "38.3.0": "140.0.7339.240", - "38.4.0": "140.0.7339.240", - "38.5.0": "140.0.7339.249", - "38.6.0": "140.0.7339.249", - "38.7.0": "140.0.7339.249", - "38.7.1": "140.0.7339.249", - "38.7.2": "140.0.7339.249", - "38.8.0": "140.0.7339.249", - "38.8.1": "140.0.7339.249", - "38.8.2": "140.0.7339.249", - "38.8.4": "140.0.7339.249", - "38.8.6": "140.0.7339.249", - "39.0.0-alpha.1": "141.0.7361.0", - "39.0.0-alpha.2": "141.0.7361.0", - "39.0.0-alpha.3": "141.0.7390.7", - "39.0.0-alpha.4": "141.0.7390.7", - "39.0.0-alpha.5": "141.0.7390.7", - "39.0.0-alpha.6": "142.0.7417.0", - "39.0.0-alpha.7": "142.0.7417.0", - "39.0.0-alpha.8": "142.0.7417.0", - "39.0.0-alpha.9": "142.0.7417.0", - "39.0.0-beta.1": "142.0.7417.0", - "39.0.0-beta.2": "142.0.7417.0", - "39.0.0-beta.3": "142.0.7417.0", - "39.0.0-beta.4": "142.0.7444.34", - "39.0.0-beta.5": "142.0.7444.34", - "39.0.0": "142.0.7444.52", - "39.1.0": "142.0.7444.59", - "39.1.1": "142.0.7444.59", - "39.1.2": "142.0.7444.134", - "39.2.0": "142.0.7444.162", - "39.2.1": "142.0.7444.162", - "39.2.2": "142.0.7444.162", - "39.2.3": "142.0.7444.175", - "39.2.4": "142.0.7444.177", - "39.2.5": "142.0.7444.177", - "39.2.6": "142.0.7444.226", - "39.2.7": "142.0.7444.235", - "39.3.0": "142.0.7444.265", - "39.4.0": "142.0.7444.265", - "39.5.0": "142.0.7444.265", - "39.5.1": "142.0.7444.265", - "39.5.2": "142.0.7444.265", - "39.6.0": "142.0.7444.265", - "39.6.1": "142.0.7444.265", - "39.7.0": "142.0.7444.265", - "39.8.0": "142.0.7444.265", - "39.8.1": "142.0.7444.265", - "39.8.2": "142.0.7444.265", - "39.8.3": "142.0.7444.265", - "39.8.4": "142.0.7444.265", - "39.8.5": "142.0.7444.265", - "40.0.0-alpha.2": "143.0.7499.0", - "40.0.0-alpha.4": "144.0.7506.0", - "40.0.0-alpha.5": "144.0.7526.0", - "40.0.0-alpha.6": "144.0.7526.0", - "40.0.0-alpha.7": "144.0.7526.0", - "40.0.0-alpha.8": "144.0.7526.0", - "40.0.0-beta.1": "144.0.7527.0", - "40.0.0-beta.2": "144.0.7527.0", - "40.0.0-beta.3": "144.0.7547.0", - "40.0.0-beta.4": "144.0.7547.0", - "40.0.0-beta.5": "144.0.7547.0", - "40.0.0-beta.6": "144.0.7559.31", - "40.0.0-beta.7": "144.0.7559.31", - "40.0.0-beta.8": "144.0.7559.31", - "40.0.0-beta.9": "144.0.7559.60", - "40.0.0": "144.0.7559.60", - "40.1.0": "144.0.7559.96", - "40.2.0": "144.0.7559.111", - "40.2.1": "144.0.7559.111", - "40.3.0": "144.0.7559.134", - "40.4.0": "144.0.7559.134", - "40.4.1": "144.0.7559.173", - "40.5.0": "144.0.7559.177", - "40.6.0": "144.0.7559.177", - "40.6.1": "144.0.7559.220", - "40.7.0": "144.0.7559.225", - "40.8.0": "144.0.7559.236", - "40.8.1": "144.0.7559.236", - "40.8.2": "144.0.7559.236", - "40.8.3": "144.0.7559.236", - "40.8.4": "144.0.7559.236", - "40.8.5": "144.0.7559.236", - "41.0.0-alpha.1": "146.0.7635.0", - "41.0.0-alpha.2": "146.0.7635.0", - "41.0.0-alpha.3": "146.0.7645.0", - "41.0.0-alpha.4": "146.0.7650.0", - "41.0.0-alpha.5": "146.0.7650.0", - "41.0.0-alpha.6": "146.0.7650.0", - "41.0.0-beta.1": "146.0.7650.0", - "41.0.0-beta.2": "146.0.7650.0", - "41.0.0-beta.3": "146.0.7650.0", - "41.0.0-beta.4": "146.0.7666.0", - "41.0.0-beta.5": "146.0.7680.16", - "41.0.0-beta.6": "146.0.7680.16", - "41.0.0-beta.7": "146.0.7680.31", - "41.0.0-beta.8": "146.0.7680.31", - "41.0.0": "146.0.7680.65", - "41.0.1": "146.0.7680.72", - "41.0.2": "146.0.7680.72", - "41.0.3": "146.0.7680.80", - "41.0.4": "146.0.7680.153", - "41.1.0": "146.0.7680.166", - "42.0.0-alpha.1": "147.0.7727.0", - "42.0.0-alpha.2": "148.0.7733.0", - "42.0.0-alpha.4": "148.0.7738.0", - "42.0.0-alpha.5": "148.0.7741.0" -}; \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/electron-to-chromium/full-versions.json b/lambdas/risk-engine/node_modules/electron-to-chromium/full-versions.json deleted file mode 100644 index 11f94a17..00000000 --- a/lambdas/risk-engine/node_modules/electron-to-chromium/full-versions.json +++ /dev/null @@ -1 +0,0 @@ -{"0.20.0":"39.0.2171.65","0.20.1":"39.0.2171.65","0.20.2":"39.0.2171.65","0.20.3":"39.0.2171.65","0.20.4":"39.0.2171.65","0.20.5":"39.0.2171.65","0.20.6":"39.0.2171.65","0.20.7":"39.0.2171.65","0.20.8":"39.0.2171.65","0.21.0":"40.0.2214.91","0.21.1":"40.0.2214.91","0.21.2":"40.0.2214.91","0.21.3":"41.0.2272.76","0.22.1":"41.0.2272.76","0.22.2":"41.0.2272.76","0.22.3":"41.0.2272.76","0.23.0":"41.0.2272.76","0.24.0":"41.0.2272.76","0.25.0":"42.0.2311.107","0.25.1":"42.0.2311.107","0.25.2":"42.0.2311.107","0.25.3":"42.0.2311.107","0.26.0":"42.0.2311.107","0.26.1":"42.0.2311.107","0.27.0":"42.0.2311.107","0.27.1":"42.0.2311.107","0.27.2":"43.0.2357.65","0.27.3":"43.0.2357.65","0.28.0":"43.0.2357.65","0.28.1":"43.0.2357.65","0.28.2":"43.0.2357.65","0.28.3":"43.0.2357.65","0.29.1":"43.0.2357.65","0.29.2":"43.0.2357.65","0.30.4":"44.0.2403.125","0.31.0":"44.0.2403.125","0.31.2":"45.0.2454.85","0.32.2":"45.0.2454.85","0.32.3":"45.0.2454.85","0.33.0":"45.0.2454.85","0.33.1":"45.0.2454.85","0.33.2":"45.0.2454.85","0.33.3":"45.0.2454.85","0.33.4":"45.0.2454.85","0.33.6":"45.0.2454.85","0.33.7":"45.0.2454.85","0.33.8":"45.0.2454.85","0.33.9":"45.0.2454.85","0.34.0":"45.0.2454.85","0.34.1":"45.0.2454.85","0.34.2":"45.0.2454.85","0.34.3":"45.0.2454.85","0.34.4":"45.0.2454.85","0.35.1":"45.0.2454.85","0.35.2":"45.0.2454.85","0.35.3":"45.0.2454.85","0.35.4":"45.0.2454.85","0.35.5":"45.0.2454.85","0.36.0":"47.0.2526.73","0.36.2":"47.0.2526.73","0.36.3":"47.0.2526.73","0.36.4":"47.0.2526.73","0.36.5":"47.0.2526.110","0.36.6":"47.0.2526.110","0.36.7":"47.0.2526.110","0.36.8":"47.0.2526.110","0.36.9":"47.0.2526.110","0.36.10":"47.0.2526.110","0.36.11":"47.0.2526.110","0.36.12":"47.0.2526.110","0.37.0":"49.0.2623.75","0.37.1":"49.0.2623.75","0.37.3":"49.0.2623.75","0.37.4":"49.0.2623.75","0.37.5":"49.0.2623.75","0.37.6":"49.0.2623.75","0.37.7":"49.0.2623.75","0.37.8":"49.0.2623.75","1.0.0":"49.0.2623.75","1.0.1":"49.0.2623.75","1.0.2":"49.0.2623.75","1.1.0":"50.0.2661.102","1.1.1":"50.0.2661.102","1.1.2":"50.0.2661.102","1.1.3":"50.0.2661.102","1.2.0":"51.0.2704.63","1.2.1":"51.0.2704.63","1.2.2":"51.0.2704.84","1.2.3":"51.0.2704.84","1.2.4":"51.0.2704.103","1.2.5":"51.0.2704.103","1.2.6":"51.0.2704.106","1.2.7":"51.0.2704.106","1.2.8":"51.0.2704.106","1.3.0":"52.0.2743.82","1.3.1":"52.0.2743.82","1.3.2":"52.0.2743.82","1.3.3":"52.0.2743.82","1.3.4":"52.0.2743.82","1.3.5":"52.0.2743.82","1.3.6":"52.0.2743.82","1.3.7":"52.0.2743.82","1.3.9":"52.0.2743.82","1.3.10":"52.0.2743.82","1.3.13":"52.0.2743.82","1.3.14":"52.0.2743.82","1.3.15":"52.0.2743.82","1.4.0":"53.0.2785.113","1.4.1":"53.0.2785.113","1.4.2":"53.0.2785.113","1.4.3":"53.0.2785.113","1.4.4":"53.0.2785.113","1.4.5":"53.0.2785.113","1.4.6":"53.0.2785.143","1.4.7":"53.0.2785.143","1.4.8":"53.0.2785.143","1.4.10":"53.0.2785.143","1.4.11":"53.0.2785.143","1.4.12":"54.0.2840.51","1.4.13":"53.0.2785.143","1.4.14":"53.0.2785.143","1.4.15":"53.0.2785.143","1.4.16":"53.0.2785.143","1.5.0":"54.0.2840.101","1.5.1":"54.0.2840.101","1.6.0":"56.0.2924.87","1.6.1":"56.0.2924.87","1.6.2":"56.0.2924.87","1.6.3":"56.0.2924.87","1.6.4":"56.0.2924.87","1.6.5":"56.0.2924.87","1.6.6":"56.0.2924.87","1.6.7":"56.0.2924.87","1.6.8":"56.0.2924.87","1.6.9":"56.0.2924.87","1.6.10":"56.0.2924.87","1.6.11":"56.0.2924.87","1.6.12":"56.0.2924.87","1.6.13":"56.0.2924.87","1.6.14":"56.0.2924.87","1.6.15":"56.0.2924.87","1.6.16":"56.0.2924.87","1.6.17":"56.0.2924.87","1.6.18":"56.0.2924.87","1.7.0":"58.0.3029.110","1.7.1":"58.0.3029.110","1.7.2":"58.0.3029.110","1.7.3":"58.0.3029.110","1.7.4":"58.0.3029.110","1.7.5":"58.0.3029.110","1.7.6":"58.0.3029.110","1.7.7":"58.0.3029.110","1.7.8":"58.0.3029.110","1.7.9":"58.0.3029.110","1.7.10":"58.0.3029.110","1.7.11":"58.0.3029.110","1.7.12":"58.0.3029.110","1.7.13":"58.0.3029.110","1.7.14":"58.0.3029.110","1.7.15":"58.0.3029.110","1.7.16":"58.0.3029.110","1.8.0":"59.0.3071.115","1.8.1":"59.0.3071.115","1.8.2-beta.1":"59.0.3071.115","1.8.2-beta.2":"59.0.3071.115","1.8.2-beta.3":"59.0.3071.115","1.8.2-beta.4":"59.0.3071.115","1.8.2-beta.5":"59.0.3071.115","1.8.2":"59.0.3071.115","1.8.3":"59.0.3071.115","1.8.4":"59.0.3071.115","1.8.5":"59.0.3071.115","1.8.6":"59.0.3071.115","1.8.7":"59.0.3071.115","1.8.8":"59.0.3071.115","2.0.0-beta.1":"61.0.3163.100","2.0.0-beta.2":"61.0.3163.100","2.0.0-beta.3":"61.0.3163.100","2.0.0-beta.4":"61.0.3163.100","2.0.0-beta.5":"61.0.3163.100","2.0.0-beta.6":"61.0.3163.100","2.0.0-beta.7":"61.0.3163.100","2.0.0-beta.8":"61.0.3163.100","2.0.0":"61.0.3163.100","2.0.1":"61.0.3163.100","2.0.2":"61.0.3163.100","2.0.3":"61.0.3163.100","2.0.4":"61.0.3163.100","2.0.5":"61.0.3163.100","2.0.6":"61.0.3163.100","2.0.7":"61.0.3163.100","2.0.8":"61.0.3163.100","2.0.9":"61.0.3163.100","2.0.10":"61.0.3163.100","2.0.11":"61.0.3163.100","2.0.12":"61.0.3163.100","2.0.13":"61.0.3163.100","2.0.14":"61.0.3163.100","2.0.15":"61.0.3163.100","2.0.16":"61.0.3163.100","2.0.17":"61.0.3163.100","2.0.18":"61.0.3163.100","2.1.0-unsupported.20180809":"61.0.3163.100","3.0.0-beta.1":"66.0.3359.181","3.0.0-beta.2":"66.0.3359.181","3.0.0-beta.3":"66.0.3359.181","3.0.0-beta.4":"66.0.3359.181","3.0.0-beta.5":"66.0.3359.181","3.0.0-beta.6":"66.0.3359.181","3.0.0-beta.7":"66.0.3359.181","3.0.0-beta.8":"66.0.3359.181","3.0.0-beta.9":"66.0.3359.181","3.0.0-beta.10":"66.0.3359.181","3.0.0-beta.11":"66.0.3359.181","3.0.0-beta.12":"66.0.3359.181","3.0.0-beta.13":"66.0.3359.181","3.0.0":"66.0.3359.181","3.0.1":"66.0.3359.181","3.0.2":"66.0.3359.181","3.0.3":"66.0.3359.181","3.0.4":"66.0.3359.181","3.0.5":"66.0.3359.181","3.0.6":"66.0.3359.181","3.0.7":"66.0.3359.181","3.0.8":"66.0.3359.181","3.0.9":"66.0.3359.181","3.0.10":"66.0.3359.181","3.0.11":"66.0.3359.181","3.0.12":"66.0.3359.181","3.0.13":"66.0.3359.181","3.0.14":"66.0.3359.181","3.0.15":"66.0.3359.181","3.0.16":"66.0.3359.181","3.1.0-beta.1":"66.0.3359.181","3.1.0-beta.2":"66.0.3359.181","3.1.0-beta.3":"66.0.3359.181","3.1.0-beta.4":"66.0.3359.181","3.1.0-beta.5":"66.0.3359.181","3.1.0":"66.0.3359.181","3.1.1":"66.0.3359.181","3.1.2":"66.0.3359.181","3.1.3":"66.0.3359.181","3.1.4":"66.0.3359.181","3.1.5":"66.0.3359.181","3.1.6":"66.0.3359.181","3.1.7":"66.0.3359.181","3.1.8":"66.0.3359.181","3.1.9":"66.0.3359.181","3.1.10":"66.0.3359.181","3.1.11":"66.0.3359.181","3.1.12":"66.0.3359.181","3.1.13":"66.0.3359.181","4.0.0-beta.1":"69.0.3497.106","4.0.0-beta.2":"69.0.3497.106","4.0.0-beta.3":"69.0.3497.106","4.0.0-beta.4":"69.0.3497.106","4.0.0-beta.5":"69.0.3497.106","4.0.0-beta.6":"69.0.3497.106","4.0.0-beta.7":"69.0.3497.106","4.0.0-beta.8":"69.0.3497.106","4.0.0-beta.9":"69.0.3497.106","4.0.0-beta.10":"69.0.3497.106","4.0.0-beta.11":"69.0.3497.106","4.0.0":"69.0.3497.106","4.0.1":"69.0.3497.106","4.0.2":"69.0.3497.106","4.0.3":"69.0.3497.106","4.0.4":"69.0.3497.106","4.0.5":"69.0.3497.106","4.0.6":"69.0.3497.106","4.0.7":"69.0.3497.128","4.0.8":"69.0.3497.128","4.1.0":"69.0.3497.128","4.1.1":"69.0.3497.128","4.1.2":"69.0.3497.128","4.1.3":"69.0.3497.128","4.1.4":"69.0.3497.128","4.1.5":"69.0.3497.128","4.2.0":"69.0.3497.128","4.2.1":"69.0.3497.128","4.2.2":"69.0.3497.128","4.2.3":"69.0.3497.128","4.2.4":"69.0.3497.128","4.2.5":"69.0.3497.128","4.2.6":"69.0.3497.128","4.2.7":"69.0.3497.128","4.2.8":"69.0.3497.128","4.2.9":"69.0.3497.128","4.2.10":"69.0.3497.128","4.2.11":"69.0.3497.128","4.2.12":"69.0.3497.128","5.0.0-beta.1":"72.0.3626.52","5.0.0-beta.2":"72.0.3626.52","5.0.0-beta.3":"73.0.3683.27","5.0.0-beta.4":"73.0.3683.54","5.0.0-beta.5":"73.0.3683.61","5.0.0-beta.6":"73.0.3683.84","5.0.0-beta.7":"73.0.3683.94","5.0.0-beta.8":"73.0.3683.104","5.0.0-beta.9":"73.0.3683.117","5.0.0":"73.0.3683.119","5.0.1":"73.0.3683.121","5.0.2":"73.0.3683.121","5.0.3":"73.0.3683.121","5.0.4":"73.0.3683.121","5.0.5":"73.0.3683.121","5.0.6":"73.0.3683.121","5.0.7":"73.0.3683.121","5.0.8":"73.0.3683.121","5.0.9":"73.0.3683.121","5.0.10":"73.0.3683.121","5.0.11":"73.0.3683.121","5.0.12":"73.0.3683.121","5.0.13":"73.0.3683.121","6.0.0-beta.1":"76.0.3774.1","6.0.0-beta.2":"76.0.3783.1","6.0.0-beta.3":"76.0.3783.1","6.0.0-beta.4":"76.0.3783.1","6.0.0-beta.5":"76.0.3805.4","6.0.0-beta.6":"76.0.3809.3","6.0.0-beta.7":"76.0.3809.22","6.0.0-beta.8":"76.0.3809.26","6.0.0-beta.9":"76.0.3809.26","6.0.0-beta.10":"76.0.3809.37","6.0.0-beta.11":"76.0.3809.42","6.0.0-beta.12":"76.0.3809.54","6.0.0-beta.13":"76.0.3809.60","6.0.0-beta.14":"76.0.3809.68","6.0.0-beta.15":"76.0.3809.74","6.0.0":"76.0.3809.88","6.0.1":"76.0.3809.102","6.0.2":"76.0.3809.110","6.0.3":"76.0.3809.126","6.0.4":"76.0.3809.131","6.0.5":"76.0.3809.136","6.0.6":"76.0.3809.138","6.0.7":"76.0.3809.139","6.0.8":"76.0.3809.146","6.0.9":"76.0.3809.146","6.0.10":"76.0.3809.146","6.0.11":"76.0.3809.146","6.0.12":"76.0.3809.146","6.1.0":"76.0.3809.146","6.1.1":"76.0.3809.146","6.1.2":"76.0.3809.146","6.1.3":"76.0.3809.146","6.1.4":"76.0.3809.146","6.1.5":"76.0.3809.146","6.1.6":"76.0.3809.146","6.1.7":"76.0.3809.146","6.1.8":"76.0.3809.146","6.1.9":"76.0.3809.146","6.1.10":"76.0.3809.146","6.1.11":"76.0.3809.146","6.1.12":"76.0.3809.146","7.0.0-beta.1":"78.0.3866.0","7.0.0-beta.2":"78.0.3866.0","7.0.0-beta.3":"78.0.3866.0","7.0.0-beta.4":"78.0.3896.6","7.0.0-beta.5":"78.0.3905.1","7.0.0-beta.6":"78.0.3905.1","7.0.0-beta.7":"78.0.3905.1","7.0.0":"78.0.3905.1","7.0.1":"78.0.3904.92","7.1.0":"78.0.3904.94","7.1.1":"78.0.3904.99","7.1.2":"78.0.3904.113","7.1.3":"78.0.3904.126","7.1.4":"78.0.3904.130","7.1.5":"78.0.3904.130","7.1.6":"78.0.3904.130","7.1.7":"78.0.3904.130","7.1.8":"78.0.3904.130","7.1.9":"78.0.3904.130","7.1.10":"78.0.3904.130","7.1.11":"78.0.3904.130","7.1.12":"78.0.3904.130","7.1.13":"78.0.3904.130","7.1.14":"78.0.3904.130","7.2.0":"78.0.3904.130","7.2.1":"78.0.3904.130","7.2.2":"78.0.3904.130","7.2.3":"78.0.3904.130","7.2.4":"78.0.3904.130","7.3.0":"78.0.3904.130","7.3.1":"78.0.3904.130","7.3.2":"78.0.3904.130","7.3.3":"78.0.3904.130","8.0.0-beta.1":"79.0.3931.0","8.0.0-beta.2":"79.0.3931.0","8.0.0-beta.3":"80.0.3955.0","8.0.0-beta.4":"80.0.3955.0","8.0.0-beta.5":"80.0.3987.14","8.0.0-beta.6":"80.0.3987.51","8.0.0-beta.7":"80.0.3987.59","8.0.0-beta.8":"80.0.3987.75","8.0.0-beta.9":"80.0.3987.75","8.0.0":"80.0.3987.86","8.0.1":"80.0.3987.86","8.0.2":"80.0.3987.86","8.0.3":"80.0.3987.134","8.1.0":"80.0.3987.137","8.1.1":"80.0.3987.141","8.2.0":"80.0.3987.158","8.2.1":"80.0.3987.163","8.2.2":"80.0.3987.163","8.2.3":"80.0.3987.163","8.2.4":"80.0.3987.165","8.2.5":"80.0.3987.165","8.3.0":"80.0.3987.165","8.3.1":"80.0.3987.165","8.3.2":"80.0.3987.165","8.3.3":"80.0.3987.165","8.3.4":"80.0.3987.165","8.4.0":"80.0.3987.165","8.4.1":"80.0.3987.165","8.5.0":"80.0.3987.165","8.5.1":"80.0.3987.165","8.5.2":"80.0.3987.165","8.5.3":"80.0.3987.163","8.5.4":"80.0.3987.163","8.5.5":"80.0.3987.163","9.0.0-beta.1":"82.0.4048.0","9.0.0-beta.2":"82.0.4048.0","9.0.0-beta.3":"82.0.4048.0","9.0.0-beta.4":"82.0.4048.0","9.0.0-beta.5":"82.0.4048.0","9.0.0-beta.6":"82.0.4058.2","9.0.0-beta.7":"82.0.4058.2","9.0.0-beta.9":"82.0.4058.2","9.0.0-beta.10":"82.0.4085.10","9.0.0-beta.11":"82.0.4085.14","9.0.0-beta.12":"82.0.4085.14","9.0.0-beta.13":"82.0.4085.14","9.0.0-beta.14":"82.0.4085.27","9.0.0-beta.15":"83.0.4102.3","9.0.0-beta.16":"83.0.4102.3","9.0.0-beta.17":"83.0.4103.14","9.0.0-beta.18":"83.0.4103.16","9.0.0-beta.19":"83.0.4103.24","9.0.0-beta.20":"83.0.4103.26","9.0.0-beta.21":"83.0.4103.26","9.0.0-beta.22":"83.0.4103.34","9.0.0-beta.23":"83.0.4103.44","9.0.0-beta.24":"83.0.4103.45","9.0.0":"83.0.4103.64","9.0.1":"83.0.4103.94","9.0.2":"83.0.4103.94","9.0.3":"83.0.4103.100","9.0.4":"83.0.4103.104","9.0.5":"83.0.4103.119","9.1.0":"83.0.4103.122","9.1.1":"83.0.4103.122","9.1.2":"83.0.4103.122","9.2.0":"83.0.4103.122","9.2.1":"83.0.4103.122","9.3.0":"83.0.4103.122","9.3.1":"83.0.4103.122","9.3.2":"83.0.4103.122","9.3.3":"83.0.4103.122","9.3.4":"83.0.4103.122","9.3.5":"83.0.4103.122","9.4.0":"83.0.4103.122","9.4.1":"83.0.4103.122","9.4.2":"83.0.4103.122","9.4.3":"83.0.4103.122","9.4.4":"83.0.4103.122","10.0.0-beta.1":"84.0.4129.0","10.0.0-beta.2":"84.0.4129.0","10.0.0-beta.3":"85.0.4161.2","10.0.0-beta.4":"85.0.4161.2","10.0.0-beta.8":"85.0.4181.1","10.0.0-beta.9":"85.0.4181.1","10.0.0-beta.10":"85.0.4183.19","10.0.0-beta.11":"85.0.4183.20","10.0.0-beta.12":"85.0.4183.26","10.0.0-beta.13":"85.0.4183.39","10.0.0-beta.14":"85.0.4183.39","10.0.0-beta.15":"85.0.4183.39","10.0.0-beta.17":"85.0.4183.39","10.0.0-beta.19":"85.0.4183.39","10.0.0-beta.20":"85.0.4183.39","10.0.0-beta.21":"85.0.4183.39","10.0.0-beta.23":"85.0.4183.70","10.0.0-beta.24":"85.0.4183.78","10.0.0-beta.25":"85.0.4183.80","10.0.0":"85.0.4183.84","10.0.1":"85.0.4183.86","10.1.0":"85.0.4183.87","10.1.1":"85.0.4183.93","10.1.2":"85.0.4183.98","10.1.3":"85.0.4183.121","10.1.4":"85.0.4183.121","10.1.5":"85.0.4183.121","10.1.6":"85.0.4183.121","10.1.7":"85.0.4183.121","10.2.0":"85.0.4183.121","10.3.0":"85.0.4183.121","10.3.1":"85.0.4183.121","10.3.2":"85.0.4183.121","10.4.0":"85.0.4183.121","10.4.1":"85.0.4183.121","10.4.2":"85.0.4183.121","10.4.3":"85.0.4183.121","10.4.4":"85.0.4183.121","10.4.5":"85.0.4183.121","10.4.6":"85.0.4183.121","10.4.7":"85.0.4183.121","11.0.0-beta.1":"86.0.4234.0","11.0.0-beta.3":"86.0.4234.0","11.0.0-beta.4":"86.0.4234.0","11.0.0-beta.5":"86.0.4234.0","11.0.0-beta.6":"86.0.4234.0","11.0.0-beta.7":"86.0.4234.0","11.0.0-beta.8":"87.0.4251.1","11.0.0-beta.9":"87.0.4251.1","11.0.0-beta.11":"87.0.4251.1","11.0.0-beta.12":"87.0.4280.11","11.0.0-beta.13":"87.0.4280.11","11.0.0-beta.16":"87.0.4280.27","11.0.0-beta.17":"87.0.4280.27","11.0.0-beta.18":"87.0.4280.27","11.0.0-beta.19":"87.0.4280.27","11.0.0-beta.20":"87.0.4280.40","11.0.0-beta.22":"87.0.4280.47","11.0.0-beta.23":"87.0.4280.47","11.0.0":"87.0.4280.60","11.0.1":"87.0.4280.60","11.0.2":"87.0.4280.67","11.0.3":"87.0.4280.67","11.0.4":"87.0.4280.67","11.0.5":"87.0.4280.88","11.1.0":"87.0.4280.88","11.1.1":"87.0.4280.88","11.2.0":"87.0.4280.141","11.2.1":"87.0.4280.141","11.2.2":"87.0.4280.141","11.2.3":"87.0.4280.141","11.3.0":"87.0.4280.141","11.4.0":"87.0.4280.141","11.4.1":"87.0.4280.141","11.4.2":"87.0.4280.141","11.4.3":"87.0.4280.141","11.4.4":"87.0.4280.141","11.4.5":"87.0.4280.141","11.4.6":"87.0.4280.141","11.4.7":"87.0.4280.141","11.4.8":"87.0.4280.141","11.4.9":"87.0.4280.141","11.4.10":"87.0.4280.141","11.4.11":"87.0.4280.141","11.4.12":"87.0.4280.141","11.5.0":"87.0.4280.141","12.0.0-beta.1":"89.0.4328.0","12.0.0-beta.3":"89.0.4328.0","12.0.0-beta.4":"89.0.4328.0","12.0.0-beta.5":"89.0.4328.0","12.0.0-beta.6":"89.0.4328.0","12.0.0-beta.7":"89.0.4328.0","12.0.0-beta.8":"89.0.4328.0","12.0.0-beta.9":"89.0.4328.0","12.0.0-beta.10":"89.0.4328.0","12.0.0-beta.11":"89.0.4328.0","12.0.0-beta.12":"89.0.4328.0","12.0.0-beta.14":"89.0.4328.0","12.0.0-beta.16":"89.0.4348.1","12.0.0-beta.18":"89.0.4348.1","12.0.0-beta.19":"89.0.4348.1","12.0.0-beta.20":"89.0.4348.1","12.0.0-beta.21":"89.0.4388.2","12.0.0-beta.22":"89.0.4388.2","12.0.0-beta.23":"89.0.4388.2","12.0.0-beta.24":"89.0.4388.2","12.0.0-beta.25":"89.0.4388.2","12.0.0-beta.26":"89.0.4388.2","12.0.0-beta.27":"89.0.4389.23","12.0.0-beta.28":"89.0.4389.23","12.0.0-beta.29":"89.0.4389.23","12.0.0-beta.30":"89.0.4389.58","12.0.0-beta.31":"89.0.4389.58","12.0.0":"89.0.4389.69","12.0.1":"89.0.4389.82","12.0.2":"89.0.4389.90","12.0.3":"89.0.4389.114","12.0.4":"89.0.4389.114","12.0.5":"89.0.4389.128","12.0.6":"89.0.4389.128","12.0.7":"89.0.4389.128","12.0.8":"89.0.4389.128","12.0.9":"89.0.4389.128","12.0.10":"89.0.4389.128","12.0.11":"89.0.4389.128","12.0.12":"89.0.4389.128","12.0.13":"89.0.4389.128","12.0.14":"89.0.4389.128","12.0.15":"89.0.4389.128","12.0.16":"89.0.4389.128","12.0.17":"89.0.4389.128","12.0.18":"89.0.4389.128","12.1.0":"89.0.4389.128","12.1.1":"89.0.4389.128","12.1.2":"89.0.4389.128","12.2.0":"89.0.4389.128","12.2.1":"89.0.4389.128","12.2.2":"89.0.4389.128","12.2.3":"89.0.4389.128","13.0.0-beta.2":"90.0.4402.0","13.0.0-beta.3":"90.0.4402.0","13.0.0-beta.4":"90.0.4415.0","13.0.0-beta.5":"90.0.4415.0","13.0.0-beta.6":"90.0.4415.0","13.0.0-beta.7":"90.0.4415.0","13.0.0-beta.8":"90.0.4415.0","13.0.0-beta.9":"90.0.4415.0","13.0.0-beta.10":"90.0.4415.0","13.0.0-beta.11":"90.0.4415.0","13.0.0-beta.12":"90.0.4415.0","13.0.0-beta.13":"90.0.4415.0","13.0.0-beta.14":"91.0.4448.0","13.0.0-beta.16":"91.0.4448.0","13.0.0-beta.17":"91.0.4448.0","13.0.0-beta.18":"91.0.4448.0","13.0.0-beta.20":"91.0.4448.0","13.0.0-beta.21":"91.0.4472.33","13.0.0-beta.22":"91.0.4472.33","13.0.0-beta.23":"91.0.4472.33","13.0.0-beta.24":"91.0.4472.38","13.0.0-beta.25":"91.0.4472.38","13.0.0-beta.26":"91.0.4472.38","13.0.0-beta.27":"91.0.4472.38","13.0.0-beta.28":"91.0.4472.38","13.0.0":"91.0.4472.69","13.0.1":"91.0.4472.69","13.1.0":"91.0.4472.77","13.1.1":"91.0.4472.77","13.1.2":"91.0.4472.77","13.1.3":"91.0.4472.106","13.1.4":"91.0.4472.106","13.1.5":"91.0.4472.124","13.1.6":"91.0.4472.124","13.1.7":"91.0.4472.124","13.1.8":"91.0.4472.164","13.1.9":"91.0.4472.164","13.2.0":"91.0.4472.164","13.2.1":"91.0.4472.164","13.2.2":"91.0.4472.164","13.2.3":"91.0.4472.164","13.3.0":"91.0.4472.164","13.4.0":"91.0.4472.164","13.5.0":"91.0.4472.164","13.5.1":"91.0.4472.164","13.5.2":"91.0.4472.164","13.6.0":"91.0.4472.164","13.6.1":"91.0.4472.164","13.6.2":"91.0.4472.164","13.6.3":"91.0.4472.164","13.6.6":"91.0.4472.164","13.6.7":"91.0.4472.164","13.6.8":"91.0.4472.164","13.6.9":"91.0.4472.164","14.0.0-beta.1":"92.0.4511.0","14.0.0-beta.2":"92.0.4511.0","14.0.0-beta.3":"92.0.4511.0","14.0.0-beta.5":"93.0.4536.0","14.0.0-beta.6":"93.0.4536.0","14.0.0-beta.7":"93.0.4536.0","14.0.0-beta.8":"93.0.4536.0","14.0.0-beta.9":"93.0.4539.0","14.0.0-beta.10":"93.0.4539.0","14.0.0-beta.11":"93.0.4557.4","14.0.0-beta.12":"93.0.4557.4","14.0.0-beta.13":"93.0.4566.0","14.0.0-beta.14":"93.0.4566.0","14.0.0-beta.15":"93.0.4566.0","14.0.0-beta.16":"93.0.4566.0","14.0.0-beta.17":"93.0.4566.0","14.0.0-beta.18":"93.0.4577.15","14.0.0-beta.19":"93.0.4577.15","14.0.0-beta.20":"93.0.4577.15","14.0.0-beta.21":"93.0.4577.15","14.0.0-beta.22":"93.0.4577.25","14.0.0-beta.23":"93.0.4577.25","14.0.0-beta.24":"93.0.4577.51","14.0.0-beta.25":"93.0.4577.51","14.0.0":"93.0.4577.58","14.0.1":"93.0.4577.63","14.0.2":"93.0.4577.82","14.1.0":"93.0.4577.82","14.1.1":"93.0.4577.82","14.2.0":"93.0.4577.82","14.2.1":"93.0.4577.82","14.2.2":"93.0.4577.82","14.2.3":"93.0.4577.82","14.2.4":"93.0.4577.82","14.2.5":"93.0.4577.82","14.2.6":"93.0.4577.82","14.2.7":"93.0.4577.82","14.2.8":"93.0.4577.82","14.2.9":"93.0.4577.82","15.0.0-alpha.1":"93.0.4566.0","15.0.0-alpha.2":"93.0.4566.0","15.0.0-alpha.3":"94.0.4584.0","15.0.0-alpha.4":"94.0.4584.0","15.0.0-alpha.5":"94.0.4584.0","15.0.0-alpha.6":"94.0.4584.0","15.0.0-alpha.7":"94.0.4590.2","15.0.0-alpha.8":"94.0.4590.2","15.0.0-alpha.9":"94.0.4590.2","15.0.0-alpha.10":"94.0.4606.12","15.0.0-beta.1":"94.0.4606.20","15.0.0-beta.2":"94.0.4606.20","15.0.0-beta.3":"94.0.4606.31","15.0.0-beta.4":"94.0.4606.31","15.0.0-beta.5":"94.0.4606.31","15.0.0-beta.6":"94.0.4606.31","15.0.0-beta.7":"94.0.4606.31","15.0.0":"94.0.4606.51","15.1.0":"94.0.4606.61","15.1.1":"94.0.4606.61","15.1.2":"94.0.4606.71","15.2.0":"94.0.4606.81","15.3.0":"94.0.4606.81","15.3.1":"94.0.4606.81","15.3.2":"94.0.4606.81","15.3.3":"94.0.4606.81","15.3.4":"94.0.4606.81","15.3.5":"94.0.4606.81","15.3.6":"94.0.4606.81","15.3.7":"94.0.4606.81","15.4.0":"94.0.4606.81","15.4.1":"94.0.4606.81","15.4.2":"94.0.4606.81","15.5.0":"94.0.4606.81","15.5.1":"94.0.4606.81","15.5.2":"94.0.4606.81","15.5.3":"94.0.4606.81","15.5.4":"94.0.4606.81","15.5.5":"94.0.4606.81","15.5.6":"94.0.4606.81","15.5.7":"94.0.4606.81","16.0.0-alpha.1":"95.0.4629.0","16.0.0-alpha.2":"95.0.4629.0","16.0.0-alpha.3":"95.0.4629.0","16.0.0-alpha.4":"95.0.4629.0","16.0.0-alpha.5":"95.0.4629.0","16.0.0-alpha.6":"95.0.4629.0","16.0.0-alpha.7":"95.0.4629.0","16.0.0-alpha.8":"96.0.4647.0","16.0.0-alpha.9":"96.0.4647.0","16.0.0-beta.1":"96.0.4647.0","16.0.0-beta.2":"96.0.4647.0","16.0.0-beta.3":"96.0.4647.0","16.0.0-beta.4":"96.0.4664.18","16.0.0-beta.5":"96.0.4664.18","16.0.0-beta.6":"96.0.4664.27","16.0.0-beta.7":"96.0.4664.27","16.0.0-beta.8":"96.0.4664.35","16.0.0-beta.9":"96.0.4664.35","16.0.0":"96.0.4664.45","16.0.1":"96.0.4664.45","16.0.2":"96.0.4664.55","16.0.3":"96.0.4664.55","16.0.4":"96.0.4664.55","16.0.5":"96.0.4664.55","16.0.6":"96.0.4664.110","16.0.7":"96.0.4664.110","16.0.8":"96.0.4664.110","16.0.9":"96.0.4664.174","16.0.10":"96.0.4664.174","16.1.0":"96.0.4664.174","16.1.1":"96.0.4664.174","16.2.0":"96.0.4664.174","16.2.1":"96.0.4664.174","16.2.2":"96.0.4664.174","16.2.3":"96.0.4664.174","16.2.4":"96.0.4664.174","16.2.5":"96.0.4664.174","16.2.6":"96.0.4664.174","16.2.7":"96.0.4664.174","16.2.8":"96.0.4664.174","17.0.0-alpha.1":"96.0.4664.4","17.0.0-alpha.2":"96.0.4664.4","17.0.0-alpha.3":"96.0.4664.4","17.0.0-alpha.4":"98.0.4706.0","17.0.0-alpha.5":"98.0.4706.0","17.0.0-alpha.6":"98.0.4706.0","17.0.0-beta.1":"98.0.4706.0","17.0.0-beta.2":"98.0.4706.0","17.0.0-beta.3":"98.0.4758.9","17.0.0-beta.4":"98.0.4758.11","17.0.0-beta.5":"98.0.4758.11","17.0.0-beta.6":"98.0.4758.11","17.0.0-beta.7":"98.0.4758.11","17.0.0-beta.8":"98.0.4758.11","17.0.0-beta.9":"98.0.4758.11","17.0.0":"98.0.4758.74","17.0.1":"98.0.4758.82","17.1.0":"98.0.4758.102","17.1.1":"98.0.4758.109","17.1.2":"98.0.4758.109","17.2.0":"98.0.4758.109","17.3.0":"98.0.4758.141","17.3.1":"98.0.4758.141","17.4.0":"98.0.4758.141","17.4.1":"98.0.4758.141","17.4.2":"98.0.4758.141","17.4.3":"98.0.4758.141","17.4.4":"98.0.4758.141","17.4.5":"98.0.4758.141","17.4.6":"98.0.4758.141","17.4.7":"98.0.4758.141","17.4.8":"98.0.4758.141","17.4.9":"98.0.4758.141","17.4.10":"98.0.4758.141","17.4.11":"98.0.4758.141","18.0.0-alpha.1":"99.0.4767.0","18.0.0-alpha.2":"99.0.4767.0","18.0.0-alpha.3":"99.0.4767.0","18.0.0-alpha.4":"99.0.4767.0","18.0.0-alpha.5":"99.0.4767.0","18.0.0-beta.1":"100.0.4894.0","18.0.0-beta.2":"100.0.4894.0","18.0.0-beta.3":"100.0.4894.0","18.0.0-beta.4":"100.0.4894.0","18.0.0-beta.5":"100.0.4894.0","18.0.0-beta.6":"100.0.4894.0","18.0.0":"100.0.4896.56","18.0.1":"100.0.4896.60","18.0.2":"100.0.4896.60","18.0.3":"100.0.4896.75","18.0.4":"100.0.4896.75","18.1.0":"100.0.4896.127","18.2.0":"100.0.4896.143","18.2.1":"100.0.4896.143","18.2.2":"100.0.4896.143","18.2.3":"100.0.4896.143","18.2.4":"100.0.4896.160","18.3.0":"100.0.4896.160","18.3.1":"100.0.4896.160","18.3.2":"100.0.4896.160","18.3.3":"100.0.4896.160","18.3.4":"100.0.4896.160","18.3.5":"100.0.4896.160","18.3.6":"100.0.4896.160","18.3.7":"100.0.4896.160","18.3.8":"100.0.4896.160","18.3.9":"100.0.4896.160","18.3.11":"100.0.4896.160","18.3.12":"100.0.4896.160","18.3.13":"100.0.4896.160","18.3.14":"100.0.4896.160","18.3.15":"100.0.4896.160","19.0.0-alpha.1":"102.0.4962.3","19.0.0-alpha.2":"102.0.4971.0","19.0.0-alpha.3":"102.0.4971.0","19.0.0-alpha.4":"102.0.4989.0","19.0.0-alpha.5":"102.0.4989.0","19.0.0-beta.1":"102.0.4999.0","19.0.0-beta.2":"102.0.4999.0","19.0.0-beta.3":"102.0.4999.0","19.0.0-beta.4":"102.0.5005.27","19.0.0-beta.5":"102.0.5005.40","19.0.0-beta.6":"102.0.5005.40","19.0.0-beta.7":"102.0.5005.40","19.0.0-beta.8":"102.0.5005.49","19.0.0":"102.0.5005.61","19.0.1":"102.0.5005.61","19.0.2":"102.0.5005.63","19.0.3":"102.0.5005.63","19.0.4":"102.0.5005.63","19.0.5":"102.0.5005.115","19.0.6":"102.0.5005.115","19.0.7":"102.0.5005.134","19.0.8":"102.0.5005.148","19.0.9":"102.0.5005.167","19.0.10":"102.0.5005.167","19.0.11":"102.0.5005.167","19.0.12":"102.0.5005.167","19.0.13":"102.0.5005.167","19.0.14":"102.0.5005.167","19.0.15":"102.0.5005.167","19.0.16":"102.0.5005.167","19.0.17":"102.0.5005.167","19.1.0":"102.0.5005.167","19.1.1":"102.0.5005.167","19.1.2":"102.0.5005.167","19.1.3":"102.0.5005.167","19.1.4":"102.0.5005.167","19.1.5":"102.0.5005.167","19.1.6":"102.0.5005.167","19.1.7":"102.0.5005.167","19.1.8":"102.0.5005.167","19.1.9":"102.0.5005.167","20.0.0-alpha.1":"103.0.5044.0","20.0.0-alpha.2":"104.0.5073.0","20.0.0-alpha.3":"104.0.5073.0","20.0.0-alpha.4":"104.0.5073.0","20.0.0-alpha.5":"104.0.5073.0","20.0.0-alpha.6":"104.0.5073.0","20.0.0-alpha.7":"104.0.5073.0","20.0.0-beta.1":"104.0.5073.0","20.0.0-beta.2":"104.0.5073.0","20.0.0-beta.3":"104.0.5073.0","20.0.0-beta.4":"104.0.5073.0","20.0.0-beta.5":"104.0.5073.0","20.0.0-beta.6":"104.0.5073.0","20.0.0-beta.7":"104.0.5073.0","20.0.0-beta.8":"104.0.5073.0","20.0.0-beta.9":"104.0.5112.39","20.0.0-beta.10":"104.0.5112.48","20.0.0-beta.11":"104.0.5112.48","20.0.0-beta.12":"104.0.5112.48","20.0.0-beta.13":"104.0.5112.57","20.0.0":"104.0.5112.65","20.0.1":"104.0.5112.81","20.0.2":"104.0.5112.81","20.0.3":"104.0.5112.81","20.1.0":"104.0.5112.102","20.1.1":"104.0.5112.102","20.1.2":"104.0.5112.114","20.1.3":"104.0.5112.114","20.1.4":"104.0.5112.114","20.2.0":"104.0.5112.124","20.3.0":"104.0.5112.124","20.3.1":"104.0.5112.124","20.3.2":"104.0.5112.124","20.3.3":"104.0.5112.124","20.3.4":"104.0.5112.124","20.3.5":"104.0.5112.124","20.3.6":"104.0.5112.124","20.3.7":"104.0.5112.124","20.3.8":"104.0.5112.124","20.3.9":"104.0.5112.124","20.3.10":"104.0.5112.124","20.3.11":"104.0.5112.124","20.3.12":"104.0.5112.124","21.0.0-alpha.1":"105.0.5187.0","21.0.0-alpha.2":"105.0.5187.0","21.0.0-alpha.3":"105.0.5187.0","21.0.0-alpha.4":"105.0.5187.0","21.0.0-alpha.5":"105.0.5187.0","21.0.0-alpha.6":"106.0.5216.0","21.0.0-beta.1":"106.0.5216.0","21.0.0-beta.2":"106.0.5216.0","21.0.0-beta.3":"106.0.5216.0","21.0.0-beta.4":"106.0.5216.0","21.0.0-beta.5":"106.0.5216.0","21.0.0-beta.6":"106.0.5249.40","21.0.0-beta.7":"106.0.5249.40","21.0.0-beta.8":"106.0.5249.40","21.0.0":"106.0.5249.51","21.0.1":"106.0.5249.61","21.1.0":"106.0.5249.91","21.1.1":"106.0.5249.103","21.2.0":"106.0.5249.119","21.2.1":"106.0.5249.165","21.2.2":"106.0.5249.168","21.2.3":"106.0.5249.168","21.3.0":"106.0.5249.181","21.3.1":"106.0.5249.181","21.3.3":"106.0.5249.199","21.3.4":"106.0.5249.199","21.3.5":"106.0.5249.199","21.4.0":"106.0.5249.199","21.4.1":"106.0.5249.199","21.4.2":"106.0.5249.199","21.4.3":"106.0.5249.199","21.4.4":"106.0.5249.199","22.0.0-alpha.1":"107.0.5286.0","22.0.0-alpha.3":"108.0.5329.0","22.0.0-alpha.4":"108.0.5329.0","22.0.0-alpha.5":"108.0.5329.0","22.0.0-alpha.6":"108.0.5329.0","22.0.0-alpha.7":"108.0.5355.0","22.0.0-alpha.8":"108.0.5359.10","22.0.0-beta.1":"108.0.5359.10","22.0.0-beta.2":"108.0.5359.10","22.0.0-beta.3":"108.0.5359.10","22.0.0-beta.4":"108.0.5359.29","22.0.0-beta.5":"108.0.5359.40","22.0.0-beta.6":"108.0.5359.40","22.0.0-beta.7":"108.0.5359.48","22.0.0-beta.8":"108.0.5359.48","22.0.0":"108.0.5359.62","22.0.1":"108.0.5359.125","22.0.2":"108.0.5359.179","22.0.3":"108.0.5359.179","22.1.0":"108.0.5359.179","22.2.0":"108.0.5359.215","22.2.1":"108.0.5359.215","22.3.0":"108.0.5359.215","22.3.1":"108.0.5359.215","22.3.2":"108.0.5359.215","22.3.3":"108.0.5359.215","22.3.4":"108.0.5359.215","22.3.5":"108.0.5359.215","22.3.6":"108.0.5359.215","22.3.7":"108.0.5359.215","22.3.8":"108.0.5359.215","22.3.9":"108.0.5359.215","22.3.10":"108.0.5359.215","22.3.11":"108.0.5359.215","22.3.12":"108.0.5359.215","22.3.13":"108.0.5359.215","22.3.14":"108.0.5359.215","22.3.15":"108.0.5359.215","22.3.16":"108.0.5359.215","22.3.17":"108.0.5359.215","22.3.18":"108.0.5359.215","22.3.20":"108.0.5359.215","22.3.21":"108.0.5359.215","22.3.22":"108.0.5359.215","22.3.23":"108.0.5359.215","22.3.24":"108.0.5359.215","22.3.25":"108.0.5359.215","22.3.26":"108.0.5359.215","22.3.27":"108.0.5359.215","23.0.0-alpha.1":"110.0.5415.0","23.0.0-alpha.2":"110.0.5451.0","23.0.0-alpha.3":"110.0.5451.0","23.0.0-beta.1":"110.0.5478.5","23.0.0-beta.2":"110.0.5478.5","23.0.0-beta.3":"110.0.5478.5","23.0.0-beta.4":"110.0.5481.30","23.0.0-beta.5":"110.0.5481.38","23.0.0-beta.6":"110.0.5481.52","23.0.0-beta.8":"110.0.5481.52","23.0.0":"110.0.5481.77","23.1.0":"110.0.5481.100","23.1.1":"110.0.5481.104","23.1.2":"110.0.5481.177","23.1.3":"110.0.5481.179","23.1.4":"110.0.5481.192","23.2.0":"110.0.5481.192","23.2.1":"110.0.5481.208","23.2.2":"110.0.5481.208","23.2.3":"110.0.5481.208","23.2.4":"110.0.5481.208","23.3.0":"110.0.5481.208","23.3.1":"110.0.5481.208","23.3.2":"110.0.5481.208","23.3.3":"110.0.5481.208","23.3.4":"110.0.5481.208","23.3.5":"110.0.5481.208","23.3.6":"110.0.5481.208","23.3.7":"110.0.5481.208","23.3.8":"110.0.5481.208","23.3.9":"110.0.5481.208","23.3.10":"110.0.5481.208","23.3.11":"110.0.5481.208","23.3.12":"110.0.5481.208","23.3.13":"110.0.5481.208","24.0.0-alpha.1":"111.0.5560.0","24.0.0-alpha.2":"111.0.5560.0","24.0.0-alpha.3":"111.0.5560.0","24.0.0-alpha.4":"111.0.5560.0","24.0.0-alpha.5":"111.0.5560.0","24.0.0-alpha.6":"111.0.5560.0","24.0.0-alpha.7":"111.0.5560.0","24.0.0-beta.1":"111.0.5563.50","24.0.0-beta.2":"111.0.5563.50","24.0.0-beta.3":"112.0.5615.20","24.0.0-beta.4":"112.0.5615.20","24.0.0-beta.5":"112.0.5615.29","24.0.0-beta.6":"112.0.5615.39","24.0.0-beta.7":"112.0.5615.39","24.0.0":"112.0.5615.49","24.1.0":"112.0.5615.50","24.1.1":"112.0.5615.50","24.1.2":"112.0.5615.87","24.1.3":"112.0.5615.165","24.2.0":"112.0.5615.165","24.3.0":"112.0.5615.165","24.3.1":"112.0.5615.183","24.4.0":"112.0.5615.204","24.4.1":"112.0.5615.204","24.5.0":"112.0.5615.204","24.5.1":"112.0.5615.204","24.6.0":"112.0.5615.204","24.6.1":"112.0.5615.204","24.6.2":"112.0.5615.204","24.6.3":"112.0.5615.204","24.6.4":"112.0.5615.204","24.6.5":"112.0.5615.204","24.7.0":"112.0.5615.204","24.7.1":"112.0.5615.204","24.8.0":"112.0.5615.204","24.8.1":"112.0.5615.204","24.8.2":"112.0.5615.204","24.8.3":"112.0.5615.204","24.8.4":"112.0.5615.204","24.8.5":"112.0.5615.204","24.8.6":"112.0.5615.204","24.8.7":"112.0.5615.204","24.8.8":"112.0.5615.204","25.0.0-alpha.1":"114.0.5694.0","25.0.0-alpha.2":"114.0.5694.0","25.0.0-alpha.3":"114.0.5710.0","25.0.0-alpha.4":"114.0.5710.0","25.0.0-alpha.5":"114.0.5719.0","25.0.0-alpha.6":"114.0.5719.0","25.0.0-beta.1":"114.0.5719.0","25.0.0-beta.2":"114.0.5719.0","25.0.0-beta.3":"114.0.5719.0","25.0.0-beta.4":"114.0.5735.16","25.0.0-beta.5":"114.0.5735.16","25.0.0-beta.6":"114.0.5735.16","25.0.0-beta.7":"114.0.5735.16","25.0.0-beta.8":"114.0.5735.35","25.0.0-beta.9":"114.0.5735.45","25.0.0":"114.0.5735.45","25.0.1":"114.0.5735.45","25.1.0":"114.0.5735.106","25.1.1":"114.0.5735.106","25.2.0":"114.0.5735.134","25.3.0":"114.0.5735.199","25.3.1":"114.0.5735.243","25.3.2":"114.0.5735.248","25.4.0":"114.0.5735.248","25.5.0":"114.0.5735.289","25.6.0":"114.0.5735.289","25.7.0":"114.0.5735.289","25.8.0":"114.0.5735.289","25.8.1":"114.0.5735.289","25.8.2":"114.0.5735.289","25.8.3":"114.0.5735.289","25.8.4":"114.0.5735.289","25.9.0":"114.0.5735.289","25.9.1":"114.0.5735.289","25.9.2":"114.0.5735.289","25.9.3":"114.0.5735.289","25.9.4":"114.0.5735.289","25.9.5":"114.0.5735.289","25.9.6":"114.0.5735.289","25.9.7":"114.0.5735.289","25.9.8":"114.0.5735.289","26.0.0-alpha.1":"116.0.5791.0","26.0.0-alpha.2":"116.0.5791.0","26.0.0-alpha.3":"116.0.5791.0","26.0.0-alpha.4":"116.0.5791.0","26.0.0-alpha.5":"116.0.5791.0","26.0.0-alpha.6":"116.0.5815.0","26.0.0-alpha.7":"116.0.5831.0","26.0.0-alpha.8":"116.0.5845.0","26.0.0-beta.1":"116.0.5845.0","26.0.0-beta.2":"116.0.5845.14","26.0.0-beta.3":"116.0.5845.14","26.0.0-beta.4":"116.0.5845.14","26.0.0-beta.5":"116.0.5845.14","26.0.0-beta.6":"116.0.5845.14","26.0.0-beta.7":"116.0.5845.14","26.0.0-beta.8":"116.0.5845.42","26.0.0-beta.9":"116.0.5845.42","26.0.0-beta.10":"116.0.5845.49","26.0.0-beta.11":"116.0.5845.49","26.0.0-beta.12":"116.0.5845.62","26.0.0":"116.0.5845.82","26.1.0":"116.0.5845.97","26.2.0":"116.0.5845.179","26.2.1":"116.0.5845.188","26.2.2":"116.0.5845.190","26.2.3":"116.0.5845.190","26.2.4":"116.0.5845.190","26.3.0":"116.0.5845.228","26.4.0":"116.0.5845.228","26.4.1":"116.0.5845.228","26.4.2":"116.0.5845.228","26.4.3":"116.0.5845.228","26.5.0":"116.0.5845.228","26.6.0":"116.0.5845.228","26.6.1":"116.0.5845.228","26.6.2":"116.0.5845.228","26.6.3":"116.0.5845.228","26.6.4":"116.0.5845.228","26.6.5":"116.0.5845.228","26.6.6":"116.0.5845.228","26.6.7":"116.0.5845.228","26.6.8":"116.0.5845.228","26.6.9":"116.0.5845.228","26.6.10":"116.0.5845.228","27.0.0-alpha.1":"118.0.5949.0","27.0.0-alpha.2":"118.0.5949.0","27.0.0-alpha.3":"118.0.5949.0","27.0.0-alpha.4":"118.0.5949.0","27.0.0-alpha.5":"118.0.5949.0","27.0.0-alpha.6":"118.0.5949.0","27.0.0-beta.1":"118.0.5993.5","27.0.0-beta.2":"118.0.5993.5","27.0.0-beta.3":"118.0.5993.5","27.0.0-beta.4":"118.0.5993.11","27.0.0-beta.5":"118.0.5993.18","27.0.0-beta.6":"118.0.5993.18","27.0.0-beta.7":"118.0.5993.18","27.0.0-beta.8":"118.0.5993.18","27.0.0-beta.9":"118.0.5993.18","27.0.0":"118.0.5993.54","27.0.1":"118.0.5993.89","27.0.2":"118.0.5993.89","27.0.3":"118.0.5993.120","27.0.4":"118.0.5993.129","27.1.0":"118.0.5993.144","27.1.2":"118.0.5993.144","27.1.3":"118.0.5993.159","27.2.0":"118.0.5993.159","27.2.1":"118.0.5993.159","27.2.2":"118.0.5993.159","27.2.3":"118.0.5993.159","27.2.4":"118.0.5993.159","27.3.0":"118.0.5993.159","27.3.1":"118.0.5993.159","27.3.2":"118.0.5993.159","27.3.3":"118.0.5993.159","27.3.4":"118.0.5993.159","27.3.5":"118.0.5993.159","27.3.6":"118.0.5993.159","27.3.7":"118.0.5993.159","27.3.8":"118.0.5993.159","27.3.9":"118.0.5993.159","27.3.10":"118.0.5993.159","27.3.11":"118.0.5993.159","28.0.0-alpha.1":"119.0.6045.0","28.0.0-alpha.2":"119.0.6045.0","28.0.0-alpha.3":"119.0.6045.21","28.0.0-alpha.4":"119.0.6045.21","28.0.0-alpha.5":"119.0.6045.33","28.0.0-alpha.6":"119.0.6045.33","28.0.0-alpha.7":"119.0.6045.33","28.0.0-beta.1":"119.0.6045.33","28.0.0-beta.2":"120.0.6099.0","28.0.0-beta.3":"120.0.6099.5","28.0.0-beta.4":"120.0.6099.5","28.0.0-beta.5":"120.0.6099.18","28.0.0-beta.6":"120.0.6099.18","28.0.0-beta.7":"120.0.6099.18","28.0.0-beta.8":"120.0.6099.18","28.0.0-beta.9":"120.0.6099.18","28.0.0-beta.10":"120.0.6099.18","28.0.0-beta.11":"120.0.6099.35","28.0.0":"120.0.6099.56","28.1.0":"120.0.6099.109","28.1.1":"120.0.6099.109","28.1.2":"120.0.6099.199","28.1.3":"120.0.6099.199","28.1.4":"120.0.6099.216","28.2.0":"120.0.6099.227","28.2.1":"120.0.6099.268","28.2.2":"120.0.6099.276","28.2.3":"120.0.6099.283","28.2.4":"120.0.6099.291","28.2.5":"120.0.6099.291","28.2.6":"120.0.6099.291","28.2.7":"120.0.6099.291","28.2.8":"120.0.6099.291","28.2.9":"120.0.6099.291","28.2.10":"120.0.6099.291","28.3.0":"120.0.6099.291","28.3.1":"120.0.6099.291","28.3.2":"120.0.6099.291","28.3.3":"120.0.6099.291","29.0.0-alpha.1":"121.0.6147.0","29.0.0-alpha.2":"121.0.6147.0","29.0.0-alpha.3":"121.0.6147.0","29.0.0-alpha.4":"121.0.6159.0","29.0.0-alpha.5":"121.0.6159.0","29.0.0-alpha.6":"121.0.6159.0","29.0.0-alpha.7":"121.0.6159.0","29.0.0-alpha.8":"122.0.6194.0","29.0.0-alpha.9":"122.0.6236.2","29.0.0-alpha.10":"122.0.6236.2","29.0.0-alpha.11":"122.0.6236.2","29.0.0-beta.1":"122.0.6236.2","29.0.0-beta.2":"122.0.6236.2","29.0.0-beta.3":"122.0.6261.6","29.0.0-beta.4":"122.0.6261.6","29.0.0-beta.5":"122.0.6261.18","29.0.0-beta.6":"122.0.6261.18","29.0.0-beta.7":"122.0.6261.18","29.0.0-beta.8":"122.0.6261.18","29.0.0-beta.9":"122.0.6261.18","29.0.0-beta.10":"122.0.6261.18","29.0.0-beta.11":"122.0.6261.18","29.0.0-beta.12":"122.0.6261.29","29.0.0":"122.0.6261.39","29.0.1":"122.0.6261.57","29.1.0":"122.0.6261.70","29.1.1":"122.0.6261.111","29.1.2":"122.0.6261.112","29.1.3":"122.0.6261.112","29.1.4":"122.0.6261.129","29.1.5":"122.0.6261.130","29.1.6":"122.0.6261.139","29.2.0":"122.0.6261.156","29.3.0":"122.0.6261.156","29.3.1":"122.0.6261.156","29.3.2":"122.0.6261.156","29.3.3":"122.0.6261.156","29.4.0":"122.0.6261.156","29.4.1":"122.0.6261.156","29.4.2":"122.0.6261.156","29.4.3":"122.0.6261.156","29.4.4":"122.0.6261.156","29.4.5":"122.0.6261.156","29.4.6":"122.0.6261.156","30.0.0-alpha.1":"123.0.6296.0","30.0.0-alpha.2":"123.0.6312.5","30.0.0-alpha.3":"124.0.6323.0","30.0.0-alpha.4":"124.0.6323.0","30.0.0-alpha.5":"124.0.6331.0","30.0.0-alpha.6":"124.0.6331.0","30.0.0-alpha.7":"124.0.6353.0","30.0.0-beta.1":"124.0.6359.0","30.0.0-beta.2":"124.0.6359.0","30.0.0-beta.3":"124.0.6367.9","30.0.0-beta.4":"124.0.6367.9","30.0.0-beta.5":"124.0.6367.9","30.0.0-beta.6":"124.0.6367.18","30.0.0-beta.7":"124.0.6367.29","30.0.0-beta.8":"124.0.6367.29","30.0.0":"124.0.6367.49","30.0.1":"124.0.6367.60","30.0.2":"124.0.6367.91","30.0.3":"124.0.6367.119","30.0.4":"124.0.6367.201","30.0.5":"124.0.6367.207","30.0.6":"124.0.6367.207","30.0.7":"124.0.6367.221","30.0.8":"124.0.6367.230","30.0.9":"124.0.6367.233","30.1.0":"124.0.6367.243","30.1.1":"124.0.6367.243","30.1.2":"124.0.6367.243","30.2.0":"124.0.6367.243","30.3.0":"124.0.6367.243","30.3.1":"124.0.6367.243","30.4.0":"124.0.6367.243","30.5.0":"124.0.6367.243","30.5.1":"124.0.6367.243","31.0.0-alpha.1":"125.0.6412.0","31.0.0-alpha.2":"125.0.6412.0","31.0.0-alpha.3":"125.0.6412.0","31.0.0-alpha.4":"125.0.6412.0","31.0.0-alpha.5":"125.0.6412.0","31.0.0-beta.1":"126.0.6445.0","31.0.0-beta.2":"126.0.6445.0","31.0.0-beta.3":"126.0.6445.0","31.0.0-beta.4":"126.0.6445.0","31.0.0-beta.5":"126.0.6445.0","31.0.0-beta.6":"126.0.6445.0","31.0.0-beta.7":"126.0.6445.0","31.0.0-beta.8":"126.0.6445.0","31.0.0-beta.9":"126.0.6445.0","31.0.0-beta.10":"126.0.6478.36","31.0.0":"126.0.6478.36","31.0.1":"126.0.6478.36","31.0.2":"126.0.6478.61","31.1.0":"126.0.6478.114","31.2.0":"126.0.6478.127","31.2.1":"126.0.6478.127","31.3.0":"126.0.6478.183","31.3.1":"126.0.6478.185","31.4.0":"126.0.6478.234","31.5.0":"126.0.6478.234","31.6.0":"126.0.6478.234","31.7.0":"126.0.6478.234","31.7.1":"126.0.6478.234","31.7.2":"126.0.6478.234","31.7.3":"126.0.6478.234","31.7.4":"126.0.6478.234","31.7.5":"126.0.6478.234","31.7.6":"126.0.6478.234","31.7.7":"126.0.6478.234","32.0.0-alpha.1":"127.0.6521.0","32.0.0-alpha.2":"127.0.6521.0","32.0.0-alpha.3":"127.0.6521.0","32.0.0-alpha.4":"127.0.6521.0","32.0.0-alpha.5":"127.0.6521.0","32.0.0-alpha.6":"128.0.6571.0","32.0.0-alpha.7":"128.0.6571.0","32.0.0-alpha.8":"128.0.6573.0","32.0.0-alpha.9":"128.0.6573.0","32.0.0-alpha.10":"128.0.6573.0","32.0.0-beta.1":"128.0.6573.0","32.0.0-beta.2":"128.0.6611.0","32.0.0-beta.3":"128.0.6613.7","32.0.0-beta.4":"128.0.6613.18","32.0.0-beta.5":"128.0.6613.27","32.0.0-beta.6":"128.0.6613.27","32.0.0-beta.7":"128.0.6613.27","32.0.0":"128.0.6613.36","32.0.1":"128.0.6613.36","32.0.2":"128.0.6613.84","32.1.0":"128.0.6613.120","32.1.1":"128.0.6613.137","32.1.2":"128.0.6613.162","32.2.0":"128.0.6613.178","32.2.1":"128.0.6613.186","32.2.2":"128.0.6613.186","32.2.3":"128.0.6613.186","32.2.4":"128.0.6613.186","32.2.5":"128.0.6613.186","32.2.6":"128.0.6613.186","32.2.7":"128.0.6613.186","32.2.8":"128.0.6613.186","32.3.0":"128.0.6613.186","32.3.1":"128.0.6613.186","32.3.2":"128.0.6613.186","32.3.3":"128.0.6613.186","33.0.0-alpha.1":"129.0.6668.0","33.0.0-alpha.2":"130.0.6672.0","33.0.0-alpha.3":"130.0.6672.0","33.0.0-alpha.4":"130.0.6672.0","33.0.0-alpha.5":"130.0.6672.0","33.0.0-alpha.6":"130.0.6672.0","33.0.0-beta.1":"130.0.6672.0","33.0.0-beta.2":"130.0.6672.0","33.0.0-beta.3":"130.0.6672.0","33.0.0-beta.4":"130.0.6672.0","33.0.0-beta.5":"130.0.6723.19","33.0.0-beta.6":"130.0.6723.19","33.0.0-beta.7":"130.0.6723.19","33.0.0-beta.8":"130.0.6723.31","33.0.0-beta.9":"130.0.6723.31","33.0.0-beta.10":"130.0.6723.31","33.0.0-beta.11":"130.0.6723.44","33.0.0":"130.0.6723.44","33.0.1":"130.0.6723.59","33.0.2":"130.0.6723.59","33.1.0":"130.0.6723.91","33.2.0":"130.0.6723.118","33.2.1":"130.0.6723.137","33.3.0":"130.0.6723.152","33.3.1":"130.0.6723.170","33.3.2":"130.0.6723.191","33.4.0":"130.0.6723.191","33.4.1":"130.0.6723.191","33.4.2":"130.0.6723.191","33.4.3":"130.0.6723.191","33.4.4":"130.0.6723.191","33.4.5":"130.0.6723.191","33.4.6":"130.0.6723.191","33.4.7":"130.0.6723.191","33.4.8":"130.0.6723.191","33.4.9":"130.0.6723.191","33.4.10":"130.0.6723.191","33.4.11":"130.0.6723.191","34.0.0-alpha.1":"131.0.6776.0","34.0.0-alpha.2":"132.0.6779.0","34.0.0-alpha.3":"132.0.6789.1","34.0.0-alpha.4":"132.0.6789.1","34.0.0-alpha.5":"132.0.6789.1","34.0.0-alpha.6":"132.0.6789.1","34.0.0-alpha.7":"132.0.6789.1","34.0.0-alpha.8":"132.0.6820.0","34.0.0-alpha.9":"132.0.6824.0","34.0.0-beta.1":"132.0.6824.0","34.0.0-beta.2":"132.0.6824.0","34.0.0-beta.3":"132.0.6824.0","34.0.0-beta.4":"132.0.6834.6","34.0.0-beta.5":"132.0.6834.6","34.0.0-beta.6":"132.0.6834.15","34.0.0-beta.7":"132.0.6834.15","34.0.0-beta.8":"132.0.6834.15","34.0.0-beta.9":"132.0.6834.32","34.0.0-beta.10":"132.0.6834.32","34.0.0-beta.11":"132.0.6834.32","34.0.0-beta.12":"132.0.6834.46","34.0.0-beta.13":"132.0.6834.46","34.0.0-beta.14":"132.0.6834.57","34.0.0-beta.15":"132.0.6834.57","34.0.0-beta.16":"132.0.6834.57","34.0.0":"132.0.6834.83","34.0.1":"132.0.6834.83","34.0.2":"132.0.6834.159","34.1.0":"132.0.6834.194","34.1.1":"132.0.6834.194","34.2.0":"132.0.6834.196","34.3.0":"132.0.6834.210","34.3.1":"132.0.6834.210","34.3.2":"132.0.6834.210","34.3.3":"132.0.6834.210","34.3.4":"132.0.6834.210","34.4.0":"132.0.6834.210","34.4.1":"132.0.6834.210","34.5.0":"132.0.6834.210","34.5.1":"132.0.6834.210","34.5.2":"132.0.6834.210","34.5.3":"132.0.6834.210","34.5.4":"132.0.6834.210","34.5.5":"132.0.6834.210","34.5.6":"132.0.6834.210","34.5.7":"132.0.6834.210","34.5.8":"132.0.6834.210","35.0.0-alpha.1":"133.0.6920.0","35.0.0-alpha.2":"133.0.6920.0","35.0.0-alpha.3":"133.0.6920.0","35.0.0-alpha.4":"133.0.6920.0","35.0.0-alpha.5":"133.0.6920.0","35.0.0-beta.1":"133.0.6920.0","35.0.0-beta.2":"134.0.6968.0","35.0.0-beta.3":"134.0.6968.0","35.0.0-beta.4":"134.0.6968.0","35.0.0-beta.5":"134.0.6989.0","35.0.0-beta.6":"134.0.6990.0","35.0.0-beta.7":"134.0.6990.0","35.0.0-beta.8":"134.0.6998.10","35.0.0-beta.9":"134.0.6998.10","35.0.0-beta.10":"134.0.6998.23","35.0.0-beta.11":"134.0.6998.23","35.0.0-beta.12":"134.0.6998.23","35.0.0-beta.13":"134.0.6998.44","35.0.0":"134.0.6998.44","35.0.1":"134.0.6998.44","35.0.2":"134.0.6998.88","35.0.3":"134.0.6998.88","35.1.0":"134.0.6998.165","35.1.1":"134.0.6998.165","35.1.2":"134.0.6998.178","35.1.3":"134.0.6998.179","35.1.4":"134.0.6998.179","35.1.5":"134.0.6998.179","35.2.0":"134.0.6998.205","35.2.1":"134.0.6998.205","35.2.2":"134.0.6998.205","35.3.0":"134.0.6998.205","35.4.0":"134.0.6998.205","35.5.0":"134.0.6998.205","35.5.1":"134.0.6998.205","35.6.0":"134.0.6998.205","35.7.0":"134.0.6998.205","35.7.1":"134.0.6998.205","35.7.2":"134.0.6998.205","35.7.4":"134.0.6998.205","35.7.5":"134.0.6998.205","36.0.0-alpha.1":"135.0.7049.5","36.0.0-alpha.2":"136.0.7062.0","36.0.0-alpha.3":"136.0.7062.0","36.0.0-alpha.4":"136.0.7062.0","36.0.0-alpha.5":"136.0.7067.0","36.0.0-alpha.6":"136.0.7067.0","36.0.0-beta.1":"136.0.7067.0","36.0.0-beta.2":"136.0.7067.0","36.0.0-beta.3":"136.0.7067.0","36.0.0-beta.4":"136.0.7067.0","36.0.0-beta.5":"136.0.7103.17","36.0.0-beta.6":"136.0.7103.25","36.0.0-beta.7":"136.0.7103.25","36.0.0-beta.8":"136.0.7103.33","36.0.0-beta.9":"136.0.7103.33","36.0.0":"136.0.7103.48","36.0.1":"136.0.7103.48","36.1.0":"136.0.7103.49","36.2.0":"136.0.7103.49","36.2.1":"136.0.7103.93","36.3.0":"136.0.7103.113","36.3.1":"136.0.7103.113","36.3.2":"136.0.7103.115","36.4.0":"136.0.7103.149","36.5.0":"136.0.7103.168","36.6.0":"136.0.7103.177","36.7.0":"136.0.7103.177","36.7.1":"136.0.7103.177","36.7.3":"136.0.7103.177","36.7.4":"136.0.7103.177","36.8.0":"136.0.7103.177","36.8.1":"136.0.7103.177","36.9.0":"136.0.7103.177","36.9.1":"136.0.7103.177","36.9.2":"136.0.7103.177","36.9.3":"136.0.7103.177","36.9.4":"136.0.7103.177","36.9.5":"136.0.7103.177","37.0.0-alpha.1":"137.0.7151.0","37.0.0-alpha.2":"137.0.7151.0","37.0.0-alpha.3":"138.0.7156.0","37.0.0-alpha.4":"138.0.7165.0","37.0.0-alpha.5":"138.0.7177.0","37.0.0-alpha.6":"138.0.7178.0","37.0.0-alpha.7":"138.0.7178.0","37.0.0-beta.1":"138.0.7178.0","37.0.0-beta.2":"138.0.7178.0","37.0.0-beta.3":"138.0.7190.0","37.0.0-beta.4":"138.0.7204.15","37.0.0-beta.5":"138.0.7204.15","37.0.0-beta.6":"138.0.7204.15","37.0.0-beta.7":"138.0.7204.15","37.0.0-beta.8":"138.0.7204.23","37.0.0-beta.9":"138.0.7204.35","37.0.0":"138.0.7204.35","37.1.0":"138.0.7204.35","37.2.0":"138.0.7204.97","37.2.1":"138.0.7204.97","37.2.2":"138.0.7204.100","37.2.3":"138.0.7204.100","37.2.4":"138.0.7204.157","37.2.5":"138.0.7204.168","37.2.6":"138.0.7204.185","37.3.0":"138.0.7204.224","37.3.1":"138.0.7204.235","37.4.0":"138.0.7204.243","37.5.0":"138.0.7204.251","37.5.1":"138.0.7204.251","37.6.0":"138.0.7204.251","37.6.1":"138.0.7204.251","37.7.0":"138.0.7204.251","37.7.1":"138.0.7204.251","37.8.0":"138.0.7204.251","37.9.0":"138.0.7204.251","37.10.0":"138.0.7204.251","37.10.1":"138.0.7204.251","37.10.2":"138.0.7204.251","37.10.3":"138.0.7204.251","38.0.0-alpha.1":"139.0.7219.0","38.0.0-alpha.2":"139.0.7219.0","38.0.0-alpha.3":"139.0.7219.0","38.0.0-alpha.4":"140.0.7261.0","38.0.0-alpha.5":"140.0.7261.0","38.0.0-alpha.6":"140.0.7261.0","38.0.0-alpha.7":"140.0.7281.0","38.0.0-alpha.8":"140.0.7281.0","38.0.0-alpha.9":"140.0.7301.0","38.0.0-alpha.10":"140.0.7309.0","38.0.0-alpha.11":"140.0.7312.0","38.0.0-alpha.12":"140.0.7314.0","38.0.0-alpha.13":"140.0.7314.0","38.0.0-beta.1":"140.0.7314.0","38.0.0-beta.2":"140.0.7327.0","38.0.0-beta.3":"140.0.7327.0","38.0.0-beta.4":"140.0.7339.2","38.0.0-beta.5":"140.0.7339.2","38.0.0-beta.6":"140.0.7339.2","38.0.0-beta.7":"140.0.7339.16","38.0.0-beta.8":"140.0.7339.24","38.0.0-beta.9":"140.0.7339.24","38.0.0-beta.11":"140.0.7339.41","38.0.0":"140.0.7339.41","38.1.0":"140.0.7339.80","38.1.1":"140.0.7339.133","38.1.2":"140.0.7339.133","38.2.0":"140.0.7339.133","38.2.1":"140.0.7339.133","38.2.2":"140.0.7339.133","38.3.0":"140.0.7339.240","38.4.0":"140.0.7339.240","38.5.0":"140.0.7339.249","38.6.0":"140.0.7339.249","38.7.0":"140.0.7339.249","38.7.1":"140.0.7339.249","38.7.2":"140.0.7339.249","38.8.0":"140.0.7339.249","38.8.1":"140.0.7339.249","38.8.2":"140.0.7339.249","38.8.4":"140.0.7339.249","38.8.6":"140.0.7339.249","39.0.0-alpha.1":"141.0.7361.0","39.0.0-alpha.2":"141.0.7361.0","39.0.0-alpha.3":"141.0.7390.7","39.0.0-alpha.4":"141.0.7390.7","39.0.0-alpha.5":"141.0.7390.7","39.0.0-alpha.6":"142.0.7417.0","39.0.0-alpha.7":"142.0.7417.0","39.0.0-alpha.8":"142.0.7417.0","39.0.0-alpha.9":"142.0.7417.0","39.0.0-beta.1":"142.0.7417.0","39.0.0-beta.2":"142.0.7417.0","39.0.0-beta.3":"142.0.7417.0","39.0.0-beta.4":"142.0.7444.34","39.0.0-beta.5":"142.0.7444.34","39.0.0":"142.0.7444.52","39.1.0":"142.0.7444.59","39.1.1":"142.0.7444.59","39.1.2":"142.0.7444.134","39.2.0":"142.0.7444.162","39.2.1":"142.0.7444.162","39.2.2":"142.0.7444.162","39.2.3":"142.0.7444.175","39.2.4":"142.0.7444.177","39.2.5":"142.0.7444.177","39.2.6":"142.0.7444.226","39.2.7":"142.0.7444.235","39.3.0":"142.0.7444.265","39.4.0":"142.0.7444.265","39.5.0":"142.0.7444.265","39.5.1":"142.0.7444.265","39.5.2":"142.0.7444.265","39.6.0":"142.0.7444.265","39.6.1":"142.0.7444.265","39.7.0":"142.0.7444.265","39.8.0":"142.0.7444.265","39.8.1":"142.0.7444.265","39.8.2":"142.0.7444.265","39.8.3":"142.0.7444.265","39.8.4":"142.0.7444.265","39.8.5":"142.0.7444.265","40.0.0-alpha.2":"143.0.7499.0","40.0.0-alpha.4":"144.0.7506.0","40.0.0-alpha.5":"144.0.7526.0","40.0.0-alpha.6":"144.0.7526.0","40.0.0-alpha.7":"144.0.7526.0","40.0.0-alpha.8":"144.0.7526.0","40.0.0-beta.1":"144.0.7527.0","40.0.0-beta.2":"144.0.7527.0","40.0.0-beta.3":"144.0.7547.0","40.0.0-beta.4":"144.0.7547.0","40.0.0-beta.5":"144.0.7547.0","40.0.0-beta.6":"144.0.7559.31","40.0.0-beta.7":"144.0.7559.31","40.0.0-beta.8":"144.0.7559.31","40.0.0-beta.9":"144.0.7559.60","40.0.0":"144.0.7559.60","40.1.0":"144.0.7559.96","40.2.0":"144.0.7559.111","40.2.1":"144.0.7559.111","40.3.0":"144.0.7559.134","40.4.0":"144.0.7559.134","40.4.1":"144.0.7559.173","40.5.0":"144.0.7559.177","40.6.0":"144.0.7559.177","40.6.1":"144.0.7559.220","40.7.0":"144.0.7559.225","40.8.0":"144.0.7559.236","40.8.1":"144.0.7559.236","40.8.2":"144.0.7559.236","40.8.3":"144.0.7559.236","40.8.4":"144.0.7559.236","40.8.5":"144.0.7559.236","41.0.0-alpha.1":"146.0.7635.0","41.0.0-alpha.2":"146.0.7635.0","41.0.0-alpha.3":"146.0.7645.0","41.0.0-alpha.4":"146.0.7650.0","41.0.0-alpha.5":"146.0.7650.0","41.0.0-alpha.6":"146.0.7650.0","41.0.0-beta.1":"146.0.7650.0","41.0.0-beta.2":"146.0.7650.0","41.0.0-beta.3":"146.0.7650.0","41.0.0-beta.4":"146.0.7666.0","41.0.0-beta.5":"146.0.7680.16","41.0.0-beta.6":"146.0.7680.16","41.0.0-beta.7":"146.0.7680.31","41.0.0-beta.8":"146.0.7680.31","41.0.0":"146.0.7680.65","41.0.1":"146.0.7680.72","41.0.2":"146.0.7680.72","41.0.3":"146.0.7680.80","41.0.4":"146.0.7680.153","41.1.0":"146.0.7680.166","42.0.0-alpha.1":"147.0.7727.0","42.0.0-alpha.2":"148.0.7733.0","42.0.0-alpha.4":"148.0.7738.0","42.0.0-alpha.5":"148.0.7741.0"} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/electron-to-chromium/index.js b/lambdas/risk-engine/node_modules/electron-to-chromium/index.js deleted file mode 100644 index 1818281f..00000000 --- a/lambdas/risk-engine/node_modules/electron-to-chromium/index.js +++ /dev/null @@ -1,36 +0,0 @@ -var versions = require('./versions'); -var fullVersions = require('./full-versions'); -var chromiumVersions = require('./chromium-versions'); -var fullChromiumVersions = require('./full-chromium-versions'); - -var electronToChromium = function (query) { - var number = getQueryString(query); - return number.split('.').length > 2 ? fullVersions[number] : versions[number] || undefined; -}; - -var chromiumToElectron = function (query) { - var number = getQueryString(query); - return number.split('.').length > 2 ? fullChromiumVersions[number] : chromiumVersions[number] || undefined; -}; - -var electronToBrowserList = function (query) { - var number = getQueryString(query); - return versions[number] ? "Chrome >= " + versions[number] : undefined; -}; - -var getQueryString = function (query) { - var number = query; - if (query === 1) { number = "1.0" } - if (typeof query === 'number') { number += ''; } - return number; -}; - -module.exports = { - versions: versions, - fullVersions: fullVersions, - chromiumVersions: chromiumVersions, - fullChromiumVersions: fullChromiumVersions, - electronToChromium: electronToChromium, - electronToBrowserList: electronToBrowserList, - chromiumToElectron: chromiumToElectron -}; diff --git a/lambdas/risk-engine/node_modules/electron-to-chromium/package.json b/lambdas/risk-engine/node_modules/electron-to-chromium/package.json deleted file mode 100644 index 7c092f1f..00000000 --- a/lambdas/risk-engine/node_modules/electron-to-chromium/package.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "electron-to-chromium", - "version": "1.5.328", - "description": "Provides a list of electron-to-chromium version mappings", - "main": "index.js", - "files": [ - "versions.js", - "full-versions.js", - "chromium-versions.js", - "full-chromium-versions.js", - "versions.json", - "full-versions.json", - "chromium-versions.json", - "full-chromium-versions.json", - "LICENSE" - ], - "scripts": { - "build": "node build.mjs", - "update": "node automated-update.js", - "test": "nyc ava --verbose", - "report": "nyc report --reporter=text-lcov > coverage.lcov" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/Kilian/electron-to-chromium.git" - }, - "keywords": [ - "electron", - "chrome", - "chromium", - "browserslist", - "browserlist" - ], - "author": "Kilian Valkhof", - "license": "ISC", - "devDependencies": { - "ava": "^7.0.0", - "compare-versions": "^6.1.1", - "node-fetch": "^3.3.2", - "nyc": "^18.0.0", - "shelljs": "^0.10.0" - } -} diff --git a/lambdas/risk-engine/node_modules/electron-to-chromium/versions.js b/lambdas/risk-engine/node_modules/electron-to-chromium/versions.js deleted file mode 100644 index e641c11e..00000000 --- a/lambdas/risk-engine/node_modules/electron-to-chromium/versions.js +++ /dev/null @@ -1,242 +0,0 @@ -module.exports = { - "0.20": "39", - "0.21": "41", - "0.22": "41", - "0.23": "41", - "0.24": "41", - "0.25": "42", - "0.26": "42", - "0.27": "43", - "0.28": "43", - "0.29": "43", - "0.30": "44", - "0.31": "45", - "0.32": "45", - "0.33": "45", - "0.34": "45", - "0.35": "45", - "0.36": "47", - "0.37": "49", - "1.0": "49", - "1.1": "50", - "1.2": "51", - "1.3": "52", - "1.4": "53", - "1.5": "54", - "1.6": "56", - "1.7": "58", - "1.8": "59", - "2.0": "61", - "2.1": "61", - "3.0": "66", - "3.1": "66", - "4.0": "69", - "4.1": "69", - "4.2": "69", - "5.0": "73", - "6.0": "76", - "6.1": "76", - "7.0": "78", - "7.1": "78", - "7.2": "78", - "7.3": "78", - "8.0": "80", - "8.1": "80", - "8.2": "80", - "8.3": "80", - "8.4": "80", - "8.5": "80", - "9.0": "83", - "9.1": "83", - "9.2": "83", - "9.3": "83", - "9.4": "83", - "10.0": "85", - "10.1": "85", - "10.2": "85", - "10.3": "85", - "10.4": "85", - "11.0": "87", - "11.1": "87", - "11.2": "87", - "11.3": "87", - "11.4": "87", - "11.5": "87", - "12.0": "89", - "12.1": "89", - "12.2": "89", - "13.0": "91", - "13.1": "91", - "13.2": "91", - "13.3": "91", - "13.4": "91", - "13.5": "91", - "13.6": "91", - "14.0": "93", - "14.1": "93", - "14.2": "93", - "15.0": "94", - "15.1": "94", - "15.2": "94", - "15.3": "94", - "15.4": "94", - "15.5": "94", - "16.0": "96", - "16.1": "96", - "16.2": "96", - "17.0": "98", - "17.1": "98", - "17.2": "98", - "17.3": "98", - "17.4": "98", - "18.0": "100", - "18.1": "100", - "18.2": "100", - "18.3": "100", - "19.0": "102", - "19.1": "102", - "20.0": "104", - "20.1": "104", - "20.2": "104", - "20.3": "104", - "21.0": "106", - "21.1": "106", - "21.2": "106", - "21.3": "106", - "21.4": "106", - "22.0": "108", - "22.1": "108", - "22.2": "108", - "22.3": "108", - "23.0": "110", - "23.1": "110", - "23.2": "110", - "23.3": "110", - "24.0": "112", - "24.1": "112", - "24.2": "112", - "24.3": "112", - "24.4": "112", - "24.5": "112", - "24.6": "112", - "24.7": "112", - "24.8": "112", - "25.0": "114", - "25.1": "114", - "25.2": "114", - "25.3": "114", - "25.4": "114", - "25.5": "114", - "25.6": "114", - "25.7": "114", - "25.8": "114", - "25.9": "114", - "26.0": "116", - "26.1": "116", - "26.2": "116", - "26.3": "116", - "26.4": "116", - "26.5": "116", - "26.6": "116", - "27.0": "118", - "27.1": "118", - "27.2": "118", - "27.3": "118", - "28.0": "120", - "28.1": "120", - "28.2": "120", - "28.3": "120", - "29.0": "122", - "29.1": "122", - "29.2": "122", - "29.3": "122", - "29.4": "122", - "30.0": "124", - "30.1": "124", - "30.2": "124", - "30.3": "124", - "30.4": "124", - "30.5": "124", - "31.0": "126", - "31.1": "126", - "31.2": "126", - "31.3": "126", - "31.4": "126", - "31.5": "126", - "31.6": "126", - "31.7": "126", - "32.0": "128", - "32.1": "128", - "32.2": "128", - "32.3": "128", - "33.0": "130", - "33.1": "130", - "33.2": "130", - "33.3": "130", - "33.4": "130", - "34.0": "132", - "34.1": "132", - "34.2": "132", - "34.3": "132", - "34.4": "132", - "34.5": "132", - "35.0": "134", - "35.1": "134", - "35.2": "134", - "35.3": "134", - "35.4": "134", - "35.5": "134", - "35.6": "134", - "35.7": "134", - "36.0": "136", - "36.1": "136", - "36.2": "136", - "36.3": "136", - "36.4": "136", - "36.5": "136", - "36.6": "136", - "36.7": "136", - "36.8": "136", - "36.9": "136", - "37.0": "138", - "37.1": "138", - "37.2": "138", - "37.3": "138", - "37.4": "138", - "37.5": "138", - "37.6": "138", - "37.7": "138", - "37.8": "138", - "37.9": "138", - "37.10": "138", - "38.0": "140", - "38.1": "140", - "38.2": "140", - "38.3": "140", - "38.4": "140", - "38.5": "140", - "38.6": "140", - "38.7": "140", - "38.8": "140", - "39.0": "142", - "39.1": "142", - "39.2": "142", - "39.3": "142", - "39.4": "142", - "39.5": "142", - "39.6": "142", - "39.7": "142", - "39.8": "142", - "40.0": "144", - "40.1": "144", - "40.2": "144", - "40.3": "144", - "40.4": "144", - "40.5": "144", - "40.6": "144", - "40.7": "144", - "40.8": "144", - "41.0": "146", - "41.1": "146", - "42.0": "148" -}; \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/electron-to-chromium/versions.json b/lambdas/risk-engine/node_modules/electron-to-chromium/versions.json deleted file mode 100644 index 7c302971..00000000 --- a/lambdas/risk-engine/node_modules/electron-to-chromium/versions.json +++ /dev/null @@ -1 +0,0 @@ -{"0.20":"39","0.21":"41","0.22":"41","0.23":"41","0.24":"41","0.25":"42","0.26":"42","0.27":"43","0.28":"43","0.29":"43","0.30":"44","0.31":"45","0.32":"45","0.33":"45","0.34":"45","0.35":"45","0.36":"47","0.37":"49","1.0":"49","1.1":"50","1.2":"51","1.3":"52","1.4":"53","1.5":"54","1.6":"56","1.7":"58","1.8":"59","2.0":"61","2.1":"61","3.0":"66","3.1":"66","4.0":"69","4.1":"69","4.2":"69","5.0":"73","6.0":"76","6.1":"76","7.0":"78","7.1":"78","7.2":"78","7.3":"78","8.0":"80","8.1":"80","8.2":"80","8.3":"80","8.4":"80","8.5":"80","9.0":"83","9.1":"83","9.2":"83","9.3":"83","9.4":"83","10.0":"85","10.1":"85","10.2":"85","10.3":"85","10.4":"85","11.0":"87","11.1":"87","11.2":"87","11.3":"87","11.4":"87","11.5":"87","12.0":"89","12.1":"89","12.2":"89","13.0":"91","13.1":"91","13.2":"91","13.3":"91","13.4":"91","13.5":"91","13.6":"91","14.0":"93","14.1":"93","14.2":"93","15.0":"94","15.1":"94","15.2":"94","15.3":"94","15.4":"94","15.5":"94","16.0":"96","16.1":"96","16.2":"96","17.0":"98","17.1":"98","17.2":"98","17.3":"98","17.4":"98","18.0":"100","18.1":"100","18.2":"100","18.3":"100","19.0":"102","19.1":"102","20.0":"104","20.1":"104","20.2":"104","20.3":"104","21.0":"106","21.1":"106","21.2":"106","21.3":"106","21.4":"106","22.0":"108","22.1":"108","22.2":"108","22.3":"108","23.0":"110","23.1":"110","23.2":"110","23.3":"110","24.0":"112","24.1":"112","24.2":"112","24.3":"112","24.4":"112","24.5":"112","24.6":"112","24.7":"112","24.8":"112","25.0":"114","25.1":"114","25.2":"114","25.3":"114","25.4":"114","25.5":"114","25.6":"114","25.7":"114","25.8":"114","25.9":"114","26.0":"116","26.1":"116","26.2":"116","26.3":"116","26.4":"116","26.5":"116","26.6":"116","27.0":"118","27.1":"118","27.2":"118","27.3":"118","28.0":"120","28.1":"120","28.2":"120","28.3":"120","29.0":"122","29.1":"122","29.2":"122","29.3":"122","29.4":"122","30.0":"124","30.1":"124","30.2":"124","30.3":"124","30.4":"124","30.5":"124","31.0":"126","31.1":"126","31.2":"126","31.3":"126","31.4":"126","31.5":"126","31.6":"126","31.7":"126","32.0":"128","32.1":"128","32.2":"128","32.3":"128","33.0":"130","33.1":"130","33.2":"130","33.3":"130","33.4":"130","34.0":"132","34.1":"132","34.2":"132","34.3":"132","34.4":"132","34.5":"132","35.0":"134","35.1":"134","35.2":"134","35.3":"134","35.4":"134","35.5":"134","35.6":"134","35.7":"134","36.0":"136","36.1":"136","36.2":"136","36.3":"136","36.4":"136","36.5":"136","36.6":"136","36.7":"136","36.8":"136","36.9":"136","37.0":"138","37.1":"138","37.2":"138","37.3":"138","37.4":"138","37.5":"138","37.6":"138","37.7":"138","37.8":"138","37.9":"138","37.10":"138","38.0":"140","38.1":"140","38.2":"140","38.3":"140","38.4":"140","38.5":"140","38.6":"140","38.7":"140","38.8":"140","39.0":"142","39.1":"142","39.2":"142","39.3":"142","39.4":"142","39.5":"142","39.6":"142","39.7":"142","39.8":"142","40.0":"144","40.1":"144","40.2":"144","40.3":"144","40.4":"144","40.5":"144","40.6":"144","40.7":"144","40.8":"144","41.0":"146","41.1":"146","42.0":"148"} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/emittery/index.d.ts b/lambdas/risk-engine/node_modules/emittery/index.d.ts deleted file mode 100644 index 4204a511..00000000 --- a/lambdas/risk-engine/node_modules/emittery/index.d.ts +++ /dev/null @@ -1,606 +0,0 @@ -/* eslint-disable no-redeclare */ - -/** -Emittery accepts strings, symbols, and numbers as event names. - -Symbol event names are preferred given that they can be used to avoid name collisions when your classes are extended, especially for internal events. -*/ -type EventName = PropertyKey; - -// Helper type for turning the passed `EventData` type map into a list of string keys that don't require data alongside the event name when emitting. Uses the same trick that `Omit` does internally to filter keys by building a map of keys to keys we want to keep, and then accessing all the keys to return just the list of keys we want to keep. -type DatalessEventNames = { - [Key in keyof EventData]: EventData[Key] extends undefined ? Key : never; -}[keyof EventData]; - -declare const listenerAdded: unique symbol; -declare const listenerRemoved: unique symbol; -type _OmnipresentEventData = {[listenerAdded]: Emittery.ListenerChangedData; [listenerRemoved]: Emittery.ListenerChangedData}; - -/** -Emittery can collect and log debug information. - -To enable this feature set the `DEBUG` environment variable to `emittery` or `*`. Additionally, you can set the static `isDebugEnabled` variable to true on the Emittery class, or `myEmitter.debug.enabled` on an instance of it for debugging a single instance. - -See API for more information on how debugging works. -*/ -type DebugLogger = (type: string, debugName: string, eventName?: Name, eventData?: EventData[Name]) => void; - -/** -Configure debug options of an instance. -*/ -interface DebugOptions { - /** - Define a name for the instance of Emittery to use when outputting debug data. - - @default undefined - - @example - ``` - import Emittery = require('emittery'); - - Emittery.isDebugEnabled = true; - - const emitter = new Emittery({debug: {name: 'myEmitter'}}); - - emitter.on('test', data => { - // … - }); - - emitter.emit('test'); - //=> [16:43:20.417][emittery:subscribe][myEmitter] Event Name: test - // data: undefined - ``` - */ - readonly name: string; - - /** - Toggle debug logging just for this instance. - - @default false - - @example - ``` - import Emittery = require('emittery'); - - const emitter1 = new Emittery({debug: {name: 'emitter1', enabled: true}}); - const emitter2 = new Emittery({debug: {name: 'emitter2'}}); - - emitter1.on('test', data => { - // … - }); - - emitter2.on('test', data => { - // … - }); - - emitter1.emit('test'); - //=> [16:43:20.417][emittery:subscribe][emitter1] Event Name: test - // data: undefined - - emitter2.emit('test'); - ``` - */ - enabled?: boolean; - - /** - Function that handles debug data. - - @default - ``` - (type, debugName, eventName, eventData) => { - eventData = JSON.stringify(eventData); - - if (typeof eventName === 'symbol' || typeof eventName === 'number') { - eventName = eventName.toString(); - } - - const currentTime = new Date(); - const logTime = `${currentTime.getHours()}:${currentTime.getMinutes()}:${currentTime.getSeconds()}.${currentTime.getMilliseconds()}`; - console.log(`[${logTime}][emittery:${type}][${debugName}] Event Name: ${eventName}\n\tdata: ${eventData}`); - } - ``` - - @example - ``` - import Emittery = require('emittery'); - - const myLogger = (type, debugName, eventName, eventData) => console.log(`[${type}]: ${eventName}`); - - const emitter = new Emittery({ - debug: { - name: 'myEmitter', - enabled: true, - logger: myLogger - } - }); - - emitter.on('test', data => { - // … - }); - - emitter.emit('test'); - //=> [subscribe]: test - ``` - */ - logger?: DebugLogger; -} - -/** -Configuration options for Emittery. -*/ -interface Options { - debug?: DebugOptions; -} - -/** -A promise returned from `emittery.once` with an extra `off` method to cancel your subscription. -*/ -interface EmitteryOncePromise extends Promise { - off(): void; -} - -/** -Emittery is a strictly typed, fully async EventEmitter implementation. Event listeners can be registered with `on` or `once`, and events can be emitted with `emit`. - -`Emittery` has a generic `EventData` type that can be provided by users to strongly type the list of events and the data passed to the listeners for those events. Pass an interface of {[eventName]: undefined | }, with all the event names as the keys and the values as the type of the argument passed to listeners if there is one, or `undefined` if there isn't. - -@example -``` -import Emittery = require('emittery'); - -const emitter = new Emittery< - // Pass `{[eventName: ]: undefined | }` as the first type argument for events that pass data to their listeners. - // A value of `undefined` in this map means the event listeners should expect no data, and a type other than `undefined` means the listeners will receive one argument of that type. - { - open: string, - close: undefined - } ->(); - -// Typechecks just fine because the data type for the `open` event is `string`. -emitter.emit('open', 'foo\n'); - -// Typechecks just fine because `close` is present but points to undefined in the event data type map. -emitter.emit('close'); - -// TS compilation error because `1` isn't assignable to `string`. -emitter.emit('open', 1); - -// TS compilation error because `other` isn't defined in the event data type map. -emitter.emit('other'); -``` -*/ -declare class Emittery< - EventData = Record, - AllEventData = EventData & _OmnipresentEventData, - DatalessEvents = DatalessEventNames -> { - /** - Toggle debug mode for all instances. - - Default: `true` if the `DEBUG` environment variable is set to `emittery` or `*`, otherwise `false`. - - @example - ``` - import Emittery = require('emittery'); - - Emittery.isDebugEnabled = true; - - const emitter1 = new Emittery({debug: {name: 'myEmitter1'}}); - const emitter2 = new Emittery({debug: {name: 'myEmitter2'}}); - - emitter1.on('test', data => { - // … - }); - - emitter2.on('otherTest', data => { - // … - }); - - emitter1.emit('test'); - //=> [16:43:20.417][emittery:subscribe][myEmitter1] Event Name: test - // data: undefined - - emitter2.emit('otherTest'); - //=> [16:43:20.417][emittery:subscribe][myEmitter2] Event Name: otherTest - // data: undefined - ``` - */ - static isDebugEnabled: boolean; - - /** - Fires when an event listener was added. - - An object with `listener` and `eventName` (if `on` or `off` was used) is provided as event data. - - @example - ``` - import Emittery = require('emittery'); - - const emitter = new Emittery(); - - emitter.on(Emittery.listenerAdded, ({listener, eventName}) => { - console.log(listener); - //=> data => {} - - console.log(eventName); - //=> '🦄' - }); - - emitter.on('🦄', data => { - // Handle data - }); - ``` - */ - static readonly listenerAdded: typeof listenerAdded; - - /** - Fires when an event listener was removed. - - An object with `listener` and `eventName` (if `on` or `off` was used) is provided as event data. - - @example - ``` - import Emittery = require('emittery'); - - const emitter = new Emittery(); - - const off = emitter.on('🦄', data => { - // Handle data - }); - - emitter.on(Emittery.listenerRemoved, ({listener, eventName}) => { - console.log(listener); - //=> data => {} - - console.log(eventName); - //=> '🦄' - }); - - off(); - ``` - */ - static readonly listenerRemoved: typeof listenerRemoved; - - /** - Debugging options for the current instance. - */ - debug: DebugOptions; - - /** - Create a new Emittery instance with the specified options. - - @returns An instance of Emittery that you can use to listen for and emit events. - */ - constructor(options?: Options); - - /** - In TypeScript, it returns a decorator which mixins `Emittery` as property `emitteryPropertyName` and `methodNames`, or all `Emittery` methods if `methodNames` is not defined, into the target class. - - @example - ``` - import Emittery = require('emittery'); - - @Emittery.mixin('emittery') - class MyClass {} - - const instance = new MyClass(); - - instance.emit('event'); - ``` - */ - static mixin( - emitteryPropertyName: string | symbol, - methodNames?: readonly string[] - ): (klass: T) => T; // eslint-disable-line @typescript-eslint/prefer-function-type - - /** - Subscribe to one or more events. - - Using the same listener multiple times for the same event will result in only one method call per emitted event. - - @returns An unsubscribe method. - - @example - ``` - import Emittery = require('emittery'); - - const emitter = new Emittery(); - - emitter.on('🦄', data => { - console.log(data); - }); - - emitter.on(['🦄', '🐶'], data => { - console.log(data); - }); - - emitter.emit('🦄', '🌈'); // log => '🌈' x2 - emitter.emit('🐶', '🍖'); // log => '🍖' - ``` - */ - on( - eventName: Name | Name[], - listener: (eventData: AllEventData[Name]) => void | Promise - ): Emittery.UnsubscribeFn; - - /** - Get an async iterator which buffers data each time an event is emitted. - - Call `return()` on the iterator to remove the subscription. - - @example - ``` - import Emittery = require('emittery'); - - const emitter = new Emittery(); - const iterator = emitter.events('🦄'); - - emitter.emit('🦄', '🌈1'); // Buffered - emitter.emit('🦄', '🌈2'); // Buffered - - iterator - .next() - .then(({value, done}) => { - // done === false - // value === '🌈1' - return iterator.next(); - }) - .then(({value, done}) => { - // done === false - // value === '🌈2' - // Revoke subscription - return iterator.return(); - }) - .then(({done}) => { - // done === true - }); - ``` - - In practice you would usually consume the events using the [for await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of) statement. In that case, to revoke the subscription simply break the loop. - - @example - ``` - import Emittery = require('emittery'); - - const emitter = new Emittery(); - const iterator = emitter.events('🦄'); - - emitter.emit('🦄', '🌈1'); // Buffered - emitter.emit('🦄', '🌈2'); // Buffered - - // In an async context. - for await (const data of iterator) { - if (data === '🌈2') { - break; // Revoke the subscription when we see the value `🌈2`. - } - } - ``` - - It accepts multiple event names. - - @example - ``` - import Emittery = require('emittery'); - - const emitter = new Emittery(); - const iterator = emitter.events(['🦄', '🦊']); - - emitter.emit('🦄', '🌈1'); // Buffered - emitter.emit('🦊', '🌈2'); // Buffered - - iterator - .next() - .then(({value, done}) => { - // done === false - // value === '🌈1' - return iterator.next(); - }) - .then(({value, done}) => { - // done === false - // value === '🌈2' - // Revoke subscription - return iterator.return(); - }) - .then(({done}) => { - // done === true - }); - ``` - */ - events( - eventName: Name | Name[] - ): AsyncIterableIterator; - - /** - Remove one or more event subscriptions. - - @example - ``` - import Emittery = require('emittery'); - - const emitter = new Emittery(); - - const listener = data => console.log(data); - (async () => { - emitter.on(['🦄', '🐶', '🦊'], listener); - await emitter.emit('🦄', 'a'); - await emitter.emit('🐶', 'b'); - await emitter.emit('🦊', 'c'); - emitter.off('🦄', listener); - emitter.off(['🐶', '🦊'], listener); - await emitter.emit('🦄', 'a'); // nothing happens - await emitter.emit('🐶', 'b'); // nothing happens - await emitter.emit('🦊', 'c'); // nothing happens - })(); - ``` - */ - off( - eventName: Name | Name[], - listener: (eventData: AllEventData[Name]) => void | Promise - ): void; - - /** - Subscribe to one or more events only once. It will be unsubscribed after the first - event. - - @returns The promise of event data when `eventName` is emitted. This promise is extended with an `off` method. - - @example - ``` - import Emittery = require('emittery'); - - const emitter = new Emittery(); - - emitter.once('🦄').then(data => { - console.log(data); - //=> '🌈' - }); - - emitter.once(['🦄', '🐶']).then(data => { - console.log(data); - }); - - emitter.emit('🦄', '🌈'); // Logs `🌈` twice - emitter.emit('🐶', '🍖'); // Nothing happens - ``` - */ - once(eventName: Name | Name[]): EmitteryOncePromise; - - /** - Trigger an event asynchronously, optionally with some data. Listeners are called in the order they were added, but executed concurrently. - - @returns A promise that resolves when all the event listeners are done. *Done* meaning executed if synchronous or resolved when an async/promise-returning function. You usually wouldn't want to wait for this, but you could for example catch possible errors. If any of the listeners throw/reject, the returned promise will be rejected with the error, but the other listeners will not be affected. - */ - emit(eventName: Name): Promise; - emit( - eventName: Name, - eventData: EventData[Name] - ): Promise; - - /** - Same as `emit()`, but it waits for each listener to resolve before triggering the next one. This can be useful if your events depend on each other. Although ideally they should not. Prefer `emit()` whenever possible. - - If any of the listeners throw/reject, the returned promise will be rejected with the error and the remaining listeners will *not* be called. - - @returns A promise that resolves when all the event listeners are done. - */ - emitSerial(eventName: Name): Promise; - emitSerial( - eventName: Name, - eventData: EventData[Name] - ): Promise; - - /** - Subscribe to be notified about any event. - - @returns A method to unsubscribe. - */ - onAny( - listener: ( - eventName: keyof EventData, - eventData: EventData[keyof EventData] - ) => void | Promise - ): Emittery.UnsubscribeFn; - - /** - Get an async iterator which buffers a tuple of an event name and data each time an event is emitted. - - Call `return()` on the iterator to remove the subscription. - - In the same way as for `events`, you can subscribe by using the `for await` statement. - - @example - ``` - import Emittery = require('emittery'); - - const emitter = new Emittery(); - const iterator = emitter.anyEvent(); - - emitter.emit('🦄', '🌈1'); // Buffered - emitter.emit('🌟', '🌈2'); // Buffered - - iterator.next() - .then(({value, done}) => { - // done is false - // value is ['🦄', '🌈1'] - return iterator.next(); - }) - .then(({value, done}) => { - // done is false - // value is ['🌟', '🌈2'] - // revoke subscription - return iterator.return(); - }) - .then(({done}) => { - // done is true - }); - ``` - */ - anyEvent(): AsyncIterableIterator< - [keyof EventData, EventData[keyof EventData]] - >; - - /** - Remove an `onAny` subscription. - */ - offAny( - listener: ( - eventName: keyof EventData, - eventData: EventData[keyof EventData] - ) => void | Promise - ): void; - - /** - Clear all event listeners on the instance. - - If `eventName` is given, only the listeners for that event are cleared. - */ - clearListeners(eventName?: Name | Name[]): void; - - /** - The number of listeners for the `eventName` or all events if not specified. - */ - listenerCount(eventName?: Name | Name[]): number; - - /** - Bind the given `methodNames`, or all `Emittery` methods if `methodNames` is not defined, into the `target` object. - - @example - ``` - import Emittery = require('emittery'); - - const object = {}; - - new Emittery().bindMethods(object); - - object.emit('event'); - ``` - */ - bindMethods(target: Record, methodNames?: readonly string[]): void; -} - -declare namespace Emittery { - /** - Removes an event subscription. - */ - type UnsubscribeFn = () => void; - - /** - The data provided as `eventData` when listening for `Emittery.listenerAdded` or `Emittery.listenerRemoved`. - */ - interface ListenerChangedData { - /** - The listener that was added or removed. - */ - listener: (eventData?: unknown) => void | Promise; - - /** - The name of the event that was added or removed if `.on()` or `.off()` was used, or `undefined` if `.onAny()` or `.offAny()` was used. - */ - eventName?: EventName; - } - - type OmnipresentEventData = _OmnipresentEventData; -} - -export = Emittery; diff --git a/lambdas/risk-engine/node_modules/emittery/index.js b/lambdas/risk-engine/node_modules/emittery/index.js deleted file mode 100644 index b7ed7b69..00000000 --- a/lambdas/risk-engine/node_modules/emittery/index.js +++ /dev/null @@ -1,531 +0,0 @@ -'use strict'; - -const {anyMap, producersMap, eventsMap} = require('./maps.js'); - -const anyProducer = Symbol('anyProducer'); -const resolvedPromise = Promise.resolve(); - -// Define symbols for "meta" events. -const listenerAdded = Symbol('listenerAdded'); -const listenerRemoved = Symbol('listenerRemoved'); - -let canEmitMetaEvents = false; -let isGlobalDebugEnabled = false; - -function assertEventName(eventName) { - if (typeof eventName !== 'string' && typeof eventName !== 'symbol' && typeof eventName !== 'number') { - throw new TypeError('`eventName` must be a string, symbol, or number'); - } -} - -function assertListener(listener) { - if (typeof listener !== 'function') { - throw new TypeError('listener must be a function'); - } -} - -function getListeners(instance, eventName) { - const events = eventsMap.get(instance); - if (!events.has(eventName)) { - return; - } - - return events.get(eventName); -} - -function getEventProducers(instance, eventName) { - const key = typeof eventName === 'string' || typeof eventName === 'symbol' || typeof eventName === 'number' ? eventName : anyProducer; - const producers = producersMap.get(instance); - if (!producers.has(key)) { - return; - } - - return producers.get(key); -} - -function enqueueProducers(instance, eventName, eventData) { - const producers = producersMap.get(instance); - if (producers.has(eventName)) { - for (const producer of producers.get(eventName)) { - producer.enqueue(eventData); - } - } - - if (producers.has(anyProducer)) { - const item = Promise.all([eventName, eventData]); - for (const producer of producers.get(anyProducer)) { - producer.enqueue(item); - } - } -} - -function iterator(instance, eventNames) { - eventNames = Array.isArray(eventNames) ? eventNames : [eventNames]; - - let isFinished = false; - let flush = () => {}; - let queue = []; - - const producer = { - enqueue(item) { - queue.push(item); - flush(); - }, - finish() { - isFinished = true; - flush(); - } - }; - - for (const eventName of eventNames) { - let set = getEventProducers(instance, eventName); - if (!set) { - set = new Set(); - const producers = producersMap.get(instance); - producers.set(eventName, set); - } - - set.add(producer); - } - - return { - async next() { - if (!queue) { - return {done: true}; - } - - if (queue.length === 0) { - if (isFinished) { - queue = undefined; - return this.next(); - } - - await new Promise(resolve => { - flush = resolve; - }); - - return this.next(); - } - - return { - done: false, - value: await queue.shift() - }; - }, - - async return(value) { - queue = undefined; - - for (const eventName of eventNames) { - const set = getEventProducers(instance, eventName); - if (set) { - set.delete(producer); - if (set.size === 0) { - const producers = producersMap.get(instance); - producers.delete(eventName); - } - } - } - - flush(); - - return arguments.length > 0 ? - {done: true, value: await value} : - {done: true}; - }, - - [Symbol.asyncIterator]() { - return this; - } - }; -} - -function defaultMethodNamesOrAssert(methodNames) { - if (methodNames === undefined) { - return allEmitteryMethods; - } - - if (!Array.isArray(methodNames)) { - throw new TypeError('`methodNames` must be an array of strings'); - } - - for (const methodName of methodNames) { - if (!allEmitteryMethods.includes(methodName)) { - if (typeof methodName !== 'string') { - throw new TypeError('`methodNames` element must be a string'); - } - - throw new Error(`${methodName} is not Emittery method`); - } - } - - return methodNames; -} - -const isMetaEvent = eventName => eventName === listenerAdded || eventName === listenerRemoved; - -function emitMetaEvent(emitter, eventName, eventData) { - if (isMetaEvent(eventName)) { - try { - canEmitMetaEvents = true; - emitter.emit(eventName, eventData); - } finally { - canEmitMetaEvents = false; - } - } -} - -class Emittery { - static mixin(emitteryPropertyName, methodNames) { - methodNames = defaultMethodNamesOrAssert(methodNames); - return target => { - if (typeof target !== 'function') { - throw new TypeError('`target` must be function'); - } - - for (const methodName of methodNames) { - if (target.prototype[methodName] !== undefined) { - throw new Error(`The property \`${methodName}\` already exists on \`target\``); - } - } - - function getEmitteryProperty() { - Object.defineProperty(this, emitteryPropertyName, { - enumerable: false, - value: new Emittery() - }); - return this[emitteryPropertyName]; - } - - Object.defineProperty(target.prototype, emitteryPropertyName, { - enumerable: false, - get: getEmitteryProperty - }); - - const emitteryMethodCaller = methodName => function (...args) { - return this[emitteryPropertyName][methodName](...args); - }; - - for (const methodName of methodNames) { - Object.defineProperty(target.prototype, methodName, { - enumerable: false, - value: emitteryMethodCaller(methodName) - }); - } - - return target; - }; - } - - static get isDebugEnabled() { - if (typeof process !== 'object') { - return isGlobalDebugEnabled; - } - - const {env} = process || {env: {}}; - return env.DEBUG === 'emittery' || env.DEBUG === '*' || isGlobalDebugEnabled; - } - - static set isDebugEnabled(newValue) { - isGlobalDebugEnabled = newValue; - } - - constructor(options = {}) { - anyMap.set(this, new Set()); - eventsMap.set(this, new Map()); - producersMap.set(this, new Map()); - - producersMap.get(this).set(anyProducer, new Set()); - - this.debug = options.debug || {}; - - if (this.debug.enabled === undefined) { - this.debug.enabled = false; - } - - if (!this.debug.logger) { - this.debug.logger = (type, debugName, eventName, eventData) => { - try { - // TODO: Use https://github.com/sindresorhus/safe-stringify when the package is more mature. Just copy-paste the code. - eventData = JSON.stringify(eventData); - } catch { - eventData = `Object with the following keys failed to stringify: ${Object.keys(eventData).join(',')}`; - } - - if (typeof eventName === 'symbol' || typeof eventName === 'number') { - eventName = eventName.toString(); - } - - const currentTime = new Date(); - const logTime = `${currentTime.getHours()}:${currentTime.getMinutes()}:${currentTime.getSeconds()}.${currentTime.getMilliseconds()}`; - console.log(`[${logTime}][emittery:${type}][${debugName}] Event Name: ${eventName}\n\tdata: ${eventData}`); - }; - } - } - - logIfDebugEnabled(type, eventName, eventData) { - if (Emittery.isDebugEnabled || this.debug.enabled) { - this.debug.logger(type, this.debug.name, eventName, eventData); - } - } - - on(eventNames, listener) { - assertListener(listener); - - eventNames = Array.isArray(eventNames) ? eventNames : [eventNames]; - for (const eventName of eventNames) { - assertEventName(eventName); - let set = getListeners(this, eventName); - if (!set) { - set = new Set(); - const events = eventsMap.get(this); - events.set(eventName, set); - } - - set.add(listener); - - this.logIfDebugEnabled('subscribe', eventName, undefined); - - if (!isMetaEvent(eventName)) { - emitMetaEvent(this, listenerAdded, {eventName, listener}); - } - } - - return this.off.bind(this, eventNames, listener); - } - - off(eventNames, listener) { - assertListener(listener); - - eventNames = Array.isArray(eventNames) ? eventNames : [eventNames]; - for (const eventName of eventNames) { - assertEventName(eventName); - const set = getListeners(this, eventName); - if (set) { - set.delete(listener); - if (set.size === 0) { - const events = eventsMap.get(this); - events.delete(eventName); - } - } - - this.logIfDebugEnabled('unsubscribe', eventName, undefined); - - if (!isMetaEvent(eventName)) { - emitMetaEvent(this, listenerRemoved, {eventName, listener}); - } - } - } - - once(eventNames) { - let off_; - - const promise = new Promise(resolve => { - off_ = this.on(eventNames, data => { - off_(); - resolve(data); - }); - }); - - promise.off = off_; - return promise; - } - - events(eventNames) { - eventNames = Array.isArray(eventNames) ? eventNames : [eventNames]; - for (const eventName of eventNames) { - assertEventName(eventName); - } - - return iterator(this, eventNames); - } - - async emit(eventName, eventData) { - assertEventName(eventName); - - if (isMetaEvent(eventName) && !canEmitMetaEvents) { - throw new TypeError('`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`'); - } - - this.logIfDebugEnabled('emit', eventName, eventData); - - enqueueProducers(this, eventName, eventData); - - const listeners = getListeners(this, eventName) || new Set(); - const anyListeners = anyMap.get(this); - const staticListeners = [...listeners]; - const staticAnyListeners = isMetaEvent(eventName) ? [] : [...anyListeners]; - - await resolvedPromise; - await Promise.all([ - ...staticListeners.map(async listener => { - if (listeners.has(listener)) { - return listener(eventData); - } - }), - ...staticAnyListeners.map(async listener => { - if (anyListeners.has(listener)) { - return listener(eventName, eventData); - } - }) - ]); - } - - async emitSerial(eventName, eventData) { - assertEventName(eventName); - - if (isMetaEvent(eventName) && !canEmitMetaEvents) { - throw new TypeError('`eventName` cannot be meta event `listenerAdded` or `listenerRemoved`'); - } - - this.logIfDebugEnabled('emitSerial', eventName, eventData); - - const listeners = getListeners(this, eventName) || new Set(); - const anyListeners = anyMap.get(this); - const staticListeners = [...listeners]; - const staticAnyListeners = [...anyListeners]; - - await resolvedPromise; - /* eslint-disable no-await-in-loop */ - for (const listener of staticListeners) { - if (listeners.has(listener)) { - await listener(eventData); - } - } - - for (const listener of staticAnyListeners) { - if (anyListeners.has(listener)) { - await listener(eventName, eventData); - } - } - /* eslint-enable no-await-in-loop */ - } - - onAny(listener) { - assertListener(listener); - - this.logIfDebugEnabled('subscribeAny', undefined, undefined); - - anyMap.get(this).add(listener); - emitMetaEvent(this, listenerAdded, {listener}); - return this.offAny.bind(this, listener); - } - - anyEvent() { - return iterator(this); - } - - offAny(listener) { - assertListener(listener); - - this.logIfDebugEnabled('unsubscribeAny', undefined, undefined); - - emitMetaEvent(this, listenerRemoved, {listener}); - anyMap.get(this).delete(listener); - } - - clearListeners(eventNames) { - eventNames = Array.isArray(eventNames) ? eventNames : [eventNames]; - - for (const eventName of eventNames) { - this.logIfDebugEnabled('clear', eventName, undefined); - - if (typeof eventName === 'string' || typeof eventName === 'symbol' || typeof eventName === 'number') { - const set = getListeners(this, eventName); - if (set) { - set.clear(); - } - - const producers = getEventProducers(this, eventName); - if (producers) { - for (const producer of producers) { - producer.finish(); - } - - producers.clear(); - } - } else { - anyMap.get(this).clear(); - - for (const [eventName, listeners] of eventsMap.get(this).entries()) { - listeners.clear(); - eventsMap.get(this).delete(eventName); - } - - for (const [eventName, producers] of producersMap.get(this).entries()) { - for (const producer of producers) { - producer.finish(); - } - - producers.clear(); - producersMap.get(this).delete(eventName); - } - } - } - } - - listenerCount(eventNames) { - eventNames = Array.isArray(eventNames) ? eventNames : [eventNames]; - let count = 0; - - for (const eventName of eventNames) { - if (typeof eventName === 'string') { - count += anyMap.get(this).size + (getListeners(this, eventName) || new Set()).size + - (getEventProducers(this, eventName) || new Set()).size + (getEventProducers(this) || new Set()).size; - continue; - } - - if (typeof eventName !== 'undefined') { - assertEventName(eventName); - } - - count += anyMap.get(this).size; - - for (const value of eventsMap.get(this).values()) { - count += value.size; - } - - for (const value of producersMap.get(this).values()) { - count += value.size; - } - } - - return count; - } - - bindMethods(target, methodNames) { - if (typeof target !== 'object' || target === null) { - throw new TypeError('`target` must be an object'); - } - - methodNames = defaultMethodNamesOrAssert(methodNames); - - for (const methodName of methodNames) { - if (target[methodName] !== undefined) { - throw new Error(`The property \`${methodName}\` already exists on \`target\``); - } - - Object.defineProperty(target, methodName, { - enumerable: false, - value: this[methodName].bind(this) - }); - } - } -} - -const allEmitteryMethods = Object.getOwnPropertyNames(Emittery.prototype).filter(v => v !== 'constructor'); - -Object.defineProperty(Emittery, 'listenerAdded', { - value: listenerAdded, - writable: false, - enumerable: true, - configurable: false -}); -Object.defineProperty(Emittery, 'listenerRemoved', { - value: listenerRemoved, - writable: false, - enumerable: true, - configurable: false -}); - -module.exports = Emittery; diff --git a/lambdas/risk-engine/node_modules/emittery/license b/lambdas/risk-engine/node_modules/emittery/license deleted file mode 100644 index fa7ceba3..00000000 --- a/lambdas/risk-engine/node_modules/emittery/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/emittery/maps.js b/lambdas/risk-engine/node_modules/emittery/maps.js deleted file mode 100644 index 7bf34217..00000000 --- a/lambdas/risk-engine/node_modules/emittery/maps.js +++ /dev/null @@ -1,9 +0,0 @@ -const anyMap = new WeakMap(); -const eventsMap = new WeakMap(); -const producersMap = new WeakMap(); - -module.exports = { - anyMap, - eventsMap, - producersMap -}; diff --git a/lambdas/risk-engine/node_modules/emittery/package.json b/lambdas/risk-engine/node_modules/emittery/package.json deleted file mode 100644 index 3398f227..00000000 --- a/lambdas/risk-engine/node_modules/emittery/package.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "name": "emittery", - "version": "0.13.1", - "description": "Simple and modern async event emitter", - "license": "MIT", - "repository": "sindresorhus/emittery", - "funding": "https://github.com/sindresorhus/emittery?sponsor=1", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=12" - }, - "scripts": { - "test": "xo && nyc ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts", - "maps.js" - ], - "keywords": [ - "event", - "emitter", - "eventemitter", - "events", - "async", - "emit", - "on", - "once", - "off", - "listener", - "subscribe", - "unsubscribe", - "pubsub", - "tiny", - "addlistener", - "addeventlistener", - "dispatch", - "dispatcher", - "observer", - "trigger", - "await", - "promise", - "typescript", - "ts", - "typed" - ], - "devDependencies": { - "@types/node": "^15.6.1", - "ava": "^2.4.0", - "delay": "^4.3.0", - "nyc": "^15.0.0", - "p-event": "^4.1.0", - "tsd": "^0.19.1", - "xo": "^0.39.0" - }, - "nyc": { - "reporter": [ - "html", - "lcov", - "text" - ] - } -} diff --git a/lambdas/risk-engine/node_modules/emittery/readme.md b/lambdas/risk-engine/node_modules/emittery/readme.md deleted file mode 100644 index e93700bc..00000000 --- a/lambdas/risk-engine/node_modules/emittery/readme.md +++ /dev/null @@ -1,569 +0,0 @@ -# - -> Simple and modern async event emitter - -[![Coverage Status](https://codecov.io/gh/sindresorhus/emittery/branch/main/graph/badge.svg)](https://codecov.io/gh/sindresorhus/emittery) -[![](https://badgen.net/bundlephobia/minzip/emittery)](https://bundlephobia.com/result?p=emittery) - -It works in Node.js and the browser (using a bundler). - -Emitting events asynchronously is important for production code where you want the least amount of synchronous operations. Since JavaScript is single-threaded, no other code can run while doing synchronous operations. For Node.js, that means it will block other requests, defeating the strength of the platform, which is scalability through async. In the browser, a synchronous operation could potentially cause lags and block user interaction. - -## Install - -``` -$ npm install emittery -``` - -## Usage - -```js -const Emittery = require('emittery'); - -const emitter = new Emittery(); - -emitter.on('🦄', data => { - console.log(data); -}); - -const myUnicorn = Symbol('🦄'); - -emitter.on(myUnicorn, data => { - console.log(`Unicorns love ${data}`); -}); - -emitter.emit('🦄', '🌈'); // Will trigger printing '🌈' -emitter.emit(myUnicorn, '🦋'); // Will trigger printing 'Unicorns love 🦋' -``` - -## API - -### eventName - -Emittery accepts strings, symbols, and numbers as event names. - -Symbol event names are preferred given that they can be used to avoid name collisions when your classes are extended, especially for internal events. - -### isDebugEnabled - -Toggle debug mode for all instances. - -Default: `true` if the `DEBUG` environment variable is set to `emittery` or `*`, otherwise `false`. - -Example: - -```js -const Emittery = require('emittery'); - -Emittery.isDebugEnabled = true; - -const emitter1 = new Emittery({debug: {name: 'myEmitter1'}}); -const emitter2 = new Emittery({debug: {name: 'myEmitter2'}}); - -emitter1.on('test', data => { - // … -}); - -emitter2.on('otherTest', data => { - // … -}); - -emitter1.emit('test'); -//=> [16:43:20.417][emittery:subscribe][myEmitter1] Event Name: test -// data: undefined - -emitter2.emit('otherTest'); -//=> [16:43:20.417][emittery:subscribe][myEmitter2] Event Name: otherTest -// data: undefined -``` - -### emitter = new Emittery(options?) - -Create a new instance of Emittery. - -#### options? - -Type: `object` - -Configure the new instance of Emittery. - -##### debug? - -Type: `object` - -Configure the debugging options for this instance. - -###### name - -Type: `string`\ -Default: `undefined` - -Define a name for the instance of Emittery to use when outputting debug data. - -Example: - -```js -const Emittery = require('emittery'); - -Emittery.isDebugEnabled = true; - -const emitter = new Emittery({debug: {name: 'myEmitter'}}); - -emitter.on('test', data => { - // … -}); - -emitter.emit('test'); -//=> [16:43:20.417][emittery:subscribe][myEmitter] Event Name: test -// data: undefined -``` - -###### enabled? - -Type: `boolean`\ -Default: `false` - -Toggle debug logging just for this instance. - -Example: - -```js -const Emittery = require('emittery'); - -const emitter1 = new Emittery({debug: {name: 'emitter1', enabled: true}}); -const emitter2 = new Emittery({debug: {name: 'emitter2'}}); - -emitter1.on('test', data => { - // … -}); - -emitter2.on('test', data => { - // … -}); - -emitter1.emit('test'); -//=> [16:43:20.417][emittery:subscribe][emitter1] Event Name: test -// data: undefined - -emitter2.emit('test'); -``` - -###### logger? - -Type: `Function(string, string, EventName?, Record?) => void` - -Default: - -```js -(type, debugName, eventName, eventData) => { - if (typeof eventData === 'object') { - eventData = JSON.stringify(eventData); - } - - if (typeof eventName === 'symbol' || typeof eventName === 'number') { - eventName = eventName.toString(); - } - - const currentTime = new Date(); - const logTime = `${currentTime.getHours()}:${currentTime.getMinutes()}:${currentTime.getSeconds()}.${currentTime.getMilliseconds()}`; - console.log(`[${logTime}][emittery:${type}][${debugName}] Event Name: ${eventName}\n\tdata: ${eventData}`); -} -``` - -Function that handles debug data. - -Example: - -```js -const Emittery = require('emittery'); - -const myLogger = (type, debugName, eventName, eventData) => console.log(`[${type}]: ${eventName}`); - -const emitter = new Emittery({ - debug: { - name: 'myEmitter', - enabled: true, - logger: myLogger - } -}); - -emitter.on('test', data => { - // … -}); - -emitter.emit('test'); -//=> [subscribe]: test -``` - -#### on(eventName | eventName[], listener) - -Subscribe to one or more events. - -Returns an unsubscribe method. - -Using the same listener multiple times for the same event will result in only one method call per emitted event. - -```js -const Emittery = require('emittery'); - -const emitter = new Emittery(); - -emitter.on('🦄', data => { - console.log(data); -}); - -emitter.on(['🦄', '🐶'], data => { - console.log(data); -}); - -emitter.emit('🦄', '🌈'); // log => '🌈' x2 -emitter.emit('🐶', '🍖'); // log => '🍖' -``` - -##### Custom subscribable events - -Emittery exports some symbols which represent "meta" events that can be passed to `Emitter.on` and similar methods. - -- `Emittery.listenerAdded` - Fires when an event listener was added. -- `Emittery.listenerRemoved` - Fires when an event listener was removed. - -```js -const Emittery = require('emittery'); - -const emitter = new Emittery(); - -emitter.on(Emittery.listenerAdded, ({listener, eventName}) => { - console.log(listener); - //=> data => {} - - console.log(eventName); - //=> '🦄' -}); - -emitter.on('🦄', data => { - // Handle data -}); -``` - -###### Listener data - -- `listener` - The listener that was added. -- `eventName` - The name of the event that was added or removed if `.on()` or `.off()` was used, or `undefined` if `.onAny()` or `.offAny()` was used. - -Only events that are not of this type are able to trigger these events. - -##### listener(data) - -#### off(eventName | eventName[], listener) - -Remove one or more event subscriptions. - -```js -const Emittery = require('emittery'); - -const emitter = new Emittery(); - -const listener = data => console.log(data); - -(async () => { - emitter.on(['🦄', '🐶', '🦊'], listener); - await emitter.emit('🦄', 'a'); - await emitter.emit('🐶', 'b'); - await emitter.emit('🦊', 'c'); - emitter.off('🦄', listener); - emitter.off(['🐶', '🦊'], listener); - await emitter.emit('🦄', 'a'); // Nothing happens - await emitter.emit('🐶', 'b'); // Nothing happens - await emitter.emit('🦊', 'c'); // Nothing happens -})(); -``` - -##### listener(data) - -#### once(eventName | eventName[]) - -Subscribe to one or more events only once. It will be unsubscribed after the first event. - -Returns a promise for the event data when `eventName` is emitted. This promise is extended with an `off` method. - -```js -const Emittery = require('emittery'); - -const emitter = new Emittery(); - -emitter.once('🦄').then(data => { - console.log(data); - //=> '🌈' -}); - -emitter.once(['🦄', '🐶']).then(data => { - console.log(data); -}); - -emitter.emit('🦄', '🌈'); // Log => '🌈' x2 -emitter.emit('🐶', '🍖'); // Nothing happens -``` - -#### events(eventName) - -Get an async iterator which buffers data each time an event is emitted. - -Call `return()` on the iterator to remove the subscription. - -```js -const Emittery = require('emittery'); - -const emitter = new Emittery(); -const iterator = emitter.events('🦄'); - -emitter.emit('🦄', '🌈1'); // Buffered -emitter.emit('🦄', '🌈2'); // Buffered - -iterator - .next() - .then(({value, done}) => { - // done === false - // value === '🌈1' - return iterator.next(); - }) - .then(({value, done}) => { - // done === false - // value === '🌈2' - // Revoke subscription - return iterator.return(); - }) - .then(({done}) => { - // done === true - }); -``` - -In practice, you would usually consume the events using the [for await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of) statement. In that case, to revoke the subscription simply break the loop. - -```js -const Emittery = require('emittery'); - -const emitter = new Emittery(); -const iterator = emitter.events('🦄'); - -emitter.emit('🦄', '🌈1'); // Buffered -emitter.emit('🦄', '🌈2'); // Buffered - -// In an async context. -for await (const data of iterator) { - if (data === '🌈2') { - break; // Revoke the subscription when we see the value '🌈2'. - } -} -``` - -It accepts multiple event names. - -```js -const Emittery = require('emittery'); - -const emitter = new Emittery(); -const iterator = emitter.events(['🦄', '🦊']); - -emitter.emit('🦄', '🌈1'); // Buffered -emitter.emit('🦊', '🌈2'); // Buffered - -iterator - .next() - .then(({value, done}) => { - // done === false - // value === '🌈1' - return iterator.next(); - }) - .then(({value, done}) => { - // done === false - // value === '🌈2' - // Revoke subscription - return iterator.return(); - }) - .then(({done}) => { - // done === true - }); -``` - -#### emit(eventName, data?) - -Trigger an event asynchronously, optionally with some data. Listeners are called in the order they were added, but executed concurrently. - -Returns a promise that resolves when all the event listeners are done. *Done* meaning executed if synchronous or resolved when an async/promise-returning function. You usually wouldn't want to wait for this, but you could for example catch possible errors. If any of the listeners throw/reject, the returned promise will be rejected with the error, but the other listeners will not be affected. - -#### emitSerial(eventName, data?) - -Same as above, but it waits for each listener to resolve before triggering the next one. This can be useful if your events depend on each other. Although ideally they should not. Prefer `emit()` whenever possible. - -If any of the listeners throw/reject, the returned promise will be rejected with the error and the remaining listeners will *not* be called. - -#### onAny(listener) - -Subscribe to be notified about any event. - -Returns a method to unsubscribe. - -##### listener(eventName, data) - -#### offAny(listener) - -Remove an `onAny` subscription. - -#### anyEvent() - -Get an async iterator which buffers a tuple of an event name and data each time an event is emitted. - -Call `return()` on the iterator to remove the subscription. - -```js -const Emittery = require('emittery'); - -const emitter = new Emittery(); -const iterator = emitter.anyEvent(); - -emitter.emit('🦄', '🌈1'); // Buffered -emitter.emit('🌟', '🌈2'); // Buffered - -iterator.next() - .then(({value, done}) => { - // done === false - // value is ['🦄', '🌈1'] - return iterator.next(); - }) - .then(({value, done}) => { - // done === false - // value is ['🌟', '🌈2'] - // Revoke subscription - return iterator.return(); - }) - .then(({done}) => { - // done === true - }); -``` - -In the same way as for `events`, you can subscribe by using the `for await` statement - -#### clearListeners(eventNames?) - -Clear all event listeners on the instance. - -If `eventNames` is given, only the listeners for that events are cleared. - -#### listenerCount(eventNames?) - -The number of listeners for the `eventNames` or all events if not specified. - -#### bindMethods(target, methodNames?) - -Bind the given `methodNames`, or all `Emittery` methods if `methodNames` is not defined, into the `target` object. - -```js -import Emittery = require('emittery'); - -const object = {}; - -new Emittery().bindMethods(object); - -object.emit('event'); -``` - -## TypeScript - -The default `Emittery` class has generic types that can be provided by TypeScript users to strongly type the list of events and the data passed to their event listeners. - -```ts -import Emittery = require('emittery'); - -const emitter = new Emittery< - // Pass `{[eventName]: undefined | }` as the first type argument for events that pass data to their listeners. - // A value of `undefined` in this map means the event listeners should expect no data, and a type other than `undefined` means the listeners will receive one argument of that type. - { - open: string, - close: undefined - } ->(); - -// Typechecks just fine because the data type for the `open` event is `string`. -emitter.emit('open', 'foo\n'); - -// Typechecks just fine because `close` is present but points to undefined in the event data type map. -emitter.emit('close'); - -// TS compilation error because `1` isn't assignable to `string`. -emitter.emit('open', 1); - -// TS compilation error because `other` isn't defined in the event data type map. -emitter.emit('other'); -``` - -### Emittery.mixin(emitteryPropertyName, methodNames?) - -A decorator which mixins `Emittery` as property `emitteryPropertyName` and `methodNames`, or all `Emittery` methods if `methodNames` is not defined, into the target class. - -```ts -import Emittery = require('emittery'); - -@Emittery.mixin('emittery') -class MyClass {} - -const instance = new MyClass(); - -instance.emit('event'); -``` - -## Scheduling details - -Listeners are not invoked for events emitted *before* the listener was added. Removing a listener will prevent that listener from being invoked, even if events are in the process of being (asynchronously!) emitted. This also applies to `.clearListeners()`, which removes all listeners. Listeners will be called in the order they were added. So-called *any* listeners are called *after* event-specific listeners. - -Note that when using `.emitSerial()`, a slow listener will delay invocation of subsequent listeners. It's possible for newer events to overtake older ones. - -## Debugging - -Emittery can collect and log debug information. - -To enable this feature set the DEBUG environment variable to 'emittery' or '*'. Additionally you can set the static `isDebugEnabled` variable to true on the Emittery class, or `myEmitter.debug.enabled` on an instance of it for debugging a single instance. - -See [API](#api) for more details on how debugging works. - -## FAQ - -### How is this different than the built-in `EventEmitter` in Node.js? - -There are many things to not like about `EventEmitter`: its huge API surface, synchronous event emitting, magic error event, flawed memory leak detection. Emittery has none of that. - -### Isn't `EventEmitter` synchronous for a reason? - -Mostly backwards compatibility reasons. The Node.js team can't break the whole ecosystem. - -It also allows silly code like this: - -```js -let unicorn = false; - -emitter.on('🦄', () => { - unicorn = true; -}); - -emitter.emit('🦄'); - -console.log(unicorn); -//=> true -``` - -But I would argue doing that shows a deeper lack of Node.js and async comprehension and is not something we should optimize for. The benefit of async emitting is much greater. - -### Can you support multiple arguments for `emit()`? - -No, just use [destructuring](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment): - -```js -emitter.on('🦄', ([foo, bar]) => { - console.log(foo, bar); -}); - -emitter.emit('🦄', [foo, bar]); -``` - -## Related - -- [p-event](https://github.com/sindresorhus/p-event) - Promisify an event by waiting for it to be emitted diff --git a/lambdas/risk-engine/node_modules/emoji-regex/LICENSE-MIT.txt b/lambdas/risk-engine/node_modules/emoji-regex/LICENSE-MIT.txt deleted file mode 100644 index a41e0a7e..00000000 --- a/lambdas/risk-engine/node_modules/emoji-regex/LICENSE-MIT.txt +++ /dev/null @@ -1,20 +0,0 @@ -Copyright Mathias Bynens - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/emoji-regex/README.md b/lambdas/risk-engine/node_modules/emoji-regex/README.md deleted file mode 100644 index f10e1733..00000000 --- a/lambdas/risk-engine/node_modules/emoji-regex/README.md +++ /dev/null @@ -1,73 +0,0 @@ -# emoji-regex [![Build status](https://travis-ci.org/mathiasbynens/emoji-regex.svg?branch=master)](https://travis-ci.org/mathiasbynens/emoji-regex) - -_emoji-regex_ offers a regular expression to match all emoji symbols (including textual representations of emoji) as per the Unicode Standard. - -This repository contains a script that generates this regular expression based on [the data from Unicode v12](https://github.com/mathiasbynens/unicode-12.0.0). Because of this, the regular expression can easily be updated whenever new emoji are added to the Unicode standard. - -## Installation - -Via [npm](https://www.npmjs.com/): - -```bash -npm install emoji-regex -``` - -In [Node.js](https://nodejs.org/): - -```js -const emojiRegex = require('emoji-regex'); -// Note: because the regular expression has the global flag set, this module -// exports a function that returns the regex rather than exporting the regular -// expression itself, to make it impossible to (accidentally) mutate the -// original regular expression. - -const text = ` -\u{231A}: ⌚ default emoji presentation character (Emoji_Presentation) -\u{2194}\u{FE0F}: ↔️ default text presentation character rendered as emoji -\u{1F469}: 👩 emoji modifier base (Emoji_Modifier_Base) -\u{1F469}\u{1F3FF}: 👩🏿 emoji modifier base followed by a modifier -`; - -const regex = emojiRegex(); -let match; -while (match = regex.exec(text)) { - const emoji = match[0]; - console.log(`Matched sequence ${ emoji } — code points: ${ [...emoji].length }`); -} -``` - -Console output: - -``` -Matched sequence ⌚ — code points: 1 -Matched sequence ⌚ — code points: 1 -Matched sequence ↔️ — code points: 2 -Matched sequence ↔️ — code points: 2 -Matched sequence 👩 — code points: 1 -Matched sequence 👩 — code points: 1 -Matched sequence 👩🏿 — code points: 2 -Matched sequence 👩🏿 — code points: 2 -``` - -To match emoji in their textual representation as well (i.e. emoji that are not `Emoji_Presentation` symbols and that aren’t forced to render as emoji by a variation selector), `require` the other regex: - -```js -const emojiRegex = require('emoji-regex/text.js'); -``` - -Additionally, in environments which support ES2015 Unicode escapes, you may `require` ES2015-style versions of the regexes: - -```js -const emojiRegex = require('emoji-regex/es2015/index.js'); -const emojiRegexText = require('emoji-regex/es2015/text.js'); -``` - -## Author - -| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") | -|---| -| [Mathias Bynens](https://mathiasbynens.be/) | - -## License - -_emoji-regex_ is available under the [MIT](https://mths.be/mit) license. diff --git a/lambdas/risk-engine/node_modules/emoji-regex/es2015/index.js b/lambdas/risk-engine/node_modules/emoji-regex/es2015/index.js deleted file mode 100644 index b4cf3dcd..00000000 --- a/lambdas/risk-engine/node_modules/emoji-regex/es2015/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; - -module.exports = () => { - // https://mths.be/emoji - return /\u{1F3F4}\u{E0067}\u{E0062}(?:\u{E0065}\u{E006E}\u{E0067}|\u{E0073}\u{E0063}\u{E0074}|\u{E0077}\u{E006C}\u{E0073})\u{E007F}|\u{1F468}(?:\u{1F3FC}\u200D(?:\u{1F91D}\u200D\u{1F468}\u{1F3FB}|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F3FF}\u200D(?:\u{1F91D}\u200D\u{1F468}[\u{1F3FB}-\u{1F3FE}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F3FE}\u200D(?:\u{1F91D}\u200D\u{1F468}[\u{1F3FB}-\u{1F3FD}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F3FD}\u200D(?:\u{1F91D}\u200D\u{1F468}[\u{1F3FB}\u{1F3FC}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u200D(?:\u2764\uFE0F\u200D(?:\u{1F48B}\u200D)?\u{1F468}|[\u{1F468}\u{1F469}]\u200D(?:\u{1F466}\u200D\u{1F466}|\u{1F467}\u200D[\u{1F466}\u{1F467}])|\u{1F466}\u200D\u{1F466}|\u{1F467}\u200D[\u{1F466}\u{1F467}]|[\u{1F468}\u{1F469}]\u200D[\u{1F466}\u{1F467}]|[\u2695\u2696\u2708]\uFE0F|[\u{1F466}\u{1F467}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|(?:\u{1F3FB}\u200D[\u2695\u2696\u2708]|\u{1F3FF}\u200D[\u2695\u2696\u2708]|\u{1F3FE}\u200D[\u2695\u2696\u2708]|\u{1F3FD}\u200D[\u2695\u2696\u2708]|\u{1F3FC}\u200D[\u2695\u2696\u2708])\uFE0F|\u{1F3FB}\u200D[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}]|[\u{1F3FB}-\u{1F3FF}])|(?:\u{1F9D1}\u{1F3FB}\u200D\u{1F91D}\u200D\u{1F9D1}|\u{1F469}\u{1F3FC}\u200D\u{1F91D}\u200D\u{1F469})\u{1F3FB}|\u{1F9D1}(?:\u{1F3FF}\u200D\u{1F91D}\u200D\u{1F9D1}[\u{1F3FB}-\u{1F3FF}]|\u200D\u{1F91D}\u200D\u{1F9D1})|(?:\u{1F9D1}\u{1F3FE}\u200D\u{1F91D}\u200D\u{1F9D1}|\u{1F469}\u{1F3FF}\u200D\u{1F91D}\u200D[\u{1F468}\u{1F469}])[\u{1F3FB}-\u{1F3FE}]|(?:\u{1F9D1}\u{1F3FC}\u200D\u{1F91D}\u200D\u{1F9D1}|\u{1F469}\u{1F3FD}\u200D\u{1F91D}\u200D\u{1F469})[\u{1F3FB}\u{1F3FC}]|\u{1F469}(?:\u{1F3FE}\u200D(?:\u{1F91D}\u200D\u{1F468}[\u{1F3FB}-\u{1F3FD}\u{1F3FF}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F3FC}\u200D(?:\u{1F91D}\u200D\u{1F468}[\u{1F3FB}\u{1F3FD}-\u{1F3FF}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F3FB}\u200D(?:\u{1F91D}\u200D\u{1F468}[\u{1F3FC}-\u{1F3FF}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F3FD}\u200D(?:\u{1F91D}\u200D\u{1F468}[\u{1F3FB}\u{1F3FC}\u{1F3FE}\u{1F3FF}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u200D(?:\u2764\uFE0F\u200D(?:\u{1F48B}\u200D[\u{1F468}\u{1F469}]|[\u{1F468}\u{1F469}])|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F3FF}\u200D[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F469}\u200D\u{1F469}\u200D(?:\u{1F466}\u200D\u{1F466}|\u{1F467}\u200D[\u{1F466}\u{1F467}])|(?:\u{1F9D1}\u{1F3FD}\u200D\u{1F91D}\u200D\u{1F9D1}|\u{1F469}\u{1F3FE}\u200D\u{1F91D}\u200D\u{1F469})[\u{1F3FB}-\u{1F3FD}]|\u{1F469}\u200D\u{1F466}\u200D\u{1F466}|\u{1F469}\u200D\u{1F469}\u200D[\u{1F466}\u{1F467}]|(?:\u{1F441}\uFE0F\u200D\u{1F5E8}|\u{1F469}(?:\u{1F3FF}\u200D[\u2695\u2696\u2708]|\u{1F3FE}\u200D[\u2695\u2696\u2708]|\u{1F3FC}\u200D[\u2695\u2696\u2708]|\u{1F3FB}\u200D[\u2695\u2696\u2708]|\u{1F3FD}\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:[\u26F9\u{1F3CB}\u{1F3CC}\u{1F575}]\uFE0F|[\u{1F46F}\u{1F93C}\u{1F9DE}\u{1F9DF}])\u200D[\u2640\u2642]|[\u26F9\u{1F3CB}\u{1F3CC}\u{1F575}][\u{1F3FB}-\u{1F3FF}]\u200D[\u2640\u2642]|[\u{1F3C3}\u{1F3C4}\u{1F3CA}\u{1F46E}\u{1F471}\u{1F473}\u{1F477}\u{1F481}\u{1F482}\u{1F486}\u{1F487}\u{1F645}-\u{1F647}\u{1F64B}\u{1F64D}\u{1F64E}\u{1F6A3}\u{1F6B4}-\u{1F6B6}\u{1F926}\u{1F937}-\u{1F939}\u{1F93D}\u{1F93E}\u{1F9B8}\u{1F9B9}\u{1F9CD}-\u{1F9CF}\u{1F9D6}-\u{1F9DD}](?:[\u{1F3FB}-\u{1F3FF}]\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\u{1F3F4}\u200D\u2620)\uFE0F|\u{1F469}\u200D\u{1F467}\u200D[\u{1F466}\u{1F467}]|\u{1F3F3}\uFE0F\u200D\u{1F308}|\u{1F415}\u200D\u{1F9BA}|\u{1F469}\u200D\u{1F466}|\u{1F469}\u200D\u{1F467}|\u{1F1FD}\u{1F1F0}|\u{1F1F4}\u{1F1F2}|\u{1F1F6}\u{1F1E6}|[#\*0-9]\uFE0F\u20E3|\u{1F1E7}[\u{1F1E6}\u{1F1E7}\u{1F1E9}-\u{1F1EF}\u{1F1F1}-\u{1F1F4}\u{1F1F6}-\u{1F1F9}\u{1F1FB}\u{1F1FC}\u{1F1FE}\u{1F1FF}]|\u{1F1F9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-\u{1F3FF}]|[\u261D\u270A-\u270D\u{1F385}\u{1F3C2}\u{1F3C7}\u{1F442}\u{1F443}\u{1F446}-\u{1F450}\u{1F466}\u{1F467}\u{1F46B}-\u{1F46D}\u{1F470}\u{1F472}\u{1F474}-\u{1F476}\u{1F478}\u{1F47C}\u{1F483}\u{1F485}\u{1F4AA}\u{1F574}\u{1F57A}\u{1F590}\u{1F595}\u{1F596}\u{1F64C}\u{1F64F}\u{1F6C0}\u{1F6CC}\u{1F90F}\u{1F918}-\u{1F91C}\u{1F91E}\u{1F91F}\u{1F930}-\u{1F936}\u{1F9B5}\u{1F9B6}\u{1F9BB}\u{1F9D2}-\u{1F9D5}][\u{1F3FB}-\u{1F3FF}]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55\u{1F004}\u{1F0CF}\u{1F18E}\u{1F191}-\u{1F19A}\u{1F1E6}-\u{1F1FF}\u{1F201}\u{1F21A}\u{1F22F}\u{1F232}-\u{1F236}\u{1F238}-\u{1F23A}\u{1F250}\u{1F251}\u{1F300}-\u{1F320}\u{1F32D}-\u{1F335}\u{1F337}-\u{1F37C}\u{1F37E}-\u{1F393}\u{1F3A0}-\u{1F3CA}\u{1F3CF}-\u{1F3D3}\u{1F3E0}-\u{1F3F0}\u{1F3F4}\u{1F3F8}-\u{1F43E}\u{1F440}\u{1F442}-\u{1F4FC}\u{1F4FF}-\u{1F53D}\u{1F54B}-\u{1F54E}\u{1F550}-\u{1F567}\u{1F57A}\u{1F595}\u{1F596}\u{1F5A4}\u{1F5FB}-\u{1F64F}\u{1F680}-\u{1F6C5}\u{1F6CC}\u{1F6D0}-\u{1F6D2}\u{1F6D5}\u{1F6EB}\u{1F6EC}\u{1F6F4}-\u{1F6FA}\u{1F7E0}-\u{1F7EB}\u{1F90D}-\u{1F93A}\u{1F93C}-\u{1F945}\u{1F947}-\u{1F971}\u{1F973}-\u{1F976}\u{1F97A}-\u{1F9A2}\u{1F9A5}-\u{1F9AA}\u{1F9AE}-\u{1F9CA}\u{1F9CD}-\u{1F9FF}\u{1FA70}-\u{1FA73}\u{1FA78}-\u{1FA7A}\u{1FA80}-\u{1FA82}\u{1FA90}-\u{1FA95}]|[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299\u{1F004}\u{1F0CF}\u{1F170}\u{1F171}\u{1F17E}\u{1F17F}\u{1F18E}\u{1F191}-\u{1F19A}\u{1F1E6}-\u{1F1FF}\u{1F201}\u{1F202}\u{1F21A}\u{1F22F}\u{1F232}-\u{1F23A}\u{1F250}\u{1F251}\u{1F300}-\u{1F321}\u{1F324}-\u{1F393}\u{1F396}\u{1F397}\u{1F399}-\u{1F39B}\u{1F39E}-\u{1F3F0}\u{1F3F3}-\u{1F3F5}\u{1F3F7}-\u{1F4FD}\u{1F4FF}-\u{1F53D}\u{1F549}-\u{1F54E}\u{1F550}-\u{1F567}\u{1F56F}\u{1F570}\u{1F573}-\u{1F57A}\u{1F587}\u{1F58A}-\u{1F58D}\u{1F590}\u{1F595}\u{1F596}\u{1F5A4}\u{1F5A5}\u{1F5A8}\u{1F5B1}\u{1F5B2}\u{1F5BC}\u{1F5C2}-\u{1F5C4}\u{1F5D1}-\u{1F5D3}\u{1F5DC}-\u{1F5DE}\u{1F5E1}\u{1F5E3}\u{1F5E8}\u{1F5EF}\u{1F5F3}\u{1F5FA}-\u{1F64F}\u{1F680}-\u{1F6C5}\u{1F6CB}-\u{1F6D2}\u{1F6D5}\u{1F6E0}-\u{1F6E5}\u{1F6E9}\u{1F6EB}\u{1F6EC}\u{1F6F0}\u{1F6F3}-\u{1F6FA}\u{1F7E0}-\u{1F7EB}\u{1F90D}-\u{1F93A}\u{1F93C}-\u{1F945}\u{1F947}-\u{1F971}\u{1F973}-\u{1F976}\u{1F97A}-\u{1F9A2}\u{1F9A5}-\u{1F9AA}\u{1F9AE}-\u{1F9CA}\u{1F9CD}-\u{1F9FF}\u{1FA70}-\u{1FA73}\u{1FA78}-\u{1FA7A}\u{1FA80}-\u{1FA82}\u{1FA90}-\u{1FA95}]\uFE0F|[\u261D\u26F9\u270A-\u270D\u{1F385}\u{1F3C2}-\u{1F3C4}\u{1F3C7}\u{1F3CA}-\u{1F3CC}\u{1F442}\u{1F443}\u{1F446}-\u{1F450}\u{1F466}-\u{1F478}\u{1F47C}\u{1F481}-\u{1F483}\u{1F485}-\u{1F487}\u{1F48F}\u{1F491}\u{1F4AA}\u{1F574}\u{1F575}\u{1F57A}\u{1F590}\u{1F595}\u{1F596}\u{1F645}-\u{1F647}\u{1F64B}-\u{1F64F}\u{1F6A3}\u{1F6B4}-\u{1F6B6}\u{1F6C0}\u{1F6CC}\u{1F90F}\u{1F918}-\u{1F91F}\u{1F926}\u{1F930}-\u{1F939}\u{1F93C}-\u{1F93E}\u{1F9B5}\u{1F9B6}\u{1F9B8}\u{1F9B9}\u{1F9BB}\u{1F9CD}-\u{1F9CF}\u{1F9D1}-\u{1F9DD}]/gu; -}; diff --git a/lambdas/risk-engine/node_modules/emoji-regex/es2015/text.js b/lambdas/risk-engine/node_modules/emoji-regex/es2015/text.js deleted file mode 100644 index 780309df..00000000 --- a/lambdas/risk-engine/node_modules/emoji-regex/es2015/text.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; - -module.exports = () => { - // https://mths.be/emoji - return /\u{1F3F4}\u{E0067}\u{E0062}(?:\u{E0065}\u{E006E}\u{E0067}|\u{E0073}\u{E0063}\u{E0074}|\u{E0077}\u{E006C}\u{E0073})\u{E007F}|\u{1F468}(?:\u{1F3FC}\u200D(?:\u{1F91D}\u200D\u{1F468}\u{1F3FB}|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F3FF}\u200D(?:\u{1F91D}\u200D\u{1F468}[\u{1F3FB}-\u{1F3FE}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F3FE}\u200D(?:\u{1F91D}\u200D\u{1F468}[\u{1F3FB}-\u{1F3FD}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F3FD}\u200D(?:\u{1F91D}\u200D\u{1F468}[\u{1F3FB}\u{1F3FC}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u200D(?:\u2764\uFE0F\u200D(?:\u{1F48B}\u200D)?\u{1F468}|[\u{1F468}\u{1F469}]\u200D(?:\u{1F466}\u200D\u{1F466}|\u{1F467}\u200D[\u{1F466}\u{1F467}])|\u{1F466}\u200D\u{1F466}|\u{1F467}\u200D[\u{1F466}\u{1F467}]|[\u{1F468}\u{1F469}]\u200D[\u{1F466}\u{1F467}]|[\u2695\u2696\u2708]\uFE0F|[\u{1F466}\u{1F467}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|(?:\u{1F3FB}\u200D[\u2695\u2696\u2708]|\u{1F3FF}\u200D[\u2695\u2696\u2708]|\u{1F3FE}\u200D[\u2695\u2696\u2708]|\u{1F3FD}\u200D[\u2695\u2696\u2708]|\u{1F3FC}\u200D[\u2695\u2696\u2708])\uFE0F|\u{1F3FB}\u200D[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}]|[\u{1F3FB}-\u{1F3FF}])|(?:\u{1F9D1}\u{1F3FB}\u200D\u{1F91D}\u200D\u{1F9D1}|\u{1F469}\u{1F3FC}\u200D\u{1F91D}\u200D\u{1F469})\u{1F3FB}|\u{1F9D1}(?:\u{1F3FF}\u200D\u{1F91D}\u200D\u{1F9D1}[\u{1F3FB}-\u{1F3FF}]|\u200D\u{1F91D}\u200D\u{1F9D1})|(?:\u{1F9D1}\u{1F3FE}\u200D\u{1F91D}\u200D\u{1F9D1}|\u{1F469}\u{1F3FF}\u200D\u{1F91D}\u200D[\u{1F468}\u{1F469}])[\u{1F3FB}-\u{1F3FE}]|(?:\u{1F9D1}\u{1F3FC}\u200D\u{1F91D}\u200D\u{1F9D1}|\u{1F469}\u{1F3FD}\u200D\u{1F91D}\u200D\u{1F469})[\u{1F3FB}\u{1F3FC}]|\u{1F469}(?:\u{1F3FE}\u200D(?:\u{1F91D}\u200D\u{1F468}[\u{1F3FB}-\u{1F3FD}\u{1F3FF}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F3FC}\u200D(?:\u{1F91D}\u200D\u{1F468}[\u{1F3FB}\u{1F3FD}-\u{1F3FF}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F3FB}\u200D(?:\u{1F91D}\u200D\u{1F468}[\u{1F3FC}-\u{1F3FF}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F3FD}\u200D(?:\u{1F91D}\u200D\u{1F468}[\u{1F3FB}\u{1F3FC}\u{1F3FE}\u{1F3FF}]|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u200D(?:\u2764\uFE0F\u200D(?:\u{1F48B}\u200D[\u{1F468}\u{1F469}]|[\u{1F468}\u{1F469}])|[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F3FF}\u200D[\u{1F33E}\u{1F373}\u{1F393}\u{1F3A4}\u{1F3A8}\u{1F3EB}\u{1F3ED}\u{1F4BB}\u{1F4BC}\u{1F527}\u{1F52C}\u{1F680}\u{1F692}\u{1F9AF}-\u{1F9B3}\u{1F9BC}\u{1F9BD}])|\u{1F469}\u200D\u{1F469}\u200D(?:\u{1F466}\u200D\u{1F466}|\u{1F467}\u200D[\u{1F466}\u{1F467}])|(?:\u{1F9D1}\u{1F3FD}\u200D\u{1F91D}\u200D\u{1F9D1}|\u{1F469}\u{1F3FE}\u200D\u{1F91D}\u200D\u{1F469})[\u{1F3FB}-\u{1F3FD}]|\u{1F469}\u200D\u{1F466}\u200D\u{1F466}|\u{1F469}\u200D\u{1F469}\u200D[\u{1F466}\u{1F467}]|(?:\u{1F441}\uFE0F\u200D\u{1F5E8}|\u{1F469}(?:\u{1F3FF}\u200D[\u2695\u2696\u2708]|\u{1F3FE}\u200D[\u2695\u2696\u2708]|\u{1F3FC}\u200D[\u2695\u2696\u2708]|\u{1F3FB}\u200D[\u2695\u2696\u2708]|\u{1F3FD}\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:[\u26F9\u{1F3CB}\u{1F3CC}\u{1F575}]\uFE0F|[\u{1F46F}\u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1F918}-\u{1F91C}\u{1F91E}\u{1F91F}\u{1F930}-\u{1F936}\u{1F9B5}\u{1F9B6}\u{1F9BB}\u{1F9D2}-\u{1F9D5}][\u{1F3FB}-\u{1F3FF}]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55\u{1F004}\u{1F0CF}\u{1F18E}\u{1F191}-\u{1F19A}\u{1F1E6}-\u{1F1FF}\u{1F201}\u{1F21A}\u{1F22F}\u{1F232}-\u{1F236}\u{1F238}-\u{1F23A}\u{1F250}\u{1F251}\u{1F300}-\u{1F320}\u{1F32D}-\u{1F335}\u{1F337}-\u{1F37C}\u{1F37E}-\u{1F393}\u{1F3A0}-\u{1F3CA}\u{1F3CF}-\u{1F3D3}\u{1F3E0}-\u{1F3F0}\u{1F3F4}\u{1F3F8}-\u{1F43E}\u{1F440}\u{1F442}-\u{1F4FC}\u{1F4FF}-\u{1F53D}\u{1F54B}-\u{1F54E}\u{1F550}-\u{1F567}\u{1F57A}\u{1F595}\u{1F596}\u{1F5A4}\u{1F5FB}-\u{1F64F}\u{1F680}-\u{1F6C5}\u{1F6CC}\u{1F6D0}-\u{1F6D2}\u{1F6D5}\u{1F6EB}\u{1F6EC}\u{1F6F4}-\u{1F6FA}\u{1F7E0}-\u{1F7EB}\u{1F90D}-\u{1F93A}\u{1F93C}-\u{1F945}\u{1F947}-\u{1F971}\u{1F973}-\u{1F976}\u{1F97A}-\u{1F9A2}\u{1F9A5}-\u{1F9AA}\u{1F9AE}-\u{1F9CA}\u{1F9CD}-\u{1F9FF}\u{1FA70}-\u{1FA73}\u{1FA78}-\u{1FA7A}\u{1FA80}-\u{1FA82}\u{1FA90}-\u{1FA95}]|[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299\u{1F004}\u{1F0CF}\u{1F170}\u{1F171}\u{1F17E}\u{1F17F}\u{1F18E}\u{1F191}-\u{1F19A}\u{1F1E6}-\u{1F1FF}\u{1F201}\u{1F202}\u{1F21A}\u{1F22F}\u{1F232}-\u{1F23A}\u{1F250}\u{1F251}\u{1F300}-\u{1F321}\u{1F324}-\u{1F393}\u{1F396}\u{1F397}\u{1F399}-\u{1F39B}\u{1F39E}-\u{1F3F0}\u{1F3F3}-\u{1F3F5}\u{1F3F7}-\u{1F4FD}\u{1F4FF}-\u{1F53D}\u{1F549}-\u{1F54E}\u{1F550}-\u{1F567}\u{1F56F}\u{1F570}\u{1F573}-\u{1F57A}\u{1F587}\u{1F58A}-\u{1F58D}\u{1F590}\u{1F595}\u{1F596}\u{1F5A4}\u{1F5A5}\u{1F5A8}\u{1F5B1}\u{1F5B2}\u{1F5BC}\u{1F5C2}-\u{1F5C4}\u{1F5D1}-\u{1F5D3}\u{1F5DC}-\u{1F5DE}\u{1F5E1}\u{1F5E3}\u{1F5E8}\u{1F5EF}\u{1F5F3}\u{1F5FA}-\u{1F64F}\u{1F680}-\u{1F6C5}\u{1F6CB}-\u{1F6D2}\u{1F6D5}\u{1F6E0}-\u{1F6E5}\u{1F6E9}\u{1F6EB}\u{1F6EC}\u{1F6F0}\u{1F6F3}-\u{1F6FA}\u{1F7E0}-\u{1F7EB}\u{1F90D}-\u{1F93A}\u{1F93C}-\u{1F945}\u{1F947}-\u{1F971}\u{1F973}-\u{1F976}\u{1F97A}-\u{1F9A2}\u{1F9A5}-\u{1F9AA}\u{1F9AE}-\u{1F9CA}\u{1F9CD}-\u{1F9FF}\u{1FA70}-\u{1FA73}\u{1FA78}-\u{1FA7A}\u{1FA80}-\u{1FA82}\u{1FA90}-\u{1FA95}]\uFE0F?|[\u261D\u26F9\u270A-\u270D\u{1F385}\u{1F3C2}-\u{1F3C4}\u{1F3C7}\u{1F3CA}-\u{1F3CC}\u{1F442}\u{1F443}\u{1F446}-\u{1F450}\u{1F466}-\u{1F478}\u{1F47C}\u{1F481}-\u{1F483}\u{1F485}-\u{1F487}\u{1F48F}\u{1F491}\u{1F4AA}\u{1F574}\u{1F575}\u{1F57A}\u{1F590}\u{1F595}\u{1F596}\u{1F645}-\u{1F647}\u{1F64B}-\u{1F64F}\u{1F6A3}\u{1F6B4}-\u{1F6B6}\u{1F6C0}\u{1F6CC}\u{1F90F}\u{1F918}-\u{1F91F}\u{1F926}\u{1F930}-\u{1F939}\u{1F93C}-\u{1F93E}\u{1F9B5}\u{1F9B6}\u{1F9B8}\u{1F9B9}\u{1F9BB}\u{1F9CD}-\u{1F9CF}\u{1F9D1}-\u{1F9DD}]/gu; -}; diff --git a/lambdas/risk-engine/node_modules/emoji-regex/index.d.ts b/lambdas/risk-engine/node_modules/emoji-regex/index.d.ts deleted file mode 100644 index 1955b470..00000000 --- a/lambdas/risk-engine/node_modules/emoji-regex/index.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare module 'emoji-regex' { - function emojiRegex(): RegExp; - - export default emojiRegex; -} - -declare module 'emoji-regex/text' { - function emojiRegex(): RegExp; - - export default emojiRegex; -} - -declare module 'emoji-regex/es2015' { - function emojiRegex(): RegExp; - - export default emojiRegex; -} - -declare module 'emoji-regex/es2015/text' { - function emojiRegex(): RegExp; - - export default emojiRegex; -} diff --git a/lambdas/risk-engine/node_modules/emoji-regex/index.js b/lambdas/risk-engine/node_modules/emoji-regex/index.js deleted file mode 100644 index d993a3a9..00000000 --- a/lambdas/risk-engine/node_modules/emoji-regex/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; - -module.exports = function () { - // https://mths.be/emoji - return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED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\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g; -}; diff --git a/lambdas/risk-engine/node_modules/emoji-regex/package.json b/lambdas/risk-engine/node_modules/emoji-regex/package.json deleted file mode 100644 index 6d323528..00000000 --- a/lambdas/risk-engine/node_modules/emoji-regex/package.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "emoji-regex", - "version": "8.0.0", - "description": "A regular expression to match all Emoji-only symbols as per the Unicode Standard.", - "homepage": "https://mths.be/emoji-regex", - "main": "index.js", - "types": "index.d.ts", - "keywords": [ - "unicode", - "regex", - "regexp", - "regular expressions", - "code points", - "symbols", - "characters", - "emoji" - ], - "license": "MIT", - "author": { - "name": "Mathias Bynens", - "url": "https://mathiasbynens.be/" - }, - "repository": { - "type": "git", - "url": "https://github.com/mathiasbynens/emoji-regex.git" - }, - "bugs": "https://github.com/mathiasbynens/emoji-regex/issues", - "files": [ - "LICENSE-MIT.txt", - "index.js", - "index.d.ts", - "text.js", - "es2015/index.js", - "es2015/text.js" - ], - "scripts": { - "build": "rm -rf -- es2015; babel src -d .; NODE_ENV=es2015 babel src -d ./es2015; node script/inject-sequences.js", - "test": "mocha", - "test:watch": "npm run test -- --watch" - }, - "devDependencies": { - "@babel/cli": "^7.2.3", - "@babel/core": "^7.3.4", - "@babel/plugin-proposal-unicode-property-regex": "^7.2.0", - "@babel/preset-env": "^7.3.4", - "mocha": "^6.0.2", - "regexgen": "^1.3.0", - "unicode-12.0.0": "^0.7.9" - } -} diff --git a/lambdas/risk-engine/node_modules/emoji-regex/text.js b/lambdas/risk-engine/node_modules/emoji-regex/text.js deleted file mode 100644 index 0a55ce2f..00000000 --- a/lambdas/risk-engine/node_modules/emoji-regex/text.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; - -module.exports = function () { - // https://mths.be/emoji - return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uD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\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F?|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g; -}; diff --git a/lambdas/risk-engine/node_modules/error-ex/LICENSE b/lambdas/risk-engine/node_modules/error-ex/LICENSE deleted file mode 100644 index 0a5f461a..00000000 --- a/lambdas/risk-engine/node_modules/error-ex/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 JD Ballard - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/error-ex/README.md b/lambdas/risk-engine/node_modules/error-ex/README.md deleted file mode 100644 index 3233dcd5..00000000 --- a/lambdas/risk-engine/node_modules/error-ex/README.md +++ /dev/null @@ -1,144 +0,0 @@ -# node-error-ex [![Travis-CI.org Build Status](https://img.shields.io/travis/Qix-/node-error-ex.svg?style=flat-square)](https://travis-ci.org/Qix-/node-error-ex) [![Coveralls.io Coverage Rating](https://img.shields.io/coveralls/Qix-/node-error-ex.svg?style=flat-square)](https://coveralls.io/r/Qix-/node-error-ex) -> Easily subclass and customize new Error types - -## Examples -To include in your project: -```javascript -var errorEx = require('error-ex'); -``` - -To create an error message type with a specific name (note, that `ErrorFn.name` -will not reflect this): -```javascript -var JSONError = errorEx('JSONError'); - -var err = new JSONError('error'); -err.name; //-> JSONError -throw err; //-> JSONError: error -``` - -To add a stack line: -```javascript -var JSONError = errorEx('JSONError', {fileName: errorEx.line('in %s')}); - -var err = new JSONError('error') -err.fileName = '/a/b/c/foo.json'; -throw err; //-> (line 2)-> in /a/b/c/foo.json -``` - -To append to the error message: -```javascript -var JSONError = errorEx('JSONError', {fileName: errorEx.append('in %s')}); - -var err = new JSONError('error'); -err.fileName = '/a/b/c/foo.json'; -throw err; //-> JSONError: error in /a/b/c/foo.json -``` - -## API - -#### `errorEx([name], [properties])` -Creates a new ErrorEx error type - -- `name`: the name of the new type (appears in the error message upon throw; - defaults to `Error.name`) -- `properties`: if supplied, used as a key/value dictionary of properties to - use when building up the stack message. Keys are property names that are - looked up on the error message, and then passed to function values. - - `line`: if specified and is a function, return value is added as a stack - entry (error-ex will indent for you). Passed the property value given - the key. - - `stack`: if specified and is a function, passed the value of the property - using the key, and the raw stack lines as a second argument. Takes no - return value (but the stack can be modified directly). - - `message`: if specified and is a function, return value is used as new - `.message` value upon get. Passed the property value of the property named - by key, and the existing message is passed as the second argument as an - array of lines (suitable for multi-line messages). - -Returns a constructor (Function) that can be used just like the regular Error -constructor. - -```javascript -var errorEx = require('error-ex'); - -var BasicError = errorEx(); - -var NamedError = errorEx('NamedError'); - -// -- - -var AdvancedError = errorEx('AdvancedError', { - foo: { - line: function (value, stack) { - if (value) { - return 'bar ' + value; - } - return null; - } - } -}) - -var err = new AdvancedError('hello, world'); -err.foo = 'baz'; -throw err; - -/* - AdvancedError: hello, world - bar baz - at tryReadme() (readme.js:20:1) -*/ -``` - -#### `errorEx.line(str)` -Creates a stack line using a delimiter - -> This is a helper function. It is to be used in lieu of writing a value object -> for `properties` values. - -- `str`: The string to create - - Use the delimiter `%s` to specify where in the string the value should go - -```javascript -var errorEx = require('error-ex'); - -var FileError = errorEx('FileError', {fileName: errorEx.line('in %s')}); - -var err = new FileError('problem reading file'); -err.fileName = '/a/b/c/d/foo.js'; -throw err; - -/* - FileError: problem reading file - in /a/b/c/d/foo.js - at tryReadme() (readme.js:7:1) -*/ -``` - -#### `errorEx.append(str)` -Appends to the `error.message` string - -> This is a helper function. It is to be used in lieu of writing a value object -> for `properties` values. - -- `str`: The string to append - - Use the delimiter `%s` to specify where in the string the value should go - -```javascript -var errorEx = require('error-ex'); - -var SyntaxError = errorEx('SyntaxError', {fileName: errorEx.append('in %s')}); - -var err = new SyntaxError('improper indentation'); -err.fileName = '/a/b/c/d/foo.js'; -throw err; - -/* - SyntaxError: improper indentation in /a/b/c/d/foo.js - at tryReadme() (readme.js:7:1) -*/ -``` - -## License -Licensed under the [MIT License](http://opensource.org/licenses/MIT). -You can find a copy of it in [LICENSE](LICENSE). diff --git a/lambdas/risk-engine/node_modules/error-ex/index.js b/lambdas/risk-engine/node_modules/error-ex/index.js deleted file mode 100644 index 4fb20b48..00000000 --- a/lambdas/risk-engine/node_modules/error-ex/index.js +++ /dev/null @@ -1,141 +0,0 @@ -'use strict'; - -var util = require('util'); -var isArrayish = require('is-arrayish'); - -var errorEx = function errorEx(name, properties) { - if (!name || name.constructor !== String) { - properties = name || {}; - name = Error.name; - } - - var errorExError = function ErrorEXError(message) { - if (!this) { - return new ErrorEXError(message); - } - - message = message instanceof Error - ? message.message - : (message || this.message); - - Error.call(this, message); - Error.captureStackTrace(this, errorExError); - - this.name = name; - - Object.defineProperty(this, 'message', { - configurable: true, - enumerable: false, - get: function () { - var newMessage = message.split(/\r?\n/g); - - for (var key in properties) { - if (!properties.hasOwnProperty(key)) { - continue; - } - - var modifier = properties[key]; - - if ('message' in modifier) { - newMessage = modifier.message(this[key], newMessage) || newMessage; - if (!isArrayish(newMessage)) { - newMessage = [newMessage]; - } - } - } - - return newMessage.join('\n'); - }, - set: function (v) { - message = v; - } - }); - - var overwrittenStack = null; - - var stackDescriptor = Object.getOwnPropertyDescriptor(this, 'stack'); - var stackGetter = stackDescriptor.get; - var stackValue = stackDescriptor.value; - delete stackDescriptor.value; - delete stackDescriptor.writable; - - stackDescriptor.set = function (newstack) { - overwrittenStack = newstack; - }; - - stackDescriptor.get = function () { - var stack = (overwrittenStack || ((stackGetter) - ? stackGetter.call(this) - : stackValue)).split(/\r?\n+/g); - - // starting in Node 7, the stack builder caches the message. - // just replace it. - if (!overwrittenStack) { - stack[0] = this.name + ': ' + this.message; - } - - var lineCount = 1; - for (var key in properties) { - if (!properties.hasOwnProperty(key)) { - continue; - } - - var modifier = properties[key]; - - if ('line' in modifier) { - var line = modifier.line(this[key]); - if (line) { - stack.splice(lineCount++, 0, ' ' + line); - } - } - - if ('stack' in modifier) { - modifier.stack(this[key], stack); - } - } - - return stack.join('\n'); - }; - - Object.defineProperty(this, 'stack', stackDescriptor); - }; - - if (Object.setPrototypeOf) { - Object.setPrototypeOf(errorExError.prototype, Error.prototype); - Object.setPrototypeOf(errorExError, Error); - } else { - util.inherits(errorExError, Error); - } - - return errorExError; -}; - -errorEx.append = function (str, def) { - return { - message: function (v, message) { - v = v || def; - - if (v) { - message[0] += ' ' + str.replace('%s', v.toString()); - } - - return message; - } - }; -}; - -errorEx.line = function (str, def) { - return { - line: function (v) { - v = v || def; - - if (v) { - return str.replace('%s', v.toString()); - } - - return null; - } - }; -}; - -module.exports = errorEx; diff --git a/lambdas/risk-engine/node_modules/error-ex/package.json b/lambdas/risk-engine/node_modules/error-ex/package.json deleted file mode 100644 index c25efb03..00000000 --- a/lambdas/risk-engine/node_modules/error-ex/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "error-ex", - "description": "Easy error subclassing and stack customization", - "version": "1.3.4", - "maintainers": [ - "Josh Junon (github.com/qix-)", - "Sindre Sorhus (sindresorhus.com)" - ], - "keywords": [ - "error", - "errors", - "extend", - "extending", - "extension", - "subclass", - "stack", - "custom" - ], - "license": "MIT", - "scripts": { - "pretest": "xo", - "test": "mocha --compilers coffee:coffee-script/register" - }, - "xo": { - "rules": { - "operator-linebreak": [ - 0 - ] - } - }, - "repository": "qix-/node-error-ex", - "files": [ - "index.js" - ], - "devDependencies": { - "coffee-script": "^1.9.3", - "coveralls": "^2.11.2", - "istanbul": "^0.3.17", - "mocha": "^2.2.5", - "should": "^7.0.1", - "xo": "^0.7.1" - }, - "dependencies": { - "is-arrayish": "^0.2.1" - } -} diff --git a/lambdas/risk-engine/node_modules/escalade/dist/index.js b/lambdas/risk-engine/node_modules/escalade/dist/index.js deleted file mode 100644 index ad236c49..00000000 --- a/lambdas/risk-engine/node_modules/escalade/dist/index.js +++ /dev/null @@ -1,22 +0,0 @@ -const { dirname, resolve } = require('path'); -const { readdir, stat } = require('fs'); -const { promisify } = require('util'); - -const toStats = promisify(stat); -const toRead = promisify(readdir); - -module.exports = async function (start, callback) { - let dir = resolve('.', start); - let tmp, stats = await toStats(dir); - - if (!stats.isDirectory()) { - dir = dirname(dir); - } - - while (true) { - tmp = await callback(dir, await toRead(dir)); - if (tmp) return resolve(dir, tmp); - dir = dirname(tmp = dir); - if (tmp === dir) break; - } -} diff --git a/lambdas/risk-engine/node_modules/escalade/dist/index.mjs b/lambdas/risk-engine/node_modules/escalade/dist/index.mjs deleted file mode 100644 index bf95be03..00000000 --- a/lambdas/risk-engine/node_modules/escalade/dist/index.mjs +++ /dev/null @@ -1,22 +0,0 @@ -import { dirname, resolve } from 'path'; -import { readdir, stat } from 'fs'; -import { promisify } from 'util'; - -const toStats = promisify(stat); -const toRead = promisify(readdir); - -export default async function (start, callback) { - let dir = resolve('.', start); - let tmp, stats = await toStats(dir); - - if (!stats.isDirectory()) { - dir = dirname(dir); - } - - while (true) { - tmp = await callback(dir, await toRead(dir)); - if (tmp) return resolve(dir, tmp); - dir = dirname(tmp = dir); - if (tmp === dir) break; - } -} diff --git a/lambdas/risk-engine/node_modules/escalade/index.d.mts b/lambdas/risk-engine/node_modules/escalade/index.d.mts deleted file mode 100644 index 550699cf..00000000 --- a/lambdas/risk-engine/node_modules/escalade/index.d.mts +++ /dev/null @@ -1,11 +0,0 @@ -type Promisable = T | Promise; - -export type Callback = ( - directory: string, - files: string[], -) => Promisable; - -export default function ( - directory: string, - callback: Callback, -): Promise; diff --git a/lambdas/risk-engine/node_modules/escalade/index.d.ts b/lambdas/risk-engine/node_modules/escalade/index.d.ts deleted file mode 100644 index 26c58f2f..00000000 --- a/lambdas/risk-engine/node_modules/escalade/index.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -type Promisable = T | Promise; - -declare namespace escalade { - export type Callback = ( - directory: string, - files: string[], - ) => Promisable; -} - -declare function escalade( - directory: string, - callback: escalade.Callback, -): Promise; - -export = escalade; diff --git a/lambdas/risk-engine/node_modules/escalade/license b/lambdas/risk-engine/node_modules/escalade/license deleted file mode 100644 index fa6089fa..00000000 --- a/lambdas/risk-engine/node_modules/escalade/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Luke Edwards (lukeed.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/escalade/package.json b/lambdas/risk-engine/node_modules/escalade/package.json deleted file mode 100644 index 1eed4f93..00000000 --- a/lambdas/risk-engine/node_modules/escalade/package.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "name": "escalade", - "version": "3.2.0", - "repository": "lukeed/escalade", - "description": "A tiny (183B to 210B) and fast utility to ascend parent directories", - "module": "dist/index.mjs", - "main": "dist/index.js", - "types": "index.d.ts", - "license": "MIT", - "author": { - "name": "Luke Edwards", - "email": "luke.edwards05@gmail.com", - "url": "https://lukeed.com" - }, - "exports": { - ".": [ - { - "import": { - "types": "./index.d.mts", - "default": "./dist/index.mjs" - }, - "require": { - "types": "./index.d.ts", - "default": "./dist/index.js" - } - }, - "./dist/index.js" - ], - "./sync": [ - { - "import": { - "types": "./sync/index.d.mts", - "default": "./sync/index.mjs" - }, - "require": { - "types": "./sync/index.d.ts", - "default": "./sync/index.js" - } - }, - "./sync/index.js" - ] - }, - "files": [ - "*.d.mts", - "*.d.ts", - "dist", - "sync" - ], - "modes": { - "sync": "src/sync.js", - "default": "src/async.js" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "build": "bundt", - "pretest": "npm run build", - "test": "uvu -r esm test -i fixtures" - }, - "keywords": [ - "find", - "parent", - "parents", - "directory", - "search", - "walk" - ], - "devDependencies": { - "bundt": "1.1.1", - "esm": "3.2.25", - "uvu": "0.3.3" - } -} diff --git a/lambdas/risk-engine/node_modules/escalade/readme.md b/lambdas/risk-engine/node_modules/escalade/readme.md deleted file mode 100644 index e07ee0d3..00000000 --- a/lambdas/risk-engine/node_modules/escalade/readme.md +++ /dev/null @@ -1,211 +0,0 @@ -# escalade [![CI](https://github.com/lukeed/escalade/workflows/CI/badge.svg)](https://github.com/lukeed/escalade/actions) [![licenses](https://licenses.dev/b/npm/escalade)](https://licenses.dev/npm/escalade) [![codecov](https://badgen.now.sh/codecov/c/github/lukeed/escalade)](https://codecov.io/gh/lukeed/escalade) - -> A tiny (183B to 210B) and [fast](#benchmarks) utility to ascend parent directories - -With [escalade](https://en.wikipedia.org/wiki/Escalade), you can scale parent directories until you've found what you're looking for.
Given an input file or directory, `escalade` will continue executing your callback function until either: - -1) the callback returns a truthy value -2) `escalade` has reached the system root directory (eg, `/`) - -> **Important:**
Please note that `escalade` only deals with direct ancestry – it will not dive into parents' sibling directories. - ---- - -**Notice:** As of v3.1.0, `escalade` now includes [Deno support](http://deno.land/x/escalade)! Please see [Deno Usage](#deno) below. - ---- - -## Install - -``` -$ npm install --save escalade -``` - - -## Modes - -There are two "versions" of `escalade` available: - -#### "async" -> **Node.js:** >= 8.x
-> **Size (gzip):** 210 bytes
-> **Availability:** [CommonJS](https://unpkg.com/escalade/dist/index.js), [ES Module](https://unpkg.com/escalade/dist/index.mjs) - -This is the primary/default mode. It makes use of `async`/`await` and [`util.promisify`](https://nodejs.org/api/util.html#util_util_promisify_original). - -#### "sync" -> **Node.js:** >= 6.x
-> **Size (gzip):** 183 bytes
-> **Availability:** [CommonJS](https://unpkg.com/escalade/sync/index.js), [ES Module](https://unpkg.com/escalade/sync/index.mjs) - -This is the opt-in mode, ideal for scenarios where `async` usage cannot be supported. - - -## Usage - -***Example Structure*** - -``` -/Users/lukeed - └── oss - ├── license - └── escalade - ├── package.json - └── test - └── fixtures - ├── index.js - └── foobar - └── demo.js -``` - -***Example Usage*** - -```js -//~> demo.js -import { join } from 'path'; -import escalade from 'escalade'; - -const input = join(__dirname, 'demo.js'); -// or: const input = __dirname; - -const pkg = await escalade(input, (dir, names) => { - console.log('~> dir:', dir); - console.log('~> names:', names); - console.log('---'); - - if (names.includes('package.json')) { - // will be resolved into absolute - return 'package.json'; - } -}); - -//~> dir: /Users/lukeed/oss/escalade/test/fixtures/foobar -//~> names: ['demo.js'] -//--- -//~> dir: /Users/lukeed/oss/escalade/test/fixtures -//~> names: ['index.js', 'foobar'] -//--- -//~> dir: /Users/lukeed/oss/escalade/test -//~> names: ['fixtures'] -//--- -//~> dir: /Users/lukeed/oss/escalade -//~> names: ['package.json', 'test'] -//--- - -console.log(pkg); -//=> /Users/lukeed/oss/escalade/package.json - -// Now search for "missing123.txt" -// (Assume it doesn't exist anywhere!) -const missing = await escalade(input, (dir, names) => { - console.log('~> dir:', dir); - return names.includes('missing123.txt') && 'missing123.txt'; -}); - -//~> dir: /Users/lukeed/oss/escalade/test/fixtures/foobar -//~> dir: /Users/lukeed/oss/escalade/test/fixtures -//~> dir: /Users/lukeed/oss/escalade/test -//~> dir: /Users/lukeed/oss/escalade -//~> dir: /Users/lukeed/oss -//~> dir: /Users/lukeed -//~> dir: /Users -//~> dir: / - -console.log(missing); -//=> undefined -``` - -> **Note:** To run the above example with "sync" mode, import from `escalade/sync` and remove the `await` keyword. - - -## API - -### escalade(input, callback) -Returns: `string|void` or `Promise` - -When your `callback` locates a file, `escalade` will resolve/return with an absolute path.
-If your `callback` was never satisfied, then `escalade` will resolve/return with nothing (undefined). - -> **Important:**
The `sync` and `async` versions share the same API.
The **only** difference is that `sync` is not Promise-based. - -#### input -Type: `string` - -The path from which to start ascending. - -This may be a file or a directory path.
However, when `input` is a file, `escalade` will begin with its parent directory. - -> **Important:** Unless given an absolute path, `input` will be resolved from `process.cwd()` location. - -#### callback -Type: `Function` - -The callback to execute for each ancestry level. It always is given two arguments: - -1) `dir` - an absolute path of the current parent directory -2) `names` - a list (`string[]`) of contents _relative to_ the `dir` parent - -> **Note:** The `names` list can contain names of files _and_ directories. - -When your callback returns a _falsey_ value, then `escalade` will continue with `dir`'s parent directory, re-invoking your callback with new argument values. - -When your callback returns a string, then `escalade` stops iteration immediately.
-If the string is an absolute path, then it's left as is. Otherwise, the string is resolved into an absolute path _from_ the `dir` that housed the satisfying condition. - -> **Important:** Your `callback` can be a `Promise/AsyncFunction` when using the "async" version of `escalade`. - -## Benchmarks - -> Running on Node.js v10.13.0 - -``` -# Load Time - find-up 3.891ms - escalade 0.485ms - escalade/sync 0.309ms - -# Levels: 6 (target = "foo.txt"): - find-up x 24,856 ops/sec ±6.46% (55 runs sampled) - escalade x 73,084 ops/sec ±4.23% (73 runs sampled) - find-up.sync x 3,663 ops/sec ±1.12% (83 runs sampled) - escalade/sync x 9,360 ops/sec ±0.62% (88 runs sampled) - -# Levels: 12 (target = "package.json"): - find-up x 29,300 ops/sec ±10.68% (70 runs sampled) - escalade x 73,685 ops/sec ± 5.66% (66 runs sampled) - find-up.sync x 1,707 ops/sec ± 0.58% (91 runs sampled) - escalade/sync x 4,667 ops/sec ± 0.68% (94 runs sampled) - -# Levels: 18 (target = "missing123.txt"): - find-up x 21,818 ops/sec ±17.37% (14 runs sampled) - escalade x 67,101 ops/sec ±21.60% (20 runs sampled) - find-up.sync x 1,037 ops/sec ± 2.86% (88 runs sampled) - escalade/sync x 1,248 ops/sec ± 0.50% (93 runs sampled) -``` - -## Deno - -As of v3.1.0, `escalade` is available on the Deno registry. - -Please note that the [API](#api) is identical and that there are still [two modes](#modes) from which to choose: - -```ts -// Choose "async" mode -import escalade from 'https://deno.land/escalade/async.ts'; - -// Choose "sync" mode -import escalade from 'https://deno.land/escalade/sync.ts'; -``` - -> **Important:** The `allow-read` permission is required! - - -## Related - -- [premove](https://github.com/lukeed/premove) - A tiny (247B) utility to remove items recursively -- [totalist](https://github.com/lukeed/totalist) - A tiny (195B to 224B) utility to recursively list all (total) files in a directory -- [mk-dirs](https://github.com/lukeed/mk-dirs) - A tiny (420B) utility to make a directory and its parents, recursively - -## License - -MIT © [Luke Edwards](https://lukeed.com) diff --git a/lambdas/risk-engine/node_modules/escalade/sync/index.d.mts b/lambdas/risk-engine/node_modules/escalade/sync/index.d.mts deleted file mode 100644 index c023d37b..00000000 --- a/lambdas/risk-engine/node_modules/escalade/sync/index.d.mts +++ /dev/null @@ -1,9 +0,0 @@ -export type Callback = ( - directory: string, - files: string[], -) => string | false | void; - -export default function ( - directory: string, - callback: Callback, -): string | void; diff --git a/lambdas/risk-engine/node_modules/escalade/sync/index.d.ts b/lambdas/risk-engine/node_modules/escalade/sync/index.d.ts deleted file mode 100644 index 9d5b5890..00000000 --- a/lambdas/risk-engine/node_modules/escalade/sync/index.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -declare namespace escalade { - export type Callback = ( - directory: string, - files: string[], - ) => string | false | void; -} - -declare function escalade( - directory: string, - callback: escalade.Callback, -): string | void; - -export = escalade; diff --git a/lambdas/risk-engine/node_modules/escalade/sync/index.js b/lambdas/risk-engine/node_modules/escalade/sync/index.js deleted file mode 100644 index 902cc46c..00000000 --- a/lambdas/risk-engine/node_modules/escalade/sync/index.js +++ /dev/null @@ -1,18 +0,0 @@ -const { dirname, resolve } = require('path'); -const { readdirSync, statSync } = require('fs'); - -module.exports = function (start, callback) { - let dir = resolve('.', start); - let tmp, stats = statSync(dir); - - if (!stats.isDirectory()) { - dir = dirname(dir); - } - - while (true) { - tmp = callback(dir, readdirSync(dir)); - if (tmp) return resolve(dir, tmp); - dir = dirname(tmp = dir); - if (tmp === dir) break; - } -} diff --git a/lambdas/risk-engine/node_modules/escalade/sync/index.mjs b/lambdas/risk-engine/node_modules/escalade/sync/index.mjs deleted file mode 100644 index 3cdc5bd1..00000000 --- a/lambdas/risk-engine/node_modules/escalade/sync/index.mjs +++ /dev/null @@ -1,18 +0,0 @@ -import { dirname, resolve } from 'path'; -import { readdirSync, statSync } from 'fs'; - -export default function (start, callback) { - let dir = resolve('.', start); - let tmp, stats = statSync(dir); - - if (!stats.isDirectory()) { - dir = dirname(dir); - } - - while (true) { - tmp = callback(dir, readdirSync(dir)); - if (tmp) return resolve(dir, tmp); - dir = dirname(tmp = dir); - if (tmp === dir) break; - } -} diff --git a/lambdas/risk-engine/node_modules/escape-string-regexp/index.d.ts b/lambdas/risk-engine/node_modules/escape-string-regexp/index.d.ts deleted file mode 100644 index 7d34edc7..00000000 --- a/lambdas/risk-engine/node_modules/escape-string-regexp/index.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** -Escape RegExp special characters. - -You can also use this to escape a string that is inserted into the middle of a regex, for example, into a character class. - -@example -``` -import escapeStringRegexp = require('escape-string-regexp'); - -const escapedString = escapeStringRegexp('How much $ for a 🦄?'); -//=> 'How much \\$ for a 🦄\\?' - -new RegExp(escapedString); -``` -*/ -declare const escapeStringRegexp: (string: string) => string; - -export = escapeStringRegexp; diff --git a/lambdas/risk-engine/node_modules/escape-string-regexp/index.js b/lambdas/risk-engine/node_modules/escape-string-regexp/index.js deleted file mode 100644 index 58217a4e..00000000 --- a/lambdas/risk-engine/node_modules/escape-string-regexp/index.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -const matchOperatorsRegex = /[|\\{}()[\]^$+*?.-]/g; - -module.exports = string => { - if (typeof string !== 'string') { - throw new TypeError('Expected a string'); - } - - return string.replace(matchOperatorsRegex, '\\$&'); -}; diff --git a/lambdas/risk-engine/node_modules/escape-string-regexp/license b/lambdas/risk-engine/node_modules/escape-string-regexp/license deleted file mode 100644 index e7af2f77..00000000 --- a/lambdas/risk-engine/node_modules/escape-string-regexp/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/escape-string-regexp/package.json b/lambdas/risk-engine/node_modules/escape-string-regexp/package.json deleted file mode 100644 index 2e343cfa..00000000 --- a/lambdas/risk-engine/node_modules/escape-string-regexp/package.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "escape-string-regexp", - "version": "2.0.0", - "description": "Escape RegExp special characters", - "license": "MIT", - "repository": "sindresorhus/escape-string-regexp", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "maintainers": [ - "Sindre Sorhus (sindresorhus.com)", - "Joshua Boy Nicolai Appelman (jbna.nl)" - ], - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "escape", - "regex", - "regexp", - "re", - "regular", - "expression", - "string", - "str", - "special", - "characters" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } -} diff --git a/lambdas/risk-engine/node_modules/escape-string-regexp/readme.md b/lambdas/risk-engine/node_modules/escape-string-regexp/readme.md deleted file mode 100644 index 157472b7..00000000 --- a/lambdas/risk-engine/node_modules/escape-string-regexp/readme.md +++ /dev/null @@ -1,29 +0,0 @@ -# escape-string-regexp [![Build Status](https://travis-ci.org/sindresorhus/escape-string-regexp.svg?branch=master)](https://travis-ci.org/sindresorhus/escape-string-regexp) - -> Escape RegExp special characters - - -## Install - -``` -$ npm install escape-string-regexp -``` - - -## Usage - -```js -const escapeStringRegexp = require('escape-string-regexp'); - -const escapedString = escapeStringRegexp('How much $ for a 🦄?'); -//=> 'How much \\$ for a 🦄\\?' - -new RegExp(escapedString); -``` - -You can also use this to escape a string that is inserted into the middle of a regex, for example, into a character class. - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/lambdas/risk-engine/node_modules/esprima/ChangeLog b/lambdas/risk-engine/node_modules/esprima/ChangeLog deleted file mode 100644 index fafe1c98..00000000 --- a/lambdas/risk-engine/node_modules/esprima/ChangeLog +++ /dev/null @@ -1,235 +0,0 @@ -2018-06-17: Version 4.0.1 - - * Fix parsing async get/set in a class (issue 1861, 1875) - * Account for different return statement argument (issue 1829, 1897, 1928) - * Correct the handling of HTML comment when parsing a module (issue 1841) - * Fix incorrect parse async with proto-identifier-shorthand (issue 1847) - * Fix negative column in binary expression (issue 1844) - * Fix incorrect YieldExpression in object methods (issue 1834) - * Various documentation fixes - -2017-06-10: Version 4.0.0 - - * Support ES2017 async function and await expression (issue 1079) - * Support ES2017 trailing commas in function parameters (issue 1550) - * Explicitly distinguish parsing a module vs a script (issue 1576) - * Fix JSX non-empty container (issue 1786) - * Allow JSX element in a yield expression (issue 1765) - * Allow `in` expression in a concise body with a function body (issue 1793) - * Setter function argument must not be a rest parameter (issue 1693) - * Limit strict mode directive to functions with a simple parameter list (issue 1677) - * Prohibit any escape sequence in a reserved word (issue 1612) - * Only permit hex digits in hex escape sequence (issue 1619) - * Prohibit labelled class/generator/function declaration (issue 1484) - * Limit function declaration as if statement clause only in non-strict mode (issue 1657) - * Tolerate missing ) in a with and do-while statement (issue 1481) - -2016-12-22: Version 3.1.3 - - * Support binding patterns as rest element (issue 1681) - * Account for different possible arguments of a yield expression (issue 1469) - -2016-11-24: Version 3.1.2 - - * Ensure that import specifier is more restrictive (issue 1615) - * Fix duplicated JSX tokens (issue 1613) - * Scan template literal in a JSX expression container (issue 1622) - * Improve XHTML entity scanning in JSX (issue 1629) - -2016-10-31: Version 3.1.1 - - * Fix assignment expression problem in an export declaration (issue 1596) - * Fix incorrect tokenization of hex digits (issue 1605) - -2016-10-09: Version 3.1.0 - - * Do not implicitly collect comments when comment attachment is specified (issue 1553) - * Fix incorrect handling of duplicated proto shorthand fields (issue 1485) - * Prohibit initialization in some variants of for statements (issue 1309, 1561) - * Fix incorrect parsing of export specifier (issue 1578) - * Fix ESTree compatibility for assignment pattern (issue 1575) - -2016-09-03: Version 3.0.0 - - * Support ES2016 exponentiation expression (issue 1490) - * Support JSX syntax (issue 1467) - * Use the latest Unicode 8.0 (issue 1475) - * Add the support for syntax node delegate (issue 1435) - * Fix ESTree compatibility on meta property (issue 1338) - * Fix ESTree compatibility on default parameter value (issue 1081) - * Fix ESTree compatibility on try handler (issue 1030) - -2016-08-23: Version 2.7.3 - - * Fix tokenizer confusion with a comment (issue 1493, 1516) - -2016-02-02: Version 2.7.2 - - * Fix out-of-bound error location in an invalid string literal (issue 1457) - * Fix shorthand object destructuring defaults in variable declarations (issue 1459) - -2015-12-10: Version 2.7.1 - - * Do not allow trailing comma in a variable declaration (issue 1360) - * Fix assignment to `let` in non-strict mode (issue 1376) - * Fix missing delegate property in YieldExpression (issue 1407) - -2015-10-22: Version 2.7.0 - - * Fix the handling of semicolon in a break statement (issue 1044) - * Run the test suite with major web browsers (issue 1259, 1317) - * Allow `let` as an identifier in non-strict mode (issue 1289) - * Attach orphaned comments as `innerComments` (issue 1328) - * Add the support for token delegator (issue 1332) - -2015-09-01: Version 2.6.0 - - * Properly allow or prohibit `let` in a binding identifier/pattern (issue 1048, 1098) - * Add sourceType field for Program node (issue 1159) - * Ensure that strict mode reserved word binding throw an error (issue 1171) - * Run the test suite with Node.js and IE 11 on Windows (issue 1294) - * Allow binding pattern with no initializer in a for statement (issue 1301) - -2015-07-31: Version 2.5.0 - - * Run the test suite in a browser environment (issue 1004) - * Ensure a comma between imported default binding and named imports (issue 1046) - * Distinguish `yield` as a keyword vs an identifier (issue 1186) - * Support ES6 meta property `new.target` (issue 1203) - * Fix the syntax node for yield with expression (issue 1223) - * Fix the check of duplicated proto in property names (issue 1225) - * Fix ES6 Unicode escape in identifier name (issue 1229) - * Support ES6 IdentifierStart and IdentifierPart (issue 1232) - * Treat await as a reserved word when parsing as a module (issue 1234) - * Recognize identifier characters from Unicode SMP (issue 1244) - * Ensure that export and import can be followed by a comma (issue 1250) - * Fix yield operator precedence (issue 1262) - -2015-07-01: Version 2.4.1 - - * Fix some cases of comment attachment (issue 1071, 1175) - * Fix the handling of destructuring in function arguments (issue 1193) - * Fix invalid ranges in assignment expression (issue 1201) - -2015-06-26: Version 2.4.0 - - * Support ES6 for-of iteration (issue 1047) - * Support ES6 spread arguments (issue 1169) - * Minimize npm payload (issue 1191) - -2015-06-16: Version 2.3.0 - - * Support ES6 generator (issue 1033) - * Improve parsing of regular expressions with `u` flag (issue 1179) - -2015-04-17: Version 2.2.0 - - * Support ES6 import and export declarations (issue 1000) - * Fix line terminator before arrow not recognized as error (issue 1009) - * Support ES6 destructuring (issue 1045) - * Support ES6 template literal (issue 1074) - * Fix the handling of invalid/incomplete string escape sequences (issue 1106) - * Fix ES3 static member access restriction (issue 1120) - * Support for `super` in ES6 class (issue 1147) - -2015-03-09: Version 2.1.0 - - * Support ES6 class (issue 1001) - * Support ES6 rest parameter (issue 1011) - * Expand the location of property getter, setter, and methods (issue 1029) - * Enable TryStatement transition to a single handler (issue 1031) - * Support ES6 computed property name (issue 1037) - * Tolerate unclosed block comment (issue 1041) - * Support ES6 lexical declaration (issue 1065) - -2015-02-06: Version 2.0.0 - - * Support ES6 arrow function (issue 517) - * Support ES6 Unicode code point escape (issue 521) - * Improve the speed and accuracy of comment attachment (issue 522) - * Support ES6 default parameter (issue 519) - * Support ES6 regular expression flags (issue 557) - * Fix scanning of implicit octal literals (issue 565) - * Fix the handling of automatic semicolon insertion (issue 574) - * Support ES6 method definition (issue 620) - * Support ES6 octal integer literal (issue 621) - * Support ES6 binary integer literal (issue 622) - * Support ES6 object literal property value shorthand (issue 624) - -2015-03-03: Version 1.2.5 - - * Fix scanning of implicit octal literals (issue 565) - -2015-02-05: Version 1.2.4 - - * Fix parsing of LeftHandSideExpression in ForInStatement (issue 560) - * Fix the handling of automatic semicolon insertion (issue 574) - -2015-01-18: Version 1.2.3 - - * Fix division by this (issue 616) - -2014-05-18: Version 1.2.2 - - * Fix duplicated tokens when collecting comments (issue 537) - -2014-05-04: Version 1.2.1 - - * Ensure that Program node may still have leading comments (issue 536) - -2014-04-29: Version 1.2.0 - - * Fix semicolon handling for expression statement (issue 462, 533) - * Disallow escaped characters in regular expression flags (issue 503) - * Performance improvement for location tracking (issue 520) - * Improve the speed of comment attachment (issue 522) - -2014-03-26: Version 1.1.1 - - * Fix token handling of forward slash after an array literal (issue 512) - -2014-03-23: Version 1.1.0 - - * Optionally attach comments to the owning syntax nodes (issue 197) - * Simplify binary parsing with stack-based shift reduce (issue 352) - * Always include the raw source of literals (issue 376) - * Add optional input source information (issue 386) - * Tokenizer API for pure lexical scanning (issue 398) - * Improve the web site and its online demos (issue 337, 400, 404) - * Performance improvement for location tracking (issue 417, 424) - * Support HTML comment syntax (issue 451) - * Drop support for legacy browsers (issue 474) - -2013-08-27: Version 1.0.4 - - * Minimize the payload for packages (issue 362) - * Fix missing cases on an empty switch statement (issue 436) - * Support escaped ] in regexp literal character classes (issue 442) - * Tolerate invalid left-hand side expression (issue 130) - -2013-05-17: Version 1.0.3 - - * Variable declaration needs at least one declarator (issue 391) - * Fix benchmark's variance unit conversion (issue 397) - * IE < 9: \v should be treated as vertical tab (issue 405) - * Unary expressions should always have prefix: true (issue 418) - * Catch clause should only accept an identifier (issue 423) - * Tolerate setters without parameter (issue 426) - -2012-11-02: Version 1.0.2 - - Improvement: - - * Fix esvalidate JUnit output upon a syntax error (issue 374) - -2012-10-28: Version 1.0.1 - - Improvements: - - * esvalidate understands shebang in a Unix shell script (issue 361) - * esvalidate treats fatal parsing failure as an error (issue 361) - * Reduce Node.js package via .npmignore (issue 362) - -2012-10-22: Version 1.0.0 - - Initial release. diff --git a/lambdas/risk-engine/node_modules/esprima/LICENSE.BSD b/lambdas/risk-engine/node_modules/esprima/LICENSE.BSD deleted file mode 100644 index 7a55160f..00000000 --- a/lambdas/risk-engine/node_modules/esprima/LICENSE.BSD +++ /dev/null @@ -1,21 +0,0 @@ -Copyright JS Foundation and other contributors, https://js.foundation/ - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/lambdas/risk-engine/node_modules/esprima/README.md b/lambdas/risk-engine/node_modules/esprima/README.md deleted file mode 100644 index 8fb25e6c..00000000 --- a/lambdas/risk-engine/node_modules/esprima/README.md +++ /dev/null @@ -1,46 +0,0 @@ -[![NPM version](https://img.shields.io/npm/v/esprima.svg)](https://www.npmjs.com/package/esprima) -[![npm download](https://img.shields.io/npm/dm/esprima.svg)](https://www.npmjs.com/package/esprima) -[![Build Status](https://img.shields.io/travis/jquery/esprima/master.svg)](https://travis-ci.org/jquery/esprima) -[![Coverage Status](https://img.shields.io/codecov/c/github/jquery/esprima/master.svg)](https://codecov.io/github/jquery/esprima) - -**Esprima** ([esprima.org](http://esprima.org), BSD license) is a high performance, -standard-compliant [ECMAScript](http://www.ecma-international.org/publications/standards/Ecma-262.htm) -parser written in ECMAScript (also popularly known as -[JavaScript](https://en.wikipedia.org/wiki/JavaScript)). -Esprima is created and maintained by [Ariya Hidayat](https://twitter.com/ariyahidayat), -with the help of [many contributors](https://github.com/jquery/esprima/contributors). - -### Features - -- Full support for ECMAScript 2017 ([ECMA-262 8th Edition](http://www.ecma-international.org/publications/standards/Ecma-262.htm)) -- Sensible [syntax tree format](https://github.com/estree/estree/blob/master/es5.md) as standardized by [ESTree project](https://github.com/estree/estree) -- Experimental support for [JSX](https://facebook.github.io/jsx/), a syntax extension for [React](https://facebook.github.io/react/) -- Optional tracking of syntax node location (index-based and line-column) -- [Heavily tested](http://esprima.org/test/ci.html) (~1500 [unit tests](https://github.com/jquery/esprima/tree/master/test/fixtures) with [full code coverage](https://codecov.io/github/jquery/esprima)) - -### API - -Esprima can be used to perform [lexical analysis](https://en.wikipedia.org/wiki/Lexical_analysis) (tokenization) or [syntactic analysis](https://en.wikipedia.org/wiki/Parsing) (parsing) of a JavaScript program. - -A simple example on Node.js REPL: - -```javascript -> var esprima = require('esprima'); -> var program = 'const answer = 42'; - -> esprima.tokenize(program); -[ { type: 'Keyword', value: 'const' }, - { type: 'Identifier', value: 'answer' }, - { type: 'Punctuator', value: '=' }, - { type: 'Numeric', value: '42' } ] - -> esprima.parseScript(program); -{ type: 'Program', - body: - [ { type: 'VariableDeclaration', - declarations: [Object], - kind: 'const' } ], - sourceType: 'script' } -``` - -For more information, please read the [complete documentation](http://esprima.org/doc). \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/esprima/bin/esparse.js b/lambdas/risk-engine/node_modules/esprima/bin/esparse.js deleted file mode 100755 index 45d05fbb..00000000 --- a/lambdas/risk-engine/node_modules/esprima/bin/esparse.js +++ /dev/null @@ -1,139 +0,0 @@ -#!/usr/bin/env node -/* - Copyright JS Foundation and other contributors, https://js.foundation/ - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -/*jslint sloppy:true node:true rhino:true */ - -var fs, esprima, fname, forceFile, content, options, syntax; - -if (typeof require === 'function') { - fs = require('fs'); - try { - esprima = require('esprima'); - } catch (e) { - esprima = require('../'); - } -} else if (typeof load === 'function') { - try { - load('esprima.js'); - } catch (e) { - load('../esprima.js'); - } -} - -// Shims to Node.js objects when running under Rhino. -if (typeof console === 'undefined' && typeof process === 'undefined') { - console = { log: print }; - fs = { readFileSync: readFile }; - process = { argv: arguments, exit: quit }; - process.argv.unshift('esparse.js'); - process.argv.unshift('rhino'); -} - -function showUsage() { - console.log('Usage:'); - console.log(' esparse [options] [file.js]'); - console.log(); - console.log('Available options:'); - console.log(); - console.log(' --comment Gather all line and block comments in an array'); - console.log(' --loc Include line-column location info for each syntax node'); - console.log(' --range Include index-based range for each syntax node'); - console.log(' --raw Display the raw value of literals'); - console.log(' --tokens List all tokens in an array'); - console.log(' --tolerant Tolerate errors on a best-effort basis (experimental)'); - console.log(' -v, --version Shows program version'); - console.log(); - process.exit(1); -} - -options = {}; - -process.argv.splice(2).forEach(function (entry) { - - if (forceFile || entry === '-' || entry.slice(0, 1) !== '-') { - if (typeof fname === 'string') { - console.log('Error: more than one input file.'); - process.exit(1); - } else { - fname = entry; - } - } else if (entry === '-h' || entry === '--help') { - showUsage(); - } else if (entry === '-v' || entry === '--version') { - console.log('ECMAScript Parser (using Esprima version', esprima.version, ')'); - console.log(); - process.exit(0); - } else if (entry === '--comment') { - options.comment = true; - } else if (entry === '--loc') { - options.loc = true; - } else if (entry === '--range') { - options.range = true; - } else if (entry === '--raw') { - options.raw = true; - } else if (entry === '--tokens') { - options.tokens = true; - } else if (entry === '--tolerant') { - options.tolerant = true; - } else if (entry === '--') { - forceFile = true; - } else { - console.log('Error: unknown option ' + entry + '.'); - process.exit(1); - } -}); - -// Special handling for regular expression literal since we need to -// convert it to a string literal, otherwise it will be decoded -// as object "{}" and the regular expression would be lost. -function adjustRegexLiteral(key, value) { - if (key === 'value' && value instanceof RegExp) { - value = value.toString(); - } - return value; -} - -function run(content) { - syntax = esprima.parse(content, options); - console.log(JSON.stringify(syntax, adjustRegexLiteral, 4)); -} - -try { - if (fname && (fname !== '-' || forceFile)) { - run(fs.readFileSync(fname, 'utf-8')); - } else { - var content = ''; - process.stdin.resume(); - process.stdin.on('data', function(chunk) { - content += chunk; - }); - process.stdin.on('end', function() { - run(content); - }); - } -} catch (e) { - console.log('Error: ' + e.message); - process.exit(1); -} diff --git a/lambdas/risk-engine/node_modules/esprima/bin/esvalidate.js b/lambdas/risk-engine/node_modules/esprima/bin/esvalidate.js deleted file mode 100755 index d49a7e40..00000000 --- a/lambdas/risk-engine/node_modules/esprima/bin/esvalidate.js +++ /dev/null @@ -1,236 +0,0 @@ -#!/usr/bin/env node -/* - Copyright JS Foundation and other contributors, https://js.foundation/ - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - -/*jslint sloppy:true plusplus:true node:true rhino:true */ -/*global phantom:true */ - -var fs, system, esprima, options, fnames, forceFile, count; - -if (typeof esprima === 'undefined') { - // PhantomJS can only require() relative files - if (typeof phantom === 'object') { - fs = require('fs'); - system = require('system'); - esprima = require('./esprima'); - } else if (typeof require === 'function') { - fs = require('fs'); - try { - esprima = require('esprima'); - } catch (e) { - esprima = require('../'); - } - } else if (typeof load === 'function') { - try { - load('esprima.js'); - } catch (e) { - load('../esprima.js'); - } - } -} - -// Shims to Node.js objects when running under PhantomJS 1.7+. -if (typeof phantom === 'object') { - fs.readFileSync = fs.read; - process = { - argv: [].slice.call(system.args), - exit: phantom.exit, - on: function (evt, callback) { - callback(); - } - }; - process.argv.unshift('phantomjs'); -} - -// Shims to Node.js objects when running under Rhino. -if (typeof console === 'undefined' && typeof process === 'undefined') { - console = { log: print }; - fs = { readFileSync: readFile }; - process = { - argv: arguments, - exit: quit, - on: function (evt, callback) { - callback(); - } - }; - process.argv.unshift('esvalidate.js'); - process.argv.unshift('rhino'); -} - -function showUsage() { - console.log('Usage:'); - console.log(' esvalidate [options] [file.js...]'); - console.log(); - console.log('Available options:'); - console.log(); - console.log(' --format=type Set the report format, plain (default) or junit'); - console.log(' -v, --version Print program version'); - console.log(); - process.exit(1); -} - -options = { - format: 'plain' -}; - -fnames = []; - -process.argv.splice(2).forEach(function (entry) { - - if (forceFile || entry === '-' || entry.slice(0, 1) !== '-') { - fnames.push(entry); - } else if (entry === '-h' || entry === '--help') { - showUsage(); - } else if (entry === '-v' || entry === '--version') { - console.log('ECMAScript Validator (using Esprima version', esprima.version, ')'); - console.log(); - process.exit(0); - } else if (entry.slice(0, 9) === '--format=') { - options.format = entry.slice(9); - if (options.format !== 'plain' && options.format !== 'junit') { - console.log('Error: unknown report format ' + options.format + '.'); - process.exit(1); - } - } else if (entry === '--') { - forceFile = true; - } else { - console.log('Error: unknown option ' + entry + '.'); - process.exit(1); - } -}); - -if (fnames.length === 0) { - fnames.push(''); -} - -if (options.format === 'junit') { - console.log(''); - console.log(''); -} - -count = 0; - -function run(fname, content) { - var timestamp, syntax, name; - try { - if (typeof content !== 'string') { - throw content; - } - - if (content[0] === '#' && content[1] === '!') { - content = '//' + content.substr(2, content.length); - } - - timestamp = Date.now(); - syntax = esprima.parse(content, { tolerant: true }); - - if (options.format === 'junit') { - - name = fname; - if (name.lastIndexOf('/') >= 0) { - name = name.slice(name.lastIndexOf('/') + 1); - } - - console.log(''); - - syntax.errors.forEach(function (error) { - var msg = error.message; - msg = msg.replace(/^Line\ [0-9]*\:\ /, ''); - console.log(' '); - console.log(' ' + - error.message + '(' + name + ':' + error.lineNumber + ')' + - ''); - console.log(' '); - }); - - console.log(''); - - } else if (options.format === 'plain') { - - syntax.errors.forEach(function (error) { - var msg = error.message; - msg = msg.replace(/^Line\ [0-9]*\:\ /, ''); - msg = fname + ':' + error.lineNumber + ': ' + msg; - console.log(msg); - ++count; - }); - - } - } catch (e) { - ++count; - if (options.format === 'junit') { - console.log(''); - console.log(' '); - console.log(' ' + - e.message + '(' + fname + ((e.lineNumber) ? ':' + e.lineNumber : '') + - ')'); - console.log(' '); - console.log(''); - } else { - console.log(fname + ':' + e.lineNumber + ': ' + e.message.replace(/^Line\ [0-9]*\:\ /, '')); - } - } -} - -fnames.forEach(function (fname) { - var content = ''; - try { - if (fname && (fname !== '-' || forceFile)) { - content = fs.readFileSync(fname, 'utf-8'); - } else { - fname = ''; - process.stdin.resume(); - process.stdin.on('data', function(chunk) { - content += chunk; - }); - process.stdin.on('end', function() { - run(fname, content); - }); - return; - } - } catch (e) { - content = e; - } - run(fname, content); -}); - -process.on('exit', function () { - if (options.format === 'junit') { - console.log(''); - } - - if (count > 0) { - process.exit(1); - } - - if (count === 0 && typeof phantom === 'object') { - process.exit(0); - } -}); diff --git a/lambdas/risk-engine/node_modules/esprima/dist/esprima.js b/lambdas/risk-engine/node_modules/esprima/dist/esprima.js deleted file mode 100644 index 2af3eee1..00000000 --- a/lambdas/risk-engine/node_modules/esprima/dist/esprima.js +++ /dev/null @@ -1,6709 +0,0 @@ -(function webpackUniversalModuleDefinition(root, factory) { -/* istanbul ignore next */ - if(typeof exports === 'object' && typeof module === 'object') - module.exports = factory(); - else if(typeof define === 'function' && define.amd) - define([], factory); -/* istanbul ignore next */ - else if(typeof exports === 'object') - exports["esprima"] = factory(); - else - root["esprima"] = factory(); -})(this, function() { -return /******/ (function(modules) { // webpackBootstrap -/******/ // The module cache -/******/ var installedModules = {}; - -/******/ // The require function -/******/ function __webpack_require__(moduleId) { - -/******/ // Check if module is in cache -/* istanbul ignore if */ -/******/ if(installedModules[moduleId]) -/******/ return installedModules[moduleId].exports; - -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ exports: {}, -/******/ id: moduleId, -/******/ loaded: false -/******/ }; - -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - -/******/ // Flag the module as loaded -/******/ module.loaded = true; - -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } - - -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; - -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; - -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = ""; - -/******/ // Load entry module and return exports -/******/ return __webpack_require__(0); -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - /* - Copyright JS Foundation and other contributors, https://js.foundation/ - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - Object.defineProperty(exports, "__esModule", { value: true }); - var comment_handler_1 = __webpack_require__(1); - var jsx_parser_1 = __webpack_require__(3); - var parser_1 = __webpack_require__(8); - var tokenizer_1 = __webpack_require__(15); - function parse(code, options, delegate) { - var commentHandler = null; - var proxyDelegate = function (node, metadata) { - if (delegate) { - delegate(node, metadata); - } - if (commentHandler) { - commentHandler.visit(node, metadata); - } - }; - var parserDelegate = (typeof delegate === 'function') ? proxyDelegate : null; - var collectComment = false; - if (options) { - collectComment = (typeof options.comment === 'boolean' && options.comment); - var attachComment = (typeof options.attachComment === 'boolean' && options.attachComment); - if (collectComment || attachComment) { - commentHandler = new comment_handler_1.CommentHandler(); - commentHandler.attach = attachComment; - options.comment = true; - parserDelegate = proxyDelegate; - } - } - var isModule = false; - if (options && typeof options.sourceType === 'string') { - isModule = (options.sourceType === 'module'); - } - var parser; - if (options && typeof options.jsx === 'boolean' && options.jsx) { - parser = new jsx_parser_1.JSXParser(code, options, parserDelegate); - } - else { - parser = new parser_1.Parser(code, options, parserDelegate); - } - var program = isModule ? parser.parseModule() : parser.parseScript(); - var ast = program; - if (collectComment && commentHandler) { - ast.comments = commentHandler.comments; - } - if (parser.config.tokens) { - ast.tokens = parser.tokens; - } - if (parser.config.tolerant) { - ast.errors = parser.errorHandler.errors; - } - return ast; - } - exports.parse = parse; - function parseModule(code, options, delegate) { - var parsingOptions = options || {}; - parsingOptions.sourceType = 'module'; - return parse(code, parsingOptions, delegate); - } - exports.parseModule = parseModule; - function parseScript(code, options, delegate) { - var parsingOptions = options || {}; - parsingOptions.sourceType = 'script'; - return parse(code, parsingOptions, delegate); - } - exports.parseScript = parseScript; - function tokenize(code, options, delegate) { - var tokenizer = new tokenizer_1.Tokenizer(code, options); - var tokens; - tokens = []; - try { - while (true) { - var token = tokenizer.getNextToken(); - if (!token) { - break; - } - if (delegate) { - token = delegate(token); - } - tokens.push(token); - } - } - catch (e) { - tokenizer.errorHandler.tolerate(e); - } - if (tokenizer.errorHandler.tolerant) { - tokens.errors = tokenizer.errors(); - } - return tokens; - } - exports.tokenize = tokenize; - var syntax_1 = __webpack_require__(2); - exports.Syntax = syntax_1.Syntax; - // Sync with *.json manifests. - exports.version = '4.0.1'; - - -/***/ }, -/* 1 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var syntax_1 = __webpack_require__(2); - var CommentHandler = (function () { - function CommentHandler() { - this.attach = false; - this.comments = []; - this.stack = []; - this.leading = []; - this.trailing = []; - } - CommentHandler.prototype.insertInnerComments = function (node, metadata) { - // innnerComments for properties empty block - // `function a() {/** comments **\/}` - if (node.type === syntax_1.Syntax.BlockStatement && node.body.length === 0) { - var innerComments = []; - for (var i = this.leading.length - 1; i >= 0; --i) { - var entry = this.leading[i]; - if (metadata.end.offset >= entry.start) { - innerComments.unshift(entry.comment); - this.leading.splice(i, 1); - this.trailing.splice(i, 1); - } - } - if (innerComments.length) { - node.innerComments = innerComments; - } - } - }; - CommentHandler.prototype.findTrailingComments = function (metadata) { - var trailingComments = []; - if (this.trailing.length > 0) { - for (var i = this.trailing.length - 1; i >= 0; --i) { - var entry_1 = this.trailing[i]; - if (entry_1.start >= metadata.end.offset) { - trailingComments.unshift(entry_1.comment); - } - } - this.trailing.length = 0; - return trailingComments; - } - var entry = this.stack[this.stack.length - 1]; - if (entry && entry.node.trailingComments) { - var firstComment = entry.node.trailingComments[0]; - if (firstComment && firstComment.range[0] >= metadata.end.offset) { - trailingComments = entry.node.trailingComments; - delete entry.node.trailingComments; - } - } - return trailingComments; - }; - CommentHandler.prototype.findLeadingComments = function (metadata) { - var leadingComments = []; - var target; - while (this.stack.length > 0) { - var entry = this.stack[this.stack.length - 1]; - if (entry && entry.start >= metadata.start.offset) { - target = entry.node; - this.stack.pop(); - } - else { - break; - } - } - if (target) { - var count = target.leadingComments ? target.leadingComments.length : 0; - for (var i = count - 1; i >= 0; --i) { - var comment = target.leadingComments[i]; - if (comment.range[1] <= metadata.start.offset) { - leadingComments.unshift(comment); - target.leadingComments.splice(i, 1); - } - } - if (target.leadingComments && target.leadingComments.length === 0) { - delete target.leadingComments; - } - return leadingComments; - } - for (var i = this.leading.length - 1; i >= 0; --i) { - var entry = this.leading[i]; - if (entry.start <= metadata.start.offset) { - leadingComments.unshift(entry.comment); - this.leading.splice(i, 1); - } - } - return leadingComments; - }; - CommentHandler.prototype.visitNode = function (node, metadata) { - if (node.type === syntax_1.Syntax.Program && node.body.length > 0) { - return; - } - this.insertInnerComments(node, metadata); - var trailingComments = this.findTrailingComments(metadata); - var leadingComments = this.findLeadingComments(metadata); - if (leadingComments.length > 0) { - node.leadingComments = leadingComments; - } - if (trailingComments.length > 0) { - node.trailingComments = trailingComments; - } - this.stack.push({ - node: node, - start: metadata.start.offset - }); - }; - CommentHandler.prototype.visitComment = function (node, metadata) { - var type = (node.type[0] === 'L') ? 'Line' : 'Block'; - var comment = { - type: type, - value: node.value - }; - if (node.range) { - comment.range = node.range; - } - if (node.loc) { - comment.loc = node.loc; - } - this.comments.push(comment); - if (this.attach) { - var entry = { - comment: { - type: type, - value: node.value, - range: [metadata.start.offset, metadata.end.offset] - }, - start: metadata.start.offset - }; - if (node.loc) { - entry.comment.loc = node.loc; - } - node.type = type; - this.leading.push(entry); - this.trailing.push(entry); - } - }; - CommentHandler.prototype.visit = function (node, metadata) { - if (node.type === 'LineComment') { - this.visitComment(node, metadata); - } - else if (node.type === 'BlockComment') { - this.visitComment(node, metadata); - } - else if (this.attach) { - this.visitNode(node, metadata); - } - }; - return CommentHandler; - }()); - exports.CommentHandler = CommentHandler; - - -/***/ }, -/* 2 */ -/***/ function(module, exports) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.Syntax = { - AssignmentExpression: 'AssignmentExpression', - AssignmentPattern: 'AssignmentPattern', - ArrayExpression: 'ArrayExpression', - ArrayPattern: 'ArrayPattern', - ArrowFunctionExpression: 'ArrowFunctionExpression', - AwaitExpression: 'AwaitExpression', - BlockStatement: 'BlockStatement', - BinaryExpression: 'BinaryExpression', - BreakStatement: 'BreakStatement', - CallExpression: 'CallExpression', - CatchClause: 'CatchClause', - ClassBody: 'ClassBody', - ClassDeclaration: 'ClassDeclaration', - ClassExpression: 'ClassExpression', - ConditionalExpression: 'ConditionalExpression', - ContinueStatement: 'ContinueStatement', - DoWhileStatement: 'DoWhileStatement', - DebuggerStatement: 'DebuggerStatement', - EmptyStatement: 'EmptyStatement', - ExportAllDeclaration: 'ExportAllDeclaration', - ExportDefaultDeclaration: 'ExportDefaultDeclaration', - ExportNamedDeclaration: 'ExportNamedDeclaration', - ExportSpecifier: 'ExportSpecifier', - ExpressionStatement: 'ExpressionStatement', - ForStatement: 'ForStatement', - ForOfStatement: 'ForOfStatement', - ForInStatement: 'ForInStatement', - FunctionDeclaration: 'FunctionDeclaration', - FunctionExpression: 'FunctionExpression', - Identifier: 'Identifier', - IfStatement: 'IfStatement', - ImportDeclaration: 'ImportDeclaration', - ImportDefaultSpecifier: 'ImportDefaultSpecifier', - ImportNamespaceSpecifier: 'ImportNamespaceSpecifier', - ImportSpecifier: 'ImportSpecifier', - Literal: 'Literal', - LabeledStatement: 'LabeledStatement', - LogicalExpression: 'LogicalExpression', - MemberExpression: 'MemberExpression', - MetaProperty: 'MetaProperty', - MethodDefinition: 'MethodDefinition', - NewExpression: 'NewExpression', - ObjectExpression: 'ObjectExpression', - ObjectPattern: 'ObjectPattern', - Program: 'Program', - Property: 'Property', - RestElement: 'RestElement', - ReturnStatement: 'ReturnStatement', - SequenceExpression: 'SequenceExpression', - SpreadElement: 'SpreadElement', - Super: 'Super', - SwitchCase: 'SwitchCase', - SwitchStatement: 'SwitchStatement', - TaggedTemplateExpression: 'TaggedTemplateExpression', - TemplateElement: 'TemplateElement', - TemplateLiteral: 'TemplateLiteral', - ThisExpression: 'ThisExpression', - ThrowStatement: 'ThrowStatement', - TryStatement: 'TryStatement', - UnaryExpression: 'UnaryExpression', - UpdateExpression: 'UpdateExpression', - VariableDeclaration: 'VariableDeclaration', - VariableDeclarator: 'VariableDeclarator', - WhileStatement: 'WhileStatement', - WithStatement: 'WithStatement', - YieldExpression: 'YieldExpression' - }; - - -/***/ }, -/* 3 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; -/* istanbul ignore next */ - var __extends = (this && this.__extends) || (function () { - var extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; - })(); - Object.defineProperty(exports, "__esModule", { value: true }); - var character_1 = __webpack_require__(4); - var JSXNode = __webpack_require__(5); - var jsx_syntax_1 = __webpack_require__(6); - var Node = __webpack_require__(7); - var parser_1 = __webpack_require__(8); - var token_1 = __webpack_require__(13); - var xhtml_entities_1 = __webpack_require__(14); - token_1.TokenName[100 /* Identifier */] = 'JSXIdentifier'; - token_1.TokenName[101 /* Text */] = 'JSXText'; - // Fully qualified element name, e.g. returns "svg:path" - function getQualifiedElementName(elementName) { - var qualifiedName; - switch (elementName.type) { - case jsx_syntax_1.JSXSyntax.JSXIdentifier: - var id = elementName; - qualifiedName = id.name; - break; - case jsx_syntax_1.JSXSyntax.JSXNamespacedName: - var ns = elementName; - qualifiedName = getQualifiedElementName(ns.namespace) + ':' + - getQualifiedElementName(ns.name); - break; - case jsx_syntax_1.JSXSyntax.JSXMemberExpression: - var expr = elementName; - qualifiedName = getQualifiedElementName(expr.object) + '.' + - getQualifiedElementName(expr.property); - break; - /* istanbul ignore next */ - default: - break; - } - return qualifiedName; - } - var JSXParser = (function (_super) { - __extends(JSXParser, _super); - function JSXParser(code, options, delegate) { - return _super.call(this, code, options, delegate) || this; - } - JSXParser.prototype.parsePrimaryExpression = function () { - return this.match('<') ? this.parseJSXRoot() : _super.prototype.parsePrimaryExpression.call(this); - }; - JSXParser.prototype.startJSX = function () { - // Unwind the scanner before the lookahead token. - this.scanner.index = this.startMarker.index; - this.scanner.lineNumber = this.startMarker.line; - this.scanner.lineStart = this.startMarker.index - this.startMarker.column; - }; - JSXParser.prototype.finishJSX = function () { - // Prime the next lookahead. - this.nextToken(); - }; - JSXParser.prototype.reenterJSX = function () { - this.startJSX(); - this.expectJSX('}'); - // Pop the closing '}' added from the lookahead. - if (this.config.tokens) { - this.tokens.pop(); - } - }; - JSXParser.prototype.createJSXNode = function () { - this.collectComments(); - return { - index: this.scanner.index, - line: this.scanner.lineNumber, - column: this.scanner.index - this.scanner.lineStart - }; - }; - JSXParser.prototype.createJSXChildNode = function () { - return { - index: this.scanner.index, - line: this.scanner.lineNumber, - column: this.scanner.index - this.scanner.lineStart - }; - }; - JSXParser.prototype.scanXHTMLEntity = function (quote) { - var result = '&'; - var valid = true; - var terminated = false; - var numeric = false; - var hex = false; - while (!this.scanner.eof() && valid && !terminated) { - var ch = this.scanner.source[this.scanner.index]; - if (ch === quote) { - break; - } - terminated = (ch === ';'); - result += ch; - ++this.scanner.index; - if (!terminated) { - switch (result.length) { - case 2: - // e.g. '{' - numeric = (ch === '#'); - break; - case 3: - if (numeric) { - // e.g. 'A' - hex = (ch === 'x'); - valid = hex || character_1.Character.isDecimalDigit(ch.charCodeAt(0)); - numeric = numeric && !hex; - } - break; - default: - valid = valid && !(numeric && !character_1.Character.isDecimalDigit(ch.charCodeAt(0))); - valid = valid && !(hex && !character_1.Character.isHexDigit(ch.charCodeAt(0))); - break; - } - } - } - if (valid && terminated && result.length > 2) { - // e.g. 'A' becomes just '#x41' - var str = result.substr(1, result.length - 2); - if (numeric && str.length > 1) { - result = String.fromCharCode(parseInt(str.substr(1), 10)); - } - else if (hex && str.length > 2) { - result = String.fromCharCode(parseInt('0' + str.substr(1), 16)); - } - else if (!numeric && !hex && xhtml_entities_1.XHTMLEntities[str]) { - result = xhtml_entities_1.XHTMLEntities[str]; - } - } - return result; - }; - // Scan the next JSX token. This replaces Scanner#lex when in JSX mode. - JSXParser.prototype.lexJSX = function () { - var cp = this.scanner.source.charCodeAt(this.scanner.index); - // < > / : = { } - if (cp === 60 || cp === 62 || cp === 47 || cp === 58 || cp === 61 || cp === 123 || cp === 125) { - var value = this.scanner.source[this.scanner.index++]; - return { - type: 7 /* Punctuator */, - value: value, - lineNumber: this.scanner.lineNumber, - lineStart: this.scanner.lineStart, - start: this.scanner.index - 1, - end: this.scanner.index - }; - } - // " ' - if (cp === 34 || cp === 39) { - var start = this.scanner.index; - var quote = this.scanner.source[this.scanner.index++]; - var str = ''; - while (!this.scanner.eof()) { - var ch = this.scanner.source[this.scanner.index++]; - if (ch === quote) { - break; - } - else if (ch === '&') { - str += this.scanXHTMLEntity(quote); - } - else { - str += ch; - } - } - return { - type: 8 /* StringLiteral */, - value: str, - lineNumber: this.scanner.lineNumber, - lineStart: this.scanner.lineStart, - start: start, - end: this.scanner.index - }; - } - // ... or . - if (cp === 46) { - var n1 = this.scanner.source.charCodeAt(this.scanner.index + 1); - var n2 = this.scanner.source.charCodeAt(this.scanner.index + 2); - var value = (n1 === 46 && n2 === 46) ? '...' : '.'; - var start = this.scanner.index; - this.scanner.index += value.length; - return { - type: 7 /* Punctuator */, - value: value, - lineNumber: this.scanner.lineNumber, - lineStart: this.scanner.lineStart, - start: start, - end: this.scanner.index - }; - } - // ` - if (cp === 96) { - // Only placeholder, since it will be rescanned as a real assignment expression. - return { - type: 10 /* Template */, - value: '', - lineNumber: this.scanner.lineNumber, - lineStart: this.scanner.lineStart, - start: this.scanner.index, - end: this.scanner.index - }; - } - // Identifer can not contain backslash (char code 92). - if (character_1.Character.isIdentifierStart(cp) && (cp !== 92)) { - var start = this.scanner.index; - ++this.scanner.index; - while (!this.scanner.eof()) { - var ch = this.scanner.source.charCodeAt(this.scanner.index); - if (character_1.Character.isIdentifierPart(ch) && (ch !== 92)) { - ++this.scanner.index; - } - else if (ch === 45) { - // Hyphen (char code 45) can be part of an identifier. - ++this.scanner.index; - } - else { - break; - } - } - var id = this.scanner.source.slice(start, this.scanner.index); - return { - type: 100 /* Identifier */, - value: id, - lineNumber: this.scanner.lineNumber, - lineStart: this.scanner.lineStart, - start: start, - end: this.scanner.index - }; - } - return this.scanner.lex(); - }; - JSXParser.prototype.nextJSXToken = function () { - this.collectComments(); - this.startMarker.index = this.scanner.index; - this.startMarker.line = this.scanner.lineNumber; - this.startMarker.column = this.scanner.index - this.scanner.lineStart; - var token = this.lexJSX(); - this.lastMarker.index = this.scanner.index; - this.lastMarker.line = this.scanner.lineNumber; - this.lastMarker.column = this.scanner.index - this.scanner.lineStart; - if (this.config.tokens) { - this.tokens.push(this.convertToken(token)); - } - return token; - }; - JSXParser.prototype.nextJSXText = function () { - this.startMarker.index = this.scanner.index; - this.startMarker.line = this.scanner.lineNumber; - this.startMarker.column = this.scanner.index - this.scanner.lineStart; - var start = this.scanner.index; - var text = ''; - while (!this.scanner.eof()) { - var ch = this.scanner.source[this.scanner.index]; - if (ch === '{' || ch === '<') { - break; - } - ++this.scanner.index; - text += ch; - if (character_1.Character.isLineTerminator(ch.charCodeAt(0))) { - ++this.scanner.lineNumber; - if (ch === '\r' && this.scanner.source[this.scanner.index] === '\n') { - ++this.scanner.index; - } - this.scanner.lineStart = this.scanner.index; - } - } - this.lastMarker.index = this.scanner.index; - this.lastMarker.line = this.scanner.lineNumber; - this.lastMarker.column = this.scanner.index - this.scanner.lineStart; - var token = { - type: 101 /* Text */, - value: text, - lineNumber: this.scanner.lineNumber, - lineStart: this.scanner.lineStart, - start: start, - end: this.scanner.index - }; - if ((text.length > 0) && this.config.tokens) { - this.tokens.push(this.convertToken(token)); - } - return token; - }; - JSXParser.prototype.peekJSXToken = function () { - var state = this.scanner.saveState(); - this.scanner.scanComments(); - var next = this.lexJSX(); - this.scanner.restoreState(state); - return next; - }; - // Expect the next JSX token to match the specified punctuator. - // If not, an exception will be thrown. - JSXParser.prototype.expectJSX = function (value) { - var token = this.nextJSXToken(); - if (token.type !== 7 /* Punctuator */ || token.value !== value) { - this.throwUnexpectedToken(token); - } - }; - // Return true if the next JSX token matches the specified punctuator. - JSXParser.prototype.matchJSX = function (value) { - var next = this.peekJSXToken(); - return next.type === 7 /* Punctuator */ && next.value === value; - }; - JSXParser.prototype.parseJSXIdentifier = function () { - var node = this.createJSXNode(); - var token = this.nextJSXToken(); - if (token.type !== 100 /* Identifier */) { - this.throwUnexpectedToken(token); - } - return this.finalize(node, new JSXNode.JSXIdentifier(token.value)); - }; - JSXParser.prototype.parseJSXElementName = function () { - var node = this.createJSXNode(); - var elementName = this.parseJSXIdentifier(); - if (this.matchJSX(':')) { - var namespace = elementName; - this.expectJSX(':'); - var name_1 = this.parseJSXIdentifier(); - elementName = this.finalize(node, new JSXNode.JSXNamespacedName(namespace, name_1)); - } - else if (this.matchJSX('.')) { - while (this.matchJSX('.')) { - var object = elementName; - this.expectJSX('.'); - var property = this.parseJSXIdentifier(); - elementName = this.finalize(node, new JSXNode.JSXMemberExpression(object, property)); - } - } - return elementName; - }; - JSXParser.prototype.parseJSXAttributeName = function () { - var node = this.createJSXNode(); - var attributeName; - var identifier = this.parseJSXIdentifier(); - if (this.matchJSX(':')) { - var namespace = identifier; - this.expectJSX(':'); - var name_2 = this.parseJSXIdentifier(); - attributeName = this.finalize(node, new JSXNode.JSXNamespacedName(namespace, name_2)); - } - else { - attributeName = identifier; - } - return attributeName; - }; - JSXParser.prototype.parseJSXStringLiteralAttribute = function () { - var node = this.createJSXNode(); - var token = this.nextJSXToken(); - if (token.type !== 8 /* StringLiteral */) { - this.throwUnexpectedToken(token); - } - var raw = this.getTokenRaw(token); - return this.finalize(node, new Node.Literal(token.value, raw)); - }; - JSXParser.prototype.parseJSXExpressionAttribute = function () { - var node = this.createJSXNode(); - this.expectJSX('{'); - this.finishJSX(); - if (this.match('}')) { - this.tolerateError('JSX attributes must only be assigned a non-empty expression'); - } - var expression = this.parseAssignmentExpression(); - this.reenterJSX(); - return this.finalize(node, new JSXNode.JSXExpressionContainer(expression)); - }; - JSXParser.prototype.parseJSXAttributeValue = function () { - return this.matchJSX('{') ? this.parseJSXExpressionAttribute() : - this.matchJSX('<') ? this.parseJSXElement() : this.parseJSXStringLiteralAttribute(); - }; - JSXParser.prototype.parseJSXNameValueAttribute = function () { - var node = this.createJSXNode(); - var name = this.parseJSXAttributeName(); - var value = null; - if (this.matchJSX('=')) { - this.expectJSX('='); - value = this.parseJSXAttributeValue(); - } - return this.finalize(node, new JSXNode.JSXAttribute(name, value)); - }; - JSXParser.prototype.parseJSXSpreadAttribute = function () { - var node = this.createJSXNode(); - this.expectJSX('{'); - this.expectJSX('...'); - this.finishJSX(); - var argument = this.parseAssignmentExpression(); - this.reenterJSX(); - return this.finalize(node, new JSXNode.JSXSpreadAttribute(argument)); - }; - JSXParser.prototype.parseJSXAttributes = function () { - var attributes = []; - while (!this.matchJSX('/') && !this.matchJSX('>')) { - var attribute = this.matchJSX('{') ? this.parseJSXSpreadAttribute() : - this.parseJSXNameValueAttribute(); - attributes.push(attribute); - } - return attributes; - }; - JSXParser.prototype.parseJSXOpeningElement = function () { - var node = this.createJSXNode(); - this.expectJSX('<'); - var name = this.parseJSXElementName(); - var attributes = this.parseJSXAttributes(); - var selfClosing = this.matchJSX('/'); - if (selfClosing) { - this.expectJSX('/'); - } - this.expectJSX('>'); - return this.finalize(node, new JSXNode.JSXOpeningElement(name, selfClosing, attributes)); - }; - JSXParser.prototype.parseJSXBoundaryElement = function () { - var node = this.createJSXNode(); - this.expectJSX('<'); - if (this.matchJSX('/')) { - this.expectJSX('/'); - var name_3 = this.parseJSXElementName(); - this.expectJSX('>'); - return this.finalize(node, new JSXNode.JSXClosingElement(name_3)); - } - var name = this.parseJSXElementName(); - var attributes = this.parseJSXAttributes(); - var selfClosing = this.matchJSX('/'); - if (selfClosing) { - this.expectJSX('/'); - } - this.expectJSX('>'); - return this.finalize(node, new JSXNode.JSXOpeningElement(name, selfClosing, attributes)); - }; - JSXParser.prototype.parseJSXEmptyExpression = function () { - var node = this.createJSXChildNode(); - this.collectComments(); - this.lastMarker.index = this.scanner.index; - this.lastMarker.line = this.scanner.lineNumber; - this.lastMarker.column = this.scanner.index - this.scanner.lineStart; - return this.finalize(node, new JSXNode.JSXEmptyExpression()); - }; - JSXParser.prototype.parseJSXExpressionContainer = function () { - var node = this.createJSXNode(); - this.expectJSX('{'); - var expression; - if (this.matchJSX('}')) { - expression = this.parseJSXEmptyExpression(); - this.expectJSX('}'); - } - else { - this.finishJSX(); - expression = this.parseAssignmentExpression(); - this.reenterJSX(); - } - return this.finalize(node, new JSXNode.JSXExpressionContainer(expression)); - }; - JSXParser.prototype.parseJSXChildren = function () { - var children = []; - while (!this.scanner.eof()) { - var node = this.createJSXChildNode(); - var token = this.nextJSXText(); - if (token.start < token.end) { - var raw = this.getTokenRaw(token); - var child = this.finalize(node, new JSXNode.JSXText(token.value, raw)); - children.push(child); - } - if (this.scanner.source[this.scanner.index] === '{') { - var container = this.parseJSXExpressionContainer(); - children.push(container); - } - else { - break; - } - } - return children; - }; - JSXParser.prototype.parseComplexJSXElement = function (el) { - var stack = []; - while (!this.scanner.eof()) { - el.children = el.children.concat(this.parseJSXChildren()); - var node = this.createJSXChildNode(); - var element = this.parseJSXBoundaryElement(); - if (element.type === jsx_syntax_1.JSXSyntax.JSXOpeningElement) { - var opening = element; - if (opening.selfClosing) { - var child = this.finalize(node, new JSXNode.JSXElement(opening, [], null)); - el.children.push(child); - } - else { - stack.push(el); - el = { node: node, opening: opening, closing: null, children: [] }; - } - } - if (element.type === jsx_syntax_1.JSXSyntax.JSXClosingElement) { - el.closing = element; - var open_1 = getQualifiedElementName(el.opening.name); - var close_1 = getQualifiedElementName(el.closing.name); - if (open_1 !== close_1) { - this.tolerateError('Expected corresponding JSX closing tag for %0', open_1); - } - if (stack.length > 0) { - var child = this.finalize(el.node, new JSXNode.JSXElement(el.opening, el.children, el.closing)); - el = stack[stack.length - 1]; - el.children.push(child); - stack.pop(); - } - else { - break; - } - } - } - return el; - }; - JSXParser.prototype.parseJSXElement = function () { - var node = this.createJSXNode(); - var opening = this.parseJSXOpeningElement(); - var children = []; - var closing = null; - if (!opening.selfClosing) { - var el = this.parseComplexJSXElement({ node: node, opening: opening, closing: closing, children: children }); - children = el.children; - closing = el.closing; - } - return this.finalize(node, new JSXNode.JSXElement(opening, children, closing)); - }; - JSXParser.prototype.parseJSXRoot = function () { - // Pop the opening '<' added from the lookahead. - if (this.config.tokens) { - this.tokens.pop(); - } - this.startJSX(); - var element = this.parseJSXElement(); - this.finishJSX(); - return element; - }; - JSXParser.prototype.isStartOfExpression = function () { - return _super.prototype.isStartOfExpression.call(this) || this.match('<'); - }; - return JSXParser; - }(parser_1.Parser)); - exports.JSXParser = JSXParser; - - -/***/ }, -/* 4 */ -/***/ function(module, exports) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - // See also tools/generate-unicode-regex.js. - var Regex = { - // Unicode v8.0.0 NonAsciiIdentifierStart: - NonAsciiIdentifierStart: /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/, - // Unicode v8.0.0 NonAsciiIdentifierPart: - NonAsciiIdentifierPart: /[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u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-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFB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DCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/ - }; - exports.Character = { - /* tslint:disable:no-bitwise */ - fromCodePoint: function (cp) { - return (cp < 0x10000) ? String.fromCharCode(cp) : - String.fromCharCode(0xD800 + ((cp - 0x10000) >> 10)) + - String.fromCharCode(0xDC00 + ((cp - 0x10000) & 1023)); - }, - // https://tc39.github.io/ecma262/#sec-white-space - isWhiteSpace: function (cp) { - return (cp === 0x20) || (cp === 0x09) || (cp === 0x0B) || (cp === 0x0C) || (cp === 0xA0) || - (cp >= 0x1680 && [0x1680, 0x2000, 0x2001, 0x2002, 0x2003, 0x2004, 0x2005, 0x2006, 0x2007, 0x2008, 0x2009, 0x200A, 0x202F, 0x205F, 0x3000, 0xFEFF].indexOf(cp) >= 0); - }, - // https://tc39.github.io/ecma262/#sec-line-terminators - isLineTerminator: function (cp) { - return (cp === 0x0A) || (cp === 0x0D) || (cp === 0x2028) || (cp === 0x2029); - }, - // https://tc39.github.io/ecma262/#sec-names-and-keywords - isIdentifierStart: function (cp) { - return (cp === 0x24) || (cp === 0x5F) || - (cp >= 0x41 && cp <= 0x5A) || - (cp >= 0x61 && cp <= 0x7A) || - (cp === 0x5C) || - ((cp >= 0x80) && Regex.NonAsciiIdentifierStart.test(exports.Character.fromCodePoint(cp))); - }, - isIdentifierPart: function (cp) { - return (cp === 0x24) || (cp === 0x5F) || - (cp >= 0x41 && cp <= 0x5A) || - (cp >= 0x61 && cp <= 0x7A) || - (cp >= 0x30 && cp <= 0x39) || - (cp === 0x5C) || - ((cp >= 0x80) && Regex.NonAsciiIdentifierPart.test(exports.Character.fromCodePoint(cp))); - }, - // https://tc39.github.io/ecma262/#sec-literals-numeric-literals - isDecimalDigit: function (cp) { - return (cp >= 0x30 && cp <= 0x39); // 0..9 - }, - isHexDigit: function (cp) { - return (cp >= 0x30 && cp <= 0x39) || - (cp >= 0x41 && cp <= 0x46) || - (cp >= 0x61 && cp <= 0x66); // a..f - }, - isOctalDigit: function (cp) { - return (cp >= 0x30 && cp <= 0x37); // 0..7 - } - }; - - -/***/ }, -/* 5 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var jsx_syntax_1 = __webpack_require__(6); - /* tslint:disable:max-classes-per-file */ - var JSXClosingElement = (function () { - function JSXClosingElement(name) { - this.type = jsx_syntax_1.JSXSyntax.JSXClosingElement; - this.name = name; - } - return JSXClosingElement; - }()); - exports.JSXClosingElement = JSXClosingElement; - var JSXElement = (function () { - function JSXElement(openingElement, children, closingElement) { - this.type = jsx_syntax_1.JSXSyntax.JSXElement; - this.openingElement = openingElement; - this.children = children; - this.closingElement = closingElement; - } - return JSXElement; - }()); - exports.JSXElement = JSXElement; - var JSXEmptyExpression = (function () { - function JSXEmptyExpression() { - this.type = jsx_syntax_1.JSXSyntax.JSXEmptyExpression; - } - return JSXEmptyExpression; - }()); - exports.JSXEmptyExpression = JSXEmptyExpression; - var JSXExpressionContainer = (function () { - function JSXExpressionContainer(expression) { - this.type = jsx_syntax_1.JSXSyntax.JSXExpressionContainer; - this.expression = expression; - } - return JSXExpressionContainer; - }()); - exports.JSXExpressionContainer = JSXExpressionContainer; - var JSXIdentifier = (function () { - function JSXIdentifier(name) { - this.type = jsx_syntax_1.JSXSyntax.JSXIdentifier; - this.name = name; - } - return JSXIdentifier; - }()); - exports.JSXIdentifier = JSXIdentifier; - var JSXMemberExpression = (function () { - function JSXMemberExpression(object, property) { - this.type = jsx_syntax_1.JSXSyntax.JSXMemberExpression; - this.object = object; - this.property = property; - } - return JSXMemberExpression; - }()); - exports.JSXMemberExpression = JSXMemberExpression; - var JSXAttribute = (function () { - function JSXAttribute(name, value) { - this.type = jsx_syntax_1.JSXSyntax.JSXAttribute; - this.name = name; - this.value = value; - } - return JSXAttribute; - }()); - exports.JSXAttribute = JSXAttribute; - var JSXNamespacedName = (function () { - function JSXNamespacedName(namespace, name) { - this.type = jsx_syntax_1.JSXSyntax.JSXNamespacedName; - this.namespace = namespace; - this.name = name; - } - return JSXNamespacedName; - }()); - exports.JSXNamespacedName = JSXNamespacedName; - var JSXOpeningElement = (function () { - function JSXOpeningElement(name, selfClosing, attributes) { - this.type = jsx_syntax_1.JSXSyntax.JSXOpeningElement; - this.name = name; - this.selfClosing = selfClosing; - this.attributes = attributes; - } - return JSXOpeningElement; - }()); - exports.JSXOpeningElement = JSXOpeningElement; - var JSXSpreadAttribute = (function () { - function JSXSpreadAttribute(argument) { - this.type = jsx_syntax_1.JSXSyntax.JSXSpreadAttribute; - this.argument = argument; - } - return JSXSpreadAttribute; - }()); - exports.JSXSpreadAttribute = JSXSpreadAttribute; - var JSXText = (function () { - function JSXText(value, raw) { - this.type = jsx_syntax_1.JSXSyntax.JSXText; - this.value = value; - this.raw = raw; - } - return JSXText; - }()); - exports.JSXText = JSXText; - - -/***/ }, -/* 6 */ -/***/ function(module, exports) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - exports.JSXSyntax = { - JSXAttribute: 'JSXAttribute', - JSXClosingElement: 'JSXClosingElement', - JSXElement: 'JSXElement', - JSXEmptyExpression: 'JSXEmptyExpression', - JSXExpressionContainer: 'JSXExpressionContainer', - JSXIdentifier: 'JSXIdentifier', - JSXMemberExpression: 'JSXMemberExpression', - JSXNamespacedName: 'JSXNamespacedName', - JSXOpeningElement: 'JSXOpeningElement', - JSXSpreadAttribute: 'JSXSpreadAttribute', - JSXText: 'JSXText' - }; - - -/***/ }, -/* 7 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var syntax_1 = __webpack_require__(2); - /* tslint:disable:max-classes-per-file */ - var ArrayExpression = (function () { - function ArrayExpression(elements) { - this.type = syntax_1.Syntax.ArrayExpression; - this.elements = elements; - } - return ArrayExpression; - }()); - exports.ArrayExpression = ArrayExpression; - var ArrayPattern = (function () { - function ArrayPattern(elements) { - this.type = syntax_1.Syntax.ArrayPattern; - this.elements = elements; - } - return ArrayPattern; - }()); - exports.ArrayPattern = ArrayPattern; - var ArrowFunctionExpression = (function () { - function ArrowFunctionExpression(params, body, expression) { - this.type = syntax_1.Syntax.ArrowFunctionExpression; - this.id = null; - this.params = params; - this.body = body; - this.generator = false; - this.expression = expression; - this.async = false; - } - return ArrowFunctionExpression; - }()); - exports.ArrowFunctionExpression = ArrowFunctionExpression; - var AssignmentExpression = (function () { - function AssignmentExpression(operator, left, right) { - this.type = syntax_1.Syntax.AssignmentExpression; - this.operator = operator; - this.left = left; - this.right = right; - } - return AssignmentExpression; - }()); - exports.AssignmentExpression = AssignmentExpression; - var AssignmentPattern = (function () { - function AssignmentPattern(left, right) { - this.type = syntax_1.Syntax.AssignmentPattern; - this.left = left; - this.right = right; - } - return AssignmentPattern; - }()); - exports.AssignmentPattern = AssignmentPattern; - var AsyncArrowFunctionExpression = (function () { - function AsyncArrowFunctionExpression(params, body, expression) { - this.type = syntax_1.Syntax.ArrowFunctionExpression; - this.id = null; - this.params = params; - this.body = body; - this.generator = false; - this.expression = expression; - this.async = true; - } - return AsyncArrowFunctionExpression; - }()); - exports.AsyncArrowFunctionExpression = AsyncArrowFunctionExpression; - var AsyncFunctionDeclaration = (function () { - function AsyncFunctionDeclaration(id, params, body) { - this.type = syntax_1.Syntax.FunctionDeclaration; - this.id = id; - this.params = params; - this.body = body; - this.generator = false; - this.expression = false; - this.async = true; - } - return AsyncFunctionDeclaration; - }()); - exports.AsyncFunctionDeclaration = AsyncFunctionDeclaration; - var AsyncFunctionExpression = (function () { - function AsyncFunctionExpression(id, params, body) { - this.type = syntax_1.Syntax.FunctionExpression; - this.id = id; - this.params = params; - this.body = body; - this.generator = false; - this.expression = false; - this.async = true; - } - return AsyncFunctionExpression; - }()); - exports.AsyncFunctionExpression = AsyncFunctionExpression; - var AwaitExpression = (function () { - function AwaitExpression(argument) { - this.type = syntax_1.Syntax.AwaitExpression; - this.argument = argument; - } - return AwaitExpression; - }()); - exports.AwaitExpression = AwaitExpression; - var BinaryExpression = (function () { - function BinaryExpression(operator, left, right) { - var logical = (operator === '||' || operator === '&&'); - this.type = logical ? syntax_1.Syntax.LogicalExpression : syntax_1.Syntax.BinaryExpression; - this.operator = operator; - this.left = left; - this.right = right; - } - return BinaryExpression; - }()); - exports.BinaryExpression = BinaryExpression; - var BlockStatement = (function () { - function BlockStatement(body) { - this.type = syntax_1.Syntax.BlockStatement; - this.body = body; - } - return BlockStatement; - }()); - exports.BlockStatement = BlockStatement; - var BreakStatement = (function () { - function BreakStatement(label) { - this.type = syntax_1.Syntax.BreakStatement; - this.label = label; - } - return BreakStatement; - }()); - exports.BreakStatement = BreakStatement; - var CallExpression = (function () { - function CallExpression(callee, args) { - this.type = syntax_1.Syntax.CallExpression; - this.callee = callee; - this.arguments = args; - } - return CallExpression; - }()); - exports.CallExpression = CallExpression; - var CatchClause = (function () { - function CatchClause(param, body) { - this.type = syntax_1.Syntax.CatchClause; - this.param = param; - this.body = body; - } - return CatchClause; - }()); - exports.CatchClause = CatchClause; - var ClassBody = (function () { - function ClassBody(body) { - this.type = syntax_1.Syntax.ClassBody; - this.body = body; - } - return ClassBody; - }()); - exports.ClassBody = ClassBody; - var ClassDeclaration = (function () { - function ClassDeclaration(id, superClass, body) { - this.type = syntax_1.Syntax.ClassDeclaration; - this.id = id; - this.superClass = superClass; - this.body = body; - } - return ClassDeclaration; - }()); - exports.ClassDeclaration = ClassDeclaration; - var ClassExpression = (function () { - function ClassExpression(id, superClass, body) { - this.type = syntax_1.Syntax.ClassExpression; - this.id = id; - this.superClass = superClass; - this.body = body; - } - return ClassExpression; - }()); - exports.ClassExpression = ClassExpression; - var ComputedMemberExpression = (function () { - function ComputedMemberExpression(object, property) { - this.type = syntax_1.Syntax.MemberExpression; - this.computed = true; - this.object = object; - this.property = property; - } - return ComputedMemberExpression; - }()); - exports.ComputedMemberExpression = ComputedMemberExpression; - var ConditionalExpression = (function () { - function ConditionalExpression(test, consequent, alternate) { - this.type = syntax_1.Syntax.ConditionalExpression; - this.test = test; - this.consequent = consequent; - this.alternate = alternate; - } - return ConditionalExpression; - }()); - exports.ConditionalExpression = ConditionalExpression; - var ContinueStatement = (function () { - function ContinueStatement(label) { - this.type = syntax_1.Syntax.ContinueStatement; - this.label = label; - } - return ContinueStatement; - }()); - exports.ContinueStatement = ContinueStatement; - var DebuggerStatement = (function () { - function DebuggerStatement() { - this.type = syntax_1.Syntax.DebuggerStatement; - } - return DebuggerStatement; - }()); - exports.DebuggerStatement = DebuggerStatement; - var Directive = (function () { - function Directive(expression, directive) { - this.type = syntax_1.Syntax.ExpressionStatement; - this.expression = expression; - this.directive = directive; - } - return Directive; - }()); - exports.Directive = Directive; - var DoWhileStatement = (function () { - function DoWhileStatement(body, test) { - this.type = syntax_1.Syntax.DoWhileStatement; - this.body = body; - this.test = test; - } - return DoWhileStatement; - }()); - exports.DoWhileStatement = DoWhileStatement; - var EmptyStatement = (function () { - function EmptyStatement() { - this.type = syntax_1.Syntax.EmptyStatement; - } - return EmptyStatement; - }()); - exports.EmptyStatement = EmptyStatement; - var ExportAllDeclaration = (function () { - function ExportAllDeclaration(source) { - this.type = syntax_1.Syntax.ExportAllDeclaration; - this.source = source; - } - return ExportAllDeclaration; - }()); - exports.ExportAllDeclaration = ExportAllDeclaration; - var ExportDefaultDeclaration = (function () { - function ExportDefaultDeclaration(declaration) { - this.type = syntax_1.Syntax.ExportDefaultDeclaration; - this.declaration = declaration; - } - return ExportDefaultDeclaration; - }()); - exports.ExportDefaultDeclaration = ExportDefaultDeclaration; - var ExportNamedDeclaration = (function () { - function ExportNamedDeclaration(declaration, specifiers, source) { - this.type = syntax_1.Syntax.ExportNamedDeclaration; - this.declaration = declaration; - this.specifiers = specifiers; - this.source = source; - } - return ExportNamedDeclaration; - }()); - exports.ExportNamedDeclaration = ExportNamedDeclaration; - var ExportSpecifier = (function () { - function ExportSpecifier(local, exported) { - this.type = syntax_1.Syntax.ExportSpecifier; - this.exported = exported; - this.local = local; - } - return ExportSpecifier; - }()); - exports.ExportSpecifier = ExportSpecifier; - var ExpressionStatement = (function () { - function ExpressionStatement(expression) { - this.type = syntax_1.Syntax.ExpressionStatement; - this.expression = expression; - } - return ExpressionStatement; - }()); - exports.ExpressionStatement = ExpressionStatement; - var ForInStatement = (function () { - function ForInStatement(left, right, body) { - this.type = syntax_1.Syntax.ForInStatement; - this.left = left; - this.right = right; - this.body = body; - this.each = false; - } - return ForInStatement; - }()); - exports.ForInStatement = ForInStatement; - var ForOfStatement = (function () { - function ForOfStatement(left, right, body) { - this.type = syntax_1.Syntax.ForOfStatement; - this.left = left; - this.right = right; - this.body = body; - } - return ForOfStatement; - }()); - exports.ForOfStatement = ForOfStatement; - var ForStatement = (function () { - function ForStatement(init, test, update, body) { - this.type = syntax_1.Syntax.ForStatement; - this.init = init; - this.test = test; - this.update = update; - this.body = body; - } - return ForStatement; - }()); - exports.ForStatement = ForStatement; - var FunctionDeclaration = (function () { - function FunctionDeclaration(id, params, body, generator) { - this.type = syntax_1.Syntax.FunctionDeclaration; - this.id = id; - this.params = params; - this.body = body; - this.generator = generator; - this.expression = false; - this.async = false; - } - return FunctionDeclaration; - }()); - exports.FunctionDeclaration = FunctionDeclaration; - var FunctionExpression = (function () { - function FunctionExpression(id, params, body, generator) { - this.type = syntax_1.Syntax.FunctionExpression; - this.id = id; - this.params = params; - this.body = body; - this.generator = generator; - this.expression = false; - this.async = false; - } - return FunctionExpression; - }()); - exports.FunctionExpression = FunctionExpression; - var Identifier = (function () { - function Identifier(name) { - this.type = syntax_1.Syntax.Identifier; - this.name = name; - } - return Identifier; - }()); - exports.Identifier = Identifier; - var IfStatement = (function () { - function IfStatement(test, consequent, alternate) { - this.type = syntax_1.Syntax.IfStatement; - this.test = test; - this.consequent = consequent; - this.alternate = alternate; - } - return IfStatement; - }()); - exports.IfStatement = IfStatement; - var ImportDeclaration = (function () { - function ImportDeclaration(specifiers, source) { - this.type = syntax_1.Syntax.ImportDeclaration; - this.specifiers = specifiers; - this.source = source; - } - return ImportDeclaration; - }()); - exports.ImportDeclaration = ImportDeclaration; - var ImportDefaultSpecifier = (function () { - function ImportDefaultSpecifier(local) { - this.type = syntax_1.Syntax.ImportDefaultSpecifier; - this.local = local; - } - return ImportDefaultSpecifier; - }()); - exports.ImportDefaultSpecifier = ImportDefaultSpecifier; - var ImportNamespaceSpecifier = (function () { - function ImportNamespaceSpecifier(local) { - this.type = syntax_1.Syntax.ImportNamespaceSpecifier; - this.local = local; - } - return ImportNamespaceSpecifier; - }()); - exports.ImportNamespaceSpecifier = ImportNamespaceSpecifier; - var ImportSpecifier = (function () { - function ImportSpecifier(local, imported) { - this.type = syntax_1.Syntax.ImportSpecifier; - this.local = local; - this.imported = imported; - } - return ImportSpecifier; - }()); - exports.ImportSpecifier = ImportSpecifier; - var LabeledStatement = (function () { - function LabeledStatement(label, body) { - this.type = syntax_1.Syntax.LabeledStatement; - this.label = label; - this.body = body; - } - return LabeledStatement; - }()); - exports.LabeledStatement = LabeledStatement; - var Literal = (function () { - function Literal(value, raw) { - this.type = syntax_1.Syntax.Literal; - this.value = value; - this.raw = raw; - } - return Literal; - }()); - exports.Literal = Literal; - var MetaProperty = (function () { - function MetaProperty(meta, property) { - this.type = syntax_1.Syntax.MetaProperty; - this.meta = meta; - this.property = property; - } - return MetaProperty; - }()); - exports.MetaProperty = MetaProperty; - var MethodDefinition = (function () { - function MethodDefinition(key, computed, value, kind, isStatic) { - this.type = syntax_1.Syntax.MethodDefinition; - this.key = key; - this.computed = computed; - this.value = value; - this.kind = kind; - this.static = isStatic; - } - return MethodDefinition; - }()); - exports.MethodDefinition = MethodDefinition; - var Module = (function () { - function Module(body) { - this.type = syntax_1.Syntax.Program; - this.body = body; - this.sourceType = 'module'; - } - return Module; - }()); - exports.Module = Module; - var NewExpression = (function () { - function NewExpression(callee, args) { - this.type = syntax_1.Syntax.NewExpression; - this.callee = callee; - this.arguments = args; - } - return NewExpression; - }()); - exports.NewExpression = NewExpression; - var ObjectExpression = (function () { - function ObjectExpression(properties) { - this.type = syntax_1.Syntax.ObjectExpression; - this.properties = properties; - } - return ObjectExpression; - }()); - exports.ObjectExpression = ObjectExpression; - var ObjectPattern = (function () { - function ObjectPattern(properties) { - this.type = syntax_1.Syntax.ObjectPattern; - this.properties = properties; - } - return ObjectPattern; - }()); - exports.ObjectPattern = ObjectPattern; - var Property = (function () { - function Property(kind, key, computed, value, method, shorthand) { - this.type = syntax_1.Syntax.Property; - this.key = key; - this.computed = computed; - this.value = value; - this.kind = kind; - this.method = method; - this.shorthand = shorthand; - } - return Property; - }()); - exports.Property = Property; - var RegexLiteral = (function () { - function RegexLiteral(value, raw, pattern, flags) { - this.type = syntax_1.Syntax.Literal; - this.value = value; - this.raw = raw; - this.regex = { pattern: pattern, flags: flags }; - } - return RegexLiteral; - }()); - exports.RegexLiteral = RegexLiteral; - var RestElement = (function () { - function RestElement(argument) { - this.type = syntax_1.Syntax.RestElement; - this.argument = argument; - } - return RestElement; - }()); - exports.RestElement = RestElement; - var ReturnStatement = (function () { - function ReturnStatement(argument) { - this.type = syntax_1.Syntax.ReturnStatement; - this.argument = argument; - } - return ReturnStatement; - }()); - exports.ReturnStatement = ReturnStatement; - var Script = (function () { - function Script(body) { - this.type = syntax_1.Syntax.Program; - this.body = body; - this.sourceType = 'script'; - } - return Script; - }()); - exports.Script = Script; - var SequenceExpression = (function () { - function SequenceExpression(expressions) { - this.type = syntax_1.Syntax.SequenceExpression; - this.expressions = expressions; - } - return SequenceExpression; - }()); - exports.SequenceExpression = SequenceExpression; - var SpreadElement = (function () { - function SpreadElement(argument) { - this.type = syntax_1.Syntax.SpreadElement; - this.argument = argument; - } - return SpreadElement; - }()); - exports.SpreadElement = SpreadElement; - var StaticMemberExpression = (function () { - function StaticMemberExpression(object, property) { - this.type = syntax_1.Syntax.MemberExpression; - this.computed = false; - this.object = object; - this.property = property; - } - return StaticMemberExpression; - }()); - exports.StaticMemberExpression = StaticMemberExpression; - var Super = (function () { - function Super() { - this.type = syntax_1.Syntax.Super; - } - return Super; - }()); - exports.Super = Super; - var SwitchCase = (function () { - function SwitchCase(test, consequent) { - this.type = syntax_1.Syntax.SwitchCase; - this.test = test; - this.consequent = consequent; - } - return SwitchCase; - }()); - exports.SwitchCase = SwitchCase; - var SwitchStatement = (function () { - function SwitchStatement(discriminant, cases) { - this.type = syntax_1.Syntax.SwitchStatement; - this.discriminant = discriminant; - this.cases = cases; - } - return SwitchStatement; - }()); - exports.SwitchStatement = SwitchStatement; - var TaggedTemplateExpression = (function () { - function TaggedTemplateExpression(tag, quasi) { - this.type = syntax_1.Syntax.TaggedTemplateExpression; - this.tag = tag; - this.quasi = quasi; - } - return TaggedTemplateExpression; - }()); - exports.TaggedTemplateExpression = TaggedTemplateExpression; - var TemplateElement = (function () { - function TemplateElement(value, tail) { - this.type = syntax_1.Syntax.TemplateElement; - this.value = value; - this.tail = tail; - } - return TemplateElement; - }()); - exports.TemplateElement = TemplateElement; - var TemplateLiteral = (function () { - function TemplateLiteral(quasis, expressions) { - this.type = syntax_1.Syntax.TemplateLiteral; - this.quasis = quasis; - this.expressions = expressions; - } - return TemplateLiteral; - }()); - exports.TemplateLiteral = TemplateLiteral; - var ThisExpression = (function () { - function ThisExpression() { - this.type = syntax_1.Syntax.ThisExpression; - } - return ThisExpression; - }()); - exports.ThisExpression = ThisExpression; - var ThrowStatement = (function () { - function ThrowStatement(argument) { - this.type = syntax_1.Syntax.ThrowStatement; - this.argument = argument; - } - return ThrowStatement; - }()); - exports.ThrowStatement = ThrowStatement; - var TryStatement = (function () { - function TryStatement(block, handler, finalizer) { - this.type = syntax_1.Syntax.TryStatement; - this.block = block; - this.handler = handler; - this.finalizer = finalizer; - } - return TryStatement; - }()); - exports.TryStatement = TryStatement; - var UnaryExpression = (function () { - function UnaryExpression(operator, argument) { - this.type = syntax_1.Syntax.UnaryExpression; - this.operator = operator; - this.argument = argument; - this.prefix = true; - } - return UnaryExpression; - }()); - exports.UnaryExpression = UnaryExpression; - var UpdateExpression = (function () { - function UpdateExpression(operator, argument, prefix) { - this.type = syntax_1.Syntax.UpdateExpression; - this.operator = operator; - this.argument = argument; - this.prefix = prefix; - } - return UpdateExpression; - }()); - exports.UpdateExpression = UpdateExpression; - var VariableDeclaration = (function () { - function VariableDeclaration(declarations, kind) { - this.type = syntax_1.Syntax.VariableDeclaration; - this.declarations = declarations; - this.kind = kind; - } - return VariableDeclaration; - }()); - exports.VariableDeclaration = VariableDeclaration; - var VariableDeclarator = (function () { - function VariableDeclarator(id, init) { - this.type = syntax_1.Syntax.VariableDeclarator; - this.id = id; - this.init = init; - } - return VariableDeclarator; - }()); - exports.VariableDeclarator = VariableDeclarator; - var WhileStatement = (function () { - function WhileStatement(test, body) { - this.type = syntax_1.Syntax.WhileStatement; - this.test = test; - this.body = body; - } - return WhileStatement; - }()); - exports.WhileStatement = WhileStatement; - var WithStatement = (function () { - function WithStatement(object, body) { - this.type = syntax_1.Syntax.WithStatement; - this.object = object; - this.body = body; - } - return WithStatement; - }()); - exports.WithStatement = WithStatement; - var YieldExpression = (function () { - function YieldExpression(argument, delegate) { - this.type = syntax_1.Syntax.YieldExpression; - this.argument = argument; - this.delegate = delegate; - } - return YieldExpression; - }()); - exports.YieldExpression = YieldExpression; - - -/***/ }, -/* 8 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var assert_1 = __webpack_require__(9); - var error_handler_1 = __webpack_require__(10); - var messages_1 = __webpack_require__(11); - var Node = __webpack_require__(7); - var scanner_1 = __webpack_require__(12); - var syntax_1 = __webpack_require__(2); - var token_1 = __webpack_require__(13); - var ArrowParameterPlaceHolder = 'ArrowParameterPlaceHolder'; - var Parser = (function () { - function Parser(code, options, delegate) { - if (options === void 0) { options = {}; } - this.config = { - range: (typeof options.range === 'boolean') && options.range, - loc: (typeof options.loc === 'boolean') && options.loc, - source: null, - tokens: (typeof options.tokens === 'boolean') && options.tokens, - comment: (typeof options.comment === 'boolean') && options.comment, - tolerant: (typeof options.tolerant === 'boolean') && options.tolerant - }; - if (this.config.loc && options.source && options.source !== null) { - this.config.source = String(options.source); - } - this.delegate = delegate; - this.errorHandler = new error_handler_1.ErrorHandler(); - this.errorHandler.tolerant = this.config.tolerant; - this.scanner = new scanner_1.Scanner(code, this.errorHandler); - this.scanner.trackComment = this.config.comment; - this.operatorPrecedence = { - ')': 0, - ';': 0, - ',': 0, - '=': 0, - ']': 0, - '||': 1, - '&&': 2, - '|': 3, - '^': 4, - '&': 5, - '==': 6, - '!=': 6, - '===': 6, - '!==': 6, - '<': 7, - '>': 7, - '<=': 7, - '>=': 7, - '<<': 8, - '>>': 8, - '>>>': 8, - '+': 9, - '-': 9, - '*': 11, - '/': 11, - '%': 11 - }; - this.lookahead = { - type: 2 /* EOF */, - value: '', - lineNumber: this.scanner.lineNumber, - lineStart: 0, - start: 0, - end: 0 - }; - this.hasLineTerminator = false; - this.context = { - isModule: false, - await: false, - allowIn: true, - allowStrictDirective: true, - allowYield: true, - firstCoverInitializedNameError: null, - isAssignmentTarget: false, - isBindingElement: false, - inFunctionBody: false, - inIteration: false, - inSwitch: false, - labelSet: {}, - strict: false - }; - this.tokens = []; - this.startMarker = { - index: 0, - line: this.scanner.lineNumber, - column: 0 - }; - this.lastMarker = { - index: 0, - line: this.scanner.lineNumber, - column: 0 - }; - this.nextToken(); - this.lastMarker = { - index: this.scanner.index, - line: this.scanner.lineNumber, - column: this.scanner.index - this.scanner.lineStart - }; - } - Parser.prototype.throwError = function (messageFormat) { - var values = []; - for (var _i = 1; _i < arguments.length; _i++) { - values[_i - 1] = arguments[_i]; - } - var args = Array.prototype.slice.call(arguments, 1); - var msg = messageFormat.replace(/%(\d)/g, function (whole, idx) { - assert_1.assert(idx < args.length, 'Message reference must be in range'); - return args[idx]; - }); - var index = this.lastMarker.index; - var line = this.lastMarker.line; - var column = this.lastMarker.column + 1; - throw this.errorHandler.createError(index, line, column, msg); - }; - Parser.prototype.tolerateError = function (messageFormat) { - var values = []; - for (var _i = 1; _i < arguments.length; _i++) { - values[_i - 1] = arguments[_i]; - } - var args = Array.prototype.slice.call(arguments, 1); - var msg = messageFormat.replace(/%(\d)/g, function (whole, idx) { - assert_1.assert(idx < args.length, 'Message reference must be in range'); - return args[idx]; - }); - var index = this.lastMarker.index; - var line = this.scanner.lineNumber; - var column = this.lastMarker.column + 1; - this.errorHandler.tolerateError(index, line, column, msg); - }; - // Throw an exception because of the token. - Parser.prototype.unexpectedTokenError = function (token, message) { - var msg = message || messages_1.Messages.UnexpectedToken; - var value; - if (token) { - if (!message) { - msg = (token.type === 2 /* EOF */) ? messages_1.Messages.UnexpectedEOS : - (token.type === 3 /* Identifier */) ? messages_1.Messages.UnexpectedIdentifier : - (token.type === 6 /* NumericLiteral */) ? messages_1.Messages.UnexpectedNumber : - (token.type === 8 /* StringLiteral */) ? messages_1.Messages.UnexpectedString : - (token.type === 10 /* Template */) ? messages_1.Messages.UnexpectedTemplate : - messages_1.Messages.UnexpectedToken; - if (token.type === 4 /* Keyword */) { - if (this.scanner.isFutureReservedWord(token.value)) { - msg = messages_1.Messages.UnexpectedReserved; - } - else if (this.context.strict && this.scanner.isStrictModeReservedWord(token.value)) { - msg = messages_1.Messages.StrictReservedWord; - } - } - } - value = token.value; - } - else { - value = 'ILLEGAL'; - } - msg = msg.replace('%0', value); - if (token && typeof token.lineNumber === 'number') { - var index = token.start; - var line = token.lineNumber; - var lastMarkerLineStart = this.lastMarker.index - this.lastMarker.column; - var column = token.start - lastMarkerLineStart + 1; - return this.errorHandler.createError(index, line, column, msg); - } - else { - var index = this.lastMarker.index; - var line = this.lastMarker.line; - var column = this.lastMarker.column + 1; - return this.errorHandler.createError(index, line, column, msg); - } - }; - Parser.prototype.throwUnexpectedToken = function (token, message) { - throw this.unexpectedTokenError(token, message); - }; - Parser.prototype.tolerateUnexpectedToken = function (token, message) { - this.errorHandler.tolerate(this.unexpectedTokenError(token, message)); - }; - Parser.prototype.collectComments = function () { - if (!this.config.comment) { - this.scanner.scanComments(); - } - else { - var comments = this.scanner.scanComments(); - if (comments.length > 0 && this.delegate) { - for (var i = 0; i < comments.length; ++i) { - var e = comments[i]; - var node = void 0; - node = { - type: e.multiLine ? 'BlockComment' : 'LineComment', - value: this.scanner.source.slice(e.slice[0], e.slice[1]) - }; - if (this.config.range) { - node.range = e.range; - } - if (this.config.loc) { - node.loc = e.loc; - } - var metadata = { - start: { - line: e.loc.start.line, - column: e.loc.start.column, - offset: e.range[0] - }, - end: { - line: e.loc.end.line, - column: e.loc.end.column, - offset: e.range[1] - } - }; - this.delegate(node, metadata); - } - } - } - }; - // From internal representation to an external structure - Parser.prototype.getTokenRaw = function (token) { - return this.scanner.source.slice(token.start, token.end); - }; - Parser.prototype.convertToken = function (token) { - var t = { - type: token_1.TokenName[token.type], - value: this.getTokenRaw(token) - }; - if (this.config.range) { - t.range = [token.start, token.end]; - } - if (this.config.loc) { - t.loc = { - start: { - line: this.startMarker.line, - column: this.startMarker.column - }, - end: { - line: this.scanner.lineNumber, - column: this.scanner.index - this.scanner.lineStart - } - }; - } - if (token.type === 9 /* RegularExpression */) { - var pattern = token.pattern; - var flags = token.flags; - t.regex = { pattern: pattern, flags: flags }; - } - return t; - }; - Parser.prototype.nextToken = function () { - var token = this.lookahead; - this.lastMarker.index = this.scanner.index; - this.lastMarker.line = this.scanner.lineNumber; - this.lastMarker.column = this.scanner.index - this.scanner.lineStart; - this.collectComments(); - if (this.scanner.index !== this.startMarker.index) { - this.startMarker.index = this.scanner.index; - this.startMarker.line = this.scanner.lineNumber; - this.startMarker.column = this.scanner.index - this.scanner.lineStart; - } - var next = this.scanner.lex(); - this.hasLineTerminator = (token.lineNumber !== next.lineNumber); - if (next && this.context.strict && next.type === 3 /* Identifier */) { - if (this.scanner.isStrictModeReservedWord(next.value)) { - next.type = 4 /* Keyword */; - } - } - this.lookahead = next; - if (this.config.tokens && next.type !== 2 /* EOF */) { - this.tokens.push(this.convertToken(next)); - } - return token; - }; - Parser.prototype.nextRegexToken = function () { - this.collectComments(); - var token = this.scanner.scanRegExp(); - if (this.config.tokens) { - // Pop the previous token, '/' or '/=' - // This is added from the lookahead token. - this.tokens.pop(); - this.tokens.push(this.convertToken(token)); - } - // Prime the next lookahead. - this.lookahead = token; - this.nextToken(); - return token; - }; - Parser.prototype.createNode = function () { - return { - index: this.startMarker.index, - line: this.startMarker.line, - column: this.startMarker.column - }; - }; - Parser.prototype.startNode = function (token, lastLineStart) { - if (lastLineStart === void 0) { lastLineStart = 0; } - var column = token.start - token.lineStart; - var line = token.lineNumber; - if (column < 0) { - column += lastLineStart; - line--; - } - return { - index: token.start, - line: line, - column: column - }; - }; - Parser.prototype.finalize = function (marker, node) { - if (this.config.range) { - node.range = [marker.index, this.lastMarker.index]; - } - if (this.config.loc) { - node.loc = { - start: { - line: marker.line, - column: marker.column, - }, - end: { - line: this.lastMarker.line, - column: this.lastMarker.column - } - }; - if (this.config.source) { - node.loc.source = this.config.source; - } - } - if (this.delegate) { - var metadata = { - start: { - line: marker.line, - column: marker.column, - offset: marker.index - }, - end: { - line: this.lastMarker.line, - column: this.lastMarker.column, - offset: this.lastMarker.index - } - }; - this.delegate(node, metadata); - } - return node; - }; - // Expect the next token to match the specified punctuator. - // If not, an exception will be thrown. - Parser.prototype.expect = function (value) { - var token = this.nextToken(); - if (token.type !== 7 /* Punctuator */ || token.value !== value) { - this.throwUnexpectedToken(token); - } - }; - // Quietly expect a comma when in tolerant mode, otherwise delegates to expect(). - Parser.prototype.expectCommaSeparator = function () { - if (this.config.tolerant) { - var token = this.lookahead; - if (token.type === 7 /* Punctuator */ && token.value === ',') { - this.nextToken(); - } - else if (token.type === 7 /* Punctuator */ && token.value === ';') { - this.nextToken(); - this.tolerateUnexpectedToken(token); - } - else { - this.tolerateUnexpectedToken(token, messages_1.Messages.UnexpectedToken); - } - } - else { - this.expect(','); - } - }; - // Expect the next token to match the specified keyword. - // If not, an exception will be thrown. - Parser.prototype.expectKeyword = function (keyword) { - var token = this.nextToken(); - if (token.type !== 4 /* Keyword */ || token.value !== keyword) { - this.throwUnexpectedToken(token); - } - }; - // Return true if the next token matches the specified punctuator. - Parser.prototype.match = function (value) { - return this.lookahead.type === 7 /* Punctuator */ && this.lookahead.value === value; - }; - // Return true if the next token matches the specified keyword - Parser.prototype.matchKeyword = function (keyword) { - return this.lookahead.type === 4 /* Keyword */ && this.lookahead.value === keyword; - }; - // Return true if the next token matches the specified contextual keyword - // (where an identifier is sometimes a keyword depending on the context) - Parser.prototype.matchContextualKeyword = function (keyword) { - return this.lookahead.type === 3 /* Identifier */ && this.lookahead.value === keyword; - }; - // Return true if the next token is an assignment operator - Parser.prototype.matchAssign = function () { - if (this.lookahead.type !== 7 /* Punctuator */) { - return false; - } - var op = this.lookahead.value; - return op === '=' || - op === '*=' || - op === '**=' || - op === '/=' || - op === '%=' || - op === '+=' || - op === '-=' || - op === '<<=' || - op === '>>=' || - op === '>>>=' || - op === '&=' || - op === '^=' || - op === '|='; - }; - // Cover grammar support. - // - // When an assignment expression position starts with an left parenthesis, the determination of the type - // of the syntax is to be deferred arbitrarily long until the end of the parentheses pair (plus a lookahead) - // or the first comma. This situation also defers the determination of all the expressions nested in the pair. - // - // There are three productions that can be parsed in a parentheses pair that needs to be determined - // after the outermost pair is closed. They are: - // - // 1. AssignmentExpression - // 2. BindingElements - // 3. AssignmentTargets - // - // In order to avoid exponential backtracking, we use two flags to denote if the production can be - // binding element or assignment target. - // - // The three productions have the relationship: - // - // BindingElements ⊆ AssignmentTargets ⊆ AssignmentExpression - // - // with a single exception that CoverInitializedName when used directly in an Expression, generates - // an early error. Therefore, we need the third state, firstCoverInitializedNameError, to track the - // first usage of CoverInitializedName and report it when we reached the end of the parentheses pair. - // - // isolateCoverGrammar function runs the given parser function with a new cover grammar context, and it does not - // effect the current flags. This means the production the parser parses is only used as an expression. Therefore - // the CoverInitializedName check is conducted. - // - // inheritCoverGrammar function runs the given parse function with a new cover grammar context, and it propagates - // the flags outside of the parser. This means the production the parser parses is used as a part of a potential - // pattern. The CoverInitializedName check is deferred. - Parser.prototype.isolateCoverGrammar = function (parseFunction) { - var previousIsBindingElement = this.context.isBindingElement; - var previousIsAssignmentTarget = this.context.isAssignmentTarget; - var previousFirstCoverInitializedNameError = this.context.firstCoverInitializedNameError; - this.context.isBindingElement = true; - this.context.isAssignmentTarget = true; - this.context.firstCoverInitializedNameError = null; - var result = parseFunction.call(this); - if (this.context.firstCoverInitializedNameError !== null) { - this.throwUnexpectedToken(this.context.firstCoverInitializedNameError); - } - this.context.isBindingElement = previousIsBindingElement; - this.context.isAssignmentTarget = previousIsAssignmentTarget; - this.context.firstCoverInitializedNameError = previousFirstCoverInitializedNameError; - return result; - }; - Parser.prototype.inheritCoverGrammar = function (parseFunction) { - var previousIsBindingElement = this.context.isBindingElement; - var previousIsAssignmentTarget = this.context.isAssignmentTarget; - var previousFirstCoverInitializedNameError = this.context.firstCoverInitializedNameError; - this.context.isBindingElement = true; - this.context.isAssignmentTarget = true; - this.context.firstCoverInitializedNameError = null; - var result = parseFunction.call(this); - this.context.isBindingElement = this.context.isBindingElement && previousIsBindingElement; - this.context.isAssignmentTarget = this.context.isAssignmentTarget && previousIsAssignmentTarget; - this.context.firstCoverInitializedNameError = previousFirstCoverInitializedNameError || this.context.firstCoverInitializedNameError; - return result; - }; - Parser.prototype.consumeSemicolon = function () { - if (this.match(';')) { - this.nextToken(); - } - else if (!this.hasLineTerminator) { - if (this.lookahead.type !== 2 /* EOF */ && !this.match('}')) { - this.throwUnexpectedToken(this.lookahead); - } - this.lastMarker.index = this.startMarker.index; - this.lastMarker.line = this.startMarker.line; - this.lastMarker.column = this.startMarker.column; - } - }; - // https://tc39.github.io/ecma262/#sec-primary-expression - Parser.prototype.parsePrimaryExpression = function () { - var node = this.createNode(); - var expr; - var token, raw; - switch (this.lookahead.type) { - case 3 /* Identifier */: - if ((this.context.isModule || this.context.await) && this.lookahead.value === 'await') { - this.tolerateUnexpectedToken(this.lookahead); - } - expr = this.matchAsyncFunction() ? this.parseFunctionExpression() : this.finalize(node, new Node.Identifier(this.nextToken().value)); - break; - case 6 /* NumericLiteral */: - case 8 /* StringLiteral */: - if (this.context.strict && this.lookahead.octal) { - this.tolerateUnexpectedToken(this.lookahead, messages_1.Messages.StrictOctalLiteral); - } - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - token = this.nextToken(); - raw = this.getTokenRaw(token); - expr = this.finalize(node, new Node.Literal(token.value, raw)); - break; - case 1 /* BooleanLiteral */: - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - token = this.nextToken(); - raw = this.getTokenRaw(token); - expr = this.finalize(node, new Node.Literal(token.value === 'true', raw)); - break; - case 5 /* NullLiteral */: - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - token = this.nextToken(); - raw = this.getTokenRaw(token); - expr = this.finalize(node, new Node.Literal(null, raw)); - break; - case 10 /* Template */: - expr = this.parseTemplateLiteral(); - break; - case 7 /* Punctuator */: - switch (this.lookahead.value) { - case '(': - this.context.isBindingElement = false; - expr = this.inheritCoverGrammar(this.parseGroupExpression); - break; - case '[': - expr = this.inheritCoverGrammar(this.parseArrayInitializer); - break; - case '{': - expr = this.inheritCoverGrammar(this.parseObjectInitializer); - break; - case '/': - case '/=': - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - this.scanner.index = this.startMarker.index; - token = this.nextRegexToken(); - raw = this.getTokenRaw(token); - expr = this.finalize(node, new Node.RegexLiteral(token.regex, raw, token.pattern, token.flags)); - break; - default: - expr = this.throwUnexpectedToken(this.nextToken()); - } - break; - case 4 /* Keyword */: - if (!this.context.strict && this.context.allowYield && this.matchKeyword('yield')) { - expr = this.parseIdentifierName(); - } - else if (!this.context.strict && this.matchKeyword('let')) { - expr = this.finalize(node, new Node.Identifier(this.nextToken().value)); - } - else { - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - if (this.matchKeyword('function')) { - expr = this.parseFunctionExpression(); - } - else if (this.matchKeyword('this')) { - this.nextToken(); - expr = this.finalize(node, new Node.ThisExpression()); - } - else if (this.matchKeyword('class')) { - expr = this.parseClassExpression(); - } - else { - expr = this.throwUnexpectedToken(this.nextToken()); - } - } - break; - default: - expr = this.throwUnexpectedToken(this.nextToken()); - } - return expr; - }; - // https://tc39.github.io/ecma262/#sec-array-initializer - Parser.prototype.parseSpreadElement = function () { - var node = this.createNode(); - this.expect('...'); - var arg = this.inheritCoverGrammar(this.parseAssignmentExpression); - return this.finalize(node, new Node.SpreadElement(arg)); - }; - Parser.prototype.parseArrayInitializer = function () { - var node = this.createNode(); - var elements = []; - this.expect('['); - while (!this.match(']')) { - if (this.match(',')) { - this.nextToken(); - elements.push(null); - } - else if (this.match('...')) { - var element = this.parseSpreadElement(); - if (!this.match(']')) { - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - this.expect(','); - } - elements.push(element); - } - else { - elements.push(this.inheritCoverGrammar(this.parseAssignmentExpression)); - if (!this.match(']')) { - this.expect(','); - } - } - } - this.expect(']'); - return this.finalize(node, new Node.ArrayExpression(elements)); - }; - // https://tc39.github.io/ecma262/#sec-object-initializer - Parser.prototype.parsePropertyMethod = function (params) { - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - var previousStrict = this.context.strict; - var previousAllowStrictDirective = this.context.allowStrictDirective; - this.context.allowStrictDirective = params.simple; - var body = this.isolateCoverGrammar(this.parseFunctionSourceElements); - if (this.context.strict && params.firstRestricted) { - this.tolerateUnexpectedToken(params.firstRestricted, params.message); - } - if (this.context.strict && params.stricted) { - this.tolerateUnexpectedToken(params.stricted, params.message); - } - this.context.strict = previousStrict; - this.context.allowStrictDirective = previousAllowStrictDirective; - return body; - }; - Parser.prototype.parsePropertyMethodFunction = function () { - var isGenerator = false; - var node = this.createNode(); - var previousAllowYield = this.context.allowYield; - this.context.allowYield = true; - var params = this.parseFormalParameters(); - var method = this.parsePropertyMethod(params); - this.context.allowYield = previousAllowYield; - return this.finalize(node, new Node.FunctionExpression(null, params.params, method, isGenerator)); - }; - Parser.prototype.parsePropertyMethodAsyncFunction = function () { - var node = this.createNode(); - var previousAllowYield = this.context.allowYield; - var previousAwait = this.context.await; - this.context.allowYield = false; - this.context.await = true; - var params = this.parseFormalParameters(); - var method = this.parsePropertyMethod(params); - this.context.allowYield = previousAllowYield; - this.context.await = previousAwait; - return this.finalize(node, new Node.AsyncFunctionExpression(null, params.params, method)); - }; - Parser.prototype.parseObjectPropertyKey = function () { - var node = this.createNode(); - var token = this.nextToken(); - var key; - switch (token.type) { - case 8 /* StringLiteral */: - case 6 /* NumericLiteral */: - if (this.context.strict && token.octal) { - this.tolerateUnexpectedToken(token, messages_1.Messages.StrictOctalLiteral); - } - var raw = this.getTokenRaw(token); - key = this.finalize(node, new Node.Literal(token.value, raw)); - break; - case 3 /* Identifier */: - case 1 /* BooleanLiteral */: - case 5 /* NullLiteral */: - case 4 /* Keyword */: - key = this.finalize(node, new Node.Identifier(token.value)); - break; - case 7 /* Punctuator */: - if (token.value === '[') { - key = this.isolateCoverGrammar(this.parseAssignmentExpression); - this.expect(']'); - } - else { - key = this.throwUnexpectedToken(token); - } - break; - default: - key = this.throwUnexpectedToken(token); - } - return key; - }; - Parser.prototype.isPropertyKey = function (key, value) { - return (key.type === syntax_1.Syntax.Identifier && key.name === value) || - (key.type === syntax_1.Syntax.Literal && key.value === value); - }; - Parser.prototype.parseObjectProperty = function (hasProto) { - var node = this.createNode(); - var token = this.lookahead; - var kind; - var key = null; - var value = null; - var computed = false; - var method = false; - var shorthand = false; - var isAsync = false; - if (token.type === 3 /* Identifier */) { - var id = token.value; - this.nextToken(); - computed = this.match('['); - isAsync = !this.hasLineTerminator && (id === 'async') && - !this.match(':') && !this.match('(') && !this.match('*') && !this.match(','); - key = isAsync ? this.parseObjectPropertyKey() : this.finalize(node, new Node.Identifier(id)); - } - else if (this.match('*')) { - this.nextToken(); - } - else { - computed = this.match('['); - key = this.parseObjectPropertyKey(); - } - var lookaheadPropertyKey = this.qualifiedPropertyName(this.lookahead); - if (token.type === 3 /* Identifier */ && !isAsync && token.value === 'get' && lookaheadPropertyKey) { - kind = 'get'; - computed = this.match('['); - key = this.parseObjectPropertyKey(); - this.context.allowYield = false; - value = this.parseGetterMethod(); - } - else if (token.type === 3 /* Identifier */ && !isAsync && token.value === 'set' && lookaheadPropertyKey) { - kind = 'set'; - computed = this.match('['); - key = this.parseObjectPropertyKey(); - value = this.parseSetterMethod(); - } - else if (token.type === 7 /* Punctuator */ && token.value === '*' && lookaheadPropertyKey) { - kind = 'init'; - computed = this.match('['); - key = this.parseObjectPropertyKey(); - value = this.parseGeneratorMethod(); - method = true; - } - else { - if (!key) { - this.throwUnexpectedToken(this.lookahead); - } - kind = 'init'; - if (this.match(':') && !isAsync) { - if (!computed && this.isPropertyKey(key, '__proto__')) { - if (hasProto.value) { - this.tolerateError(messages_1.Messages.DuplicateProtoProperty); - } - hasProto.value = true; - } - this.nextToken(); - value = this.inheritCoverGrammar(this.parseAssignmentExpression); - } - else if (this.match('(')) { - value = isAsync ? this.parsePropertyMethodAsyncFunction() : this.parsePropertyMethodFunction(); - method = true; - } - else if (token.type === 3 /* Identifier */) { - var id = this.finalize(node, new Node.Identifier(token.value)); - if (this.match('=')) { - this.context.firstCoverInitializedNameError = this.lookahead; - this.nextToken(); - shorthand = true; - var init = this.isolateCoverGrammar(this.parseAssignmentExpression); - value = this.finalize(node, new Node.AssignmentPattern(id, init)); - } - else { - shorthand = true; - value = id; - } - } - else { - this.throwUnexpectedToken(this.nextToken()); - } - } - return this.finalize(node, new Node.Property(kind, key, computed, value, method, shorthand)); - }; - Parser.prototype.parseObjectInitializer = function () { - var node = this.createNode(); - this.expect('{'); - var properties = []; - var hasProto = { value: false }; - while (!this.match('}')) { - properties.push(this.parseObjectProperty(hasProto)); - if (!this.match('}')) { - this.expectCommaSeparator(); - } - } - this.expect('}'); - return this.finalize(node, new Node.ObjectExpression(properties)); - }; - // https://tc39.github.io/ecma262/#sec-template-literals - Parser.prototype.parseTemplateHead = function () { - assert_1.assert(this.lookahead.head, 'Template literal must start with a template head'); - var node = this.createNode(); - var token = this.nextToken(); - var raw = token.value; - var cooked = token.cooked; - return this.finalize(node, new Node.TemplateElement({ raw: raw, cooked: cooked }, token.tail)); - }; - Parser.prototype.parseTemplateElement = function () { - if (this.lookahead.type !== 10 /* Template */) { - this.throwUnexpectedToken(); - } - var node = this.createNode(); - var token = this.nextToken(); - var raw = token.value; - var cooked = token.cooked; - return this.finalize(node, new Node.TemplateElement({ raw: raw, cooked: cooked }, token.tail)); - }; - Parser.prototype.parseTemplateLiteral = function () { - var node = this.createNode(); - var expressions = []; - var quasis = []; - var quasi = this.parseTemplateHead(); - quasis.push(quasi); - while (!quasi.tail) { - expressions.push(this.parseExpression()); - quasi = this.parseTemplateElement(); - quasis.push(quasi); - } - return this.finalize(node, new Node.TemplateLiteral(quasis, expressions)); - }; - // https://tc39.github.io/ecma262/#sec-grouping-operator - Parser.prototype.reinterpretExpressionAsPattern = function (expr) { - switch (expr.type) { - case syntax_1.Syntax.Identifier: - case syntax_1.Syntax.MemberExpression: - case syntax_1.Syntax.RestElement: - case syntax_1.Syntax.AssignmentPattern: - break; - case syntax_1.Syntax.SpreadElement: - expr.type = syntax_1.Syntax.RestElement; - this.reinterpretExpressionAsPattern(expr.argument); - break; - case syntax_1.Syntax.ArrayExpression: - expr.type = syntax_1.Syntax.ArrayPattern; - for (var i = 0; i < expr.elements.length; i++) { - if (expr.elements[i] !== null) { - this.reinterpretExpressionAsPattern(expr.elements[i]); - } - } - break; - case syntax_1.Syntax.ObjectExpression: - expr.type = syntax_1.Syntax.ObjectPattern; - for (var i = 0; i < expr.properties.length; i++) { - this.reinterpretExpressionAsPattern(expr.properties[i].value); - } - break; - case syntax_1.Syntax.AssignmentExpression: - expr.type = syntax_1.Syntax.AssignmentPattern; - delete expr.operator; - this.reinterpretExpressionAsPattern(expr.left); - break; - default: - // Allow other node type for tolerant parsing. - break; - } - }; - Parser.prototype.parseGroupExpression = function () { - var expr; - this.expect('('); - if (this.match(')')) { - this.nextToken(); - if (!this.match('=>')) { - this.expect('=>'); - } - expr = { - type: ArrowParameterPlaceHolder, - params: [], - async: false - }; - } - else { - var startToken = this.lookahead; - var params = []; - if (this.match('...')) { - expr = this.parseRestElement(params); - this.expect(')'); - if (!this.match('=>')) { - this.expect('=>'); - } - expr = { - type: ArrowParameterPlaceHolder, - params: [expr], - async: false - }; - } - else { - var arrow = false; - this.context.isBindingElement = true; - expr = this.inheritCoverGrammar(this.parseAssignmentExpression); - if (this.match(',')) { - var expressions = []; - this.context.isAssignmentTarget = false; - expressions.push(expr); - while (this.lookahead.type !== 2 /* EOF */) { - if (!this.match(',')) { - break; - } - this.nextToken(); - if (this.match(')')) { - this.nextToken(); - for (var i = 0; i < expressions.length; i++) { - this.reinterpretExpressionAsPattern(expressions[i]); - } - arrow = true; - expr = { - type: ArrowParameterPlaceHolder, - params: expressions, - async: false - }; - } - else if (this.match('...')) { - if (!this.context.isBindingElement) { - this.throwUnexpectedToken(this.lookahead); - } - expressions.push(this.parseRestElement(params)); - this.expect(')'); - if (!this.match('=>')) { - this.expect('=>'); - } - this.context.isBindingElement = false; - for (var i = 0; i < expressions.length; i++) { - this.reinterpretExpressionAsPattern(expressions[i]); - } - arrow = true; - expr = { - type: ArrowParameterPlaceHolder, - params: expressions, - async: false - }; - } - else { - expressions.push(this.inheritCoverGrammar(this.parseAssignmentExpression)); - } - if (arrow) { - break; - } - } - if (!arrow) { - expr = this.finalize(this.startNode(startToken), new Node.SequenceExpression(expressions)); - } - } - if (!arrow) { - this.expect(')'); - if (this.match('=>')) { - if (expr.type === syntax_1.Syntax.Identifier && expr.name === 'yield') { - arrow = true; - expr = { - type: ArrowParameterPlaceHolder, - params: [expr], - async: false - }; - } - if (!arrow) { - if (!this.context.isBindingElement) { - this.throwUnexpectedToken(this.lookahead); - } - if (expr.type === syntax_1.Syntax.SequenceExpression) { - for (var i = 0; i < expr.expressions.length; i++) { - this.reinterpretExpressionAsPattern(expr.expressions[i]); - } - } - else { - this.reinterpretExpressionAsPattern(expr); - } - var parameters = (expr.type === syntax_1.Syntax.SequenceExpression ? expr.expressions : [expr]); - expr = { - type: ArrowParameterPlaceHolder, - params: parameters, - async: false - }; - } - } - this.context.isBindingElement = false; - } - } - } - return expr; - }; - // https://tc39.github.io/ecma262/#sec-left-hand-side-expressions - Parser.prototype.parseArguments = function () { - this.expect('('); - var args = []; - if (!this.match(')')) { - while (true) { - var expr = this.match('...') ? this.parseSpreadElement() : - this.isolateCoverGrammar(this.parseAssignmentExpression); - args.push(expr); - if (this.match(')')) { - break; - } - this.expectCommaSeparator(); - if (this.match(')')) { - break; - } - } - } - this.expect(')'); - return args; - }; - Parser.prototype.isIdentifierName = function (token) { - return token.type === 3 /* Identifier */ || - token.type === 4 /* Keyword */ || - token.type === 1 /* BooleanLiteral */ || - token.type === 5 /* NullLiteral */; - }; - Parser.prototype.parseIdentifierName = function () { - var node = this.createNode(); - var token = this.nextToken(); - if (!this.isIdentifierName(token)) { - this.throwUnexpectedToken(token); - } - return this.finalize(node, new Node.Identifier(token.value)); - }; - Parser.prototype.parseNewExpression = function () { - var node = this.createNode(); - var id = this.parseIdentifierName(); - assert_1.assert(id.name === 'new', 'New expression must start with `new`'); - var expr; - if (this.match('.')) { - this.nextToken(); - if (this.lookahead.type === 3 /* Identifier */ && this.context.inFunctionBody && this.lookahead.value === 'target') { - var property = this.parseIdentifierName(); - expr = new Node.MetaProperty(id, property); - } - else { - this.throwUnexpectedToken(this.lookahead); - } - } - else { - var callee = this.isolateCoverGrammar(this.parseLeftHandSideExpression); - var args = this.match('(') ? this.parseArguments() : []; - expr = new Node.NewExpression(callee, args); - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - } - return this.finalize(node, expr); - }; - Parser.prototype.parseAsyncArgument = function () { - var arg = this.parseAssignmentExpression(); - this.context.firstCoverInitializedNameError = null; - return arg; - }; - Parser.prototype.parseAsyncArguments = function () { - this.expect('('); - var args = []; - if (!this.match(')')) { - while (true) { - var expr = this.match('...') ? this.parseSpreadElement() : - this.isolateCoverGrammar(this.parseAsyncArgument); - args.push(expr); - if (this.match(')')) { - break; - } - this.expectCommaSeparator(); - if (this.match(')')) { - break; - } - } - } - this.expect(')'); - return args; - }; - Parser.prototype.parseLeftHandSideExpressionAllowCall = function () { - var startToken = this.lookahead; - var maybeAsync = this.matchContextualKeyword('async'); - var previousAllowIn = this.context.allowIn; - this.context.allowIn = true; - var expr; - if (this.matchKeyword('super') && this.context.inFunctionBody) { - expr = this.createNode(); - this.nextToken(); - expr = this.finalize(expr, new Node.Super()); - if (!this.match('(') && !this.match('.') && !this.match('[')) { - this.throwUnexpectedToken(this.lookahead); - } - } - else { - expr = this.inheritCoverGrammar(this.matchKeyword('new') ? this.parseNewExpression : this.parsePrimaryExpression); - } - while (true) { - if (this.match('.')) { - this.context.isBindingElement = false; - this.context.isAssignmentTarget = true; - this.expect('.'); - var property = this.parseIdentifierName(); - expr = this.finalize(this.startNode(startToken), new Node.StaticMemberExpression(expr, property)); - } - else if (this.match('(')) { - var asyncArrow = maybeAsync && (startToken.lineNumber === this.lookahead.lineNumber); - this.context.isBindingElement = false; - this.context.isAssignmentTarget = false; - var args = asyncArrow ? this.parseAsyncArguments() : this.parseArguments(); - expr = this.finalize(this.startNode(startToken), new Node.CallExpression(expr, args)); - if (asyncArrow && this.match('=>')) { - for (var i = 0; i < args.length; ++i) { - this.reinterpretExpressionAsPattern(args[i]); - } - expr = { - type: ArrowParameterPlaceHolder, - params: args, - async: true - }; - } - } - else if (this.match('[')) { - this.context.isBindingElement = false; - this.context.isAssignmentTarget = true; - this.expect('['); - var property = this.isolateCoverGrammar(this.parseExpression); - this.expect(']'); - expr = this.finalize(this.startNode(startToken), new Node.ComputedMemberExpression(expr, property)); - } - else if (this.lookahead.type === 10 /* Template */ && this.lookahead.head) { - var quasi = this.parseTemplateLiteral(); - expr = this.finalize(this.startNode(startToken), new Node.TaggedTemplateExpression(expr, quasi)); - } - else { - break; - } - } - this.context.allowIn = previousAllowIn; - return expr; - }; - Parser.prototype.parseSuper = function () { - var node = this.createNode(); - this.expectKeyword('super'); - if (!this.match('[') && !this.match('.')) { - this.throwUnexpectedToken(this.lookahead); - } - return this.finalize(node, new Node.Super()); - }; - Parser.prototype.parseLeftHandSideExpression = function () { - assert_1.assert(this.context.allowIn, 'callee of new expression always allow in keyword.'); - var node = this.startNode(this.lookahead); - var expr = (this.matchKeyword('super') && this.context.inFunctionBody) ? this.parseSuper() : - this.inheritCoverGrammar(this.matchKeyword('new') ? this.parseNewExpression : this.parsePrimaryExpression); - while (true) { - if (this.match('[')) { - this.context.isBindingElement = false; - this.context.isAssignmentTarget = true; - this.expect('['); - var property = this.isolateCoverGrammar(this.parseExpression); - this.expect(']'); - expr = this.finalize(node, new Node.ComputedMemberExpression(expr, property)); - } - else if (this.match('.')) { - this.context.isBindingElement = false; - this.context.isAssignmentTarget = true; - this.expect('.'); - var property = this.parseIdentifierName(); - expr = this.finalize(node, new Node.StaticMemberExpression(expr, property)); - } - else if (this.lookahead.type === 10 /* Template */ && this.lookahead.head) { - var quasi = this.parseTemplateLiteral(); - expr = this.finalize(node, new Node.TaggedTemplateExpression(expr, quasi)); - } - else { - break; - } - } - return expr; - }; - // https://tc39.github.io/ecma262/#sec-update-expressions - Parser.prototype.parseUpdateExpression = function () { - var expr; - var startToken = this.lookahead; - if (this.match('++') || this.match('--')) { - var node = this.startNode(startToken); - var token = this.nextToken(); - expr = this.inheritCoverGrammar(this.parseUnaryExpression); - if (this.context.strict && expr.type === syntax_1.Syntax.Identifier && this.scanner.isRestrictedWord(expr.name)) { - this.tolerateError(messages_1.Messages.StrictLHSPrefix); - } - if (!this.context.isAssignmentTarget) { - this.tolerateError(messages_1.Messages.InvalidLHSInAssignment); - } - var prefix = true; - expr = this.finalize(node, new Node.UpdateExpression(token.value, expr, prefix)); - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - } - else { - expr = this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall); - if (!this.hasLineTerminator && this.lookahead.type === 7 /* Punctuator */) { - if (this.match('++') || this.match('--')) { - if (this.context.strict && expr.type === syntax_1.Syntax.Identifier && this.scanner.isRestrictedWord(expr.name)) { - this.tolerateError(messages_1.Messages.StrictLHSPostfix); - } - if (!this.context.isAssignmentTarget) { - this.tolerateError(messages_1.Messages.InvalidLHSInAssignment); - } - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - var operator = this.nextToken().value; - var prefix = false; - expr = this.finalize(this.startNode(startToken), new Node.UpdateExpression(operator, expr, prefix)); - } - } - } - return expr; - }; - // https://tc39.github.io/ecma262/#sec-unary-operators - Parser.prototype.parseAwaitExpression = function () { - var node = this.createNode(); - this.nextToken(); - var argument = this.parseUnaryExpression(); - return this.finalize(node, new Node.AwaitExpression(argument)); - }; - Parser.prototype.parseUnaryExpression = function () { - var expr; - if (this.match('+') || this.match('-') || this.match('~') || this.match('!') || - this.matchKeyword('delete') || this.matchKeyword('void') || this.matchKeyword('typeof')) { - var node = this.startNode(this.lookahead); - var token = this.nextToken(); - expr = this.inheritCoverGrammar(this.parseUnaryExpression); - expr = this.finalize(node, new Node.UnaryExpression(token.value, expr)); - if (this.context.strict && expr.operator === 'delete' && expr.argument.type === syntax_1.Syntax.Identifier) { - this.tolerateError(messages_1.Messages.StrictDelete); - } - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - } - else if (this.context.await && this.matchContextualKeyword('await')) { - expr = this.parseAwaitExpression(); - } - else { - expr = this.parseUpdateExpression(); - } - return expr; - }; - Parser.prototype.parseExponentiationExpression = function () { - var startToken = this.lookahead; - var expr = this.inheritCoverGrammar(this.parseUnaryExpression); - if (expr.type !== syntax_1.Syntax.UnaryExpression && this.match('**')) { - this.nextToken(); - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - var left = expr; - var right = this.isolateCoverGrammar(this.parseExponentiationExpression); - expr = this.finalize(this.startNode(startToken), new Node.BinaryExpression('**', left, right)); - } - return expr; - }; - // https://tc39.github.io/ecma262/#sec-exp-operator - // https://tc39.github.io/ecma262/#sec-multiplicative-operators - // https://tc39.github.io/ecma262/#sec-additive-operators - // https://tc39.github.io/ecma262/#sec-bitwise-shift-operators - // https://tc39.github.io/ecma262/#sec-relational-operators - // https://tc39.github.io/ecma262/#sec-equality-operators - // https://tc39.github.io/ecma262/#sec-binary-bitwise-operators - // https://tc39.github.io/ecma262/#sec-binary-logical-operators - Parser.prototype.binaryPrecedence = function (token) { - var op = token.value; - var precedence; - if (token.type === 7 /* Punctuator */) { - precedence = this.operatorPrecedence[op] || 0; - } - else if (token.type === 4 /* Keyword */) { - precedence = (op === 'instanceof' || (this.context.allowIn && op === 'in')) ? 7 : 0; - } - else { - precedence = 0; - } - return precedence; - }; - Parser.prototype.parseBinaryExpression = function () { - var startToken = this.lookahead; - var expr = this.inheritCoverGrammar(this.parseExponentiationExpression); - var token = this.lookahead; - var prec = this.binaryPrecedence(token); - if (prec > 0) { - this.nextToken(); - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - var markers = [startToken, this.lookahead]; - var left = expr; - var right = this.isolateCoverGrammar(this.parseExponentiationExpression); - var stack = [left, token.value, right]; - var precedences = [prec]; - while (true) { - prec = this.binaryPrecedence(this.lookahead); - if (prec <= 0) { - break; - } - // Reduce: make a binary expression from the three topmost entries. - while ((stack.length > 2) && (prec <= precedences[precedences.length - 1])) { - right = stack.pop(); - var operator = stack.pop(); - precedences.pop(); - left = stack.pop(); - markers.pop(); - var node = this.startNode(markers[markers.length - 1]); - stack.push(this.finalize(node, new Node.BinaryExpression(operator, left, right))); - } - // Shift. - stack.push(this.nextToken().value); - precedences.push(prec); - markers.push(this.lookahead); - stack.push(this.isolateCoverGrammar(this.parseExponentiationExpression)); - } - // Final reduce to clean-up the stack. - var i = stack.length - 1; - expr = stack[i]; - var lastMarker = markers.pop(); - while (i > 1) { - var marker = markers.pop(); - var lastLineStart = lastMarker && lastMarker.lineStart; - var node = this.startNode(marker, lastLineStart); - var operator = stack[i - 1]; - expr = this.finalize(node, new Node.BinaryExpression(operator, stack[i - 2], expr)); - i -= 2; - lastMarker = marker; - } - } - return expr; - }; - // https://tc39.github.io/ecma262/#sec-conditional-operator - Parser.prototype.parseConditionalExpression = function () { - var startToken = this.lookahead; - var expr = this.inheritCoverGrammar(this.parseBinaryExpression); - if (this.match('?')) { - this.nextToken(); - var previousAllowIn = this.context.allowIn; - this.context.allowIn = true; - var consequent = this.isolateCoverGrammar(this.parseAssignmentExpression); - this.context.allowIn = previousAllowIn; - this.expect(':'); - var alternate = this.isolateCoverGrammar(this.parseAssignmentExpression); - expr = this.finalize(this.startNode(startToken), new Node.ConditionalExpression(expr, consequent, alternate)); - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - } - return expr; - }; - // https://tc39.github.io/ecma262/#sec-assignment-operators - Parser.prototype.checkPatternParam = function (options, param) { - switch (param.type) { - case syntax_1.Syntax.Identifier: - this.validateParam(options, param, param.name); - break; - case syntax_1.Syntax.RestElement: - this.checkPatternParam(options, param.argument); - break; - case syntax_1.Syntax.AssignmentPattern: - this.checkPatternParam(options, param.left); - break; - case syntax_1.Syntax.ArrayPattern: - for (var i = 0; i < param.elements.length; i++) { - if (param.elements[i] !== null) { - this.checkPatternParam(options, param.elements[i]); - } - } - break; - case syntax_1.Syntax.ObjectPattern: - for (var i = 0; i < param.properties.length; i++) { - this.checkPatternParam(options, param.properties[i].value); - } - break; - default: - break; - } - options.simple = options.simple && (param instanceof Node.Identifier); - }; - Parser.prototype.reinterpretAsCoverFormalsList = function (expr) { - var params = [expr]; - var options; - var asyncArrow = false; - switch (expr.type) { - case syntax_1.Syntax.Identifier: - break; - case ArrowParameterPlaceHolder: - params = expr.params; - asyncArrow = expr.async; - break; - default: - return null; - } - options = { - simple: true, - paramSet: {} - }; - for (var i = 0; i < params.length; ++i) { - var param = params[i]; - if (param.type === syntax_1.Syntax.AssignmentPattern) { - if (param.right.type === syntax_1.Syntax.YieldExpression) { - if (param.right.argument) { - this.throwUnexpectedToken(this.lookahead); - } - param.right.type = syntax_1.Syntax.Identifier; - param.right.name = 'yield'; - delete param.right.argument; - delete param.right.delegate; - } - } - else if (asyncArrow && param.type === syntax_1.Syntax.Identifier && param.name === 'await') { - this.throwUnexpectedToken(this.lookahead); - } - this.checkPatternParam(options, param); - params[i] = param; - } - if (this.context.strict || !this.context.allowYield) { - for (var i = 0; i < params.length; ++i) { - var param = params[i]; - if (param.type === syntax_1.Syntax.YieldExpression) { - this.throwUnexpectedToken(this.lookahead); - } - } - } - if (options.message === messages_1.Messages.StrictParamDupe) { - var token = this.context.strict ? options.stricted : options.firstRestricted; - this.throwUnexpectedToken(token, options.message); - } - return { - simple: options.simple, - params: params, - stricted: options.stricted, - firstRestricted: options.firstRestricted, - message: options.message - }; - }; - Parser.prototype.parseAssignmentExpression = function () { - var expr; - if (!this.context.allowYield && this.matchKeyword('yield')) { - expr = this.parseYieldExpression(); - } - else { - var startToken = this.lookahead; - var token = startToken; - expr = this.parseConditionalExpression(); - if (token.type === 3 /* Identifier */ && (token.lineNumber === this.lookahead.lineNumber) && token.value === 'async') { - if (this.lookahead.type === 3 /* Identifier */ || this.matchKeyword('yield')) { - var arg = this.parsePrimaryExpression(); - this.reinterpretExpressionAsPattern(arg); - expr = { - type: ArrowParameterPlaceHolder, - params: [arg], - async: true - }; - } - } - if (expr.type === ArrowParameterPlaceHolder || this.match('=>')) { - // https://tc39.github.io/ecma262/#sec-arrow-function-definitions - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - var isAsync = expr.async; - var list = this.reinterpretAsCoverFormalsList(expr); - if (list) { - if (this.hasLineTerminator) { - this.tolerateUnexpectedToken(this.lookahead); - } - this.context.firstCoverInitializedNameError = null; - var previousStrict = this.context.strict; - var previousAllowStrictDirective = this.context.allowStrictDirective; - this.context.allowStrictDirective = list.simple; - var previousAllowYield = this.context.allowYield; - var previousAwait = this.context.await; - this.context.allowYield = true; - this.context.await = isAsync; - var node = this.startNode(startToken); - this.expect('=>'); - var body = void 0; - if (this.match('{')) { - var previousAllowIn = this.context.allowIn; - this.context.allowIn = true; - body = this.parseFunctionSourceElements(); - this.context.allowIn = previousAllowIn; - } - else { - body = this.isolateCoverGrammar(this.parseAssignmentExpression); - } - var expression = body.type !== syntax_1.Syntax.BlockStatement; - if (this.context.strict && list.firstRestricted) { - this.throwUnexpectedToken(list.firstRestricted, list.message); - } - if (this.context.strict && list.stricted) { - this.tolerateUnexpectedToken(list.stricted, list.message); - } - expr = isAsync ? this.finalize(node, new Node.AsyncArrowFunctionExpression(list.params, body, expression)) : - this.finalize(node, new Node.ArrowFunctionExpression(list.params, body, expression)); - this.context.strict = previousStrict; - this.context.allowStrictDirective = previousAllowStrictDirective; - this.context.allowYield = previousAllowYield; - this.context.await = previousAwait; - } - } - else { - if (this.matchAssign()) { - if (!this.context.isAssignmentTarget) { - this.tolerateError(messages_1.Messages.InvalidLHSInAssignment); - } - if (this.context.strict && expr.type === syntax_1.Syntax.Identifier) { - var id = expr; - if (this.scanner.isRestrictedWord(id.name)) { - this.tolerateUnexpectedToken(token, messages_1.Messages.StrictLHSAssignment); - } - if (this.scanner.isStrictModeReservedWord(id.name)) { - this.tolerateUnexpectedToken(token, messages_1.Messages.StrictReservedWord); - } - } - if (!this.match('=')) { - this.context.isAssignmentTarget = false; - this.context.isBindingElement = false; - } - else { - this.reinterpretExpressionAsPattern(expr); - } - token = this.nextToken(); - var operator = token.value; - var right = this.isolateCoverGrammar(this.parseAssignmentExpression); - expr = this.finalize(this.startNode(startToken), new Node.AssignmentExpression(operator, expr, right)); - this.context.firstCoverInitializedNameError = null; - } - } - } - return expr; - }; - // https://tc39.github.io/ecma262/#sec-comma-operator - Parser.prototype.parseExpression = function () { - var startToken = this.lookahead; - var expr = this.isolateCoverGrammar(this.parseAssignmentExpression); - if (this.match(',')) { - var expressions = []; - expressions.push(expr); - while (this.lookahead.type !== 2 /* EOF */) { - if (!this.match(',')) { - break; - } - this.nextToken(); - expressions.push(this.isolateCoverGrammar(this.parseAssignmentExpression)); - } - expr = this.finalize(this.startNode(startToken), new Node.SequenceExpression(expressions)); - } - return expr; - }; - // https://tc39.github.io/ecma262/#sec-block - Parser.prototype.parseStatementListItem = function () { - var statement; - this.context.isAssignmentTarget = true; - this.context.isBindingElement = true; - if (this.lookahead.type === 4 /* Keyword */) { - switch (this.lookahead.value) { - case 'export': - if (!this.context.isModule) { - this.tolerateUnexpectedToken(this.lookahead, messages_1.Messages.IllegalExportDeclaration); - } - statement = this.parseExportDeclaration(); - break; - case 'import': - if (!this.context.isModule) { - this.tolerateUnexpectedToken(this.lookahead, messages_1.Messages.IllegalImportDeclaration); - } - statement = this.parseImportDeclaration(); - break; - case 'const': - statement = this.parseLexicalDeclaration({ inFor: false }); - break; - case 'function': - statement = this.parseFunctionDeclaration(); - break; - case 'class': - statement = this.parseClassDeclaration(); - break; - case 'let': - statement = this.isLexicalDeclaration() ? this.parseLexicalDeclaration({ inFor: false }) : this.parseStatement(); - break; - default: - statement = this.parseStatement(); - break; - } - } - else { - statement = this.parseStatement(); - } - return statement; - }; - Parser.prototype.parseBlock = function () { - var node = this.createNode(); - this.expect('{'); - var block = []; - while (true) { - if (this.match('}')) { - break; - } - block.push(this.parseStatementListItem()); - } - this.expect('}'); - return this.finalize(node, new Node.BlockStatement(block)); - }; - // https://tc39.github.io/ecma262/#sec-let-and-const-declarations - Parser.prototype.parseLexicalBinding = function (kind, options) { - var node = this.createNode(); - var params = []; - var id = this.parsePattern(params, kind); - if (this.context.strict && id.type === syntax_1.Syntax.Identifier) { - if (this.scanner.isRestrictedWord(id.name)) { - this.tolerateError(messages_1.Messages.StrictVarName); - } - } - var init = null; - if (kind === 'const') { - if (!this.matchKeyword('in') && !this.matchContextualKeyword('of')) { - if (this.match('=')) { - this.nextToken(); - init = this.isolateCoverGrammar(this.parseAssignmentExpression); - } - else { - this.throwError(messages_1.Messages.DeclarationMissingInitializer, 'const'); - } - } - } - else if ((!options.inFor && id.type !== syntax_1.Syntax.Identifier) || this.match('=')) { - this.expect('='); - init = this.isolateCoverGrammar(this.parseAssignmentExpression); - } - return this.finalize(node, new Node.VariableDeclarator(id, init)); - }; - Parser.prototype.parseBindingList = function (kind, options) { - var list = [this.parseLexicalBinding(kind, options)]; - while (this.match(',')) { - this.nextToken(); - list.push(this.parseLexicalBinding(kind, options)); - } - return list; - }; - Parser.prototype.isLexicalDeclaration = function () { - var state = this.scanner.saveState(); - this.scanner.scanComments(); - var next = this.scanner.lex(); - this.scanner.restoreState(state); - return (next.type === 3 /* Identifier */) || - (next.type === 7 /* Punctuator */ && next.value === '[') || - (next.type === 7 /* Punctuator */ && next.value === '{') || - (next.type === 4 /* Keyword */ && next.value === 'let') || - (next.type === 4 /* Keyword */ && next.value === 'yield'); - }; - Parser.prototype.parseLexicalDeclaration = function (options) { - var node = this.createNode(); - var kind = this.nextToken().value; - assert_1.assert(kind === 'let' || kind === 'const', 'Lexical declaration must be either let or const'); - var declarations = this.parseBindingList(kind, options); - this.consumeSemicolon(); - return this.finalize(node, new Node.VariableDeclaration(declarations, kind)); - }; - // https://tc39.github.io/ecma262/#sec-destructuring-binding-patterns - Parser.prototype.parseBindingRestElement = function (params, kind) { - var node = this.createNode(); - this.expect('...'); - var arg = this.parsePattern(params, kind); - return this.finalize(node, new Node.RestElement(arg)); - }; - Parser.prototype.parseArrayPattern = function (params, kind) { - var node = this.createNode(); - this.expect('['); - var elements = []; - while (!this.match(']')) { - if (this.match(',')) { - this.nextToken(); - elements.push(null); - } - else { - if (this.match('...')) { - elements.push(this.parseBindingRestElement(params, kind)); - break; - } - else { - elements.push(this.parsePatternWithDefault(params, kind)); - } - if (!this.match(']')) { - this.expect(','); - } - } - } - this.expect(']'); - return this.finalize(node, new Node.ArrayPattern(elements)); - }; - Parser.prototype.parsePropertyPattern = function (params, kind) { - var node = this.createNode(); - var computed = false; - var shorthand = false; - var method = false; - var key; - var value; - if (this.lookahead.type === 3 /* Identifier */) { - var keyToken = this.lookahead; - key = this.parseVariableIdentifier(); - var init = this.finalize(node, new Node.Identifier(keyToken.value)); - if (this.match('=')) { - params.push(keyToken); - shorthand = true; - this.nextToken(); - var expr = this.parseAssignmentExpression(); - value = this.finalize(this.startNode(keyToken), new Node.AssignmentPattern(init, expr)); - } - else if (!this.match(':')) { - params.push(keyToken); - shorthand = true; - value = init; - } - else { - this.expect(':'); - value = this.parsePatternWithDefault(params, kind); - } - } - else { - computed = this.match('['); - key = this.parseObjectPropertyKey(); - this.expect(':'); - value = this.parsePatternWithDefault(params, kind); - } - return this.finalize(node, new Node.Property('init', key, computed, value, method, shorthand)); - }; - Parser.prototype.parseObjectPattern = function (params, kind) { - var node = this.createNode(); - var properties = []; - this.expect('{'); - while (!this.match('}')) { - properties.push(this.parsePropertyPattern(params, kind)); - if (!this.match('}')) { - this.expect(','); - } - } - this.expect('}'); - return this.finalize(node, new Node.ObjectPattern(properties)); - }; - Parser.prototype.parsePattern = function (params, kind) { - var pattern; - if (this.match('[')) { - pattern = this.parseArrayPattern(params, kind); - } - else if (this.match('{')) { - pattern = this.parseObjectPattern(params, kind); - } - else { - if (this.matchKeyword('let') && (kind === 'const' || kind === 'let')) { - this.tolerateUnexpectedToken(this.lookahead, messages_1.Messages.LetInLexicalBinding); - } - params.push(this.lookahead); - pattern = this.parseVariableIdentifier(kind); - } - return pattern; - }; - Parser.prototype.parsePatternWithDefault = function (params, kind) { - var startToken = this.lookahead; - var pattern = this.parsePattern(params, kind); - if (this.match('=')) { - this.nextToken(); - var previousAllowYield = this.context.allowYield; - this.context.allowYield = true; - var right = this.isolateCoverGrammar(this.parseAssignmentExpression); - this.context.allowYield = previousAllowYield; - pattern = this.finalize(this.startNode(startToken), new Node.AssignmentPattern(pattern, right)); - } - return pattern; - }; - // https://tc39.github.io/ecma262/#sec-variable-statement - Parser.prototype.parseVariableIdentifier = function (kind) { - var node = this.createNode(); - var token = this.nextToken(); - if (token.type === 4 /* Keyword */ && token.value === 'yield') { - if (this.context.strict) { - this.tolerateUnexpectedToken(token, messages_1.Messages.StrictReservedWord); - } - else if (!this.context.allowYield) { - this.throwUnexpectedToken(token); - } - } - else if (token.type !== 3 /* Identifier */) { - if (this.context.strict && token.type === 4 /* Keyword */ && this.scanner.isStrictModeReservedWord(token.value)) { - this.tolerateUnexpectedToken(token, messages_1.Messages.StrictReservedWord); - } - else { - if (this.context.strict || token.value !== 'let' || kind !== 'var') { - this.throwUnexpectedToken(token); - } - } - } - else if ((this.context.isModule || this.context.await) && token.type === 3 /* Identifier */ && token.value === 'await') { - this.tolerateUnexpectedToken(token); - } - return this.finalize(node, new Node.Identifier(token.value)); - }; - Parser.prototype.parseVariableDeclaration = function (options) { - var node = this.createNode(); - var params = []; - var id = this.parsePattern(params, 'var'); - if (this.context.strict && id.type === syntax_1.Syntax.Identifier) { - if (this.scanner.isRestrictedWord(id.name)) { - this.tolerateError(messages_1.Messages.StrictVarName); - } - } - var init = null; - if (this.match('=')) { - this.nextToken(); - init = this.isolateCoverGrammar(this.parseAssignmentExpression); - } - else if (id.type !== syntax_1.Syntax.Identifier && !options.inFor) { - this.expect('='); - } - return this.finalize(node, new Node.VariableDeclarator(id, init)); - }; - Parser.prototype.parseVariableDeclarationList = function (options) { - var opt = { inFor: options.inFor }; - var list = []; - list.push(this.parseVariableDeclaration(opt)); - while (this.match(',')) { - this.nextToken(); - list.push(this.parseVariableDeclaration(opt)); - } - return list; - }; - Parser.prototype.parseVariableStatement = function () { - var node = this.createNode(); - this.expectKeyword('var'); - var declarations = this.parseVariableDeclarationList({ inFor: false }); - this.consumeSemicolon(); - return this.finalize(node, new Node.VariableDeclaration(declarations, 'var')); - }; - // https://tc39.github.io/ecma262/#sec-empty-statement - Parser.prototype.parseEmptyStatement = function () { - var node = this.createNode(); - this.expect(';'); - return this.finalize(node, new Node.EmptyStatement()); - }; - // https://tc39.github.io/ecma262/#sec-expression-statement - Parser.prototype.parseExpressionStatement = function () { - var node = this.createNode(); - var expr = this.parseExpression(); - this.consumeSemicolon(); - return this.finalize(node, new Node.ExpressionStatement(expr)); - }; - // https://tc39.github.io/ecma262/#sec-if-statement - Parser.prototype.parseIfClause = function () { - if (this.context.strict && this.matchKeyword('function')) { - this.tolerateError(messages_1.Messages.StrictFunction); - } - return this.parseStatement(); - }; - Parser.prototype.parseIfStatement = function () { - var node = this.createNode(); - var consequent; - var alternate = null; - this.expectKeyword('if'); - this.expect('('); - var test = this.parseExpression(); - if (!this.match(')') && this.config.tolerant) { - this.tolerateUnexpectedToken(this.nextToken()); - consequent = this.finalize(this.createNode(), new Node.EmptyStatement()); - } - else { - this.expect(')'); - consequent = this.parseIfClause(); - if (this.matchKeyword('else')) { - this.nextToken(); - alternate = this.parseIfClause(); - } - } - return this.finalize(node, new Node.IfStatement(test, consequent, alternate)); - }; - // https://tc39.github.io/ecma262/#sec-do-while-statement - Parser.prototype.parseDoWhileStatement = function () { - var node = this.createNode(); - this.expectKeyword('do'); - var previousInIteration = this.context.inIteration; - this.context.inIteration = true; - var body = this.parseStatement(); - this.context.inIteration = previousInIteration; - this.expectKeyword('while'); - this.expect('('); - var test = this.parseExpression(); - if (!this.match(')') && this.config.tolerant) { - this.tolerateUnexpectedToken(this.nextToken()); - } - else { - this.expect(')'); - if (this.match(';')) { - this.nextToken(); - } - } - return this.finalize(node, new Node.DoWhileStatement(body, test)); - }; - // https://tc39.github.io/ecma262/#sec-while-statement - Parser.prototype.parseWhileStatement = function () { - var node = this.createNode(); - var body; - this.expectKeyword('while'); - this.expect('('); - var test = this.parseExpression(); - if (!this.match(')') && this.config.tolerant) { - this.tolerateUnexpectedToken(this.nextToken()); - body = this.finalize(this.createNode(), new Node.EmptyStatement()); - } - else { - this.expect(')'); - var previousInIteration = this.context.inIteration; - this.context.inIteration = true; - body = this.parseStatement(); - this.context.inIteration = previousInIteration; - } - return this.finalize(node, new Node.WhileStatement(test, body)); - }; - // https://tc39.github.io/ecma262/#sec-for-statement - // https://tc39.github.io/ecma262/#sec-for-in-and-for-of-statements - Parser.prototype.parseForStatement = function () { - var init = null; - var test = null; - var update = null; - var forIn = true; - var left, right; - var node = this.createNode(); - this.expectKeyword('for'); - this.expect('('); - if (this.match(';')) { - this.nextToken(); - } - else { - if (this.matchKeyword('var')) { - init = this.createNode(); - this.nextToken(); - var previousAllowIn = this.context.allowIn; - this.context.allowIn = false; - var declarations = this.parseVariableDeclarationList({ inFor: true }); - this.context.allowIn = previousAllowIn; - if (declarations.length === 1 && this.matchKeyword('in')) { - var decl = declarations[0]; - if (decl.init && (decl.id.type === syntax_1.Syntax.ArrayPattern || decl.id.type === syntax_1.Syntax.ObjectPattern || this.context.strict)) { - this.tolerateError(messages_1.Messages.ForInOfLoopInitializer, 'for-in'); - } - init = this.finalize(init, new Node.VariableDeclaration(declarations, 'var')); - this.nextToken(); - left = init; - right = this.parseExpression(); - init = null; - } - else if (declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword('of')) { - init = this.finalize(init, new Node.VariableDeclaration(declarations, 'var')); - this.nextToken(); - left = init; - right = this.parseAssignmentExpression(); - init = null; - forIn = false; - } - else { - init = this.finalize(init, new Node.VariableDeclaration(declarations, 'var')); - this.expect(';'); - } - } - else if (this.matchKeyword('const') || this.matchKeyword('let')) { - init = this.createNode(); - var kind = this.nextToken().value; - if (!this.context.strict && this.lookahead.value === 'in') { - init = this.finalize(init, new Node.Identifier(kind)); - this.nextToken(); - left = init; - right = this.parseExpression(); - init = null; - } - else { - var previousAllowIn = this.context.allowIn; - this.context.allowIn = false; - var declarations = this.parseBindingList(kind, { inFor: true }); - this.context.allowIn = previousAllowIn; - if (declarations.length === 1 && declarations[0].init === null && this.matchKeyword('in')) { - init = this.finalize(init, new Node.VariableDeclaration(declarations, kind)); - this.nextToken(); - left = init; - right = this.parseExpression(); - init = null; - } - else if (declarations.length === 1 && declarations[0].init === null && this.matchContextualKeyword('of')) { - init = this.finalize(init, new Node.VariableDeclaration(declarations, kind)); - this.nextToken(); - left = init; - right = this.parseAssignmentExpression(); - init = null; - forIn = false; - } - else { - this.consumeSemicolon(); - init = this.finalize(init, new Node.VariableDeclaration(declarations, kind)); - } - } - } - else { - var initStartToken = this.lookahead; - var previousAllowIn = this.context.allowIn; - this.context.allowIn = false; - init = this.inheritCoverGrammar(this.parseAssignmentExpression); - this.context.allowIn = previousAllowIn; - if (this.matchKeyword('in')) { - if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) { - this.tolerateError(messages_1.Messages.InvalidLHSInForIn); - } - this.nextToken(); - this.reinterpretExpressionAsPattern(init); - left = init; - right = this.parseExpression(); - init = null; - } - else if (this.matchContextualKeyword('of')) { - if (!this.context.isAssignmentTarget || init.type === syntax_1.Syntax.AssignmentExpression) { - this.tolerateError(messages_1.Messages.InvalidLHSInForLoop); - } - this.nextToken(); - this.reinterpretExpressionAsPattern(init); - left = init; - right = this.parseAssignmentExpression(); - init = null; - forIn = false; - } - else { - if (this.match(',')) { - var initSeq = [init]; - while (this.match(',')) { - this.nextToken(); - initSeq.push(this.isolateCoverGrammar(this.parseAssignmentExpression)); - } - init = this.finalize(this.startNode(initStartToken), new Node.SequenceExpression(initSeq)); - } - this.expect(';'); - } - } - } - if (typeof left === 'undefined') { - if (!this.match(';')) { - test = this.parseExpression(); - } - this.expect(';'); - if (!this.match(')')) { - update = this.parseExpression(); - } - } - var body; - if (!this.match(')') && this.config.tolerant) { - this.tolerateUnexpectedToken(this.nextToken()); - body = this.finalize(this.createNode(), new Node.EmptyStatement()); - } - else { - this.expect(')'); - var previousInIteration = this.context.inIteration; - this.context.inIteration = true; - body = this.isolateCoverGrammar(this.parseStatement); - this.context.inIteration = previousInIteration; - } - return (typeof left === 'undefined') ? - this.finalize(node, new Node.ForStatement(init, test, update, body)) : - forIn ? this.finalize(node, new Node.ForInStatement(left, right, body)) : - this.finalize(node, new Node.ForOfStatement(left, right, body)); - }; - // https://tc39.github.io/ecma262/#sec-continue-statement - Parser.prototype.parseContinueStatement = function () { - var node = this.createNode(); - this.expectKeyword('continue'); - var label = null; - if (this.lookahead.type === 3 /* Identifier */ && !this.hasLineTerminator) { - var id = this.parseVariableIdentifier(); - label = id; - var key = '$' + id.name; - if (!Object.prototype.hasOwnProperty.call(this.context.labelSet, key)) { - this.throwError(messages_1.Messages.UnknownLabel, id.name); - } - } - this.consumeSemicolon(); - if (label === null && !this.context.inIteration) { - this.throwError(messages_1.Messages.IllegalContinue); - } - return this.finalize(node, new Node.ContinueStatement(label)); - }; - // https://tc39.github.io/ecma262/#sec-break-statement - Parser.prototype.parseBreakStatement = function () { - var node = this.createNode(); - this.expectKeyword('break'); - var label = null; - if (this.lookahead.type === 3 /* Identifier */ && !this.hasLineTerminator) { - var id = this.parseVariableIdentifier(); - var key = '$' + id.name; - if (!Object.prototype.hasOwnProperty.call(this.context.labelSet, key)) { - this.throwError(messages_1.Messages.UnknownLabel, id.name); - } - label = id; - } - this.consumeSemicolon(); - if (label === null && !this.context.inIteration && !this.context.inSwitch) { - this.throwError(messages_1.Messages.IllegalBreak); - } - return this.finalize(node, new Node.BreakStatement(label)); - }; - // https://tc39.github.io/ecma262/#sec-return-statement - Parser.prototype.parseReturnStatement = function () { - if (!this.context.inFunctionBody) { - this.tolerateError(messages_1.Messages.IllegalReturn); - } - var node = this.createNode(); - this.expectKeyword('return'); - var hasArgument = (!this.match(';') && !this.match('}') && - !this.hasLineTerminator && this.lookahead.type !== 2 /* EOF */) || - this.lookahead.type === 8 /* StringLiteral */ || - this.lookahead.type === 10 /* Template */; - var argument = hasArgument ? this.parseExpression() : null; - this.consumeSemicolon(); - return this.finalize(node, new Node.ReturnStatement(argument)); - }; - // https://tc39.github.io/ecma262/#sec-with-statement - Parser.prototype.parseWithStatement = function () { - if (this.context.strict) { - this.tolerateError(messages_1.Messages.StrictModeWith); - } - var node = this.createNode(); - var body; - this.expectKeyword('with'); - this.expect('('); - var object = this.parseExpression(); - if (!this.match(')') && this.config.tolerant) { - this.tolerateUnexpectedToken(this.nextToken()); - body = this.finalize(this.createNode(), new Node.EmptyStatement()); - } - else { - this.expect(')'); - body = this.parseStatement(); - } - return this.finalize(node, new Node.WithStatement(object, body)); - }; - // https://tc39.github.io/ecma262/#sec-switch-statement - Parser.prototype.parseSwitchCase = function () { - var node = this.createNode(); - var test; - if (this.matchKeyword('default')) { - this.nextToken(); - test = null; - } - else { - this.expectKeyword('case'); - test = this.parseExpression(); - } - this.expect(':'); - var consequent = []; - while (true) { - if (this.match('}') || this.matchKeyword('default') || this.matchKeyword('case')) { - break; - } - consequent.push(this.parseStatementListItem()); - } - return this.finalize(node, new Node.SwitchCase(test, consequent)); - }; - Parser.prototype.parseSwitchStatement = function () { - var node = this.createNode(); - this.expectKeyword('switch'); - this.expect('('); - var discriminant = this.parseExpression(); - this.expect(')'); - var previousInSwitch = this.context.inSwitch; - this.context.inSwitch = true; - var cases = []; - var defaultFound = false; - this.expect('{'); - while (true) { - if (this.match('}')) { - break; - } - var clause = this.parseSwitchCase(); - if (clause.test === null) { - if (defaultFound) { - this.throwError(messages_1.Messages.MultipleDefaultsInSwitch); - } - defaultFound = true; - } - cases.push(clause); - } - this.expect('}'); - this.context.inSwitch = previousInSwitch; - return this.finalize(node, new Node.SwitchStatement(discriminant, cases)); - }; - // https://tc39.github.io/ecma262/#sec-labelled-statements - Parser.prototype.parseLabelledStatement = function () { - var node = this.createNode(); - var expr = this.parseExpression(); - var statement; - if ((expr.type === syntax_1.Syntax.Identifier) && this.match(':')) { - this.nextToken(); - var id = expr; - var key = '$' + id.name; - if (Object.prototype.hasOwnProperty.call(this.context.labelSet, key)) { - this.throwError(messages_1.Messages.Redeclaration, 'Label', id.name); - } - this.context.labelSet[key] = true; - var body = void 0; - if (this.matchKeyword('class')) { - this.tolerateUnexpectedToken(this.lookahead); - body = this.parseClassDeclaration(); - } - else if (this.matchKeyword('function')) { - var token = this.lookahead; - var declaration = this.parseFunctionDeclaration(); - if (this.context.strict) { - this.tolerateUnexpectedToken(token, messages_1.Messages.StrictFunction); - } - else if (declaration.generator) { - this.tolerateUnexpectedToken(token, messages_1.Messages.GeneratorInLegacyContext); - } - body = declaration; - } - else { - body = this.parseStatement(); - } - delete this.context.labelSet[key]; - statement = new Node.LabeledStatement(id, body); - } - else { - this.consumeSemicolon(); - statement = new Node.ExpressionStatement(expr); - } - return this.finalize(node, statement); - }; - // https://tc39.github.io/ecma262/#sec-throw-statement - Parser.prototype.parseThrowStatement = function () { - var node = this.createNode(); - this.expectKeyword('throw'); - if (this.hasLineTerminator) { - this.throwError(messages_1.Messages.NewlineAfterThrow); - } - var argument = this.parseExpression(); - this.consumeSemicolon(); - return this.finalize(node, new Node.ThrowStatement(argument)); - }; - // https://tc39.github.io/ecma262/#sec-try-statement - Parser.prototype.parseCatchClause = function () { - var node = this.createNode(); - this.expectKeyword('catch'); - this.expect('('); - if (this.match(')')) { - this.throwUnexpectedToken(this.lookahead); - } - var params = []; - var param = this.parsePattern(params); - var paramMap = {}; - for (var i = 0; i < params.length; i++) { - var key = '$' + params[i].value; - if (Object.prototype.hasOwnProperty.call(paramMap, key)) { - this.tolerateError(messages_1.Messages.DuplicateBinding, params[i].value); - } - paramMap[key] = true; - } - if (this.context.strict && param.type === syntax_1.Syntax.Identifier) { - if (this.scanner.isRestrictedWord(param.name)) { - this.tolerateError(messages_1.Messages.StrictCatchVariable); - } - } - this.expect(')'); - var body = this.parseBlock(); - return this.finalize(node, new Node.CatchClause(param, body)); - }; - Parser.prototype.parseFinallyClause = function () { - this.expectKeyword('finally'); - return this.parseBlock(); - }; - Parser.prototype.parseTryStatement = function () { - var node = this.createNode(); - this.expectKeyword('try'); - var block = this.parseBlock(); - var handler = this.matchKeyword('catch') ? this.parseCatchClause() : null; - var finalizer = this.matchKeyword('finally') ? this.parseFinallyClause() : null; - if (!handler && !finalizer) { - this.throwError(messages_1.Messages.NoCatchOrFinally); - } - return this.finalize(node, new Node.TryStatement(block, handler, finalizer)); - }; - // https://tc39.github.io/ecma262/#sec-debugger-statement - Parser.prototype.parseDebuggerStatement = function () { - var node = this.createNode(); - this.expectKeyword('debugger'); - this.consumeSemicolon(); - return this.finalize(node, new Node.DebuggerStatement()); - }; - // https://tc39.github.io/ecma262/#sec-ecmascript-language-statements-and-declarations - Parser.prototype.parseStatement = function () { - var statement; - switch (this.lookahead.type) { - case 1 /* BooleanLiteral */: - case 5 /* NullLiteral */: - case 6 /* NumericLiteral */: - case 8 /* StringLiteral */: - case 10 /* Template */: - case 9 /* RegularExpression */: - statement = this.parseExpressionStatement(); - break; - case 7 /* Punctuator */: - var value = this.lookahead.value; - if (value === '{') { - statement = this.parseBlock(); - } - else if (value === '(') { - statement = this.parseExpressionStatement(); - } - else if (value === ';') { - statement = this.parseEmptyStatement(); - } - else { - statement = this.parseExpressionStatement(); - } - break; - case 3 /* Identifier */: - statement = this.matchAsyncFunction() ? this.parseFunctionDeclaration() : this.parseLabelledStatement(); - break; - case 4 /* Keyword */: - switch (this.lookahead.value) { - case 'break': - statement = this.parseBreakStatement(); - break; - case 'continue': - statement = this.parseContinueStatement(); - break; - case 'debugger': - statement = this.parseDebuggerStatement(); - break; - case 'do': - statement = this.parseDoWhileStatement(); - break; - case 'for': - statement = this.parseForStatement(); - break; - case 'function': - statement = this.parseFunctionDeclaration(); - break; - case 'if': - statement = this.parseIfStatement(); - break; - case 'return': - statement = this.parseReturnStatement(); - break; - case 'switch': - statement = this.parseSwitchStatement(); - break; - case 'throw': - statement = this.parseThrowStatement(); - break; - case 'try': - statement = this.parseTryStatement(); - break; - case 'var': - statement = this.parseVariableStatement(); - break; - case 'while': - statement = this.parseWhileStatement(); - break; - case 'with': - statement = this.parseWithStatement(); - break; - default: - statement = this.parseExpressionStatement(); - break; - } - break; - default: - statement = this.throwUnexpectedToken(this.lookahead); - } - return statement; - }; - // https://tc39.github.io/ecma262/#sec-function-definitions - Parser.prototype.parseFunctionSourceElements = function () { - var node = this.createNode(); - this.expect('{'); - var body = this.parseDirectivePrologues(); - var previousLabelSet = this.context.labelSet; - var previousInIteration = this.context.inIteration; - var previousInSwitch = this.context.inSwitch; - var previousInFunctionBody = this.context.inFunctionBody; - this.context.labelSet = {}; - this.context.inIteration = false; - this.context.inSwitch = false; - this.context.inFunctionBody = true; - while (this.lookahead.type !== 2 /* EOF */) { - if (this.match('}')) { - break; - } - body.push(this.parseStatementListItem()); - } - this.expect('}'); - this.context.labelSet = previousLabelSet; - this.context.inIteration = previousInIteration; - this.context.inSwitch = previousInSwitch; - this.context.inFunctionBody = previousInFunctionBody; - return this.finalize(node, new Node.BlockStatement(body)); - }; - Parser.prototype.validateParam = function (options, param, name) { - var key = '$' + name; - if (this.context.strict) { - if (this.scanner.isRestrictedWord(name)) { - options.stricted = param; - options.message = messages_1.Messages.StrictParamName; - } - if (Object.prototype.hasOwnProperty.call(options.paramSet, key)) { - options.stricted = param; - options.message = messages_1.Messages.StrictParamDupe; - } - } - else if (!options.firstRestricted) { - if (this.scanner.isRestrictedWord(name)) { - options.firstRestricted = param; - options.message = messages_1.Messages.StrictParamName; - } - else if (this.scanner.isStrictModeReservedWord(name)) { - options.firstRestricted = param; - options.message = messages_1.Messages.StrictReservedWord; - } - else if (Object.prototype.hasOwnProperty.call(options.paramSet, key)) { - options.stricted = param; - options.message = messages_1.Messages.StrictParamDupe; - } - } - /* istanbul ignore next */ - if (typeof Object.defineProperty === 'function') { - Object.defineProperty(options.paramSet, key, { value: true, enumerable: true, writable: true, configurable: true }); - } - else { - options.paramSet[key] = true; - } - }; - Parser.prototype.parseRestElement = function (params) { - var node = this.createNode(); - this.expect('...'); - var arg = this.parsePattern(params); - if (this.match('=')) { - this.throwError(messages_1.Messages.DefaultRestParameter); - } - if (!this.match(')')) { - this.throwError(messages_1.Messages.ParameterAfterRestParameter); - } - return this.finalize(node, new Node.RestElement(arg)); - }; - Parser.prototype.parseFormalParameter = function (options) { - var params = []; - var param = this.match('...') ? this.parseRestElement(params) : this.parsePatternWithDefault(params); - for (var i = 0; i < params.length; i++) { - this.validateParam(options, params[i], params[i].value); - } - options.simple = options.simple && (param instanceof Node.Identifier); - options.params.push(param); - }; - Parser.prototype.parseFormalParameters = function (firstRestricted) { - var options; - options = { - simple: true, - params: [], - firstRestricted: firstRestricted - }; - this.expect('('); - if (!this.match(')')) { - options.paramSet = {}; - while (this.lookahead.type !== 2 /* EOF */) { - this.parseFormalParameter(options); - if (this.match(')')) { - break; - } - this.expect(','); - if (this.match(')')) { - break; - } - } - } - this.expect(')'); - return { - simple: options.simple, - params: options.params, - stricted: options.stricted, - firstRestricted: options.firstRestricted, - message: options.message - }; - }; - Parser.prototype.matchAsyncFunction = function () { - var match = this.matchContextualKeyword('async'); - if (match) { - var state = this.scanner.saveState(); - this.scanner.scanComments(); - var next = this.scanner.lex(); - this.scanner.restoreState(state); - match = (state.lineNumber === next.lineNumber) && (next.type === 4 /* Keyword */) && (next.value === 'function'); - } - return match; - }; - Parser.prototype.parseFunctionDeclaration = function (identifierIsOptional) { - var node = this.createNode(); - var isAsync = this.matchContextualKeyword('async'); - if (isAsync) { - this.nextToken(); - } - this.expectKeyword('function'); - var isGenerator = isAsync ? false : this.match('*'); - if (isGenerator) { - this.nextToken(); - } - var message; - var id = null; - var firstRestricted = null; - if (!identifierIsOptional || !this.match('(')) { - var token = this.lookahead; - id = this.parseVariableIdentifier(); - if (this.context.strict) { - if (this.scanner.isRestrictedWord(token.value)) { - this.tolerateUnexpectedToken(token, messages_1.Messages.StrictFunctionName); - } - } - else { - if (this.scanner.isRestrictedWord(token.value)) { - firstRestricted = token; - message = messages_1.Messages.StrictFunctionName; - } - else if (this.scanner.isStrictModeReservedWord(token.value)) { - firstRestricted = token; - message = messages_1.Messages.StrictReservedWord; - } - } - } - var previousAllowAwait = this.context.await; - var previousAllowYield = this.context.allowYield; - this.context.await = isAsync; - this.context.allowYield = !isGenerator; - var formalParameters = this.parseFormalParameters(firstRestricted); - var params = formalParameters.params; - var stricted = formalParameters.stricted; - firstRestricted = formalParameters.firstRestricted; - if (formalParameters.message) { - message = formalParameters.message; - } - var previousStrict = this.context.strict; - var previousAllowStrictDirective = this.context.allowStrictDirective; - this.context.allowStrictDirective = formalParameters.simple; - var body = this.parseFunctionSourceElements(); - if (this.context.strict && firstRestricted) { - this.throwUnexpectedToken(firstRestricted, message); - } - if (this.context.strict && stricted) { - this.tolerateUnexpectedToken(stricted, message); - } - this.context.strict = previousStrict; - this.context.allowStrictDirective = previousAllowStrictDirective; - this.context.await = previousAllowAwait; - this.context.allowYield = previousAllowYield; - return isAsync ? this.finalize(node, new Node.AsyncFunctionDeclaration(id, params, body)) : - this.finalize(node, new Node.FunctionDeclaration(id, params, body, isGenerator)); - }; - Parser.prototype.parseFunctionExpression = function () { - var node = this.createNode(); - var isAsync = this.matchContextualKeyword('async'); - if (isAsync) { - this.nextToken(); - } - this.expectKeyword('function'); - var isGenerator = isAsync ? false : this.match('*'); - if (isGenerator) { - this.nextToken(); - } - var message; - var id = null; - var firstRestricted; - var previousAllowAwait = this.context.await; - var previousAllowYield = this.context.allowYield; - this.context.await = isAsync; - this.context.allowYield = !isGenerator; - if (!this.match('(')) { - var token = this.lookahead; - id = (!this.context.strict && !isGenerator && this.matchKeyword('yield')) ? this.parseIdentifierName() : this.parseVariableIdentifier(); - if (this.context.strict) { - if (this.scanner.isRestrictedWord(token.value)) { - this.tolerateUnexpectedToken(token, messages_1.Messages.StrictFunctionName); - } - } - else { - if (this.scanner.isRestrictedWord(token.value)) { - firstRestricted = token; - message = messages_1.Messages.StrictFunctionName; - } - else if (this.scanner.isStrictModeReservedWord(token.value)) { - firstRestricted = token; - message = messages_1.Messages.StrictReservedWord; - } - } - } - var formalParameters = this.parseFormalParameters(firstRestricted); - var params = formalParameters.params; - var stricted = formalParameters.stricted; - firstRestricted = formalParameters.firstRestricted; - if (formalParameters.message) { - message = formalParameters.message; - } - var previousStrict = this.context.strict; - var previousAllowStrictDirective = this.context.allowStrictDirective; - this.context.allowStrictDirective = formalParameters.simple; - var body = this.parseFunctionSourceElements(); - if (this.context.strict && firstRestricted) { - this.throwUnexpectedToken(firstRestricted, message); - } - if (this.context.strict && stricted) { - this.tolerateUnexpectedToken(stricted, message); - } - this.context.strict = previousStrict; - this.context.allowStrictDirective = previousAllowStrictDirective; - this.context.await = previousAllowAwait; - this.context.allowYield = previousAllowYield; - return isAsync ? this.finalize(node, new Node.AsyncFunctionExpression(id, params, body)) : - this.finalize(node, new Node.FunctionExpression(id, params, body, isGenerator)); - }; - // https://tc39.github.io/ecma262/#sec-directive-prologues-and-the-use-strict-directive - Parser.prototype.parseDirective = function () { - var token = this.lookahead; - var node = this.createNode(); - var expr = this.parseExpression(); - var directive = (expr.type === syntax_1.Syntax.Literal) ? this.getTokenRaw(token).slice(1, -1) : null; - this.consumeSemicolon(); - return this.finalize(node, directive ? new Node.Directive(expr, directive) : new Node.ExpressionStatement(expr)); - }; - Parser.prototype.parseDirectivePrologues = function () { - var firstRestricted = null; - var body = []; - while (true) { - var token = this.lookahead; - if (token.type !== 8 /* StringLiteral */) { - break; - } - var statement = this.parseDirective(); - body.push(statement); - var directive = statement.directive; - if (typeof directive !== 'string') { - break; - } - if (directive === 'use strict') { - this.context.strict = true; - if (firstRestricted) { - this.tolerateUnexpectedToken(firstRestricted, messages_1.Messages.StrictOctalLiteral); - } - if (!this.context.allowStrictDirective) { - this.tolerateUnexpectedToken(token, messages_1.Messages.IllegalLanguageModeDirective); - } - } - else { - if (!firstRestricted && token.octal) { - firstRestricted = token; - } - } - } - return body; - }; - // https://tc39.github.io/ecma262/#sec-method-definitions - Parser.prototype.qualifiedPropertyName = function (token) { - switch (token.type) { - case 3 /* Identifier */: - case 8 /* StringLiteral */: - case 1 /* BooleanLiteral */: - case 5 /* NullLiteral */: - case 6 /* NumericLiteral */: - case 4 /* Keyword */: - return true; - case 7 /* Punctuator */: - return token.value === '['; - default: - break; - } - return false; - }; - Parser.prototype.parseGetterMethod = function () { - var node = this.createNode(); - var isGenerator = false; - var previousAllowYield = this.context.allowYield; - this.context.allowYield = !isGenerator; - var formalParameters = this.parseFormalParameters(); - if (formalParameters.params.length > 0) { - this.tolerateError(messages_1.Messages.BadGetterArity); - } - var method = this.parsePropertyMethod(formalParameters); - this.context.allowYield = previousAllowYield; - return this.finalize(node, new Node.FunctionExpression(null, formalParameters.params, method, isGenerator)); - }; - Parser.prototype.parseSetterMethod = function () { - var node = this.createNode(); - var isGenerator = false; - var previousAllowYield = this.context.allowYield; - this.context.allowYield = !isGenerator; - var formalParameters = this.parseFormalParameters(); - if (formalParameters.params.length !== 1) { - this.tolerateError(messages_1.Messages.BadSetterArity); - } - else if (formalParameters.params[0] instanceof Node.RestElement) { - this.tolerateError(messages_1.Messages.BadSetterRestParameter); - } - var method = this.parsePropertyMethod(formalParameters); - this.context.allowYield = previousAllowYield; - return this.finalize(node, new Node.FunctionExpression(null, formalParameters.params, method, isGenerator)); - }; - Parser.prototype.parseGeneratorMethod = function () { - var node = this.createNode(); - var isGenerator = true; - var previousAllowYield = this.context.allowYield; - this.context.allowYield = true; - var params = this.parseFormalParameters(); - this.context.allowYield = false; - var method = this.parsePropertyMethod(params); - this.context.allowYield = previousAllowYield; - return this.finalize(node, new Node.FunctionExpression(null, params.params, method, isGenerator)); - }; - // https://tc39.github.io/ecma262/#sec-generator-function-definitions - Parser.prototype.isStartOfExpression = function () { - var start = true; - var value = this.lookahead.value; - switch (this.lookahead.type) { - case 7 /* Punctuator */: - start = (value === '[') || (value === '(') || (value === '{') || - (value === '+') || (value === '-') || - (value === '!') || (value === '~') || - (value === '++') || (value === '--') || - (value === '/') || (value === '/='); // regular expression literal - break; - case 4 /* Keyword */: - start = (value === 'class') || (value === 'delete') || - (value === 'function') || (value === 'let') || (value === 'new') || - (value === 'super') || (value === 'this') || (value === 'typeof') || - (value === 'void') || (value === 'yield'); - break; - default: - break; - } - return start; - }; - Parser.prototype.parseYieldExpression = function () { - var node = this.createNode(); - this.expectKeyword('yield'); - var argument = null; - var delegate = false; - if (!this.hasLineTerminator) { - var previousAllowYield = this.context.allowYield; - this.context.allowYield = false; - delegate = this.match('*'); - if (delegate) { - this.nextToken(); - argument = this.parseAssignmentExpression(); - } - else if (this.isStartOfExpression()) { - argument = this.parseAssignmentExpression(); - } - this.context.allowYield = previousAllowYield; - } - return this.finalize(node, new Node.YieldExpression(argument, delegate)); - }; - // https://tc39.github.io/ecma262/#sec-class-definitions - Parser.prototype.parseClassElement = function (hasConstructor) { - var token = this.lookahead; - var node = this.createNode(); - var kind = ''; - var key = null; - var value = null; - var computed = false; - var method = false; - var isStatic = false; - var isAsync = false; - if (this.match('*')) { - this.nextToken(); - } - else { - computed = this.match('['); - key = this.parseObjectPropertyKey(); - var id = key; - if (id.name === 'static' && (this.qualifiedPropertyName(this.lookahead) || this.match('*'))) { - token = this.lookahead; - isStatic = true; - computed = this.match('['); - if (this.match('*')) { - this.nextToken(); - } - else { - key = this.parseObjectPropertyKey(); - } - } - if ((token.type === 3 /* Identifier */) && !this.hasLineTerminator && (token.value === 'async')) { - var punctuator = this.lookahead.value; - if (punctuator !== ':' && punctuator !== '(' && punctuator !== '*') { - isAsync = true; - token = this.lookahead; - key = this.parseObjectPropertyKey(); - if (token.type === 3 /* Identifier */ && token.value === 'constructor') { - this.tolerateUnexpectedToken(token, messages_1.Messages.ConstructorIsAsync); - } - } - } - } - var lookaheadPropertyKey = this.qualifiedPropertyName(this.lookahead); - if (token.type === 3 /* Identifier */) { - if (token.value === 'get' && lookaheadPropertyKey) { - kind = 'get'; - computed = this.match('['); - key = this.parseObjectPropertyKey(); - this.context.allowYield = false; - value = this.parseGetterMethod(); - } - else if (token.value === 'set' && lookaheadPropertyKey) { - kind = 'set'; - computed = this.match('['); - key = this.parseObjectPropertyKey(); - value = this.parseSetterMethod(); - } - } - else if (token.type === 7 /* Punctuator */ && token.value === '*' && lookaheadPropertyKey) { - kind = 'init'; - computed = this.match('['); - key = this.parseObjectPropertyKey(); - value = this.parseGeneratorMethod(); - method = true; - } - if (!kind && key && this.match('(')) { - kind = 'init'; - value = isAsync ? this.parsePropertyMethodAsyncFunction() : this.parsePropertyMethodFunction(); - method = true; - } - if (!kind) { - this.throwUnexpectedToken(this.lookahead); - } - if (kind === 'init') { - kind = 'method'; - } - if (!computed) { - if (isStatic && this.isPropertyKey(key, 'prototype')) { - this.throwUnexpectedToken(token, messages_1.Messages.StaticPrototype); - } - if (!isStatic && this.isPropertyKey(key, 'constructor')) { - if (kind !== 'method' || !method || (value && value.generator)) { - this.throwUnexpectedToken(token, messages_1.Messages.ConstructorSpecialMethod); - } - if (hasConstructor.value) { - this.throwUnexpectedToken(token, messages_1.Messages.DuplicateConstructor); - } - else { - hasConstructor.value = true; - } - kind = 'constructor'; - } - } - return this.finalize(node, new Node.MethodDefinition(key, computed, value, kind, isStatic)); - }; - Parser.prototype.parseClassElementList = function () { - var body = []; - var hasConstructor = { value: false }; - this.expect('{'); - while (!this.match('}')) { - if (this.match(';')) { - this.nextToken(); - } - else { - body.push(this.parseClassElement(hasConstructor)); - } - } - this.expect('}'); - return body; - }; - Parser.prototype.parseClassBody = function () { - var node = this.createNode(); - var elementList = this.parseClassElementList(); - return this.finalize(node, new Node.ClassBody(elementList)); - }; - Parser.prototype.parseClassDeclaration = function (identifierIsOptional) { - var node = this.createNode(); - var previousStrict = this.context.strict; - this.context.strict = true; - this.expectKeyword('class'); - var id = (identifierIsOptional && (this.lookahead.type !== 3 /* Identifier */)) ? null : this.parseVariableIdentifier(); - var superClass = null; - if (this.matchKeyword('extends')) { - this.nextToken(); - superClass = this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall); - } - var classBody = this.parseClassBody(); - this.context.strict = previousStrict; - return this.finalize(node, new Node.ClassDeclaration(id, superClass, classBody)); - }; - Parser.prototype.parseClassExpression = function () { - var node = this.createNode(); - var previousStrict = this.context.strict; - this.context.strict = true; - this.expectKeyword('class'); - var id = (this.lookahead.type === 3 /* Identifier */) ? this.parseVariableIdentifier() : null; - var superClass = null; - if (this.matchKeyword('extends')) { - this.nextToken(); - superClass = this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall); - } - var classBody = this.parseClassBody(); - this.context.strict = previousStrict; - return this.finalize(node, new Node.ClassExpression(id, superClass, classBody)); - }; - // https://tc39.github.io/ecma262/#sec-scripts - // https://tc39.github.io/ecma262/#sec-modules - Parser.prototype.parseModule = function () { - this.context.strict = true; - this.context.isModule = true; - this.scanner.isModule = true; - var node = this.createNode(); - var body = this.parseDirectivePrologues(); - while (this.lookahead.type !== 2 /* EOF */) { - body.push(this.parseStatementListItem()); - } - return this.finalize(node, new Node.Module(body)); - }; - Parser.prototype.parseScript = function () { - var node = this.createNode(); - var body = this.parseDirectivePrologues(); - while (this.lookahead.type !== 2 /* EOF */) { - body.push(this.parseStatementListItem()); - } - return this.finalize(node, new Node.Script(body)); - }; - // https://tc39.github.io/ecma262/#sec-imports - Parser.prototype.parseModuleSpecifier = function () { - var node = this.createNode(); - if (this.lookahead.type !== 8 /* StringLiteral */) { - this.throwError(messages_1.Messages.InvalidModuleSpecifier); - } - var token = this.nextToken(); - var raw = this.getTokenRaw(token); - return this.finalize(node, new Node.Literal(token.value, raw)); - }; - // import {} ...; - Parser.prototype.parseImportSpecifier = function () { - var node = this.createNode(); - var imported; - var local; - if (this.lookahead.type === 3 /* Identifier */) { - imported = this.parseVariableIdentifier(); - local = imported; - if (this.matchContextualKeyword('as')) { - this.nextToken(); - local = this.parseVariableIdentifier(); - } - } - else { - imported = this.parseIdentifierName(); - local = imported; - if (this.matchContextualKeyword('as')) { - this.nextToken(); - local = this.parseVariableIdentifier(); - } - else { - this.throwUnexpectedToken(this.nextToken()); - } - } - return this.finalize(node, new Node.ImportSpecifier(local, imported)); - }; - // {foo, bar as bas} - Parser.prototype.parseNamedImports = function () { - this.expect('{'); - var specifiers = []; - while (!this.match('}')) { - specifiers.push(this.parseImportSpecifier()); - if (!this.match('}')) { - this.expect(','); - } - } - this.expect('}'); - return specifiers; - }; - // import ...; - Parser.prototype.parseImportDefaultSpecifier = function () { - var node = this.createNode(); - var local = this.parseIdentifierName(); - return this.finalize(node, new Node.ImportDefaultSpecifier(local)); - }; - // import <* as foo> ...; - Parser.prototype.parseImportNamespaceSpecifier = function () { - var node = this.createNode(); - this.expect('*'); - if (!this.matchContextualKeyword('as')) { - this.throwError(messages_1.Messages.NoAsAfterImportNamespace); - } - this.nextToken(); - var local = this.parseIdentifierName(); - return this.finalize(node, new Node.ImportNamespaceSpecifier(local)); - }; - Parser.prototype.parseImportDeclaration = function () { - if (this.context.inFunctionBody) { - this.throwError(messages_1.Messages.IllegalImportDeclaration); - } - var node = this.createNode(); - this.expectKeyword('import'); - var src; - var specifiers = []; - if (this.lookahead.type === 8 /* StringLiteral */) { - // import 'foo'; - src = this.parseModuleSpecifier(); - } - else { - if (this.match('{')) { - // import {bar} - specifiers = specifiers.concat(this.parseNamedImports()); - } - else if (this.match('*')) { - // import * as foo - specifiers.push(this.parseImportNamespaceSpecifier()); - } - else if (this.isIdentifierName(this.lookahead) && !this.matchKeyword('default')) { - // import foo - specifiers.push(this.parseImportDefaultSpecifier()); - if (this.match(',')) { - this.nextToken(); - if (this.match('*')) { - // import foo, * as foo - specifiers.push(this.parseImportNamespaceSpecifier()); - } - else if (this.match('{')) { - // import foo, {bar} - specifiers = specifiers.concat(this.parseNamedImports()); - } - else { - this.throwUnexpectedToken(this.lookahead); - } - } - } - else { - this.throwUnexpectedToken(this.nextToken()); - } - if (!this.matchContextualKeyword('from')) { - var message = this.lookahead.value ? messages_1.Messages.UnexpectedToken : messages_1.Messages.MissingFromClause; - this.throwError(message, this.lookahead.value); - } - this.nextToken(); - src = this.parseModuleSpecifier(); - } - this.consumeSemicolon(); - return this.finalize(node, new Node.ImportDeclaration(specifiers, src)); - }; - // https://tc39.github.io/ecma262/#sec-exports - Parser.prototype.parseExportSpecifier = function () { - var node = this.createNode(); - var local = this.parseIdentifierName(); - var exported = local; - if (this.matchContextualKeyword('as')) { - this.nextToken(); - exported = this.parseIdentifierName(); - } - return this.finalize(node, new Node.ExportSpecifier(local, exported)); - }; - Parser.prototype.parseExportDeclaration = function () { - if (this.context.inFunctionBody) { - this.throwError(messages_1.Messages.IllegalExportDeclaration); - } - var node = this.createNode(); - this.expectKeyword('export'); - var exportDeclaration; - if (this.matchKeyword('default')) { - // export default ... - this.nextToken(); - if (this.matchKeyword('function')) { - // export default function foo () {} - // export default function () {} - var declaration = this.parseFunctionDeclaration(true); - exportDeclaration = this.finalize(node, new Node.ExportDefaultDeclaration(declaration)); - } - else if (this.matchKeyword('class')) { - // export default class foo {} - var declaration = this.parseClassDeclaration(true); - exportDeclaration = this.finalize(node, new Node.ExportDefaultDeclaration(declaration)); - } - else if (this.matchContextualKeyword('async')) { - // export default async function f () {} - // export default async function () {} - // export default async x => x - var declaration = this.matchAsyncFunction() ? this.parseFunctionDeclaration(true) : this.parseAssignmentExpression(); - exportDeclaration = this.finalize(node, new Node.ExportDefaultDeclaration(declaration)); - } - else { - if (this.matchContextualKeyword('from')) { - this.throwError(messages_1.Messages.UnexpectedToken, this.lookahead.value); - } - // export default {}; - // export default []; - // export default (1 + 2); - var declaration = this.match('{') ? this.parseObjectInitializer() : - this.match('[') ? this.parseArrayInitializer() : this.parseAssignmentExpression(); - this.consumeSemicolon(); - exportDeclaration = this.finalize(node, new Node.ExportDefaultDeclaration(declaration)); - } - } - else if (this.match('*')) { - // export * from 'foo'; - this.nextToken(); - if (!this.matchContextualKeyword('from')) { - var message = this.lookahead.value ? messages_1.Messages.UnexpectedToken : messages_1.Messages.MissingFromClause; - this.throwError(message, this.lookahead.value); - } - this.nextToken(); - var src = this.parseModuleSpecifier(); - this.consumeSemicolon(); - exportDeclaration = this.finalize(node, new Node.ExportAllDeclaration(src)); - } - else if (this.lookahead.type === 4 /* Keyword */) { - // export var f = 1; - var declaration = void 0; - switch (this.lookahead.value) { - case 'let': - case 'const': - declaration = this.parseLexicalDeclaration({ inFor: false }); - break; - case 'var': - case 'class': - case 'function': - declaration = this.parseStatementListItem(); - break; - default: - this.throwUnexpectedToken(this.lookahead); - } - exportDeclaration = this.finalize(node, new Node.ExportNamedDeclaration(declaration, [], null)); - } - else if (this.matchAsyncFunction()) { - var declaration = this.parseFunctionDeclaration(); - exportDeclaration = this.finalize(node, new Node.ExportNamedDeclaration(declaration, [], null)); - } - else { - var specifiers = []; - var source = null; - var isExportFromIdentifier = false; - this.expect('{'); - while (!this.match('}')) { - isExportFromIdentifier = isExportFromIdentifier || this.matchKeyword('default'); - specifiers.push(this.parseExportSpecifier()); - if (!this.match('}')) { - this.expect(','); - } - } - this.expect('}'); - if (this.matchContextualKeyword('from')) { - // export {default} from 'foo'; - // export {foo} from 'foo'; - this.nextToken(); - source = this.parseModuleSpecifier(); - this.consumeSemicolon(); - } - else if (isExportFromIdentifier) { - // export {default}; // missing fromClause - var message = this.lookahead.value ? messages_1.Messages.UnexpectedToken : messages_1.Messages.MissingFromClause; - this.throwError(message, this.lookahead.value); - } - else { - // export {foo}; - this.consumeSemicolon(); - } - exportDeclaration = this.finalize(node, new Node.ExportNamedDeclaration(null, specifiers, source)); - } - return exportDeclaration; - }; - return Parser; - }()); - exports.Parser = Parser; - - -/***/ }, -/* 9 */ -/***/ function(module, exports) { - - "use strict"; - // Ensure the condition is true, otherwise throw an error. - // This is only to have a better contract semantic, i.e. another safety net - // to catch a logic error. The condition shall be fulfilled in normal case. - // Do NOT use this to enforce a certain condition on any user input. - Object.defineProperty(exports, "__esModule", { value: true }); - function assert(condition, message) { - /* istanbul ignore if */ - if (!condition) { - throw new Error('ASSERT: ' + message); - } - } - exports.assert = assert; - - -/***/ }, -/* 10 */ -/***/ function(module, exports) { - - "use strict"; - /* tslint:disable:max-classes-per-file */ - Object.defineProperty(exports, "__esModule", { value: true }); - var ErrorHandler = (function () { - function ErrorHandler() { - this.errors = []; - this.tolerant = false; - } - ErrorHandler.prototype.recordError = function (error) { - this.errors.push(error); - }; - ErrorHandler.prototype.tolerate = function (error) { - if (this.tolerant) { - this.recordError(error); - } - else { - throw error; - } - }; - ErrorHandler.prototype.constructError = function (msg, column) { - var error = new Error(msg); - try { - throw error; - } - catch (base) { - /* istanbul ignore else */ - if (Object.create && Object.defineProperty) { - error = Object.create(base); - Object.defineProperty(error, 'column', { value: column }); - } - } - /* istanbul ignore next */ - return error; - }; - ErrorHandler.prototype.createError = function (index, line, col, description) { - var msg = 'Line ' + line + ': ' + description; - var error = this.constructError(msg, col); - error.index = index; - error.lineNumber = line; - error.description = description; - return error; - }; - ErrorHandler.prototype.throwError = function (index, line, col, description) { - throw this.createError(index, line, col, description); - }; - ErrorHandler.prototype.tolerateError = function (index, line, col, description) { - var error = this.createError(index, line, col, description); - if (this.tolerant) { - this.recordError(error); - } - else { - throw error; - } - }; - return ErrorHandler; - }()); - exports.ErrorHandler = ErrorHandler; - - -/***/ }, -/* 11 */ -/***/ function(module, exports) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - // Error messages should be identical to V8. - exports.Messages = { - BadGetterArity: 'Getter must not have any formal parameters', - BadSetterArity: 'Setter must have exactly one formal parameter', - BadSetterRestParameter: 'Setter function argument must not be a rest parameter', - ConstructorIsAsync: 'Class constructor may not be an async method', - ConstructorSpecialMethod: 'Class constructor may not be an accessor', - DeclarationMissingInitializer: 'Missing initializer in %0 declaration', - DefaultRestParameter: 'Unexpected token =', - DuplicateBinding: 'Duplicate binding %0', - DuplicateConstructor: 'A class may only have one constructor', - DuplicateProtoProperty: 'Duplicate __proto__ fields are not allowed in object literals', - ForInOfLoopInitializer: '%0 loop variable declaration may not have an initializer', - GeneratorInLegacyContext: 'Generator declarations are not allowed in legacy contexts', - IllegalBreak: 'Illegal break statement', - IllegalContinue: 'Illegal continue statement', - IllegalExportDeclaration: 'Unexpected token', - IllegalImportDeclaration: 'Unexpected token', - IllegalLanguageModeDirective: 'Illegal \'use strict\' directive in function with non-simple parameter list', - IllegalReturn: 'Illegal return statement', - InvalidEscapedReservedWord: 'Keyword must not contain escaped characters', - InvalidHexEscapeSequence: 'Invalid hexadecimal escape sequence', - InvalidLHSInAssignment: 'Invalid left-hand side in assignment', - InvalidLHSInForIn: 'Invalid left-hand side in for-in', - InvalidLHSInForLoop: 'Invalid left-hand side in for-loop', - InvalidModuleSpecifier: 'Unexpected token', - InvalidRegExp: 'Invalid regular expression', - LetInLexicalBinding: 'let is disallowed as a lexically bound name', - MissingFromClause: 'Unexpected token', - MultipleDefaultsInSwitch: 'More than one default clause in switch statement', - NewlineAfterThrow: 'Illegal newline after throw', - NoAsAfterImportNamespace: 'Unexpected token', - NoCatchOrFinally: 'Missing catch or finally after try', - ParameterAfterRestParameter: 'Rest parameter must be last formal parameter', - Redeclaration: '%0 \'%1\' has already been declared', - StaticPrototype: 'Classes may not have static property named prototype', - StrictCatchVariable: 'Catch variable may not be eval or arguments in strict mode', - StrictDelete: 'Delete of an unqualified identifier in strict mode.', - StrictFunction: 'In strict mode code, functions can only be declared at top level or inside a block', - StrictFunctionName: 'Function name may not be eval or arguments in strict mode', - StrictLHSAssignment: 'Assignment to eval or arguments is not allowed in strict mode', - StrictLHSPostfix: 'Postfix increment/decrement may not have eval or arguments operand in strict mode', - StrictLHSPrefix: 'Prefix increment/decrement may not have eval or arguments operand in strict mode', - StrictModeWith: 'Strict mode code may not include a with statement', - StrictOctalLiteral: 'Octal literals are not allowed in strict mode.', - StrictParamDupe: 'Strict mode function may not have duplicate parameter names', - StrictParamName: 'Parameter name eval or arguments is not allowed in strict mode', - StrictReservedWord: 'Use of future reserved word in strict mode', - StrictVarName: 'Variable name may not be eval or arguments in strict mode', - TemplateOctalLiteral: 'Octal literals are not allowed in template strings.', - UnexpectedEOS: 'Unexpected end of input', - UnexpectedIdentifier: 'Unexpected identifier', - UnexpectedNumber: 'Unexpected number', - UnexpectedReserved: 'Unexpected reserved word', - UnexpectedString: 'Unexpected string', - UnexpectedTemplate: 'Unexpected quasi %0', - UnexpectedToken: 'Unexpected token %0', - UnexpectedTokenIllegal: 'Unexpected token ILLEGAL', - UnknownLabel: 'Undefined label \'%0\'', - UnterminatedRegExp: 'Invalid regular expression: missing /' - }; - - -/***/ }, -/* 12 */ -/***/ function(module, exports, __webpack_require__) { - - "use strict"; - Object.defineProperty(exports, "__esModule", { value: true }); - var assert_1 = __webpack_require__(9); - var character_1 = __webpack_require__(4); - var messages_1 = __webpack_require__(11); - function hexValue(ch) { - return '0123456789abcdef'.indexOf(ch.toLowerCase()); - } - function octalValue(ch) { - return '01234567'.indexOf(ch); - } - var Scanner = (function () { - function Scanner(code, handler) { - this.source = code; - this.errorHandler = handler; - this.trackComment = false; - this.isModule = false; - this.length = code.length; - this.index = 0; - this.lineNumber = (code.length > 0) ? 1 : 0; - this.lineStart = 0; - this.curlyStack = []; - } - Scanner.prototype.saveState = function () { - return { - index: this.index, - lineNumber: this.lineNumber, - lineStart: this.lineStart - }; - }; - Scanner.prototype.restoreState = function (state) { - this.index = state.index; - this.lineNumber = state.lineNumber; - this.lineStart = state.lineStart; - }; - Scanner.prototype.eof = function () { - return this.index >= this.length; - }; - Scanner.prototype.throwUnexpectedToken = function (message) { - if (message === void 0) { message = messages_1.Messages.UnexpectedTokenIllegal; } - return this.errorHandler.throwError(this.index, this.lineNumber, this.index - this.lineStart + 1, message); - }; - Scanner.prototype.tolerateUnexpectedToken = function (message) { - if (message === void 0) { message = messages_1.Messages.UnexpectedTokenIllegal; } - this.errorHandler.tolerateError(this.index, this.lineNumber, this.index - this.lineStart + 1, message); - }; - // https://tc39.github.io/ecma262/#sec-comments - Scanner.prototype.skipSingleLineComment = function (offset) { - var comments = []; - var start, loc; - if (this.trackComment) { - comments = []; - start = this.index - offset; - loc = { - start: { - line: this.lineNumber, - column: this.index - this.lineStart - offset - }, - end: {} - }; - } - while (!this.eof()) { - var ch = this.source.charCodeAt(this.index); - ++this.index; - if (character_1.Character.isLineTerminator(ch)) { - if (this.trackComment) { - loc.end = { - line: this.lineNumber, - column: this.index - this.lineStart - 1 - }; - var entry = { - multiLine: false, - slice: [start + offset, this.index - 1], - range: [start, this.index - 1], - loc: loc - }; - comments.push(entry); - } - if (ch === 13 && this.source.charCodeAt(this.index) === 10) { - ++this.index; - } - ++this.lineNumber; - this.lineStart = this.index; - return comments; - } - } - if (this.trackComment) { - loc.end = { - line: this.lineNumber, - column: this.index - this.lineStart - }; - var entry = { - multiLine: false, - slice: [start + offset, this.index], - range: [start, this.index], - loc: loc - }; - comments.push(entry); - } - return comments; - }; - Scanner.prototype.skipMultiLineComment = function () { - var comments = []; - var start, loc; - if (this.trackComment) { - comments = []; - start = this.index - 2; - loc = { - start: { - line: this.lineNumber, - column: this.index - this.lineStart - 2 - }, - end: {} - }; - } - while (!this.eof()) { - var ch = this.source.charCodeAt(this.index); - if (character_1.Character.isLineTerminator(ch)) { - if (ch === 0x0D && this.source.charCodeAt(this.index + 1) === 0x0A) { - ++this.index; - } - ++this.lineNumber; - ++this.index; - this.lineStart = this.index; - } - else if (ch === 0x2A) { - // Block comment ends with '*/'. - if (this.source.charCodeAt(this.index + 1) === 0x2F) { - this.index += 2; - if (this.trackComment) { - loc.end = { - line: this.lineNumber, - column: this.index - this.lineStart - }; - var entry = { - multiLine: true, - slice: [start + 2, this.index - 2], - range: [start, this.index], - loc: loc - }; - comments.push(entry); - } - return comments; - } - ++this.index; - } - else { - ++this.index; - } - } - // Ran off the end of the file - the whole thing is a comment - if (this.trackComment) { - loc.end = { - line: this.lineNumber, - column: this.index - this.lineStart - }; - var entry = { - multiLine: true, - slice: [start + 2, this.index], - range: [start, this.index], - loc: loc - }; - comments.push(entry); - } - this.tolerateUnexpectedToken(); - return comments; - }; - Scanner.prototype.scanComments = function () { - var comments; - if (this.trackComment) { - comments = []; - } - var start = (this.index === 0); - while (!this.eof()) { - var ch = this.source.charCodeAt(this.index); - if (character_1.Character.isWhiteSpace(ch)) { - ++this.index; - } - else if (character_1.Character.isLineTerminator(ch)) { - ++this.index; - if (ch === 0x0D && this.source.charCodeAt(this.index) === 0x0A) { - ++this.index; - } - ++this.lineNumber; - this.lineStart = this.index; - start = true; - } - else if (ch === 0x2F) { - ch = this.source.charCodeAt(this.index + 1); - if (ch === 0x2F) { - this.index += 2; - var comment = this.skipSingleLineComment(2); - if (this.trackComment) { - comments = comments.concat(comment); - } - start = true; - } - else if (ch === 0x2A) { - this.index += 2; - var comment = this.skipMultiLineComment(); - if (this.trackComment) { - comments = comments.concat(comment); - } - } - else { - break; - } - } - else if (start && ch === 0x2D) { - // U+003E is '>' - if ((this.source.charCodeAt(this.index + 1) === 0x2D) && (this.source.charCodeAt(this.index + 2) === 0x3E)) { - // '-->' is a single-line comment - this.index += 3; - var comment = this.skipSingleLineComment(3); - if (this.trackComment) { - comments = comments.concat(comment); - } - } - else { - break; - } - } - else if (ch === 0x3C && !this.isModule) { - if (this.source.slice(this.index + 1, this.index + 4) === '!--') { - this.index += 4; // ` - - - - - - - -

ehmicky

💻 🎨 🤔 📖

electrovir

💻
- - - - - diff --git a/lambdas/risk-engine/node_modules/human-signals/build/src/core.js b/lambdas/risk-engine/node_modules/human-signals/build/src/core.js deleted file mode 100644 index 98e8fced..00000000 --- a/lambdas/risk-engine/node_modules/human-signals/build/src/core.js +++ /dev/null @@ -1,273 +0,0 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SIGNALS=void 0; - -const SIGNALS=[ -{ -name:"SIGHUP", -number:1, -action:"terminate", -description:"Terminal closed", -standard:"posix"}, - -{ -name:"SIGINT", -number:2, -action:"terminate", -description:"User interruption with CTRL-C", -standard:"ansi"}, - -{ -name:"SIGQUIT", -number:3, -action:"core", -description:"User interruption with CTRL-\\", -standard:"posix"}, - -{ -name:"SIGILL", -number:4, -action:"core", -description:"Invalid machine instruction", -standard:"ansi"}, - -{ -name:"SIGTRAP", -number:5, -action:"core", -description:"Debugger breakpoint", -standard:"posix"}, - -{ -name:"SIGABRT", -number:6, -action:"core", -description:"Aborted", -standard:"ansi"}, - -{ -name:"SIGIOT", -number:6, -action:"core", -description:"Aborted", -standard:"bsd"}, - -{ -name:"SIGBUS", -number:7, -action:"core", -description: -"Bus error due to misaligned, non-existing address or paging error", -standard:"bsd"}, - -{ -name:"SIGEMT", -number:7, -action:"terminate", -description:"Command should be emulated but is not implemented", -standard:"other"}, - -{ -name:"SIGFPE", -number:8, -action:"core", -description:"Floating point arithmetic error", -standard:"ansi"}, - -{ -name:"SIGKILL", -number:9, -action:"terminate", -description:"Forced termination", -standard:"posix", -forced:true}, - -{ -name:"SIGUSR1", -number:10, -action:"terminate", -description:"Application-specific signal", -standard:"posix"}, - -{ -name:"SIGSEGV", -number:11, -action:"core", -description:"Segmentation fault", -standard:"ansi"}, - -{ -name:"SIGUSR2", -number:12, -action:"terminate", -description:"Application-specific signal", -standard:"posix"}, - -{ -name:"SIGPIPE", -number:13, -action:"terminate", -description:"Broken pipe or socket", -standard:"posix"}, - -{ -name:"SIGALRM", -number:14, -action:"terminate", -description:"Timeout or timer", -standard:"posix"}, - -{ -name:"SIGTERM", -number:15, -action:"terminate", -description:"Termination", -standard:"ansi"}, - -{ -name:"SIGSTKFLT", -number:16, -action:"terminate", -description:"Stack is empty or overflowed", -standard:"other"}, - -{ -name:"SIGCHLD", -number:17, -action:"ignore", -description:"Child process terminated, paused or unpaused", -standard:"posix"}, - -{ -name:"SIGCLD", -number:17, -action:"ignore", -description:"Child process terminated, paused or unpaused", -standard:"other"}, - -{ -name:"SIGCONT", -number:18, -action:"unpause", -description:"Unpaused", -standard:"posix", -forced:true}, - -{ -name:"SIGSTOP", -number:19, -action:"pause", -description:"Paused", -standard:"posix", -forced:true}, - -{ -name:"SIGTSTP", -number:20, -action:"pause", -description:"Paused using CTRL-Z or \"suspend\"", -standard:"posix"}, - -{ -name:"SIGTTIN", -number:21, -action:"pause", -description:"Background process cannot read terminal input", -standard:"posix"}, - -{ -name:"SIGBREAK", -number:21, -action:"terminate", -description:"User interruption with CTRL-BREAK", -standard:"other"}, - -{ -name:"SIGTTOU", -number:22, -action:"pause", -description:"Background process cannot write to terminal output", -standard:"posix"}, - -{ -name:"SIGURG", -number:23, -action:"ignore", -description:"Socket received out-of-band data", -standard:"bsd"}, - -{ -name:"SIGXCPU", -number:24, -action:"core", -description:"Process timed out", -standard:"bsd"}, - -{ -name:"SIGXFSZ", -number:25, -action:"core", -description:"File too big", -standard:"bsd"}, - -{ -name:"SIGVTALRM", -number:26, -action:"terminate", -description:"Timeout or timer", -standard:"bsd"}, - -{ -name:"SIGPROF", -number:27, -action:"terminate", -description:"Timeout or timer", -standard:"bsd"}, - -{ -name:"SIGWINCH", -number:28, -action:"ignore", -description:"Terminal window size changed", -standard:"bsd"}, - -{ -name:"SIGIO", -number:29, -action:"terminate", -description:"I/O is available", -standard:"other"}, - -{ -name:"SIGPOLL", -number:29, -action:"terminate", -description:"Watched event", -standard:"other"}, - -{ -name:"SIGINFO", -number:29, -action:"ignore", -description:"Request for process information", -standard:"other"}, - -{ -name:"SIGPWR", -number:30, -action:"terminate", -description:"Device running out of power", -standard:"systemv"}, - -{ -name:"SIGSYS", -number:31, -action:"core", -description:"Invalid system call", -standard:"other"}, - -{ -name:"SIGUNUSED", -number:31, -action:"terminate", -description:"Invalid system call", -standard:"other"}];exports.SIGNALS=SIGNALS; -//# sourceMappingURL=core.js.map \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/human-signals/build/src/core.js.map b/lambdas/risk-engine/node_modules/human-signals/build/src/core.js.map deleted file mode 100644 index cbfce26d..00000000 --- a/lambdas/risk-engine/node_modules/human-signals/build/src/core.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/core.js"],"names":["SIGNALS","name","number","action","description","standard","forced"],"mappings":";;AAEO,KAAMA,CAAAA,OAAO,CAAG;AACrB;AACEC,IAAI,CAAE,QADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,iBAJf;AAKEC,QAAQ,CAAE,OALZ,CADqB;;AAQrB;AACEJ,IAAI,CAAE,QADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,WAHV;AAIEC,WAAW,CAAE,+BAJf;AAKEC,QAAQ,CAAE,MALZ,CARqB;;AAerB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,MAHV;AAIEC,WAAW,CAAE,gCAJf;AAKEC,QAAQ,CAAE,OALZ,CAfqB;;AAsBrB;AACEJ,IAAI,CAAE,QADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,MAHV;AAIEC,WAAW,CAAE,6BAJf;AAKEC,QAAQ,CAAE,MALZ,CAtBqB;;AA6BrB;AACEJ,IAAI,CAAE,SADR;AAEEC,MAAM,CAAE,CAFV;AAGEC,MAAM,CAAE,MAHV;AAIEC,WAAW,CAAE,qBAJf;AAKEC,QAAQ,CAAE,OAL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NALS = [\n {\n name: 'SIGHUP',\n number: 1,\n action: 'terminate',\n description: 'Terminal closed',\n standard: 'posix',\n },\n {\n name: 'SIGINT',\n number: 2,\n action: 'terminate',\n description: 'User interruption with CTRL-C',\n standard: 'ansi',\n },\n {\n name: 'SIGQUIT',\n number: 3,\n action: 'core',\n description: 'User interruption with CTRL-\\\\',\n standard: 'posix',\n },\n {\n name: 'SIGILL',\n number: 4,\n action: 'core',\n description: 'Invalid machine instruction',\n standard: 'ansi',\n },\n {\n name: 'SIGTRAP',\n number: 5,\n action: 'core',\n description: 'Debugger breakpoint',\n standard: 'posix',\n },\n {\n name: 'SIGABRT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'ansi',\n },\n {\n name: 'SIGIOT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'bsd',\n },\n {\n name: 'SIGBUS',\n number: 7,\n action: 'core',\n description:\n 'Bus error due to misaligned, non-existing address or paging error',\n standard: 'bsd',\n },\n {\n name: 'SIGEMT',\n number: 7,\n action: 'terminate',\n description: 'Command should be emulated but is not implemented',\n standard: 'other',\n },\n {\n name: 'SIGFPE',\n number: 8,\n action: 'core',\n description: 'Floating point arithmetic error',\n standard: 'ansi',\n },\n {\n name: 'SIGKILL',\n number: 9,\n action: 'terminate',\n description: 'Forced termination',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGUSR1',\n number: 10,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGSEGV',\n number: 11,\n action: 'core',\n description: 'Segmentation fault',\n standard: 'ansi',\n },\n {\n name: 'SIGUSR2',\n number: 12,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGPIPE',\n number: 13,\n action: 'terminate',\n description: 'Broken pipe or socket',\n standard: 'posix',\n },\n {\n name: 'SIGALRM',\n number: 14,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'posix',\n },\n {\n name: 'SIGTERM',\n number: 15,\n action: 'terminate',\n description: 'Termination',\n standard: 'ansi',\n },\n {\n name: 'SIGSTKFLT',\n number: 16,\n action: 'terminate',\n description: 'Stack is empty or overflowed',\n standard: 'other',\n },\n {\n name: 'SIGCHLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'posix',\n },\n {\n name: 'SIGCLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'other',\n },\n {\n name: 'SIGCONT',\n number: 18,\n action: 'unpause',\n description: 'Unpaused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGSTOP',\n number: 19,\n action: 'pause',\n description: 'Paused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGTSTP',\n number: 20,\n action: 'pause',\n description: 'Paused using CTRL-Z or \"suspend\"',\n standard: 'posix',\n },\n {\n name: 'SIGTTIN',\n number: 21,\n action: 'pause',\n description: 'Background process cannot read terminal input',\n standard: 'posix',\n },\n {\n name: 'SIGBREAK',\n number: 21,\n action: 'terminate',\n description: 'User interruption with CTRL-BREAK',\n standard: 'other',\n },\n {\n name: 'SIGTTOU',\n number: 22,\n action: 'pause',\n description: 'Background process cannot write to terminal output',\n standard: 'posix',\n },\n {\n name: 'SIGURG',\n number: 23,\n action: 'ignore',\n description: 'Socket received out-of-band data',\n standard: 'bsd',\n },\n {\n name: 'SIGXCPU',\n number: 24,\n action: 'core',\n description: 'Process timed out',\n standard: 'bsd',\n },\n {\n name: 'SIGXFSZ',\n number: 25,\n action: 'core',\n description: 'File too big',\n standard: 'bsd',\n },\n {\n name: 'SIGVTALRM',\n number: 26,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGPROF',\n number: 27,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGWINCH',\n number: 28,\n action: 'ignore',\n description: 'Terminal window size changed',\n standard: 'bsd',\n },\n {\n name: 'SIGIO',\n number: 29,\n action: 'terminate',\n description: 'I/O is available',\n standard: 'other',\n },\n {\n name: 'SIGPOLL',\n number: 29,\n action: 'terminate',\n description: 'Watched event',\n standard: 'other',\n },\n {\n name: 'SIGINFO',\n number: 29,\n action: 'ignore',\n description: 'Request for process information',\n standard: 'other',\n },\n {\n name: 'SIGPWR',\n number: 30,\n action: 'terminate',\n description: 'Device running out of power',\n standard: 'systemv',\n },\n {\n name: 'SIGSYS',\n number: 31,\n action: 'core',\n description: 'Invalid system call',\n standard: 'other',\n },\n {\n name: 'SIGUNUSED',\n number: 31,\n action: 'terminate',\n description: 'Invalid system call',\n standard: 'other',\n },\n]\n/* eslint-enable max-lines */\n"],"file":"src/core.js"} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/human-signals/build/src/main.d.ts b/lambdas/risk-engine/node_modules/human-signals/build/src/main.d.ts deleted file mode 100644 index 2dc5ea78..00000000 --- a/lambdas/risk-engine/node_modules/human-signals/build/src/main.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -/** - * Object whose keys are signal names and values are signal objects. - */ -export declare const signalsByName: { [signalName: string]: Signal } -/** - * Object whose keys are signal numbers and values are signal objects. - */ -export declare const signalsByNumber: { [signalNumber: string]: Signal } - -export declare type SignalAction = - | 'terminate' - | 'core' - | 'ignore' - | 'pause' - | 'unpause' -export declare type SignalStandard = - | 'ansi' - | 'posix' - | 'bsd' - | 'systemv' - | 'other' - -export declare type Signal = { - /** - * Standard name of the signal, for example 'SIGINT'. - */ - name: string - /** - * Code number of the signal, for example 2. While most number are cross-platform, some are different between different OS. - */ - number: number - /** - * Human-friendly description for the signal, for example 'User interruption with CTRL-C'. - */ - description: string - /** - * Whether the current OS can handle this signal in Node.js using process.on(name, handler). The list of supported signals is OS-specific. - */ - supported: boolean - /** - * What is the default action for this signal when it is not handled. - */ - action: SignalAction - /** - * Whether the signal's default action cannot be prevented. This is true for SIGTERM, SIGKILL and SIGSTOP. - */ - forced: boolean - /** - * Which standard defined that signal. - */ - standard: SignalStandard -} diff --git a/lambdas/risk-engine/node_modules/human-signals/build/src/main.js b/lambdas/risk-engine/node_modules/human-signals/build/src/main.js deleted file mode 100644 index 88f5fd29..00000000 --- a/lambdas/risk-engine/node_modules/human-signals/build/src/main.js +++ /dev/null @@ -1,71 +0,0 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.signalsByNumber=exports.signalsByName=void 0;var _os=require("os"); - -var _signals=require("./signals.js"); -var _realtime=require("./realtime.js"); - - - -const getSignalsByName=function(){ -const signals=(0,_signals.getSignals)(); -return signals.reduce(getSignalByName,{}); -}; - -const getSignalByName=function( -signalByNameMemo, -{name,number,description,supported,action,forced,standard}) -{ -return{ -...signalByNameMemo, -[name]:{name,number,description,supported,action,forced,standard}}; - -}; - -const signalsByName=getSignalsByName();exports.signalsByName=signalsByName; - - - - -const getSignalsByNumber=function(){ -const signals=(0,_signals.getSignals)(); -const length=_realtime.SIGRTMAX+1; -const signalsA=Array.from({length},(value,number)=> -getSignalByNumber(number,signals)); - -return Object.assign({},...signalsA); -}; - -const getSignalByNumber=function(number,signals){ -const signal=findSignalByNumber(number,signals); - -if(signal===undefined){ -return{}; -} - -const{name,description,supported,action,forced,standard}=signal; -return{ -[number]:{ -name, -number, -description, -supported, -action, -forced, -standard}}; - - -}; - - - -const findSignalByNumber=function(number,signals){ -const signal=signals.find(({name})=>_os.constants.signals[name]===number); - -if(signal!==undefined){ -return signal; -} - -return signals.find(signalA=>signalA.number===number); -}; - -const signalsByNumber=getSignalsByNumber();exports.signalsByNumber=signalsByNumber; -//# sourceMappingURL=main.js.map \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/human-signals/build/src/main.js.map b/lambdas/risk-engine/node_modules/human-signals/build/src/main.js.map deleted file mode 100644 index 3fdcede9..00000000 --- a/lambdas/risk-engine/node_modules/human-signals/build/src/main.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/main.js"],"names":["getSignalsByName","signals","reduce","getSignalByName","signalByNameMemo","name","number","description","supported","action","forced","standard","signalsByName","getSignalsByNumber","length","SIGRTMAX","signalsA","Array","from","value","getSignalByNumber","Object","assign","signal","findSignalByNumber","undefined","find","constants","signalA","signalsByNumber"],"mappings":"2HAAA;;AAEA;AACA;;;;AAIA,KAAMA,CAAAA,gBAAgB,CAAG,UAAW;AAClC,KAAMC,CAAAA,OAAO,CAAG,yBAAhB;AACA,MAAOA,CAAAA,OAAO,CAACC,MAAR,CAAeC,eAAf,CAAgC,EAAhC,CAAP;AACD,CAHD;;AAKA,KAAMA,CAAAA,eAAe,CAAG;AACtBC,gBADsB;AAEtB,CAAEC,IAAF,CAAQC,MAAR,CAAgBC,WAAhB,CAA6BC,SAA7B,CAAwCC,MAAxC,CAAgDC,MAAhD,CAAwDC,QAAxD,CAFsB;AAGtB;AACA,MAAO;AACL,GAAGP,gBADE;AAEL,CAACC,IAAD,EAAQ,CAAEA,IAAF,CAAQC,MAAR,CAAgBC,WAAhB,CAA6BC,SAA7B,CAAwCC,MAAxC,CAAgDC,MAAhD,CAAwDC,QAAxD,CAFH,CAAP;;AAID,CARD;;AAUO,KAAMC,CAAAA,aAAa,CAAGZ,gBAAgB,EAAtC,C;;;;;AAKP,KAAMa,CAAAA,kBAAkB,CAAG,UAAW;AACpC,KAAMZ,CAAAA,OAAO,CAAG,yBAAhB;AACA,KAAMa,CAAAA,MAAM,CAAGC,mBAAW,CAA1B;AACA,KAAMC,CAAAA,QAAQ,CAAGC,KAAK,CAACC,IAAN,CAAW,CAAEJ,MAAF,CAAX,CAAuB,CAACK,KAAD,CAAQb,MAAR;AACtCc,iBAAiB,CAACd,MAAD,CAASL,OAAT,CADF,CAAjB;;AAGA,MAAOoB,CAAAA,MAAM,CAACC,MAAP,CAAc,EAAd,CAAkB,GAAGN,QAArB,CAAP;AACD,CAPD;;AASA,KAAMI,CAAAA,iBAAiB,CAAG,SAASd,MAAT,CAAiBL,OAAjB,CAA0B;AAClD,KAAMsB,CAAAA,MAAM,CAAGC,kBAAkB,CAAClB,MAAD,CAASL,OAAT,CAAjC;;AAEA,GAAIsB,MAAM,GAAKE,SAAf,CAA0B;AACxB,MAAO,EAAP;AACD;;AAED,KAAM,CAAEpB,IAAF,CAAQE,WAAR,CAAqBC,SAArB,CAAgCC,MAAhC,CAAwCC,MAAxC,CAAgDC,QAAhD,EAA6DY,MAAnE;AACA,MAAO;AACL,CAACjB,MAAD,EAAU;AACRD,IADQ;AAERC,MAFQ;AAGRC,WAHQ;AAIRC,SAJQ;AAKRC,MALQ;AAMRC,MANQ;AAORC,QAPQ,CADL,CAAP;;;AAWD,CAnBD;;;;AAuBA,KAAMa,CAAAA,kBAAkB,CAAG,SAASlB,MAAT,CAAiBL,OAAjB,CAA0B;AACnD,KAAMsB,CAAAA,MAAM,CAAGtB,OAAO,CAACyB,IAAR,CAAa,CAAC,CAAErB,IAAF,CAAD,GAAcsB,cAAU1B,OAAV,CAAkBI,IAAlB,IAA4BC,MAAvD,CAAf;;AAEA,GAAIiB,MAAM,GAAKE,SAAf,CAA0B;AACxB,MAAOF,CAAAA,MAAP;AACD;;AAED,MAAOtB,CAAAA,OAAO,CAACyB,IAAR,CAAaE,OAAO,EAAIA,OAAO,CAACtB,MAAR,GAAmBA,MAA3C,CAAP;AACD,CARD;;AAUO,KAAMuB,CAAAA,eAAe,CAAGhB,kBAAkB,EAA1C,C","sourcesContent":["import { constants } from 'os'\n\nimport { getSignals } from './signals.js'\nimport { SIGRTMAX } from './realtime.js'\n\n// Retrieve `signalsByName`, an object mapping signal name to signal properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByName = function() {\n const signals = getSignals()\n return signals.reduce(getSignalByName, {})\n}\n\nconst getSignalByName = function(\n signalByNameMemo,\n { name, number, description, supported, action, forced, standard },\n) {\n return {\n ...signalByNameMemo,\n [name]: { name, number, description, supported, action, forced, standard },\n }\n}\n\nexport const signalsByName = getSignalsByName()\n\n// Retrieve `signalsByNumber`, an object mapping signal number to signal\n// properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByNumber = function() {\n const signals = getSignals()\n const length = SIGRTMAX + 1\n const signalsA = Array.from({ length }, (value, number) =>\n getSignalByNumber(number, signals),\n )\n return Object.assign({}, ...signalsA)\n}\n\nconst getSignalByNumber = function(number, signals) {\n const signal = findSignalByNumber(number, signals)\n\n if (signal === undefined) {\n return {}\n }\n\n const { name, description, supported, action, forced, standard } = signal\n return {\n [number]: {\n name,\n number,\n description,\n supported,\n action,\n forced,\n standard,\n },\n }\n}\n\n// Several signals might end up sharing the same number because of OS-specific\n// numbers, in which case those prevail.\nconst findSignalByNumber = function(number, signals) {\n const signal = signals.find(({ name }) => constants.signals[name] === number)\n\n if (signal !== undefined) {\n return signal\n }\n\n return signals.find(signalA => signalA.number === number)\n}\n\nexport const signalsByNumber = getSignalsByNumber()\n"],"file":"src/main.js"} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/human-signals/build/src/realtime.js b/lambdas/risk-engine/node_modules/human-signals/build/src/realtime.js deleted file mode 100644 index f665516f..00000000 --- a/lambdas/risk-engine/node_modules/human-signals/build/src/realtime.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.SIGRTMAX=exports.getRealtimeSignals=void 0; -const getRealtimeSignals=function(){ -const length=SIGRTMAX-SIGRTMIN+1; -return Array.from({length},getRealtimeSignal); -};exports.getRealtimeSignals=getRealtimeSignals; - -const getRealtimeSignal=function(value,index){ -return{ -name:`SIGRT${index+1}`, -number:SIGRTMIN+index, -action:"terminate", -description:"Application-specific signal (realtime)", -standard:"posix"}; - -}; - -const SIGRTMIN=34; -const SIGRTMAX=64;exports.SIGRTMAX=SIGRTMAX; -//# sourceMappingURL=realtime.js.map \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/human-signals/build/src/realtime.js.map b/lambdas/risk-engine/node_modules/human-signals/build/src/realtime.js.map deleted file mode 100644 index 808bbd12..00000000 --- a/lambdas/risk-engine/node_modules/human-signals/build/src/realtime.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/realtime.js"],"names":["getRealtimeSignals","length","SIGRTMAX","SIGRTMIN","Array","from","getRealtimeSignal","value","index","name","number","action","description","standard"],"mappings":";AACO,KAAMA,CAAAA,kBAAkB,CAAG,UAAW;AAC3C,KAAMC,CAAAA,MAAM,CAAGC,QAAQ,CAAGC,QAAX,CAAsB,CAArC;AACA,MAAOC,CAAAA,KAAK,CAACC,IAAN,CAAW,CAAEJ,MAAF,CAAX,CAAuBK,iBAAvB,CAAP;AACD,CAHM,C;;AAKP,KAAMA,CAAAA,iBAAiB,CAAG,SAASC,KAAT,CAAgBC,KAAhB,CAAuB;AAC/C,MAAO;AACLC,IAAI,CAAG,QAAOD,KAAK,CAAG,CAAE,EADnB;AAELE,MAAM,CAAEP,QAAQ,CAAGK,KAFd;AAGLG,MAAM,CAAE,WAHH;AAILC,WAAW,CAAE,wCAJR;AAKLC,QAAQ,CAAE,OALL,CAAP;;AAOD,CARD;;AAUA,KAAMV,CAAAA,QAAQ,CAAG,EAAjB;AACO,KAAMD,CAAAA,QAAQ,CAAG,EAAjB,C","sourcesContent":["// List of realtime signals with information about them\nexport const getRealtimeSignals = function() {\n const length = SIGRTMAX - SIGRTMIN + 1\n return Array.from({ length }, getRealtimeSignal)\n}\n\nconst getRealtimeSignal = function(value, index) {\n return {\n name: `SIGRT${index + 1}`,\n number: SIGRTMIN + index,\n action: 'terminate',\n description: 'Application-specific signal (realtime)',\n standard: 'posix',\n }\n}\n\nconst SIGRTMIN = 34\nexport const SIGRTMAX = 64\n"],"file":"src/realtime.js"} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/human-signals/build/src/signals.js b/lambdas/risk-engine/node_modules/human-signals/build/src/signals.js deleted file mode 100644 index ab3b387d..00000000 --- a/lambdas/risk-engine/node_modules/human-signals/build/src/signals.js +++ /dev/null @@ -1,35 +0,0 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.getSignals=void 0;var _os=require("os"); - -var _core=require("./core.js"); -var _realtime=require("./realtime.js"); - - - -const getSignals=function(){ -const realtimeSignals=(0,_realtime.getRealtimeSignals)(); -const signals=[..._core.SIGNALS,...realtimeSignals].map(normalizeSignal); -return signals; -};exports.getSignals=getSignals; - - - - - - - -const normalizeSignal=function({ -name, -number:defaultNumber, -description, -action, -forced=false, -standard}) -{ -const{ -signals:{[name]:constantSignal}}= -_os.constants; -const supported=constantSignal!==undefined; -const number=supported?constantSignal:defaultNumber; -return{name,number,description,supported,action,forced,standard}; -}; -//# sourceMappingURL=signals.js.map \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/human-signals/build/src/signals.js.map b/lambdas/risk-engine/node_modules/human-signals/build/src/signals.js.map deleted file mode 100644 index 2a6b919e..00000000 --- a/lambdas/risk-engine/node_modules/human-signals/build/src/signals.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["../../src/signals.js"],"names":["getSignals","realtimeSignals","signals","SIGNALS","map","normalizeSignal","name","number","defaultNumber","description","action","forced","standard","constantSignal","constants","supported","undefined"],"mappings":"gGAAA;;AAEA;AACA;;;;AAIO,KAAMA,CAAAA,UAAU,CAAG,UAAW;AACnC,KAAMC,CAAAA,eAAe,CAAG,kCAAxB;AACA,KAAMC,CAAAA,OAAO,CAAG,CAAC,GAAGC,aAAJ,CAAa,GAAGF,eAAhB,EAAiCG,GAAjC,CAAqCC,eAArC,CAAhB;AACA,MAAOH,CAAAA,OAAP;AACD,CAJM,C;;;;;;;;AAYP,KAAMG,CAAAA,eAAe,CAAG,SAAS;AAC/BC,IAD+B;AAE/BC,MAAM,CAAEC,aAFuB;AAG/BC,WAH+B;AAI/BC,MAJ+B;AAK/BC,MAAM,CAAG,KALsB;AAM/BC,QAN+B,CAAT;AAOrB;AACD,KAAM;AACJV,OAAO,CAAE,CAAE,CAACI,IAAD,EAAQO,cAAV,CADL;AAEFC,aAFJ;AAGA,KAAMC,CAAAA,SAAS,CAAGF,cAAc,GAAKG,SAArC;AACA,KAAMT,CAAAA,MAAM,CAAGQ,SAAS,CAAGF,cAAH,CAAoBL,aAA5C;AACA,MAAO,CAAEF,IAAF,CAAQC,MAAR,CAAgBE,WAAhB,CAA6BM,SAA7B,CAAwCL,MAAxC,CAAgDC,MAAhD,CAAwDC,QAAxD,CAAP;AACD,CAdD","sourcesContent":["import { constants } from 'os'\n\nimport { SIGNALS } from './core.js'\nimport { getRealtimeSignals } from './realtime.js'\n\n// Retrieve list of know signals (including realtime) with information about\n// them\nexport const getSignals = function() {\n const realtimeSignals = getRealtimeSignals()\n const signals = [...SIGNALS, ...realtimeSignals].map(normalizeSignal)\n return signals\n}\n\n// Normalize signal:\n// - `number`: signal numbers are OS-specific. This is taken into account by\n// `os.constants.signals`. However we provide a default `number` since some\n// signals are not defined for some OS.\n// - `forced`: set default to `false`\n// - `supported`: set value\nconst normalizeSignal = function({\n name,\n number: defaultNumber,\n description,\n action,\n forced = false,\n standard,\n}) {\n const {\n signals: { [name]: constantSignal },\n } = constants\n const supported = constantSignal !== undefined\n const number = supported ? constantSignal : defaultNumber\n return { name, number, description, supported, action, forced, standard }\n}\n"],"file":"src/signals.js"} \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/human-signals/package.json b/lambdas/risk-engine/node_modules/human-signals/package.json deleted file mode 100644 index fd1d0274..00000000 --- a/lambdas/risk-engine/node_modules/human-signals/package.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "name": "human-signals", - "version": "2.1.0", - "main": "build/src/main.js", - "files": [ - "build/src", - "!~" - ], - "scripts": { - "test": "gulp test" - }, - "husky": { - "hooks": { - "pre-push": "gulp check --full" - } - }, - "description": "Human-friendly process signals", - "keywords": [ - "signal", - "signals", - "handlers", - "error-handling", - "errors", - "interrupts", - "sigterm", - "sigint", - "irq", - "process", - "exit", - "exit-code", - "status", - "operating-system", - "es6", - "javascript", - "linux", - "macos", - "windows", - "nodejs" - ], - "license": "Apache-2.0", - "homepage": "https://git.io/JeluP", - "repository": "ehmicky/human-signals", - "bugs": { - "url": "https://github.com/ehmicky/human-signals/issues" - }, - "author": "ehmicky (https://github.com/ehmicky)", - "directories": { - "lib": "src", - "test": "test" - }, - "types": "build/src/main.d.ts", - "dependencies": {}, - "devDependencies": { - "@ehmicky/dev-tasks": "^0.31.9", - "ajv": "^6.12.0", - "ava": "^3.5.0", - "gulp": "^4.0.2", - "husky": "^4.2.3", - "test-each": "^2.0.0" - }, - "engines": { - "node": ">=10.17.0" - } -} diff --git a/lambdas/risk-engine/node_modules/import-local/fixtures/cli.js b/lambdas/risk-engine/node_modules/import-local/fixtures/cli.js deleted file mode 100755 index 46b939f1..00000000 --- a/lambdas/risk-engine/node_modules/import-local/fixtures/cli.js +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env node -'use strict'; -const importLocal = require('..'); - -if (importLocal(__filename)) { - console.log('local'); -} diff --git a/lambdas/risk-engine/node_modules/import-local/index.d.ts b/lambdas/risk-engine/node_modules/import-local/index.d.ts deleted file mode 100644 index c432c732..00000000 --- a/lambdas/risk-engine/node_modules/import-local/index.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** -Let a globally installed package use a locally installed version of itself if available. - -@param filePath - The absolute file path to the main file of the package. - -@example -``` -import importLocal from 'import-local'; - -if (importLocal(import.meta.url)) { - console.log('Using local version of this package'); -} else { - // Code for both global and local version here… -} -``` -*/ -export default function importLocal(filePath: string): boolean | undefined | unknown; diff --git a/lambdas/risk-engine/node_modules/import-local/index.js b/lambdas/risk-engine/node_modules/import-local/index.js deleted file mode 100644 index 28c9c605..00000000 --- a/lambdas/risk-engine/node_modules/import-local/index.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; -const path = require('path'); -const {fileURLToPath} = require('url'); -const resolveCwd = require('resolve-cwd'); -const pkgDir = require('pkg-dir'); - -module.exports = filename => { - const normalizedFilename = filename.startsWith('file://') ? fileURLToPath(filename) : filename; - const globalDir = pkgDir.sync(path.dirname(normalizedFilename)); - const relativePath = path.relative(globalDir, normalizedFilename); - const pkg = require(path.join(globalDir, 'package.json')); - const localFile = resolveCwd.silent(path.join(pkg.name, relativePath)); - const localNodeModules = path.join(process.cwd(), 'node_modules'); - - const filenameInLocalNodeModules = !path.relative(localNodeModules, normalizedFilename).startsWith('..') && - // On Windows, if `localNodeModules` and `normalizedFilename` are on different partitions, `path.relative()` returns the value of `normalizedFilename`, resulting in `filenameInLocalNodeModules` incorrectly becoming `true`. - path.parse(localNodeModules).root === path.parse(normalizedFilename).root; - - // Use `path.relative()` to detect local package installation, - // because __filename's case is inconsistent on Windows - // Can use `===` when targeting Node.js 8 - // See https://github.com/nodejs/node/issues/6624 - return !filenameInLocalNodeModules && localFile && path.relative(localFile, normalizedFilename) !== '' && require(localFile); -}; diff --git a/lambdas/risk-engine/node_modules/import-local/license b/lambdas/risk-engine/node_modules/import-local/license deleted file mode 100644 index fa7ceba3..00000000 --- a/lambdas/risk-engine/node_modules/import-local/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/import-local/package.json b/lambdas/risk-engine/node_modules/import-local/package.json deleted file mode 100644 index 53d6e3bf..00000000 --- a/lambdas/risk-engine/node_modules/import-local/package.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "import-local", - "version": "3.2.0", - "description": "Let a globally installed package use a locally installed version of itself if available", - "license": "MIT", - "repository": "sindresorhus/import-local", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "bin": { - "import-local-fixture": "fixtures/cli.js" - }, - "sideEffects": false, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava" - }, - "files": [ - "index.js", - "index.d.ts", - "fixtures/cli.js" - ], - "keywords": [ - "import", - "local", - "require", - "resolve", - "global", - "version", - "prefer", - "cli" - ], - "dependencies": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - }, - "devDependencies": { - "ava": "2.1.0", - "cpy": "^7.0.1", - "del": "^4.1.1", - "execa": "^2.0.1", - "xo": "^0.24.0" - }, - "xo": { - "ignores": [ - "fixtures" - ] - } -} diff --git a/lambdas/risk-engine/node_modules/import-local/readme.md b/lambdas/risk-engine/node_modules/import-local/readme.md deleted file mode 100644 index f0dc6e34..00000000 --- a/lambdas/risk-engine/node_modules/import-local/readme.md +++ /dev/null @@ -1,25 +0,0 @@ -# import-local - -> Let a globally installed package use a locally installed version of itself if available - -Useful for CLI tools that want to defer to the user's locally installed version when available, but still work if it's not installed locally. For example, [AVA](https://avajs.dev) and [XO](https://github.com/xojs/xo) uses this method. - -## Install - -```sh -npm install import-local -``` - -## Usage - -```js -import importLocal from 'import-local'; - -if (importLocal(import.meta.url)) { - console.log('Using local version of this package'); -} else { - // Code for both global and local version here… -} -``` - -You can also pass in `__filename` when used in a CommonJS context. diff --git a/lambdas/risk-engine/node_modules/is-arrayish/.editorconfig b/lambdas/risk-engine/node_modules/is-arrayish/.editorconfig deleted file mode 100644 index 4c017f8a..00000000 --- a/lambdas/risk-engine/node_modules/is-arrayish/.editorconfig +++ /dev/null @@ -1,18 +0,0 @@ -root = true - -[*] -indent_style = tab -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.coffee] -indent_style = space - -[{package.json,*.yml}] -indent_style = space -indent_size = 2 - -[*.md] -trim_trailing_whitespace = false diff --git a/lambdas/risk-engine/node_modules/is-arrayish/.istanbul.yml b/lambdas/risk-engine/node_modules/is-arrayish/.istanbul.yml deleted file mode 100644 index 19fbec32..00000000 --- a/lambdas/risk-engine/node_modules/is-arrayish/.istanbul.yml +++ /dev/null @@ -1,4 +0,0 @@ -instrumentation: - excludes: - - test.js - - test/**/* diff --git a/lambdas/risk-engine/node_modules/is-arrayish/.npmignore b/lambdas/risk-engine/node_modules/is-arrayish/.npmignore deleted file mode 100644 index 8d5eacb3..00000000 --- a/lambdas/risk-engine/node_modules/is-arrayish/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -/coverage/ -/test.js -/test/ -*.sw[a-p] -/node_modules/ diff --git a/lambdas/risk-engine/node_modules/is-arrayish/.travis.yml b/lambdas/risk-engine/node_modules/is-arrayish/.travis.yml deleted file mode 100644 index 5a042435..00000000 --- a/lambdas/risk-engine/node_modules/is-arrayish/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: node_js - -script: - - node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- --compilers coffee:coffee-script/register - - cat coverage/lcov.info | node_modules/.bin/coveralls -node_js: - - "0.10" - - "0.11" - - "0.12" - - "iojs" -os: - - linux - - osx - -notifications: - slack: - secure: oOt8QGzdrPDsTMcyahtIq5Q+0U1iwfgJgFCxBLsomQ0bpIMn+y5m4viJydA2UinHPGc944HS3LMZS9iKQyv+DjTgbhUyNXqeVjtxCwRe37f5rKQlXVvdfmjHk2kln4H8DcK3r5Qd/+2hd9BeMsp2GImTrkRSud1CZQlhhe5IgZOboSoWpGVMMy1iazWT06tAtiB2LRVhmsdUaFZDWAhGZ+UAvCPf+mnBOAylIj+U0GDrofhfTi25RK0gddG2f/p2M1HCu49O6wECGWkt2hVei233DkNJyLLLJVcvmhf+aXkV5TjMyaoxh/HdcV4DrA7KvYuWmWWKsINa9hlwAsdd/FYmJ6PjRkKWas2JoQ1C+qOzDxyQvn3CaUZFKD99pdsq0rBBZujqXQKZZ/hWb/CE74BI6fKmqQkiEPaD/7uADj04FEg6HVBZaMCyauOaK5b3VC97twbALZ1qVxYV6mU+zSEvnUbpnjjvRO0fSl9ZHA+rzkW73kX3GmHY0wAozEZbSy7QLuZlQ2QtHmBLr+APaGMdL1sFF9qFfzqKy0WDbSE0WS6hpAEJpTsjYmeBrnI8UmK3m++iEgyQPvZoH9LhUT+ek7XIfHZMe04BmC6wuO24/RfpmR6bQK9VMarFCYlBiWxg/z30vkP0KTpUi3o/cqFm7/Noxc0i2LVqM3E0Sy4= diff --git a/lambdas/risk-engine/node_modules/is-arrayish/LICENSE b/lambdas/risk-engine/node_modules/is-arrayish/LICENSE deleted file mode 100644 index 0a5f461a..00000000 --- a/lambdas/risk-engine/node_modules/is-arrayish/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 JD Ballard - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/is-arrayish/README.md b/lambdas/risk-engine/node_modules/is-arrayish/README.md deleted file mode 100644 index 7d360724..00000000 --- a/lambdas/risk-engine/node_modules/is-arrayish/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# node-is-arrayish [![Travis-CI.org Build Status](https://img.shields.io/travis/Qix-/node-is-arrayish.svg?style=flat-square)](https://travis-ci.org/Qix-/node-is-arrayish) [![Coveralls.io Coverage Rating](https://img.shields.io/coveralls/Qix-/node-is-arrayish.svg?style=flat-square)](https://coveralls.io/r/Qix-/node-is-arrayish) -> Determines if an object can be used like an Array - -## Example -```javascript -var isArrayish = require('is-arrayish'); - -isArrayish([]); // true -isArrayish({__proto__: []}); // true -isArrayish({}); // false -isArrayish({length:10}); // false -``` - -## License -Licensed under the [MIT License](http://opensource.org/licenses/MIT). -You can find a copy of it in [LICENSE](LICENSE). diff --git a/lambdas/risk-engine/node_modules/is-arrayish/index.js b/lambdas/risk-engine/node_modules/is-arrayish/index.js deleted file mode 100644 index 5b971868..00000000 --- a/lambdas/risk-engine/node_modules/is-arrayish/index.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -module.exports = function isArrayish(obj) { - if (!obj) { - return false; - } - - return obj instanceof Array || Array.isArray(obj) || - (obj.length >= 0 && obj.splice instanceof Function); -}; diff --git a/lambdas/risk-engine/node_modules/is-arrayish/package.json b/lambdas/risk-engine/node_modules/is-arrayish/package.json deleted file mode 100644 index 8b2d1c30..00000000 --- a/lambdas/risk-engine/node_modules/is-arrayish/package.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "name": "is-arrayish", - "description": "Determines if an object can be used as an array", - "version": "0.2.1", - "author": "Qix (http://github.com/qix-)", - "keywords": [ - "is", - "array", - "duck", - "type", - "arrayish", - "similar", - "proto", - "prototype", - "type" - ], - "license": "MIT", - "scripts": { - "pretest": "xo", - "test": "mocha --compilers coffee:coffee-script/register" - }, - "repository": { - "type": "git", - "url": "https://github.com/qix-/node-is-arrayish.git" - }, - "devDependencies": { - "coffee-script": "^1.9.3", - "coveralls": "^2.11.2", - "istanbul": "^0.3.17", - "mocha": "^2.2.5", - "should": "^7.0.1", - "xo": "^0.6.1" - } -} diff --git a/lambdas/risk-engine/node_modules/is-generator-fn/index.d.ts b/lambdas/risk-engine/node_modules/is-generator-fn/index.d.ts deleted file mode 100644 index 7eabf623..00000000 --- a/lambdas/risk-engine/node_modules/is-generator-fn/index.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare const isGeneratorFn: { - /** - Check if something is a generator function. - - @example - ``` - import isGeneratorFn = require('is-generator-fn'); - - isGeneratorFn(function * () {}); - //=> true - - isGeneratorFn(function () {}); - //=> false - ``` - */ - (value: unknown): value is GeneratorFunction; - - // TODO: Remove this for the next major release, refactor the whole definition to: - // declare function isGeneratorFn(value: unknown): value is GeneratorFunction; - // export = isGeneratorFn; - default: typeof isGeneratorFn; -}; - -export = isGeneratorFn; diff --git a/lambdas/risk-engine/node_modules/is-generator-fn/index.js b/lambdas/risk-engine/node_modules/is-generator-fn/index.js deleted file mode 100644 index d50f6cfa..00000000 --- a/lambdas/risk-engine/node_modules/is-generator-fn/index.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; -const {toString} = Object.prototype; - -module.exports = value => { - if (typeof value !== 'function') { - return false; - } - - return (value.constructor && value.constructor.name === 'GeneratorFunction') || - toString.call(value) === '[object GeneratorFunction]'; -}; - -// TODO: Remove this for the next major release -module.exports.default = module.exports; diff --git a/lambdas/risk-engine/node_modules/is-generator-fn/license b/lambdas/risk-engine/node_modules/is-generator-fn/license deleted file mode 100644 index e7af2f77..00000000 --- a/lambdas/risk-engine/node_modules/is-generator-fn/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/is-generator-fn/package.json b/lambdas/risk-engine/node_modules/is-generator-fn/package.json deleted file mode 100644 index 65e319ed..00000000 --- a/lambdas/risk-engine/node_modules/is-generator-fn/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "is-generator-fn", - "version": "2.1.0", - "description": "Check if something is a generator function", - "license": "MIT", - "repository": "sindresorhus/is-generator-fn", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "sindresorhus.com" - }, - "engines": { - "node": ">=6" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "generator", - "function", - "func", - "fn", - "is", - "check", - "detect", - "yield", - "type" - ], - "devDependencies": { - "ava": "^1.4.1", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } -} diff --git a/lambdas/risk-engine/node_modules/is-generator-fn/readme.md b/lambdas/risk-engine/node_modules/is-generator-fn/readme.md deleted file mode 100644 index 654c2afd..00000000 --- a/lambdas/risk-engine/node_modules/is-generator-fn/readme.md +++ /dev/null @@ -1,33 +0,0 @@ -# is-generator-fn [![Build Status](https://travis-ci.org/sindresorhus/is-generator-fn.svg?branch=master)](https://travis-ci.org/sindresorhus/is-generator-fn) - -> Check if something is a [generator function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*) - - -## Install - -``` -$ npm install is-generator-fn -``` - - -## Usage - -```js -const isGeneratorFn = require('is-generator-fn'); - -isGeneratorFn(function * () {}); -//=> true - -isGeneratorFn(function () {}); -//=> false -``` - - -## Related - -- [is](https://github.com/sindresorhus/is) - Type check values - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/lambdas/risk-engine/node_modules/is-stream/index.d.ts b/lambdas/risk-engine/node_modules/is-stream/index.d.ts deleted file mode 100644 index eee2e83e..00000000 --- a/lambdas/risk-engine/node_modules/is-stream/index.d.ts +++ /dev/null @@ -1,79 +0,0 @@ -import * as stream from 'stream'; - -declare const isStream: { - /** - @returns Whether `stream` is a [`Stream`](https://nodejs.org/api/stream.html#stream_stream). - - @example - ``` - import * as fs from 'fs'; - import isStream = require('is-stream'); - - isStream(fs.createReadStream('unicorn.png')); - //=> true - - isStream({}); - //=> false - ``` - */ - (stream: unknown): stream is stream.Stream; - - /** - @returns Whether `stream` is a [`stream.Writable`](https://nodejs.org/api/stream.html#stream_class_stream_writable). - - @example - ``` - import * as fs from 'fs'; - import isStream = require('is-stream'); - - isStream.writable(fs.createWriteStrem('unicorn.txt')); - //=> true - ``` - */ - writable(stream: unknown): stream is stream.Writable; - - /** - @returns Whether `stream` is a [`stream.Readable`](https://nodejs.org/api/stream.html#stream_class_stream_readable). - - @example - ``` - import * as fs from 'fs'; - import isStream = require('is-stream'); - - isStream.readable(fs.createReadStream('unicorn.png')); - //=> true - ``` - */ - readable(stream: unknown): stream is stream.Readable; - - /** - @returns Whether `stream` is a [`stream.Duplex`](https://nodejs.org/api/stream.html#stream_class_stream_duplex). - - @example - ``` - import {Duplex} from 'stream'; - import isStream = require('is-stream'); - - isStream.duplex(new Duplex()); - //=> true - ``` - */ - duplex(stream: unknown): stream is stream.Duplex; - - /** - @returns Whether `stream` is a [`stream.Transform`](https://nodejs.org/api/stream.html#stream_class_stream_transform). - - @example - ``` - import * as fs from 'fs'; - import Stringify = require('streaming-json-stringify'); - import isStream = require('is-stream'); - - isStream.transform(Stringify()); - //=> true - ``` - */ - transform(input: unknown): input is stream.Transform; -}; - -export = isStream; diff --git a/lambdas/risk-engine/node_modules/is-stream/index.js b/lambdas/risk-engine/node_modules/is-stream/index.js deleted file mode 100644 index 2e43434d..00000000 --- a/lambdas/risk-engine/node_modules/is-stream/index.js +++ /dev/null @@ -1,28 +0,0 @@ -'use strict'; - -const isStream = stream => - stream !== null && - typeof stream === 'object' && - typeof stream.pipe === 'function'; - -isStream.writable = stream => - isStream(stream) && - stream.writable !== false && - typeof stream._write === 'function' && - typeof stream._writableState === 'object'; - -isStream.readable = stream => - isStream(stream) && - stream.readable !== false && - typeof stream._read === 'function' && - typeof stream._readableState === 'object'; - -isStream.duplex = stream => - isStream.writable(stream) && - isStream.readable(stream); - -isStream.transform = stream => - isStream.duplex(stream) && - typeof stream._transform === 'function'; - -module.exports = isStream; diff --git a/lambdas/risk-engine/node_modules/is-stream/license b/lambdas/risk-engine/node_modules/is-stream/license deleted file mode 100644 index fa7ceba3..00000000 --- a/lambdas/risk-engine/node_modules/is-stream/license +++ /dev/null @@ -1,9 +0,0 @@ -MIT License - -Copyright (c) Sindre Sorhus (https://sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/is-stream/package.json b/lambdas/risk-engine/node_modules/is-stream/package.json deleted file mode 100644 index c3b56739..00000000 --- a/lambdas/risk-engine/node_modules/is-stream/package.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "is-stream", - "version": "2.0.1", - "description": "Check if something is a Node.js stream", - "license": "MIT", - "repository": "sindresorhus/is-stream", - "funding": "https://github.com/sponsors/sindresorhus", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "https://sindresorhus.com" - }, - "engines": { - "node": ">=8" - }, - "scripts": { - "test": "xo && ava && tsd" - }, - "files": [ - "index.js", - "index.d.ts" - ], - "keywords": [ - "stream", - "type", - "streams", - "writable", - "readable", - "duplex", - "transform", - "check", - "detect", - "is" - ], - "devDependencies": { - "@types/node": "^11.13.6", - "ava": "^1.4.1", - "tempy": "^0.3.0", - "tsd": "^0.7.2", - "xo": "^0.24.0" - } -} diff --git a/lambdas/risk-engine/node_modules/is-stream/readme.md b/lambdas/risk-engine/node_modules/is-stream/readme.md deleted file mode 100644 index 19308e73..00000000 --- a/lambdas/risk-engine/node_modules/is-stream/readme.md +++ /dev/null @@ -1,60 +0,0 @@ -# is-stream - -> Check if something is a [Node.js stream](https://nodejs.org/api/stream.html) - -## Install - -``` -$ npm install is-stream -``` - -## Usage - -```js -const fs = require('fs'); -const isStream = require('is-stream'); - -isStream(fs.createReadStream('unicorn.png')); -//=> true - -isStream({}); -//=> false -``` - -## API - -### isStream(stream) - -Returns a `boolean` for whether it's a [`Stream`](https://nodejs.org/api/stream.html#stream_stream). - -#### isStream.writable(stream) - -Returns a `boolean` for whether it's a [`stream.Writable`](https://nodejs.org/api/stream.html#stream_class_stream_writable). - -#### isStream.readable(stream) - -Returns a `boolean` for whether it's a [`stream.Readable`](https://nodejs.org/api/stream.html#stream_class_stream_readable). - -#### isStream.duplex(stream) - -Returns a `boolean` for whether it's a [`stream.Duplex`](https://nodejs.org/api/stream.html#stream_class_stream_duplex). - -#### isStream.transform(stream) - -Returns a `boolean` for whether it's a [`stream.Transform`](https://nodejs.org/api/stream.html#stream_class_stream_transform). - -## Related - -- [is-file-stream](https://github.com/jamestalmage/is-file-stream) - Detect if a stream is a file stream - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-
diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/CHANGELOG.md b/lambdas/risk-engine/node_modules/istanbul-lib-coverage/CHANGELOG.md deleted file mode 100644 index 31adc75e..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/CHANGELOG.md +++ /dev/null @@ -1,209 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [3.0.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@3.0.0-alpha.2...istanbul-lib-coverage@3.0.0) (2019-12-20) - -**Note:** Version bump only for package istanbul-lib-coverage - - - - - -# [3.0.0-alpha.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@3.0.0-alpha.1...istanbul-lib-coverage@3.0.0-alpha.2) (2019-12-07) - -**Note:** Version bump only for package istanbul-lib-coverage - - - - - -# [3.0.0-alpha.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@3.0.0-alpha.0...istanbul-lib-coverage@3.0.0-alpha.1) (2019-10-06) - - -### Bug Fixes - -* Drop unneeded coverage data from `nyc --all` ([#456](https://github.com/istanbuljs/istanbuljs/issues/456)) ([f6bb0b4](https://github.com/istanbuljs/istanbuljs/commit/f6bb0b4)), closes [#123](https://github.com/istanbuljs/istanbuljs/issues/123) [#224](https://github.com/istanbuljs/istanbuljs/issues/224) [#260](https://github.com/istanbuljs/istanbuljs/issues/260) [#322](https://github.com/istanbuljs/istanbuljs/issues/322) [#413](https://github.com/istanbuljs/istanbuljs/issues/413) - - - - - -# [3.0.0-alpha.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@2.0.5...istanbul-lib-coverage@3.0.0-alpha.0) (2019-06-19) - - -### Features - -* Update dependencies, require Node.js 8 ([#401](https://github.com/istanbuljs/istanbuljs/issues/401)) ([bf3a539](https://github.com/istanbuljs/istanbuljs/commit/bf3a539)) - - -### BREAKING CHANGES - -* Node.js 8 is now required - - - - - -## [3.2.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage-v3.2.1...istanbul-lib-coverage-v3.2.2) (2023-11-07) - - -### Bug Fixes - -* [#753](https://github.com/istanbuljs/istanbuljs/issues/753) ([c4895bb](https://github.com/istanbuljs/istanbuljs/commit/c4895bb418c55700182f481b914b74b2865a9bea)) -* Proper data validation in findNearestContainer ([#754](https://github.com/istanbuljs/istanbuljs/issues/754)) ([c4895bb](https://github.com/istanbuljs/istanbuljs/commit/c4895bb418c55700182f481b914b74b2865a9bea)), closes [#753](https://github.com/istanbuljs/istanbuljs/issues/753) - -## [3.2.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage-v3.2.0...istanbul-lib-coverage-v3.2.1) (2023-11-04) - - -### Bug Fixes - -* https://github.com/istanbuljs/v8-to-istanbul/issues/233 ([288888f](https://github.com/istanbuljs/istanbuljs/commit/288888fef02ea35baf536bdd4d390ee12233ceb3)) -* merge ranges properly when contained by other ranges in set ([#750](https://github.com/istanbuljs/istanbuljs/issues/750)) ([288888f](https://github.com/istanbuljs/istanbuljs/commit/288888fef02ea35baf536bdd4d390ee12233ceb3)) - -## [3.2.0](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage-v3.1.0...istanbul-lib-coverage-v3.2.0) (2021-10-17) - - -### Features - -* allow FileCoverage to be initialized with logical tracking ([#644](https://www.github.com/istanbuljs/istanbuljs/issues/644)) ([4cb5af1](https://www.github.com/istanbuljs/istanbuljs/commit/4cb5af1daaf33c3e9a5f3ee44f6bb7f958e5ba04)) - -## [3.1.0](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage-v3.0.2...istanbul-lib-coverage-v3.1.0) (2021-10-17) - - -### Features - -* support tracking Logic Truthiness as additional metric in coverage API ([#639](https://www.github.com/istanbuljs/istanbuljs/issues/639)) ([0967c80](https://www.github.com/istanbuljs/istanbuljs/commit/0967c80b905c3c17675ff2185b2325784e8dc0a2)) - -### [3.0.2](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage-v3.0.1...istanbul-lib-coverage-v3.0.2) (2021-10-11) - - -### Bug Fixes - -* handle merging '0' indexed coverage with '1' indexed coverage ([5dac2bc](https://www.github.com/istanbuljs/istanbuljs/commit/5dac2bcf28d6f27dbb720be72c2b692153418ab5)), closes [#632](https://www.github.com/istanbuljs/istanbuljs/issues/632) - -### [3.0.1](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage-v3.0.0...istanbul-lib-coverage-v3.0.1) (2021-09-23) - - -### Bug Fixes - -* merge branch/statement/functionMap's together when merging two coverage reports ([#617](https://www.github.com/istanbuljs/istanbuljs/issues/617)) ([ff1b5e9](https://www.github.com/istanbuljs/istanbuljs/commit/ff1b5e915201e4ff8f737010509bab98d8238118)) - -## [2.0.5](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@2.0.4...istanbul-lib-coverage@2.0.5) (2019-04-24) - -**Note:** Version bump only for package istanbul-lib-coverage - - - - - -## [2.0.4](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@2.0.3...istanbul-lib-coverage@2.0.4) (2019-03-12) - -**Note:** Version bump only for package istanbul-lib-coverage - - - - - -## [2.0.3](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@2.0.2...istanbul-lib-coverage@2.0.3) (2019-01-26) - -**Note:** Version bump only for package istanbul-lib-coverage - - - - - - -## [2.0.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@2.0.1...istanbul-lib-coverage@2.0.2) (2018-12-25) - - - - -**Note:** Version bump only for package istanbul-lib-coverage - - -## [2.0.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@2.0.0...istanbul-lib-coverage@2.0.1) (2018-07-07) - - - - -**Note:** Version bump only for package istanbul-lib-coverage - - -# [2.0.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@1.2.0...istanbul-lib-coverage@2.0.0) (2018-06-06) - - -### Bug Fixes - -* use null prototype for map objects ([#177](https://github.com/istanbuljs/istanbuljs/issues/177)) ([9a5a30c](https://github.com/istanbuljs/istanbuljs/commit/9a5a30c)) - - -### BREAKING CHANGES - -* a null prototype is now used in several places rather than the default `{}` assignment. - - - - - -# [1.2.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@1.1.2...istanbul-lib-coverage@1.2.0) (2018-03-04) - - -### Features - -* add skip-empty option for html & text reports ([#140](https://github.com/istanbuljs/istanbuljs/issues/140)) ([d2a4262](https://github.com/istanbuljs/istanbuljs/commit/d2a4262)) - - - - - -## [1.1.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@1.1.1...istanbul-lib-coverage@1.1.2) (2018-02-13) - - - - -**Note:** Version bump only for package istanbul-lib-coverage - - -## [1.1.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-coverage@1.1.0...istanbul-lib-coverage@1.1.1) (2017-05-27) - - - - - -# [1.1.0](https://github.com/istanbuljs/istanbul-lib-coverage/compare/istanbul-lib-coverage@1.0.2...istanbul-lib-coverage@1.1.0) (2017-04-29) - - -### Bug Fixes - -* getBranchCoverageByLine() was looking for line coverage using wrong object structure ([bf36658](https://github.com/istanbuljs/istanbul-lib-coverage/commit/bf36658)) - - -### Features - -* add possibility to filter coverage maps when running reports post-hoc ([#24](https://github.com/istanbuljs/istanbuljs/issues/24)) ([e1c99d6](https://github.com/istanbuljs/istanbul-lib-coverage/commit/e1c99d6)) - - - - - -## [1.0.2](https://github.com/istanbuljs/istanbul-lib-coverage/compare/istanbul-lib-coverage@1.0.1...istanbul-lib-coverage@1.0.2) (2017-03-27) - - -## [1.0.1](https://github.com/istanbuljs/istanbul-lib-coverage/compare/v1.0.0...v1.0.1) (2017-01-18) - - -### Bug Fixes - -* handle edge-case surrounding merging two file coverage reports ([22e154c](https://github.com/istanbuljs/istanbul-lib-coverage/commit/22e154c)) - - - - -# [1.0.0](https://github.com/istanbuljs/istanbul-lib-coverage/compare/v1.0.0-alpha.3...v1.0.0) (2016-08-12) - - -### Bug Fixes - -* guard against missing statement ([76aad99](https://github.com/istanbuljs/istanbul-lib-coverage/commit/76aad99)) diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/LICENSE b/lambdas/risk-engine/node_modules/istanbul-lib-coverage/LICENSE deleted file mode 100644 index d55d2916..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/LICENSE +++ /dev/null @@ -1,24 +0,0 @@ -Copyright 2012-2015 Yahoo! Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of the Yahoo! Inc. nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL YAHOO! INC. BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/README.md b/lambdas/risk-engine/node_modules/istanbul-lib-coverage/README.md deleted file mode 100644 index 2c24a56c..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/README.md +++ /dev/null @@ -1,29 +0,0 @@ -## istanbul-lib-coverage - -[![Greenkeeper badge](https://badges.greenkeeper.io/istanbuljs/istanbul-lib-coverage.svg)](https://greenkeeper.io/) -[![Build Status](https://travis-ci.org/istanbuljs/istanbul-lib-coverage.svg?branch=master)](https://travis-ci.org/istanbuljs/istanbul-lib-coverage) - -An API that provides a read-only view of coverage information with the ability -to merge and summarize coverage info. - -Supersedes `object-utils` and `collector` from the v0 istanbul API. - -See the docs for the full API. - -```js -var libCoverage = require('istanbul-lib-coverage'); -var map = libCoverage.createCoverageMap(globalCoverageVar); -var summary = libCoverage.createCoverageSummary(); - -// merge another coverage map into the one we created -map.merge(otherCoverageMap); - -// inspect and summarize all file coverage objects in the map -map.files().forEach(function(f) { - var fc = map.fileCoverageFor(f), - s = fc.toSummary(); - summary.merge(s); -}); - -console.log('Global summary', summary); -``` diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/index.js b/lambdas/risk-engine/node_modules/istanbul-lib-coverage/index.js deleted file mode 100644 index bdc5a182..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/index.js +++ /dev/null @@ -1,64 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -/** - * istanbul-lib-coverage exports an API that allows you to create and manipulate - * file coverage, coverage maps (a set of file coverage objects) and summary - * coverage objects. File coverage for the same file can be merged as can - * entire coverage maps. - * - * @module Exports - */ -const { FileCoverage } = require('./lib/file-coverage'); -const { CoverageMap } = require('./lib/coverage-map'); -const { CoverageSummary } = require('./lib/coverage-summary'); - -module.exports = { - /** - * creates a coverage summary object - * @param {Object} obj an argument with the same semantics - * as the one passed to the `CoverageSummary` constructor - * @returns {CoverageSummary} - */ - createCoverageSummary(obj) { - if (obj && obj instanceof CoverageSummary) { - return obj; - } - return new CoverageSummary(obj); - }, - /** - * creates a CoverageMap object - * @param {Object} obj optional - an argument with the same semantics - * as the one passed to the CoverageMap constructor. - * @returns {CoverageMap} - */ - createCoverageMap(obj) { - if (obj && obj instanceof CoverageMap) { - return obj; - } - return new CoverageMap(obj); - }, - /** - * creates a FileCoverage object - * @param {Object} obj optional - an argument with the same semantics - * as the one passed to the FileCoverage constructor. - * @returns {FileCoverage} - */ - createFileCoverage(obj) { - if (obj && obj instanceof FileCoverage) { - return obj; - } - return new FileCoverage(obj); - } -}; - -/** classes exported for reuse */ -module.exports.classes = { - /** - * the file coverage constructor - */ - FileCoverage -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/coverage-map.js b/lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/coverage-map.js deleted file mode 100644 index 0a1ebd0a..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/coverage-map.js +++ /dev/null @@ -1,134 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -const { FileCoverage } = require('./file-coverage'); -const { CoverageSummary } = require('./coverage-summary'); - -function maybeConstruct(obj, klass) { - if (obj instanceof klass) { - return obj; - } - - return new klass(obj); -} - -function loadMap(source) { - const data = Object.create(null); - if (!source) { - return data; - } - - Object.entries(source).forEach(([k, cov]) => { - data[k] = maybeConstruct(cov, FileCoverage); - }); - - return data; -} - -/** CoverageMap is a map of `FileCoverage` objects keyed by file paths. */ -class CoverageMap { - /** - * @constructor - * @param {Object} [obj=undefined] obj A coverage map from which to initialize this - * map's contents. This can be the raw global coverage object. - */ - constructor(obj) { - if (obj instanceof CoverageMap) { - this.data = obj.data; - } else { - this.data = loadMap(obj); - } - } - - /** - * merges a second coverage map into this one - * @param {CoverageMap} obj - a CoverageMap or its raw data. Coverage is merged - * correctly for the same files and additional file coverage keys are created - * as needed. - */ - merge(obj) { - const other = maybeConstruct(obj, CoverageMap); - Object.values(other.data).forEach(fc => { - this.addFileCoverage(fc); - }); - } - - /** - * filter the coveragemap based on the callback provided - * @param {Function (filename)} callback - Returns true if the path - * should be included in the coveragemap. False if it should be - * removed. - */ - filter(callback) { - Object.keys(this.data).forEach(k => { - if (!callback(k)) { - delete this.data[k]; - } - }); - } - - /** - * returns a JSON-serializable POJO for this coverage map - * @returns {Object} - */ - toJSON() { - return this.data; - } - - /** - * returns an array for file paths for which this map has coverage - * @returns {Array{string}} - array of files - */ - files() { - return Object.keys(this.data); - } - - /** - * returns the file coverage for the specified file. - * @param {String} file - * @returns {FileCoverage} - */ - fileCoverageFor(file) { - const fc = this.data[file]; - if (!fc) { - throw new Error(`No file coverage available for: ${file}`); - } - return fc; - } - - /** - * adds a file coverage object to this map. If the path for the object, - * already exists in the map, it is merged with the existing coverage - * otherwise a new key is added to the map. - * @param {FileCoverage} fc the file coverage to add - */ - addFileCoverage(fc) { - const cov = new FileCoverage(fc); - const { path } = cov; - if (this.data[path]) { - this.data[path].merge(cov); - } else { - this.data[path] = cov; - } - } - - /** - * returns the coverage summary for all the file coverage objects in this map. - * @returns {CoverageSummary} - */ - getCoverageSummary() { - const ret = new CoverageSummary(); - Object.values(this.data).forEach(fc => { - ret.merge(fc.toSummary()); - }); - - return ret; - } -} - -module.exports = { - CoverageMap -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/coverage-summary.js b/lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/coverage-summary.js deleted file mode 100644 index 9b769c66..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/coverage-summary.js +++ /dev/null @@ -1,112 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -const percent = require('./percent'); -const dataProperties = require('./data-properties'); - -function blankSummary() { - const empty = () => ({ - total: 0, - covered: 0, - skipped: 0, - pct: 'Unknown' - }); - - return { - lines: empty(), - statements: empty(), - functions: empty(), - branches: empty(), - branchesTrue: empty() - }; -} - -// asserts that a data object "looks like" a summary coverage object -function assertValidSummary(obj) { - const valid = - obj && obj.lines && obj.statements && obj.functions && obj.branches; - if (!valid) { - throw new Error( - 'Invalid summary coverage object, missing keys, found:' + - Object.keys(obj).join(',') - ); - } -} - -/** - * CoverageSummary provides a summary of code coverage . It exposes 4 properties, - * `lines`, `statements`, `branches`, and `functions`. Each of these properties - * is an object that has 4 keys `total`, `covered`, `skipped` and `pct`. - * `pct` is a percentage number (0-100). - */ -class CoverageSummary { - /** - * @constructor - * @param {Object|CoverageSummary} [obj=undefined] an optional data object or - * another coverage summary to initialize this object with. - */ - constructor(obj) { - if (!obj) { - this.data = blankSummary(); - } else if (obj instanceof CoverageSummary) { - this.data = obj.data; - } else { - this.data = obj; - } - assertValidSummary(this.data); - } - - /** - * merges a second summary coverage object into this one - * @param {CoverageSummary} obj - another coverage summary object - */ - merge(obj) { - const keys = [ - 'lines', - 'statements', - 'branches', - 'functions', - 'branchesTrue' - ]; - keys.forEach(key => { - if (obj[key]) { - this[key].total += obj[key].total; - this[key].covered += obj[key].covered; - this[key].skipped += obj[key].skipped; - this[key].pct = percent(this[key].covered, this[key].total); - } - }); - - return this; - } - - /** - * returns a POJO that is JSON serializable. May be used to get the raw - * summary object. - */ - toJSON() { - return this.data; - } - - /** - * return true if summary has no lines of code - */ - isEmpty() { - return this.lines.total === 0; - } -} - -dataProperties(CoverageSummary, [ - 'lines', - 'statements', - 'functions', - 'branches', - 'branchesTrue' -]); - -module.exports = { - CoverageSummary -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/data-properties.js b/lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/data-properties.js deleted file mode 100644 index 3a12d40e..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/data-properties.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict'; - -module.exports = function dataProperties(klass, properties) { - properties.forEach(p => { - Object.defineProperty(klass.prototype, p, { - enumerable: true, - get() { - return this.data[p]; - } - }); - }); -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/file-coverage.js b/lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/file-coverage.js deleted file mode 100644 index 4ed4c096..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/file-coverage.js +++ /dev/null @@ -1,444 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -const percent = require('./percent'); -const dataProperties = require('./data-properties'); -const { CoverageSummary } = require('./coverage-summary'); - -// returns a data object that represents empty coverage -function emptyCoverage(filePath, reportLogic) { - const cov = { - path: filePath, - statementMap: {}, - fnMap: {}, - branchMap: {}, - s: {}, - f: {}, - b: {} - }; - if (reportLogic) cov.bT = {}; - return cov; -} - -// asserts that a data object "looks like" a coverage object -function assertValidObject(obj) { - const valid = - obj && - obj.path && - obj.statementMap && - obj.fnMap && - obj.branchMap && - obj.s && - obj.f && - obj.b; - if (!valid) { - throw new Error( - 'Invalid file coverage object, missing keys, found:' + - Object.keys(obj).join(',') - ); - } -} - -const keyFromLoc = ({ start, end }) => - `${start.line}|${start.column}|${end.line}|${end.column}`; - -const isObj = o => !!o && typeof o === 'object'; -const isLineCol = o => - isObj(o) && typeof o.line === 'number' && typeof o.column === 'number'; -const isLoc = o => isObj(o) && isLineCol(o.start) && isLineCol(o.end); -const getLoc = o => (isLoc(o) ? o : isLoc(o.loc) ? o.loc : null); - -// When merging, we can have a case where two ranges cover -// the same block of code with `hits=1`, and each carve out a -// different range with `hits=0` to indicate it's uncovered. -// Find the nearest container so that we can properly indicate -// that both sections are hit. -// Returns null if no containing item is found. -const findNearestContainer = (item, map) => { - const itemLoc = getLoc(item); - if (!itemLoc) return null; - // the B item is not an identified range in the A set, BUT - // it may be contained by an identified A range. If so, then - // any hit of that containing A range counts as a hit of this - // B range as well. We have to find the *narrowest* containing - // range to be accurate, since ranges can be hit and un-hit - // in a nested fashion. - let nearestContainingItem = null; - let containerDistance = null; - let containerKey = null; - for (const [i, mapItem] of Object.entries(map)) { - const mapLoc = getLoc(mapItem); - if (!mapLoc) continue; - // contained if all of line distances are > 0 - // or line distance is 0 and col dist is >= 0 - const distance = [ - itemLoc.start.line - mapLoc.start.line, - itemLoc.start.column - mapLoc.start.column, - mapLoc.end.line - itemLoc.end.line, - mapLoc.end.column - itemLoc.end.column - ]; - if ( - distance[0] < 0 || - distance[2] < 0 || - (distance[0] === 0 && distance[1] < 0) || - (distance[2] === 0 && distance[3] < 0) - ) { - continue; - } - if (nearestContainingItem === null) { - containerDistance = distance; - nearestContainingItem = mapItem; - containerKey = i; - continue; - } - // closer line more relevant than closer column - const closerBefore = - distance[0] < containerDistance[0] || - (distance[0] === 0 && distance[1] < containerDistance[1]); - const closerAfter = - distance[2] < containerDistance[2] || - (distance[2] === 0 && distance[3] < containerDistance[3]); - if (closerBefore || closerAfter) { - // closer - containerDistance = distance; - nearestContainingItem = mapItem; - containerKey = i; - } - } - return containerKey; -}; - -// either add two numbers, or all matching entries in a number[] -const addHits = (aHits, bHits) => { - if (typeof aHits === 'number' && typeof bHits === 'number') { - return aHits + bHits; - } else if (Array.isArray(aHits) && Array.isArray(bHits)) { - return aHits.map((a, i) => (a || 0) + (bHits[i] || 0)); - } - return null; -}; - -const addNearestContainerHits = (item, itemHits, map, mapHits) => { - const container = findNearestContainer(item, map); - if (container) { - return addHits(itemHits, mapHits[container]); - } else { - return itemHits; - } -}; - -const mergeProp = (aHits, aMap, bHits, bMap, itemKey = keyFromLoc) => { - const aItems = {}; - for (const [key, itemHits] of Object.entries(aHits)) { - const item = aMap[key]; - aItems[itemKey(item)] = [itemHits, item]; - } - const bItems = {}; - for (const [key, itemHits] of Object.entries(bHits)) { - const item = bMap[key]; - bItems[itemKey(item)] = [itemHits, item]; - } - const mergedItems = {}; - for (const [key, aValue] of Object.entries(aItems)) { - let aItemHits = aValue[0]; - const aItem = aValue[1]; - const bValue = bItems[key]; - if (!bValue) { - // not an identified range in b, but might be contained by one - aItemHits = addNearestContainerHits(aItem, aItemHits, bMap, bHits); - } else { - // is an identified range in b, so add the hits together - aItemHits = addHits(aItemHits, bValue[0]); - } - mergedItems[key] = [aItemHits, aItem]; - } - // now find the items in b that are not in a. already added matches. - for (const [key, bValue] of Object.entries(bItems)) { - let bItemHits = bValue[0]; - const bItem = bValue[1]; - if (mergedItems[key]) continue; - // not an identified range in b, but might be contained by one - bItemHits = addNearestContainerHits(bItem, bItemHits, aMap, aHits); - mergedItems[key] = [bItemHits, bItem]; - } - - const hits = {}; - const map = {}; - - Object.values(mergedItems).forEach(([itemHits, item], i) => { - hits[i] = itemHits; - map[i] = item; - }); - - return [hits, map]; -}; - -/** - * provides a read-only view of coverage for a single file. - * The deep structure of this object is documented elsewhere. It has the following - * properties: - * - * * `path` - the file path for which coverage is being tracked - * * `statementMap` - map of statement locations keyed by statement index - * * `fnMap` - map of function metadata keyed by function index - * * `branchMap` - map of branch metadata keyed by branch index - * * `s` - hit counts for statements - * * `f` - hit count for functions - * * `b` - hit count for branches - */ -class FileCoverage { - /** - * @constructor - * @param {Object|FileCoverage|String} pathOrObj is a string that initializes - * and empty coverage object with the specified file path or a data object that - * has all the required properties for a file coverage object. - */ - constructor(pathOrObj, reportLogic = false) { - if (!pathOrObj) { - throw new Error( - 'Coverage must be initialized with a path or an object' - ); - } - if (typeof pathOrObj === 'string') { - this.data = emptyCoverage(pathOrObj, reportLogic); - } else if (pathOrObj instanceof FileCoverage) { - this.data = pathOrObj.data; - } else if (typeof pathOrObj === 'object') { - this.data = pathOrObj; - } else { - throw new Error('Invalid argument to coverage constructor'); - } - assertValidObject(this.data); - } - - /** - * returns computed line coverage from statement coverage. - * This is a map of hits keyed by line number in the source. - */ - getLineCoverage() { - const statementMap = this.data.statementMap; - const statements = this.data.s; - const lineMap = Object.create(null); - - Object.entries(statements).forEach(([st, count]) => { - /* istanbul ignore if: is this even possible? */ - if (!statementMap[st]) { - return; - } - const { line } = statementMap[st].start; - const prevVal = lineMap[line]; - if (prevVal === undefined || prevVal < count) { - lineMap[line] = count; - } - }); - return lineMap; - } - - /** - * returns an array of uncovered line numbers. - * @returns {Array} an array of line numbers for which no hits have been - * collected. - */ - getUncoveredLines() { - const lc = this.getLineCoverage(); - const ret = []; - Object.entries(lc).forEach(([l, hits]) => { - if (hits === 0) { - ret.push(l); - } - }); - return ret; - } - - /** - * returns a map of branch coverage by source line number. - * @returns {Object} an object keyed by line number. Each object - * has a `covered`, `total` and `coverage` (percentage) property. - */ - getBranchCoverageByLine() { - const branchMap = this.branchMap; - const branches = this.b; - const ret = {}; - Object.entries(branchMap).forEach(([k, map]) => { - const line = map.line || map.loc.start.line; - const branchData = branches[k]; - ret[line] = ret[line] || []; - ret[line].push(...branchData); - }); - Object.entries(ret).forEach(([k, dataArray]) => { - const covered = dataArray.filter(item => item > 0); - const coverage = (covered.length / dataArray.length) * 100; - ret[k] = { - covered: covered.length, - total: dataArray.length, - coverage - }; - }); - return ret; - } - - /** - * return a JSON-serializable POJO for this file coverage object - */ - toJSON() { - return this.data; - } - - /** - * merges a second coverage object into this one, updating hit counts - * @param {FileCoverage} other - the coverage object to be merged into this one. - * Note that the other object should have the same structure as this one (same file). - */ - merge(other) { - if (other.all === true) { - return; - } - - if (this.all === true) { - this.data = other.data; - return; - } - - let [hits, map] = mergeProp( - this.s, - this.statementMap, - other.s, - other.statementMap - ); - this.data.s = hits; - this.data.statementMap = map; - - const keyFromLocProp = x => keyFromLoc(x.loc); - const keyFromLocationsProp = x => keyFromLoc(x.locations[0]); - - [hits, map] = mergeProp( - this.f, - this.fnMap, - other.f, - other.fnMap, - keyFromLocProp - ); - this.data.f = hits; - this.data.fnMap = map; - - [hits, map] = mergeProp( - this.b, - this.branchMap, - other.b, - other.branchMap, - keyFromLocationsProp - ); - this.data.b = hits; - this.data.branchMap = map; - - // Tracking additional information about branch truthiness - // can be optionally enabled: - if (this.bT && other.bT) { - [hits, map] = mergeProp( - this.bT, - this.branchMap, - other.bT, - other.branchMap, - keyFromLocationsProp - ); - this.data.bT = hits; - } - } - - computeSimpleTotals(property) { - let stats = this[property]; - - if (typeof stats === 'function') { - stats = stats.call(this); - } - - const ret = { - total: Object.keys(stats).length, - covered: Object.values(stats).filter(v => !!v).length, - skipped: 0 - }; - ret.pct = percent(ret.covered, ret.total); - return ret; - } - - computeBranchTotals(property) { - const stats = this[property]; - const ret = { total: 0, covered: 0, skipped: 0 }; - - Object.values(stats).forEach(branches => { - ret.covered += branches.filter(hits => hits > 0).length; - ret.total += branches.length; - }); - ret.pct = percent(ret.covered, ret.total); - return ret; - } - - /** - * resets hit counts for all statements, functions and branches - * in this coverage object resulting in zero coverage. - */ - resetHits() { - const statements = this.s; - const functions = this.f; - const branches = this.b; - const branchesTrue = this.bT; - Object.keys(statements).forEach(s => { - statements[s] = 0; - }); - Object.keys(functions).forEach(f => { - functions[f] = 0; - }); - Object.keys(branches).forEach(b => { - branches[b].fill(0); - }); - // Tracking additional information about branch truthiness - // can be optionally enabled: - if (branchesTrue) { - Object.keys(branchesTrue).forEach(bT => { - branchesTrue[bT].fill(0); - }); - } - } - - /** - * returns a CoverageSummary for this file coverage object - * @returns {CoverageSummary} - */ - toSummary() { - const ret = {}; - ret.lines = this.computeSimpleTotals('getLineCoverage'); - ret.functions = this.computeSimpleTotals('f', 'fnMap'); - ret.statements = this.computeSimpleTotals('s', 'statementMap'); - ret.branches = this.computeBranchTotals('b'); - // Tracking additional information about branch truthiness - // can be optionally enabled: - if (this.bT) { - ret.branchesTrue = this.computeBranchTotals('bT'); - } - return new CoverageSummary(ret); - } -} - -// expose coverage data attributes -dataProperties(FileCoverage, [ - 'path', - 'statementMap', - 'fnMap', - 'branchMap', - 's', - 'f', - 'b', - 'bT', - 'all' -]); - -module.exports = { - FileCoverage, - // exported for testing - findNearestContainer, - addHits, - addNearestContainerHits -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/percent.js b/lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/percent.js deleted file mode 100644 index c7b7aafa..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/lib/percent.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -module.exports = function percent(covered, total) { - let tmp; - if (total > 0) { - tmp = (1000 * 100 * covered) / total; - return Math.floor(tmp / 10) / 100; - } else { - return 100.0; - } -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/package.json b/lambdas/risk-engine/node_modules/istanbul-lib-coverage/package.json deleted file mode 100644 index deefa79a..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-coverage/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "istanbul-lib-coverage", - "version": "3.2.2", - "description": "Data library for istanbul coverage objects", - "author": "Krishnan Anantheswaran ", - "main": "index.js", - "files": [ - "lib", - "index.js" - ], - "scripts": { - "test": "nyc mocha" - }, - "devDependencies": { - "chai": "^4.2.0", - "mocha": "^6.2.2", - "nyc": "^15.0.0-beta.2" - }, - "karmaDeps": { - "browserify-istanbul": "^0.2.1", - "karma": "^0.13.10", - "karma-browserify": "^4.2.1", - "karma-chrome-launcher": "^0.2.0", - "karma-coverage": "^0.4.2", - "karma-mocha": "^0.2.0", - "karma-phantomjs-launcher": "^0.2.0", - "phantomjs": "^1.9.17" - }, - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/istanbuljs/istanbuljs.git", - "directory": "packages/istanbul-lib-coverage" - }, - "keywords": [ - "istanbul", - "coverage", - "data" - ], - "license": "BSD-3-Clause", - "bugs": { - "url": "https://github.com/istanbuljs/istanbuljs/issues" - }, - "homepage": "https://istanbul.js.org/", - "engines": { - "node": ">=8" - } -} diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/CHANGELOG.md b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/CHANGELOG.md deleted file mode 100644 index 3c2c9780..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/CHANGELOG.md +++ /dev/null @@ -1,664 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [6.0.3](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument-v6.0.2...istanbul-lib-instrument-v6.0.3) (2024-06-30) - - -### Bug Fixes - -* allow use of importAttributes Babel parser plugin ([#786](https://github.com/istanbuljs/istanbuljs/issues/786)) ([a44a124](https://github.com/istanbuljs/istanbuljs/commit/a44a124a600a798165f157d643f1fdb095c74f95)) - -## [6.0.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument-v6.0.1...istanbul-lib-instrument-v6.0.2) (2024-02-19) - - -### Bug Fixes - -* **deps:** update deps addressing CVE-2023-45133 ([e67a405](https://github.com/istanbuljs/istanbuljs/commit/e67a4052ef647857fab9a465aaf293ff9d966b44)) - -## [6.0.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument-v6.0.0...istanbul-lib-instrument-v6.0.1) (2023-10-04) - - -### Bug Fixes - -* globalThis with CSP compatibility ([#734](https://github.com/istanbuljs/istanbuljs/issues/734)) ([8b1baa8](https://github.com/istanbuljs/istanbuljs/commit/8b1baa8f45b6457ae2b467ddc5d4b6d9d9ea8690)) -* support ESM when reading coverage ([#692](https://github.com/istanbuljs/istanbuljs/issues/692)) ([fc509cc](https://github.com/istanbuljs/istanbuljs/commit/fc509ccdc8bf5215672aa6f00551dec2e512124f)) - -## [6.0.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument-v5.2.1...istanbul-lib-instrument-v6.0.0) (2023-07-25) - - -### ⚠ BREAKING CHANGES - -* **deps:** minimum Node version bumped to 10. - -### Bug Fixes - -* **deps:** upgrade semver CVE-2022-25883 ([#731](https://github.com/istanbuljs/istanbuljs/issues/731)) ([d8399f3](https://github.com/istanbuljs/istanbuljs/commit/d8399f39eab6767a6fca5ef3b1b458a14d48775a)) - -## [5.2.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument-v5.2.0...istanbul-lib-instrument-v5.2.1) (2022-10-05) - - -### Bug Fixes - -* handle error when inputSourceMap is not a plain object ([#662](https://github.com/istanbuljs/istanbuljs/issues/662)) ([3e3611f](https://github.com/istanbuljs/istanbuljs/commit/3e3611f0efffefd5f87e6cbccd840e9f33aaf43e)) - -## [5.2.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument-v5.1.0...istanbul-lib-instrument-v5.2.0) (2022-02-21) - - -### Features - -* exclude Empty Object and Arrays in Truthy Detection ([#666](https://github.com/istanbuljs/istanbuljs/issues/666)) ([e279684](https://github.com/istanbuljs/istanbuljs/commit/e279684e735f4b7dbe2b632cde2515f6862099de)) - -## [5.1.0](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument-v5.0.4...istanbul-lib-instrument-v5.1.0) (2021-10-27) - - -### Features - -* option to evaluate logical truthiness, for applications such as fuzzing ([#629](https://www.github.com/istanbuljs/istanbuljs/issues/629)) ([a743b84](https://www.github.com/istanbuljs/istanbuljs/commit/a743b8442e977f0c77ffa282eed7ac84ca200d1f)) - -### [5.0.4](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument-v5.0.3...istanbul-lib-instrument-v5.0.4) (2021-10-16) - - -### Bug Fixes - -* **magic-value:** make incrementing magic value a manual step ([#641](https://www.github.com/istanbuljs/istanbuljs/issues/641)) ([823010b](https://www.github.com/istanbuljs/istanbuljs/commit/823010b821cf81bd91377d75fc83f0875925db66)) - -### [5.0.3](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument-v5.0.2...istanbul-lib-instrument-v5.0.3) (2021-10-06) - - -### Bug Fixes - -* coverage.branchMap else location. ([#633](https://www.github.com/istanbuljs/istanbuljs/issues/633)) ([eb4b4ec](https://www.github.com/istanbuljs/istanbuljs/commit/eb4b4ec8f4b858655a66b0033fcc662f44ef4cc9)) - -### [5.0.2](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument-v5.0.1...istanbul-lib-instrument-v5.0.2) (2021-09-13) - - -### Bug Fixes - -* **build:** verify automated publication ([b232690](https://www.github.com/istanbuljs/istanbuljs/commit/b232690193f4b524332046c96dd1cdc6e881c6c7)) - -### [5.0.1](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument-v5.0.0...istanbul-lib-instrument-v5.0.1) (2021-09-13) - - -### Bug Fixes - -* **build:** verify automated publication ([74c96bd](https://www.github.com/istanbuljs/istanbuljs/commit/74c96bdc4224a06e2e1166ebd9adf8faf28438b1)) - -## [5.0.0](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument-v4.0.3...istanbul-lib-instrument-v5.0.0) (2021-09-13) - - -### ⚠ BREAKING CHANGES - -* istanbul-lib-instrument no longer uses babel - -### Code Refactoring - -* istanbul-lib-instrument no longer uses babel ([8d3badb](https://www.github.com/istanbuljs/istanbuljs/commit/8d3badb8f6c9a4bed9af8e19c3ac6459ebd7267b)) - -## [4.0.3](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@4.0.2...istanbul-lib-instrument@4.0.3) (2020-05-09) - - -### Bug Fixes - -* Prevent readInitialCoverage from reading babel config ([#562](https://github.com/istanbuljs/istanbuljs/issues/562)) ([49b4745](https://github.com/istanbuljs/istanbuljs/commit/49b474525c15e703642916011bd86f663aca0c3d)) - - - - - -## [4.0.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@4.0.1...istanbul-lib-instrument@4.0.2) (2020-05-06) - - -### Bug Fixes - -* Add ts-ignore to reassignment of generated function ([#557](https://github.com/istanbuljs/istanbuljs/issues/557)) ([817efb0](https://github.com/istanbuljs/istanbuljs/commit/817efb04fc161efae426b2231a0221606b09f559)) -* Use @babel/core for all babel imports. ([#555](https://github.com/istanbuljs/istanbuljs/issues/555)) ([a99a13e](https://github.com/istanbuljs/istanbuljs/commit/a99a13ee6931fc124a2a723c3f511cdbcb0aa81d)) - - - - - -## [4.0.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@4.0.0...istanbul-lib-instrument@4.0.1) (2020-02-03) - - -### Bug Fixes - -* Always call coverage initialization function ([#524](https://github.com/istanbuljs/istanbuljs/issues/524)) ([c6536c1](https://github.com/istanbuljs/istanbuljs/commit/c6536c14bf0663ca7e0493dd40ea132b05352594)) - - - - - -# [4.0.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@4.0.0-alpha.3...istanbul-lib-instrument@4.0.0) (2019-12-20) - -**Note:** Version bump only for package istanbul-lib-instrument - - - - - -# [4.0.0-alpha.3](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@4.0.0-alpha.2...istanbul-lib-instrument@4.0.0-alpha.3) (2019-12-07) - -**Note:** Version bump only for package istanbul-lib-instrument - - - - - -# [4.0.0-alpha.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@4.0.0-alpha.1...istanbul-lib-instrument@4.0.0-alpha.2) (2019-11-01) - - -### Bug Fixes - -* Produce properly merged source-maps when inputSourceMap is provided ([#487](https://github.com/istanbuljs/istanbuljs/issues/487)) ([8f8c88e](https://github.com/istanbuljs/istanbuljs/commit/8f8c88e3a2add4c08729e41e356aa7981dc69d4d)) - - - - - -# [4.0.0-alpha.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@4.0.0-alpha.0...istanbul-lib-instrument@4.0.0-alpha.1) (2019-10-06) - - -### Bug Fixes - -* Eliminate babel hoisting of the coverage variable ([#481](https://github.com/istanbuljs/istanbuljs/issues/481)) ([8dfbcba](https://github.com/istanbuljs/istanbuljs/commit/8dfbcba)), closes [#92](https://github.com/istanbuljs/istanbuljs/issues/92) -* Honor ignore hints in chained if statements ([#469](https://github.com/istanbuljs/istanbuljs/issues/469)) ([a629770](https://github.com/istanbuljs/istanbuljs/commit/a629770)), closes [#468](https://github.com/istanbuljs/istanbuljs/issues/468) -* Populate lastFileCoverage for already instrumented files ([#470](https://github.com/istanbuljs/istanbuljs/issues/470)) ([ea6d779](https://github.com/istanbuljs/istanbuljs/commit/ea6d779)), closes [istanbuljs/nyc#594](https://github.com/istanbuljs/nyc/issues/594) - - -### Features - -* Use @istanbuljs/schema to pull defaults ([#485](https://github.com/istanbuljs/istanbuljs/issues/485)) ([87e27f3](https://github.com/istanbuljs/istanbuljs/commit/87e27f3)), closes [#460](https://github.com/istanbuljs/istanbuljs/issues/460) - - -### BREAKING CHANGES - -* The defaults for `autoWrap`, `preserveComments`, -`esModules` and `produceSourceMap` are now true. This applies only to -the stand-alone instrumenter, the visitor does not use these options. -* The `flow` and `jsx` parser plugins are no longer -enabled by default. This applies only to the stand-alone instrumenter, -the visitor does not use this option. -* The `plugins` option of the stand-alone instrumenter -has been renamed to `parserPlugins` to match nyc. - - - - - -# [4.0.0-alpha.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@3.3.0...istanbul-lib-instrument@4.0.0-alpha.0) (2019-06-19) - - -### Features - -* Update dependencies, require Node.js 8 ([#401](https://github.com/istanbuljs/istanbuljs/issues/401)) ([bf3a539](https://github.com/istanbuljs/istanbuljs/commit/bf3a539)) - - -### BREAKING CHANGES - -* Node.js 8 is now required - - - - - -# [3.3.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@3.2.0...istanbul-lib-instrument@3.3.0) (2019-04-24) - - -### Features - -* Enable classProperties and classPrivateProperties parsers and coverage. ([#379](https://github.com/istanbuljs/istanbuljs/issues/379)) ([c09dc38](https://github.com/istanbuljs/istanbuljs/commit/c09dc38)) - - - - - -# [3.2.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@3.1.2...istanbul-lib-instrument@3.2.0) (2019-04-09) - - -### Features - -* Add bigInt and importMeta to default parser plugins. ([#356](https://github.com/istanbuljs/istanbuljs/issues/356)) ([fb4d6ed](https://github.com/istanbuljs/istanbuljs/commit/fb4d6ed)), closes [#338](https://github.com/istanbuljs/istanbuljs/issues/338) - - - - - -## [3.1.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@3.1.1...istanbul-lib-instrument@3.1.2) (2019-04-03) - - -### Bug Fixes - -* Be more friendly to ts-node. ([#352](https://github.com/istanbuljs/istanbuljs/issues/352)) ([40d15f5](https://github.com/istanbuljs/istanbuljs/commit/40d15f5)), closes [#336](https://github.com/istanbuljs/istanbuljs/issues/336) - - - - - -## [3.1.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@3.1.0...istanbul-lib-instrument@3.1.1) (2019-03-12) - - -### Bug Fixes - -* Honor istanbul ignore next hints placed before export statement. ([#298](https://github.com/istanbuljs/istanbuljs/issues/298)) ([f24795d](https://github.com/istanbuljs/istanbuljs/commit/f24795d)), closes [#297](https://github.com/istanbuljs/istanbuljs/issues/297) - - - - - -# [3.1.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@3.0.1...istanbul-lib-instrument@3.1.0) (2019-01-26) - - -### Features - -* dont skip for loop initialization instrumentation ([#188](https://github.com/istanbuljs/istanbuljs/issues/188)) ([2e0258e](https://github.com/istanbuljs/istanbuljs/commit/2e0258e)) -* New options coverageGlobalScope and coverageGlobalScopeFunc. ([#200](https://github.com/istanbuljs/istanbuljs/issues/200)) ([25509c7](https://github.com/istanbuljs/istanbuljs/commit/25509c7)), closes [#199](https://github.com/istanbuljs/istanbuljs/issues/199) - - - - - - -## [3.0.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@3.0.0...istanbul-lib-instrument@3.0.1) (2018-12-25) - - - - -**Note:** Version bump only for package istanbul-lib-instrument - - -# [3.0.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@2.3.2...istanbul-lib-instrument@3.0.0) (2018-09-06) - - -### Chores - -* Update test for babel 7. ([#218](https://github.com/istanbuljs/istanbuljs/issues/218)) ([9cf4d43](https://github.com/istanbuljs/istanbuljs/commit/9cf4d43)), closes [#205](https://github.com/istanbuljs/istanbuljs/issues/205) - - -### Features - -* Add option plugins ([#205](https://github.com/istanbuljs/istanbuljs/issues/205)) ([312f81f](https://github.com/istanbuljs/istanbuljs/commit/312f81f)) -* Update babel to 7.0.0. ([#215](https://github.com/istanbuljs/istanbuljs/issues/215)) ([8a96613](https://github.com/istanbuljs/istanbuljs/commit/8a96613)) - - -### BREAKING CHANGES - -* was added which requires an option for the `decorators` -plugin. Add it to get tests working again, commit updated api.md. - - - - - -## [2.3.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@2.3.1...istanbul-lib-instrument@2.3.2) (2018-07-24) - - - - -**Note:** Version bump only for package istanbul-lib-instrument - - -## [2.3.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@2.3.0...istanbul-lib-instrument@2.3.1) (2018-07-07) - - -### Bug Fixes - -* Don't ignore src/visitor.js for self test. ([#194](https://github.com/istanbuljs/istanbuljs/issues/194)) ([71b815d](https://github.com/istanbuljs/istanbuljs/commit/71b815d)) - - - - - -# [2.3.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@2.2.1...istanbul-lib-instrument@2.3.0) (2018-06-27) - - -### Features - -* update pinned babel version to latest release. ([#189](https://github.com/istanbuljs/istanbuljs/issues/189)) ([ac8ec07](https://github.com/istanbuljs/istanbuljs/commit/ac8ec07)) - - - - - -## [2.2.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@2.2.0...istanbul-lib-instrument@2.2.1) (2018-06-26) - - -### Bug Fixes - -* Instrument ObjectMethod's. ([#182](https://github.com/istanbuljs/istanbuljs/issues/182)) ([126f09d](https://github.com/istanbuljs/istanbuljs/commit/126f09d)) -* update default args test guard to work on supported versions. ([#185](https://github.com/istanbuljs/istanbuljs/issues/185)) ([955511a](https://github.com/istanbuljs/istanbuljs/commit/955511a)) - - - - - -# [2.2.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@2.0.2...istanbul-lib-instrument@2.2.0) (2018-06-06) - - -### Features - -* add support for optional catch binding ([#175](https://github.com/istanbuljs/istanbuljs/issues/175)) ([088dd9f](https://github.com/istanbuljs/istanbuljs/commit/088dd9f)) - - - - - -# [2.1.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@2.0.2...istanbul-lib-instrument@2.1.0) (2018-05-31) - - -### Features - -* add support for optional catch binding ([#175](https://github.com/istanbuljs/istanbuljs/issues/175)) ([088dd9f](https://github.com/istanbuljs/istanbuljs/commit/088dd9f)) - - - - - -## [2.0.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@2.0.1...istanbul-lib-instrument@2.0.2) (2018-05-31) - - - - -**Note:** Version bump only for package istanbul-lib-instrument - - -## [2.0.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@2.0.0...istanbul-lib-instrument@2.0.1) (2018-05-31) - - -### Bug Fixes - -* should import [@babel](https://github.com/babel)/template ([85a0d1a](https://github.com/istanbuljs/istanbuljs/commit/85a0d1a)) - - - - - -# [2.0.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@1.10.1...istanbul-lib-instrument@2.0.0) (2018-05-31) - - -### Bug Fixes - -* parenthesize superClass on non-identifier case ([#158](https://github.com/istanbuljs/istanbuljs/issues/158)) ([6202c88](https://github.com/istanbuljs/istanbuljs/commit/6202c88)) - - -### Chores - -* upgrade babel in instrumenter ([#174](https://github.com/istanbuljs/istanbuljs/issues/174)) ([ce23e91](https://github.com/istanbuljs/istanbuljs/commit/ce23e91)) - - -### BREAKING CHANGES - -* babel@7 drops Node@4 support - - - - - -## [1.10.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@1.10.0...istanbul-lib-instrument@1.10.1) (2018-03-09) - - -### Bug Fixes - -* default value for ignoreClassMethods ([#151](https://github.com/istanbuljs/istanbuljs/issues/151)) ([5dd88e8](https://github.com/istanbuljs/istanbuljs/commit/5dd88e8)) - - - - - -# [1.10.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@1.9.2...istanbul-lib-instrument@1.10.0) (2018-03-04) - - -### Features - -* allows an array of ignored method names to be provided ([#127](https://github.com/istanbuljs/istanbuljs/issues/127)) ([67918e2](https://github.com/istanbuljs/istanbuljs/commit/67918e2)) - - - - - -## [1.9.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@1.9.1...istanbul-lib-instrument@1.9.2) (2018-02-13) - - -### Bug Fixes - -* compatibility with babel 7 ([#135](https://github.com/istanbuljs/istanbuljs/issues/135)) ([6cac849](https://github.com/istanbuljs/istanbuljs/commit/6cac849)) -* handle instrumentation when a function is called Function ([#131](https://github.com/istanbuljs/istanbuljs/issues/131)) ([b12a07e](https://github.com/istanbuljs/istanbuljs/commit/b12a07e)) -* proper passing of the preserveComments option to babel ([#122](https://github.com/istanbuljs/istanbuljs/issues/122)) ([470bb0e](https://github.com/istanbuljs/istanbuljs/commit/470bb0e)) -* update instrument, account for lack of arrow expression ([#119](https://github.com/istanbuljs/istanbuljs/issues/119)) ([#125](https://github.com/istanbuljs/istanbuljs/issues/125)) ([0968206](https://github.com/istanbuljs/istanbuljs/commit/0968206)) - - - - - -## [1.9.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@1.9.0...istanbul-lib-instrument@1.9.1) (2017-10-22) - - -### Bug Fixes - -* address issue with class instrumentation ([#111](https://github.com/istanbuljs/istanbuljs/issues/111)) ([cbd1c14](https://github.com/istanbuljs/istanbuljs/commit/cbd1c14)) - - - - - -# [1.9.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@1.8.0...istanbul-lib-instrument@1.9.0) (2017-10-21) - - -### Bug Fixes - -* support conditional expression for superClass ([#106](https://github.com/istanbuljs/istanbuljs/issues/106)) ([aae256f](https://github.com/istanbuljs/istanbuljs/commit/aae256f)) - - -### Features - -* add support for ignoring entire files ([#108](https://github.com/istanbuljs/istanbuljs/issues/108)) ([f12da65](https://github.com/istanbuljs/istanbuljs/commit/f12da65)) - - - - - -# [1.8.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@1.7.5...istanbul-lib-instrument@1.8.0) (2017-09-05) - - -### Features - -* add support for object-spread syntax ([#82](https://github.com/istanbuljs/istanbuljs/issues/82)) ([28d5566](https://github.com/istanbuljs/istanbuljs/commit/28d5566)) - - - - - -## [1.7.5](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@1.7.4...istanbul-lib-instrument@1.7.5) (2017-08-23) - - -### Bug Fixes - -* name of function is now preserved or named exports ([#79](https://github.com/istanbuljs/istanbuljs/issues/79)) ([2ce8974](https://github.com/istanbuljs/istanbuljs/commit/2ce8974)) - - - - - -## [1.7.4](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@1.7.3...istanbul-lib-instrument@1.7.4) (2017-07-16) - - -### Bug Fixes - -* update increment operator to appropriate expression type ([#74](https://github.com/istanbuljs/istanbuljs/issues/74)) ([dc69e66](https://github.com/istanbuljs/istanbuljs/commit/dc69e66)) - - - - - -## [1.7.3](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@1.7.2...istanbul-lib-instrument@1.7.3) (2017-06-25) - - - - - -## [1.7.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-instrument@1.7.1...istanbul-lib-instrument@1.7.2) (2017-05-27) - - -### Bug Fixes - -* hoist statement counter for class variables, so that name is preserved ([#60](https://github.com/istanbuljs/istanbuljs/issues/60)) ([120d221](https://github.com/istanbuljs/istanbuljs/commit/120d221)) - - - - - -## [1.7.1](https://github.com/istanbuljs/istanbul-lib-instrument/compare/istanbul-lib-instrument@1.7.0...istanbul-lib-instrument@1.7.1) (2017-04-29) - - -### Bug Fixes - -* don't instrument a file if it has already been instrumented ([#38](https://github.com/istanbuljs/istanbuljs/issues/38)) ([9c38e4e](https://github.com/istanbuljs/istanbul-lib-instrument/commit/9c38e4e)) - - - - - -# [1.7.0](https://github.com/istanbuljs/istanbul-lib-instrument/compare/istanbul-lib-instrument@1.6.2...istanbul-lib-instrument@1.7.0) (2017-03-27) - - -### Features - -* use extended babylon support; adding features such as jsx ([#22](https://github.com/istanbuljs/istanbuljs/issues/22)) ([11c2438](https://github.com/istanbuljs/istanbul-lib-instrument/commit/11c2438)) - - -## [1.6.2](https://github.com/istanbuljs/istanbul-lib-instrument/compare/istanbul-lib-instrument@1.6.1...istanbul-lib-instrument@1.6.2) (2017-03-22) - - -### Bug Fixes - -* loc is sometimes not defined, so loc.start fails see [#99](https://github.com/istanbuljs/istanbuljs/issues/99) ([#18](https://github.com/istanbuljs/istanbuljs/issues/18)) ([df85ba6](https://github.com/istanbuljs/istanbul-lib-instrument/commit/df85ba6)) - - -## [1.6.1](https://github.com/istanbuljs/istanbul-lib-instrument/compare/istanbul-lib-instrument@1.6.0...istanbul-lib-instrument@1.6.1) (2017-03-21) - - -# [1.6.0](https://github.com/istanbuljs/istanbul-lib-instrument/compare/istanbul-lib-instrument@1.4.2...istanbul-lib-instrument@1.6.0) (2017-03-21) - - -### Features - -* adds line number property back to coverage.json ([b03b927](https://github.com/istanbuljs/istanbul-lib-instrument/commit/b03b927)) - - -## [1.4.2](https://github.com/istanbuljs/istanbul-lib-instrument/compare/v1.4.1...v1.4.2) (2017-01-04) - - -### Bug Fixes - -* only hoist counter for a smaller subset of function declarations ([9f8931e](https://github.com/istanbuljs/istanbul-lib-instrument/commit/9f8931e)) - - - - -## [1.4.1](https://github.com/istanbuljs/istanbul-lib-instrument/compare/v1.4.0...v1.4.1) (2017-01-04) - - -### Bug Fixes - -* address regression discussed in https://github.com/istanbuljs/babel-plugin-istanbul/issues/78 ([#40](https://github.com/istanbuljs/istanbul-lib-instrument/issues/40)) ([7f458a3](https://github.com/istanbuljs/istanbul-lib-instrument/commit/7f458a3)) - - - - -# [1.4.0](https://github.com/istanbuljs/istanbul-lib-instrument/compare/v1.3.1...v1.4.0) (2017-01-02) - - -### Features - -* preserve inferred function names ([#38](https://github.com/istanbuljs/istanbul-lib-instrument/issues/38)) ([312666e](https://github.com/istanbuljs/istanbul-lib-instrument/commit/312666e)) - - - - -## [1.3.1](https://github.com/istanbuljs/istanbul-lib-instrument/compare/v1.3.0...v1.3.1) (2016-12-27) - - -### Bug Fixes - -* function declaration assignment now retains function name ([#33](https://github.com/istanbuljs/istanbul-lib-instrument/issues/33)) ([2d781da](https://github.com/istanbuljs/istanbul-lib-instrument/commit/2d781da)) - - - - -# [1.3.0](https://github.com/istanbuljs/istanbul-lib-instrument/compare/v1.2.0...v1.3.0) (2016-11-10) - - -### Features - -* allow an input source-map to be passed to instrumentSync() ([#23](https://github.com/istanbuljs/istanbul-lib-instrument/issues/23)) ([b08e4f5](https://github.com/istanbuljs/istanbul-lib-instrument/commit/b08e4f5)) - - - - -# [1.2.0](https://github.com/istanbuljs/istanbul-lib-instrument/compare/v1.1.4...v1.2.0) (2016-10-25) - - -### Features - -* implement function to extract empty coverage data from an instrumented file ([#28](https://github.com/istanbuljs/istanbul-lib-instrument/issues/28)) ([06d0ef6](https://github.com/istanbuljs/istanbul-lib-instrument/commit/06d0ef6)) - - - - -## [1.1.4](https://github.com/istanbuljs/istanbul-lib-instrument/compare/v1.1.3...v1.1.4) (2016-10-17) - - -### Bug Fixes - -* hoist coverage variable to very top of file ([#26](https://github.com/istanbuljs/istanbul-lib-instrument/issues/26)) ([0225e8c](https://github.com/istanbuljs/istanbul-lib-instrument/commit/0225e8c)) - - - - -## [1.1.3](https://github.com/istanbuljs/istanbul-lib-instrument/compare/v1.1.2...v1.1.3) (2016-09-13) - - -### Performance Improvements - -* simplify coverage variable naming https://github.com/istanbuljs/istanbul-lib-instrument/pull/24 ([7252aae](https://github.com/istanbuljs/istanbul-lib-instrument/commit/7252aae)) - - - - -## [1.1.2](https://github.com/istanbuljs/istanbul-lib-instrument/compare/v1.1.1...v1.1.2) (2016-09-08) - - -### Performance Improvements - -* use zero-based numeric indices for much faster instrumented code ([#22](https://github.com/istanbuljs/istanbul-lib-instrument/issues/22)) ([5b401f5](https://github.com/istanbuljs/istanbul-lib-instrument/commit/5b401f5)) - - - - -## [1.1.1](https://github.com/istanbuljs/istanbul-lib-instrument/compare/v1.1.0...v1.1.1) (2016-08-30) - - -### Bug Fixes - -* upgrade istanbul-lib-coverage ([eb9b1f6](https://github.com/istanbuljs/istanbul-lib-instrument/commit/eb9b1f6)) - - - - -# [1.1.0](https://github.com/istanbuljs/istanbul-lib-instrument/compare/v1.1.0-alpha.4...v1.1.0) (2016-08-11) - - -### Bug Fixes - -* guard against invalid loc ([#16](https://github.com/istanbuljs/istanbul-lib-instrument/issues/16)) ([23ebfc3](https://github.com/istanbuljs/istanbul-lib-instrument/commit/23ebfc3)) - - - - -# [1.1.0-alpha.4](https://github.com/istanbuljs/istanbul-lib-instrument/compare/v1.0.0-alpha.5...v1.1.0-alpha.4) (2016-07-20) - - -### Bug Fixes - -* require more performant babel-generator ([#15](https://github.com/istanbuljs/istanbul-lib-instrument/issues/15)) ([21b2563](https://github.com/istanbuljs/istanbul-lib-instrument/commit/21b2563)) diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/LICENSE b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/LICENSE deleted file mode 100644 index d55d2916..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/LICENSE +++ /dev/null @@ -1,24 +0,0 @@ -Copyright 2012-2015 Yahoo! Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of the Yahoo! Inc. nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL YAHOO! INC. BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/README.md b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/README.md deleted file mode 100644 index c02ac236..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/README.md +++ /dev/null @@ -1,22 +0,0 @@ -## istanbul-lib-instrument - -[![Build Status](https://travis-ci.org/istanbuljs/istanbul-lib-instrument.svg?branch=main)](https://travis-ci.org/istanbuljs/istanbul-lib-instrument) - -Istanbul instrumenter library. - -Version 1.1.x now implements instrumentation using `Babel`. The implementation is inspired -by prior art by @dtinth as demonstrated in the `__coverage__` babel plugin. - -It provides 2 "modes" of instrumentation. - -- The old API that is mostly unchanged (except for incompatibilities noted) and - performs the instrumentation using babel as a library. - -- A `programVisitor` function for the Babel AST that can be used by a Babel plugin - to emit instrumentation for ES6 code directly without any source map - processing. This is the preferred path for babel users. The Babel plugin is - called `babel-plugin-istanbul`. - -Incompatibilities and changes to instrumentation behavior can be found in -[v0-changes.md](v0-changes.md). - diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/.bin/semver b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/.bin/semver deleted file mode 120000 index 5aaadf42..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/.bin/semver +++ /dev/null @@ -1 +0,0 @@ -../semver/bin/semver.js \ No newline at end of file diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/LICENSE b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/LICENSE deleted file mode 100644 index 19129e31..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/LICENSE +++ /dev/null @@ -1,15 +0,0 @@ -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/README.md b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/README.md deleted file mode 100644 index e9d1bc5e..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/README.md +++ /dev/null @@ -1,665 +0,0 @@ -semver(1) -- The semantic versioner for npm -=========================================== - -## Install - -```bash -npm install semver -```` - -## Usage - -As a node module: - -```js -const semver = require('semver') - -semver.valid('1.2.3') // '1.2.3' -semver.valid('a.b.c') // null -semver.clean(' =v1.2.3 ') // '1.2.3' -semver.satisfies('1.2.3', '1.x || >=2.5.0 || 5.0.0 - 7.2.3') // true -semver.gt('1.2.3', '9.8.7') // false -semver.lt('1.2.3', '9.8.7') // true -semver.minVersion('>=1.0.0') // '1.0.0' -semver.valid(semver.coerce('v2')) // '2.0.0' -semver.valid(semver.coerce('42.6.7.9.3-alpha')) // '42.6.7' -``` - -You can also just load the module for the function that you care about if -you'd like to minimize your footprint. - -```js -// load the whole API at once in a single object -const semver = require('semver') - -// or just load the bits you need -// all of them listed here, just pick and choose what you want - -// classes -const SemVer = require('semver/classes/semver') -const Comparator = require('semver/classes/comparator') -const Range = require('semver/classes/range') - -// functions for working with versions -const semverParse = require('semver/functions/parse') -const semverValid = require('semver/functions/valid') -const semverClean = require('semver/functions/clean') -const semverInc = require('semver/functions/inc') -const semverDiff = require('semver/functions/diff') -const semverMajor = require('semver/functions/major') -const semverMinor = require('semver/functions/minor') -const semverPatch = require('semver/functions/patch') -const semverPrerelease = require('semver/functions/prerelease') -const semverCompare = require('semver/functions/compare') -const semverRcompare = require('semver/functions/rcompare') -const semverCompareLoose = require('semver/functions/compare-loose') -const semverCompareBuild = require('semver/functions/compare-build') -const semverSort = require('semver/functions/sort') -const semverRsort = require('semver/functions/rsort') - -// low-level comparators between versions -const semverGt = require('semver/functions/gt') -const semverLt = require('semver/functions/lt') -const semverEq = require('semver/functions/eq') -const semverNeq = require('semver/functions/neq') -const semverGte = require('semver/functions/gte') -const semverLte = require('semver/functions/lte') -const semverCmp = require('semver/functions/cmp') -const semverCoerce = require('semver/functions/coerce') - -// working with ranges -const semverSatisfies = require('semver/functions/satisfies') -const semverMaxSatisfying = require('semver/ranges/max-satisfying') -const semverMinSatisfying = require('semver/ranges/min-satisfying') -const semverToComparators = require('semver/ranges/to-comparators') -const semverMinVersion = require('semver/ranges/min-version') -const semverValidRange = require('semver/ranges/valid') -const semverOutside = require('semver/ranges/outside') -const semverGtr = require('semver/ranges/gtr') -const semverLtr = require('semver/ranges/ltr') -const semverIntersects = require('semver/ranges/intersects') -const semverSimplifyRange = require('semver/ranges/simplify') -const semverRangeSubset = require('semver/ranges/subset') -``` - -As a command-line utility: - -``` -$ semver -h - -A JavaScript implementation of the https://semver.org/ specification -Copyright Isaac Z. Schlueter - -Usage: semver [options] [ [...]] -Prints valid versions sorted by SemVer precedence - -Options: --r --range - Print versions that match the specified range. - --i --increment [] - Increment a version by the specified level. Level can - be one of: major, minor, patch, premajor, preminor, - prepatch, prerelease, or release. Default level is 'patch'. - Only one version may be specified. - ---preid - Identifier to be used to prefix premajor, preminor, - prepatch or prerelease version increments. - --l --loose - Interpret versions and ranges loosely - --n <0|1|false> - Base number for prerelease identifier (default: 0). - Use false to omit the number altogether. - --p --include-prerelease - Always include prerelease versions in range matching - --c --coerce - Coerce a string into SemVer if possible - (does not imply --loose) - ---rtl - Coerce version strings right to left - ---ltr - Coerce version strings left to right (default) - -Program exits successfully if any valid version satisfies -all supplied ranges, and prints all satisfying versions. - -If no satisfying versions are found, then exits failure. - -Versions are printed in ascending order, so supplying -multiple versions to the utility will just sort them. -``` - -## Versions - -A "version" is described by the `v2.0.0` specification found at -. - -A leading `"="` or `"v"` character is stripped off and ignored. -Support for stripping a leading "v" is kept for compatibility with `v1.0.0` of the SemVer -specification but should not be used anymore. - -## Ranges - -A `version range` is a set of `comparators` that specify versions -that satisfy the range. - -A `comparator` is composed of an `operator` and a `version`. The set -of primitive `operators` is: - -* `<` Less than -* `<=` Less than or equal to -* `>` Greater than -* `>=` Greater than or equal to -* `=` Equal. If no operator is specified, then equality is assumed, - so this operator is optional but MAY be included. - -For example, the comparator `>=1.2.7` would match the versions -`1.2.7`, `1.2.8`, `2.5.3`, and `1.3.9`, but not the versions `1.2.6` -or `1.1.0`. The comparator `>1` is equivalent to `>=2.0.0` and -would match the versions `2.0.0` and `3.1.0`, but not the versions -`1.0.1` or `1.1.0`. - -Comparators can be joined by whitespace to form a `comparator set`, -which is satisfied by the **intersection** of all of the comparators -it includes. - -A range is composed of one or more comparator sets, joined by `||`. A -version matches a range if and only if every comparator in at least -one of the `||`-separated comparator sets is satisfied by the version. - -For example, the range `>=1.2.7 <1.3.0` would match the versions -`1.2.7`, `1.2.8`, and `1.2.99`, but not the versions `1.2.6`, `1.3.0`, -or `1.1.0`. - -The range `1.2.7 || >=1.2.9 <2.0.0` would match the versions `1.2.7`, -`1.2.9`, and `1.4.6`, but not the versions `1.2.8` or `2.0.0`. - -### Prerelease Tags - -If a version has a prerelease tag (for example, `1.2.3-alpha.3`) then -it will only be allowed to satisfy comparator sets if at least one -comparator with the same `[major, minor, patch]` tuple also has a -prerelease tag. - -For example, the range `>1.2.3-alpha.3` would be allowed to match the -version `1.2.3-alpha.7`, but it would *not* be satisfied by -`3.4.5-alpha.9`, even though `3.4.5-alpha.9` is technically "greater -than" `1.2.3-alpha.3` according to the SemVer sort rules. The version -range only accepts prerelease tags on the `1.2.3` version. -Version `3.4.5` *would* satisfy the range because it does not have a -prerelease flag, and `3.4.5` is greater than `1.2.3-alpha.7`. - -The purpose of this behavior is twofold. First, prerelease versions -frequently are updated very quickly, and contain many breaking changes -that are (by the author's design) not yet fit for public consumption. -Therefore, by default, they are excluded from range-matching -semantics. - -Second, a user who has opted into using a prerelease version has -indicated the intent to use *that specific* set of -alpha/beta/rc versions. By including a prerelease tag in the range, -the user is indicating that they are aware of the risk. However, it -is still not appropriate to assume that they have opted into taking a -similar risk on the *next* set of prerelease versions. - -Note that this behavior can be suppressed (treating all prerelease -versions as if they were normal versions, for range-matching) -by setting the `includePrerelease` flag on the options -object to any -[functions](https://github.com/npm/node-semver#functions) that do -range matching. - -#### Prerelease Identifiers - -The method `.inc` takes an additional `identifier` string argument that -will append the value of the string as a prerelease identifier: - -```javascript -semver.inc('1.2.3', 'prerelease', 'beta') -// '1.2.4-beta.0' -``` - -command-line example: - -```bash -$ semver 1.2.3 -i prerelease --preid beta -1.2.4-beta.0 -``` - -Which then can be used to increment further: - -```bash -$ semver 1.2.4-beta.0 -i prerelease -1.2.4-beta.1 -``` - -To get out of the prerelease phase, use the `release` option: - -```bash -$ semver 1.2.4-beta.1 -i release -1.2.4 -``` - -#### Prerelease Identifier Base - -The method `.inc` takes an optional parameter 'identifierBase' string -that will let you let your prerelease number as zero-based or one-based. -Set to `false` to omit the prerelease number altogether. -If you do not specify this parameter, it will default to zero-based. - -```javascript -semver.inc('1.2.3', 'prerelease', 'beta', '1') -// '1.2.4-beta.1' -``` - -```javascript -semver.inc('1.2.3', 'prerelease', 'beta', false) -// '1.2.4-beta' -``` - -command-line example: - -```bash -$ semver 1.2.3 -i prerelease --preid beta -n 1 -1.2.4-beta.1 -``` - -```bash -$ semver 1.2.3 -i prerelease --preid beta -n false -1.2.4-beta -``` - -### Advanced Range Syntax - -Advanced range syntax desugars to primitive comparators in -deterministic ways. - -Advanced ranges may be combined in the same way as primitive -comparators using white space or `||`. - -#### Hyphen Ranges `X.Y.Z - A.B.C` - -Specifies an inclusive set. - -* `1.2.3 - 2.3.4` := `>=1.2.3 <=2.3.4` - -If a partial version is provided as the first version in the inclusive -range, then the missing pieces are replaced with zeroes. - -* `1.2 - 2.3.4` := `>=1.2.0 <=2.3.4` - -If a partial version is provided as the second version in the -inclusive range, then all versions that start with the supplied parts -of the tuple are accepted, but nothing that would be greater than the -provided tuple parts. - -* `1.2.3 - 2.3` := `>=1.2.3 <2.4.0-0` -* `1.2.3 - 2` := `>=1.2.3 <3.0.0-0` - -#### X-Ranges `1.2.x` `1.X` `1.2.*` `*` - -Any of `X`, `x`, or `*` may be used to "stand in" for one of the -numeric values in the `[major, minor, patch]` tuple. - -* `*` := `>=0.0.0` (Any non-prerelease version satisfies, unless - `includePrerelease` is specified, in which case any version at all - satisfies) -* `1.x` := `>=1.0.0 <2.0.0-0` (Matching major version) -* `1.2.x` := `>=1.2.0 <1.3.0-0` (Matching major and minor versions) - -A partial version range is treated as an X-Range, so the special -character is in fact optional. - -* `""` (empty string) := `*` := `>=0.0.0` -* `1` := `1.x.x` := `>=1.0.0 <2.0.0-0` -* `1.2` := `1.2.x` := `>=1.2.0 <1.3.0-0` - -#### Tilde Ranges `~1.2.3` `~1.2` `~1` - -Allows patch-level changes if a minor version is specified on the -comparator. Allows minor-level changes if not. - -* `~1.2.3` := `>=1.2.3 <1.(2+1).0` := `>=1.2.3 <1.3.0-0` -* `~1.2` := `>=1.2.0 <1.(2+1).0` := `>=1.2.0 <1.3.0-0` (Same as `1.2.x`) -* `~1` := `>=1.0.0 <(1+1).0.0` := `>=1.0.0 <2.0.0-0` (Same as `1.x`) -* `~0.2.3` := `>=0.2.3 <0.(2+1).0` := `>=0.2.3 <0.3.0-0` -* `~0.2` := `>=0.2.0 <0.(2+1).0` := `>=0.2.0 <0.3.0-0` (Same as `0.2.x`) -* `~0` := `>=0.0.0 <(0+1).0.0` := `>=0.0.0 <1.0.0-0` (Same as `0.x`) -* `~1.2.3-beta.2` := `>=1.2.3-beta.2 <1.3.0-0` Note that prereleases in - the `1.2.3` version will be allowed, if they are greater than or - equal to `beta.2`. So, `1.2.3-beta.4` would be allowed, but - `1.2.4-beta.2` would not, because it is a prerelease of a - different `[major, minor, patch]` tuple. - -#### Caret Ranges `^1.2.3` `^0.2.5` `^0.0.4` - -Allows changes that do not modify the left-most non-zero element in the -`[major, minor, patch]` tuple. In other words, this allows patch and -minor updates for versions `1.0.0` and above, patch updates for -versions `0.X >=0.1.0`, and *no* updates for versions `0.0.X`. - -Many authors treat a `0.x` version as if the `x` were the major -"breaking-change" indicator. - -Caret ranges are ideal when an author may make breaking changes -between `0.2.4` and `0.3.0` releases, which is a common practice. -However, it presumes that there will *not* be breaking changes between -`0.2.4` and `0.2.5`. It allows for changes that are presumed to be -additive (but non-breaking), according to commonly observed practices. - -* `^1.2.3` := `>=1.2.3 <2.0.0-0` -* `^0.2.3` := `>=0.2.3 <0.3.0-0` -* `^0.0.3` := `>=0.0.3 <0.0.4-0` -* `^1.2.3-beta.2` := `>=1.2.3-beta.2 <2.0.0-0` Note that prereleases in - the `1.2.3` version will be allowed, if they are greater than or - equal to `beta.2`. So, `1.2.3-beta.4` would be allowed, but - `1.2.4-beta.2` would not, because it is a prerelease of a - different `[major, minor, patch]` tuple. -* `^0.0.3-beta` := `>=0.0.3-beta <0.0.4-0` Note that prereleases in the - `0.0.3` version *only* will be allowed, if they are greater than or - equal to `beta`. So, `0.0.3-pr.2` would be allowed. - -When parsing caret ranges, a missing `patch` value desugars to the -number `0`, but will allow flexibility within that value, even if the -major and minor versions are both `0`. - -* `^1.2.x` := `>=1.2.0 <2.0.0-0` -* `^0.0.x` := `>=0.0.0 <0.1.0-0` -* `^0.0` := `>=0.0.0 <0.1.0-0` - -A missing `minor` and `patch` values will desugar to zero, but also -allow flexibility within those values, even if the major version is -zero. - -* `^1.x` := `>=1.0.0 <2.0.0-0` -* `^0.x` := `>=0.0.0 <1.0.0-0` - -### Range Grammar - -Putting all this together, here is a Backus-Naur grammar for ranges, -for the benefit of parser authors: - -```bnf -range-set ::= range ( logical-or range ) * -logical-or ::= ( ' ' ) * '||' ( ' ' ) * -range ::= hyphen | simple ( ' ' simple ) * | '' -hyphen ::= partial ' - ' partial -simple ::= primitive | partial | tilde | caret -primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial -partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? -xr ::= 'x' | 'X' | '*' | nr -nr ::= '0' | ['1'-'9'] ( ['0'-'9'] ) * -tilde ::= '~' partial -caret ::= '^' partial -qualifier ::= ( '-' pre )? ( '+' build )? -pre ::= parts -build ::= parts -parts ::= part ( '.' part ) * -part ::= nr | [-0-9A-Za-z]+ -``` - -## Functions - -All methods and classes take a final `options` object argument. All -options in this object are `false` by default. The options supported -are: - -- `loose`: Be more forgiving about not-quite-valid semver strings. - (Any resulting output will always be 100% strict compliant, of - course.) For backwards compatibility reasons, if the `options` - argument is a boolean value instead of an object, it is interpreted - to be the `loose` param. -- `includePrerelease`: Set to suppress the [default - behavior](https://github.com/npm/node-semver#prerelease-tags) of - excluding prerelease tagged versions from ranges unless they are - explicitly opted into. - -Strict-mode Comparators and Ranges will be strict about the SemVer -strings that they parse. - -* `valid(v)`: Return the parsed version, or null if it's not valid. -* `inc(v, releaseType, options, identifier, identifierBase)`: - Return the version incremented by the release - type (`major`, `premajor`, `minor`, `preminor`, `patch`, - `prepatch`, `prerelease`, or `release`), or null if it's not valid - * `premajor` in one call will bump the version up to the next major - version and down to a prerelease of that major version. - `preminor`, and `prepatch` work the same way. - * If called from a non-prerelease version, `prerelease` will work the - same as `prepatch`. It increments the patch version and then makes a - prerelease. If the input version is already a prerelease it simply - increments it. - * `release` will remove any prerelease part of the version. - * `identifier` can be used to prefix `premajor`, `preminor`, - `prepatch`, or `prerelease` version increments. `identifierBase` - is the base to be used for the `prerelease` identifier. -* `prerelease(v)`: Returns an array of prerelease components, or null - if none exist. Example: `prerelease('1.2.3-alpha.1') -> ['alpha', 1]` -* `major(v)`: Return the major version number. -* `minor(v)`: Return the minor version number. -* `patch(v)`: Return the patch version number. -* `intersects(r1, r2, loose)`: Return true if the two supplied ranges - or comparators intersect. -* `parse(v)`: Attempt to parse a string as a semantic version, returning either - a `SemVer` object or `null`. - -### Comparison - -* `gt(v1, v2)`: `v1 > v2` -* `gte(v1, v2)`: `v1 >= v2` -* `lt(v1, v2)`: `v1 < v2` -* `lte(v1, v2)`: `v1 <= v2` -* `eq(v1, v2)`: `v1 == v2` This is true if they're logically equivalent, - even if they're not the same string. You already know how to - compare strings. -* `neq(v1, v2)`: `v1 != v2` The opposite of `eq`. -* `cmp(v1, comparator, v2)`: Pass in a comparison string, and it'll call - the corresponding function above. `"==="` and `"!=="` do simple - string comparison, but are included for completeness. Throws if an - invalid comparison string is provided. -* `compare(v1, v2)`: Return `0` if `v1 == v2`, or `1` if `v1` is greater, or `-1` if - `v2` is greater. Sorts in ascending order if passed to `Array.sort()`. -* `rcompare(v1, v2)`: The reverse of `compare`. Sorts an array of versions - in descending order when passed to `Array.sort()`. -* `compareBuild(v1, v2)`: The same as `compare` but considers `build` when two versions - are equal. Sorts in ascending order if passed to `Array.sort()`. -* `compareLoose(v1, v2)`: Short for `compare(v1, v2, { loose: true })`. -* `diff(v1, v2)`: Returns the difference between two versions by the release type - (`major`, `premajor`, `minor`, `preminor`, `patch`, `prepatch`, or `prerelease`), - or null if the versions are the same. - -### Sorting - -* `sort(versions)`: Returns a sorted array of versions based on the `compareBuild` - function. -* `rsort(versions)`: The reverse of `sort`. Returns an array of versions based on - the `compareBuild` function in descending order. - -### Comparators - -* `intersects(comparator)`: Return true if the comparators intersect - -### Ranges - -* `validRange(range)`: Return the valid range or null if it's not valid. -* `satisfies(version, range)`: Return true if the version satisfies the - range. -* `maxSatisfying(versions, range)`: Return the highest version in the list - that satisfies the range, or `null` if none of them do. -* `minSatisfying(versions, range)`: Return the lowest version in the list - that satisfies the range, or `null` if none of them do. -* `minVersion(range)`: Return the lowest version that can match - the given range. -* `gtr(version, range)`: Return `true` if the version is greater than all the - versions possible in the range. -* `ltr(version, range)`: Return `true` if the version is less than all the - versions possible in the range. -* `outside(version, range, hilo)`: Return true if the version is outside - the bounds of the range in either the high or low direction. The - `hilo` argument must be either the string `'>'` or `'<'`. (This is - the function called by `gtr` and `ltr`.) -* `intersects(range)`: Return true if any of the range comparators intersect. -* `simplifyRange(versions, range)`: Return a "simplified" range that - matches the same items in the `versions` list as the range specified. Note - that it does *not* guarantee that it would match the same versions in all - cases, only for the set of versions provided. This is useful when - generating ranges by joining together multiple versions with `||` - programmatically, to provide the user with something a bit more - ergonomic. If the provided range is shorter in string-length than the - generated range, then that is returned. -* `subset(subRange, superRange)`: Return `true` if the `subRange` range is - entirely contained by the `superRange` range. - -Note that, since ranges may be non-contiguous, a version might not be -greater than a range, less than a range, *or* satisfy a range! For -example, the range `1.2 <1.2.9 || >2.0.0` would have a hole from `1.2.9` -until `2.0.0`, so version `1.2.10` would not be greater than the -range (because `2.0.1` satisfies, which is higher), nor less than the -range (since `1.2.8` satisfies, which is lower), and it also does not -satisfy the range. - -If you want to know if a version satisfies or does not satisfy a -range, use the `satisfies(version, range)` function. - -### Coercion - -* `coerce(version, options)`: Coerces a string to semver if possible - -This aims to provide a very forgiving translation of a non-semver string to -semver. It looks for the first digit in a string and consumes all -remaining characters which satisfy at least a partial semver (e.g., `1`, -`1.2`, `1.2.3`) up to the max permitted length (256 characters). Longer -versions are simply truncated (`4.6.3.9.2-alpha2` becomes `4.6.3`). All -surrounding text is simply ignored (`v3.4 replaces v3.3.1` becomes -`3.4.0`). Only text which lacks digits will fail coercion (`version one` -is not valid). The maximum length for any semver component considered for -coercion is 16 characters; longer components will be ignored -(`10000000000000000.4.7.4` becomes `4.7.4`). The maximum value for any -semver component is `Number.MAX_SAFE_INTEGER || (2**53 - 1)`; higher value -components are invalid (`9999999999999999.4.7.4` is likely invalid). - -If the `options.rtl` flag is set, then `coerce` will return the right-most -coercible tuple that does not share an ending index with a longer coercible -tuple. For example, `1.2.3.4` will return `2.3.4` in rtl mode, not -`4.0.0`. `1.2.3/4` will return `4.0.0`, because the `4` is not a part of -any other overlapping SemVer tuple. - -If the `options.includePrerelease` flag is set, then the `coerce` result will contain -prerelease and build parts of a version. For example, `1.2.3.4-rc.1+rev.2` -will preserve prerelease `rc.1` and build `rev.2` in the result. - -### Clean - -* `clean(version)`: Clean a string to be a valid semver if possible - -This will return a cleaned and trimmed semver version. If the provided -version is not valid a null will be returned. This does not work for -ranges. - -ex. -* `s.clean(' = v 2.1.5foo')`: `null` -* `s.clean(' = v 2.1.5foo', { loose: true })`: `'2.1.5-foo'` -* `s.clean(' = v 2.1.5-foo')`: `null` -* `s.clean(' = v 2.1.5-foo', { loose: true })`: `'2.1.5-foo'` -* `s.clean('=v2.1.5')`: `'2.1.5'` -* `s.clean(' =v2.1.5')`: `'2.1.5'` -* `s.clean(' 2.1.5 ')`: `'2.1.5'` -* `s.clean('~1.0.0')`: `null` - -## Constants - -As a convenience, helper constants are exported to provide information about what `node-semver` supports: - -### `RELEASE_TYPES` - -- major -- premajor -- minor -- preminor -- patch -- prepatch -- prerelease - -``` -const semver = require('semver'); - -if (semver.RELEASE_TYPES.includes(arbitraryUserInput)) { - console.log('This is a valid release type!'); -} else { - console.warn('This is NOT a valid release type!'); -} -``` - -### `SEMVER_SPEC_VERSION` - -2.0.0 - -``` -const semver = require('semver'); - -console.log('We are currently using the semver specification version:', semver.SEMVER_SPEC_VERSION); -``` - -## Exported Modules - - - -You may pull in just the part of this semver utility that you need if you -are sensitive to packing and tree-shaking concerns. The main -`require('semver')` export uses getter functions to lazily load the parts -of the API that are used. - -The following modules are available: - -* `require('semver')` -* `require('semver/classes')` -* `require('semver/classes/comparator')` -* `require('semver/classes/range')` -* `require('semver/classes/semver')` -* `require('semver/functions/clean')` -* `require('semver/functions/cmp')` -* `require('semver/functions/coerce')` -* `require('semver/functions/compare')` -* `require('semver/functions/compare-build')` -* `require('semver/functions/compare-loose')` -* `require('semver/functions/diff')` -* `require('semver/functions/eq')` -* `require('semver/functions/gt')` -* `require('semver/functions/gte')` -* `require('semver/functions/inc')` -* `require('semver/functions/lt')` -* `require('semver/functions/lte')` -* `require('semver/functions/major')` -* `require('semver/functions/minor')` -* `require('semver/functions/neq')` -* `require('semver/functions/parse')` -* `require('semver/functions/patch')` -* `require('semver/functions/prerelease')` -* `require('semver/functions/rcompare')` -* `require('semver/functions/rsort')` -* `require('semver/functions/satisfies')` -* `require('semver/functions/sort')` -* `require('semver/functions/valid')` -* `require('semver/ranges/gtr')` -* `require('semver/ranges/intersects')` -* `require('semver/ranges/ltr')` -* `require('semver/ranges/max-satisfying')` -* `require('semver/ranges/min-satisfying')` -* `require('semver/ranges/min-version')` -* `require('semver/ranges/outside')` -* `require('semver/ranges/simplify')` -* `require('semver/ranges/subset')` -* `require('semver/ranges/to-comparators')` -* `require('semver/ranges/valid')` - diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/bin/semver.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/bin/semver.js deleted file mode 100755 index d62bfc0e..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/bin/semver.js +++ /dev/null @@ -1,191 +0,0 @@ -#!/usr/bin/env node -// Standalone semver comparison program. -// Exits successfully and prints matching version(s) if -// any supplied version is valid and passes all tests. - -'use strict' - -const argv = process.argv.slice(2) - -let versions = [] - -const range = [] - -let inc = null - -const version = require('../package.json').version - -let loose = false - -let includePrerelease = false - -let coerce = false - -let rtl = false - -let identifier - -let identifierBase - -const semver = require('../') -const parseOptions = require('../internal/parse-options') - -let reverse = false - -let options = {} - -const main = () => { - if (!argv.length) { - return help() - } - while (argv.length) { - let a = argv.shift() - const indexOfEqualSign = a.indexOf('=') - if (indexOfEqualSign !== -1) { - const value = a.slice(indexOfEqualSign + 1) - a = a.slice(0, indexOfEqualSign) - argv.unshift(value) - } - switch (a) { - case '-rv': case '-rev': case '--rev': case '--reverse': - reverse = true - break - case '-l': case '--loose': - loose = true - break - case '-p': case '--include-prerelease': - includePrerelease = true - break - case '-v': case '--version': - versions.push(argv.shift()) - break - case '-i': case '--inc': case '--increment': - switch (argv[0]) { - case 'major': case 'minor': case 'patch': case 'prerelease': - case 'premajor': case 'preminor': case 'prepatch': - case 'release': - inc = argv.shift() - break - default: - inc = 'patch' - break - } - break - case '--preid': - identifier = argv.shift() - break - case '-r': case '--range': - range.push(argv.shift()) - break - case '-n': - identifierBase = argv.shift() - if (identifierBase === 'false') { - identifierBase = false - } - break - case '-c': case '--coerce': - coerce = true - break - case '--rtl': - rtl = true - break - case '--ltr': - rtl = false - break - case '-h': case '--help': case '-?': - return help() - default: - versions.push(a) - break - } - } - - options = parseOptions({ loose, includePrerelease, rtl }) - - versions = versions.map((v) => { - return coerce ? (semver.coerce(v, options) || { version: v }).version : v - }).filter((v) => { - return semver.valid(v, options) - }) - if (!versions.length) { - return fail() - } - if (inc && (versions.length !== 1 || range.length)) { - return failInc() - } - - for (let i = 0, l = range.length; i < l; i++) { - versions = versions.filter((v) => { - return semver.satisfies(v, range[i], options) - }) - if (!versions.length) { - return fail() - } - } - versions - .sort((a, b) => semver[reverse ? 'rcompare' : 'compare'](a, b, options)) - .map(v => semver.clean(v, options)) - .map(v => inc ? semver.inc(v, inc, options, identifier, identifierBase) : v) - .forEach(v => console.log(v)) -} - -const failInc = () => { - console.error('--inc can only be used on a single version with no range') - fail() -} - -const fail = () => process.exit(1) - -const help = () => console.log( -`SemVer ${version} - -A JavaScript implementation of the https://semver.org/ specification -Copyright Isaac Z. Schlueter - -Usage: semver [options] [ [...]] -Prints valid versions sorted by SemVer precedence - -Options: --r --range - Print versions that match the specified range. - --i --increment [] - Increment a version by the specified level. Level can - be one of: major, minor, patch, premajor, preminor, - prepatch, prerelease, or release. Default level is 'patch'. - Only one version may be specified. - ---preid - Identifier to be used to prefix premajor, preminor, - prepatch or prerelease version increments. - --l --loose - Interpret versions and ranges loosely - --p --include-prerelease - Always include prerelease versions in range matching - --c --coerce - Coerce a string into SemVer if possible - (does not imply --loose) - ---rtl - Coerce version strings right to left - ---ltr - Coerce version strings left to right (default) - --n - Base number to be used for the prerelease identifier. - Can be either 0 or 1, or false to omit the number altogether. - Defaults to 0. - -Program exits successfully if any valid version satisfies -all supplied ranges, and prints all satisfying versions. - -If no satisfying versions are found, then exits failure. - -Versions are printed in ascending order, so supplying -multiple versions to the utility will just sort them.`) - -main() diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/comparator.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/comparator.js deleted file mode 100644 index 647c1f09..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/comparator.js +++ /dev/null @@ -1,143 +0,0 @@ -'use strict' - -const ANY = Symbol('SemVer ANY') -// hoisted class for cyclic dependency -class Comparator { - static get ANY () { - return ANY - } - - constructor (comp, options) { - options = parseOptions(options) - - if (comp instanceof Comparator) { - if (comp.loose === !!options.loose) { - return comp - } else { - comp = comp.value - } - } - - comp = comp.trim().split(/\s+/).join(' ') - debug('comparator', comp, options) - this.options = options - this.loose = !!options.loose - this.parse(comp) - - if (this.semver === ANY) { - this.value = '' - } else { - this.value = this.operator + this.semver.version - } - - debug('comp', this) - } - - parse (comp) { - const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR] - const m = comp.match(r) - - if (!m) { - throw new TypeError(`Invalid comparator: ${comp}`) - } - - this.operator = m[1] !== undefined ? m[1] : '' - if (this.operator === '=') { - this.operator = '' - } - - // if it literally is just '>' or '' then allow anything. - if (!m[2]) { - this.semver = ANY - } else { - this.semver = new SemVer(m[2], this.options.loose) - } - } - - toString () { - return this.value - } - - test (version) { - debug('Comparator.test', version, this.options.loose) - - if (this.semver === ANY || version === ANY) { - return true - } - - if (typeof version === 'string') { - try { - version = new SemVer(version, this.options) - } catch (er) { - return false - } - } - - return cmp(version, this.operator, this.semver, this.options) - } - - intersects (comp, options) { - if (!(comp instanceof Comparator)) { - throw new TypeError('a Comparator is required') - } - - if (this.operator === '') { - if (this.value === '') { - return true - } - return new Range(comp.value, options).test(this.value) - } else if (comp.operator === '') { - if (comp.value === '') { - return true - } - return new Range(this.value, options).test(comp.semver) - } - - options = parseOptions(options) - - // Special cases where nothing can possibly be lower - if (options.includePrerelease && - (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) { - return false - } - if (!options.includePrerelease && - (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) { - return false - } - - // Same direction increasing (> or >=) - if (this.operator.startsWith('>') && comp.operator.startsWith('>')) { - return true - } - // Same direction decreasing (< or <=) - if (this.operator.startsWith('<') && comp.operator.startsWith('<')) { - return true - } - // same SemVer and both sides are inclusive (<= or >=) - if ( - (this.semver.version === comp.semver.version) && - this.operator.includes('=') && comp.operator.includes('=')) { - return true - } - // opposite directions less than - if (cmp(this.semver, '<', comp.semver, options) && - this.operator.startsWith('>') && comp.operator.startsWith('<')) { - return true - } - // opposite directions greater than - if (cmp(this.semver, '>', comp.semver, options) && - this.operator.startsWith('<') && comp.operator.startsWith('>')) { - return true - } - return false - } -} - -module.exports = Comparator - -const parseOptions = require('../internal/parse-options') -const { safeRe: re, t } = require('../internal/re') -const cmp = require('../functions/cmp') -const debug = require('../internal/debug') -const SemVer = require('./semver') -const Range = require('./range') diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/index.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/index.js deleted file mode 100644 index 91c24ec4..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/index.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict' - -module.exports = { - SemVer: require('./semver.js'), - Range: require('./range.js'), - Comparator: require('./comparator.js'), -} diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/range.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/range.js deleted file mode 100644 index 94629ce6..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/range.js +++ /dev/null @@ -1,557 +0,0 @@ -'use strict' - -const SPACE_CHARACTERS = /\s+/g - -// hoisted class for cyclic dependency -class Range { - constructor (range, options) { - options = parseOptions(options) - - if (range instanceof Range) { - if ( - range.loose === !!options.loose && - range.includePrerelease === !!options.includePrerelease - ) { - return range - } else { - return new Range(range.raw, options) - } - } - - if (range instanceof Comparator) { - // just put it in the set and return - this.raw = range.value - this.set = [[range]] - this.formatted = undefined - return this - } - - this.options = options - this.loose = !!options.loose - this.includePrerelease = !!options.includePrerelease - - // First reduce all whitespace as much as possible so we do not have to rely - // on potentially slow regexes like \s*. This is then stored and used for - // future error messages as well. - this.raw = range.trim().replace(SPACE_CHARACTERS, ' ') - - // First, split on || - this.set = this.raw - .split('||') - // map the range to a 2d array of comparators - .map(r => this.parseRange(r.trim())) - // throw out any comparator lists that are empty - // this generally means that it was not a valid range, which is allowed - // in loose mode, but will still throw if the WHOLE range is invalid. - .filter(c => c.length) - - if (!this.set.length) { - throw new TypeError(`Invalid SemVer Range: ${this.raw}`) - } - - // if we have any that are not the null set, throw out null sets. - if (this.set.length > 1) { - // keep the first one, in case they're all null sets - const first = this.set[0] - this.set = this.set.filter(c => !isNullSet(c[0])) - if (this.set.length === 0) { - this.set = [first] - } else if (this.set.length > 1) { - // if we have any that are *, then the range is just * - for (const c of this.set) { - if (c.length === 1 && isAny(c[0])) { - this.set = [c] - break - } - } - } - } - - this.formatted = undefined - } - - get range () { - if (this.formatted === undefined) { - this.formatted = '' - for (let i = 0; i < this.set.length; i++) { - if (i > 0) { - this.formatted += '||' - } - const comps = this.set[i] - for (let k = 0; k < comps.length; k++) { - if (k > 0) { - this.formatted += ' ' - } - this.formatted += comps[k].toString().trim() - } - } - } - return this.formatted - } - - format () { - return this.range - } - - toString () { - return this.range - } - - parseRange (range) { - // memoize range parsing for performance. - // this is a very hot path, and fully deterministic. - const memoOpts = - (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | - (this.options.loose && FLAG_LOOSE) - const memoKey = memoOpts + ':' + range - const cached = cache.get(memoKey) - if (cached) { - return cached - } - - const loose = this.options.loose - // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4` - const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE] - range = range.replace(hr, hyphenReplace(this.options.includePrerelease)) - debug('hyphen replace', range) - - // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5` - range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace) - debug('comparator trim', range) - - // `~ 1.2.3` => `~1.2.3` - range = range.replace(re[t.TILDETRIM], tildeTrimReplace) - debug('tilde trim', range) - - // `^ 1.2.3` => `^1.2.3` - range = range.replace(re[t.CARETTRIM], caretTrimReplace) - debug('caret trim', range) - - // At this point, the range is completely trimmed and - // ready to be split into comparators. - - let rangeList = range - .split(' ') - .map(comp => parseComparator(comp, this.options)) - .join(' ') - .split(/\s+/) - // >=0.0.0 is equivalent to * - .map(comp => replaceGTE0(comp, this.options)) - - if (loose) { - // in loose mode, throw out any that are not valid comparators - rangeList = rangeList.filter(comp => { - debug('loose invalid filter', comp, this.options) - return !!comp.match(re[t.COMPARATORLOOSE]) - }) - } - debug('range list', rangeList) - - // if any comparators are the null set, then replace with JUST null set - // if more than one comparator, remove any * comparators - // also, don't include the same comparator more than once - const rangeMap = new Map() - const comparators = rangeList.map(comp => new Comparator(comp, this.options)) - for (const comp of comparators) { - if (isNullSet(comp)) { - return [comp] - } - rangeMap.set(comp.value, comp) - } - if (rangeMap.size > 1 && rangeMap.has('')) { - rangeMap.delete('') - } - - const result = [...rangeMap.values()] - cache.set(memoKey, result) - return result - } - - intersects (range, options) { - if (!(range instanceof Range)) { - throw new TypeError('a Range is required') - } - - return this.set.some((thisComparators) => { - return ( - isSatisfiable(thisComparators, options) && - range.set.some((rangeComparators) => { - return ( - isSatisfiable(rangeComparators, options) && - thisComparators.every((thisComparator) => { - return rangeComparators.every((rangeComparator) => { - return thisComparator.intersects(rangeComparator, options) - }) - }) - ) - }) - ) - }) - } - - // if ANY of the sets match ALL of its comparators, then pass - test (version) { - if (!version) { - return false - } - - if (typeof version === 'string') { - try { - version = new SemVer(version, this.options) - } catch (er) { - return false - } - } - - for (let i = 0; i < this.set.length; i++) { - if (testSet(this.set[i], version, this.options)) { - return true - } - } - return false - } -} - -module.exports = Range - -const LRU = require('../internal/lrucache') -const cache = new LRU() - -const parseOptions = require('../internal/parse-options') -const Comparator = require('./comparator') -const debug = require('../internal/debug') -const SemVer = require('./semver') -const { - safeRe: re, - t, - comparatorTrimReplace, - tildeTrimReplace, - caretTrimReplace, -} = require('../internal/re') -const { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants') - -const isNullSet = c => c.value === '<0.0.0-0' -const isAny = c => c.value === '' - -// take a set of comparators and determine whether there -// exists a version which can satisfy it -const isSatisfiable = (comparators, options) => { - let result = true - const remainingComparators = comparators.slice() - let testComparator = remainingComparators.pop() - - while (result && remainingComparators.length) { - result = remainingComparators.every((otherComparator) => { - return testComparator.intersects(otherComparator, options) - }) - - testComparator = remainingComparators.pop() - } - - return result -} - -// comprised of xranges, tildes, stars, and gtlt's at this point. -// already replaced the hyphen ranges -// turn into a set of JUST comparators. -const parseComparator = (comp, options) => { - comp = comp.replace(re[t.BUILD], '') - debug('comp', comp, options) - comp = replaceCarets(comp, options) - debug('caret', comp) - comp = replaceTildes(comp, options) - debug('tildes', comp) - comp = replaceXRanges(comp, options) - debug('xrange', comp) - comp = replaceStars(comp, options) - debug('stars', comp) - return comp -} - -const isX = id => !id || id.toLowerCase() === 'x' || id === '*' - -// ~, ~> --> * (any, kinda silly) -// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0 -// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0 -// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0 -// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0 -// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0 -// ~0.0.1 --> >=0.0.1 <0.1.0-0 -const replaceTildes = (comp, options) => { - return comp - .trim() - .split(/\s+/) - .map((c) => replaceTilde(c, options)) - .join(' ') -} - -const replaceTilde = (comp, options) => { - const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE] - return comp.replace(r, (_, M, m, p, pr) => { - debug('tilde', comp, _, M, m, p, pr) - let ret - - if (isX(M)) { - ret = '' - } else if (isX(m)) { - ret = `>=${M}.0.0 <${+M + 1}.0.0-0` - } else if (isX(p)) { - // ~1.2 == >=1.2.0 <1.3.0-0 - ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0` - } else if (pr) { - debug('replaceTilde pr', pr) - ret = `>=${M}.${m}.${p}-${pr - } <${M}.${+m + 1}.0-0` - } else { - // ~1.2.3 == >=1.2.3 <1.3.0-0 - ret = `>=${M}.${m}.${p - } <${M}.${+m + 1}.0-0` - } - - debug('tilde return', ret) - return ret - }) -} - -// ^ --> * (any, kinda silly) -// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0 -// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0 -// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0 -// ^1.2.3 --> >=1.2.3 <2.0.0-0 -// ^1.2.0 --> >=1.2.0 <2.0.0-0 -// ^0.0.1 --> >=0.0.1 <0.0.2-0 -// ^0.1.0 --> >=0.1.0 <0.2.0-0 -const replaceCarets = (comp, options) => { - return comp - .trim() - .split(/\s+/) - .map((c) => replaceCaret(c, options)) - .join(' ') -} - -const replaceCaret = (comp, options) => { - debug('caret', comp, options) - const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET] - const z = options.includePrerelease ? '-0' : '' - return comp.replace(r, (_, M, m, p, pr) => { - debug('caret', comp, _, M, m, p, pr) - let ret - - if (isX(M)) { - ret = '' - } else if (isX(m)) { - ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0` - } else if (isX(p)) { - if (M === '0') { - ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0` - } else { - ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0` - } - } else if (pr) { - debug('replaceCaret pr', pr) - if (M === '0') { - if (m === '0') { - ret = `>=${M}.${m}.${p}-${pr - } <${M}.${m}.${+p + 1}-0` - } else { - ret = `>=${M}.${m}.${p}-${pr - } <${M}.${+m + 1}.0-0` - } - } else { - ret = `>=${M}.${m}.${p}-${pr - } <${+M + 1}.0.0-0` - } - } else { - debug('no pr') - if (M === '0') { - if (m === '0') { - ret = `>=${M}.${m}.${p - }${z} <${M}.${m}.${+p + 1}-0` - } else { - ret = `>=${M}.${m}.${p - }${z} <${M}.${+m + 1}.0-0` - } - } else { - ret = `>=${M}.${m}.${p - } <${+M + 1}.0.0-0` - } - } - - debug('caret return', ret) - return ret - }) -} - -const replaceXRanges = (comp, options) => { - debug('replaceXRanges', comp, options) - return comp - .split(/\s+/) - .map((c) => replaceXRange(c, options)) - .join(' ') -} - -const replaceXRange = (comp, options) => { - comp = comp.trim() - const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE] - return comp.replace(r, (ret, gtlt, M, m, p, pr) => { - debug('xRange', comp, ret, gtlt, M, m, p, pr) - const xM = isX(M) - const xm = xM || isX(m) - const xp = xm || isX(p) - const anyX = xp - - if (gtlt === '=' && anyX) { - gtlt = '' - } - - // if we're including prereleases in the match, then we need - // to fix this to -0, the lowest possible prerelease value - pr = options.includePrerelease ? '-0' : '' - - if (xM) { - if (gtlt === '>' || gtlt === '<') { - // nothing is allowed - ret = '<0.0.0-0' - } else { - // nothing is forbidden - ret = '*' - } - } else if (gtlt && anyX) { - // we know patch is an x, because we have any x at all. - // replace X with 0 - if (xm) { - m = 0 - } - p = 0 - - if (gtlt === '>') { - // >1 => >=2.0.0 - // >1.2 => >=1.3.0 - gtlt = '>=' - if (xm) { - M = +M + 1 - m = 0 - p = 0 - } else { - m = +m + 1 - p = 0 - } - } else if (gtlt === '<=') { - // <=0.7.x is actually <0.8.0, since any 0.7.x should - // pass. Similarly, <=7.x is actually <8.0.0, etc. - gtlt = '<' - if (xm) { - M = +M + 1 - } else { - m = +m + 1 - } - } - - if (gtlt === '<') { - pr = '-0' - } - - ret = `${gtlt + M}.${m}.${p}${pr}` - } else if (xm) { - ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0` - } else if (xp) { - ret = `>=${M}.${m}.0${pr - } <${M}.${+m + 1}.0-0` - } - - debug('xRange return', ret) - - return ret - }) -} - -// Because * is AND-ed with everything else in the comparator, -// and '' means "any version", just remove the *s entirely. -const replaceStars = (comp, options) => { - debug('replaceStars', comp, options) - // Looseness is ignored here. star is always as loose as it gets! - return comp - .trim() - .replace(re[t.STAR], '') -} - -const replaceGTE0 = (comp, options) => { - debug('replaceGTE0', comp, options) - return comp - .trim() - .replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '') -} - -// This function is passed to string.replace(re[t.HYPHENRANGE]) -// M, m, patch, prerelease, build -// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5 -// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do -// 1.2 - 3.4 => >=1.2.0 <3.5.0-0 -// TODO build? -const hyphenReplace = incPr => ($0, - from, fM, fm, fp, fpr, fb, - to, tM, tm, tp, tpr) => { - if (isX(fM)) { - from = '' - } else if (isX(fm)) { - from = `>=${fM}.0.0${incPr ? '-0' : ''}` - } else if (isX(fp)) { - from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}` - } else if (fpr) { - from = `>=${from}` - } else { - from = `>=${from}${incPr ? '-0' : ''}` - } - - if (isX(tM)) { - to = '' - } else if (isX(tm)) { - to = `<${+tM + 1}.0.0-0` - } else if (isX(tp)) { - to = `<${tM}.${+tm + 1}.0-0` - } else if (tpr) { - to = `<=${tM}.${tm}.${tp}-${tpr}` - } else if (incPr) { - to = `<${tM}.${tm}.${+tp + 1}-0` - } else { - to = `<=${to}` - } - - return `${from} ${to}`.trim() -} - -const testSet = (set, version, options) => { - for (let i = 0; i < set.length; i++) { - if (!set[i].test(version)) { - return false - } - } - - if (version.prerelease.length && !options.includePrerelease) { - // Find the set of versions that are allowed to have prereleases - // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0 - // That should allow `1.2.3-pr.2` to pass. - // However, `1.2.4-alpha.notready` should NOT be allowed, - // even though it's within the range set by the comparators. - for (let i = 0; i < set.length; i++) { - debug(set[i].semver) - if (set[i].semver === Comparator.ANY) { - continue - } - - if (set[i].semver.prerelease.length > 0) { - const allowed = set[i].semver - if (allowed.major === version.major && - allowed.minor === version.minor && - allowed.patch === version.patch) { - return true - } - } - } - - // Version has a -pre, but it's not one of the ones we like. - return false - } - - return true -} diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/semver.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/semver.js deleted file mode 100644 index 92254be1..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/classes/semver.js +++ /dev/null @@ -1,333 +0,0 @@ -'use strict' - -const debug = require('../internal/debug') -const { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants') -const { safeRe: re, t } = require('../internal/re') - -const parseOptions = require('../internal/parse-options') -const { compareIdentifiers } = require('../internal/identifiers') -class SemVer { - constructor (version, options) { - options = parseOptions(options) - - if (version instanceof SemVer) { - if (version.loose === !!options.loose && - version.includePrerelease === !!options.includePrerelease) { - return version - } else { - version = version.version - } - } else if (typeof version !== 'string') { - throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`) - } - - if (version.length > MAX_LENGTH) { - throw new TypeError( - `version is longer than ${MAX_LENGTH} characters` - ) - } - - debug('SemVer', version, options) - this.options = options - this.loose = !!options.loose - // this isn't actually relevant for versions, but keep it so that we - // don't run into trouble passing this.options around. - this.includePrerelease = !!options.includePrerelease - - const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]) - - if (!m) { - throw new TypeError(`Invalid Version: ${version}`) - } - - this.raw = version - - // these are actually numbers - this.major = +m[1] - this.minor = +m[2] - this.patch = +m[3] - - if (this.major > MAX_SAFE_INTEGER || this.major < 0) { - throw new TypeError('Invalid major version') - } - - if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) { - throw new TypeError('Invalid minor version') - } - - if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) { - throw new TypeError('Invalid patch version') - } - - // numberify any prerelease numeric ids - if (!m[4]) { - this.prerelease = [] - } else { - this.prerelease = m[4].split('.').map((id) => { - if (/^[0-9]+$/.test(id)) { - const num = +id - if (num >= 0 && num < MAX_SAFE_INTEGER) { - return num - } - } - return id - }) - } - - this.build = m[5] ? m[5].split('.') : [] - this.format() - } - - format () { - this.version = `${this.major}.${this.minor}.${this.patch}` - if (this.prerelease.length) { - this.version += `-${this.prerelease.join('.')}` - } - return this.version - } - - toString () { - return this.version - } - - compare (other) { - debug('SemVer.compare', this.version, this.options, other) - if (!(other instanceof SemVer)) { - if (typeof other === 'string' && other === this.version) { - return 0 - } - other = new SemVer(other, this.options) - } - - if (other.version === this.version) { - return 0 - } - - return this.compareMain(other) || this.comparePre(other) - } - - compareMain (other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } - - if (this.major < other.major) { - return -1 - } - if (this.major > other.major) { - return 1 - } - if (this.minor < other.minor) { - return -1 - } - if (this.minor > other.minor) { - return 1 - } - if (this.patch < other.patch) { - return -1 - } - if (this.patch > other.patch) { - return 1 - } - return 0 - } - - comparePre (other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } - - // NOT having a prerelease is > having one - if (this.prerelease.length && !other.prerelease.length) { - return -1 - } else if (!this.prerelease.length && other.prerelease.length) { - return 1 - } else if (!this.prerelease.length && !other.prerelease.length) { - return 0 - } - - let i = 0 - do { - const a = this.prerelease[i] - const b = other.prerelease[i] - debug('prerelease compare', i, a, b) - if (a === undefined && b === undefined) { - return 0 - } else if (b === undefined) { - return 1 - } else if (a === undefined) { - return -1 - } else if (a === b) { - continue - } else { - return compareIdentifiers(a, b) - } - } while (++i) - } - - compareBuild (other) { - if (!(other instanceof SemVer)) { - other = new SemVer(other, this.options) - } - - let i = 0 - do { - const a = this.build[i] - const b = other.build[i] - debug('build compare', i, a, b) - if (a === undefined && b === undefined) { - return 0 - } else if (b === undefined) { - return 1 - } else if (a === undefined) { - return -1 - } else if (a === b) { - continue - } else { - return compareIdentifiers(a, b) - } - } while (++i) - } - - // preminor will bump the version up to the next minor release, and immediately - // down to pre-release. premajor and prepatch work the same way. - inc (release, identifier, identifierBase) { - if (release.startsWith('pre')) { - if (!identifier && identifierBase === false) { - throw new Error('invalid increment argument: identifier is empty') - } - // Avoid an invalid semver results - if (identifier) { - const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]) - if (!match || match[1] !== identifier) { - throw new Error(`invalid identifier: ${identifier}`) - } - } - } - - switch (release) { - case 'premajor': - this.prerelease.length = 0 - this.patch = 0 - this.minor = 0 - this.major++ - this.inc('pre', identifier, identifierBase) - break - case 'preminor': - this.prerelease.length = 0 - this.patch = 0 - this.minor++ - this.inc('pre', identifier, identifierBase) - break - case 'prepatch': - // If this is already a prerelease, it will bump to the next version - // drop any prereleases that might already exist, since they are not - // relevant at this point. - this.prerelease.length = 0 - this.inc('patch', identifier, identifierBase) - this.inc('pre', identifier, identifierBase) - break - // If the input is a non-prerelease version, this acts the same as - // prepatch. - case 'prerelease': - if (this.prerelease.length === 0) { - this.inc('patch', identifier, identifierBase) - } - this.inc('pre', identifier, identifierBase) - break - case 'release': - if (this.prerelease.length === 0) { - throw new Error(`version ${this.raw} is not a prerelease`) - } - this.prerelease.length = 0 - break - - case 'major': - // If this is a pre-major version, bump up to the same major version. - // Otherwise increment major. - // 1.0.0-5 bumps to 1.0.0 - // 1.1.0 bumps to 2.0.0 - if ( - this.minor !== 0 || - this.patch !== 0 || - this.prerelease.length === 0 - ) { - this.major++ - } - this.minor = 0 - this.patch = 0 - this.prerelease = [] - break - case 'minor': - // If this is a pre-minor version, bump up to the same minor version. - // Otherwise increment minor. - // 1.2.0-5 bumps to 1.2.0 - // 1.2.1 bumps to 1.3.0 - if (this.patch !== 0 || this.prerelease.length === 0) { - this.minor++ - } - this.patch = 0 - this.prerelease = [] - break - case 'patch': - // If this is not a pre-release version, it will increment the patch. - // If it is a pre-release it will bump up to the same patch version. - // 1.2.0-5 patches to 1.2.0 - // 1.2.0 patches to 1.2.1 - if (this.prerelease.length === 0) { - this.patch++ - } - this.prerelease = [] - break - // This probably shouldn't be used publicly. - // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction. - case 'pre': { - const base = Number(identifierBase) ? 1 : 0 - - if (this.prerelease.length === 0) { - this.prerelease = [base] - } else { - let i = this.prerelease.length - while (--i >= 0) { - if (typeof this.prerelease[i] === 'number') { - this.prerelease[i]++ - i = -2 - } - } - if (i === -1) { - // didn't increment anything - if (identifier === this.prerelease.join('.') && identifierBase === false) { - throw new Error('invalid increment argument: identifier already exists') - } - this.prerelease.push(base) - } - } - if (identifier) { - // 1.2.0-beta.1 bumps to 1.2.0-beta.2, - // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0 - let prerelease = [identifier, base] - if (identifierBase === false) { - prerelease = [identifier] - } - if (compareIdentifiers(this.prerelease[0], identifier) === 0) { - if (isNaN(this.prerelease[1])) { - this.prerelease = prerelease - } - } else { - this.prerelease = prerelease - } - } - break - } - default: - throw new Error(`invalid increment argument: ${release}`) - } - this.raw = this.format() - if (this.build.length) { - this.raw += `+${this.build.join('.')}` - } - return this - } -} - -module.exports = SemVer diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/clean.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/clean.js deleted file mode 100644 index 79703d63..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/clean.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict' - -const parse = require('./parse') -const clean = (version, options) => { - const s = parse(version.trim().replace(/^[=v]+/, ''), options) - return s ? s.version : null -} -module.exports = clean diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/cmp.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/cmp.js deleted file mode 100644 index 77487dca..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/cmp.js +++ /dev/null @@ -1,54 +0,0 @@ -'use strict' - -const eq = require('./eq') -const neq = require('./neq') -const gt = require('./gt') -const gte = require('./gte') -const lt = require('./lt') -const lte = require('./lte') - -const cmp = (a, op, b, loose) => { - switch (op) { - case '===': - if (typeof a === 'object') { - a = a.version - } - if (typeof b === 'object') { - b = b.version - } - return a === b - - case '!==': - if (typeof a === 'object') { - a = a.version - } - if (typeof b === 'object') { - b = b.version - } - return a !== b - - case '': - case '=': - case '==': - return eq(a, b, loose) - - case '!=': - return neq(a, b, loose) - - case '>': - return gt(a, b, loose) - - case '>=': - return gte(a, b, loose) - - case '<': - return lt(a, b, loose) - - case '<=': - return lte(a, b, loose) - - default: - throw new TypeError(`Invalid operator: ${op}`) - } -} -module.exports = cmp diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/coerce.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/coerce.js deleted file mode 100644 index cfe02759..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/coerce.js +++ /dev/null @@ -1,62 +0,0 @@ -'use strict' - -const SemVer = require('../classes/semver') -const parse = require('./parse') -const { safeRe: re, t } = require('../internal/re') - -const coerce = (version, options) => { - if (version instanceof SemVer) { - return version - } - - if (typeof version === 'number') { - version = String(version) - } - - if (typeof version !== 'string') { - return null - } - - options = options || {} - - let match = null - if (!options.rtl) { - match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]) - } else { - // Find the right-most coercible string that does not share - // a terminus with a more left-ward coercible string. - // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4' - // With includePrerelease option set, '1.2.3.4-rc' wants to coerce '2.3.4-rc', not '2.3.4' - // - // Walk through the string checking with a /g regexp - // Manually set the index so as to pick up overlapping matches. - // Stop when we get a match that ends at the string end, since no - // coercible string can be more right-ward without the same terminus. - const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL] - let next - while ((next = coerceRtlRegex.exec(version)) && - (!match || match.index + match[0].length !== version.length) - ) { - if (!match || - next.index + next[0].length !== match.index + match[0].length) { - match = next - } - coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length - } - // leave it in a clean state - coerceRtlRegex.lastIndex = -1 - } - - if (match === null) { - return null - } - - const major = match[2] - const minor = match[3] || '0' - const patch = match[4] || '0' - const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : '' - const build = options.includePrerelease && match[6] ? `+${match[6]}` : '' - - return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options) -} -module.exports = coerce diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/compare-build.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/compare-build.js deleted file mode 100644 index 99157cf3..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/compare-build.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict' - -const SemVer = require('../classes/semver') -const compareBuild = (a, b, loose) => { - const versionA = new SemVer(a, loose) - const versionB = new SemVer(b, loose) - return versionA.compare(versionB) || versionA.compareBuild(versionB) -} -module.exports = compareBuild diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/compare-loose.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/compare-loose.js deleted file mode 100644 index 75316346..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/compare-loose.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict' - -const compare = require('./compare') -const compareLoose = (a, b) => compare(a, b, true) -module.exports = compareLoose diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/compare.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/compare.js deleted file mode 100644 index 63d8090c..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/compare.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict' - -const SemVer = require('../classes/semver') -const compare = (a, b, loose) => - new SemVer(a, loose).compare(new SemVer(b, loose)) - -module.exports = compare diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/diff.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/diff.js deleted file mode 100644 index c99ab51c..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/diff.js +++ /dev/null @@ -1,60 +0,0 @@ -'use strict' - -const parse = require('./parse.js') - -const diff = (version1, version2) => { - const v1 = parse(version1, null, true) - const v2 = parse(version2, null, true) - const comparison = v1.compare(v2) - - if (comparison === 0) { - return null - } - - const v1Higher = comparison > 0 - const highVersion = v1Higher ? v1 : v2 - const lowVersion = v1Higher ? v2 : v1 - const highHasPre = !!highVersion.prerelease.length - const lowHasPre = !!lowVersion.prerelease.length - - if (lowHasPre && !highHasPre) { - // Going from prerelease -> no prerelease requires some special casing - - // If the low version has only a major, then it will always be a major - // Some examples: - // 1.0.0-1 -> 1.0.0 - // 1.0.0-1 -> 1.1.1 - // 1.0.0-1 -> 2.0.0 - if (!lowVersion.patch && !lowVersion.minor) { - return 'major' - } - - // If the main part has no difference - if (lowVersion.compareMain(highVersion) === 0) { - if (lowVersion.minor && !lowVersion.patch) { - return 'minor' - } - return 'patch' - } - } - - // add the `pre` prefix if we are going to a prerelease version - const prefix = highHasPre ? 'pre' : '' - - if (v1.major !== v2.major) { - return prefix + 'major' - } - - if (v1.minor !== v2.minor) { - return prefix + 'minor' - } - - if (v1.patch !== v2.patch) { - return prefix + 'patch' - } - - // high and low are prereleases - return 'prerelease' -} - -module.exports = diff diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/eq.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/eq.js deleted file mode 100644 index 5f0eead1..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/eq.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict' - -const compare = require('./compare') -const eq = (a, b, loose) => compare(a, b, loose) === 0 -module.exports = eq diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/gt.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/gt.js deleted file mode 100644 index 84a57ddf..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/gt.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict' - -const compare = require('./compare') -const gt = (a, b, loose) => compare(a, b, loose) > 0 -module.exports = gt diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/gte.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/gte.js deleted file mode 100644 index 7c52bdf2..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/gte.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict' - -const compare = require('./compare') -const gte = (a, b, loose) => compare(a, b, loose) >= 0 -module.exports = gte diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/inc.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/inc.js deleted file mode 100644 index ff999e9d..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/inc.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict' - -const SemVer = require('../classes/semver') - -const inc = (version, release, options, identifier, identifierBase) => { - if (typeof (options) === 'string') { - identifierBase = identifier - identifier = options - options = undefined - } - - try { - return new SemVer( - version instanceof SemVer ? version.version : version, - options - ).inc(release, identifier, identifierBase).version - } catch (er) { - return null - } -} -module.exports = inc diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/lt.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/lt.js deleted file mode 100644 index 2fb32a0e..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/lt.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict' - -const compare = require('./compare') -const lt = (a, b, loose) => compare(a, b, loose) < 0 -module.exports = lt diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/lte.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/lte.js deleted file mode 100644 index da9ee8f4..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/lte.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict' - -const compare = require('./compare') -const lte = (a, b, loose) => compare(a, b, loose) <= 0 -module.exports = lte diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/major.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/major.js deleted file mode 100644 index e6d08dc2..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/major.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict' - -const SemVer = require('../classes/semver') -const major = (a, loose) => new SemVer(a, loose).major -module.exports = major diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/minor.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/minor.js deleted file mode 100644 index 9e70ffda..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/minor.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict' - -const SemVer = require('../classes/semver') -const minor = (a, loose) => new SemVer(a, loose).minor -module.exports = minor diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/neq.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/neq.js deleted file mode 100644 index 84326b77..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/neq.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict' - -const compare = require('./compare') -const neq = (a, b, loose) => compare(a, b, loose) !== 0 -module.exports = neq diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/parse.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/parse.js deleted file mode 100644 index d544d33a..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/parse.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict' - -const SemVer = require('../classes/semver') -const parse = (version, options, throwErrors = false) => { - if (version instanceof SemVer) { - return version - } - try { - return new SemVer(version, options) - } catch (er) { - if (!throwErrors) { - return null - } - throw er - } -} - -module.exports = parse diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/patch.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/patch.js deleted file mode 100644 index 7675162f..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/patch.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict' - -const SemVer = require('../classes/semver') -const patch = (a, loose) => new SemVer(a, loose).patch -module.exports = patch diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/prerelease.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/prerelease.js deleted file mode 100644 index b8fe1db5..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/prerelease.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict' - -const parse = require('./parse') -const prerelease = (version, options) => { - const parsed = parse(version, options) - return (parsed && parsed.prerelease.length) ? parsed.prerelease : null -} -module.exports = prerelease diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/rcompare.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/rcompare.js deleted file mode 100644 index 8e1c222b..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/rcompare.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict' - -const compare = require('./compare') -const rcompare = (a, b, loose) => compare(b, a, loose) -module.exports = rcompare diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/rsort.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/rsort.js deleted file mode 100644 index 5d3d2009..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/rsort.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict' - -const compareBuild = require('./compare-build') -const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose)) -module.exports = rsort diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/satisfies.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/satisfies.js deleted file mode 100644 index a0264a22..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/satisfies.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict' - -const Range = require('../classes/range') -const satisfies = (version, range, options) => { - try { - range = new Range(range, options) - } catch (er) { - return false - } - return range.test(version) -} -module.exports = satisfies diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/sort.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/sort.js deleted file mode 100644 index edb24b1d..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/sort.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict' - -const compareBuild = require('./compare-build') -const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose)) -module.exports = sort diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/valid.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/valid.js deleted file mode 100644 index 0db67edc..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/functions/valid.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict' - -const parse = require('./parse') -const valid = (version, options) => { - const v = parse(version, options) - return v ? v.version : null -} -module.exports = valid diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/index.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/index.js deleted file mode 100644 index 285662ac..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/index.js +++ /dev/null @@ -1,91 +0,0 @@ -'use strict' - -// just pre-load all the stuff that index.js lazily exports -const internalRe = require('./internal/re') -const constants = require('./internal/constants') -const SemVer = require('./classes/semver') -const identifiers = require('./internal/identifiers') -const parse = require('./functions/parse') -const valid = require('./functions/valid') -const clean = require('./functions/clean') -const inc = require('./functions/inc') -const diff = require('./functions/diff') -const major = require('./functions/major') -const minor = require('./functions/minor') -const patch = require('./functions/patch') -const prerelease = require('./functions/prerelease') -const compare = require('./functions/compare') -const rcompare = require('./functions/rcompare') -const compareLoose = require('./functions/compare-loose') -const compareBuild = require('./functions/compare-build') -const sort = require('./functions/sort') -const rsort = require('./functions/rsort') -const gt = require('./functions/gt') -const lt = require('./functions/lt') -const eq = require('./functions/eq') -const neq = require('./functions/neq') -const gte = require('./functions/gte') -const lte = require('./functions/lte') -const cmp = require('./functions/cmp') -const coerce = require('./functions/coerce') -const Comparator = require('./classes/comparator') -const Range = require('./classes/range') -const satisfies = require('./functions/satisfies') -const toComparators = require('./ranges/to-comparators') -const maxSatisfying = require('./ranges/max-satisfying') -const minSatisfying = require('./ranges/min-satisfying') -const minVersion = require('./ranges/min-version') -const validRange = require('./ranges/valid') -const outside = require('./ranges/outside') -const gtr = require('./ranges/gtr') -const ltr = require('./ranges/ltr') -const intersects = require('./ranges/intersects') -const simplifyRange = require('./ranges/simplify') -const subset = require('./ranges/subset') -module.exports = { - parse, - valid, - clean, - inc, - diff, - major, - minor, - patch, - prerelease, - compare, - rcompare, - compareLoose, - compareBuild, - sort, - rsort, - gt, - lt, - eq, - neq, - gte, - lte, - cmp, - coerce, - Comparator, - Range, - satisfies, - toComparators, - maxSatisfying, - minSatisfying, - minVersion, - validRange, - outside, - gtr, - ltr, - intersects, - simplifyRange, - subset, - SemVer, - re: internalRe.re, - src: internalRe.src, - tokens: internalRe.t, - SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION, - RELEASE_TYPES: constants.RELEASE_TYPES, - compareIdentifiers: identifiers.compareIdentifiers, - rcompareIdentifiers: identifiers.rcompareIdentifiers, -} diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/constants.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/constants.js deleted file mode 100644 index 6d1db915..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/constants.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict' - -// Note: this is the semver.org version of the spec that it implements -// Not necessarily the package version of this code. -const SEMVER_SPEC_VERSION = '2.0.0' - -const MAX_LENGTH = 256 -const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || -/* istanbul ignore next */ 9007199254740991 - -// Max safe segment length for coercion. -const MAX_SAFE_COMPONENT_LENGTH = 16 - -// Max safe length for a build identifier. The max length minus 6 characters for -// the shortest version with a build 0.0.0+BUILD. -const MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6 - -const RELEASE_TYPES = [ - 'major', - 'premajor', - 'minor', - 'preminor', - 'patch', - 'prepatch', - 'prerelease', -] - -module.exports = { - MAX_LENGTH, - MAX_SAFE_COMPONENT_LENGTH, - MAX_SAFE_BUILD_LENGTH, - MAX_SAFE_INTEGER, - RELEASE_TYPES, - SEMVER_SPEC_VERSION, - FLAG_INCLUDE_PRERELEASE: 0b001, - FLAG_LOOSE: 0b010, -} diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/debug.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/debug.js deleted file mode 100644 index 20d1e9dc..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/debug.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict' - -const debug = ( - typeof process === 'object' && - process.env && - process.env.NODE_DEBUG && - /\bsemver\b/i.test(process.env.NODE_DEBUG) -) ? (...args) => console.error('SEMVER', ...args) - : () => {} - -module.exports = debug diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/identifiers.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/identifiers.js deleted file mode 100644 index d053472d..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/identifiers.js +++ /dev/null @@ -1,29 +0,0 @@ -'use strict' - -const numeric = /^[0-9]+$/ -const compareIdentifiers = (a, b) => { - if (typeof a === 'number' && typeof b === 'number') { - return a === b ? 0 : a < b ? -1 : 1 - } - - const anum = numeric.test(a) - const bnum = numeric.test(b) - - if (anum && bnum) { - a = +a - b = +b - } - - return a === b ? 0 - : (anum && !bnum) ? -1 - : (bnum && !anum) ? 1 - : a < b ? -1 - : 1 -} - -const rcompareIdentifiers = (a, b) => compareIdentifiers(b, a) - -module.exports = { - compareIdentifiers, - rcompareIdentifiers, -} diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/lrucache.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/lrucache.js deleted file mode 100644 index b8bf5262..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/lrucache.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict' - -class LRUCache { - constructor () { - this.max = 1000 - this.map = new Map() - } - - get (key) { - const value = this.map.get(key) - if (value === undefined) { - return undefined - } else { - // Remove the key from the map and add it to the end - this.map.delete(key) - this.map.set(key, value) - return value - } - } - - delete (key) { - return this.map.delete(key) - } - - set (key, value) { - const deleted = this.delete(key) - - if (!deleted && value !== undefined) { - // If cache is full, delete the least recently used item - if (this.map.size >= this.max) { - const firstKey = this.map.keys().next().value - this.delete(firstKey) - } - - this.map.set(key, value) - } - - return this - } -} - -module.exports = LRUCache diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/parse-options.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/parse-options.js deleted file mode 100644 index 52954541..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/parse-options.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict' - -// parse out just the options we care about -const looseOption = Object.freeze({ loose: true }) -const emptyOpts = Object.freeze({ }) -const parseOptions = options => { - if (!options) { - return emptyOpts - } - - if (typeof options !== 'object') { - return looseOption - } - - return options -} -module.exports = parseOptions diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/re.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/re.js deleted file mode 100644 index 639fca89..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/internal/re.js +++ /dev/null @@ -1,223 +0,0 @@ -'use strict' - -const { - MAX_SAFE_COMPONENT_LENGTH, - MAX_SAFE_BUILD_LENGTH, - MAX_LENGTH, -} = require('./constants') -const debug = require('./debug') -exports = module.exports = {} - -// The actual regexps go on exports.re -const re = exports.re = [] -const safeRe = exports.safeRe = [] -const src = exports.src = [] -const safeSrc = exports.safeSrc = [] -const t = exports.t = {} -let R = 0 - -const LETTERDASHNUMBER = '[a-zA-Z0-9-]' - -// Replace some greedy regex tokens to prevent regex dos issues. These regex are -// used internally via the safeRe object since all inputs in this library get -// normalized first to trim and collapse all extra whitespace. The original -// regexes are exported for userland consumption and lower level usage. A -// future breaking change could export the safer regex only with a note that -// all input should have extra whitespace removed. -const safeRegexReplacements = [ - ['\\s', 1], - ['\\d', MAX_LENGTH], - [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH], -] - -const makeSafeRegex = (value) => { - for (const [token, max] of safeRegexReplacements) { - value = value - .split(`${token}*`).join(`${token}{0,${max}}`) - .split(`${token}+`).join(`${token}{1,${max}}`) - } - return value -} - -const createToken = (name, value, isGlobal) => { - const safe = makeSafeRegex(value) - const index = R++ - debug(name, index, value) - t[name] = index - src[index] = value - safeSrc[index] = safe - re[index] = new RegExp(value, isGlobal ? 'g' : undefined) - safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined) -} - -// The following Regular Expressions can be used for tokenizing, -// validating, and parsing SemVer version strings. - -// ## Numeric Identifier -// A single `0`, or a non-zero digit followed by zero or more digits. - -createToken('NUMERICIDENTIFIER', '0|[1-9]\\d*') -createToken('NUMERICIDENTIFIERLOOSE', '\\d+') - -// ## Non-numeric Identifier -// Zero or more digits, followed by a letter or hyphen, and then zero or -// more letters, digits, or hyphens. - -createToken('NONNUMERICIDENTIFIER', `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`) - -// ## Main Version -// Three dot-separated numeric identifiers. - -createToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\.` + - `(${src[t.NUMERICIDENTIFIER]})\\.` + - `(${src[t.NUMERICIDENTIFIER]})`) - -createToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` + - `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` + - `(${src[t.NUMERICIDENTIFIERLOOSE]})`) - -// ## Pre-release Version Identifier -// A numeric identifier, or a non-numeric identifier. -// Non-numeric identifiers include numeric identifiers but can be longer. -// Therefore non-numeric identifiers must go first. - -createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER] -}|${src[t.NUMERICIDENTIFIER]})`) - -createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NONNUMERICIDENTIFIER] -}|${src[t.NUMERICIDENTIFIERLOOSE]})`) - -// ## Pre-release Version -// Hyphen, followed by one or more dot-separated pre-release version -// identifiers. - -createToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER] -}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`) - -createToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE] -}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`) - -// ## Build Metadata Identifier -// Any combination of digits, letters, or hyphens. - -createToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`) - -// ## Build Metadata -// Plus sign, followed by one or more period-separated build metadata -// identifiers. - -createToken('BUILD', `(?:\\+(${src[t.BUILDIDENTIFIER] -}(?:\\.${src[t.BUILDIDENTIFIER]})*))`) - -// ## Full Version String -// A main version, followed optionally by a pre-release version and -// build metadata. - -// Note that the only major, minor, patch, and pre-release sections of -// the version string are capturing groups. The build metadata is not a -// capturing group, because it should not ever be used in version -// comparison. - -createToken('FULLPLAIN', `v?${src[t.MAINVERSION] -}${src[t.PRERELEASE]}?${ - src[t.BUILD]}?`) - -createToken('FULL', `^${src[t.FULLPLAIN]}$`) - -// like full, but allows v1.2.3 and =1.2.3, which people do sometimes. -// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty -// common in the npm registry. -createToken('LOOSEPLAIN', `[v=\\s]*${src[t.MAINVERSIONLOOSE] -}${src[t.PRERELEASELOOSE]}?${ - src[t.BUILD]}?`) - -createToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`) - -createToken('GTLT', '((?:<|>)?=?)') - -// Something like "2.*" or "1.2.x". -// Note that "x.x" is a valid xRange identifer, meaning "any version" -// Only the first item is strictly required. -createToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`) -createToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`) - -createToken('XRANGEPLAIN', `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})` + - `(?:\\.(${src[t.XRANGEIDENTIFIER]})` + - `(?:\\.(${src[t.XRANGEIDENTIFIER]})` + - `(?:${src[t.PRERELEASE]})?${ - src[t.BUILD]}?` + - `)?)?`) - -createToken('XRANGEPLAINLOOSE', `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + - `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + - `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + - `(?:${src[t.PRERELEASELOOSE]})?${ - src[t.BUILD]}?` + - `)?)?`) - -createToken('XRANGE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`) -createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`) - -// Coercion. -// Extract anything that could conceivably be a part of a valid semver -createToken('COERCEPLAIN', `${'(^|[^\\d])' + - '(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` + - `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + - `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`) -createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`) -createToken('COERCEFULL', src[t.COERCEPLAIN] + - `(?:${src[t.PRERELEASE]})?` + - `(?:${src[t.BUILD]})?` + - `(?:$|[^\\d])`) -createToken('COERCERTL', src[t.COERCE], true) -createToken('COERCERTLFULL', src[t.COERCEFULL], true) - -// Tilde ranges. -// Meaning is "reasonably at or greater than" -createToken('LONETILDE', '(?:~>?)') - -createToken('TILDETRIM', `(\\s*)${src[t.LONETILDE]}\\s+`, true) -exports.tildeTrimReplace = '$1~' - -createToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`) -createToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`) - -// Caret ranges. -// Meaning is "at least and backwards compatible with" -createToken('LONECARET', '(?:\\^)') - -createToken('CARETTRIM', `(\\s*)${src[t.LONECARET]}\\s+`, true) -exports.caretTrimReplace = '$1^' - -createToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`) -createToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`) - -// A simple gt/lt/eq thing, or just "" to indicate "any version" -createToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`) -createToken('COMPARATOR', `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`) - -// An expression to strip any whitespace between the gtlt and the thing -// it modifies, so that `> 1.2.3` ==> `>1.2.3` -createToken('COMPARATORTRIM', `(\\s*)${src[t.GTLT] -}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true) -exports.comparatorTrimReplace = '$1$2$3' - -// Something like `1.2.3 - 1.2.4` -// Note that these all use the loose form, because they'll be -// checked against either the strict or loose comparator form -// later. -createToken('HYPHENRANGE', `^\\s*(${src[t.XRANGEPLAIN]})` + - `\\s+-\\s+` + - `(${src[t.XRANGEPLAIN]})` + - `\\s*$`) - -createToken('HYPHENRANGELOOSE', `^\\s*(${src[t.XRANGEPLAINLOOSE]})` + - `\\s+-\\s+` + - `(${src[t.XRANGEPLAINLOOSE]})` + - `\\s*$`) - -// Star ranges basically just allow anything at all. -createToken('STAR', '(<|>)?=?\\s*\\*') -// >=0.0.0 is like a star -createToken('GTE0', '^\\s*>=\\s*0\\.0\\.0\\s*$') -createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$') diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/package.json b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/package.json deleted file mode 100644 index a84de916..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/package.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "name": "semver", - "version": "7.7.4", - "description": "The semantic version parser used by npm.", - "main": "index.js", - "scripts": { - "test": "tap", - "snap": "tap", - "lint": "npm run eslint", - "postlint": "template-oss-check", - "lintfix": "npm run eslint -- --fix", - "posttest": "npm run lint", - "template-oss-apply": "template-oss-apply --force", - "eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"" - }, - "devDependencies": { - "@npmcli/eslint-config": "^6.0.0", - "@npmcli/template-oss": "4.29.0", - "benchmark": "^2.1.4", - "tap": "^16.0.0" - }, - "license": "ISC", - "repository": { - "type": "git", - "url": "git+https://github.com/npm/node-semver.git" - }, - "bin": { - "semver": "bin/semver.js" - }, - "files": [ - "bin/", - "lib/", - "classes/", - "functions/", - "internal/", - "ranges/", - "index.js", - "preload.js", - "range.bnf" - ], - "tap": { - "timeout": 30, - "coverage-map": "map.js", - "nyc-arg": [ - "--exclude", - "tap-snapshots/**" - ] - }, - "engines": { - "node": ">=10" - }, - "author": "GitHub Inc.", - "templateOSS": { - "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", - "version": "4.29.0", - "engines": ">=10", - "distPaths": [ - "classes/", - "functions/", - "internal/", - "ranges/", - "index.js", - "preload.js", - "range.bnf" - ], - "allowPaths": [ - "/classes/", - "/functions/", - "/internal/", - "/ranges/", - "/index.js", - "/preload.js", - "/range.bnf", - "/benchmarks" - ], - "publish": "true" - } -} diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/preload.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/preload.js deleted file mode 100644 index e6c47b9b..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/preload.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict' - -// XXX remove in v8 or beyond -module.exports = require('./index.js') diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/range.bnf b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/range.bnf deleted file mode 100644 index d4c6ae0d..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/range.bnf +++ /dev/null @@ -1,16 +0,0 @@ -range-set ::= range ( logical-or range ) * -logical-or ::= ( ' ' ) * '||' ( ' ' ) * -range ::= hyphen | simple ( ' ' simple ) * | '' -hyphen ::= partial ' - ' partial -simple ::= primitive | partial | tilde | caret -primitive ::= ( '<' | '>' | '>=' | '<=' | '=' ) partial -partial ::= xr ( '.' xr ( '.' xr qualifier ? )? )? -xr ::= 'x' | 'X' | '*' | nr -nr ::= '0' | [1-9] ( [0-9] ) * -tilde ::= '~' partial -caret ::= '^' partial -qualifier ::= ( '-' pre )? ( '+' build )? -pre ::= parts -build ::= parts -parts ::= part ( '.' part ) * -part ::= nr | [-0-9A-Za-z]+ diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/gtr.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/gtr.js deleted file mode 100644 index 0e7601f6..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/gtr.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict' - -// Determine if version is greater than all the versions possible in the range. -const outside = require('./outside') -const gtr = (version, range, options) => outside(version, range, '>', options) -module.exports = gtr diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/intersects.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/intersects.js deleted file mode 100644 index 917be7e4..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/intersects.js +++ /dev/null @@ -1,9 +0,0 @@ -'use strict' - -const Range = require('../classes/range') -const intersects = (r1, r2, options) => { - r1 = new Range(r1, options) - r2 = new Range(r2, options) - return r1.intersects(r2, options) -} -module.exports = intersects diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/ltr.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/ltr.js deleted file mode 100644 index aa5e568e..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/ltr.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict' - -const outside = require('./outside') -// Determine if version is less than all the versions possible in the range -const ltr = (version, range, options) => outside(version, range, '<', options) -module.exports = ltr diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/max-satisfying.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/max-satisfying.js deleted file mode 100644 index 01fe5ae3..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/max-satisfying.js +++ /dev/null @@ -1,27 +0,0 @@ -'use strict' - -const SemVer = require('../classes/semver') -const Range = require('../classes/range') - -const maxSatisfying = (versions, range, options) => { - let max = null - let maxSV = null - let rangeObj = null - try { - rangeObj = new Range(range, options) - } catch (er) { - return null - } - versions.forEach((v) => { - if (rangeObj.test(v)) { - // satisfies(v, range, options) - if (!max || maxSV.compare(v) === -1) { - // compare(max, v, true) - max = v - maxSV = new SemVer(max, options) - } - } - }) - return max -} -module.exports = maxSatisfying diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/min-satisfying.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/min-satisfying.js deleted file mode 100644 index af89c8ef..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/min-satisfying.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict' - -const SemVer = require('../classes/semver') -const Range = require('../classes/range') -const minSatisfying = (versions, range, options) => { - let min = null - let minSV = null - let rangeObj = null - try { - rangeObj = new Range(range, options) - } catch (er) { - return null - } - versions.forEach((v) => { - if (rangeObj.test(v)) { - // satisfies(v, range, options) - if (!min || minSV.compare(v) === 1) { - // compare(min, v, true) - min = v - minSV = new SemVer(min, options) - } - } - }) - return min -} -module.exports = minSatisfying diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/min-version.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/min-version.js deleted file mode 100644 index 09a65aa3..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/min-version.js +++ /dev/null @@ -1,63 +0,0 @@ -'use strict' - -const SemVer = require('../classes/semver') -const Range = require('../classes/range') -const gt = require('../functions/gt') - -const minVersion = (range, loose) => { - range = new Range(range, loose) - - let minver = new SemVer('0.0.0') - if (range.test(minver)) { - return minver - } - - minver = new SemVer('0.0.0-0') - if (range.test(minver)) { - return minver - } - - minver = null - for (let i = 0; i < range.set.length; ++i) { - const comparators = range.set[i] - - let setMin = null - comparators.forEach((comparator) => { - // Clone to avoid manipulating the comparator's semver object. - const compver = new SemVer(comparator.semver.version) - switch (comparator.operator) { - case '>': - if (compver.prerelease.length === 0) { - compver.patch++ - } else { - compver.prerelease.push(0) - } - compver.raw = compver.format() - /* fallthrough */ - case '': - case '>=': - if (!setMin || gt(compver, setMin)) { - setMin = compver - } - break - case '<': - case '<=': - /* Ignore maximum versions */ - break - /* istanbul ignore next */ - default: - throw new Error(`Unexpected operation: ${comparator.operator}`) - } - }) - if (setMin && (!minver || gt(minver, setMin))) { - minver = setMin - } - } - - if (minver && range.test(minver)) { - return minver - } - - return null -} -module.exports = minVersion diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/outside.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/outside.js deleted file mode 100644 index ca744212..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/outside.js +++ /dev/null @@ -1,82 +0,0 @@ -'use strict' - -const SemVer = require('../classes/semver') -const Comparator = require('../classes/comparator') -const { ANY } = Comparator -const Range = require('../classes/range') -const satisfies = require('../functions/satisfies') -const gt = require('../functions/gt') -const lt = require('../functions/lt') -const lte = require('../functions/lte') -const gte = require('../functions/gte') - -const outside = (version, range, hilo, options) => { - version = new SemVer(version, options) - range = new Range(range, options) - - let gtfn, ltefn, ltfn, comp, ecomp - switch (hilo) { - case '>': - gtfn = gt - ltefn = lte - ltfn = lt - comp = '>' - ecomp = '>=' - break - case '<': - gtfn = lt - ltefn = gte - ltfn = gt - comp = '<' - ecomp = '<=' - break - default: - throw new TypeError('Must provide a hilo val of "<" or ">"') - } - - // If it satisfies the range it is not outside - if (satisfies(version, range, options)) { - return false - } - - // From now on, variable terms are as if we're in "gtr" mode. - // but note that everything is flipped for the "ltr" function. - - for (let i = 0; i < range.set.length; ++i) { - const comparators = range.set[i] - - let high = null - let low = null - - comparators.forEach((comparator) => { - if (comparator.semver === ANY) { - comparator = new Comparator('>=0.0.0') - } - high = high || comparator - low = low || comparator - if (gtfn(comparator.semver, high.semver, options)) { - high = comparator - } else if (ltfn(comparator.semver, low.semver, options)) { - low = comparator - } - }) - - // If the edge version comparator has a operator then our version - // isn't outside it - if (high.operator === comp || high.operator === ecomp) { - return false - } - - // If the lowest version comparator has an operator and our version - // is less than it then it isn't higher than the range - if ((!low.operator || low.operator === comp) && - ltefn(version, low.semver)) { - return false - } else if (low.operator === ecomp && ltfn(version, low.semver)) { - return false - } - } - return true -} - -module.exports = outside diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/simplify.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/simplify.js deleted file mode 100644 index 262732e6..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/simplify.js +++ /dev/null @@ -1,49 +0,0 @@ -'use strict' - -// given a set of versions and a range, create a "simplified" range -// that includes the same versions that the original range does -// If the original range is shorter than the simplified one, return that. -const satisfies = require('../functions/satisfies.js') -const compare = require('../functions/compare.js') -module.exports = (versions, range, options) => { - const set = [] - let first = null - let prev = null - const v = versions.sort((a, b) => compare(a, b, options)) - for (const version of v) { - const included = satisfies(version, range, options) - if (included) { - prev = version - if (!first) { - first = version - } - } else { - if (prev) { - set.push([first, prev]) - } - prev = null - first = null - } - } - if (first) { - set.push([first, null]) - } - - const ranges = [] - for (const [min, max] of set) { - if (min === max) { - ranges.push(min) - } else if (!max && min === v[0]) { - ranges.push('*') - } else if (!max) { - ranges.push(`>=${min}`) - } else if (min === v[0]) { - ranges.push(`<=${max}`) - } else { - ranges.push(`${min} - ${max}`) - } - } - const simplified = ranges.join(' || ') - const original = typeof range.raw === 'string' ? range.raw : String(range) - return simplified.length < original.length ? simplified : range -} diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/subset.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/subset.js deleted file mode 100644 index 99f43218..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/subset.js +++ /dev/null @@ -1,249 +0,0 @@ -'use strict' - -const Range = require('../classes/range.js') -const Comparator = require('../classes/comparator.js') -const { ANY } = Comparator -const satisfies = require('../functions/satisfies.js') -const compare = require('../functions/compare.js') - -// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff: -// - Every simple range `r1, r2, ...` is a null set, OR -// - Every simple range `r1, r2, ...` which is not a null set is a subset of -// some `R1, R2, ...` -// -// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff: -// - If c is only the ANY comparator -// - If C is only the ANY comparator, return true -// - Else if in prerelease mode, return false -// - else replace c with `[>=0.0.0]` -// - If C is only the ANY comparator -// - if in prerelease mode, return true -// - else replace C with `[>=0.0.0]` -// - Let EQ be the set of = comparators in c -// - If EQ is more than one, return true (null set) -// - Let GT be the highest > or >= comparator in c -// - Let LT be the lowest < or <= comparator in c -// - If GT and LT, and GT.semver > LT.semver, return true (null set) -// - If any C is a = range, and GT or LT are set, return false -// - If EQ -// - If GT, and EQ does not satisfy GT, return true (null set) -// - If LT, and EQ does not satisfy LT, return true (null set) -// - If EQ satisfies every C, return true -// - Else return false -// - If GT -// - If GT.semver is lower than any > or >= comp in C, return false -// - If GT is >=, and GT.semver does not satisfy every C, return false -// - If GT.semver has a prerelease, and not in prerelease mode -// - If no C has a prerelease and the GT.semver tuple, return false -// - If LT -// - If LT.semver is greater than any < or <= comp in C, return false -// - If LT is <=, and LT.semver does not satisfy every C, return false -// - If LT.semver has a prerelease, and not in prerelease mode -// - If no C has a prerelease and the LT.semver tuple, return false -// - Else return true - -const subset = (sub, dom, options = {}) => { - if (sub === dom) { - return true - } - - sub = new Range(sub, options) - dom = new Range(dom, options) - let sawNonNull = false - - OUTER: for (const simpleSub of sub.set) { - for (const simpleDom of dom.set) { - const isSub = simpleSubset(simpleSub, simpleDom, options) - sawNonNull = sawNonNull || isSub !== null - if (isSub) { - continue OUTER - } - } - // the null set is a subset of everything, but null simple ranges in - // a complex range should be ignored. so if we saw a non-null range, - // then we know this isn't a subset, but if EVERY simple range was null, - // then it is a subset. - if (sawNonNull) { - return false - } - } - return true -} - -const minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')] -const minimumVersion = [new Comparator('>=0.0.0')] - -const simpleSubset = (sub, dom, options) => { - if (sub === dom) { - return true - } - - if (sub.length === 1 && sub[0].semver === ANY) { - if (dom.length === 1 && dom[0].semver === ANY) { - return true - } else if (options.includePrerelease) { - sub = minimumVersionWithPreRelease - } else { - sub = minimumVersion - } - } - - if (dom.length === 1 && dom[0].semver === ANY) { - if (options.includePrerelease) { - return true - } else { - dom = minimumVersion - } - } - - const eqSet = new Set() - let gt, lt - for (const c of sub) { - if (c.operator === '>' || c.operator === '>=') { - gt = higherGT(gt, c, options) - } else if (c.operator === '<' || c.operator === '<=') { - lt = lowerLT(lt, c, options) - } else { - eqSet.add(c.semver) - } - } - - if (eqSet.size > 1) { - return null - } - - let gtltComp - if (gt && lt) { - gtltComp = compare(gt.semver, lt.semver, options) - if (gtltComp > 0) { - return null - } else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<=')) { - return null - } - } - - // will iterate one or zero times - for (const eq of eqSet) { - if (gt && !satisfies(eq, String(gt), options)) { - return null - } - - if (lt && !satisfies(eq, String(lt), options)) { - return null - } - - for (const c of dom) { - if (!satisfies(eq, String(c), options)) { - return false - } - } - - return true - } - - let higher, lower - let hasDomLT, hasDomGT - // if the subset has a prerelease, we need a comparator in the superset - // with the same tuple and a prerelease, or it's not a subset - let needDomLTPre = lt && - !options.includePrerelease && - lt.semver.prerelease.length ? lt.semver : false - let needDomGTPre = gt && - !options.includePrerelease && - gt.semver.prerelease.length ? gt.semver : false - // exception: <1.2.3-0 is the same as <1.2.3 - if (needDomLTPre && needDomLTPre.prerelease.length === 1 && - lt.operator === '<' && needDomLTPre.prerelease[0] === 0) { - needDomLTPre = false - } - - for (const c of dom) { - hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>=' - hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<=' - if (gt) { - if (needDomGTPre) { - if (c.semver.prerelease && c.semver.prerelease.length && - c.semver.major === needDomGTPre.major && - c.semver.minor === needDomGTPre.minor && - c.semver.patch === needDomGTPre.patch) { - needDomGTPre = false - } - } - if (c.operator === '>' || c.operator === '>=') { - higher = higherGT(gt, c, options) - if (higher === c && higher !== gt) { - return false - } - } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) { - return false - } - } - if (lt) { - if (needDomLTPre) { - if (c.semver.prerelease && c.semver.prerelease.length && - c.semver.major === needDomLTPre.major && - c.semver.minor === needDomLTPre.minor && - c.semver.patch === needDomLTPre.patch) { - needDomLTPre = false - } - } - if (c.operator === '<' || c.operator === '<=') { - lower = lowerLT(lt, c, options) - if (lower === c && lower !== lt) { - return false - } - } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) { - return false - } - } - if (!c.operator && (lt || gt) && gtltComp !== 0) { - return false - } - } - - // if there was a < or >, and nothing in the dom, then must be false - // UNLESS it was limited by another range in the other direction. - // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0 - if (gt && hasDomLT && !lt && gtltComp !== 0) { - return false - } - - if (lt && hasDomGT && !gt && gtltComp !== 0) { - return false - } - - // we needed a prerelease range in a specific tuple, but didn't get one - // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0, - // because it includes prereleases in the 1.2.3 tuple - if (needDomGTPre || needDomLTPre) { - return false - } - - return true -} - -// >=1.2.3 is lower than >1.2.3 -const higherGT = (a, b, options) => { - if (!a) { - return b - } - const comp = compare(a.semver, b.semver, options) - return comp > 0 ? a - : comp < 0 ? b - : b.operator === '>' && a.operator === '>=' ? b - : a -} - -// <=1.2.3 is higher than <1.2.3 -const lowerLT = (a, b, options) => { - if (!a) { - return b - } - const comp = compare(a.semver, b.semver, options) - return comp < 0 ? a - : comp > 0 ? b - : b.operator === '<' && a.operator === '<=' ? b - : a -} - -module.exports = subset diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/to-comparators.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/to-comparators.js deleted file mode 100644 index 5be25196..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/to-comparators.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict' - -const Range = require('../classes/range') - -// Mostly just for testing and legacy API reasons -const toComparators = (range, options) => - new Range(range, options).set - .map(comp => comp.map(c => c.value).join(' ').trim().split(' ')) - -module.exports = toComparators diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/valid.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/valid.js deleted file mode 100644 index cc6b0e9f..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/node_modules/semver/ranges/valid.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict' - -const Range = require('../classes/range') -const validRange = (range, options) => { - try { - // Return '*' instead of '' so that truthiness works. - // This will throw if it's invalid anyway - return new Range(range, options).range || '*' - } catch (er) { - return null - } -} -module.exports = validRange diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/package.json b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/package.json deleted file mode 100644 index 5e3c704a..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/package.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "name": "istanbul-lib-instrument", - "version": "6.0.3", - "description": "Core istanbul API for JS code coverage", - "author": "Krishnan Anantheswaran ", - "main": "src/index.js", - "files": [ - "src" - ], - "scripts": { - "test": "nyc mocha" - }, - "dependencies": { - "@babel/core": "^7.23.9", - "@babel/parser": "^7.23.9", - "@istanbuljs/schema": "^0.1.3", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^7.5.4" - }, - "devDependencies": { - "@babel/cli": "^7.23.9", - "chai": "^4.2.0", - "clone": "^2.1.2", - "debug": "^4.1.1", - "documentation": "^12.1.4", - "js-yaml": "^3.13.1", - "mocha": "^6.2.3", - "nopt": "^4.0.1", - "nyc": "^15.1.0" - }, - "license": "BSD-3-Clause", - "bugs": { - "url": "https://github.com/istanbuljs/istanbuljs/issues" - }, - "homepage": "https://istanbul.js.org/", - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/istanbuljs/istanbuljs.git", - "directory": "packages/istanbul-lib-instrument" - }, - "keywords": [ - "coverage", - "istanbul", - "js", - "instrumentation" - ], - "engines": { - "node": ">=10" - } -} diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/constants.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/constants.js deleted file mode 100644 index 2cd402bc..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/constants.js +++ /dev/null @@ -1,14 +0,0 @@ -const { createHash } = require('crypto'); -const { name } = require('../package.json'); -// TODO: increment this version if there are schema changes -// that are not backwards compatible: -const VERSION = '4'; - -const SHA = 'sha1'; -module.exports = { - SHA, - MAGIC_KEY: '_coverageSchema', - MAGIC_VALUE: createHash(SHA) - .update(name + '@' + VERSION) - .digest('hex') -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/index.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/index.js deleted file mode 100644 index 33d2a4c1..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/index.js +++ /dev/null @@ -1,21 +0,0 @@ -const { defaults } = require('@istanbuljs/schema'); -const Instrumenter = require('./instrumenter'); -const programVisitor = require('./visitor'); -const readInitialCoverage = require('./read-coverage'); - -/** - * createInstrumenter creates a new instrumenter with the - * supplied options. - * @param {Object} opts - instrumenter options. See the documentation - * for the Instrumenter class. - */ -function createInstrumenter(opts) { - return new Instrumenter(opts); -} - -module.exports = { - createInstrumenter, - programVisitor, - readInitialCoverage, - defaultOpts: defaults.instrumenter -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/instrumenter.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/instrumenter.js deleted file mode 100644 index ffc4387b..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/instrumenter.js +++ /dev/null @@ -1,164 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -const { transformSync } = require('@babel/core'); -const { defaults } = require('@istanbuljs/schema'); -const programVisitor = require('./visitor'); -const readInitialCoverage = require('./read-coverage'); - -/** - * Instrumenter is the public API for the instrument library. - * It is typically used for ES5 code. For ES6 code that you - * are already running under `babel` use the coverage plugin - * instead. - * @param {Object} opts optional. - * @param {string} [opts.coverageVariable=__coverage__] name of global coverage variable. - * @param {boolean} [opts.reportLogic=false] report boolean value of logical expressions. - * @param {boolean} [opts.preserveComments=false] preserve comments in output. - * @param {boolean} [opts.compact=true] generate compact code. - * @param {boolean} [opts.esModules=false] set to true to instrument ES6 modules. - * @param {boolean} [opts.autoWrap=false] set to true to allow `return` statements outside of functions. - * @param {boolean} [opts.produceSourceMap=false] set to true to produce a source map for the instrumented code. - * @param {Array} [opts.ignoreClassMethods=[]] set to array of class method names to ignore for coverage. - * @param {Function} [opts.sourceMapUrlCallback=null] a callback function that is called when a source map URL - * is found in the original code. This function is called with the source file name and the source map URL. - * @param {boolean} [opts.debug=false] - turn debugging on. - * @param {array} [opts.parserPlugins] - set babel parser plugins, see @istanbuljs/schema for defaults. - * @param {string} [opts.coverageGlobalScope=this] the global coverage variable scope. - * @param {boolean} [opts.coverageGlobalScopeFunc=true] use an evaluated function to find coverageGlobalScope. - * @param {Object} [opts.generatorOpts] - set babel generator options - */ -class Instrumenter { - constructor(opts = {}) { - this.opts = { - ...defaults.instrumenter, - ...opts - }; - this.fileCoverage = null; - this.sourceMap = null; - } - /** - * instrument the supplied code and track coverage against the supplied - * filename. It throws if invalid code is passed to it. ES5 and ES6 syntax - * is supported. To instrument ES6 modules, make sure that you set the - * `esModules` property to `true` when creating the instrumenter. - * - * @param {string} code - the code to instrument - * @param {string} filename - the filename against which to track coverage. - * @param {object} [inputSourceMap] - the source map that maps the not instrumented code back to it's original form. - * Is assigned to the coverage object and therefore, is available in the json output and can be used to remap the - * coverage to the untranspiled source. - * @returns {string} the instrumented code. - */ - instrumentSync(code, filename, inputSourceMap) { - if (typeof code !== 'string') { - throw new Error('Code must be a string'); - } - filename = filename || String(new Date().getTime()) + '.js'; - const { opts } = this; - let output = {}; - const babelOpts = { - configFile: false, - babelrc: false, - ast: true, - filename: filename || String(new Date().getTime()) + '.js', - inputSourceMap, - sourceMaps: opts.produceSourceMap, - compact: opts.compact, - comments: opts.preserveComments, - parserOpts: { - allowReturnOutsideFunction: opts.autoWrap, - sourceType: opts.esModules ? 'module' : 'script', - plugins: opts.parserPlugins - }, - generatorOpts: opts.generatorOpts, - plugins: [ - [ - ({ types }) => { - const ee = programVisitor(types, filename, { - coverageVariable: opts.coverageVariable, - reportLogic: opts.reportLogic, - coverageGlobalScope: opts.coverageGlobalScope, - coverageGlobalScopeFunc: - opts.coverageGlobalScopeFunc, - ignoreClassMethods: opts.ignoreClassMethods, - inputSourceMap - }); - - return { - visitor: { - Program: { - enter: ee.enter, - exit(path) { - output = ee.exit(path); - } - } - } - }; - } - ] - ] - }; - - const codeMap = transformSync(code, babelOpts); - - if (!output || !output.fileCoverage) { - const initialCoverage = - readInitialCoverage(codeMap.ast) || - /* istanbul ignore next: paranoid check */ {}; - this.fileCoverage = initialCoverage.coverageData; - this.sourceMap = inputSourceMap; - return code; - } - - this.fileCoverage = output.fileCoverage; - this.sourceMap = codeMap.map; - const cb = this.opts.sourceMapUrlCallback; - if (cb && output.sourceMappingURL) { - cb(filename, output.sourceMappingURL); - } - - return codeMap.code; - } - /** - * callback-style instrument method that calls back with an error - * as opposed to throwing one. Note that in the current implementation, - * the callback will be called in the same process tick and is not asynchronous. - * - * @param {string} code - the code to instrument - * @param {string} filename - the filename against which to track coverage. - * @param {Function} callback - the callback - * @param {Object} inputSourceMap - the source map that maps the not instrumented code back to it's original form. - * Is assigned to the coverage object and therefore, is available in the json output and can be used to remap the - * coverage to the untranspiled source. - */ - instrument(code, filename, callback, inputSourceMap) { - if (!callback && typeof filename === 'function') { - callback = filename; - filename = null; - } - try { - const out = this.instrumentSync(code, filename, inputSourceMap); - callback(null, out); - } catch (ex) { - callback(ex); - } - } - /** - * returns the file coverage object for the last file instrumented. - * @returns {Object} the file coverage object. - */ - lastFileCoverage() { - return this.fileCoverage; - } - /** - * returns the source map produced for the last file instrumented. - * @returns {null|Object} the source map object. - */ - lastSourceMap() { - return this.sourceMap; - } -} - -module.exports = Instrumenter; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/read-coverage.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/read-coverage.js deleted file mode 100644 index bec12e6c..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/read-coverage.js +++ /dev/null @@ -1,77 +0,0 @@ -const { parseSync, traverse } = require('@babel/core'); -const { defaults } = require('@istanbuljs/schema'); -const { MAGIC_KEY, MAGIC_VALUE } = require('./constants'); - -function getAst(code) { - if (typeof code === 'object' && typeof code.type === 'string') { - // Assume code is already a babel ast. - return code; - } - - if (typeof code !== 'string') { - throw new Error('Code must be a string'); - } - - // Parse as leniently as possible - return parseSync(code, { - babelrc: false, - configFile: false, - parserOpts: { - allowAwaitOutsideFunction: true, - allowImportExportEverywhere: true, - allowReturnOutsideFunction: true, - allowSuperOutsideMethod: true, - sourceType: 'unambiguous', - plugins: defaults.instrumenter.parserPlugins - } - }); -} - -module.exports = function readInitialCoverage(code) { - const ast = getAst(code); - - let covScope; - traverse(ast, { - ObjectProperty(path) { - const { node } = path; - if ( - !node.computed && - path.get('key').isIdentifier() && - node.key.name === MAGIC_KEY - ) { - const magicValue = path.get('value').evaluate(); - if (!magicValue.confident || magicValue.value !== MAGIC_VALUE) { - return; - } - covScope = - path.scope.getFunctionParent() || - path.scope.getProgramParent(); - path.stop(); - } - } - }); - - if (!covScope) { - return null; - } - - const result = {}; - - for (const key of ['path', 'hash', 'gcv', 'coverageData']) { - const binding = covScope.getOwnBinding(key); - if (!binding) { - return null; - } - const valuePath = binding.path.get('init'); - const value = valuePath.evaluate(); - if (!value.confident) { - return null; - } - result[key] = value.value; - } - - delete result.coverageData[MAGIC_KEY]; - delete result.coverageData.hash; - - return result; -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/source-coverage.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/source-coverage.js deleted file mode 100644 index ec3f234d..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/source-coverage.js +++ /dev/null @@ -1,135 +0,0 @@ -const { classes } = require('istanbul-lib-coverage'); - -function cloneLocation(loc) { - return { - start: { - line: loc && loc.start.line, - column: loc && loc.start.column - }, - end: { - line: loc && loc.end.line, - column: loc && loc.end.column - } - }; -} -/** - * SourceCoverage provides mutation methods to manipulate the structure of - * a file coverage object. Used by the instrumenter to create a full coverage - * object for a file incrementally. - * - * @private - * @param pathOrObj {String|Object} - see the argument for {@link FileCoverage} - * @extends FileCoverage - * @constructor - */ -class SourceCoverage extends classes.FileCoverage { - constructor(pathOrObj) { - super(pathOrObj); - this.meta = { - last: { - s: 0, - f: 0, - b: 0 - } - }; - } - - newStatement(loc) { - const s = this.meta.last.s; - this.data.statementMap[s] = cloneLocation(loc); - this.data.s[s] = 0; - this.meta.last.s += 1; - return s; - } - - newFunction(name, decl, loc) { - const f = this.meta.last.f; - name = name || '(anonymous_' + f + ')'; - this.data.fnMap[f] = { - name, - decl: cloneLocation(decl), - loc: cloneLocation(loc), - // DEPRECATED: some legacy reports require this info. - line: loc && loc.start.line - }; - this.data.f[f] = 0; - this.meta.last.f += 1; - return f; - } - - newBranch(type, loc, isReportLogic = false) { - const b = this.meta.last.b; - this.data.b[b] = []; - this.data.branchMap[b] = { - loc: cloneLocation(loc), - type, - locations: [], - // DEPRECATED: some legacy reports require this info. - line: loc && loc.start.line - }; - this.meta.last.b += 1; - this.maybeNewBranchTrue(type, b, isReportLogic); - return b; - } - - maybeNewBranchTrue(type, name, isReportLogic) { - if (!isReportLogic) { - return; - } - if (type !== 'binary-expr') { - return; - } - this.data.bT = this.data.bT || {}; - this.data.bT[name] = []; - } - - addBranchPath(name, location) { - const bMeta = this.data.branchMap[name]; - const counts = this.data.b[name]; - - /* istanbul ignore if: paranoid check */ - if (!bMeta) { - throw new Error('Invalid branch ' + name); - } - bMeta.locations.push(cloneLocation(location)); - counts.push(0); - this.maybeAddBranchTrue(name); - return counts.length - 1; - } - - maybeAddBranchTrue(name) { - if (!this.data.bT) { - return; - } - const countsTrue = this.data.bT[name]; - if (!countsTrue) { - return; - } - countsTrue.push(0); - } - - /** - * Assigns an input source map to the coverage that can be used - * to remap the coverage output to the original source - * @param sourceMap {object} the source map - */ - inputSourceMap(sourceMap) { - this.data.inputSourceMap = sourceMap; - } - - freeze() { - // prune empty branches - const map = this.data.branchMap; - const branches = this.data.b; - const branchesT = this.data.bT || {}; - Object.keys(map).forEach(b => { - if (map[b].locations.length === 0) { - delete map[b]; - delete branches[b]; - delete branchesT[b]; - } - }); - } -} - -module.exports = { SourceCoverage }; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/visitor.js b/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/visitor.js deleted file mode 100644 index 04e3115f..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-instrument/src/visitor.js +++ /dev/null @@ -1,843 +0,0 @@ -const { createHash } = require('crypto'); -const { template } = require('@babel/core'); -const { defaults } = require('@istanbuljs/schema'); -const { SourceCoverage } = require('./source-coverage'); -const { SHA, MAGIC_KEY, MAGIC_VALUE } = require('./constants'); - -// pattern for istanbul to ignore a section -const COMMENT_RE = /^\s*istanbul\s+ignore\s+(if|else|next)(?=\W|$)/; -// pattern for istanbul to ignore the whole file -const COMMENT_FILE_RE = /^\s*istanbul\s+ignore\s+(file)(?=\W|$)/; -// source map URL pattern -const SOURCE_MAP_RE = /[#@]\s*sourceMappingURL=(.*)\s*$/m; - -// generate a variable name from hashing the supplied file path -function genVar(filename) { - const hash = createHash(SHA); - hash.update(filename); - return 'cov_' + parseInt(hash.digest('hex').substr(0, 12), 16).toString(36); -} - -// VisitState holds the state of the visitor, provides helper functions -// and is the `this` for the individual coverage visitors. -class VisitState { - constructor( - types, - sourceFilePath, - inputSourceMap, - ignoreClassMethods = [], - reportLogic = false - ) { - this.varName = genVar(sourceFilePath); - this.attrs = {}; - this.nextIgnore = null; - this.cov = new SourceCoverage(sourceFilePath); - - if (typeof inputSourceMap !== 'undefined') { - this.cov.inputSourceMap(inputSourceMap); - } - this.ignoreClassMethods = ignoreClassMethods; - this.types = types; - this.sourceMappingURL = null; - this.reportLogic = reportLogic; - } - - // should we ignore the node? Yes, if specifically ignoring - // or if the node is generated. - shouldIgnore(path) { - return this.nextIgnore || !path.node.loc; - } - - // extract the ignore comment hint (next|if|else) or null - hintFor(node) { - let hint = null; - if (node.leadingComments) { - node.leadingComments.forEach(c => { - const v = ( - c.value || /* istanbul ignore next: paranoid check */ '' - ).trim(); - const groups = v.match(COMMENT_RE); - if (groups) { - hint = groups[1]; - } - }); - } - return hint; - } - - // extract a source map URL from comments and keep track of it - maybeAssignSourceMapURL(node) { - const extractURL = comments => { - if (!comments) { - return; - } - comments.forEach(c => { - const v = ( - c.value || /* istanbul ignore next: paranoid check */ '' - ).trim(); - const groups = v.match(SOURCE_MAP_RE); - if (groups) { - this.sourceMappingURL = groups[1]; - } - }); - }; - extractURL(node.leadingComments); - extractURL(node.trailingComments); - } - - // for these expressions the statement counter needs to be hoisted, so - // function name inference can be preserved - counterNeedsHoisting(path) { - return ( - path.isFunctionExpression() || - path.isArrowFunctionExpression() || - path.isClassExpression() - ); - } - - // all the generic stuff that needs to be done on enter for every node - onEnter(path) { - const n = path.node; - - this.maybeAssignSourceMapURL(n); - - // if already ignoring, nothing more to do - if (this.nextIgnore !== null) { - return; - } - // check hint to see if ignore should be turned on - const hint = this.hintFor(n); - if (hint === 'next') { - this.nextIgnore = n; - return; - } - // else check custom node attribute set by a prior visitor - if (this.getAttr(path.node, 'skip-all') !== null) { - this.nextIgnore = n; - } - - // else check for ignored class methods - if ( - path.isFunctionExpression() && - this.ignoreClassMethods.some( - name => path.node.id && name === path.node.id.name - ) - ) { - this.nextIgnore = n; - return; - } - if ( - path.isClassMethod() && - this.ignoreClassMethods.some(name => name === path.node.key.name) - ) { - this.nextIgnore = n; - return; - } - } - - // all the generic stuff on exit of a node, - // including resetting ignores and custom node attrs - onExit(path) { - // restore ignore status, if needed - if (path.node === this.nextIgnore) { - this.nextIgnore = null; - } - // nuke all attributes for the node - delete path.node.__cov__; - } - - // set a node attribute for the supplied node - setAttr(node, name, value) { - node.__cov__ = node.__cov__ || {}; - node.__cov__[name] = value; - } - - // retrieve a node attribute for the supplied node or null - getAttr(node, name) { - const c = node.__cov__; - if (!c) { - return null; - } - return c[name]; - } - - // - increase(type, id, index) { - const T = this.types; - const wrap = - index !== null - ? // If `index` present, turn `x` into `x[index]`. - x => T.memberExpression(x, T.numericLiteral(index), true) - : x => x; - return T.updateExpression( - '++', - wrap( - T.memberExpression( - T.memberExpression( - T.callExpression(T.identifier(this.varName), []), - T.identifier(type) - ), - T.numericLiteral(id), - true - ) - ) - ); - } - - // Reads the logic expression conditions and conditionally increments truthy counter. - increaseTrue(type, id, index, node) { - const T = this.types; - const tempName = `${this.varName}_temp`; - - return T.sequenceExpression([ - T.assignmentExpression( - '=', - T.memberExpression( - T.callExpression(T.identifier(this.varName), []), - T.identifier(tempName) - ), - node // Only evaluates once. - ), - T.parenthesizedExpression( - T.conditionalExpression( - this.validateTrueNonTrivial(T, tempName), - this.increase(type, id, index), - T.nullLiteral() - ) - ), - T.memberExpression( - T.callExpression(T.identifier(this.varName), []), - T.identifier(tempName) - ) - ]); - } - - validateTrueNonTrivial(T, tempName) { - return T.logicalExpression( - '&&', - T.memberExpression( - T.callExpression(T.identifier(this.varName), []), - T.identifier(tempName) - ), - T.logicalExpression( - '&&', - T.parenthesizedExpression( - T.logicalExpression( - '||', - T.unaryExpression( - '!', - T.callExpression( - T.memberExpression( - T.identifier('Array'), - T.identifier('isArray') - ), - [ - T.memberExpression( - T.callExpression( - T.identifier(this.varName), - [] - ), - T.identifier(tempName) - ) - ] - ) - ), - T.memberExpression( - T.memberExpression( - T.callExpression( - T.identifier(this.varName), - [] - ), - T.identifier(tempName) - ), - T.identifier('length') - ) - ) - ), - T.parenthesizedExpression( - T.logicalExpression( - '||', - T.binaryExpression( - '!==', - T.callExpression( - T.memberExpression( - T.identifier('Object'), - T.identifier('getPrototypeOf') - ), - [ - T.memberExpression( - T.callExpression( - T.identifier(this.varName), - [] - ), - T.identifier(tempName) - ) - ] - ), - T.memberExpression( - T.identifier('Object'), - T.identifier('prototype') - ) - ), - T.memberExpression( - T.callExpression( - T.memberExpression( - T.identifier('Object'), - T.identifier('values') - ), - [ - T.memberExpression( - T.callExpression( - T.identifier(this.varName), - [] - ), - T.identifier(tempName) - ) - ] - ), - T.identifier('length') - ) - ) - ) - ) - ); - } - - insertCounter(path, increment) { - const T = this.types; - if (path.isBlockStatement()) { - path.node.body.unshift(T.expressionStatement(increment)); - } else if (path.isStatement()) { - path.insertBefore(T.expressionStatement(increment)); - } else if ( - this.counterNeedsHoisting(path) && - T.isVariableDeclarator(path.parentPath) - ) { - // make an attempt to hoist the statement counter, so that - // function names are maintained. - const parent = path.parentPath.parentPath; - if (parent && T.isExportNamedDeclaration(parent.parentPath)) { - parent.parentPath.insertBefore( - T.expressionStatement(increment) - ); - } else if ( - parent && - (T.isProgram(parent.parentPath) || - T.isBlockStatement(parent.parentPath)) - ) { - parent.insertBefore(T.expressionStatement(increment)); - } else { - path.replaceWith(T.sequenceExpression([increment, path.node])); - } - } /* istanbul ignore else: not expected */ else if ( - path.isExpression() - ) { - path.replaceWith(T.sequenceExpression([increment, path.node])); - } else { - console.error( - 'Unable to insert counter for node type:', - path.node.type - ); - } - } - - insertStatementCounter(path) { - /* istanbul ignore if: paranoid check */ - if (!(path.node && path.node.loc)) { - return; - } - const index = this.cov.newStatement(path.node.loc); - const increment = this.increase('s', index, null); - this.insertCounter(path, increment); - } - - insertFunctionCounter(path) { - const T = this.types; - /* istanbul ignore if: paranoid check */ - if (!(path.node && path.node.loc)) { - return; - } - const n = path.node; - - let dloc = null; - // get location for declaration - switch (n.type) { - case 'FunctionDeclaration': - case 'FunctionExpression': - /* istanbul ignore else: paranoid check */ - if (n.id) { - dloc = n.id.loc; - } - break; - } - if (!dloc) { - dloc = { - start: n.loc.start, - end: { line: n.loc.start.line, column: n.loc.start.column + 1 } - }; - } - - const name = path.node.id ? path.node.id.name : path.node.name; - const index = this.cov.newFunction(name, dloc, path.node.body.loc); - const increment = this.increase('f', index, null); - const body = path.get('body'); - /* istanbul ignore else: not expected */ - if (body.isBlockStatement()) { - body.node.body.unshift(T.expressionStatement(increment)); - } else { - console.error( - 'Unable to process function body node type:', - path.node.type - ); - } - } - - getBranchIncrement(branchName, loc) { - const index = this.cov.addBranchPath(branchName, loc); - return this.increase('b', branchName, index); - } - - getBranchLogicIncrement(path, branchName, loc) { - const index = this.cov.addBranchPath(branchName, loc); - return [ - this.increase('b', branchName, index), - this.increaseTrue('bT', branchName, index, path.node) - ]; - } - - insertBranchCounter(path, branchName, loc) { - const increment = this.getBranchIncrement( - branchName, - loc || path.node.loc - ); - this.insertCounter(path, increment); - } - - findLeaves(node, accumulator, parent, property) { - if (!node) { - return; - } - if (node.type === 'LogicalExpression') { - const hint = this.hintFor(node); - if (hint !== 'next') { - this.findLeaves(node.left, accumulator, node, 'left'); - this.findLeaves(node.right, accumulator, node, 'right'); - } - } else { - accumulator.push({ - node, - parent, - property - }); - } - } -} - -// generic function that takes a set of visitor methods and -// returns a visitor object with `enter` and `exit` properties, -// such that: -// -// * standard entry processing is done -// * the supplied visitors are called only when ignore is not in effect -// This relieves them from worrying about ignore states and generated nodes. -// * standard exit processing is done -// -function entries(...enter) { - // the enter function - const wrappedEntry = function(path, node) { - this.onEnter(path); - if (this.shouldIgnore(path)) { - return; - } - enter.forEach(e => { - e.call(this, path, node); - }); - }; - const exit = function(path, node) { - this.onExit(path, node); - }; - return { - enter: wrappedEntry, - exit - }; -} - -function coverStatement(path) { - this.insertStatementCounter(path); -} - -/* istanbul ignore next: no node.js support */ -function coverAssignmentPattern(path) { - const n = path.node; - const b = this.cov.newBranch('default-arg', n.loc); - this.insertBranchCounter(path.get('right'), b); -} - -function coverFunction(path) { - this.insertFunctionCounter(path); -} - -function coverVariableDeclarator(path) { - this.insertStatementCounter(path.get('init')); -} - -function coverClassPropDeclarator(path) { - this.insertStatementCounter(path.get('value')); -} - -function makeBlock(path) { - const T = this.types; - if (!path.node) { - path.replaceWith(T.blockStatement([])); - } - if (!path.isBlockStatement()) { - path.replaceWith(T.blockStatement([path.node])); - path.node.loc = path.node.body[0].loc; - path.node.body[0].leadingComments = path.node.leadingComments; - path.node.leadingComments = undefined; - } -} - -function blockProp(prop) { - return function(path) { - makeBlock.call(this, path.get(prop)); - }; -} - -function makeParenthesizedExpressionForNonIdentifier(path) { - const T = this.types; - if (path.node && !path.isIdentifier()) { - path.replaceWith(T.parenthesizedExpression(path.node)); - } -} - -function parenthesizedExpressionProp(prop) { - return function(path) { - makeParenthesizedExpressionForNonIdentifier.call(this, path.get(prop)); - }; -} - -function convertArrowExpression(path) { - const n = path.node; - const T = this.types; - if (!T.isBlockStatement(n.body)) { - const bloc = n.body.loc; - if (n.expression === true) { - n.expression = false; - } - n.body = T.blockStatement([T.returnStatement(n.body)]); - // restore body location - n.body.loc = bloc; - // set up the location for the return statement so it gets - // instrumented - n.body.body[0].loc = bloc; - } -} - -function coverIfBranches(path) { - const n = path.node; - const hint = this.hintFor(n); - const ignoreIf = hint === 'if'; - const ignoreElse = hint === 'else'; - const branch = this.cov.newBranch('if', n.loc); - - if (ignoreIf) { - this.setAttr(n.consequent, 'skip-all', true); - } else { - this.insertBranchCounter(path.get('consequent'), branch, n.loc); - } - if (ignoreElse) { - this.setAttr(n.alternate, 'skip-all', true); - } else { - this.insertBranchCounter(path.get('alternate'), branch); - } -} - -function createSwitchBranch(path) { - const b = this.cov.newBranch('switch', path.node.loc); - this.setAttr(path.node, 'branchName', b); -} - -function coverSwitchCase(path) { - const T = this.types; - const b = this.getAttr(path.parentPath.node, 'branchName'); - /* istanbul ignore if: paranoid check */ - if (b === null) { - throw new Error('Unable to get switch branch name'); - } - const increment = this.getBranchIncrement(b, path.node.loc); - path.node.consequent.unshift(T.expressionStatement(increment)); -} - -function coverTernary(path) { - const n = path.node; - const branch = this.cov.newBranch('cond-expr', path.node.loc); - const cHint = this.hintFor(n.consequent); - const aHint = this.hintFor(n.alternate); - - if (cHint !== 'next') { - this.insertBranchCounter(path.get('consequent'), branch); - } - if (aHint !== 'next') { - this.insertBranchCounter(path.get('alternate'), branch); - } -} - -function coverLogicalExpression(path) { - const T = this.types; - if (path.parentPath.node.type === 'LogicalExpression') { - return; // already processed - } - const leaves = []; - this.findLeaves(path.node, leaves); - const b = this.cov.newBranch( - 'binary-expr', - path.node.loc, - this.reportLogic - ); - for (let i = 0; i < leaves.length; i += 1) { - const leaf = leaves[i]; - const hint = this.hintFor(leaf.node); - if (hint === 'next') { - continue; - } - - if (this.reportLogic) { - const increment = this.getBranchLogicIncrement( - leaf, - b, - leaf.node.loc - ); - if (!increment[0]) { - continue; - } - leaf.parent[leaf.property] = T.sequenceExpression([ - increment[0], - increment[1] - ]); - continue; - } - - const increment = this.getBranchIncrement(b, leaf.node.loc); - if (!increment) { - continue; - } - leaf.parent[leaf.property] = T.sequenceExpression([ - increment, - leaf.node - ]); - } -} - -const codeVisitor = { - ArrowFunctionExpression: entries(convertArrowExpression, coverFunction), - AssignmentPattern: entries(coverAssignmentPattern), - BlockStatement: entries(), // ignore processing only - ExportDefaultDeclaration: entries(), // ignore processing only - ExportNamedDeclaration: entries(), // ignore processing only - ClassMethod: entries(coverFunction), - ClassDeclaration: entries(parenthesizedExpressionProp('superClass')), - ClassProperty: entries(coverClassPropDeclarator), - ClassPrivateProperty: entries(coverClassPropDeclarator), - ObjectMethod: entries(coverFunction), - ExpressionStatement: entries(coverStatement), - BreakStatement: entries(coverStatement), - ContinueStatement: entries(coverStatement), - DebuggerStatement: entries(coverStatement), - ReturnStatement: entries(coverStatement), - ThrowStatement: entries(coverStatement), - TryStatement: entries(coverStatement), - VariableDeclaration: entries(), // ignore processing only - VariableDeclarator: entries(coverVariableDeclarator), - IfStatement: entries( - blockProp('consequent'), - blockProp('alternate'), - coverStatement, - coverIfBranches - ), - ForStatement: entries(blockProp('body'), coverStatement), - ForInStatement: entries(blockProp('body'), coverStatement), - ForOfStatement: entries(blockProp('body'), coverStatement), - WhileStatement: entries(blockProp('body'), coverStatement), - DoWhileStatement: entries(blockProp('body'), coverStatement), - SwitchStatement: entries(createSwitchBranch, coverStatement), - SwitchCase: entries(coverSwitchCase), - WithStatement: entries(blockProp('body'), coverStatement), - FunctionDeclaration: entries(coverFunction), - FunctionExpression: entries(coverFunction), - LabeledStatement: entries(coverStatement), - ConditionalExpression: entries(coverTernary), - LogicalExpression: entries(coverLogicalExpression) -}; -const globalTemplateAlteredFunction = template(` - var Function = (function(){}).constructor; - var global = (new Function(GLOBAL_COVERAGE_SCOPE))(); -`); -const globalTemplateFunction = template(` - var global = (new Function(GLOBAL_COVERAGE_SCOPE))(); -`); -const globalTemplateVariable = template(` - var global = GLOBAL_COVERAGE_SCOPE; -`); -// the template to insert at the top of the program. -const coverageTemplate = template( - ` - function COVERAGE_FUNCTION () { - var path = PATH; - var hash = HASH; - GLOBAL_COVERAGE_TEMPLATE - var gcv = GLOBAL_COVERAGE_VAR; - var coverageData = INITIAL; - var coverage = global[gcv] || (global[gcv] = {}); - if (!coverage[path] || coverage[path].hash !== hash) { - coverage[path] = coverageData; - } - - var actualCoverage = coverage[path]; - { - // @ts-ignore - COVERAGE_FUNCTION = function () { - return actualCoverage; - } - } - - return actualCoverage; - } -`, - { preserveComments: true } -); -// the rewire plugin (and potentially other babel middleware) -// may cause files to be instrumented twice, see: -// https://github.com/istanbuljs/babel-plugin-istanbul/issues/94 -// we should only instrument code for coverage the first time -// it's run through istanbul-lib-instrument. -function alreadyInstrumented(path, visitState) { - return path.scope.hasBinding(visitState.varName); -} -function shouldIgnoreFile(programNode) { - return ( - programNode.parent && - programNode.parent.comments.some(c => COMMENT_FILE_RE.test(c.value)) - ); -} - -/** - * programVisitor is a `babel` adaptor for instrumentation. - * It returns an object with two methods `enter` and `exit`. - * These should be assigned to or called from `Program` entry and exit functions - * in a babel visitor. - * These functions do not make assumptions about the state set by Babel and thus - * can be used in a context other than a Babel plugin. - * - * The exit function returns an object that currently has the following keys: - * - * `fileCoverage` - the file coverage object created for the source file. - * `sourceMappingURL` - any source mapping URL found when processing the file. - * - * @param {Object} types - an instance of babel-types. - * @param {string} sourceFilePath - the path to source file. - * @param {Object} opts - additional options. - * @param {string} [opts.coverageVariable=__coverage__] the global coverage variable name. - * @param {boolean} [opts.reportLogic=false] report boolean value of logical expressions. - * @param {string} [opts.coverageGlobalScope=this] the global coverage variable scope. - * @param {boolean} [opts.coverageGlobalScopeFunc=true] use an evaluated function to find coverageGlobalScope. - * @param {Array} [opts.ignoreClassMethods=[]] names of methods to ignore by default on classes. - * @param {object} [opts.inputSourceMap=undefined] the input source map, that maps the uninstrumented code back to the - * original code. - */ -function programVisitor(types, sourceFilePath = 'unknown.js', opts = {}) { - const T = types; - opts = { - ...defaults.instrumentVisitor, - ...opts - }; - const visitState = new VisitState( - types, - sourceFilePath, - opts.inputSourceMap, - opts.ignoreClassMethods, - opts.reportLogic - ); - return { - enter(path) { - if (shouldIgnoreFile(path.find(p => p.isProgram()))) { - return; - } - if (alreadyInstrumented(path, visitState)) { - return; - } - path.traverse(codeVisitor, visitState); - }, - exit(path) { - if (alreadyInstrumented(path, visitState)) { - return; - } - visitState.cov.freeze(); - const coverageData = visitState.cov.toJSON(); - if (shouldIgnoreFile(path.find(p => p.isProgram()))) { - return { - fileCoverage: coverageData, - sourceMappingURL: visitState.sourceMappingURL - }; - } - coverageData[MAGIC_KEY] = MAGIC_VALUE; - const hash = createHash(SHA) - .update(JSON.stringify(coverageData)) - .digest('hex'); - coverageData.hash = hash; - if ( - coverageData.inputSourceMap && - Object.getPrototypeOf(coverageData.inputSourceMap) !== - Object.prototype - ) { - coverageData.inputSourceMap = { - ...coverageData.inputSourceMap - }; - } - const coverageNode = T.valueToNode(coverageData); - delete coverageData[MAGIC_KEY]; - delete coverageData.hash; - let gvTemplate; - if (opts.coverageGlobalScopeFunc) { - if (path.scope.getBinding('Function')) { - gvTemplate = globalTemplateAlteredFunction({ - GLOBAL_COVERAGE_SCOPE: T.stringLiteral( - 'return ' + opts.coverageGlobalScope - ) - }); - } else { - gvTemplate = globalTemplateFunction({ - GLOBAL_COVERAGE_SCOPE: T.stringLiteral( - 'return ' + opts.coverageGlobalScope - ) - }); - } - } else { - gvTemplate = globalTemplateVariable({ - GLOBAL_COVERAGE_SCOPE: opts.coverageGlobalScope - }); - } - const cv = coverageTemplate({ - GLOBAL_COVERAGE_VAR: T.stringLiteral(opts.coverageVariable), - GLOBAL_COVERAGE_TEMPLATE: gvTemplate, - COVERAGE_FUNCTION: T.identifier(visitState.varName), - PATH: T.stringLiteral(sourceFilePath), - INITIAL: coverageNode, - HASH: T.stringLiteral(hash) - }); - // explicitly call this.varName to ensure coverage is always initialized - path.node.body.unshift( - T.expressionStatement( - T.callExpression(T.identifier(visitState.varName), []) - ) - ); - path.node.body.unshift(cv); - return { - fileCoverage: coverageData, - sourceMappingURL: visitState.sourceMappingURL - }; - } - }; -} - -module.exports = programVisitor; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-report/CHANGELOG.md b/lambdas/risk-engine/node_modules/istanbul-lib-report/CHANGELOG.md deleted file mode 100644 index 36dc3d80..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-report/CHANGELOG.md +++ /dev/null @@ -1,192 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [3.0.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@3.0.0-alpha.2...istanbul-lib-report@3.0.0) (2019-12-20) - -**Note:** Version bump only for package istanbul-lib-report - - - - - -# [3.0.0-alpha.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@3.0.0-alpha.1...istanbul-lib-report@3.0.0-alpha.2) (2019-12-07) - -**Note:** Version bump only for package istanbul-lib-report - - - - - -# [3.0.0-alpha.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@3.0.0-alpha.0...istanbul-lib-report@3.0.0-alpha.1) (2019-10-06) - -**Note:** Version bump only for package istanbul-lib-report - - - - - -# [3.0.0-alpha.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@2.0.8...istanbul-lib-report@3.0.0-alpha.0) (2019-06-19) - - -### Bug Fixes - -* **package:** update supports-color to version 7.0.0 ([#420](https://github.com/istanbuljs/istanbuljs/issues/420)) ([631029d](https://github.com/istanbuljs/istanbuljs/commit/631029d)) -* Properly combine directories in nested summarizer ([#380](https://github.com/istanbuljs/istanbuljs/issues/380)) ([50afdbb](https://github.com/istanbuljs/istanbuljs/commit/50afdbb)) - - -### Features - -* Refactor istanbul-lib-report so report can choose summarizer ([#408](https://github.com/istanbuljs/istanbuljs/issues/408)) ([0f328fd](https://github.com/istanbuljs/istanbuljs/commit/0f328fd)) -* Update dependencies, require Node.js 8 ([#401](https://github.com/istanbuljs/istanbuljs/issues/401)) ([bf3a539](https://github.com/istanbuljs/istanbuljs/commit/bf3a539)) - - -### BREAKING CHANGES - -* Existing istanbul-lib-report API's have been changed -* Node.js 8 is now required - - - - - -## [3.0.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report-v3.0.0...istanbul-lib-report-v3.0.1) (2023-07-25) - - -### Bug Fixes - -* **deps:** update make-dir CVE-2022-25883 ([eab82a9](https://github.com/istanbuljs/istanbuljs/commit/eab82a9aeff140a8fd2981c7f872830c985d479f)) - -## [2.0.8](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@2.0.7...istanbul-lib-report@2.0.8) (2019-04-24) - -**Note:** Version bump only for package istanbul-lib-report - - - - - -## [2.0.7](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@2.0.6...istanbul-lib-report@2.0.7) (2019-04-09) - -**Note:** Version bump only for package istanbul-lib-report - - - - - -## [2.0.6](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@2.0.5...istanbul-lib-report@2.0.6) (2019-04-03) - - -### Bug Fixes - -* Avoid corrupting HTML report's arrow png during copy ([#343](https://github.com/istanbuljs/istanbuljs/issues/343)) ([ce664c7](https://github.com/istanbuljs/istanbuljs/commit/ce664c7)) - - - - - -## [2.0.5](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@2.0.4...istanbul-lib-report@2.0.5) (2019-03-12) - -**Note:** Version bump only for package istanbul-lib-report - - - - - -## [2.0.4](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@2.0.3...istanbul-lib-report@2.0.4) (2019-01-26) - - -### Bug Fixes - -* nested summarizer error with no files ([#230](https://github.com/istanbuljs/istanbuljs/issues/230)) ([07724bf](https://github.com/istanbuljs/istanbuljs/commit/07724bf)) - - - - - - -## [2.0.3](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@2.0.2...istanbul-lib-report@2.0.3) (2018-12-25) - - - - -**Note:** Version bump only for package istanbul-lib-report - - -## [2.0.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@2.0.1...istanbul-lib-report@2.0.2) (2018-09-06) - - - - -**Note:** Version bump only for package istanbul-lib-report - - -## [2.0.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@2.0.0...istanbul-lib-report@2.0.1) (2018-07-07) - - - - -**Note:** Version bump only for package istanbul-lib-report - - -# [2.0.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@1.1.4...istanbul-lib-report@2.0.0) (2018-06-06) - - -### Bug Fixes - -* use null prototype for map objects ([#177](https://github.com/istanbuljs/istanbuljs/issues/177)) ([9a5a30c](https://github.com/istanbuljs/istanbuljs/commit/9a5a30c)) - - -### BREAKING CHANGES - -* a null prototype is now used in several places rather than the default `{}` assignment. - - - - - -## [1.1.4](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@1.1.3...istanbul-lib-report@1.1.4) (2018-03-04) - - - - -**Note:** Version bump only for package istanbul-lib-report - - -## [1.1.3](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@1.1.2...istanbul-lib-report@1.1.3) (2018-02-13) - - - - -**Note:** Version bump only for package istanbul-lib-report - - -## [1.1.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@1.1.1...istanbul-lib-report@1.1.2) (2017-10-21) - - -### Bug Fixes - -* remove call to mkdirp.sync() in constructor so when used for ConsoleWriter ([#104](https://github.com/istanbuljs/istanbuljs/issues/104)) ([58eb79d](https://github.com/istanbuljs/istanbuljs/commit/58eb79d)) - - - - - -## [1.1.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-report@1.1.0...istanbul-lib-report@1.1.1) (2017-05-27) - - - - - -# [1.1.0](https://github.com/istanbuljs/istanbul-lib-report/compare/istanbul-lib-report@1.0.0...istanbul-lib-report@1.1.0) (2017-04-29) - - -### Features - -* once 100% line coverage is achieved, missing branch coverage is now shown in text report ([#45](https://github.com/istanbuljs/istanbuljs/issues/45)) ([8a809f8](https://github.com/istanbuljs/istanbul-lib-report/commit/8a809f8)) - - - - - -# [1.0.0](https://github.com/istanbuljs/istanbul-lib-report/compare/istanbul-lib-report@1.0.0-alpha.3...istanbul-lib-report@1.0.0) (2017-03-27) diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-report/LICENSE b/lambdas/risk-engine/node_modules/istanbul-lib-report/LICENSE deleted file mode 100644 index d55d2916..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-report/LICENSE +++ /dev/null @@ -1,24 +0,0 @@ -Copyright 2012-2015 Yahoo! Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of the Yahoo! Inc. nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL YAHOO! INC. BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-report/README.md b/lambdas/risk-engine/node_modules/istanbul-lib-report/README.md deleted file mode 100644 index f7ff56a3..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-report/README.md +++ /dev/null @@ -1,43 +0,0 @@ -# istanbul-lib-report - -[![Greenkeeper badge](https://badges.greenkeeper.io/istanbuljs/istanbul-lib-report.svg)](https://greenkeeper.io/) -[![Build Status](https://travis-ci.org/istanbuljs/istanbul-lib-report.svg?branch=master)](https://travis-ci.org/istanbuljs/istanbul-lib-report) - -Core reporting utilities for istanbul. - -## Example usage - -```js -const libReport = require('istanbul-lib-report'); -const reports = require('istanbul-reports'); - -// coverageMap, for instance, obtained from istanbul-lib-coverage -const coverageMap; - -const configWatermarks = { - statements: [50, 80], - functions: [50, 80], - branches: [50, 80], - lines: [50, 80] -}; - -// create a context for report generation -const context = libReport.createContext({ - dir: 'report/output/dir', - // The summarizer to default to (may be overridden by some reports) - // values can be nested/flat/pkg. Defaults to 'pkg' - defaultSummarizer: 'nested', - watermarks: configWatermarks, - coverageMap, -}) - -// create an instance of the relevant report class, passing the -// report name e.g. json/html/html-spa/text -const report = reports.create('json', { - skipEmpty: configSkipEmpty, - skipFull: configSkipFull -}) - -// call execute to synchronously create and write the report to disk -report.execute(context) -``` diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-report/index.js b/lambdas/risk-engine/node_modules/istanbul-lib-report/index.js deleted file mode 100644 index af1a1c86..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-report/index.js +++ /dev/null @@ -1,40 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -/** - * @module Exports - */ - -const Context = require('./lib/context'); -const watermarks = require('./lib/watermarks'); -const ReportBase = require('./lib/report-base'); - -module.exports = { - /** - * returns a reporting context for the supplied options - * @param {Object} [opts=null] opts - * @returns {Context} - */ - createContext(opts) { - return new Context(opts); - }, - - /** - * returns the default watermarks that would be used when not - * overridden - * @returns {Object} an object with `statements`, `functions`, `branches`, - * and `line` keys. Each value is a 2 element array that has the low and - * high watermark as percentages. - */ - getDefaultWatermarks() { - return watermarks.getDefault(); - }, - - /** - * Base class for all reports - */ - ReportBase -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/context.js b/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/context.js deleted file mode 100644 index fbb30bc3..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/context.js +++ /dev/null @@ -1,132 +0,0 @@ -'use strict'; -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -const fs = require('fs'); -const FileWriter = require('./file-writer'); -const XMLWriter = require('./xml-writer'); -const tree = require('./tree'); -const watermarks = require('./watermarks'); -const SummarizerFactory = require('./summarizer-factory'); - -function defaultSourceLookup(path) { - try { - return fs.readFileSync(path, 'utf8'); - } catch (ex) { - throw new Error(`Unable to lookup source: ${path} (${ex.message})`); - } -} - -function normalizeWatermarks(specified = {}) { - Object.entries(watermarks.getDefault()).forEach(([k, value]) => { - const specValue = specified[k]; - if (!Array.isArray(specValue) || specValue.length !== 2) { - specified[k] = value; - } - }); - - return specified; -} - -/** - * A reporting context that is passed to report implementations - * @param {Object} [opts=null] opts options - * @param {String} [opts.dir='coverage'] opts.dir the reporting directory - * @param {Object} [opts.watermarks=null] opts.watermarks watermarks for - * statements, lines, branches and functions - * @param {Function} [opts.sourceFinder=fsLookup] opts.sourceFinder a - * function that returns source code given a file path. Defaults to - * filesystem lookups based on path. - * @constructor - */ -class Context { - constructor(opts) { - this.dir = opts.dir || 'coverage'; - this.watermarks = normalizeWatermarks(opts.watermarks); - this.sourceFinder = opts.sourceFinder || defaultSourceLookup; - this._summarizerFactory = new SummarizerFactory( - opts.coverageMap, - opts.defaultSummarizer - ); - this.data = {}; - } - - /** - * returns a FileWriter implementation for reporting use. Also available - * as the `writer` property on the context. - * @returns {Writer} - */ - getWriter() { - return this.writer; - } - - /** - * returns the source code for the specified file path or throws if - * the source could not be found. - * @param {String} filePath the file path as found in a file coverage object - * @returns {String} the source code - */ - getSource(filePath) { - return this.sourceFinder(filePath); - } - - /** - * returns the coverage class given a coverage - * types and a percentage value. - * @param {String} type - the coverage type, one of `statements`, `functions`, - * `branches`, or `lines` - * @param {Number} value - the percentage value - * @returns {String} one of `high`, `medium` or `low` - */ - classForPercent(type, value) { - const watermarks = this.watermarks[type]; - if (!watermarks) { - return 'unknown'; - } - if (value < watermarks[0]) { - return 'low'; - } - if (value >= watermarks[1]) { - return 'high'; - } - return 'medium'; - } - - /** - * returns an XML writer for the supplied content writer - * @param {ContentWriter} contentWriter the content writer to which the returned XML writer - * writes data - * @returns {XMLWriter} - */ - getXMLWriter(contentWriter) { - return new XMLWriter(contentWriter); - } - - /** - * returns a full visitor given a partial one. - * @param {Object} partialVisitor a partial visitor only having the functions of - * interest to the caller. These functions are called with a scope that is the - * supplied object. - * @returns {Visitor} - */ - getVisitor(partialVisitor) { - return new tree.Visitor(partialVisitor); - } - - getTree(name = 'defaultSummarizer') { - return this._summarizerFactory[name]; - } -} - -Object.defineProperty(Context.prototype, 'writer', { - enumerable: true, - get() { - if (!this.data.writer) { - this.data.writer = new FileWriter(this.dir); - } - return this.data.writer; - } -}); - -module.exports = Context; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/file-writer.js b/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/file-writer.js deleted file mode 100644 index de1154b1..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/file-writer.js +++ /dev/null @@ -1,189 +0,0 @@ -'use strict'; -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -const path = require('path'); -const fs = require('fs'); -const mkdirp = require('make-dir'); -const supportsColor = require('supports-color'); - -/** - * Base class for writing content - * @class ContentWriter - * @constructor - */ -class ContentWriter { - /** - * returns the colorized version of a string. Typically, - * content writers that write to files will return the - * same string and ones writing to a tty will wrap it in - * appropriate escape sequences. - * @param {String} str the string to colorize - * @param {String} clazz one of `high`, `medium` or `low` - * @returns {String} the colorized form of the string - */ - colorize(str /*, clazz*/) { - return str; - } - - /** - * writes a string appended with a newline to the destination - * @param {String} str the string to write - */ - println(str) { - this.write(`${str}\n`); - } - - /** - * closes this content writer. Should be called after all writes are complete. - */ - close() {} -} - -/** - * a content writer that writes to a file - * @param {Number} fd - the file descriptor - * @extends ContentWriter - * @constructor - */ -class FileContentWriter extends ContentWriter { - constructor(fd) { - super(); - - this.fd = fd; - } - - write(str) { - fs.writeSync(this.fd, str); - } - - close() { - fs.closeSync(this.fd); - } -} - -// allow stdout to be captured for tests. -let capture = false; -let output = ''; - -/** - * a content writer that writes to the console - * @extends ContentWriter - * @constructor - */ -class ConsoleWriter extends ContentWriter { - write(str) { - if (capture) { - output += str; - } else { - process.stdout.write(str); - } - } - - colorize(str, clazz) { - const colors = { - low: '31;1', - medium: '33;1', - high: '32;1' - }; - - /* istanbul ignore next: different modes for CI and local */ - if (supportsColor.stdout && colors[clazz]) { - return `\u001b[${colors[clazz]}m${str}\u001b[0m`; - } - return str; - } -} - -/** - * utility for writing files under a specific directory - * @class FileWriter - * @param {String} baseDir the base directory under which files should be written - * @constructor - */ -class FileWriter { - constructor(baseDir) { - if (!baseDir) { - throw new Error('baseDir must be specified'); - } - this.baseDir = baseDir; - } - - /** - * static helpers for capturing stdout report output; - * super useful for tests! - */ - static startCapture() { - capture = true; - } - - static stopCapture() { - capture = false; - } - - static getOutput() { - return output; - } - - static resetOutput() { - output = ''; - } - - /** - * returns a FileWriter that is rooted at the supplied subdirectory - * @param {String} subdir the subdirectory under which to root the - * returned FileWriter - * @returns {FileWriter} - */ - writerForDir(subdir) { - if (path.isAbsolute(subdir)) { - throw new Error( - `Cannot create subdir writer for absolute path: ${subdir}` - ); - } - return new FileWriter(`${this.baseDir}/${subdir}`); - } - - /** - * copies a file from a source directory to a destination name - * @param {String} source path to source file - * @param {String} dest relative path to destination file - * @param {String} [header=undefined] optional text to prepend to destination - * (e.g., an "this file is autogenerated" comment, copyright notice, etc.) - */ - copyFile(source, dest, header) { - if (path.isAbsolute(dest)) { - throw new Error(`Cannot write to absolute path: ${dest}`); - } - dest = path.resolve(this.baseDir, dest); - mkdirp.sync(path.dirname(dest)); - let contents; - if (header) { - contents = header + fs.readFileSync(source, 'utf8'); - } else { - contents = fs.readFileSync(source); - } - fs.writeFileSync(dest, contents); - } - - /** - * returns a content writer for writing content to the supplied file. - * @param {String|null} file the relative path to the file or the special - * values `"-"` or `null` for writing to the console - * @returns {ContentWriter} - */ - writeFile(file) { - if (file === null || file === '-') { - return new ConsoleWriter(); - } - if (path.isAbsolute(file)) { - throw new Error(`Cannot write to absolute path: ${file}`); - } - file = path.resolve(this.baseDir, file); - mkdirp.sync(path.dirname(file)); - return new FileContentWriter(fs.openSync(file, 'w')); - } -} - -module.exports = FileWriter; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/path.js b/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/path.js deleted file mode 100644 index c928b173..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/path.js +++ /dev/null @@ -1,169 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -const path = require('path'); -let parsePath = path.parse; -let SEP = path.sep; -const origParser = parsePath; -const origSep = SEP; - -function makeRelativeNormalizedPath(str, sep) { - const parsed = parsePath(str); - let root = parsed.root; - let dir; - let file = parsed.base; - let quoted; - let pos; - - // handle a weird windows case separately - if (sep === '\\') { - pos = root.indexOf(':\\'); - if (pos >= 0) { - root = root.substring(0, pos + 2); - } - } - dir = parsed.dir.substring(root.length); - - if (str === '') { - return []; - } - - if (sep !== '/') { - quoted = new RegExp(sep.replace(/\W/g, '\\$&'), 'g'); - dir = dir.replace(quoted, '/'); - file = file.replace(quoted, '/'); // excessively paranoid? - } - - if (dir !== '') { - dir = `${dir}/${file}`; - } else { - dir = file; - } - if (dir.substring(0, 1) === '/') { - dir = dir.substring(1); - } - dir = dir.split(/\/+/); - return dir; -} - -class Path { - constructor(strOrArray) { - if (Array.isArray(strOrArray)) { - this.v = strOrArray; - } else if (typeof strOrArray === 'string') { - this.v = makeRelativeNormalizedPath(strOrArray, SEP); - } else { - throw new Error( - `Invalid Path argument must be string or array:${strOrArray}` - ); - } - } - - toString() { - return this.v.join('/'); - } - - hasParent() { - return this.v.length > 0; - } - - parent() { - if (!this.hasParent()) { - throw new Error('Unable to get parent for 0 elem path'); - } - const p = this.v.slice(); - p.pop(); - return new Path(p); - } - - elements() { - return this.v.slice(); - } - - name() { - return this.v.slice(-1)[0]; - } - - contains(other) { - let i; - if (other.length > this.length) { - return false; - } - for (i = 0; i < other.length; i += 1) { - if (this.v[i] !== other.v[i]) { - return false; - } - } - return true; - } - - ancestorOf(other) { - return other.contains(this) && other.length !== this.length; - } - - descendantOf(other) { - return this.contains(other) && other.length !== this.length; - } - - commonPrefixPath(other) { - const len = this.length > other.length ? other.length : this.length; - let i; - const ret = []; - - for (i = 0; i < len; i += 1) { - if (this.v[i] === other.v[i]) { - ret.push(this.v[i]); - } else { - break; - } - } - return new Path(ret); - } - - static compare(a, b) { - const al = a.length; - const bl = b.length; - - if (al < bl) { - return -1; - } - - if (al > bl) { - return 1; - } - - const astr = a.toString(); - const bstr = b.toString(); - return astr < bstr ? -1 : astr > bstr ? 1 : 0; - } -} - -['push', 'pop', 'shift', 'unshift', 'splice'].forEach(fn => { - Object.defineProperty(Path.prototype, fn, { - value(...args) { - return this.v[fn](...args); - } - }); -}); - -Object.defineProperty(Path.prototype, 'length', { - enumerable: true, - get() { - return this.v.length; - } -}); - -module.exports = Path; -Path.tester = { - setParserAndSep(p, sep) { - parsePath = p; - SEP = sep; - }, - reset() { - parsePath = origParser; - SEP = origSep; - } -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/report-base.js b/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/report-base.js deleted file mode 100644 index 96de750d..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/report-base.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - -// TODO: switch to class private field when targetting node.js 12 -const _summarizer = Symbol('ReportBase.#summarizer'); - -class ReportBase { - constructor(opts = {}) { - this[_summarizer] = opts.summarizer; - } - - execute(context) { - context.getTree(this[_summarizer]).visit(this, context); - } -} - -module.exports = ReportBase; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/summarizer-factory.js b/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/summarizer-factory.js deleted file mode 100644 index 5e8acd90..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/summarizer-factory.js +++ /dev/null @@ -1,284 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -const coverage = require('istanbul-lib-coverage'); -const Path = require('./path'); -const { BaseNode, BaseTree } = require('./tree'); - -class ReportNode extends BaseNode { - constructor(path, fileCoverage) { - super(); - - this.path = path; - this.parent = null; - this.fileCoverage = fileCoverage; - this.children = []; - } - - static createRoot(children) { - const root = new ReportNode(new Path([])); - - children.forEach(child => { - root.addChild(child); - }); - - return root; - } - - addChild(child) { - child.parent = this; - this.children.push(child); - } - - asRelative(p) { - if (p.substring(0, 1) === '/') { - return p.substring(1); - } - return p; - } - - getQualifiedName() { - return this.asRelative(this.path.toString()); - } - - getRelativeName() { - const parent = this.getParent(); - const myPath = this.path; - let relPath; - let i; - const parentPath = parent ? parent.path : new Path([]); - if (parentPath.ancestorOf(myPath)) { - relPath = new Path(myPath.elements()); - for (i = 0; i < parentPath.length; i += 1) { - relPath.shift(); - } - return this.asRelative(relPath.toString()); - } - return this.asRelative(this.path.toString()); - } - - getParent() { - return this.parent; - } - - getChildren() { - return this.children; - } - - isSummary() { - return !this.fileCoverage; - } - - getFileCoverage() { - return this.fileCoverage; - } - - getCoverageSummary(filesOnly) { - const cacheProp = `c_${filesOnly ? 'files' : 'full'}`; - let summary; - - if (Object.prototype.hasOwnProperty.call(this, cacheProp)) { - return this[cacheProp]; - } - - if (!this.isSummary()) { - summary = this.getFileCoverage().toSummary(); - } else { - let count = 0; - summary = coverage.createCoverageSummary(); - this.getChildren().forEach(child => { - if (filesOnly && child.isSummary()) { - return; - } - count += 1; - summary.merge(child.getCoverageSummary(filesOnly)); - }); - if (count === 0 && filesOnly) { - summary = null; - } - } - this[cacheProp] = summary; - return summary; - } -} - -class ReportTree extends BaseTree { - constructor(root, childPrefix) { - super(root); - - const maybePrefix = node => { - if (childPrefix && !node.isRoot()) { - node.path.unshift(childPrefix); - } - }; - this.visit({ - onDetail: maybePrefix, - onSummary(node) { - maybePrefix(node); - node.children.sort((a, b) => { - const astr = a.path.toString(); - const bstr = b.path.toString(); - return astr < bstr - ? -1 - : astr > bstr - ? 1 - : /* istanbul ignore next */ 0; - }); - } - }); - } -} - -function findCommonParent(paths) { - return paths.reduce( - (common, path) => common.commonPrefixPath(path), - paths[0] || new Path([]) - ); -} - -function findOrCreateParent(parentPath, nodeMap, created = () => {}) { - let parent = nodeMap[parentPath.toString()]; - - if (!parent) { - parent = new ReportNode(parentPath); - nodeMap[parentPath.toString()] = parent; - created(parentPath, parent); - } - - return parent; -} - -function toDirParents(list) { - const nodeMap = Object.create(null); - list.forEach(o => { - const parent = findOrCreateParent(o.path.parent(), nodeMap); - parent.addChild(new ReportNode(o.path, o.fileCoverage)); - }); - - return Object.values(nodeMap); -} - -function addAllPaths(topPaths, nodeMap, path, node) { - const parent = findOrCreateParent( - path.parent(), - nodeMap, - (parentPath, parent) => { - if (parentPath.hasParent()) { - addAllPaths(topPaths, nodeMap, parentPath, parent); - } else { - topPaths.push(parent); - } - } - ); - - parent.addChild(node); -} - -function foldIntoOneDir(node, parent) { - const { children } = node; - if (children.length === 1 && !children[0].fileCoverage) { - children[0].parent = parent; - return foldIntoOneDir(children[0], parent); - } - node.children = children.map(child => foldIntoOneDir(child, node)); - return node; -} - -function pkgSummaryPrefix(dirParents, commonParent) { - if (!dirParents.some(dp => dp.path.length === 0)) { - return; - } - - if (commonParent.length === 0) { - return 'root'; - } - - return commonParent.name(); -} - -class SummarizerFactory { - constructor(coverageMap, defaultSummarizer = 'pkg') { - this._coverageMap = coverageMap; - this._defaultSummarizer = defaultSummarizer; - this._initialList = coverageMap.files().map(filePath => ({ - filePath, - path: new Path(filePath), - fileCoverage: coverageMap.fileCoverageFor(filePath) - })); - this._commonParent = findCommonParent( - this._initialList.map(o => o.path.parent()) - ); - if (this._commonParent.length > 0) { - this._initialList.forEach(o => { - o.path.splice(0, this._commonParent.length); - }); - } - } - - get defaultSummarizer() { - return this[this._defaultSummarizer]; - } - - get flat() { - if (!this._flat) { - this._flat = new ReportTree( - ReportNode.createRoot( - this._initialList.map( - node => new ReportNode(node.path, node.fileCoverage) - ) - ) - ); - } - - return this._flat; - } - - _createPkg() { - const dirParents = toDirParents(this._initialList); - if (dirParents.length === 1) { - return new ReportTree(dirParents[0]); - } - - return new ReportTree( - ReportNode.createRoot(dirParents), - pkgSummaryPrefix(dirParents, this._commonParent) - ); - } - - get pkg() { - if (!this._pkg) { - this._pkg = this._createPkg(); - } - - return this._pkg; - } - - _createNested() { - const nodeMap = Object.create(null); - const topPaths = []; - this._initialList.forEach(o => { - const node = new ReportNode(o.path, o.fileCoverage); - addAllPaths(topPaths, nodeMap, o.path, node); - }); - - const topNodes = topPaths.map(node => foldIntoOneDir(node)); - if (topNodes.length === 1) { - return new ReportTree(topNodes[0]); - } - - return new ReportTree(ReportNode.createRoot(topNodes)); - } - - get nested() { - if (!this._nested) { - this._nested = this._createNested(); - } - - return this._nested; - } -} - -module.exports = SummarizerFactory; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/tree.js b/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/tree.js deleted file mode 100644 index 7c182046..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/tree.js +++ /dev/null @@ -1,137 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -/** - * An object with methods that are called during the traversal of the coverage tree. - * A visitor has the following methods that are called during tree traversal. - * - * * `onStart(root, state)` - called before traversal begins - * * `onSummary(node, state)` - called for every summary node - * * `onDetail(node, state)` - called for every detail node - * * `onSummaryEnd(node, state)` - called after all children have been visited for - * a summary node. - * * `onEnd(root, state)` - called after traversal ends - * - * @param delegate - a partial visitor that only implements the methods of interest - * The visitor object supplies the missing methods as noops. For example, reports - * that only need the final coverage summary need implement `onStart` and nothing - * else. Reports that use only detailed coverage information need implement `onDetail` - * and nothing else. - * @constructor - */ -class Visitor { - constructor(delegate) { - this.delegate = delegate; - } -} - -['Start', 'End', 'Summary', 'SummaryEnd', 'Detail'] - .map(k => `on${k}`) - .forEach(fn => { - Object.defineProperty(Visitor.prototype, fn, { - writable: true, - value(node, state) { - if (typeof this.delegate[fn] === 'function') { - this.delegate[fn](node, state); - } - } - }); - }); - -class CompositeVisitor extends Visitor { - constructor(visitors) { - super(); - - if (!Array.isArray(visitors)) { - visitors = [visitors]; - } - this.visitors = visitors.map(v => { - if (v instanceof Visitor) { - return v; - } - return new Visitor(v); - }); - } -} - -['Start', 'Summary', 'SummaryEnd', 'Detail', 'End'] - .map(k => `on${k}`) - .forEach(fn => { - Object.defineProperty(CompositeVisitor.prototype, fn, { - value(node, state) { - this.visitors.forEach(v => { - v[fn](node, state); - }); - } - }); - }); - -class BaseNode { - isRoot() { - return !this.getParent(); - } - - /** - * visit all nodes depth-first from this node down. Note that `onStart` - * and `onEnd` are never called on the visitor even if the current - * node is the root of the tree. - * @param visitor a full visitor that is called during tree traversal - * @param state optional state that is passed around - */ - visit(visitor, state) { - if (this.isSummary()) { - visitor.onSummary(this, state); - } else { - visitor.onDetail(this, state); - } - - this.getChildren().forEach(child => { - child.visit(visitor, state); - }); - - if (this.isSummary()) { - visitor.onSummaryEnd(this, state); - } - } -} - -/** - * abstract base class for a coverage tree. - * @constructor - */ -class BaseTree { - constructor(root) { - this.root = root; - } - - /** - * returns the root node of the tree - */ - getRoot() { - return this.root; - } - - /** - * visits the tree depth-first with the supplied partial visitor - * @param visitor - a potentially partial visitor - * @param state - the state to be passed around during tree traversal - */ - visit(visitor, state) { - if (!(visitor instanceof Visitor)) { - visitor = new Visitor(visitor); - } - visitor.onStart(this.getRoot(), state); - this.getRoot().visit(visitor, state); - visitor.onEnd(this.getRoot(), state); - } -} - -module.exports = { - BaseTree, - BaseNode, - Visitor, - CompositeVisitor -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/watermarks.js b/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/watermarks.js deleted file mode 100644 index fb760822..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/watermarks.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -module.exports = { - getDefault() { - return { - statements: [50, 80], - functions: [50, 80], - branches: [50, 80], - lines: [50, 80] - }; - } -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/xml-writer.js b/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/xml-writer.js deleted file mode 100644 index a32550e7..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-report/lib/xml-writer.js +++ /dev/null @@ -1,90 +0,0 @@ -'use strict'; -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -const INDENT = ' '; - -function attrString(attrs) { - return Object.entries(attrs || {}) - .map(([k, v]) => ` ${k}="${v}"`) - .join(''); -} - -/** - * a utility class to produce well-formed, indented XML - * @param {ContentWriter} contentWriter the content writer that this utility wraps - * @constructor - */ -class XMLWriter { - constructor(contentWriter) { - this.cw = contentWriter; - this.stack = []; - } - - indent(str) { - return this.stack.map(() => INDENT).join('') + str; - } - - /** - * writes the opening XML tag with the supplied attributes - * @param {String} name tag name - * @param {Object} [attrs=null] attrs attributes for the tag - */ - openTag(name, attrs) { - const str = this.indent(`<${name + attrString(attrs)}>`); - this.cw.println(str); - this.stack.push(name); - } - - /** - * closes an open XML tag. - * @param {String} name - tag name to close. This must match the writer's - * notion of the tag that is currently open. - */ - closeTag(name) { - if (this.stack.length === 0) { - throw new Error(`Attempt to close tag ${name} when not opened`); - } - const stashed = this.stack.pop(); - const str = ``; - - if (stashed !== name) { - throw new Error( - `Attempt to close tag ${name} when ${stashed} was the one open` - ); - } - this.cw.println(this.indent(str)); - } - - /** - * writes a tag and its value opening and closing it at the same time - * @param {String} name tag name - * @param {Object} [attrs=null] attrs tag attributes - * @param {String} [content=null] content optional tag content - */ - inlineTag(name, attrs, content) { - let str = '<' + name + attrString(attrs); - if (content) { - str += `>${content}`; - } else { - str += '/>'; - } - str = this.indent(str); - this.cw.println(str); - } - - /** - * closes all open tags and ends the document - */ - closeAll() { - this.stack - .slice() - .reverse() - .forEach(name => { - this.closeTag(name); - }); - } -} - -module.exports = XMLWriter; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-report/package.json b/lambdas/risk-engine/node_modules/istanbul-lib-report/package.json deleted file mode 100644 index f96713d0..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-report/package.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "name": "istanbul-lib-report", - "version": "3.0.1", - "description": "Base reporting library for istanbul", - "author": "Krishnan Anantheswaran ", - "main": "index.js", - "files": [ - "lib", - "index.js" - ], - "scripts": { - "test": "nyc mocha" - }, - "dependencies": { - "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^4.0.0", - "supports-color": "^7.1.0" - }, - "devDependencies": { - "chai": "^4.2.0", - "mocha": "^6.2.2", - "nyc": "^15.0.0-beta.2", - "rimraf": "^3.0.0" - }, - "license": "BSD-3-Clause", - "bugs": { - "url": "https://github.com/istanbuljs/istanbuljs/issues" - }, - "homepage": "https://istanbul.js.org/", - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/istanbuljs/istanbuljs.git", - "directory": "packages/istanbul-lib-report" - }, - "keywords": [ - "istanbul", - "report", - "api", - "lib" - ], - "engines": { - "node": ">=10" - } -} diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/CHANGELOG.md b/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/CHANGELOG.md deleted file mode 100644 index a1c55c24..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/CHANGELOG.md +++ /dev/null @@ -1,295 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [4.0.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@4.0.0-alpha.5...istanbul-lib-source-maps@4.0.0) (2019-12-20) - -**Note:** Version bump only for package istanbul-lib-source-maps - - - - - -# [4.0.0-alpha.5](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@4.0.0-alpha.4...istanbul-lib-source-maps@4.0.0-alpha.5) (2019-12-07) - -**Note:** Version bump only for package istanbul-lib-source-maps - - - - - -# [4.0.0-alpha.4](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@4.0.0-alpha.3...istanbul-lib-source-maps@4.0.0-alpha.4) (2019-11-16) - - -### Bug Fixes - -* sourceFinder cannot be async. ([#501](https://github.com/istanbuljs/istanbuljs/issues/501)) ([094f1b8](https://github.com/istanbuljs/istanbuljs/commit/094f1b83b4652c5ba492781620cb6358c685a849)) - - - - - -# [4.0.0-alpha.3](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@4.0.0-alpha.2...istanbul-lib-source-maps@4.0.0-alpha.3) (2019-11-15) - - -### Bug Fixes - -* mappedCoverage.addStatement is not a function ([#500](https://github.com/istanbuljs/istanbuljs/issues/500)) ([d77cc14](https://github.com/istanbuljs/istanbuljs/commit/d77cc147f7d791686af2975f7d906603335d0bfc)), closes [istanbuljs/nyc#940](https://github.com/istanbuljs/nyc/issues/940) - - - - - -# [4.0.0-alpha.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@4.0.0-alpha.1...istanbul-lib-source-maps@4.0.0-alpha.2) (2019-10-09) - - -### Features - -* Convert to async API ([#489](https://github.com/istanbuljs/istanbuljs/issues/489)) ([f8ebbc9](https://github.com/istanbuljs/istanbuljs/commit/f8ebbc9)) - - -### BREAKING CHANGES - -* MapStore#transformCoverage is now async and returns a -the coverage data only. The `sourceFinder` method is now async and -provided directly on the `MapStore` instance. - - - - - -# [4.0.0-alpha.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@4.0.0-alpha.0...istanbul-lib-source-maps@4.0.0-alpha.1) (2019-10-06) - - -### Bug Fixes - -* **package:** update rimraf to version 3.0.0 ([b6e7953](https://github.com/istanbuljs/istanbuljs/commit/b6e7953)) - - -### Features - -* Accept SourceStore and sourceStoreOpts options ([#482](https://github.com/istanbuljs/istanbuljs/issues/482)) ([0dc45a6](https://github.com/istanbuljs/istanbuljs/commit/0dc45a6)) -* Add addInputSourceMapsSync and getSourceMapSync methods ([#484](https://github.com/istanbuljs/istanbuljs/issues/484)) ([dd7048e](https://github.com/istanbuljs/istanbuljs/commit/dd7048e)) - - -### BREAKING CHANGES - -* sourceStore and tmpdir options are removed. - - - - - -# [4.0.0-alpha.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@3.0.6...istanbul-lib-source-maps@4.0.0-alpha.0) (2019-06-19) - - -### Features - -* Update dependencies, require Node.js 8 ([#401](https://github.com/istanbuljs/istanbuljs/issues/401)) ([bf3a539](https://github.com/istanbuljs/istanbuljs/commit/bf3a539)) - - -### BREAKING CHANGES - -* Node.js 8 is now required - - - - - -### [4.0.1](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps-v4.0.0...istanbul-lib-source-maps-v4.0.1) (2021-10-12) - - -### Bug Fixes - -* source mapping for branch statements ([#518](https://www.github.com/istanbuljs/istanbuljs/issues/518)) ([3833708](https://www.github.com/istanbuljs/istanbuljs/commit/38337081d97baa6295707d569dee9c4abc3f7da7)) - -## [3.0.6](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@3.0.5...istanbul-lib-source-maps@3.0.6) (2019-04-24) - - -### Bug Fixes - -* if LEAST_UPPER_BOUND returns null, try GREATEST_LOWER_BOUND ([#375](https://github.com/istanbuljs/istanbuljs/issues/375)) ([72b0f05](https://github.com/istanbuljs/istanbuljs/commit/72b0f05)) - - - - - -## [3.0.5](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@3.0.4...istanbul-lib-source-maps@3.0.5) (2019-04-09) - -**Note:** Version bump only for package istanbul-lib-source-maps - - - - - -## [3.0.4](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@3.0.3...istanbul-lib-source-maps@3.0.4) (2019-04-03) - -**Note:** Version bump only for package istanbul-lib-source-maps - - - - - -## [3.0.3](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@3.0.2...istanbul-lib-source-maps@3.0.3) (2019-03-12) - - -### Bug Fixes - -* Map unique files once, regardless of path separator ([#287](https://github.com/istanbuljs/istanbuljs/issues/287)) ([39a1e56](https://github.com/istanbuljs/istanbuljs/commit/39a1e56)) - - - - - -## [3.0.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@3.0.1...istanbul-lib-source-maps@3.0.2) (2019-01-26) - -**Note:** Version bump only for package istanbul-lib-source-maps - - - - - - -## [3.0.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@3.0.0...istanbul-lib-source-maps@3.0.1) (2018-12-25) - - -### Bug Fixes - -* correct variable name in source-map transform ([#257](https://github.com/istanbuljs/istanbuljs/issues/257)) ([de9c921](https://github.com/istanbuljs/istanbuljs/commit/de9c921)) - - - - - -# [3.0.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@2.0.1...istanbul-lib-source-maps@3.0.0) (2018-12-19) - - -### Bug Fixes - -* correctly calculate end position of sourcemap statement ([f97ffc7](https://github.com/istanbuljs/istanbuljs/commit/f97ffc7)) - - -### BREAKING CHANGES - -* coverage output can now contain Infinity, when a range extends past the source in a file. - - - - - -## [2.0.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@2.0.0...istanbul-lib-source-maps@2.0.1) (2018-07-07) - - - - -**Note:** Version bump only for package istanbul-lib-source-maps - - -# [2.0.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@1.2.5...istanbul-lib-source-maps@2.0.0) (2018-06-06) - - -### Bug Fixes - -* use null prototype for map objects ([#177](https://github.com/istanbuljs/istanbuljs/issues/177)) ([9a5a30c](https://github.com/istanbuljs/istanbuljs/commit/9a5a30c)) - - -### BREAKING CHANGES - -* a null prototype is now used in several places rather than the default `{}` assignment. - - - - - -## [1.2.5](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@1.2.4...istanbul-lib-source-maps@1.2.5) (2018-05-31) - - -### Bug Fixes - -* process.cwd is a function not a string ([#163](https://github.com/istanbuljs/istanbuljs/issues/163)). ([#171](https://github.com/istanbuljs/istanbuljs/issues/171)) ([9c7802c](https://github.com/istanbuljs/istanbuljs/commit/9c7802c)) - - - - - -## [1.2.4](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@1.2.3...istanbul-lib-source-maps@1.2.4) (2018-03-04) - - - - -**Note:** Version bump only for package istanbul-lib-source-maps - - -## [1.2.3](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@1.2.2...istanbul-lib-source-maps@1.2.3) (2018-02-13) - - - - -**Note:** Version bump only for package istanbul-lib-source-maps - - -## [1.2.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@1.2.1...istanbul-lib-source-maps@1.2.2) (2017-10-21) - - - - -**Note:** Version bump only for package istanbul-lib-source-maps - - -## [1.2.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-lib-source-maps@1.2.0...istanbul-lib-source-maps@1.2.1) (2017-05-27) - - - - - -# [1.2.0](https://github.com/istanbuljs/istanbul-lib-source-maps/compare/istanbul-lib-source-maps@1.1.1...istanbul-lib-source-maps@1.2.0) (2017-04-29) - - -### Features - -* pull in debug module, to make debug messages optional ([#36](https://github.com/istanbuljs/istanbuljs/issues/36)) ([189519d](https://github.com/istanbuljs/istanbul-lib-source-maps/commit/189519d)) - - - - - -## [1.1.1](https://github.com/istanbuljs/istanbul-lib-source-maps/compare/istanbul-lib-source-maps@1.1.0...istanbul-lib-source-maps@1.1.1) (2017-03-27) - - -# [1.1.0](https://github.com/istanbuljs/istanbul-lib-source-maps/compare/v1.0.2...v1.1.0) (2016-11-10) - - -### Features - -* read and apply any input source maps stored with coverage data ([#4](https://github.com/istanbuljs/istanbul-lib-source-maps/issues/4)) ([aea405b](https://github.com/istanbuljs/istanbul-lib-source-maps/commit/aea405b)) - - - - -## [1.0.2](https://github.com/istanbuljs/istanbul-lib-source-maps/compare/v1.0.1...v1.0.2) (2016-10-03) - - -### Bug Fixes - -* broken mapped coverage report ([#6](https://github.com/istanbuljs/istanbul-lib-source-maps/issues/6)) ([d9dd738](https://github.com/istanbuljs/istanbul-lib-source-maps/commit/d9dd738)) - - - - -## [1.0.1](https://github.com/istanbuljs/istanbul-lib-source-maps/compare/v1.0.0...v1.0.1) (2016-09-13) - - -### Bug Fixes - -* position validation shouldn't throw away locations with 0 ([#5](https://github.com/istanbuljs/istanbul-lib-source-maps/issues/5)) ([ac4b72c](https://github.com/istanbuljs/istanbul-lib-source-maps/commit/ac4b72c)) - - - - -# [1.0.0](https://github.com/istanbuljs/istanbul-lib-source-maps/compare/v1.0.0-alpha.9...v1.0.0) (2016-08-31) - - -### Bug Fixes - -* discard more bad source map positions ([#3](https://github.com/istanbuljs/istanbul-lib-source-maps/issues/3)) ([ed7b27f](https://github.com/istanbuljs/istanbul-lib-source-maps/commit/ed7b27f)) diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/LICENSE b/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/LICENSE deleted file mode 100644 index c05aaafb..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/LICENSE +++ /dev/null @@ -1,24 +0,0 @@ -Copyright 2015 Yahoo! Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of the Yahoo! Inc. nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL YAHOO! INC. BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/README.md b/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/README.md deleted file mode 100644 index f9a75f80..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/README.md +++ /dev/null @@ -1,11 +0,0 @@ -# istanbul-lib-source-maps - -[![Build Status](https://travis-ci.org/istanbuljs/istanbuljs.svg?branch=master)](https://travis-ci.org/istanbuljs/istanbuljs) - -Source map support for istanbuljs. - -## Debugging - -_istanbul-lib-source-maps_ uses the [debug](https://www.npmjs.com/package/debug) module. -Run your application with the environment variable `DEBUG=istanbuljs`, to receive debug -output. diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/index.js b/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/index.js deleted file mode 100644 index 1bcb74c8..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/index.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -const { MapStore } = require('./lib/map-store'); -/** - * @module Exports - */ -module.exports = { - createSourceMapStore(opts) { - return new MapStore(opts); - } -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/get-mapping.js b/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/get-mapping.js deleted file mode 100644 index c24f618a..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/get-mapping.js +++ /dev/null @@ -1,182 +0,0 @@ -/* - Copyright 2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -const pathutils = require('./pathutils'); -const { - GREATEST_LOWER_BOUND, - LEAST_UPPER_BOUND -} = require('source-map').SourceMapConsumer; - -/** - * AST ranges are inclusive for start positions and exclusive for end positions. - * Source maps are also logically ranges over text, though interacting with - * them is generally achieved by working with explicit positions. - * - * When finding the _end_ location of an AST item, the range behavior is - * important because what we're asking for is the _end_ of whatever range - * corresponds to the end location we seek. - * - * This boils down to the following steps, conceptually, though the source-map - * library doesn't expose primitives to do this nicely: - * - * 1. Find the range on the generated file that ends at, or exclusively - * contains the end position of the AST node. - * 2. Find the range on the original file that corresponds to - * that generated range. - * 3. Find the _end_ location of that original range. - */ -function originalEndPositionFor(sourceMap, generatedEnd) { - // Given the generated location, find the original location of the mapping - // that corresponds to a range on the generated file that overlaps the - // generated file end location. Note however that this position on its - // own is not useful because it is the position of the _start_ of the range - // on the original file, and we want the _end_ of the range. - const beforeEndMapping = originalPositionTryBoth( - sourceMap, - generatedEnd.line, - generatedEnd.column - 1 - ); - if (beforeEndMapping.source === null) { - return null; - } - - // Convert that original position back to a generated one, with a bump - // to the right, and a rightward bias. Since 'generatedPositionFor' searches - // for mappings in the original-order sorted list, this will find the - // mapping that corresponds to the one immediately after the - // beforeEndMapping mapping. - const afterEndMapping = sourceMap.generatedPositionFor({ - source: beforeEndMapping.source, - line: beforeEndMapping.line, - column: beforeEndMapping.column + 1, - bias: LEAST_UPPER_BOUND - }); - if ( - // If this is null, it means that we've hit the end of the file, - // so we can use Infinity as the end column. - afterEndMapping.line === null || - // If these don't match, it means that the call to - // 'generatedPositionFor' didn't find any other original mappings on - // the line we gave, so consider the binding to extend to infinity. - sourceMap.originalPositionFor(afterEndMapping).line !== - beforeEndMapping.line - ) { - return { - source: beforeEndMapping.source, - line: beforeEndMapping.line, - column: Infinity - }; - } - - // Convert the end mapping into the real original position. - return sourceMap.originalPositionFor(afterEndMapping); -} - -/** - * Attempts to determine the original source position, first - * returning the closest element to the left (GREATEST_LOWER_BOUND), - * and next returning the closest element to the right (LEAST_UPPER_BOUND). - */ -function originalPositionTryBoth(sourceMap, line, column) { - const mapping = sourceMap.originalPositionFor({ - line, - column, - bias: GREATEST_LOWER_BOUND - }); - if (mapping.source === null) { - return sourceMap.originalPositionFor({ - line, - column, - bias: LEAST_UPPER_BOUND - }); - } else { - return mapping; - } -} - -function isInvalidPosition(pos) { - return ( - !pos || - typeof pos.line !== 'number' || - typeof pos.column !== 'number' || - pos.line < 0 || - pos.column < 0 - ); -} - -/** - * determines the original position for a given location - * @param {SourceMapConsumer} sourceMap the source map - * @param {Object} generatedLocation the original location Object - * @returns {Object} the remapped location Object - */ -function getMapping(sourceMap, generatedLocation, origFile) { - if (!generatedLocation) { - return null; - } - - if ( - isInvalidPosition(generatedLocation.start) || - isInvalidPosition(generatedLocation.end) - ) { - return null; - } - - const start = originalPositionTryBoth( - sourceMap, - generatedLocation.start.line, - generatedLocation.start.column - ); - let end = originalEndPositionFor(sourceMap, generatedLocation.end); - - /* istanbul ignore if: edge case too hard to test for */ - if (!(start && end)) { - return null; - } - - if (!(start.source && end.source)) { - return null; - } - - if (start.source !== end.source) { - return null; - } - - /* istanbul ignore if: edge case too hard to test for */ - if (start.line === null || start.column === null) { - return null; - } - - /* istanbul ignore if: edge case too hard to test for */ - if (end.line === null || end.column === null) { - return null; - } - - if (start.line === end.line && start.column === end.column) { - end = sourceMap.originalPositionFor({ - line: generatedLocation.end.line, - column: generatedLocation.end.column, - bias: LEAST_UPPER_BOUND - }); - end.column -= 1; - } - - return { - source: pathutils.relativeTo(start.source, origFile), - loc: { - start: { - line: start.line, - column: start.column - }, - end: { - line: end.line, - column: end.column - } - } - }; -} - -module.exports = getMapping; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/map-store.js b/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/map-store.js deleted file mode 100644 index a99b79ad..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/map-store.js +++ /dev/null @@ -1,226 +0,0 @@ -/* - Copyright 2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -const path = require('path'); -const fs = require('fs'); -const debug = require('debug')('istanbuljs'); -const { SourceMapConsumer } = require('source-map'); -const pathutils = require('./pathutils'); -const { SourceMapTransformer } = require('./transformer'); - -/** - * Tracks source maps for registered files - */ -class MapStore { - /** - * @param {Object} opts [opts=undefined] options. - * @param {Boolean} opts.verbose [opts.verbose=false] verbose mode - * @param {String} opts.baseDir [opts.baseDir=null] alternate base directory - * to resolve sourcemap files - * @param {Class} opts.SourceStore [opts.SourceStore=Map] class to use for - * SourceStore. Must support `get`, `set` and `clear` methods. - * @param {Array} opts.sourceStoreOpts [opts.sourceStoreOpts=[]] arguments - * to use in the SourceStore constructor. - * @constructor - */ - constructor(opts) { - opts = { - baseDir: null, - verbose: false, - SourceStore: Map, - sourceStoreOpts: [], - ...opts - }; - this.baseDir = opts.baseDir; - this.verbose = opts.verbose; - this.sourceStore = new opts.SourceStore(...opts.sourceStoreOpts); - this.data = Object.create(null); - this.sourceFinder = this.sourceFinder.bind(this); - } - - /** - * Registers a source map URL with this store. It makes some input sanity checks - * and silently fails on malformed input. - * @param transformedFilePath - the file path for which the source map is valid. - * This must *exactly* match the path stashed for the coverage object to be - * useful. - * @param sourceMapUrl - the source map URL, **not** a comment - */ - registerURL(transformedFilePath, sourceMapUrl) { - const d = 'data:'; - - if ( - sourceMapUrl.length > d.length && - sourceMapUrl.substring(0, d.length) === d - ) { - const b64 = 'base64,'; - const pos = sourceMapUrl.indexOf(b64); - if (pos > 0) { - this.data[transformedFilePath] = { - type: 'encoded', - data: sourceMapUrl.substring(pos + b64.length) - }; - } else { - debug(`Unable to interpret source map URL: ${sourceMapUrl}`); - } - - return; - } - - const dir = path.dirname(path.resolve(transformedFilePath)); - const file = path.resolve(dir, sourceMapUrl); - this.data[transformedFilePath] = { type: 'file', data: file }; - } - - /** - * Registers a source map object with this store. Makes some basic sanity checks - * and silently fails on malformed input. - * @param transformedFilePath - the file path for which the source map is valid - * @param sourceMap - the source map object - */ - registerMap(transformedFilePath, sourceMap) { - if (sourceMap && sourceMap.version) { - this.data[transformedFilePath] = { - type: 'object', - data: sourceMap - }; - } else { - debug( - 'Invalid source map object: ' + - JSON.stringify(sourceMap, null, 2) - ); - } - } - - /** - * Retrieve a source map object from this store. - * @param filePath - the file path for which the source map is valid - * @returns {Object} a parsed source map object - */ - getSourceMapSync(filePath) { - try { - if (!this.data[filePath]) { - return; - } - - const d = this.data[filePath]; - if (d.type === 'file') { - return JSON.parse(fs.readFileSync(d.data, 'utf8')); - } - - if (d.type === 'encoded') { - return JSON.parse(Buffer.from(d.data, 'base64').toString()); - } - - /* The caller might delete properties */ - return { - ...d.data - }; - } catch (error) { - debug('Error returning source map for ' + filePath); - debug(error.stack); - - return; - } - } - - /** - * Add inputSourceMap property to coverage data - * @param coverageData - the __coverage__ object - * @returns {Object} a parsed source map object - */ - addInputSourceMapsSync(coverageData) { - Object.entries(coverageData).forEach(([filePath, data]) => { - if (data.inputSourceMap) { - return; - } - - const sourceMap = this.getSourceMapSync(filePath); - if (sourceMap) { - data.inputSourceMap = sourceMap; - /* This huge property is not needed. */ - delete data.inputSourceMap.sourcesContent; - } - }); - } - - sourceFinder(filePath) { - const content = this.sourceStore.get(filePath); - if (content !== undefined) { - return content; - } - - if (path.isAbsolute(filePath)) { - return fs.readFileSync(filePath, 'utf8'); - } - - return fs.readFileSync( - pathutils.asAbsolute(filePath, this.baseDir), - 'utf8' - ); - } - - /** - * Transforms the coverage map provided into one that refers to original - * sources when valid mappings have been registered with this store. - * @param {CoverageMap} coverageMap - the coverage map to transform - * @returns {Promise} the transformed coverage map - */ - async transformCoverage(coverageMap) { - const hasInputSourceMaps = coverageMap - .files() - .some( - file => coverageMap.fileCoverageFor(file).data.inputSourceMap - ); - - if (!hasInputSourceMaps && Object.keys(this.data).length === 0) { - return coverageMap; - } - - const transformer = new SourceMapTransformer( - async (filePath, coverage) => { - try { - const obj = - coverage.data.inputSourceMap || - this.getSourceMapSync(filePath); - if (!obj) { - return null; - } - - const smc = new SourceMapConsumer(obj); - smc.sources.forEach(s => { - const content = smc.sourceContentFor(s); - if (content) { - const sourceFilePath = pathutils.relativeTo( - s, - filePath - ); - this.sourceStore.set(sourceFilePath, content); - } - }); - - return smc; - } catch (error) { - debug('Error returning source map for ' + filePath); - debug(error.stack); - - return null; - } - } - ); - - return await transformer.transform(coverageMap); - } - - /** - * Disposes temporary resources allocated by this map store - */ - dispose() { - this.sourceStore.clear(); - } -} - -module.exports = { MapStore }; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/mapped.js b/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/mapped.js deleted file mode 100644 index 73f256c7..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/mapped.js +++ /dev/null @@ -1,113 +0,0 @@ -/* - Copyright 2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -const { FileCoverage } = require('istanbul-lib-coverage').classes; - -function locString(loc) { - return [ - loc.start.line, - loc.start.column, - loc.end.line, - loc.end.column - ].join(':'); -} - -class MappedCoverage extends FileCoverage { - constructor(pathOrObj) { - super(pathOrObj); - - this.meta = { - last: { - s: 0, - f: 0, - b: 0 - }, - seen: {} - }; - } - - addStatement(loc, hits) { - const key = 's:' + locString(loc); - const { meta } = this; - let index = meta.seen[key]; - - if (index === undefined) { - index = meta.last.s; - meta.last.s += 1; - meta.seen[key] = index; - this.statementMap[index] = this.cloneLocation(loc); - } - - this.s[index] = this.s[index] || 0; - this.s[index] += hits; - return index; - } - - addFunction(name, decl, loc, hits) { - const key = 'f:' + locString(decl); - const { meta } = this; - let index = meta.seen[key]; - - if (index === undefined) { - index = meta.last.f; - meta.last.f += 1; - meta.seen[key] = index; - name = name || `(unknown_${index})`; - this.fnMap[index] = { - name, - decl: this.cloneLocation(decl), - loc: this.cloneLocation(loc) - }; - } - - this.f[index] = this.f[index] || 0; - this.f[index] += hits; - return index; - } - - addBranch(type, loc, branchLocations, hits) { - const key = ['b', ...branchLocations.map(l => locString(l))].join(':'); - const { meta } = this; - let index = meta.seen[key]; - if (index === undefined) { - index = meta.last.b; - meta.last.b += 1; - meta.seen[key] = index; - this.branchMap[index] = { - loc, - type, - locations: branchLocations.map(l => this.cloneLocation(l)) - }; - } - - if (!this.b[index]) { - this.b[index] = branchLocations.map(() => 0); - } - - hits.forEach((hit, i) => { - this.b[index][i] += hit; - }); - return index; - } - - /* Returns a clone of the location object with only the attributes of interest */ - cloneLocation(loc) { - return { - start: { - line: loc.start.line, - column: loc.start.column - }, - end: { - line: loc.end.line, - column: loc.end.column - } - }; - } -} - -module.exports = { - MappedCoverage -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/pathutils.js b/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/pathutils.js deleted file mode 100644 index 7dca05aa..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/pathutils.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - Copyright 2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -const path = require('path'); - -module.exports = { - isAbsolute: path.isAbsolute, - asAbsolute(file, baseDir) { - return path.isAbsolute(file) - ? file - : path.resolve(baseDir || process.cwd(), file); - }, - relativeTo(file, origFile) { - return path.isAbsolute(file) - ? file - : path.resolve(path.dirname(origFile), file); - } -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/transform-utils.js b/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/transform-utils.js deleted file mode 100644 index 09330937..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/transform-utils.js +++ /dev/null @@ -1,21 +0,0 @@ -/* - Copyright 2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -function getUniqueKey(pathname) { - return pathname.replace(/[\\/]/g, '_'); -} - -function getOutput(cache) { - return Object.values(cache).reduce( - (output, { file, mappedCoverage }) => ({ - ...output, - [file]: mappedCoverage - }), - {} - ); -} - -module.exports = { getUniqueKey, getOutput }; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/transformer.js b/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/transformer.js deleted file mode 100644 index 6f635383..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/lib/transformer.js +++ /dev/null @@ -1,147 +0,0 @@ -/* - Copyright 2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -'use strict'; - -const debug = require('debug')('istanbuljs'); -const libCoverage = require('istanbul-lib-coverage'); -const { MappedCoverage } = require('./mapped'); -const getMapping = require('./get-mapping'); -const { getUniqueKey, getOutput } = require('./transform-utils'); - -class SourceMapTransformer { - constructor(finder, opts = {}) { - this.finder = finder; - this.baseDir = opts.baseDir || process.cwd(); - this.resolveMapping = opts.getMapping || getMapping; - } - - processFile(fc, sourceMap, coverageMapper) { - let changes = 0; - - Object.entries(fc.statementMap).forEach(([s, loc]) => { - const hits = fc.s[s]; - const mapping = this.resolveMapping(sourceMap, loc, fc.path); - - if (mapping) { - changes += 1; - const mappedCoverage = coverageMapper(mapping.source); - mappedCoverage.addStatement(mapping.loc, hits); - } - }); - - Object.entries(fc.fnMap).forEach(([f, fnMeta]) => { - const hits = fc.f[f]; - const mapping = this.resolveMapping( - sourceMap, - fnMeta.decl, - fc.path - ); - - const spanMapping = this.resolveMapping( - sourceMap, - fnMeta.loc, - fc.path - ); - - if ( - mapping && - spanMapping && - mapping.source === spanMapping.source - ) { - changes += 1; - const mappedCoverage = coverageMapper(mapping.source); - mappedCoverage.addFunction( - fnMeta.name, - mapping.loc, - spanMapping.loc, - hits - ); - } - }); - - Object.entries(fc.branchMap).forEach(([b, branchMeta]) => { - const hits = fc.b[b]; - const locs = []; - const mappedHits = []; - let source; - let skip; - - branchMeta.locations.forEach((loc, i) => { - const mapping = this.resolveMapping(sourceMap, loc, fc.path); - if (mapping) { - if (!source) { - source = mapping.source; - } - - if (mapping.source !== source) { - skip = true; - } - - locs.push(mapping.loc); - mappedHits.push(hits[i]); - } - }); - - const locMapping = branchMeta.loc - ? this.resolveMapping(sourceMap, branchMeta.loc, fc.path) - : null; - - if (!skip && locs.length > 0) { - changes += 1; - const mappedCoverage = coverageMapper(source); - mappedCoverage.addBranch( - branchMeta.type, - locMapping ? locMapping.loc : locs[0], - locs, - mappedHits - ); - } - }); - - return changes > 0; - } - - async transform(coverageMap) { - const uniqueFiles = {}; - const getMappedCoverage = file => { - const key = getUniqueKey(file); - if (!uniqueFiles[key]) { - uniqueFiles[key] = { - file, - mappedCoverage: new MappedCoverage(file) - }; - } - - return uniqueFiles[key].mappedCoverage; - }; - - for (const file of coverageMap.files()) { - const fc = coverageMap.fileCoverageFor(file); - const sourceMap = await this.finder(file, fc); - - if (sourceMap) { - const changed = this.processFile( - fc, - sourceMap, - getMappedCoverage - ); - if (!changed) { - debug(`File [${file}] ignored, nothing could be mapped`); - } - } else { - uniqueFiles[getUniqueKey(file)] = { - file, - mappedCoverage: new MappedCoverage(fc) - }; - } - } - - return libCoverage.createCoverageMap(getOutput(uniqueFiles)); - } -} - -module.exports = { - SourceMapTransformer -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/package.json b/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/package.json deleted file mode 100644 index 2798300e..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-lib-source-maps/package.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "name": "istanbul-lib-source-maps", - "version": "4.0.1", - "description": "Source maps support for istanbul", - "author": "Krishnan Anantheswaran ", - "main": "index.js", - "files": [ - "lib", - "index.js" - ], - "scripts": { - "test": "nyc mocha" - }, - "dependencies": { - "debug": "^4.1.1", - "istanbul-lib-coverage": "^3.0.0", - "source-map": "^0.6.1" - }, - "devDependencies": { - "chai": "^4.2.0", - "mocha": "^6.2.2", - "nyc": "^15.0.0-beta.2", - "ts-node": "^8.5.4" - }, - "license": "BSD-3-Clause", - "bugs": { - "url": "https://github.com/istanbuljs/istanbuljs/issues" - }, - "homepage": "https://istanbul.js.org/", - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/istanbuljs/istanbuljs.git", - "directory": "packages/istanbul-lib-source-maps" - }, - "keywords": [ - "istanbul", - "sourcemaps", - "sourcemap", - "source", - "maps" - ], - "engines": { - "node": ">=10" - } -} diff --git a/lambdas/risk-engine/node_modules/istanbul-reports/CHANGELOG.md b/lambdas/risk-engine/node_modules/istanbul-reports/CHANGELOG.md deleted file mode 100644 index 20026c9c..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-reports/CHANGELOG.md +++ /dev/null @@ -1,476 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [3.2.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports-v3.1.7...istanbul-reports-v3.2.0) (2025-08-18) - - -### Features - -* update HTML report filter to take a RegEx ([#796](https://github.com/istanbuljs/istanbuljs/issues/796)) ([a739999](https://github.com/istanbuljs/istanbuljs/commit/a7399991f4f5a086a75e8ac13131b79f5e4a6377)) - - -### Bug Fixes - -* html-spa table formatting ([#814](https://github.com/istanbuljs/istanbuljs/issues/814)) ([39c0fd1](https://github.com/istanbuljs/istanbuljs/commit/39c0fd1c45c8e2300bd724f91989bbffe60422a6)) - -## [3.1.7](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports-v3.1.6...istanbul-reports-v3.1.7) (2024-02-19) - - -### Bug Fixes - -* **ux:** address bug with firefox event handling ([2207a87](https://github.com/istanbuljs/istanbuljs/commit/2207a87ec978b7637d8b55de2ff887e462bd48d3)) - -## [3.1.6](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports-v3.1.5...istanbul-reports-v3.1.6) (2023-07-25) - - -### Bug Fixes - -* **clover:** always close last open tag ([07c6ea6](https://github.com/istanbuljs/istanbuljs/commit/07c6ea6537261a19b117702b7362dee0bdc001ac)) - -## [3.1.5](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports-v3.1.4...istanbul-reports-v3.1.5) (2022-07-13) - - -### Bug Fixes - -* `new Date()` such that it works with MockDate library ([#688](https://github.com/istanbuljs/istanbuljs/issues/688)) ([85905f9](https://github.com/istanbuljs/istanbuljs/commit/85905f989c9480e63ad534c6ff8b1a12dae278eb)) -* add placeholder to fix Implicit Else ([#679](https://github.com/istanbuljs/istanbuljs/issues/679)) ([0516f51](https://github.com/istanbuljs/istanbuljs/commit/0516f519575ee28f77ebf1e9556ac294d78904ea)) - -### [3.1.4](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports-v3.1.3...istanbul-reports-v3.1.4) (2022-01-17) - - -### Bug Fixes - -* "E" is not showing in the HTML reporter for "implicit else" branches after pull 633 ([#663](https://github.com/istanbuljs/istanbuljs/issues/663)) ([7818922](https://github.com/istanbuljs/istanbuljs/commit/7818922fd7229c4eee12b1407b5a13020f5d34de)) - -### [3.1.3](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports-v3.1.2...istanbul-reports-v3.1.3) (2021-12-29) - - -### Bug Fixes - -* reverse tabnabbing vulnerability in URLs ([#591](https://github.com/istanbuljs/istanbuljs/issues/591)) ([4eceb9e](https://github.com/istanbuljs/istanbuljs/commit/4eceb9eb8b3169b882d74ecc526fb5837ebc6205)) - -### [3.1.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports-v3.1.1...istanbul-reports-v3.1.2) (2021-12-23) - - -### Bug Fixes - -* remove stray div tag from HTML report ([68d9c74](https://github.com/istanbuljs/istanbuljs/commit/68d9c7469927ddcf15346307eacea8fd7104086c)) - -### [3.1.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports-v3.1.0...istanbul-reports-v3.1.1) (2021-12-01) - - -### Bug Fixes - -* rel="noopener" to the link in the generated html reports ([f234bb3](https://github.com/istanbuljs/istanbuljs/commit/f234bb321421e7312a83595934a1abf81c7af70c)) - -## [3.1.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports-v3.0.5...istanbul-reports-v3.1.0) (2021-11-30) - - -### Features - -* add filter to HTML report ([#650](https://github.com/istanbuljs/istanbuljs/issues/650)) ([eab47f7](https://github.com/istanbuljs/istanbuljs/commit/eab47f76be90343f679ef0e5567a21447a4995dc)) - -### [3.0.5](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-reports-v3.0.4...istanbul-reports-v3.0.5) (2021-10-13) - - -### Bug Fixes - -* cobertura reports in root folder ([#571](https://www.github.com/istanbuljs/istanbuljs/issues/571)) ([596f6ff](https://www.github.com/istanbuljs/istanbuljs/commit/596f6ff1342ae4baa6688bf3ee7786c75d4df947)) - -### [3.0.4](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-reports-v3.0.3...istanbul-reports-v3.0.4) (2021-10-12) - - -### Bug Fixes - -* handle reports with "loc" but no "decl" ([#637](https://www.github.com/istanbuljs/istanbuljs/issues/637)) ([cdc28f3](https://www.github.com/istanbuljs/istanbuljs/commit/cdc28f3a1e80e786eaab3b7d3b8b9b558fc2d3c8)), closes [#322](https://www.github.com/istanbuljs/istanbuljs/issues/322) - -### [3.0.3](https://www.github.com/istanbuljs/istanbuljs/compare/istanbul-reports-v3.0.2...istanbul-reports-v3.0.3) (2021-10-06) - - -### Bug Fixes - -* lcov reporter crash when missing branches ([#613](https://www.github.com/istanbuljs/istanbuljs/issues/613)) ([d34981c](https://www.github.com/istanbuljs/istanbuljs/commit/d34981c8131e2ecbff6fc02ffd8702fd9808e241)) - -## [3.0.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@3.0.1...istanbul-reports@3.0.2) (2020-04-01) - - -### Bug Fixes - -* Ignore insignificant lines when coalesce ([#525](https://github.com/istanbuljs/istanbuljs/issues/525)) ([d7d7cfa](https://github.com/istanbuljs/istanbuljs/commit/d7d7cfa1301f0dde2ff19078c31235ffd55c01ef)) - - - - - -## [3.0.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@3.0.0...istanbul-reports@3.0.1) (2020-03-26) - - -### Bug Fixes - -* cobertura should escape invalid characters ([#534](https://github.com/istanbuljs/istanbuljs/issues/534)) ([4fd5114](https://github.com/istanbuljs/istanbuljs/commit/4fd5114a0926d20e4e1e3055323c44281f0af6cd)) - - - - - -# [3.0.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@3.0.0-alpha.6...istanbul-reports@3.0.0) (2019-12-20) - - -### Features - -* **text:** Coalesce ranges of missing lines ([#511](https://github.com/istanbuljs/istanbuljs/issues/511)) ([54636fc](https://github.com/istanbuljs/istanbuljs/commit/54636fc9acbb53e5724fe9018837d0d205413194)) - - - - - -# [3.0.0-alpha.6](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@3.0.0-alpha.5...istanbul-reports@3.0.0-alpha.6) (2019-12-07) - - -### Bug Fixes - -* Add favicon to html report ([#493](https://github.com/istanbuljs/istanbuljs/issues/493)) ([5afe203](https://github.com/istanbuljs/istanbuljs/commit/5afe20347dd3ae954b31707a67f381f87920797f)) - - - - - -# [3.0.0-alpha.5](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@3.0.0-alpha.4...istanbul-reports@3.0.0-alpha.5) (2019-11-22) - - -### Features - -* Add support for projectRoot option ([#492](https://github.com/istanbuljs/istanbuljs/issues/492)) ([177fd45](https://github.com/istanbuljs/istanbuljs/commit/177fd45ebd7e505e79120995d937d40f965bad79)) - - - - - -# [3.0.0-alpha.4](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@3.0.0-alpha.3...istanbul-reports@3.0.0-alpha.4) (2019-11-18) - - -### Bug Fixes - -* Remove handlebars ([#503](https://github.com/istanbuljs/istanbuljs/issues/503)) ([aa8ae7f](https://github.com/istanbuljs/istanbuljs/commit/aa8ae7fe42ef9c8aeaa193309bafb22ad725bc3d)), closes [#476](https://github.com/istanbuljs/istanbuljs/issues/476) - - - - - -# [3.0.0-alpha.3](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@3.0.0-alpha.2...istanbul-reports@3.0.0-alpha.3) (2019-10-19) - - -### Bug Fixes - -* Add missing dependency on istanbul-lib-report ([#490](https://github.com/istanbuljs/istanbuljs/issues/490)) ([95a2b2f](https://github.com/istanbuljs/istanbuljs/commit/95a2b2f)), closes [istanbuljs/nyc#1204](https://github.com/istanbuljs/nyc/issues/1204) - - - - - -# [3.0.0-alpha.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@3.0.0-alpha.1...istanbul-reports@3.0.0-alpha.2) (2019-10-06) - - -### Bug Fixes - -* Use path.posix.relative to generate URL's for html reports ([#472](https://github.com/istanbuljs/istanbuljs/issues/472)) ([05dc22c](https://github.com/istanbuljs/istanbuljs/commit/05dc22c)) -* **html-spa:** Filter only exact paths ([#431](https://github.com/istanbuljs/istanbuljs/issues/431)) ([bbc85f6](https://github.com/istanbuljs/istanbuljs/commit/bbc85f6)), closes [#426](https://github.com/istanbuljs/istanbuljs/issues/426) - - - - - -# [3.0.0-alpha.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@3.0.0-alpha.0...istanbul-reports@3.0.0-alpha.1) (2019-06-20) - - -### Bug Fixes - -* Set `opts.file = '-'` on text-lcov ([#424](https://github.com/istanbuljs/istanbuljs/issues/424)) ([4be56b2](https://github.com/istanbuljs/istanbuljs/commit/4be56b2)) - - - - - -# [3.0.0-alpha.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@2.2.5...istanbul-reports@3.0.0-alpha.0) (2019-06-19) - - -### Features - -* Refactor istanbul-lib-report so report can choose summarizer ([#408](https://github.com/istanbuljs/istanbuljs/issues/408)) ([0f328fd](https://github.com/istanbuljs/istanbuljs/commit/0f328fd)) -* **text report:** Optimize output to show more missing lines ([#341](https://github.com/istanbuljs/istanbuljs/issues/341)) ([c4e8b8e](https://github.com/istanbuljs/istanbuljs/commit/c4e8b8e)) -* Modern html report ([#345](https://github.com/istanbuljs/istanbuljs/issues/345)) ([95ebaf1](https://github.com/istanbuljs/istanbuljs/commit/95ebaf1)) -* Update dependencies, require Node.js 8 ([#401](https://github.com/istanbuljs/istanbuljs/issues/401)) ([bf3a539](https://github.com/istanbuljs/istanbuljs/commit/bf3a539)) - - -### BREAKING CHANGES - -* Existing istanbul-lib-report API's have been changed -* Node.js 8 is now required - - - - - -## [2.2.5](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@2.2.4...istanbul-reports@2.2.5) (2019-05-02) - - -### Bug Fixes - -* **istanbul-reports:** Remove isRoot check causing incorrect report formatting ([#66](https://github.com/istanbuljs/istanbuljs/issues/66)). ([#382](https://github.com/istanbuljs/istanbuljs/issues/382)) ([df6e994](https://github.com/istanbuljs/istanbuljs/commit/df6e994)) - - - - - -## [2.2.4](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@2.2.3...istanbul-reports@2.2.4) (2019-04-24) - -**Note:** Version bump only for package istanbul-reports - - - - - -## [2.2.3](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@2.2.2...istanbul-reports@2.2.3) (2019-04-17) - - -### Bug Fixes - -* Initialize cols for HTML report sorting ([#369](https://github.com/istanbuljs/istanbuljs/issues/369)) ([28f61de](https://github.com/istanbuljs/istanbuljs/commit/28f61de)) - - - - - -## [2.2.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@2.2.1...istanbul-reports@2.2.2) (2019-04-09) - -**Note:** Version bump only for package istanbul-reports - - - - - -## [2.2.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@2.2.0...istanbul-reports@2.2.1) (2019-04-03) - -**Note:** Version bump only for package istanbul-reports - - - - - -# [2.2.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@2.1.1...istanbul-reports@2.2.0) (2019-03-12) - - -### Features - -* set medium colour to yellow ([#306](https://github.com/istanbuljs/istanbuljs/issues/306)) ([ed40be7](https://github.com/istanbuljs/istanbuljs/commit/ed40be7)) - - - - - -## [2.1.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@2.1.0...istanbul-reports@2.1.1) (2019-02-14) - - -### Bug Fixes - -* update dependencies due to vulnerabilities ([#294](https://github.com/istanbuljs/istanbuljs/issues/294)) ([4c14fed](https://github.com/istanbuljs/istanbuljs/commit/4c14fed)) - - - - - -# [2.1.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@2.0.3...istanbul-reports@2.1.0) (2019-01-26) - - -### Features - -* **istanbul-reports:** Enable keyboard shortcuts on HTML report file listing view ([#265](https://github.com/istanbuljs/istanbuljs/issues/265)) ([f49b355](https://github.com/istanbuljs/istanbuljs/commit/f49b355)) - - - - - - -## [2.0.3](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@2.0.2...istanbul-reports@2.0.3) (2018-12-25) - - -### Bug Fixes - -* functionMap is sometimes missing a key from functions ([#253](https://github.com/istanbuljs/istanbuljs/issues/253)) ([399f215](https://github.com/istanbuljs/istanbuljs/commit/399f215)) - - - - - -## [2.0.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@2.0.1...istanbul-reports@2.0.2) (2018-12-19) - - -### Bug Fixes - -* clover report metrics must be an inline xml element ([#226](https://github.com/istanbuljs/istanbuljs/issues/226)) ([e290c95](https://github.com/istanbuljs/istanbuljs/commit/e290c95)), closes [#13](https://github.com/istanbuljs/istanbuljs/issues/13) - - - - - -## [2.0.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@2.0.0...istanbul-reports@2.0.1) (2018-09-06) - - - - -**Note:** Version bump only for package istanbul-reports - - -# [2.0.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@1.5.0...istanbul-reports@2.0.0) (2018-07-07) - - -### Chores - -* Specify node >= 6 in istanbul-reports. ([#197](https://github.com/istanbuljs/istanbuljs/issues/197)) ([5810c38](https://github.com/istanbuljs/istanbuljs/commit/5810c38)) - - -### BREAKING CHANGES - -* Requires node >= 6. - - - - - -# [1.5.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@1.4.1...istanbul-reports@1.5.0) (2018-06-06) - - -### Features - -* ability to skip rows with full coverage ([#170](https://github.com/istanbuljs/istanbuljs/issues/170)) ([bbcdc07](https://github.com/istanbuljs/istanbuljs/commit/bbcdc07)) - - - - - -## [1.4.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@1.4.0...istanbul-reports@1.4.1) (2018-05-31) - - -### Bug Fixes - -* ensure using correct context ([#168](https://github.com/istanbuljs/istanbuljs/issues/168)) ([df102fd](https://github.com/istanbuljs/istanbuljs/commit/df102fd)) - - - - - -# [1.4.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@1.3.0...istanbul-reports@1.4.0) (2018-04-17) - - -### Features - -* allow custom reporters to be loaded ([#155](https://github.com/istanbuljs/istanbuljs/issues/155)) ([6d89cca](https://github.com/istanbuljs/istanbuljs/commit/6d89cca)) - - - - - -# [1.3.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@1.2.0...istanbul-reports@1.3.0) (2018-03-09) - - -### Features - -* added named anchors to code coverage line numbers. ([#149](https://github.com/istanbuljs/istanbuljs/issues/149)) ([98e1c50](https://github.com/istanbuljs/istanbuljs/commit/98e1c50)) - - - - - -# [1.2.0](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@1.1.4...istanbul-reports@1.2.0) (2018-03-04) - - -### Bug Fixes - -* update fixtures to reflect new heading ([36801d3](https://github.com/istanbuljs/istanbuljs/commit/36801d3)) - - -### Features - -* add skip-empty option for html & text reports ([#140](https://github.com/istanbuljs/istanbuljs/issues/140)) ([d2a4262](https://github.com/istanbuljs/istanbuljs/commit/d2a4262)) -* add uncovered block navigation ([#136](https://github.com/istanbuljs/istanbuljs/issues/136)) ([c798930](https://github.com/istanbuljs/istanbuljs/commit/c798930)) - - - - - -## [1.1.4](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@1.1.3...istanbul-reports@1.1.4) (2018-02-13) - - -### Bug Fixes - -* changed column header from "Uncovered Lines" to "Uncovered Line #s" ([#138](https://github.com/istanbuljs/istanbuljs/issues/138)) ([7ba7760](https://github.com/istanbuljs/istanbuljs/commit/7ba7760)) - - - - - -## [1.1.3](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@1.1.2...istanbul-reports@1.1.3) (2017-10-21) - - - - -**Note:** Version bump only for package istanbul-reports - - -## [1.1.2](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@1.1.1...istanbul-reports@1.1.2) (2017-08-26) - - -### Bug Fixes - -* prevent branch highlighting from extending pass the end of a line ([#80](https://github.com/istanbuljs/istanbuljs/issues/80)) ([f490377](https://github.com/istanbuljs/istanbuljs/commit/f490377)) - - - - - -## [1.1.1](https://github.com/istanbuljs/istanbuljs/compare/istanbul-reports@1.1.0...istanbul-reports@1.1.1) (2017-05-27) - - - - - -# [1.1.0](https://github.com/istanbuljs/istanbul-reports/compare/istanbul-reports@1.0.2...istanbul-reports@1.1.0) (2017-04-29) - - -### Features - -* once 100% line coverage is achieved, missing branch coverage is now shown in text report ([#45](https://github.com/istanbuljs/istanbuljs/issues/45)) ([8a809f8](https://github.com/istanbuljs/istanbul-reports/commit/8a809f8)) - - - - - -## [1.0.2](https://github.com/istanbuljs/istanbul-reports/compare/istanbul-reports@1.0.1...istanbul-reports@1.0.2) (2017-03-27) - - -### Bug Fixes - -* **windows:** preserve escape char of json-summary key path ([4d71d5e](https://github.com/istanbuljs/istanbul-reports/commit/4d71d5e)) - - -## [1.0.1](https://github.com/istanbuljs/istanbul-reports/compare/v1.0.0...v1.0.1) (2017-01-29) - - -### Bug Fixes - -* add files key to package.json ([#17](https://github.com/istanbuljs/istanbul-reports/issues/17)) ([141f801](https://github.com/istanbuljs/istanbul-reports/commit/141f801)) - - - - -# [1.0.0](https://github.com/istanbuljs/istanbul-reports/compare/v1.0.0-alpha.8...v1.0.0) (2016-10-17) - - -### Bug Fixes - -* fail gracefully if structuredText[startLine] is undefined ([#10](https://github.com/istanbuljs/istanbul-reports/issues/10)) ([bed1d13](https://github.com/istanbuljs/istanbul-reports/commit/bed1d13)) -* preserve escape char of json key path on Windows ([#12](https://github.com/istanbuljs/istanbul-reports/issues/12)) ([4e5266e](https://github.com/istanbuljs/istanbul-reports/commit/4e5266e)) -* skip branch if meta does not exist (fixes speedskater/babel-plugin-rewire[#165](https://github.com/istanbuljs/istanbul-reports/issues/165)) ([#11](https://github.com/istanbuljs/istanbul-reports/issues/11)) ([62bae2f](https://github.com/istanbuljs/istanbul-reports/commit/62bae2f)) -* Teamcity reporter modified to send proper coverage values ([#8](https://github.com/istanbuljs/istanbul-reports/issues/8)) ([4147f50](https://github.com/istanbuljs/istanbul-reports/commit/4147f50)) diff --git a/lambdas/risk-engine/node_modules/istanbul-reports/LICENSE b/lambdas/risk-engine/node_modules/istanbul-reports/LICENSE deleted file mode 100644 index d55d2916..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-reports/LICENSE +++ /dev/null @@ -1,24 +0,0 @@ -Copyright 2012-2015 Yahoo! Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of the Yahoo! Inc. nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL YAHOO! INC. BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/lambdas/risk-engine/node_modules/istanbul-reports/README.md b/lambdas/risk-engine/node_modules/istanbul-reports/README.md deleted file mode 100644 index 6231d412..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-reports/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# istanbul-reports - -[![Build Status](https://travis-ci.org/istanbuljs/istanbul-reports.svg?branch=main)](https://travis-ci.org/istanbuljs/istanbul-reports) - -- node.getRelativeName - -- context.getSource(filePath) -- context.classForPercent(type, percent) -- context.console.colorize(str, class) -- context.writer -- context.console.write -- context.console.println diff --git a/lambdas/risk-engine/node_modules/istanbul-reports/index.js b/lambdas/risk-engine/node_modules/istanbul-reports/index.js deleted file mode 100644 index f0a7aa30..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-reports/index.js +++ /dev/null @@ -1,24 +0,0 @@ -'use strict'; -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -const path = require('path'); - -module.exports = { - create(name, cfg) { - cfg = cfg || {}; - let Cons; - try { - Cons = require(path.join(__dirname, 'lib', name)); - } catch (e) { - if (e.code !== 'MODULE_NOT_FOUND') { - throw e; - } - - Cons = require(name); - } - - return new Cons(cfg); - } -}; diff --git a/lambdas/risk-engine/node_modules/istanbul-reports/lib/clover/index.js b/lambdas/risk-engine/node_modules/istanbul-reports/lib/clover/index.js deleted file mode 100644 index 40d1606f..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-reports/lib/clover/index.js +++ /dev/null @@ -1,163 +0,0 @@ -'use strict'; -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -const { ReportBase } = require('istanbul-lib-report'); - -class CloverReport extends ReportBase { - constructor(opts) { - super(); - - this.cw = null; - this.xml = null; - this.file = opts.file || 'clover.xml'; - } - - onStart(root, context) { - this.cw = context.writer.writeFile(this.file); - this.xml = context.getXMLWriter(this.cw); - this.writeRootStats(root, context); - } - - onEnd() { - this.xml.closeAll(); - this.cw.close(); - } - - getTreeStats(node, context) { - const state = { - packages: 0, - files: 0, - classes: 0 - }; - const visitor = { - onSummary(node, state) { - const metrics = node.getCoverageSummary(true); - if (metrics) { - state.packages += 1; - } - }, - onDetail(node, state) { - state.classes += 1; - state.files += 1; - } - }; - node.visit(context.getVisitor(visitor), state); - return state; - } - - writeRootStats(node, context) { - this.cw.println(''); - this.xml.openTag('coverage', { - generated: Date.now().toString(), - clover: '3.2.0' - }); - - this.xml.openTag('project', { - timestamp: Date.now().toString(), - name: 'All files' - }); - - const metrics = node.getCoverageSummary(); - this.xml.inlineTag('metrics', { - statements: metrics.lines.total, - coveredstatements: metrics.lines.covered, - conditionals: metrics.branches.total, - coveredconditionals: metrics.branches.covered, - methods: metrics.functions.total, - coveredmethods: metrics.functions.covered, - elements: - metrics.lines.total + - metrics.branches.total + - metrics.functions.total, - coveredelements: - metrics.lines.covered + - metrics.branches.covered + - metrics.functions.covered, - complexity: 0, - loc: metrics.lines.total, - ncloc: metrics.lines.total, // what? copied as-is from old report - ...this.getTreeStats(node, context) - }); - } - - writeMetrics(metrics) { - this.xml.inlineTag('metrics', { - statements: metrics.lines.total, - coveredstatements: metrics.lines.covered, - conditionals: metrics.branches.total, - coveredconditionals: metrics.branches.covered, - methods: metrics.functions.total, - coveredmethods: metrics.functions.covered - }); - } - - onSummary(node) { - if (node.isRoot()) { - return; - } - const metrics = node.getCoverageSummary(true); - if (!metrics) { - return; - } - - this.xml.openTag('package', { - name: asJavaPackage(node) - }); - this.writeMetrics(metrics); - } - - onSummaryEnd(node) { - if (node.isRoot()) { - return; - } - this.xml.closeTag(this.xml.stack[this.xml.stack.length - 1]); - } - - onDetail(node) { - const fileCoverage = node.getFileCoverage(); - const metrics = node.getCoverageSummary(); - const branchByLine = fileCoverage.getBranchCoverageByLine(); - - this.xml.openTag('file', { - name: asClassName(node), - path: fileCoverage.path - }); - - this.writeMetrics(metrics); - - const lines = fileCoverage.getLineCoverage(); - Object.entries(lines).forEach(([k, count]) => { - const attrs = { - num: k, - count, - type: 'stmt' - }; - const branchDetail = branchByLine[k]; - - if (branchDetail) { - attrs.type = 'cond'; - attrs.truecount = branchDetail.covered; - attrs.falsecount = branchDetail.total - branchDetail.covered; - } - this.xml.inlineTag('line', attrs); - }); - - this.xml.closeTag('file'); - } -} - -function asJavaPackage(node) { - return node - .getRelativeName() - .replace(/\//g, '.') - .replace(/\\/g, '.') - .replace(/\.$/, ''); -} - -function asClassName(node) { - return node.getRelativeName().replace(/.*[\\/]/, ''); -} - -module.exports = CloverReport; diff --git a/lambdas/risk-engine/node_modules/istanbul-reports/lib/cobertura/index.js b/lambdas/risk-engine/node_modules/istanbul-reports/lib/cobertura/index.js deleted file mode 100644 index e5574faa..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-reports/lib/cobertura/index.js +++ /dev/null @@ -1,151 +0,0 @@ -'use strict'; -/* - Copyright 2012-2015, Yahoo Inc. - Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. - */ -const path = require('path'); -const { escape } = require('html-escaper'); -const { ReportBase } = require('istanbul-lib-report'); - -class CoberturaReport extends ReportBase { - constructor(opts) { - super(); - - opts = opts || {}; - - this.cw = null; - this.xml = null; - this.timestamp = opts.timestamp || Date.now().toString(); - this.projectRoot = opts.projectRoot || process.cwd(); - this.file = opts.file || 'cobertura-coverage.xml'; - } - - onStart(root, context) { - this.cw = context.writer.writeFile(this.file); - this.xml = context.getXMLWriter(this.cw); - this.writeRootStats(root); - } - - onEnd() { - this.xml.closeAll(); - this.cw.close(); - } - - writeRootStats(node) { - const metrics = node.getCoverageSummary(); - this.cw.println(''); - this.cw.println( - '' - ); - this.xml.openTag('coverage', { - 'lines-valid': metrics.lines.total, - 'lines-covered': metrics.lines.covered, - 'line-rate': metrics.lines.pct / 100.0, - 'branches-valid': metrics.branches.total, - 'branches-covered': metrics.branches.covered, - 'branch-rate': metrics.branches.pct / 100.0, - timestamp: this.timestamp, - complexity: '0', - version: '0.1' - }); - this.xml.openTag('sources'); - this.xml.inlineTag('source', null, this.projectRoot); - this.xml.closeTag('sources'); - this.xml.openTag('packages'); - } - - onSummary(node) { - const metrics = node.getCoverageSummary(true); - if (!metrics) { - return; - } - this.xml.openTag('package', { - name: node.isRoot() ? 'main' : escape(asJavaPackage(node)), - 'line-rate': metrics.lines.pct / 100.0, - 'branch-rate': metrics.branches.pct / 100.0 - }); - this.xml.openTag('classes'); - } - - onSummaryEnd(node) { - const metrics = node.getCoverageSummary(true); - if (!metrics) { - return; - } - this.xml.closeTag('classes'); - this.xml.closeTag('package'); - } - - onDetail(node) { - const fileCoverage = node.getFileCoverage(); - const metrics = node.getCoverageSummary(); - const branchByLine = fileCoverage.getBranchCoverageByLine(); - - this.xml.openTag('class', { - name: escape(asClassName(node)), - filename: path.relative(this.projectRoot, fileCoverage.path), - 'line-rate': metrics.lines.pct / 100.0, - 'branch-rate': metrics.branches.pct / 100.0 - }); - - this.xml.openTag('methods'); - const fnMap = fileCoverage.fnMap; - Object.entries(fnMap).forEach(([k, { name, decl }]) => { - const hits = fileCoverage.f[k]; - this.xml.openTag('method', { - name: escape(name), - hits, - signature: '()V' //fake out a no-args void return - }); - this.xml.openTag('lines'); - //Add the function definition line and hits so that jenkins cobertura plugin records method hits - this.xml.inlineTag('line', { - number: decl.start.line, - hits - }); - this.xml.closeTag('lines'); - this.xml.closeTag('method'); - }); - this.xml.closeTag('methods'); - - this.xml.openTag('lines'); - const lines = fileCoverage.getLineCoverage(); - Object.entries(lines).forEach(([k, hits]) => { - const attrs = { - number: k, - hits, - branch: 'false' - }; - const branchDetail = branchByLine[k]; - - if (branchDetail) { - attrs.branch = true; - attrs['condition-coverage'] = - branchDetail.coverage + - '% (' + - branchDetail.covered + - '/' + - branchDetail.total + - ')'; - } - this.xml.inlineTag('line', attrs); - }); - - this.xml.closeTag('lines'); - this.xml.closeTag('class'); - } -} - -function asJavaPackage(node) { - return node - .getRelativeName() - .replace(/\//g, '.') - .replace(/\\/g, '.') - .replace(/\.$/, ''); -} - -function asClassName(node) { - return node.getRelativeName().replace(/.*[\\/]/, ''); -} - -module.exports = CoberturaReport; diff --git a/lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/.babelrc b/lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/.babelrc deleted file mode 100644 index f995d680..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/.babelrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "presets": [["@babel/preset-env", { "modules": "commonjs" }], "@babel/preset-react"] -} diff --git a/lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/assets/bundle.js b/lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/assets/bundle.js deleted file mode 100644 index 341b64f0..00000000 --- a/lambdas/risk-engine/node_modules/istanbul-reports/lib/html-spa/assets/bundle.js +++ /dev/null @@ -1,30 +0,0 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var l=t[r]={i:r,l:!1,exports:{}};return e[r].call(l.exports,l,l.exports,n),l.l=!0,l.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)n.d(r,l,function(t){return e[t]}.bind(null,l));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([function(e,t,n){"use strict";e.exports=n(3)},function(e,t,n){"use strict"; -/* -object-assign -(c) Sindre Sorhus -@license MIT -*/var r=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,u=a(e),c=1;ce.length)&&(t=e.length);for(var n=0,r=Array(t);nO.length&&O.push(e)}function I(e,t,n){return null==e?0:function e(t,n,r,l){var o=typeof t;"undefined"!==o&&"boolean"!==o||(t=null);var u=!1;if(null===t)u=!0;else switch(o){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return r(l,t,""===n?"."+M(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c