@ndlib/ndlib-cdk2 1.0.10 → 1.0.12

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.
Files changed (712) hide show
  1. package/README.md +3 -29
  2. package/lib/edge-lambdas/index.d.ts +0 -1
  3. package/lib/edge-lambdas/index.js +0 -1
  4. package/lib/index.d.ts +0 -1
  5. package/lib/index.js +0 -1
  6. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/.package-lock.json +770 -543
  7. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/ie11-detection/CHANGELOG.md +15 -23
  8. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.d.ts +5 -5
  9. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/ie11-detection/package.json +3 -2
  10. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +41 -19
  11. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/README.md +11 -0
  12. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.d.ts +4 -3
  13. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js +7 -3
  14. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js.map +1 -1
  15. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.d.ts +4 -2
  16. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js +20 -16
  17. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js.map +1 -1
  18. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.d.ts +5 -3
  19. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js +20 -24
  20. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js.map +1 -1
  21. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/package.json +8 -6
  22. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +9 -4
  23. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/src/ie11Sha256.ts +26 -20
  24. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-browser/src/webCryptoSha256.ts +27 -37
  25. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +37 -22
  26. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/README.md +11 -0
  27. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/build/jsSha256.d.ts +6 -4
  28. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/build/jsSha256.js +25 -35
  29. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/build/jsSha256.js.map +1 -1
  30. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/build/knownHashes.fixture.js +153 -153
  31. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/build/knownHashes.fixture.js.map +1 -1
  32. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/package.json +5 -4
  33. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts +32 -48
  34. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +15 -23
  35. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-crypto/supports-web-crypto/package.json +3 -2
  36. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/abort-controller/package.json +28 -16
  37. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/README.md +320 -3
  38. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/pagination/ListActionExecutionsPaginator.js +1 -8
  39. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/pagination/ListActionTypesPaginator.js +1 -8
  40. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/pagination/ListPipelineExecutionsPaginator.js +1 -8
  41. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/pagination/ListPipelinesPaginator.js +1 -8
  42. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/pagination/ListTagsForResourcePaginator.js +1 -8
  43. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/pagination/ListWebhooksPaginator.js +1 -8
  44. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/pagination/ListActionExecutionsPaginator.js +1 -8
  45. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/pagination/ListActionTypesPaginator.js +1 -8
  46. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/pagination/ListPipelineExecutionsPaginator.js +1 -8
  47. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/pagination/ListPipelinesPaginator.js +1 -8
  48. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/pagination/ListTagsForResourcePaginator.js +1 -8
  49. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/pagination/ListWebhooksPaginator.js +1 -8
  50. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/CodePipelineClient.d.ts +15 -15
  51. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/AcknowledgeJobCommand.d.ts +16 -0
  52. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/AcknowledgeThirdPartyJobCommand.d.ts +19 -0
  53. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/CreateCustomActionTypeCommand.d.ts +23 -0
  54. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/CreatePipelineCommand.d.ts +38 -0
  55. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeleteCustomActionTypeCommand.d.ts +13 -0
  56. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeletePipelineCommand.d.ts +13 -0
  57. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeleteWebhookCommand.d.ts +13 -0
  58. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +14 -0
  59. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DisableStageTransitionCommand.d.ts +16 -0
  60. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/EnableStageTransitionCommand.d.ts +16 -0
  61. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetActionTypeCommand.d.ts +13 -0
  62. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetJobDetailsCommand.d.ts +13 -0
  63. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineCommand.d.ts +17 -0
  64. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineExecutionCommand.d.ts +17 -0
  65. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineStateCommand.d.ts +13 -0
  66. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetThirdPartyJobDetailsCommand.d.ts +19 -0
  67. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListActionExecutionsCommand.d.ts +21 -0
  68. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListActionTypesCommand.d.ts +14 -0
  69. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListPipelineExecutionsCommand.d.ts +17 -0
  70. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListPipelinesCommand.d.ts +14 -0
  71. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListTagsForResourceCommand.d.ts +20 -0
  72. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListWebhooksCommand.d.ts +14 -0
  73. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PollForJobsCommand.d.ts +13 -0
  74. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PollForThirdPartyJobsCommand.d.ts +13 -0
  75. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutActionRevisionCommand.d.ts +19 -0
  76. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutApprovalResultCommand.d.ts +25 -0
  77. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutJobFailureResultCommand.d.ts +16 -0
  78. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutJobSuccessResultCommand.d.ts +19 -0
  79. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutThirdPartyJobFailureResultCommand.d.ts +19 -0
  80. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutThirdPartyJobSuccessResultCommand.d.ts +19 -0
  81. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutWebhookCommand.d.ts +32 -0
  82. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/RegisterWebhookWithThirdPartyCommand.d.ts +14 -0
  83. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/RetryStageExecutionCommand.d.ts +29 -0
  84. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/StartPipelineExecutionCommand.d.ts +17 -0
  85. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/StopPipelineExecutionCommand.d.ts +28 -0
  86. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/TagResourceCommand.d.ts +25 -0
  87. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UntagResourceCommand.d.ts +22 -0
  88. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UpdateActionTypeCommand.d.ts +16 -0
  89. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UpdatePipelineCommand.d.ts +26 -0
  90. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/pagination/Interfaces.d.ts +1 -2
  91. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.browser.d.ts +1 -1
  92. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.d.ts +1 -1
  93. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.native.d.ts +4 -4
  94. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/CodePipelineClient.d.ts +4 -4
  95. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  96. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  97. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  98. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
  99. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/package.json +67 -61
  100. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/README.md +1135 -23
  101. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/ruleset.js +3 -3
  102. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeActivationsPaginator.js +1 -8
  103. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAssociationExecutionTargetsPaginator.js +1 -8
  104. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAssociationExecutionsPaginator.js +1 -8
  105. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAutomationExecutionsPaginator.js +1 -8
  106. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAutomationStepExecutionsPaginator.js +1 -8
  107. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAvailablePatchesPaginator.js +1 -8
  108. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeEffectiveInstanceAssociationsPaginator.js +1 -8
  109. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.js +1 -8
  110. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstanceAssociationsStatusPaginator.js +1 -8
  111. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstanceInformationPaginator.js +1 -8
  112. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.js +1 -8
  113. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchStatesPaginator.js +1 -8
  114. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchesPaginator.js +1 -8
  115. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInventoryDeletionsPaginator.js +1 -8
  116. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.js +1 -8
  117. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.js +1 -8
  118. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionsPaginator.js +1 -8
  119. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowSchedulePaginator.js +1 -8
  120. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowTargetsPaginator.js +1 -8
  121. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowTasksPaginator.js +1 -8
  122. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowsForTargetPaginator.js +1 -8
  123. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowsPaginator.js +1 -8
  124. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeOpsItemsPaginator.js +1 -8
  125. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeParametersPaginator.js +1 -8
  126. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchBaselinesPaginator.js +1 -8
  127. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchGroupsPaginator.js +1 -8
  128. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchPropertiesPaginator.js +1 -8
  129. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeSessionsPaginator.js +1 -8
  130. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetInventoryPaginator.js +1 -8
  131. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetInventorySchemaPaginator.js +1 -8
  132. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetOpsSummaryPaginator.js +1 -8
  133. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetParameterHistoryPaginator.js +1 -8
  134. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetParametersByPathPaginator.js +1 -8
  135. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetResourcePoliciesPaginator.js +1 -8
  136. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListAssociationVersionsPaginator.js +1 -8
  137. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListAssociationsPaginator.js +1 -8
  138. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListCommandInvocationsPaginator.js +1 -8
  139. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListCommandsPaginator.js +1 -8
  140. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListComplianceItemsPaginator.js +1 -8
  141. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListComplianceSummariesPaginator.js +1 -8
  142. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListDocumentVersionsPaginator.js +1 -8
  143. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListDocumentsPaginator.js +1 -8
  144. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsItemEventsPaginator.js +1 -8
  145. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsItemRelatedItemsPaginator.js +1 -8
  146. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsMetadataPaginator.js +1 -8
  147. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListResourceComplianceSummariesPaginator.js +1 -8
  148. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListResourceDataSyncPaginator.js +1 -8
  149. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/ruleset.js +3 -3
  150. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeActivationsPaginator.js +1 -8
  151. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAssociationExecutionTargetsPaginator.js +1 -8
  152. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAssociationExecutionsPaginator.js +1 -8
  153. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAutomationExecutionsPaginator.js +1 -8
  154. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAutomationStepExecutionsPaginator.js +1 -8
  155. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAvailablePatchesPaginator.js +1 -8
  156. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeEffectiveInstanceAssociationsPaginator.js +1 -8
  157. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.js +1 -8
  158. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstanceAssociationsStatusPaginator.js +1 -8
  159. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstanceInformationPaginator.js +1 -8
  160. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.js +1 -8
  161. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchStatesPaginator.js +1 -8
  162. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchesPaginator.js +1 -8
  163. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInventoryDeletionsPaginator.js +1 -8
  164. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.js +1 -8
  165. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.js +1 -8
  166. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionsPaginator.js +1 -8
  167. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowSchedulePaginator.js +1 -8
  168. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowTargetsPaginator.js +1 -8
  169. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowTasksPaginator.js +1 -8
  170. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowsForTargetPaginator.js +1 -8
  171. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowsPaginator.js +1 -8
  172. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeOpsItemsPaginator.js +1 -8
  173. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeParametersPaginator.js +1 -8
  174. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchBaselinesPaginator.js +1 -8
  175. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchGroupsPaginator.js +1 -8
  176. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchPropertiesPaginator.js +1 -8
  177. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeSessionsPaginator.js +1 -8
  178. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetInventoryPaginator.js +1 -8
  179. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetInventorySchemaPaginator.js +1 -8
  180. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetOpsSummaryPaginator.js +1 -8
  181. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetParameterHistoryPaginator.js +1 -8
  182. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetParametersByPathPaginator.js +1 -8
  183. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetResourcePoliciesPaginator.js +1 -8
  184. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListAssociationVersionsPaginator.js +1 -8
  185. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListAssociationsPaginator.js +1 -8
  186. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListCommandInvocationsPaginator.js +1 -8
  187. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListCommandsPaginator.js +1 -8
  188. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListComplianceItemsPaginator.js +1 -8
  189. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListComplianceSummariesPaginator.js +1 -8
  190. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListDocumentVersionsPaginator.js +1 -8
  191. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListDocumentsPaginator.js +1 -8
  192. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsItemEventsPaginator.js +1 -8
  193. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsItemRelatedItemsPaginator.js +1 -8
  194. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsMetadataPaginator.js +1 -8
  195. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListResourceComplianceSummariesPaginator.js +1 -8
  196. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListResourceDataSyncPaginator.js +1 -8
  197. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +9 -9
  198. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +15 -15
  199. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/AddTagsToResourceCommand.d.ts +24 -0
  200. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts +24 -0
  201. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelCommandCommand.d.ts +36 -0
  202. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelMaintenanceWindowExecutionCommand.d.ts +16 -0
  203. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateActivationCommand.d.ts +14 -0
  204. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationBatchCommand.d.ts +63 -0
  205. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationCommand.d.ts +66 -0
  206. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +25 -0
  207. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateMaintenanceWindowCommand.d.ts +20 -0
  208. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsItemCommand.d.ts +26 -0
  209. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsMetadataCommand.d.ts +24 -0
  210. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreatePatchBaselineCommand.d.ts +20 -0
  211. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateResourceDataSyncCommand.d.ts +19 -0
  212. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteActivationCommand.d.ts +21 -0
  213. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteAssociationCommand.d.ts +39 -0
  214. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteDocumentCommand.d.ts +20 -0
  215. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteInventoryCommand.d.ts +23 -0
  216. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteMaintenanceWindowCommand.d.ts +10 -0
  217. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsMetadataCommand.d.ts +16 -0
  218. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParameterCommand.d.ts +13 -0
  219. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParametersCommand.d.ts +10 -0
  220. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeletePatchBaselineCommand.d.ts +14 -0
  221. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourceDataSyncCommand.d.ts +16 -0
  222. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourcePolicyCommand.d.ts +19 -0
  223. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterManagedInstanceCommand.d.ts +30 -0
  224. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts +13 -0
  225. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts +20 -0
  226. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts +16 -0
  227. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeActivationsCommand.d.ts +16 -0
  228. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationCommand.d.ts +41 -0
  229. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionTargetsCommand.d.ts +19 -0
  230. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionsCommand.d.ts +16 -0
  231. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +19 -0
  232. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts +23 -0
  233. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAvailablePatchesCommand.d.ts +10 -0
  234. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentCommand.d.ts +16 -0
  235. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentPermissionCommand.d.ts +24 -0
  236. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +33 -0
  237. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts +23 -0
  238. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts +33 -0
  239. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceInformationCommand.d.ts +39 -0
  240. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts +13 -0
  241. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +16 -0
  242. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts +36 -0
  243. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInventoryDeletionsCommand.d.ts +17 -0
  244. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts +16 -0
  245. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts +16 -0
  246. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts +10 -0
  247. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +16 -0
  248. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +16 -0
  249. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts +16 -0
  250. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts +10 -0
  251. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +10 -0
  252. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeOpsItemsCommand.d.ts +10 -0
  253. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeParametersCommand.d.ts +23 -0
  254. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchBaselinesCommand.d.ts +10 -0
  255. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupStateCommand.d.ts +13 -0
  256. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupsCommand.d.ts +10 -0
  257. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchPropertiesCommand.d.ts +10 -0
  258. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeSessionsCommand.d.ts +16 -0
  259. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts +21 -0
  260. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts +14 -0
  261. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCalendarStateCommand.d.ts +20 -0
  262. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCommandInvocationCommand.d.ts +40 -0
  263. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetConnectionStatusCommand.d.ts +10 -0
  264. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDefaultPatchBaselineCommand.d.ts +10 -0
  265. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +20 -0
  266. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDocumentCommand.d.ts +16 -0
  267. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventoryCommand.d.ts +30 -0
  268. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventorySchemaCommand.d.ts +16 -0
  269. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowCommand.d.ts +16 -0
  270. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionCommand.d.ts +16 -0
  271. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts +16 -0
  272. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts +16 -0
  273. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts +16 -0
  274. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsItemCommand.d.ts +18 -0
  275. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsMetadataCommand.d.ts +16 -0
  276. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsSummaryCommand.d.ts +27 -0
  277. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterCommand.d.ts +20 -0
  278. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterHistoryCommand.d.ts +19 -0
  279. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts +26 -0
  280. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersCommand.d.ts +13 -0
  281. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineCommand.d.ts +19 -0
  282. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineForPatchGroupCommand.d.ts +10 -0
  283. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetResourcePoliciesCommand.d.ts +14 -0
  284. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetServiceSettingCommand.d.ts +14 -0
  285. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/LabelParameterVersionCommand.d.ts +23 -0
  286. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationVersionsCommand.d.ts +16 -0
  287. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationsCommand.d.ts +13 -0
  288. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandInvocationsCommand.d.ts +39 -0
  289. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandsCommand.d.ts +39 -0
  290. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceItemsCommand.d.ts +23 -0
  291. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceSummariesCommand.d.ts +16 -0
  292. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts +19 -0
  293. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentVersionsCommand.d.ts +16 -0
  294. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentsCommand.d.ts +16 -0
  295. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListInventoryEntriesCommand.d.ts +39 -0
  296. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemEventsCommand.d.ts +21 -0
  297. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemRelatedItemsCommand.d.ts +14 -0
  298. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsMetadataCommand.d.ts +13 -0
  299. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +16 -0
  300. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceDataSyncCommand.d.ts +16 -0
  301. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListTagsForResourceCommand.d.ts +17 -0
  302. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ModifyDocumentPermissionCommand.d.ts +31 -3
  303. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutComplianceItemsCommand.d.ts +30 -0
  304. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutInventoryCommand.d.ts +65 -0
  305. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutParameterCommand.d.ts +74 -0
  306. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutResourcePolicyCommand.d.ts +24 -0
  307. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterDefaultPatchBaselineCommand.d.ts +19 -0
  308. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +29 -0
  309. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +26 -0
  310. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +30 -0
  311. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +20 -0
  312. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts +17 -0
  313. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResumeSessionCommand.d.ts +16 -0
  314. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts +21 -0
  315. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendCommandCommand.d.ts +62 -0
  316. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAssociationsOnceCommand.d.ts +13 -0
  317. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts +33 -0
  318. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +33 -0
  319. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartSessionCommand.d.ts +20 -0
  320. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StopAutomationExecutionCommand.d.ts +17 -0
  321. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/TerminateSessionCommand.d.ts +10 -0
  322. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UnlabelParameterVersionCommand.d.ts +20 -0
  323. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationCommand.d.ts +57 -6
  324. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationStatusCommand.d.ts +42 -0
  325. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentCommand.d.ts +41 -0
  326. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentDefaultVersionCommand.d.ts +19 -0
  327. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +20 -0
  328. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowCommand.d.ts +16 -0
  329. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTargetCommand.d.ts +16 -0
  330. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTaskCommand.d.ts +16 -0
  331. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts +30 -0
  332. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsItemCommand.d.ts +29 -0
  333. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsMetadataCommand.d.ts +24 -0
  334. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdatePatchBaselineCommand.d.ts +16 -0
  335. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateResourceDataSyncCommand.d.ts +20 -0
  336. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateServiceSettingCommand.d.ts +17 -0
  337. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  338. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +15 -11
  339. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +33 -22
  340. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +5 -0
  341. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/pagination/Interfaces.d.ts +1 -2
  342. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +1 -1
  343. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -1
  344. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +4 -4
  345. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +4 -4
  346. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  347. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  348. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  349. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  350. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
  351. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/package.json +68 -62
  352. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/README.md +50 -10
  353. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountRolesPaginator.js +1 -8
  354. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/pagination/ListAccountsPaginator.js +1 -8
  355. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +1 -8
  356. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +1 -8
  357. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +15 -15
  358. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +22 -0
  359. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +22 -0
  360. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +22 -0
  361. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +19 -0
  362. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +1 -2
  363. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -1
  364. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -1
  365. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +4 -4
  366. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +4 -4
  367. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  368. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  369. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  370. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
  371. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/package.json +64 -58
  372. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/README.md +27 -0
  373. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +15 -15
  374. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +48 -0
  375. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +22 -0
  376. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +28 -0
  377. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -1
  378. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -1
  379. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +4 -4
  380. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +4 -4
  381. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  382. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  383. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
  384. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/package.json +32 -37
  385. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/README.md +75 -6
  386. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +15 -15
  387. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +80 -0
  388. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +77 -0
  389. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +84 -0
  390. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +28 -0
  391. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +7 -0
  392. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +55 -0
  393. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +67 -0
  394. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +37 -0
  395. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -1
  396. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -1
  397. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +4 -4
  398. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +4 -4
  399. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  400. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  401. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
  402. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/package.json +70 -63
  403. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/config-resolver/package.json +32 -19
  404. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-env/README.md +4 -15
  405. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-env/package.json +28 -16
  406. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-imds/README.md +4 -28
  407. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-imds/package.json +30 -16
  408. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/README.md +4 -120
  409. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/package.json +34 -20
  410. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/README.md +16 -4
  411. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/package.json +35 -23
  412. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-process/README.md +4 -56
  413. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-process/package.json +29 -18
  414. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-sso/README.md +4 -90
  415. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-sso/package.json +31 -19
  416. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/README.md +4 -132
  417. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/package.json +36 -16
  418. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/fetch-http-handler/package.json +29 -16
  419. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/hash-node/package.json +29 -16
  420. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/invalid-dependency/package.json +27 -15
  421. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/is-array-buffer/package.json +27 -15
  422. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-content-length/package.json +30 -18
  423. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-endpoint/package.json +12 -9
  424. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +4 -1
  425. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js +4 -1
  426. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-host-header/package.json +29 -17
  427. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js +24 -11
  428. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js +23 -11
  429. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-logger/package.json +27 -16
  430. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-recursion-detection/package.json +7 -4
  431. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts +1 -1
  432. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-retry/dist-types/StandardRetryStrategy.d.ts +1 -1
  433. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-retry/package.json +32 -18
  434. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-sdk-sts/package.json +33 -21
  435. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-serde/package.json +28 -16
  436. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-signing/package.json +33 -20
  437. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-stack/package.json +26 -14
  438. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/user-agent-middleware.js +5 -1
  439. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +5 -1
  440. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-user-agent/package.json +29 -16
  441. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/node-config-provider/package.json +29 -17
  442. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/node-http-handler/package.json +30 -24
  443. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/property-provider/package.json +28 -16
  444. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-cjs/Field.js +1 -3
  445. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-cjs/Fields.js +3 -3
  446. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-cjs/index.js +3 -0
  447. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-es/Field.js +1 -3
  448. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-es/Fields.js +3 -3
  449. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-es/index.js +3 -0
  450. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-types/index.d.ts +3 -0
  451. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/index.d.ts +3 -0
  452. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/protocol-http/package.json +28 -16
  453. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/querystring-builder/package.json +30 -18
  454. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/querystring-parser/package.json +28 -16
  455. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/service-error-classification/package.json +25 -13
  456. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/README.md +3 -0
  457. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js +11 -2
  458. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-cjs/slurpFile.js +2 -2
  459. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js +11 -2
  460. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-es/slurpFile.js +2 -2
  461. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/loadSharedConfigFiles.d.ts +5 -0
  462. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/slurpFile.d.ts +5 -1
  463. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/ts3.4/loadSharedConfigFiles.d.ts +1 -0
  464. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/dist-types/ts3.4/slurpFile.d.ts +8 -1
  465. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/shared-ini-file-loader/package.json +27 -14
  466. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/signature-v4/package.json +34 -21
  467. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-cjs/default-error-handler.js +1 -1
  468. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-es/default-error-handler.js +1 -1
  469. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/NoOpLogger.d.ts +3 -0
  470. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/client.d.ts +9 -0
  471. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/command.d.ts +3 -0
  472. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/constants.d.ts +3 -0
  473. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/date-utils.d.ts +26 -16
  474. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/default-error-handler.d.ts +2 -2
  475. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts +3 -1
  476. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/exceptions.d.ts +5 -0
  477. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/extended-encode-uri-component.d.ts +2 -0
  478. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/get-array-if-single-item.d.ts +2 -0
  479. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/get-value-from-text-node.d.ts +2 -0
  480. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/lazy-json.d.ts +5 -0
  481. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/object-mapping.d.ts +36 -4
  482. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/parse-utils.d.ts +73 -23
  483. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/resolve-path.d.ts +3 -0
  484. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/ser-utils.d.ts +3 -1
  485. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/dist-types/split-every.d.ts +5 -3
  486. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/smithy-client/package.json +30 -17
  487. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/package.json +9 -6
  488. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-cjs/identity/Identity.js +0 -1
  489. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-es/identity/Identity.js +0 -1
  490. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/abort.d.ts +8 -1
  491. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/auth.d.ts +9 -1
  492. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +6 -2
  493. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/client.d.ts +2 -0
  494. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/command.d.ts +3 -0
  495. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +6 -2
  496. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/crypto.d.ts +11 -0
  497. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/dns.d.ts +23 -6
  498. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/endpoint.d.ts +21 -0
  499. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/eventStream.d.ts +61 -0
  500. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/http.d.ts +24 -4
  501. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +3 -0
  502. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +6 -0
  503. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +7 -1
  504. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +6 -0
  505. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +6 -0
  506. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/logger.d.ts +7 -1
  507. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +123 -15
  508. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/pagination.d.ts +4 -0
  509. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/profile.d.ts +12 -1
  510. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/request.d.ts +3 -0
  511. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/response.d.ts +9 -0
  512. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/retry.d.ts +32 -2
  513. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/serde.d.ts +32 -7
  514. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +19 -1
  515. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/signature.d.ts +32 -4
  516. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/stream.d.ts +5 -0
  517. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/token.d.ts +6 -2
  518. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/transfer.d.ts +9 -0
  519. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/util.d.ts +28 -4
  520. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/waiter.d.ts +3 -0
  521. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/package.json +29 -12
  522. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/url-parser/package.json +28 -16
  523. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-base64/package.json +6 -3
  524. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-body-length-browser/package.json +26 -14
  525. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-body-length-node/package.json +26 -14
  526. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-buffer-from/package.json +27 -15
  527. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-config-provider/package.json +5 -2
  528. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +8 -5
  529. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-defaults-mode-node/package.json +11 -8
  530. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partition.js +16 -3
  531. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +12 -2
  532. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +30 -0
  533. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +26 -0
  534. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/package.json +6 -3
  535. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-hex-encoding/package.json +27 -15
  536. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-locate-window/package.json +26 -14
  537. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-middleware/package.json +6 -3
  538. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-retry/package.json +7 -4
  539. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-uri-escape/package.json +27 -15
  540. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-browser/package.json +27 -15
  541. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-node/package.json +37 -17
  542. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-utf8/package.json +6 -3
  543. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-utf8-browser/README.md +4 -0
  544. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-utf8-browser/package.json +23 -14
  545. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-waiter/dist-types/poller.d.ts +4 -4
  546. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-waiter/dist-types/utils/sleep.d.ts +3 -0
  547. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-waiter/dist-types/utils/validate.d.ts +3 -1
  548. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-waiter/dist-types/waiter.d.ts +14 -3
  549. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-waiter/package.json +29 -17
  550. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@types/minimatch/README.md +1 -1
  551. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@types/minimatch/index.d.ts +11 -11
  552. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@types/minimatch/package.json +4 -3
  553. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/CHANGELOG.md +21 -0
  554. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/README.md +125 -274
  555. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/package.json +18 -43
  556. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/fxp.d.ts +6 -4
  557. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/util.js +1 -36
  558. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/validator.js +52 -29
  559. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +56 -65
  560. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +73 -51
  561. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +8 -7
  562. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +3 -1
  563. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +6 -2
  564. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +2 -0
  565. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/LICENSE +1 -7
  566. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/README.md +987 -279
  567. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/glob.d.ts +328 -0
  568. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/glob.d.ts.map +1 -0
  569. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/glob.js +228 -0
  570. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/glob.js.map +1 -0
  571. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/has-magic.d.ts +14 -0
  572. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/has-magic.d.ts.map +1 -0
  573. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/has-magic.js +27 -0
  574. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/has-magic.js.map +1 -0
  575. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/ignore.d.ts +20 -0
  576. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/ignore.d.ts.map +1 -0
  577. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/ignore.js +103 -0
  578. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/ignore.js.map +1 -0
  579. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index-cjs.d.ts +75 -0
  580. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index-cjs.d.ts.map +1 -0
  581. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index-cjs.js +7 -0
  582. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index-cjs.js.map +1 -0
  583. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index.d.ts +96 -0
  584. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index.d.ts.map +1 -0
  585. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index.js +68 -0
  586. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/index.js.map +1 -0
  587. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/package.json +3 -0
  588. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/pattern.d.ts +77 -0
  589. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/pattern.d.ts.map +1 -0
  590. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/pattern.js +219 -0
  591. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/pattern.js.map +1 -0
  592. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/processor.d.ts +59 -0
  593. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/processor.d.ts.map +1 -0
  594. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/processor.js +307 -0
  595. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/processor.js.map +1 -0
  596. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/walker.d.ts +95 -0
  597. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/walker.d.ts.map +1 -0
  598. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/walker.js +370 -0
  599. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/cjs/walker.js.map +1 -0
  600. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/glob.d.ts +328 -0
  601. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/glob.d.ts.map +1 -0
  602. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/glob.js +224 -0
  603. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/glob.js.map +1 -0
  604. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/has-magic.d.ts +14 -0
  605. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/has-magic.d.ts.map +1 -0
  606. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/has-magic.js +23 -0
  607. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/has-magic.js.map +1 -0
  608. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/ignore.d.ts +20 -0
  609. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/ignore.d.ts.map +1 -0
  610. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/ignore.js +99 -0
  611. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/ignore.js.map +1 -0
  612. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/index.d.ts +96 -0
  613. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/index.d.ts.map +1 -0
  614. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/index.js +55 -0
  615. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/index.js.map +1 -0
  616. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/package.json +3 -0
  617. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/pattern.d.ts +77 -0
  618. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/pattern.d.ts.map +1 -0
  619. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/pattern.js +215 -0
  620. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/pattern.js.map +1 -0
  621. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/processor.d.ts +59 -0
  622. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/processor.d.ts.map +1 -0
  623. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/processor.js +300 -0
  624. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/processor.js.map +1 -0
  625. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/walker.d.ts +95 -0
  626. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/walker.d.ts.map +1 -0
  627. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/walker.js +361 -0
  628. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/mjs/walker.js.map +1 -0
  629. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/README.md +267 -67
  630. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts +8 -0
  631. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.d.ts.map +1 -0
  632. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js +152 -0
  633. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/brace-expressions.js.map +1 -0
  634. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts +12 -0
  635. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/escape.d.ts.map +1 -0
  636. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js +22 -0
  637. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/escape.js.map +1 -0
  638. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index-cjs.d.ts +42 -0
  639. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index-cjs.d.ts.map +1 -0
  640. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index-cjs.js +7 -0
  641. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index-cjs.js.map +1 -0
  642. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts +92 -0
  643. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index.d.ts.map +1 -0
  644. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index.js +1304 -0
  645. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/index.js.map +1 -0
  646. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/package.json +3 -0
  647. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts +17 -0
  648. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.d.ts.map +1 -0
  649. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js +24 -0
  650. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/cjs/unescape.js.map +1 -0
  651. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts +8 -0
  652. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.d.ts.map +1 -0
  653. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js +148 -0
  654. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/brace-expressions.js.map +1 -0
  655. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts +12 -0
  656. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/escape.d.ts.map +1 -0
  657. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js +18 -0
  658. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/escape.js.map +1 -0
  659. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts +92 -0
  660. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/index.d.ts.map +1 -0
  661. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/index.js +1289 -0
  662. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/index.js.map +1 -0
  663. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/package.json +3 -0
  664. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts +17 -0
  665. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.d.ts.map +1 -0
  666. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js +20 -0
  667. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/dist/mjs/unescape.js.map +1 -0
  668. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/node_modules/minimatch/package.json +65 -14
  669. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/package.json +75 -29
  670. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/LICENSE +15 -0
  671. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/README.md +1117 -0
  672. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/index.d.ts +869 -0
  673. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/index.js +1227 -0
  674. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/index.mjs +1227 -0
  675. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/package.json +96 -0
  676. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/LICENSE +15 -0
  677. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/README.md +769 -0
  678. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/index.d.ts +150 -0
  679. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/index.js +702 -0
  680. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/index.mjs +702 -0
  681. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/package.json +76 -0
  682. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/LICENSE.md +55 -0
  683. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/README.md +559 -0
  684. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/cjs/index.d.ts +1055 -0
  685. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/cjs/index.d.ts.map +1 -0
  686. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/cjs/index.js +1865 -0
  687. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/cjs/index.js.map +1 -0
  688. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/cjs/package.json +3 -0
  689. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/mjs/index.d.ts +1055 -0
  690. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/mjs/index.d.ts.map +1 -0
  691. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/mjs/index.js +1827 -0
  692. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/mjs/index.js.map +1 -0
  693. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/mjs/package.json +3 -0
  694. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/package.json +87 -0
  695. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/CopyrightNotice.txt +1 -1
  696. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/modules/index.js +10 -0
  697. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/package.json +2 -1
  698. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.d.ts +314 -14
  699. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.es6.js +59 -5
  700. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.js +69 -5
  701. package/lib/internal-lambdas/sourceWatcherLambda/src/package-lock.json +1458 -1050
  702. package/lib/internal-lambdas/sourceWatcherLambda/src/package.json +4 -4
  703. package/lib/slack-integration/slack-subscription.d.ts +3 -0
  704. package/lib/slack-integration/slack-subscription.js +7 -1
  705. package/package.json +18 -19
  706. package/lib/edge-lambdas/transclusionLambda/index.d.ts +0 -19
  707. package/lib/edge-lambdas/transclusionLambda/index.js +0 -48
  708. package/lib/edge-lambdas/transclusionLambda/src/getFromS3.d.ts +0 -3
  709. package/lib/edge-lambdas/transclusionLambda/src/getFromS3.js +0 -20
  710. package/lib/edge-lambdas/transclusionLambda/src/getFromS3.ts +0 -20
  711. package/lib/edge-lambdas/transclusionLambda/src/handler.d.ts +0 -7
  712. package/lib/edge-lambdas/transclusionLambda/src/handler.js +0 -86
@@ -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;
@@ -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 = util.buildOptions(options, defaultOptions, props);
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 = "There is an unnecessary space between tag name and backward slash '</ ..'.";
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, i - attrStr.length + isValid.err.line));
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, i));
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
- return getErrorObject('InvalidTag', "Closing tag '"+otg+"' is expected inplace of '"+tagName+"'.", getLineNumberForPosition(xmlData, i));
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 (xmlData[i] === ' ' || xmlData[i] === '\t' || xmlData[i] === '\n' || xmlData[i] === '\r') {
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
- } else if (tags.length > 0) {
172
- return getErrorObject('InvalidXml', "Invalid '"+JSON.stringify(tags, null, 4).replace(/\r?\n/g, '')+"' found.", 1);
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
- var start = i;
200
+ const start = i;
185
201
  for (; i < xmlData.length; i++) {
186
202
  if (xmlData[i] == '?' || xmlData[i] == ' ') {
187
203
  //tagname
188
- var tagname = xmlData.substr(start, i - start);
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
- var doubleQuote = '"';
255
- var singleQuote = "'";
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(attrStr, matches[i][0]))
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(attrStr, matches[i][0]));
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(attrStr, matches[i][0]));
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(attrStr, matches[i][0]));
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
- var lines = xmlData.substring(0, index).split(/\r?\n/);
394
- return lines.length;
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 last character of match within attrStr
398
- function getPositionFromMatch(attrStr, match) {
399
- return attrStr.indexOf(match) + match.length;
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.buildTextNode(jObj[key], key, '', level);
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.buildTextNode(jObj[key], key, '', level);
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.buildTextNode(item, key, '', level);
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 buildAttrPairStr(attrName, val){
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.buildTextNode(object[this.options.textNodeName], key, result.attrStr, level);
147
+ return this.buildTextValNode(object[this.options.textNodeName], key, result.attrStr, level);
161
148
  } else {
162
- return this.buildObjNode(result.val, key, result.attrStr, level);
149
+ return this.buildObjectNode(result.val, key, result.attrStr, level);
163
150
  }
164
151
  }
165
152
 
166
- function buildObjectNode(val, key, attrStr, level) {
167
- let tagEndExp = '</' + key + this.tagEndChar;
168
- let piClosingChar = "";
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
- if(key[0] === "?") {
171
- piClosingChar = "?";
172
- tagEndExp = "";
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
- if (attrStr && val.indexOf('<') === -1) {
176
- return ( this.indentate(level) + '<' + key + attrStr + piClosingChar + '>' + val + tagEndExp );
177
- } else if (this.options.commentPropName !== false && key === this.options.commentPropName && piClosingChar.length === 0) {
178
- return this.indentate(level) + `<!--${val}-->` + this.newLine;
179
- }else {
180
- return (
181
- this.indentate(level) + '<' + key + attrStr + piClosingChar + this.tagEndChar +
182
- val +
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 return this.indentate(level) + '<' + key + attrStr + '/' + this.tagEndChar;
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 buildTextValNode(val, key, attrStr, level) {
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 === '' && this.options.unpairedTags.indexOf(key) !== -1){ //unpaired
206
- if(this.options.suppressUnpairedNode){
207
- return this.indentate(level) + '<' + key + this.tagEndChar;
208
- }else{
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 replaceEntitiesValue(textValue){
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
- return arrToStr( jArray, options, "", 0);
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, level){
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( tagName, tagText);
30
+ if (!isStopNode(newJPath, options)) {
31
+ tagText = options.tagValueProcessor(tagName, tagText);
32
32
  tagText = replaceEntitiesValue(tagText, options);
33
33
  }
34
- xmlStr += indentation + tagText;
34
+ if (isPreviousElementTag) {
35
+ xmlStr += indentation;
36
+ }
37
+ xmlStr += tagText;
38
+ isPreviousElementTag = false;
35
39
  continue;
36
- }else if( tagName === options.cdataPropName){
37
- xmlStr += indentation + `<![CDATA[${tagObj[tagName][0][options.textNodeName]}]]>`;
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( tagName === options.commentPropName){
47
+ } else if (tagName === options.commentPropName) {
40
48
  xmlStr += indentation + `<!--${tagObj[tagName][0][options.textNodeName]}-->`;
49
+ isPreviousElementTag = true;
41
50
  continue;
42
- }else if( tagName[0] === "?"){
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
- let tagStart = indentation + `<${tagName}${attStr}`;
52
- let tagValue = arrToStr(tagObj[tagName], options, newJPath, level + 1);
53
- if(options.unpairedTags.indexOf(tagName) !== -1){
54
- if(options.suppressUnpairedNode) xmlStr += tagStart + ">";
55
- else xmlStr += tagStart + "/>";
56
- }else if( (!tagValue || tagValue.length === 0) && options.suppressEmptyNode){
57
- xmlStr += tagStart + "/>";
58
- }else{
59
- //TODO: node with only text value should not parse the text value in next line
60
- xmlStr += tagStart + `>${tagValue}${indentation}</${tagName}>` ;
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
- const key = keys[i];
71
- if(key !== ":@") return key;
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
- for (let i=0; i< options.entities.length; i++) {
103
- const entity = options.entities[i];
104
- textValue = textValue.replace(entity.regex, entity.val);
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;