@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
package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/util.js
CHANGED
|
@@ -10,6 +10,7 @@ const getAllMatches = function(string, regex) {
|
|
|
10
10
|
let match = regex.exec(string);
|
|
11
11
|
while (match) {
|
|
12
12
|
const allmatches = [];
|
|
13
|
+
allmatches.startIndex = regex.lastIndex - match[0].length;
|
|
13
14
|
const len = match.length;
|
|
14
15
|
for (let index = 0; index < len; index++) {
|
|
15
16
|
allmatches.push(match[index]);
|
|
@@ -66,42 +67,6 @@ exports.getValue = function(v) {
|
|
|
66
67
|
// const fakeCall = function(a) {return a;};
|
|
67
68
|
// const fakeCallNoReturn = function() {};
|
|
68
69
|
|
|
69
|
-
exports.buildOptions = function(options, defaultOptions, props) {
|
|
70
|
-
var newOptions = {};
|
|
71
|
-
if (!options) {
|
|
72
|
-
return defaultOptions; //if there are not options
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
for (let i = 0; i < props.length; i++) {
|
|
76
|
-
if (options[props[i]] !== undefined) {
|
|
77
|
-
newOptions[props[i]] = options[props[i]];
|
|
78
|
-
} else {
|
|
79
|
-
newOptions[props[i]] = defaultOptions[props[i]];
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
return newOptions;
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Check if a tag name should be treated as array
|
|
87
|
-
*
|
|
88
|
-
* @param tagName the node tagname
|
|
89
|
-
* @param arrayMode the array mode option
|
|
90
|
-
* @param parentTagName the parent tag name
|
|
91
|
-
* @returns {boolean} true if node should be parsed as array
|
|
92
|
-
*/
|
|
93
|
-
exports.isTagNameInArrayMode = function (tagName, arrayMode, parentTagName) {
|
|
94
|
-
if (arrayMode === false) {
|
|
95
|
-
return false;
|
|
96
|
-
} else if (arrayMode instanceof RegExp) {
|
|
97
|
-
return arrayMode.test(tagName);
|
|
98
|
-
} else if (typeof arrayMode === 'function') {
|
|
99
|
-
return !!arrayMode(tagName, parentTagName);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
return arrayMode === "strict";
|
|
103
|
-
}
|
|
104
|
-
|
|
105
70
|
exports.isName = isName;
|
|
106
71
|
exports.getAllMatches = getAllMatches;
|
|
107
72
|
exports.nameRegexp = nameRegexp;
|
package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/validator.js
CHANGED
|
@@ -4,13 +4,12 @@ const util = require('./util');
|
|
|
4
4
|
|
|
5
5
|
const defaultOptions = {
|
|
6
6
|
allowBooleanAttributes: false, //A tag can have attributes without any value
|
|
7
|
+
unpairedTags: []
|
|
7
8
|
};
|
|
8
9
|
|
|
9
|
-
const props = ['allowBooleanAttributes'];
|
|
10
|
-
|
|
11
10
|
//const tagsPattern = new RegExp("<\\/?([\\w:\\-_\.]+)\\s*\/?>","g");
|
|
12
11
|
exports.validate = function (xmlData, options) {
|
|
13
|
-
options =
|
|
12
|
+
options = Object.assign({}, defaultOptions, options);
|
|
14
13
|
|
|
15
14
|
//xmlData = xmlData.replace(/(\r\n|\n|\r)/gm,"");//make it single line
|
|
16
15
|
//xmlData = xmlData.replace(/(^\s*<\?xml.*?\?>)/g,"");//Remove XML starting tag
|
|
@@ -25,7 +24,7 @@ exports.validate = function (xmlData, options) {
|
|
|
25
24
|
// check for byte order mark (BOM)
|
|
26
25
|
xmlData = xmlData.substr(1);
|
|
27
26
|
}
|
|
28
|
-
|
|
27
|
+
|
|
29
28
|
for (let i = 0; i < xmlData.length; i++) {
|
|
30
29
|
|
|
31
30
|
if (xmlData[i] === '<' && xmlData[i+1] === '?') {
|
|
@@ -35,7 +34,7 @@ exports.validate = function (xmlData, options) {
|
|
|
35
34
|
}else if (xmlData[i] === '<') {
|
|
36
35
|
//starting of tag
|
|
37
36
|
//read until you reach to '>' avoiding any '>' in attribute value
|
|
38
|
-
|
|
37
|
+
let tagStartPos = i;
|
|
39
38
|
i++;
|
|
40
39
|
|
|
41
40
|
if (xmlData[i] === '!') {
|
|
@@ -71,7 +70,7 @@ exports.validate = function (xmlData, options) {
|
|
|
71
70
|
if (!validateTagName(tagName)) {
|
|
72
71
|
let msg;
|
|
73
72
|
if (tagName.trim().length === 0) {
|
|
74
|
-
msg = "
|
|
73
|
+
msg = "Invalid space after '<'.";
|
|
75
74
|
} else {
|
|
76
75
|
msg = "Tag '"+tagName+"' is an invalid name.";
|
|
77
76
|
}
|
|
@@ -87,6 +86,7 @@ exports.validate = function (xmlData, options) {
|
|
|
87
86
|
|
|
88
87
|
if (attrStr[attrStr.length - 1] === '/') {
|
|
89
88
|
//self closing tag
|
|
89
|
+
const attrStrStart = i - attrStr.length;
|
|
90
90
|
attrStr = attrStr.substring(0, attrStr.length - 1);
|
|
91
91
|
const isValid = validateAttributeString(attrStr, options);
|
|
92
92
|
if (isValid === true) {
|
|
@@ -96,17 +96,20 @@ exports.validate = function (xmlData, options) {
|
|
|
96
96
|
//the result from the nested function returns the position of the error within the attribute
|
|
97
97
|
//in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute
|
|
98
98
|
//this gives us the absolute index in the entire xml, which we can use to find the line at last
|
|
99
|
-
return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData,
|
|
99
|
+
return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, attrStrStart + isValid.err.line));
|
|
100
100
|
}
|
|
101
101
|
} else if (closingTag) {
|
|
102
102
|
if (!result.tagClosed) {
|
|
103
103
|
return getErrorObject('InvalidTag', "Closing tag '"+tagName+"' doesn't have proper closing.", getLineNumberForPosition(xmlData, i));
|
|
104
104
|
} else if (attrStr.trim().length > 0) {
|
|
105
|
-
return getErrorObject('InvalidTag', "Closing tag '"+tagName+"' can't have attributes or invalid starting.", getLineNumberForPosition(xmlData,
|
|
105
|
+
return getErrorObject('InvalidTag', "Closing tag '"+tagName+"' can't have attributes or invalid starting.", getLineNumberForPosition(xmlData, tagStartPos));
|
|
106
106
|
} else {
|
|
107
107
|
const otg = tags.pop();
|
|
108
|
-
if (tagName !== otg) {
|
|
109
|
-
|
|
108
|
+
if (tagName !== otg.tagName) {
|
|
109
|
+
let openPos = getLineNumberForPosition(xmlData, otg.tagStartPos);
|
|
110
|
+
return getErrorObject('InvalidTag',
|
|
111
|
+
"Expected closing tag '"+otg.tagName+"' (opened in line "+openPos.line+", col "+openPos.col+") instead of closing tag '"+tagName+"'.",
|
|
112
|
+
getLineNumberForPosition(xmlData, tagStartPos));
|
|
110
113
|
}
|
|
111
114
|
|
|
112
115
|
//when there are no more tags, we reached the root level.
|
|
@@ -126,8 +129,10 @@ exports.validate = function (xmlData, options) {
|
|
|
126
129
|
//if the root level has been reached before ...
|
|
127
130
|
if (reachedRoot === true) {
|
|
128
131
|
return getErrorObject('InvalidXml', 'Multiple possible root nodes found.', getLineNumberForPosition(xmlData, i));
|
|
132
|
+
} else if(options.unpairedTags.indexOf(tagName) !== -1){
|
|
133
|
+
//don't push into stack
|
|
129
134
|
} else {
|
|
130
|
-
tags.push(tagName);
|
|
135
|
+
tags.push({tagName, tagStartPos});
|
|
131
136
|
}
|
|
132
137
|
tagFound = true;
|
|
133
138
|
}
|
|
@@ -152,6 +157,10 @@ exports.validate = function (xmlData, options) {
|
|
|
152
157
|
if (afterAmp == -1)
|
|
153
158
|
return getErrorObject('InvalidChar', "char '&' is not expected.", getLineNumberForPosition(xmlData, i));
|
|
154
159
|
i = afterAmp;
|
|
160
|
+
}else{
|
|
161
|
+
if (reachedRoot === true && !isWhiteSpace(xmlData[i])) {
|
|
162
|
+
return getErrorObject('InvalidXml', "Extra text at the end", getLineNumberForPosition(xmlData, i));
|
|
163
|
+
}
|
|
155
164
|
}
|
|
156
165
|
} //end of reading tag text value
|
|
157
166
|
if (xmlData[i] === '<') {
|
|
@@ -159,7 +168,7 @@ exports.validate = function (xmlData, options) {
|
|
|
159
168
|
}
|
|
160
169
|
}
|
|
161
170
|
} else {
|
|
162
|
-
if (
|
|
171
|
+
if ( isWhiteSpace(xmlData[i])) {
|
|
163
172
|
continue;
|
|
164
173
|
}
|
|
165
174
|
return getErrorObject('InvalidChar', "char '"+xmlData[i]+"' is not expected.", getLineNumberForPosition(xmlData, i));
|
|
@@ -168,24 +177,31 @@ exports.validate = function (xmlData, options) {
|
|
|
168
177
|
|
|
169
178
|
if (!tagFound) {
|
|
170
179
|
return getErrorObject('InvalidXml', 'Start tag expected.', 1);
|
|
171
|
-
}
|
|
172
|
-
|
|
180
|
+
}else if (tags.length == 1) {
|
|
181
|
+
return getErrorObject('InvalidTag', "Unclosed tag '"+tags[0].tagName+"'.", getLineNumberForPosition(xmlData, tags[0].tagStartPos));
|
|
182
|
+
}else if (tags.length > 0) {
|
|
183
|
+
return getErrorObject('InvalidXml', "Invalid '"+
|
|
184
|
+
JSON.stringify(tags.map(t => t.tagName), null, 4).replace(/\r?\n/g, '')+
|
|
185
|
+
"' found.", {line: 1, col: 1});
|
|
173
186
|
}
|
|
174
187
|
|
|
175
188
|
return true;
|
|
176
189
|
};
|
|
177
190
|
|
|
191
|
+
function isWhiteSpace(char){
|
|
192
|
+
return char === ' ' || char === '\t' || char === '\n' || char === '\r';
|
|
193
|
+
}
|
|
178
194
|
/**
|
|
179
195
|
* Read Processing insstructions and skip
|
|
180
196
|
* @param {*} xmlData
|
|
181
197
|
* @param {*} i
|
|
182
198
|
*/
|
|
183
199
|
function readPI(xmlData, i) {
|
|
184
|
-
|
|
200
|
+
const start = i;
|
|
185
201
|
for (; i < xmlData.length; i++) {
|
|
186
202
|
if (xmlData[i] == '?' || xmlData[i] == ' ') {
|
|
187
203
|
//tagname
|
|
188
|
-
|
|
204
|
+
const tagname = xmlData.substr(start, i - start);
|
|
189
205
|
if (i > 5 && tagname === 'xml') {
|
|
190
206
|
return getErrorObject('InvalidXml', 'XML declaration allowed only at the start of the document.', getLineNumberForPosition(xmlData, i));
|
|
191
207
|
} else if (xmlData[i] == '?' && xmlData[i + 1] == '>') {
|
|
@@ -251,8 +267,8 @@ function readCommentAndCDATA(xmlData, i) {
|
|
|
251
267
|
return i;
|
|
252
268
|
}
|
|
253
269
|
|
|
254
|
-
|
|
255
|
-
|
|
270
|
+
const doubleQuote = '"';
|
|
271
|
+
const singleQuote = "'";
|
|
256
272
|
|
|
257
273
|
/**
|
|
258
274
|
* Keep reading xmlData until '<' is found outside the attribute value.
|
|
@@ -269,7 +285,6 @@ function readAttributeStr(xmlData, i) {
|
|
|
269
285
|
startChar = xmlData[i];
|
|
270
286
|
} else if (startChar !== xmlData[i]) {
|
|
271
287
|
//if vaue is enclosed with double quote then single quotes are allowed inside the value and vice versa
|
|
272
|
-
continue;
|
|
273
288
|
} else {
|
|
274
289
|
startChar = '';
|
|
275
290
|
}
|
|
@@ -310,23 +325,25 @@ function validateAttributeString(attrStr, options) {
|
|
|
310
325
|
for (let i = 0; i < matches.length; i++) {
|
|
311
326
|
if (matches[i][1].length === 0) {
|
|
312
327
|
//nospace before attribute name: a="sd"b="saf"
|
|
313
|
-
return getErrorObject('InvalidAttr', "Attribute '"+matches[i][2]+"' has no space in starting.", getPositionFromMatch(
|
|
328
|
+
return getErrorObject('InvalidAttr', "Attribute '"+matches[i][2]+"' has no space in starting.", getPositionFromMatch(matches[i]))
|
|
329
|
+
} else if (matches[i][3] !== undefined && matches[i][4] === undefined) {
|
|
330
|
+
return getErrorObject('InvalidAttr', "Attribute '"+matches[i][2]+"' is without value.", getPositionFromMatch(matches[i]));
|
|
314
331
|
} else if (matches[i][3] === undefined && !options.allowBooleanAttributes) {
|
|
315
332
|
//independent attribute: ab
|
|
316
|
-
return getErrorObject('InvalidAttr', "boolean attribute '"+matches[i][2]+"' is not allowed.", getPositionFromMatch(
|
|
333
|
+
return getErrorObject('InvalidAttr', "boolean attribute '"+matches[i][2]+"' is not allowed.", getPositionFromMatch(matches[i]));
|
|
317
334
|
}
|
|
318
335
|
/* else if(matches[i][6] === undefined){//attribute without value: ab=
|
|
319
336
|
return { err: { code:"InvalidAttr",msg:"attribute " + matches[i][2] + " has no value assigned."}};
|
|
320
337
|
} */
|
|
321
338
|
const attrName = matches[i][2];
|
|
322
339
|
if (!validateAttrName(attrName)) {
|
|
323
|
-
return getErrorObject('InvalidAttr', "Attribute '"+attrName+"' is an invalid name.", getPositionFromMatch(
|
|
340
|
+
return getErrorObject('InvalidAttr', "Attribute '"+attrName+"' is an invalid name.", getPositionFromMatch(matches[i]));
|
|
324
341
|
}
|
|
325
342
|
if (!attrNames.hasOwnProperty(attrName)) {
|
|
326
343
|
//check for duplicate attribute.
|
|
327
344
|
attrNames[attrName] = 1;
|
|
328
345
|
} else {
|
|
329
|
-
return getErrorObject('InvalidAttr', "Attribute '"+attrName+"' is repeated.", getPositionFromMatch(
|
|
346
|
+
return getErrorObject('InvalidAttr', "Attribute '"+attrName+"' is repeated.", getPositionFromMatch(matches[i]));
|
|
330
347
|
}
|
|
331
348
|
}
|
|
332
349
|
|
|
@@ -373,7 +390,8 @@ function getErrorObject(code, message, lineNumber) {
|
|
|
373
390
|
err: {
|
|
374
391
|
code: code,
|
|
375
392
|
msg: message,
|
|
376
|
-
line: lineNumber,
|
|
393
|
+
line: lineNumber.line || lineNumber,
|
|
394
|
+
col: lineNumber.col,
|
|
377
395
|
},
|
|
378
396
|
};
|
|
379
397
|
}
|
|
@@ -390,11 +408,16 @@ function validateTagName(tagname) {
|
|
|
390
408
|
|
|
391
409
|
//this function returns the line number for the character at the given index
|
|
392
410
|
function getLineNumberForPosition(xmlData, index) {
|
|
393
|
-
|
|
394
|
-
return
|
|
411
|
+
const lines = xmlData.substring(0, index).split(/\r?\n/);
|
|
412
|
+
return {
|
|
413
|
+
line: lines.length,
|
|
414
|
+
|
|
415
|
+
// column number is last line's length + 1, because column numbering starts at 1:
|
|
416
|
+
col: lines[lines.length - 1].length + 1
|
|
417
|
+
};
|
|
395
418
|
}
|
|
396
419
|
|
|
397
|
-
//this function returns the position of the
|
|
398
|
-
function getPositionFromMatch(
|
|
399
|
-
return
|
|
420
|
+
//this function returns the position of the first character of match within attrStr
|
|
421
|
+
function getPositionFromMatch(match) {
|
|
422
|
+
return match.startIndex + match[1].length;
|
|
400
423
|
}
|
|
@@ -31,7 +31,8 @@ const defaultOptions = {
|
|
|
31
31
|
],
|
|
32
32
|
processEntities: true,
|
|
33
33
|
stopNodes: [],
|
|
34
|
-
transformTagName: false,
|
|
34
|
+
// transformTagName: false,
|
|
35
|
+
// transformAttributeName: false,
|
|
35
36
|
};
|
|
36
37
|
|
|
37
38
|
function Builder(options) {
|
|
@@ -58,20 +59,6 @@ function Builder(options) {
|
|
|
58
59
|
this.tagEndChar = '>';
|
|
59
60
|
this.newLine = '';
|
|
60
61
|
}
|
|
61
|
-
|
|
62
|
-
if (this.options.suppressEmptyNode) {
|
|
63
|
-
this.buildTextNode = buildEmptyTextNode;
|
|
64
|
-
this.buildObjNode = buildEmptyObjNode;
|
|
65
|
-
} else {
|
|
66
|
-
this.buildTextNode = buildTextValNode;
|
|
67
|
-
this.buildObjNode = buildObjectNode;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
this.buildTextValNode = buildTextValNode;
|
|
71
|
-
this.buildObjectNode = buildObjectNode;
|
|
72
|
-
|
|
73
|
-
this.replaceEntitiesValue = replaceEntitiesValue;
|
|
74
|
-
this.buildAttrPairStr = buildAttrPairStr;
|
|
75
62
|
}
|
|
76
63
|
|
|
77
64
|
Builder.prototype.build = function(jObj) {
|
|
@@ -98,7 +85,7 @@ Builder.prototype.j2x = function(jObj, level) {
|
|
|
98
85
|
else val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;
|
|
99
86
|
// val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;
|
|
100
87
|
} else if (jObj[key] instanceof Date) {
|
|
101
|
-
val += this.
|
|
88
|
+
val += this.buildTextValNode(jObj[key], key, '', level);
|
|
102
89
|
} else if (typeof jObj[key] !== 'object') {
|
|
103
90
|
//premitive type
|
|
104
91
|
const attr = this.isAttribute(key);
|
|
@@ -110,7 +97,7 @@ Builder.prototype.j2x = function(jObj, level) {
|
|
|
110
97
|
let newval = this.options.tagValueProcessor(key, '' + jObj[key]);
|
|
111
98
|
val += this.replaceEntitiesValue(newval);
|
|
112
99
|
} else {
|
|
113
|
-
val += this.
|
|
100
|
+
val += this.buildTextValNode(jObj[key], key, '', level);
|
|
114
101
|
}
|
|
115
102
|
}
|
|
116
103
|
} else if (Array.isArray(jObj[key])) {
|
|
@@ -127,7 +114,7 @@ Builder.prototype.j2x = function(jObj, level) {
|
|
|
127
114
|
} else if (typeof item === 'object') {
|
|
128
115
|
val += this.processTextOrObjNode(item, key, level)
|
|
129
116
|
} else {
|
|
130
|
-
val += this.
|
|
117
|
+
val += this.buildTextValNode(item, key, '', level);
|
|
131
118
|
}
|
|
132
119
|
}
|
|
133
120
|
} else {
|
|
@@ -146,7 +133,7 @@ Builder.prototype.j2x = function(jObj, level) {
|
|
|
146
133
|
return {attrStr: attrStr, val: val};
|
|
147
134
|
};
|
|
148
135
|
|
|
149
|
-
function
|
|
136
|
+
Builder.prototype.buildAttrPairStr = function(attrName, val){
|
|
150
137
|
val = this.options.attributeValueProcessor(attrName, '' + val);
|
|
151
138
|
val = this.replaceEntitiesValue(val);
|
|
152
139
|
if (this.options.suppressBooleanAttributes && val === "true") {
|
|
@@ -157,31 +144,51 @@ function buildAttrPairStr(attrName, val){
|
|
|
157
144
|
function processTextOrObjNode (object, key, level) {
|
|
158
145
|
const result = this.j2x(object, level + 1);
|
|
159
146
|
if (object[this.options.textNodeName] !== undefined && Object.keys(object).length === 1) {
|
|
160
|
-
return this.
|
|
147
|
+
return this.buildTextValNode(object[this.options.textNodeName], key, result.attrStr, level);
|
|
161
148
|
} else {
|
|
162
|
-
return this.
|
|
149
|
+
return this.buildObjectNode(result.val, key, result.attrStr, level);
|
|
163
150
|
}
|
|
164
151
|
}
|
|
165
152
|
|
|
166
|
-
function
|
|
167
|
-
|
|
168
|
-
|
|
153
|
+
Builder.prototype.buildObjectNode = function(val, key, attrStr, level) {
|
|
154
|
+
if(val === ""){
|
|
155
|
+
if(key[0] === "?") return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar;
|
|
156
|
+
else {
|
|
157
|
+
return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar;
|
|
158
|
+
}
|
|
159
|
+
}else{
|
|
160
|
+
|
|
161
|
+
let tagEndExp = '</' + key + this.tagEndChar;
|
|
162
|
+
let piClosingChar = "";
|
|
163
|
+
|
|
164
|
+
if(key[0] === "?") {
|
|
165
|
+
piClosingChar = "?";
|
|
166
|
+
tagEndExp = "";
|
|
167
|
+
}
|
|
169
168
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
169
|
+
if (attrStr && val.indexOf('<') === -1) {
|
|
170
|
+
return ( this.indentate(level) + '<' + key + attrStr + piClosingChar + '>' + val + tagEndExp );
|
|
171
|
+
} else if (this.options.commentPropName !== false && key === this.options.commentPropName && piClosingChar.length === 0) {
|
|
172
|
+
return this.indentate(level) + `<!--${val}-->` + this.newLine;
|
|
173
|
+
}else {
|
|
174
|
+
return (
|
|
175
|
+
this.indentate(level) + '<' + key + attrStr + piClosingChar + this.tagEndChar +
|
|
176
|
+
val +
|
|
177
|
+
this.indentate(level) + tagEndExp );
|
|
178
|
+
}
|
|
173
179
|
}
|
|
180
|
+
}
|
|
174
181
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
}else {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
this.indentate(level) + tagEndExp );
|
|
182
|
+
Builder.prototype.closeTag = function(key){
|
|
183
|
+
let closeTag = "";
|
|
184
|
+
if(this.options.unpairedTags.indexOf(key) !== -1){ //unpaired
|
|
185
|
+
if(!this.options.suppressUnpairedNode) closeTag = "/"
|
|
186
|
+
}else if(this.options.suppressEmptyNode){ //empty
|
|
187
|
+
closeTag = "/";
|
|
188
|
+
}else{
|
|
189
|
+
closeTag = `></${key}`
|
|
184
190
|
}
|
|
191
|
+
return closeTag;
|
|
185
192
|
}
|
|
186
193
|
|
|
187
194
|
function buildEmptyObjNode(val, key, attrStr, level) {
|
|
@@ -189,36 +196,35 @@ function buildEmptyObjNode(val, key, attrStr, level) {
|
|
|
189
196
|
return this.buildObjectNode(val, key, attrStr, level);
|
|
190
197
|
} else {
|
|
191
198
|
if(key[0] === "?") return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar;
|
|
192
|
-
else
|
|
199
|
+
else {
|
|
200
|
+
return this.indentate(level) + '<' + key + attrStr + '/' + this.tagEndChar;
|
|
201
|
+
// return this.buildTagStr(level,key, attrStr);
|
|
202
|
+
}
|
|
193
203
|
}
|
|
194
204
|
}
|
|
195
205
|
|
|
196
|
-
function
|
|
206
|
+
Builder.prototype.buildTextValNode = function(val, key, attrStr, level) {
|
|
197
207
|
if (this.options.cdataPropName !== false && key === this.options.cdataPropName) {
|
|
198
208
|
return this.indentate(level) + `<![CDATA[${val}]]>` + this.newLine;
|
|
199
209
|
}else if (this.options.commentPropName !== false && key === this.options.commentPropName) {
|
|
200
210
|
return this.indentate(level) + `<!--${val}-->` + this.newLine;
|
|
211
|
+
}else if(key[0] === "?") {//PI tag
|
|
212
|
+
return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar;
|
|
201
213
|
}else{
|
|
202
214
|
let textValue = this.options.tagValueProcessor(key, val);
|
|
203
215
|
textValue = this.replaceEntitiesValue(textValue);
|
|
204
216
|
|
|
205
|
-
if( textValue === ''
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
return this.indentate(level) + '<' + key + "/" + this.tagEndChar;
|
|
210
|
-
}
|
|
211
|
-
} else{
|
|
212
|
-
return (
|
|
213
|
-
this.indentate(level) + '<' + key + attrStr + '>' +
|
|
217
|
+
if( textValue === ''){
|
|
218
|
+
return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar;
|
|
219
|
+
}else{
|
|
220
|
+
return this.indentate(level) + '<' + key + attrStr + '>' +
|
|
214
221
|
textValue +
|
|
215
|
-
'</' + key + this.tagEndChar
|
|
222
|
+
'</' + key + this.tagEndChar;
|
|
216
223
|
}
|
|
217
|
-
|
|
218
224
|
}
|
|
219
225
|
}
|
|
220
226
|
|
|
221
|
-
function
|
|
227
|
+
Builder.prototype.replaceEntitiesValue = function(textValue){
|
|
222
228
|
if(textValue && textValue.length > 0 && this.options.processEntities){
|
|
223
229
|
for (let i=0; i<this.options.entities.length; i++) {
|
|
224
230
|
const entity = this.options.entities[i];
|
|
@@ -228,21 +234,6 @@ function replaceEntitiesValue(textValue){
|
|
|
228
234
|
return textValue;
|
|
229
235
|
}
|
|
230
236
|
|
|
231
|
-
function buildEmptyTextNode(val, key, attrStr, level) {
|
|
232
|
-
if( val === '' && this.options.unpairedTags.indexOf(key) !== -1){ //unpaired
|
|
233
|
-
if(this.options.suppressUnpairedNode){
|
|
234
|
-
return this.indentate(level) + '<' + key + this.tagEndChar;
|
|
235
|
-
}else{
|
|
236
|
-
return this.indentate(level) + '<' + key + "/" + this.tagEndChar;
|
|
237
|
-
}
|
|
238
|
-
}else if (val !== '') { //empty
|
|
239
|
-
return this.buildTextValNode(val, key, attrStr, level);
|
|
240
|
-
} else {
|
|
241
|
-
if(key[0] === "?") return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar; //PI tag
|
|
242
|
-
else return this.indentate(level) + '<' + key + attrStr + '/' + this.tagEndChar; //normal
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
237
|
function indentate(level) {
|
|
247
238
|
return this.options.indentBy.repeat(level);
|
|
248
239
|
}
|
|
@@ -6,104 +6,126 @@ const EOL = "\n";
|
|
|
6
6
|
* @param {any} options
|
|
7
7
|
* @returns
|
|
8
8
|
*/
|
|
9
|
-
function toXml(jArray, options){
|
|
10
|
-
|
|
9
|
+
function toXml(jArray, options) {
|
|
10
|
+
let indentation = "";
|
|
11
|
+
if (options.format && options.indentBy.length > 0) {
|
|
12
|
+
indentation = EOL;
|
|
13
|
+
}
|
|
14
|
+
return arrToStr(jArray, options, "", indentation);
|
|
11
15
|
}
|
|
12
16
|
|
|
13
|
-
function arrToStr(arr, options, jPath,
|
|
17
|
+
function arrToStr(arr, options, jPath, indentation) {
|
|
14
18
|
let xmlStr = "";
|
|
15
|
-
|
|
16
|
-
let indentation = "";
|
|
17
|
-
if(options.format && options.indentBy.length > 0){//TODO: this logic can be avoided for each call
|
|
18
|
-
indentation = EOL + "" + options.indentBy.repeat(level);
|
|
19
|
-
}
|
|
19
|
+
let isPreviousElementTag = false;
|
|
20
20
|
|
|
21
21
|
for (let i = 0; i < arr.length; i++) {
|
|
22
22
|
const tagObj = arr[i];
|
|
23
23
|
const tagName = propName(tagObj);
|
|
24
24
|
let newJPath = "";
|
|
25
|
-
if(jPath.length === 0) newJPath = tagName
|
|
25
|
+
if (jPath.length === 0) newJPath = tagName
|
|
26
26
|
else newJPath = `${jPath}.${tagName}`;
|
|
27
27
|
|
|
28
|
-
if(tagName === options.textNodeName){
|
|
28
|
+
if (tagName === options.textNodeName) {
|
|
29
29
|
let tagText = tagObj[tagName];
|
|
30
|
-
if(!isStopNode(newJPath, options)){
|
|
31
|
-
tagText = options.tagValueProcessor(
|
|
30
|
+
if (!isStopNode(newJPath, options)) {
|
|
31
|
+
tagText = options.tagValueProcessor(tagName, tagText);
|
|
32
32
|
tagText = replaceEntitiesValue(tagText, options);
|
|
33
33
|
}
|
|
34
|
-
|
|
34
|
+
if (isPreviousElementTag) {
|
|
35
|
+
xmlStr += indentation;
|
|
36
|
+
}
|
|
37
|
+
xmlStr += tagText;
|
|
38
|
+
isPreviousElementTag = false;
|
|
35
39
|
continue;
|
|
36
|
-
}else if(
|
|
37
|
-
|
|
40
|
+
} else if (tagName === options.cdataPropName) {
|
|
41
|
+
if (isPreviousElementTag) {
|
|
42
|
+
xmlStr += indentation;
|
|
43
|
+
}
|
|
44
|
+
xmlStr += `<![CDATA[${tagObj[tagName][0][options.textNodeName]}]]>`;
|
|
45
|
+
isPreviousElementTag = false;
|
|
38
46
|
continue;
|
|
39
|
-
}else if(
|
|
47
|
+
} else if (tagName === options.commentPropName) {
|
|
40
48
|
xmlStr += indentation + `<!--${tagObj[tagName][0][options.textNodeName]}-->`;
|
|
49
|
+
isPreviousElementTag = true;
|
|
41
50
|
continue;
|
|
42
|
-
}else if(
|
|
51
|
+
} else if (tagName[0] === "?") {
|
|
43
52
|
const attStr = attr_to_str(tagObj[":@"], options);
|
|
44
53
|
const tempInd = tagName === "?xml" ? "" : indentation;
|
|
45
54
|
let piTextNodeName = tagObj[tagName][0][options.textNodeName];
|
|
46
55
|
piTextNodeName = piTextNodeName.length !== 0 ? " " + piTextNodeName : ""; //remove extra spacing
|
|
47
56
|
xmlStr += tempInd + `<${tagName}${piTextNodeName}${attStr}?>`;
|
|
57
|
+
isPreviousElementTag = true;
|
|
48
58
|
continue;
|
|
49
59
|
}
|
|
60
|
+
let newIdentation = indentation;
|
|
61
|
+
if (newIdentation !== "") {
|
|
62
|
+
newIdentation += options.indentBy;
|
|
63
|
+
}
|
|
50
64
|
const attStr = attr_to_str(tagObj[":@"], options);
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
if(options.unpairedTags.indexOf(tagName) !== -1){
|
|
54
|
-
if(options.suppressUnpairedNode)
|
|
55
|
-
else xmlStr += tagStart + "/>";
|
|
56
|
-
}else if
|
|
57
|
-
xmlStr += tagStart + "/>";
|
|
58
|
-
}else{
|
|
59
|
-
|
|
60
|
-
|
|
65
|
+
const tagStart = indentation + `<${tagName}${attStr}`;
|
|
66
|
+
const tagValue = arrToStr(tagObj[tagName], options, newJPath, newIdentation);
|
|
67
|
+
if (options.unpairedTags.indexOf(tagName) !== -1) {
|
|
68
|
+
if (options.suppressUnpairedNode) xmlStr += tagStart + ">";
|
|
69
|
+
else xmlStr += tagStart + "/>";
|
|
70
|
+
} else if ((!tagValue || tagValue.length === 0) && options.suppressEmptyNode) {
|
|
71
|
+
xmlStr += tagStart + "/>";
|
|
72
|
+
} else if (tagValue && tagValue.endsWith(">")) {
|
|
73
|
+
xmlStr += tagStart + `>${tagValue}${indentation}</${tagName}>`;
|
|
74
|
+
} else {
|
|
75
|
+
xmlStr += tagStart + ">";
|
|
76
|
+
if (tagValue && indentation !== "" && (tagValue.includes("/>") || tagValue.includes("</"))) {
|
|
77
|
+
xmlStr += indentation + options.indentBy + tagValue + indentation;
|
|
78
|
+
} else {
|
|
79
|
+
xmlStr += tagValue;
|
|
80
|
+
}
|
|
81
|
+
xmlStr += `</${tagName}>`;
|
|
61
82
|
}
|
|
83
|
+
isPreviousElementTag = true;
|
|
62
84
|
}
|
|
63
|
-
|
|
85
|
+
|
|
64
86
|
return xmlStr;
|
|
65
87
|
}
|
|
66
88
|
|
|
67
|
-
function propName(obj){
|
|
89
|
+
function propName(obj) {
|
|
68
90
|
const keys = Object.keys(obj);
|
|
69
91
|
for (let i = 0; i < keys.length; i++) {
|
|
70
|
-
|
|
71
|
-
|
|
92
|
+
const key = keys[i];
|
|
93
|
+
if (key !== ":@") return key;
|
|
72
94
|
}
|
|
73
|
-
|
|
95
|
+
}
|
|
74
96
|
|
|
75
|
-
function attr_to_str(attrMap, options){
|
|
97
|
+
function attr_to_str(attrMap, options) {
|
|
76
98
|
let attrStr = "";
|
|
77
|
-
if(attrMap && !options.ignoreAttributes){
|
|
78
|
-
for (let attr in attrMap){
|
|
99
|
+
if (attrMap && !options.ignoreAttributes) {
|
|
100
|
+
for (let attr in attrMap) {
|
|
79
101
|
let attrVal = options.attributeValueProcessor(attr, attrMap[attr]);
|
|
80
102
|
attrVal = replaceEntitiesValue(attrVal, options);
|
|
81
|
-
if(attrVal === true && options.suppressBooleanAttributes){
|
|
82
|
-
attrStr+= ` ${attr.substr(options.attributeNamePrefix.length)}`;
|
|
83
|
-
}else{
|
|
84
|
-
attrStr+= ` ${attr.substr(options.attributeNamePrefix.length)}="${attrVal}"`;
|
|
103
|
+
if (attrVal === true && options.suppressBooleanAttributes) {
|
|
104
|
+
attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}`;
|
|
105
|
+
} else {
|
|
106
|
+
attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}="${attrVal}"`;
|
|
85
107
|
}
|
|
86
108
|
}
|
|
87
109
|
}
|
|
88
110
|
return attrStr;
|
|
89
111
|
}
|
|
90
112
|
|
|
91
|
-
function isStopNode(jPath, options){
|
|
92
|
-
jPath = jPath.substr(0,jPath.length - options.textNodeName.length - 1);
|
|
113
|
+
function isStopNode(jPath, options) {
|
|
114
|
+
jPath = jPath.substr(0, jPath.length - options.textNodeName.length - 1);
|
|
93
115
|
let tagName = jPath.substr(jPath.lastIndexOf(".") + 1);
|
|
94
|
-
for(let index in options.stopNodes){
|
|
95
|
-
if(options.stopNodes[index] === jPath || options.stopNodes[index] === "*."+tagName) return true;
|
|
116
|
+
for (let index in options.stopNodes) {
|
|
117
|
+
if (options.stopNodes[index] === jPath || options.stopNodes[index] === "*." + tagName) return true;
|
|
96
118
|
}
|
|
97
119
|
return false;
|
|
98
120
|
}
|
|
99
121
|
|
|
100
|
-
function replaceEntitiesValue(textValue, options){
|
|
101
|
-
if(textValue && textValue.length > 0 && options.processEntities){
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
122
|
+
function replaceEntitiesValue(textValue, options) {
|
|
123
|
+
if (textValue && textValue.length > 0 && options.processEntities) {
|
|
124
|
+
for (let i = 0; i < options.entities.length; i++) {
|
|
125
|
+
const entity = options.entities[i];
|
|
126
|
+
textValue = textValue.replace(entity.regex, entity.val);
|
|
127
|
+
}
|
|
106
128
|
}
|
|
107
129
|
return textValue;
|
|
108
|
-
|
|
109
|
-
module.exports = toXml;
|
|
130
|
+
}
|
|
131
|
+
module.exports = toXml;
|