@ndlib/ndlib-cdk2 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -29
- package/lib/edge-lambdas/index.d.ts +0 -1
- package/lib/edge-lambdas/index.js +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/.package-lock.json +770 -543
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/ie11-detection/CHANGELOG.md +15 -23
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.d.ts +5 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/ie11-detection/package.json +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +41 -19
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/README.md +11 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.d.ts +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js +7 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.d.ts +4 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js +20 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.d.ts +5 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js +20 -24
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/package.json +8 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +9 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/src/ie11Sha256.ts +26 -20
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/src/webCryptoSha256.ts +27 -37
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +37 -22
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/README.md +11 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/build/jsSha256.d.ts +6 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/build/jsSha256.js +25 -35
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/build/jsSha256.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/build/knownHashes.fixture.js +153 -153
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/build/knownHashes.fixture.js.map +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/package.json +5 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts +32 -48
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +15 -23
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/supports-web-crypto/package.json +3 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/abort-controller/package.json +28 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/README.md +320 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/pagination/ListActionExecutionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/pagination/ListActionTypesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/pagination/ListPipelineExecutionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/pagination/ListPipelinesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/pagination/ListTagsForResourcePaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/pagination/ListWebhooksPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/pagination/ListActionExecutionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/pagination/ListActionTypesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/pagination/ListPipelineExecutionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/pagination/ListPipelinesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/pagination/ListTagsForResourcePaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/pagination/ListWebhooksPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/CodePipelineClient.d.ts +15 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/AcknowledgeJobCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/AcknowledgeThirdPartyJobCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/CreateCustomActionTypeCommand.d.ts +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/CreatePipelineCommand.d.ts +38 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeleteCustomActionTypeCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeletePipelineCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeleteWebhookCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DisableStageTransitionCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/EnableStageTransitionCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetActionTypeCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetJobDetailsCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineCommand.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineExecutionCommand.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineStateCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetThirdPartyJobDetailsCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListActionExecutionsCommand.d.ts +21 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListActionTypesCommand.d.ts +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListPipelineExecutionsCommand.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListPipelinesCommand.d.ts +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListTagsForResourceCommand.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListWebhooksCommand.d.ts +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PollForJobsCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PollForThirdPartyJobsCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutActionRevisionCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutApprovalResultCommand.d.ts +25 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutJobFailureResultCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutJobSuccessResultCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutThirdPartyJobFailureResultCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutThirdPartyJobSuccessResultCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutWebhookCommand.d.ts +32 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/RegisterWebhookWithThirdPartyCommand.d.ts +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/RetryStageExecutionCommand.d.ts +29 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/StartPipelineExecutionCommand.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/StopPipelineExecutionCommand.d.ts +28 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/TagResourceCommand.d.ts +25 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UntagResourceCommand.d.ts +22 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UpdateActionTypeCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UpdatePipelineCommand.d.ts +26 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/pagination/Interfaces.d.ts +1 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.native.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/CodePipelineClient.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/package.json +67 -61
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/README.md +1135 -23
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/ruleset.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeActivationsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAssociationExecutionTargetsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAssociationExecutionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAutomationExecutionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAutomationStepExecutionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAvailablePatchesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeEffectiveInstanceAssociationsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstanceAssociationsStatusPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstanceInformationPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchStatesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInventoryDeletionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowSchedulePaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowTargetsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowTasksPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowsForTargetPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeOpsItemsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeParametersPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchBaselinesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchGroupsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchPropertiesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeSessionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetInventoryPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetInventorySchemaPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetOpsSummaryPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetParameterHistoryPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetParametersByPathPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetResourcePoliciesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListAssociationVersionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListAssociationsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListCommandInvocationsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListCommandsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListComplianceItemsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListComplianceSummariesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListDocumentVersionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListDocumentsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsItemEventsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsItemRelatedItemsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsMetadataPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListResourceComplianceSummariesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListResourceDataSyncPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/ruleset.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeActivationsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAssociationExecutionTargetsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAssociationExecutionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAutomationExecutionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAutomationStepExecutionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAvailablePatchesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeEffectiveInstanceAssociationsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstanceAssociationsStatusPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstanceInformationPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchStatesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInventoryDeletionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowSchedulePaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowTargetsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowTasksPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowsForTargetPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeOpsItemsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeParametersPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchBaselinesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchGroupsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchPropertiesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeSessionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetInventoryPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetInventorySchemaPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetOpsSummaryPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetParameterHistoryPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetParametersByPathPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetResourcePoliciesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListAssociationVersionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListAssociationsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListCommandInvocationsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListCommandsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListComplianceItemsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListComplianceSummariesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListDocumentVersionsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListDocumentsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsItemEventsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsItemRelatedItemsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsMetadataPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListResourceComplianceSummariesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListResourceDataSyncPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +9 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +15 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/AddTagsToResourceCommand.d.ts +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelCommandCommand.d.ts +36 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelMaintenanceWindowExecutionCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateActivationCommand.d.ts +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationBatchCommand.d.ts +63 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationCommand.d.ts +66 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +25 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateMaintenanceWindowCommand.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsItemCommand.d.ts +26 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsMetadataCommand.d.ts +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreatePatchBaselineCommand.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateResourceDataSyncCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteActivationCommand.d.ts +21 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteAssociationCommand.d.ts +39 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteDocumentCommand.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteInventoryCommand.d.ts +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteMaintenanceWindowCommand.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsMetadataCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParameterCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParametersCommand.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeletePatchBaselineCommand.d.ts +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourceDataSyncCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourcePolicyCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterManagedInstanceCommand.d.ts +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeActivationsCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationCommand.d.ts +41 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionTargetsCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionsCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAvailablePatchesCommand.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentPermissionCommand.d.ts +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +33 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts +33 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceInformationCommand.d.ts +39 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts +36 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInventoryDeletionsCommand.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeOpsItemsCommand.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeParametersCommand.d.ts +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchBaselinesCommand.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupStateCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupsCommand.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchPropertiesCommand.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeSessionsCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts +21 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCalendarStateCommand.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCommandInvocationCommand.d.ts +40 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetConnectionStatusCommand.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDefaultPatchBaselineCommand.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDocumentCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventoryCommand.d.ts +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventorySchemaCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsItemCommand.d.ts +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsMetadataCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsSummaryCommand.d.ts +27 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterCommand.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterHistoryCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts +26 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineForPatchGroupCommand.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetResourcePoliciesCommand.d.ts +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetServiceSettingCommand.d.ts +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/LabelParameterVersionCommand.d.ts +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationVersionsCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationsCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandInvocationsCommand.d.ts +39 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandsCommand.d.ts +39 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceItemsCommand.d.ts +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceSummariesCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentVersionsCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentsCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListInventoryEntriesCommand.d.ts +39 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemEventsCommand.d.ts +21 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemRelatedItemsCommand.d.ts +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsMetadataCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceDataSyncCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ModifyDocumentPermissionCommand.d.ts +31 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutComplianceItemsCommand.d.ts +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutInventoryCommand.d.ts +65 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutParameterCommand.d.ts +74 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutResourcePolicyCommand.d.ts +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterDefaultPatchBaselineCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +29 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +26 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResumeSessionCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts +21 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendCommandCommand.d.ts +62 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAssociationsOnceCommand.d.ts +13 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts +33 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +33 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartSessionCommand.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StopAutomationExecutionCommand.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/TerminateSessionCommand.d.ts +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UnlabelParameterVersionCommand.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationCommand.d.ts +57 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationStatusCommand.d.ts +42 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentCommand.d.ts +41 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentDefaultVersionCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTargetCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTaskCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsItemCommand.d.ts +29 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsMetadataCommand.d.ts +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdatePatchBaselineCommand.d.ts +16 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateResourceDataSyncCommand.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateServiceSettingCommand.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +15 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +33 -22
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/pagination/Interfaces.d.ts +1 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/package.json +68 -62
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/README.md +50 -10
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +1 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +15 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +22 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +22 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +22 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +19 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +1 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/package.json +64 -58
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/README.md +27 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +15 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +48 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +22 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +28 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/package.json +32 -37
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/README.md +75 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +15 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +80 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +77 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +84 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +28 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +55 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +67 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +37 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/package.json +70 -63
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/config-resolver/package.json +32 -19
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-env/README.md +4 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-env/package.json +28 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-imds/README.md +4 -28
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-imds/package.json +30 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/README.md +4 -120
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/package.json +34 -20
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/README.md +16 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/package.json +35 -23
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-process/README.md +4 -56
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-process/package.json +29 -18
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-sso/README.md +4 -90
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-sso/package.json +31 -19
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/README.md +4 -132
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/package.json +36 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/fetch-http-handler/package.json +29 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/hash-node/package.json +29 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/invalid-dependency/package.json +27 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/is-array-buffer/package.json +27 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-content-length/package.json +30 -18
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-endpoint/package.json +12 -9
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +4 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js +4 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-host-header/package.json +29 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js +24 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js +23 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-logger/package.json +27 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-recursion-detection/package.json +7 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-retry/dist-types/StandardRetryStrategy.d.ts +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-retry/package.json +32 -18
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-sdk-sts/package.json +33 -21
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-serde/package.json +28 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-signing/package.json +33 -20
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-stack/package.json +26 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/user-agent-middleware.js +5 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +5 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-user-agent/package.json +29 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/node-config-provider/package.json +29 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/node-http-handler/package.json +30 -24
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/property-provider/package.json +28 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-cjs/Field.js +1 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-cjs/Fields.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-cjs/index.js +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-es/Field.js +1 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-es/Fields.js +3 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-es/index.js +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-types/index.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/index.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/package.json +28 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/querystring-builder/package.json +30 -18
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/querystring-parser/package.json +28 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/service-error-classification/package.json +25 -13
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/README.md +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +11 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/slurpFile.js +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +11 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-es/slurpFile.js +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/slurpFile.d.ts +5 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +8 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/package.json +27 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/signature-v4/package.json +34 -21
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-cjs/default-error-handler.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-es/default-error-handler.js +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/NoOpLogger.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/client.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/command.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/constants.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/date-utils.d.ts +26 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/default-error-handler.d.ts +2 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/exceptions.d.ts +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/extended-encode-uri-component.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/get-array-if-single-item.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/get-value-from-text-node.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/lazy-json.d.ts +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/object-mapping.d.ts +36 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/parse-utils.d.ts +73 -23
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/resolve-path.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/ser-utils.d.ts +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/split-every.d.ts +5 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/package.json +30 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/package.json +9 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-es/identity/Identity.js +0 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/abort.d.ts +8 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/auth.d.ts +9 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +6 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/client.d.ts +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/command.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +6 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +11 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/dns.d.ts +23 -6
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +21 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +61 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/http.d.ts +24 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +6 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +7 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +6 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +6 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/logger.d.ts +7 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +123 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/profile.d.ts +12 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/request.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/response.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/retry.d.ts +32 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/serde.d.ts +32 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +19 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/signature.d.ts +32 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/stream.d.ts +5 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/token.d.ts +6 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +9 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/util.d.ts +28 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/package.json +29 -12
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/url-parser/package.json +28 -16
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-base64/package.json +6 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-body-length-browser/package.json +26 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-body-length-node/package.json +26 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-buffer-from/package.json +27 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-config-provider/package.json +5 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +8 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-defaults-mode-node/package.json +11 -8
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partition.js +16 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +12 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +30 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +26 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/package.json +6 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-hex-encoding/package.json +27 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-locate-window/package.json +26 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-middleware/package.json +6 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-retry/package.json +7 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-uri-escape/package.json +27 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-browser/package.json +27 -15
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-node/package.json +37 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-utf8/package.json +6 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-utf8-browser/README.md +4 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-utf8-browser/package.json +23 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-waiter/dist-types/poller.d.ts +4 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-waiter/dist-types/utils/sleep.d.ts +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-waiter/dist-types/utils/validate.d.ts +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-waiter/dist-types/waiter.d.ts +14 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-waiter/package.json +29 -17
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@types/minimatch/README.md +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@types/minimatch/index.d.ts +11 -11
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@types/minimatch/package.json +4 -3
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/CHANGELOG.md +21 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/README.md +125 -274
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/package.json +18 -43
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/fxp.d.ts +6 -4
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/util.js +1 -36
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/validator.js +52 -29
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +56 -65
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +73 -51
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +8 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +3 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +6 -2
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +2 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/LICENSE +1 -7
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/README.md +987 -279
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/glob.d.ts +328 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/glob.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/glob.js +228 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/glob.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/has-magic.d.ts +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/has-magic.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/has-magic.js +27 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/has-magic.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/ignore.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/ignore.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/ignore.js +103 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/ignore.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index-cjs.d.ts +75 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index-cjs.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index-cjs.js +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index-cjs.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index.d.ts +96 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index.js +68 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/pattern.d.ts +77 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/pattern.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/pattern.js +219 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/pattern.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/processor.d.ts +59 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/processor.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/processor.js +307 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/processor.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/walker.d.ts +95 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/walker.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/walker.js +370 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/walker.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/glob.d.ts +328 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/glob.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/glob.js +224 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/glob.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/has-magic.d.ts +14 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/has-magic.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/has-magic.js +23 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/has-magic.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/ignore.d.ts +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/ignore.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/ignore.js +99 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/ignore.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/index.d.ts +96 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/index.js +55 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/pattern.d.ts +77 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/pattern.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/pattern.js +215 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/pattern.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/processor.d.ts +59 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/processor.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/processor.js +300 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/processor.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/walker.d.ts +95 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/walker.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/walker.js +361 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/walker.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/README.md +267 -67
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js +152 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js +22 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index-cjs.d.ts +42 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index-cjs.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index-cjs.js +7 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index-cjs.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts +92 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index.js +1304 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js +24 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +8 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js +148 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts +12 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js +18 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts +92 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/index.js +1289 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts +17 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js +20 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/package.json +65 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/package.json +75 -29
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/LICENSE +15 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/README.md +1117 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/index.d.ts +869 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/index.js +1227 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/index.mjs +1227 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/package.json +96 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/LICENSE +15 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/README.md +769 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/index.d.ts +150 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/index.js +702 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/index.mjs +702 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/package.json +76 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/LICENSE.md +55 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/README.md +559 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/cjs/index.d.ts +1055 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/cjs/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/cjs/index.js +1865 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/cjs/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/cjs/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/mjs/index.d.ts +1055 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/mjs/index.d.ts.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/mjs/index.js +1827 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/mjs/index.js.map +1 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/mjs/package.json +3 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/package.json +87 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/CopyrightNotice.txt +1 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/modules/index.js +10 -0
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/package.json +2 -1
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.d.ts +314 -14
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.es6.js +59 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.js +69 -5
- package/lib/internal-lambdas/sourceWatcherLambda/src/package-lock.json +1458 -1050
- package/lib/internal-lambdas/sourceWatcherLambda/src/package.json +4 -4
- package/lib/newman-runner.js +1 -3
- package/package.json +18 -19
- package/lib/edge-lambdas/transclusionLambda/index.d.ts +0 -19
- package/lib/edge-lambdas/transclusionLambda/index.js +0 -48
- package/lib/edge-lambdas/transclusionLambda/src/getFromS3.d.ts +0 -3
- package/lib/edge-lambdas/transclusionLambda/src/getFromS3.js +0 -20
- package/lib/edge-lambdas/transclusionLambda/src/getFromS3.ts +0 -20
- package/lib/edge-lambdas/transclusionLambda/src/handler.d.ts +0 -7
- package/lib/edge-lambdas/transclusionLambda/src/handler.js +0 -86
|
@@ -0,0 +1,769 @@
|
|
|
1
|
+
# minipass
|
|
2
|
+
|
|
3
|
+
A _very_ minimal implementation of a [PassThrough
|
|
4
|
+
stream](https://nodejs.org/api/stream.html#stream_class_stream_passthrough)
|
|
5
|
+
|
|
6
|
+
[It's very
|
|
7
|
+
fast](https://docs.google.com/spreadsheets/d/1K_HR5oh3r80b8WVMWCPPjfuWXUgfkmhlX7FGI6JJ8tY/edit?usp=sharing)
|
|
8
|
+
for objects, strings, and buffers.
|
|
9
|
+
|
|
10
|
+
Supports `pipe()`ing (including multi-`pipe()` and backpressure
|
|
11
|
+
transmission), buffering data until either a `data` event handler
|
|
12
|
+
or `pipe()` is added (so you don't lose the first chunk), and
|
|
13
|
+
most other cases where PassThrough is a good idea.
|
|
14
|
+
|
|
15
|
+
There is a `read()` method, but it's much more efficient to
|
|
16
|
+
consume data from this stream via `'data'` events or by calling
|
|
17
|
+
`pipe()` into some other stream. Calling `read()` requires the
|
|
18
|
+
buffer to be flattened in some cases, which requires copying
|
|
19
|
+
memory.
|
|
20
|
+
|
|
21
|
+
If you set `objectMode: true` in the options, then whatever is
|
|
22
|
+
written will be emitted. Otherwise, it'll do a minimal amount of
|
|
23
|
+
Buffer copying to ensure proper Streams semantics when `read(n)`
|
|
24
|
+
is called.
|
|
25
|
+
|
|
26
|
+
`objectMode` can also be set by doing `stream.objectMode = true`,
|
|
27
|
+
or by writing any non-string/non-buffer data. `objectMode` cannot
|
|
28
|
+
be set to false once it is set.
|
|
29
|
+
|
|
30
|
+
This is not a `through` or `through2` stream. It doesn't
|
|
31
|
+
transform the data, it just passes it right through. If you want
|
|
32
|
+
to transform the data, extend the class, and override the
|
|
33
|
+
`write()` method. Once you're done transforming the data however
|
|
34
|
+
you want, call `super.write()` with the transform output.
|
|
35
|
+
|
|
36
|
+
For some examples of streams that extend Minipass in various
|
|
37
|
+
ways, check out:
|
|
38
|
+
|
|
39
|
+
- [minizlib](http://npm.im/minizlib)
|
|
40
|
+
- [fs-minipass](http://npm.im/fs-minipass)
|
|
41
|
+
- [tar](http://npm.im/tar)
|
|
42
|
+
- [minipass-collect](http://npm.im/minipass-collect)
|
|
43
|
+
- [minipass-flush](http://npm.im/minipass-flush)
|
|
44
|
+
- [minipass-pipeline](http://npm.im/minipass-pipeline)
|
|
45
|
+
- [tap](http://npm.im/tap)
|
|
46
|
+
- [tap-parser](http://npm.im/tap-parser)
|
|
47
|
+
- [treport](http://npm.im/treport)
|
|
48
|
+
- [minipass-fetch](http://npm.im/minipass-fetch)
|
|
49
|
+
- [pacote](http://npm.im/pacote)
|
|
50
|
+
- [make-fetch-happen](http://npm.im/make-fetch-happen)
|
|
51
|
+
- [cacache](http://npm.im/cacache)
|
|
52
|
+
- [ssri](http://npm.im/ssri)
|
|
53
|
+
- [npm-registry-fetch](http://npm.im/npm-registry-fetch)
|
|
54
|
+
- [minipass-json-stream](http://npm.im/minipass-json-stream)
|
|
55
|
+
- [minipass-sized](http://npm.im/minipass-sized)
|
|
56
|
+
|
|
57
|
+
## Differences from Node.js Streams
|
|
58
|
+
|
|
59
|
+
There are several things that make Minipass streams different
|
|
60
|
+
from (and in some ways superior to) Node.js core streams.
|
|
61
|
+
|
|
62
|
+
Please read these caveats if you are familiar with node-core
|
|
63
|
+
streams and intend to use Minipass streams in your programs.
|
|
64
|
+
|
|
65
|
+
You can avoid most of these differences entirely (for a very
|
|
66
|
+
small performance penalty) by setting `{async: true}` in the
|
|
67
|
+
constructor options.
|
|
68
|
+
|
|
69
|
+
### Timing
|
|
70
|
+
|
|
71
|
+
Minipass streams are designed to support synchronous use-cases.
|
|
72
|
+
Thus, data is emitted as soon as it is available, always. It is
|
|
73
|
+
buffered until read, but no longer. Another way to look at it is
|
|
74
|
+
that Minipass streams are exactly as synchronous as the logic
|
|
75
|
+
that writes into them.
|
|
76
|
+
|
|
77
|
+
This can be surprising if your code relies on
|
|
78
|
+
`PassThrough.write()` always providing data on the next tick
|
|
79
|
+
rather than the current one, or being able to call `resume()` and
|
|
80
|
+
not have the entire buffer disappear immediately.
|
|
81
|
+
|
|
82
|
+
However, without this synchronicity guarantee, there would be no
|
|
83
|
+
way for Minipass to achieve the speeds it does, or support the
|
|
84
|
+
synchronous use cases that it does. Simply put, waiting takes
|
|
85
|
+
time.
|
|
86
|
+
|
|
87
|
+
This non-deferring approach makes Minipass streams much easier to
|
|
88
|
+
reason about, especially in the context of Promises and other
|
|
89
|
+
flow-control mechanisms.
|
|
90
|
+
|
|
91
|
+
Example:
|
|
92
|
+
|
|
93
|
+
```js
|
|
94
|
+
// hybrid module, either works
|
|
95
|
+
import Minipass from 'minipass'
|
|
96
|
+
// or:
|
|
97
|
+
const Minipass = require('minipass')
|
|
98
|
+
|
|
99
|
+
const stream = new Minipass()
|
|
100
|
+
stream.on('data', () => console.log('data event'))
|
|
101
|
+
console.log('before write')
|
|
102
|
+
stream.write('hello')
|
|
103
|
+
console.log('after write')
|
|
104
|
+
// output:
|
|
105
|
+
// before write
|
|
106
|
+
// data event
|
|
107
|
+
// after write
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### Exception: Async Opt-In
|
|
111
|
+
|
|
112
|
+
If you wish to have a Minipass stream with behavior that more
|
|
113
|
+
closely mimics Node.js core streams, you can set the stream in
|
|
114
|
+
async mode either by setting `async: true` in the constructor
|
|
115
|
+
options, or by setting `stream.async = true` later on.
|
|
116
|
+
|
|
117
|
+
```js
|
|
118
|
+
// hybrid module, either works
|
|
119
|
+
import Minipass from 'minipass'
|
|
120
|
+
// or:
|
|
121
|
+
const Minipass = require('minipass')
|
|
122
|
+
|
|
123
|
+
const asyncStream = new Minipass({ async: true })
|
|
124
|
+
asyncStream.on('data', () => console.log('data event'))
|
|
125
|
+
console.log('before write')
|
|
126
|
+
asyncStream.write('hello')
|
|
127
|
+
console.log('after write')
|
|
128
|
+
// output:
|
|
129
|
+
// before write
|
|
130
|
+
// after write
|
|
131
|
+
// data event <-- this is deferred until the next tick
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Switching _out_ of async mode is unsafe, as it could cause data
|
|
135
|
+
corruption, and so is not enabled. Example:
|
|
136
|
+
|
|
137
|
+
```js
|
|
138
|
+
import Minipass from 'minipass'
|
|
139
|
+
const stream = new Minipass({ encoding: 'utf8' })
|
|
140
|
+
stream.on('data', chunk => console.log(chunk))
|
|
141
|
+
stream.async = true
|
|
142
|
+
console.log('before writes')
|
|
143
|
+
stream.write('hello')
|
|
144
|
+
setStreamSyncAgainSomehow(stream) // <-- this doesn't actually exist!
|
|
145
|
+
stream.write('world')
|
|
146
|
+
console.log('after writes')
|
|
147
|
+
// hypothetical output would be:
|
|
148
|
+
// before writes
|
|
149
|
+
// world
|
|
150
|
+
// after writes
|
|
151
|
+
// hello
|
|
152
|
+
// NOT GOOD!
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
To avoid this problem, once set into async mode, any attempt to
|
|
156
|
+
make the stream sync again will be ignored.
|
|
157
|
+
|
|
158
|
+
```js
|
|
159
|
+
const Minipass = require('minipass')
|
|
160
|
+
const stream = new Minipass({ encoding: 'utf8' })
|
|
161
|
+
stream.on('data', chunk => console.log(chunk))
|
|
162
|
+
stream.async = true
|
|
163
|
+
console.log('before writes')
|
|
164
|
+
stream.write('hello')
|
|
165
|
+
stream.async = false // <-- no-op, stream already async
|
|
166
|
+
stream.write('world')
|
|
167
|
+
console.log('after writes')
|
|
168
|
+
// actual output:
|
|
169
|
+
// before writes
|
|
170
|
+
// after writes
|
|
171
|
+
// hello
|
|
172
|
+
// world
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### No High/Low Water Marks
|
|
176
|
+
|
|
177
|
+
Node.js core streams will optimistically fill up a buffer,
|
|
178
|
+
returning `true` on all writes until the limit is hit, even if
|
|
179
|
+
the data has nowhere to go. Then, they will not attempt to draw
|
|
180
|
+
more data in until the buffer size dips below a minimum value.
|
|
181
|
+
|
|
182
|
+
Minipass streams are much simpler. The `write()` method will
|
|
183
|
+
return `true` if the data has somewhere to go (which is to say,
|
|
184
|
+
given the timing guarantees, that the data is already there by
|
|
185
|
+
the time `write()` returns).
|
|
186
|
+
|
|
187
|
+
If the data has nowhere to go, then `write()` returns false, and
|
|
188
|
+
the data sits in a buffer, to be drained out immediately as soon
|
|
189
|
+
as anyone consumes it.
|
|
190
|
+
|
|
191
|
+
Since nothing is ever buffered unnecessarily, there is much less
|
|
192
|
+
copying data, and less bookkeeping about buffer capacity levels.
|
|
193
|
+
|
|
194
|
+
### Hazards of Buffering (or: Why Minipass Is So Fast)
|
|
195
|
+
|
|
196
|
+
Since data written to a Minipass stream is immediately written
|
|
197
|
+
all the way through the pipeline, and `write()` always returns
|
|
198
|
+
true/false based on whether the data was fully flushed,
|
|
199
|
+
backpressure is communicated immediately to the upstream caller.
|
|
200
|
+
This minimizes buffering.
|
|
201
|
+
|
|
202
|
+
Consider this case:
|
|
203
|
+
|
|
204
|
+
```js
|
|
205
|
+
const { PassThrough } = require('stream')
|
|
206
|
+
const p1 = new PassThrough({ highWaterMark: 1024 })
|
|
207
|
+
const p2 = new PassThrough({ highWaterMark: 1024 })
|
|
208
|
+
const p3 = new PassThrough({ highWaterMark: 1024 })
|
|
209
|
+
const p4 = new PassThrough({ highWaterMark: 1024 })
|
|
210
|
+
|
|
211
|
+
p1.pipe(p2).pipe(p3).pipe(p4)
|
|
212
|
+
p4.on('data', () => console.log('made it through'))
|
|
213
|
+
|
|
214
|
+
// this returns false and buffers, then writes to p2 on next tick (1)
|
|
215
|
+
// p2 returns false and buffers, pausing p1, then writes to p3 on next tick (2)
|
|
216
|
+
// p3 returns false and buffers, pausing p2, then writes to p4 on next tick (3)
|
|
217
|
+
// p4 returns false and buffers, pausing p3, then emits 'data' and 'drain'
|
|
218
|
+
// on next tick (4)
|
|
219
|
+
// p3 sees p4's 'drain' event, and calls resume(), emitting 'resume' and
|
|
220
|
+
// 'drain' on next tick (5)
|
|
221
|
+
// p2 sees p3's 'drain', calls resume(), emits 'resume' and 'drain' on next tick (6)
|
|
222
|
+
// p1 sees p2's 'drain', calls resume(), emits 'resume' and 'drain' on next
|
|
223
|
+
// tick (7)
|
|
224
|
+
|
|
225
|
+
p1.write(Buffer.alloc(2048)) // returns false
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Along the way, the data was buffered and deferred at each stage,
|
|
229
|
+
and multiple event deferrals happened, for an unblocked pipeline
|
|
230
|
+
where it was perfectly safe to write all the way through!
|
|
231
|
+
|
|
232
|
+
Furthermore, setting a `highWaterMark` of `1024` might lead
|
|
233
|
+
someone reading the code to think an advisory maximum of 1KiB is
|
|
234
|
+
being set for the pipeline. However, the actual advisory
|
|
235
|
+
buffering level is the _sum_ of `highWaterMark` values, since
|
|
236
|
+
each one has its own bucket.
|
|
237
|
+
|
|
238
|
+
Consider the Minipass case:
|
|
239
|
+
|
|
240
|
+
```js
|
|
241
|
+
const m1 = new Minipass()
|
|
242
|
+
const m2 = new Minipass()
|
|
243
|
+
const m3 = new Minipass()
|
|
244
|
+
const m4 = new Minipass()
|
|
245
|
+
|
|
246
|
+
m1.pipe(m2).pipe(m3).pipe(m4)
|
|
247
|
+
m4.on('data', () => console.log('made it through'))
|
|
248
|
+
|
|
249
|
+
// m1 is flowing, so it writes the data to m2 immediately
|
|
250
|
+
// m2 is flowing, so it writes the data to m3 immediately
|
|
251
|
+
// m3 is flowing, so it writes the data to m4 immediately
|
|
252
|
+
// m4 is flowing, so it fires the 'data' event immediately, returns true
|
|
253
|
+
// m4's write returned true, so m3 is still flowing, returns true
|
|
254
|
+
// m3's write returned true, so m2 is still flowing, returns true
|
|
255
|
+
// m2's write returned true, so m1 is still flowing, returns true
|
|
256
|
+
// No event deferrals or buffering along the way!
|
|
257
|
+
|
|
258
|
+
m1.write(Buffer.alloc(2048)) // returns true
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
It is extremely unlikely that you _don't_ want to buffer any data
|
|
262
|
+
written, or _ever_ buffer data that can be flushed all the way
|
|
263
|
+
through. Neither node-core streams nor Minipass ever fail to
|
|
264
|
+
buffer written data, but node-core streams do a lot of
|
|
265
|
+
unnecessary buffering and pausing.
|
|
266
|
+
|
|
267
|
+
As always, the faster implementation is the one that does less
|
|
268
|
+
stuff and waits less time to do it.
|
|
269
|
+
|
|
270
|
+
### Immediately emit `end` for empty streams (when not paused)
|
|
271
|
+
|
|
272
|
+
If a stream is not paused, and `end()` is called before writing
|
|
273
|
+
any data into it, then it will emit `end` immediately.
|
|
274
|
+
|
|
275
|
+
If you have logic that occurs on the `end` event which you don't
|
|
276
|
+
want to potentially happen immediately (for example, closing file
|
|
277
|
+
descriptors, moving on to the next entry in an archive parse
|
|
278
|
+
stream, etc.) then be sure to call `stream.pause()` on creation,
|
|
279
|
+
and then `stream.resume()` once you are ready to respond to the
|
|
280
|
+
`end` event.
|
|
281
|
+
|
|
282
|
+
However, this is _usually_ not a problem because:
|
|
283
|
+
|
|
284
|
+
### Emit `end` When Asked
|
|
285
|
+
|
|
286
|
+
One hazard of immediately emitting `'end'` is that you may not
|
|
287
|
+
yet have had a chance to add a listener. In order to avoid this
|
|
288
|
+
hazard, Minipass streams safely re-emit the `'end'` event if a
|
|
289
|
+
new listener is added after `'end'` has been emitted.
|
|
290
|
+
|
|
291
|
+
Ie, if you do `stream.on('end', someFunction)`, and the stream
|
|
292
|
+
has already emitted `end`, then it will call the handler right
|
|
293
|
+
away. (You can think of this somewhat like attaching a new
|
|
294
|
+
`.then(fn)` to a previously-resolved Promise.)
|
|
295
|
+
|
|
296
|
+
To prevent calling handlers multiple times who would not expect
|
|
297
|
+
multiple ends to occur, all listeners are removed from the
|
|
298
|
+
`'end'` event whenever it is emitted.
|
|
299
|
+
|
|
300
|
+
### Emit `error` When Asked
|
|
301
|
+
|
|
302
|
+
The most recent error object passed to the `'error'` event is
|
|
303
|
+
stored on the stream. If a new `'error'` event handler is added,
|
|
304
|
+
and an error was previously emitted, then the event handler will
|
|
305
|
+
be called immediately (or on `process.nextTick` in the case of
|
|
306
|
+
async streams).
|
|
307
|
+
|
|
308
|
+
This makes it much more difficult to end up trying to interact
|
|
309
|
+
with a broken stream, if the error handler is added after an
|
|
310
|
+
error was previously emitted.
|
|
311
|
+
|
|
312
|
+
### Impact of "immediate flow" on Tee-streams
|
|
313
|
+
|
|
314
|
+
A "tee stream" is a stream piping to multiple destinations:
|
|
315
|
+
|
|
316
|
+
```js
|
|
317
|
+
const tee = new Minipass()
|
|
318
|
+
t.pipe(dest1)
|
|
319
|
+
t.pipe(dest2)
|
|
320
|
+
t.write('foo') // goes to both destinations
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
Since Minipass streams _immediately_ process any pending data
|
|
324
|
+
through the pipeline when a new pipe destination is added, this
|
|
325
|
+
can have surprising effects, especially when a stream comes in
|
|
326
|
+
from some other function and may or may not have data in its
|
|
327
|
+
buffer.
|
|
328
|
+
|
|
329
|
+
```js
|
|
330
|
+
// WARNING! WILL LOSE DATA!
|
|
331
|
+
const src = new Minipass()
|
|
332
|
+
src.write('foo')
|
|
333
|
+
src.pipe(dest1) // 'foo' chunk flows to dest1 immediately, and is gone
|
|
334
|
+
src.pipe(dest2) // gets nothing!
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
One solution is to create a dedicated tee-stream junction that
|
|
338
|
+
pipes to both locations, and then pipe to _that_ instead.
|
|
339
|
+
|
|
340
|
+
```js
|
|
341
|
+
// Safe example: tee to both places
|
|
342
|
+
const src = new Minipass()
|
|
343
|
+
src.write('foo')
|
|
344
|
+
const tee = new Minipass()
|
|
345
|
+
tee.pipe(dest1)
|
|
346
|
+
tee.pipe(dest2)
|
|
347
|
+
src.pipe(tee) // tee gets 'foo', pipes to both locations
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
The same caveat applies to `on('data')` event listeners. The
|
|
351
|
+
first one added will _immediately_ receive all of the data,
|
|
352
|
+
leaving nothing for the second:
|
|
353
|
+
|
|
354
|
+
```js
|
|
355
|
+
// WARNING! WILL LOSE DATA!
|
|
356
|
+
const src = new Minipass()
|
|
357
|
+
src.write('foo')
|
|
358
|
+
src.on('data', handler1) // receives 'foo' right away
|
|
359
|
+
src.on('data', handler2) // nothing to see here!
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
Using a dedicated tee-stream can be used in this case as well:
|
|
363
|
+
|
|
364
|
+
```js
|
|
365
|
+
// Safe example: tee to both data handlers
|
|
366
|
+
const src = new Minipass()
|
|
367
|
+
src.write('foo')
|
|
368
|
+
const tee = new Minipass()
|
|
369
|
+
tee.on('data', handler1)
|
|
370
|
+
tee.on('data', handler2)
|
|
371
|
+
src.pipe(tee)
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
All of the hazards in this section are avoided by setting `{
|
|
375
|
+
async: true }` in the Minipass constructor, or by setting
|
|
376
|
+
`stream.async = true` afterwards. Note that this does add some
|
|
377
|
+
overhead, so should only be done in cases where you are willing
|
|
378
|
+
to lose a bit of performance in order to avoid having to refactor
|
|
379
|
+
program logic.
|
|
380
|
+
|
|
381
|
+
## USAGE
|
|
382
|
+
|
|
383
|
+
It's a stream! Use it like a stream and it'll most likely do what
|
|
384
|
+
you want.
|
|
385
|
+
|
|
386
|
+
```js
|
|
387
|
+
import Minipass from 'minipass'
|
|
388
|
+
const mp = new Minipass(options) // optional: { encoding, objectMode }
|
|
389
|
+
mp.write('foo')
|
|
390
|
+
mp.pipe(someOtherStream)
|
|
391
|
+
mp.end('bar')
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
### OPTIONS
|
|
395
|
+
|
|
396
|
+
- `encoding` How would you like the data coming _out_ of the
|
|
397
|
+
stream to be encoded? Accepts any values that can be passed to
|
|
398
|
+
`Buffer.toString()`.
|
|
399
|
+
- `objectMode` Emit data exactly as it comes in. This will be
|
|
400
|
+
flipped on by default if you write() something other than a
|
|
401
|
+
string or Buffer at any point. Setting `objectMode: true` will
|
|
402
|
+
prevent setting any encoding value.
|
|
403
|
+
- `async` Defaults to `false`. Set to `true` to defer data
|
|
404
|
+
emission until next tick. This reduces performance slightly,
|
|
405
|
+
but makes Minipass streams use timing behavior closer to Node
|
|
406
|
+
core streams. See [Timing](#timing) for more details.
|
|
407
|
+
- `signal` An `AbortSignal` that will cause the stream to unhook
|
|
408
|
+
itself from everything and become as inert as possible. Note
|
|
409
|
+
that providing a `signal` parameter will make `'error'` events
|
|
410
|
+
no longer throw if they are unhandled, but they will still be
|
|
411
|
+
emitted to handlers if any are attached.
|
|
412
|
+
|
|
413
|
+
### API
|
|
414
|
+
|
|
415
|
+
Implements the user-facing portions of Node.js's `Readable` and
|
|
416
|
+
`Writable` streams.
|
|
417
|
+
|
|
418
|
+
### Methods
|
|
419
|
+
|
|
420
|
+
- `write(chunk, [encoding], [callback])` - Put data in. (Note
|
|
421
|
+
that, in the base Minipass class, the same data will come out.)
|
|
422
|
+
Returns `false` if the stream will buffer the next write, or
|
|
423
|
+
true if it's still in "flowing" mode.
|
|
424
|
+
- `end([chunk, [encoding]], [callback])` - Signal that you have
|
|
425
|
+
no more data to write. This will queue an `end` event to be
|
|
426
|
+
fired when all the data has been consumed.
|
|
427
|
+
- `setEncoding(encoding)` - Set the encoding for data coming of
|
|
428
|
+
the stream. This can only be done once.
|
|
429
|
+
- `pause()` - No more data for a while, please. This also
|
|
430
|
+
prevents `end` from being emitted for empty streams until the
|
|
431
|
+
stream is resumed.
|
|
432
|
+
- `resume()` - Resume the stream. If there's data in the buffer,
|
|
433
|
+
it is all discarded. Any buffered events are immediately
|
|
434
|
+
emitted.
|
|
435
|
+
- `pipe(dest)` - Send all output to the stream provided. When
|
|
436
|
+
data is emitted, it is immediately written to any and all pipe
|
|
437
|
+
destinations. (Or written on next tick in `async` mode.)
|
|
438
|
+
- `unpipe(dest)` - Stop piping to the destination stream. This is
|
|
439
|
+
immediate, meaning that any asynchronously queued data will
|
|
440
|
+
_not_ make it to the destination when running in `async` mode.
|
|
441
|
+
- `options.end` - Boolean, end the destination stream when the
|
|
442
|
+
source stream ends. Default `true`.
|
|
443
|
+
- `options.proxyErrors` - Boolean, proxy `error` events from
|
|
444
|
+
the source stream to the destination stream. Note that errors
|
|
445
|
+
are _not_ proxied after the pipeline terminates, either due
|
|
446
|
+
to the source emitting `'end'` or manually unpiping with
|
|
447
|
+
`src.unpipe(dest)`. Default `false`.
|
|
448
|
+
- `on(ev, fn)`, `emit(ev, fn)` - Minipass streams are
|
|
449
|
+
EventEmitters. Some events are given special treatment,
|
|
450
|
+
however. (See below under "events".)
|
|
451
|
+
- `promise()` - Returns a Promise that resolves when the stream
|
|
452
|
+
emits `end`, or rejects if the stream emits `error`.
|
|
453
|
+
- `collect()` - Return a Promise that resolves on `end` with an
|
|
454
|
+
array containing each chunk of data that was emitted, or
|
|
455
|
+
rejects if the stream emits `error`. Note that this consumes
|
|
456
|
+
the stream data.
|
|
457
|
+
- `concat()` - Same as `collect()`, but concatenates the data
|
|
458
|
+
into a single Buffer object. Will reject the returned promise
|
|
459
|
+
if the stream is in objectMode, or if it goes into objectMode
|
|
460
|
+
by the end of the data.
|
|
461
|
+
- `read(n)` - Consume `n` bytes of data out of the buffer. If `n`
|
|
462
|
+
is not provided, then consume all of it. If `n` bytes are not
|
|
463
|
+
available, then it returns null. **Note** consuming streams in
|
|
464
|
+
this way is less efficient, and can lead to unnecessary Buffer
|
|
465
|
+
copying.
|
|
466
|
+
- `destroy([er])` - Destroy the stream. If an error is provided,
|
|
467
|
+
then an `'error'` event is emitted. If the stream has a
|
|
468
|
+
`close()` method, and has not emitted a `'close'` event yet,
|
|
469
|
+
then `stream.close()` will be called. Any Promises returned by
|
|
470
|
+
`.promise()`, `.collect()` or `.concat()` will be rejected.
|
|
471
|
+
After being destroyed, writing to the stream will emit an
|
|
472
|
+
error. No more data will be emitted if the stream is destroyed,
|
|
473
|
+
even if it was previously buffered.
|
|
474
|
+
|
|
475
|
+
### Properties
|
|
476
|
+
|
|
477
|
+
- `bufferLength` Read-only. Total number of bytes buffered, or in
|
|
478
|
+
the case of objectMode, the total number of objects.
|
|
479
|
+
- `encoding` The encoding that has been set. (Setting this is
|
|
480
|
+
equivalent to calling `setEncoding(enc)` and has the same
|
|
481
|
+
prohibition against setting multiple times.)
|
|
482
|
+
- `flowing` Read-only. Boolean indicating whether a chunk written
|
|
483
|
+
to the stream will be immediately emitted.
|
|
484
|
+
- `emittedEnd` Read-only. Boolean indicating whether the end-ish
|
|
485
|
+
events (ie, `end`, `prefinish`, `finish`) have been emitted.
|
|
486
|
+
Note that listening on any end-ish event will immediateyl
|
|
487
|
+
re-emit it if it has already been emitted.
|
|
488
|
+
- `writable` Whether the stream is writable. Default `true`. Set
|
|
489
|
+
to `false` when `end()`
|
|
490
|
+
- `readable` Whether the stream is readable. Default `true`.
|
|
491
|
+
- `pipes` An array of Pipe objects referencing streams that this
|
|
492
|
+
stream is piping into.
|
|
493
|
+
- `destroyed` A getter that indicates whether the stream was
|
|
494
|
+
destroyed.
|
|
495
|
+
- `paused` True if the stream has been explicitly paused,
|
|
496
|
+
otherwise false.
|
|
497
|
+
- `objectMode` Indicates whether the stream is in `objectMode`.
|
|
498
|
+
Once set to `true`, it cannot be set to `false`.
|
|
499
|
+
- `aborted` Readonly property set when the `AbortSignal`
|
|
500
|
+
dispatches an `abort` event.
|
|
501
|
+
|
|
502
|
+
### Events
|
|
503
|
+
|
|
504
|
+
- `data` Emitted when there's data to read. Argument is the data
|
|
505
|
+
to read. This is never emitted while not flowing. If a listener
|
|
506
|
+
is attached, that will resume the stream.
|
|
507
|
+
- `end` Emitted when there's no more data to read. This will be
|
|
508
|
+
emitted immediately for empty streams when `end()` is called.
|
|
509
|
+
If a listener is attached, and `end` was already emitted, then
|
|
510
|
+
it will be emitted again. All listeners are removed when `end`
|
|
511
|
+
is emitted.
|
|
512
|
+
- `prefinish` An end-ish event that follows the same logic as
|
|
513
|
+
`end` and is emitted in the same conditions where `end` is
|
|
514
|
+
emitted. Emitted after `'end'`.
|
|
515
|
+
- `finish` An end-ish event that follows the same logic as `end`
|
|
516
|
+
and is emitted in the same conditions where `end` is emitted.
|
|
517
|
+
Emitted after `'prefinish'`.
|
|
518
|
+
- `close` An indication that an underlying resource has been
|
|
519
|
+
released. Minipass does not emit this event, but will defer it
|
|
520
|
+
until after `end` has been emitted, since it throws off some
|
|
521
|
+
stream libraries otherwise.
|
|
522
|
+
- `drain` Emitted when the internal buffer empties, and it is
|
|
523
|
+
again suitable to `write()` into the stream.
|
|
524
|
+
- `readable` Emitted when data is buffered and ready to be read
|
|
525
|
+
by a consumer.
|
|
526
|
+
- `resume` Emitted when stream changes state from buffering to
|
|
527
|
+
flowing mode. (Ie, when `resume` is called, `pipe` is called,
|
|
528
|
+
or a `data` event listener is added.)
|
|
529
|
+
|
|
530
|
+
### Static Methods
|
|
531
|
+
|
|
532
|
+
- `Minipass.isStream(stream)` Returns `true` if the argument is a
|
|
533
|
+
stream, and false otherwise. To be considered a stream, the
|
|
534
|
+
object must be either an instance of Minipass, or an
|
|
535
|
+
EventEmitter that has either a `pipe()` method, or both
|
|
536
|
+
`write()` and `end()` methods. (Pretty much any stream in
|
|
537
|
+
node-land will return `true` for this.)
|
|
538
|
+
|
|
539
|
+
## EXAMPLES
|
|
540
|
+
|
|
541
|
+
Here are some examples of things you can do with Minipass
|
|
542
|
+
streams.
|
|
543
|
+
|
|
544
|
+
### simple "are you done yet" promise
|
|
545
|
+
|
|
546
|
+
```js
|
|
547
|
+
mp.promise().then(
|
|
548
|
+
() => {
|
|
549
|
+
// stream is finished
|
|
550
|
+
},
|
|
551
|
+
er => {
|
|
552
|
+
// stream emitted an error
|
|
553
|
+
}
|
|
554
|
+
)
|
|
555
|
+
```
|
|
556
|
+
|
|
557
|
+
### collecting
|
|
558
|
+
|
|
559
|
+
```js
|
|
560
|
+
mp.collect().then(all => {
|
|
561
|
+
// all is an array of all the data emitted
|
|
562
|
+
// encoding is supported in this case, so
|
|
563
|
+
// so the result will be a collection of strings if
|
|
564
|
+
// an encoding is specified, or buffers/objects if not.
|
|
565
|
+
//
|
|
566
|
+
// In an async function, you may do
|
|
567
|
+
// const data = await stream.collect()
|
|
568
|
+
})
|
|
569
|
+
```
|
|
570
|
+
|
|
571
|
+
### collecting into a single blob
|
|
572
|
+
|
|
573
|
+
This is a bit slower because it concatenates the data into one
|
|
574
|
+
chunk for you, but if you're going to do it yourself anyway, it's
|
|
575
|
+
convenient this way:
|
|
576
|
+
|
|
577
|
+
```js
|
|
578
|
+
mp.concat().then(onebigchunk => {
|
|
579
|
+
// onebigchunk is a string if the stream
|
|
580
|
+
// had an encoding set, or a buffer otherwise.
|
|
581
|
+
})
|
|
582
|
+
```
|
|
583
|
+
|
|
584
|
+
### iteration
|
|
585
|
+
|
|
586
|
+
You can iterate over streams synchronously or asynchronously in
|
|
587
|
+
platforms that support it.
|
|
588
|
+
|
|
589
|
+
Synchronous iteration will end when the currently available data
|
|
590
|
+
is consumed, even if the `end` event has not been reached. In
|
|
591
|
+
string and buffer mode, the data is concatenated, so unless
|
|
592
|
+
multiple writes are occurring in the same tick as the `read()`,
|
|
593
|
+
sync iteration loops will generally only have a single iteration.
|
|
594
|
+
|
|
595
|
+
To consume chunks in this way exactly as they have been written,
|
|
596
|
+
with no flattening, create the stream with the `{ objectMode:
|
|
597
|
+
true }` option.
|
|
598
|
+
|
|
599
|
+
```js
|
|
600
|
+
const mp = new Minipass({ objectMode: true })
|
|
601
|
+
mp.write('a')
|
|
602
|
+
mp.write('b')
|
|
603
|
+
for (let letter of mp) {
|
|
604
|
+
console.log(letter) // a, b
|
|
605
|
+
}
|
|
606
|
+
mp.write('c')
|
|
607
|
+
mp.write('d')
|
|
608
|
+
for (let letter of mp) {
|
|
609
|
+
console.log(letter) // c, d
|
|
610
|
+
}
|
|
611
|
+
mp.write('e')
|
|
612
|
+
mp.end()
|
|
613
|
+
for (let letter of mp) {
|
|
614
|
+
console.log(letter) // e
|
|
615
|
+
}
|
|
616
|
+
for (let letter of mp) {
|
|
617
|
+
console.log(letter) // nothing
|
|
618
|
+
}
|
|
619
|
+
```
|
|
620
|
+
|
|
621
|
+
Asynchronous iteration will continue until the end event is reached,
|
|
622
|
+
consuming all of the data.
|
|
623
|
+
|
|
624
|
+
```js
|
|
625
|
+
const mp = new Minipass({ encoding: 'utf8' })
|
|
626
|
+
|
|
627
|
+
// some source of some data
|
|
628
|
+
let i = 5
|
|
629
|
+
const inter = setInterval(() => {
|
|
630
|
+
if (i-- > 0) mp.write(Buffer.from('foo\n', 'utf8'))
|
|
631
|
+
else {
|
|
632
|
+
mp.end()
|
|
633
|
+
clearInterval(inter)
|
|
634
|
+
}
|
|
635
|
+
}, 100)
|
|
636
|
+
|
|
637
|
+
// consume the data with asynchronous iteration
|
|
638
|
+
async function consume() {
|
|
639
|
+
for await (let chunk of mp) {
|
|
640
|
+
console.log(chunk)
|
|
641
|
+
}
|
|
642
|
+
return 'ok'
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
consume().then(res => console.log(res))
|
|
646
|
+
// logs `foo\n` 5 times, and then `ok`
|
|
647
|
+
```
|
|
648
|
+
|
|
649
|
+
### subclass that `console.log()`s everything written into it
|
|
650
|
+
|
|
651
|
+
```js
|
|
652
|
+
class Logger extends Minipass {
|
|
653
|
+
write(chunk, encoding, callback) {
|
|
654
|
+
console.log('WRITE', chunk, encoding)
|
|
655
|
+
return super.write(chunk, encoding, callback)
|
|
656
|
+
}
|
|
657
|
+
end(chunk, encoding, callback) {
|
|
658
|
+
console.log('END', chunk, encoding)
|
|
659
|
+
return super.end(chunk, encoding, callback)
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
someSource.pipe(new Logger()).pipe(someDest)
|
|
664
|
+
```
|
|
665
|
+
|
|
666
|
+
### same thing, but using an inline anonymous class
|
|
667
|
+
|
|
668
|
+
```js
|
|
669
|
+
// js classes are fun
|
|
670
|
+
someSource
|
|
671
|
+
.pipe(
|
|
672
|
+
new (class extends Minipass {
|
|
673
|
+
emit(ev, ...data) {
|
|
674
|
+
// let's also log events, because debugging some weird thing
|
|
675
|
+
console.log('EMIT', ev)
|
|
676
|
+
return super.emit(ev, ...data)
|
|
677
|
+
}
|
|
678
|
+
write(chunk, encoding, callback) {
|
|
679
|
+
console.log('WRITE', chunk, encoding)
|
|
680
|
+
return super.write(chunk, encoding, callback)
|
|
681
|
+
}
|
|
682
|
+
end(chunk, encoding, callback) {
|
|
683
|
+
console.log('END', chunk, encoding)
|
|
684
|
+
return super.end(chunk, encoding, callback)
|
|
685
|
+
}
|
|
686
|
+
})()
|
|
687
|
+
)
|
|
688
|
+
.pipe(someDest)
|
|
689
|
+
```
|
|
690
|
+
|
|
691
|
+
### subclass that defers 'end' for some reason
|
|
692
|
+
|
|
693
|
+
```js
|
|
694
|
+
class SlowEnd extends Minipass {
|
|
695
|
+
emit(ev, ...args) {
|
|
696
|
+
if (ev === 'end') {
|
|
697
|
+
console.log('going to end, hold on a sec')
|
|
698
|
+
setTimeout(() => {
|
|
699
|
+
console.log('ok, ready to end now')
|
|
700
|
+
super.emit('end', ...args)
|
|
701
|
+
}, 100)
|
|
702
|
+
} else {
|
|
703
|
+
return super.emit(ev, ...args)
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
```
|
|
708
|
+
|
|
709
|
+
### transform that creates newline-delimited JSON
|
|
710
|
+
|
|
711
|
+
```js
|
|
712
|
+
class NDJSONEncode extends Minipass {
|
|
713
|
+
write(obj, cb) {
|
|
714
|
+
try {
|
|
715
|
+
// JSON.stringify can throw, emit an error on that
|
|
716
|
+
return super.write(JSON.stringify(obj) + '\n', 'utf8', cb)
|
|
717
|
+
} catch (er) {
|
|
718
|
+
this.emit('error', er)
|
|
719
|
+
}
|
|
720
|
+
}
|
|
721
|
+
end(obj, cb) {
|
|
722
|
+
if (typeof obj === 'function') {
|
|
723
|
+
cb = obj
|
|
724
|
+
obj = undefined
|
|
725
|
+
}
|
|
726
|
+
if (obj !== undefined) {
|
|
727
|
+
this.write(obj)
|
|
728
|
+
}
|
|
729
|
+
return super.end(cb)
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
```
|
|
733
|
+
|
|
734
|
+
### transform that parses newline-delimited JSON
|
|
735
|
+
|
|
736
|
+
```js
|
|
737
|
+
class NDJSONDecode extends Minipass {
|
|
738
|
+
constructor (options) {
|
|
739
|
+
// always be in object mode, as far as Minipass is concerned
|
|
740
|
+
super({ objectMode: true })
|
|
741
|
+
this._jsonBuffer = ''
|
|
742
|
+
}
|
|
743
|
+
write (chunk, encoding, cb) {
|
|
744
|
+
if (typeof chunk === 'string' &&
|
|
745
|
+
typeof encoding === 'string' &&
|
|
746
|
+
encoding !== 'utf8') {
|
|
747
|
+
chunk = Buffer.from(chunk, encoding).toString()
|
|
748
|
+
} else if (Buffer.isBuffer(chunk)) {
|
|
749
|
+
chunk = chunk.toString()
|
|
750
|
+
}
|
|
751
|
+
if (typeof encoding === 'function') {
|
|
752
|
+
cb = encoding
|
|
753
|
+
}
|
|
754
|
+
const jsonData = (this._jsonBuffer + chunk).split('\n')
|
|
755
|
+
this._jsonBuffer = jsonData.pop()
|
|
756
|
+
for (let i = 0; i < jsonData.length; i++) {
|
|
757
|
+
try {
|
|
758
|
+
// JSON.parse can throw, emit an error on that
|
|
759
|
+
super.write(JSON.parse(jsonData[i]))
|
|
760
|
+
} catch (er) {
|
|
761
|
+
this.emit('error', er)
|
|
762
|
+
continue
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
if (cb)
|
|
766
|
+
cb()
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
```
|