@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
@@ -0,0 +1,1227 @@
1
+ const perf =
2
+ typeof performance === 'object' &&
3
+ performance &&
4
+ typeof performance.now === 'function'
5
+ ? performance
6
+ : Date
7
+
8
+ const hasAbortController = typeof AbortController === 'function'
9
+
10
+ // minimal backwards-compatibility polyfill
11
+ // this doesn't have nearly all the checks and whatnot that
12
+ // actual AbortController/Signal has, but it's enough for
13
+ // our purposes, and if used properly, behaves the same.
14
+ const AC = hasAbortController
15
+ ? AbortController
16
+ : class AbortController {
17
+ constructor() {
18
+ this.signal = new AS()
19
+ }
20
+ abort(reason = new Error('This operation was aborted')) {
21
+ this.signal.reason = this.signal.reason || reason
22
+ this.signal.aborted = true
23
+ this.signal.dispatchEvent({
24
+ type: 'abort',
25
+ target: this.signal,
26
+ })
27
+ }
28
+ }
29
+
30
+ const hasAbortSignal = typeof AbortSignal === 'function'
31
+ // Some polyfills put this on the AC class, not global
32
+ const hasACAbortSignal = typeof AC.AbortSignal === 'function'
33
+ const AS = hasAbortSignal
34
+ ? AbortSignal
35
+ : hasACAbortSignal
36
+ ? AC.AbortController
37
+ : class AbortSignal {
38
+ constructor() {
39
+ this.reason = undefined
40
+ this.aborted = false
41
+ this._listeners = []
42
+ }
43
+ dispatchEvent(e) {
44
+ if (e.type === 'abort') {
45
+ this.aborted = true
46
+ this.onabort(e)
47
+ this._listeners.forEach(f => f(e), this)
48
+ }
49
+ }
50
+ onabort() {}
51
+ addEventListener(ev, fn) {
52
+ if (ev === 'abort') {
53
+ this._listeners.push(fn)
54
+ }
55
+ }
56
+ removeEventListener(ev, fn) {
57
+ if (ev === 'abort') {
58
+ this._listeners = this._listeners.filter(f => f !== fn)
59
+ }
60
+ }
61
+ }
62
+
63
+ const warned = new Set()
64
+ const deprecatedOption = (opt, instead) => {
65
+ const code = `LRU_CACHE_OPTION_${opt}`
66
+ if (shouldWarn(code)) {
67
+ warn(code, `${opt} option`, `options.${instead}`, LRUCache)
68
+ }
69
+ }
70
+ const deprecatedMethod = (method, instead) => {
71
+ const code = `LRU_CACHE_METHOD_${method}`
72
+ if (shouldWarn(code)) {
73
+ const { prototype } = LRUCache
74
+ const { get } = Object.getOwnPropertyDescriptor(prototype, method)
75
+ warn(code, `${method} method`, `cache.${instead}()`, get)
76
+ }
77
+ }
78
+ const deprecatedProperty = (field, instead) => {
79
+ const code = `LRU_CACHE_PROPERTY_${field}`
80
+ if (shouldWarn(code)) {
81
+ const { prototype } = LRUCache
82
+ const { get } = Object.getOwnPropertyDescriptor(prototype, field)
83
+ warn(code, `${field} property`, `cache.${instead}`, get)
84
+ }
85
+ }
86
+
87
+ const emitWarning = (...a) => {
88
+ typeof process === 'object' &&
89
+ process &&
90
+ typeof process.emitWarning === 'function'
91
+ ? process.emitWarning(...a)
92
+ : console.error(...a)
93
+ }
94
+
95
+ const shouldWarn = code => !warned.has(code)
96
+
97
+ const warn = (code, what, instead, fn) => {
98
+ warned.add(code)
99
+ const msg = `The ${what} is deprecated. Please use ${instead} instead.`
100
+ emitWarning(msg, 'DeprecationWarning', code, fn)
101
+ }
102
+
103
+ const isPosInt = n => n && n === Math.floor(n) && n > 0 && isFinite(n)
104
+
105
+ /* istanbul ignore next - This is a little bit ridiculous, tbh.
106
+ * The maximum array length is 2^32-1 or thereabouts on most JS impls.
107
+ * And well before that point, you're caching the entire world, I mean,
108
+ * that's ~32GB of just integers for the next/prev links, plus whatever
109
+ * else to hold that many keys and values. Just filling the memory with
110
+ * zeroes at init time is brutal when you get that big.
111
+ * But why not be complete?
112
+ * Maybe in the future, these limits will have expanded. */
113
+ const getUintArray = max =>
114
+ !isPosInt(max)
115
+ ? null
116
+ : max <= Math.pow(2, 8)
117
+ ? Uint8Array
118
+ : max <= Math.pow(2, 16)
119
+ ? Uint16Array
120
+ : max <= Math.pow(2, 32)
121
+ ? Uint32Array
122
+ : max <= Number.MAX_SAFE_INTEGER
123
+ ? ZeroArray
124
+ : null
125
+
126
+ class ZeroArray extends Array {
127
+ constructor(size) {
128
+ super(size)
129
+ this.fill(0)
130
+ }
131
+ }
132
+
133
+ class Stack {
134
+ constructor(max) {
135
+ if (max === 0) {
136
+ return []
137
+ }
138
+ const UintArray = getUintArray(max)
139
+ this.heap = new UintArray(max)
140
+ this.length = 0
141
+ }
142
+ push(n) {
143
+ this.heap[this.length++] = n
144
+ }
145
+ pop() {
146
+ return this.heap[--this.length]
147
+ }
148
+ }
149
+
150
+ class LRUCache {
151
+ constructor(options = {}) {
152
+ const {
153
+ max = 0,
154
+ ttl,
155
+ ttlResolution = 1,
156
+ ttlAutopurge,
157
+ updateAgeOnGet,
158
+ updateAgeOnHas,
159
+ allowStale,
160
+ dispose,
161
+ disposeAfter,
162
+ noDisposeOnSet,
163
+ noUpdateTTL,
164
+ maxSize = 0,
165
+ maxEntrySize = 0,
166
+ sizeCalculation,
167
+ fetchMethod,
168
+ fetchContext,
169
+ noDeleteOnFetchRejection,
170
+ noDeleteOnStaleGet,
171
+ allowStaleOnFetchRejection,
172
+ allowStaleOnFetchAbort,
173
+ ignoreFetchAbort,
174
+ } = options
175
+
176
+ // deprecated options, don't trigger a warning for getting them if
177
+ // the thing being passed in is another LRUCache we're copying.
178
+ const { length, maxAge, stale } =
179
+ options instanceof LRUCache ? {} : options
180
+
181
+ if (max !== 0 && !isPosInt(max)) {
182
+ throw new TypeError('max option must be a nonnegative integer')
183
+ }
184
+
185
+ const UintArray = max ? getUintArray(max) : Array
186
+ if (!UintArray) {
187
+ throw new Error('invalid max value: ' + max)
188
+ }
189
+
190
+ this.max = max
191
+ this.maxSize = maxSize
192
+ this.maxEntrySize = maxEntrySize || this.maxSize
193
+ this.sizeCalculation = sizeCalculation || length
194
+ if (this.sizeCalculation) {
195
+ if (!this.maxSize && !this.maxEntrySize) {
196
+ throw new TypeError(
197
+ 'cannot set sizeCalculation without setting maxSize or maxEntrySize'
198
+ )
199
+ }
200
+ if (typeof this.sizeCalculation !== 'function') {
201
+ throw new TypeError('sizeCalculation set to non-function')
202
+ }
203
+ }
204
+
205
+ this.fetchMethod = fetchMethod || null
206
+ if (this.fetchMethod && typeof this.fetchMethod !== 'function') {
207
+ throw new TypeError(
208
+ 'fetchMethod must be a function if specified'
209
+ )
210
+ }
211
+
212
+ this.fetchContext = fetchContext
213
+ if (!this.fetchMethod && fetchContext !== undefined) {
214
+ throw new TypeError(
215
+ 'cannot set fetchContext without fetchMethod'
216
+ )
217
+ }
218
+
219
+ this.keyMap = new Map()
220
+ this.keyList = new Array(max).fill(null)
221
+ this.valList = new Array(max).fill(null)
222
+ this.next = new UintArray(max)
223
+ this.prev = new UintArray(max)
224
+ this.head = 0
225
+ this.tail = 0
226
+ this.free = new Stack(max)
227
+ this.initialFill = 1
228
+ this.size = 0
229
+
230
+ if (typeof dispose === 'function') {
231
+ this.dispose = dispose
232
+ }
233
+ if (typeof disposeAfter === 'function') {
234
+ this.disposeAfter = disposeAfter
235
+ this.disposed = []
236
+ } else {
237
+ this.disposeAfter = null
238
+ this.disposed = null
239
+ }
240
+ this.noDisposeOnSet = !!noDisposeOnSet
241
+ this.noUpdateTTL = !!noUpdateTTL
242
+ this.noDeleteOnFetchRejection = !!noDeleteOnFetchRejection
243
+ this.allowStaleOnFetchRejection = !!allowStaleOnFetchRejection
244
+ this.allowStaleOnFetchAbort = !!allowStaleOnFetchAbort
245
+ this.ignoreFetchAbort = !!ignoreFetchAbort
246
+
247
+ // NB: maxEntrySize is set to maxSize if it's set
248
+ if (this.maxEntrySize !== 0) {
249
+ if (this.maxSize !== 0) {
250
+ if (!isPosInt(this.maxSize)) {
251
+ throw new TypeError(
252
+ 'maxSize must be a positive integer if specified'
253
+ )
254
+ }
255
+ }
256
+ if (!isPosInt(this.maxEntrySize)) {
257
+ throw new TypeError(
258
+ 'maxEntrySize must be a positive integer if specified'
259
+ )
260
+ }
261
+ this.initializeSizeTracking()
262
+ }
263
+
264
+ this.allowStale = !!allowStale || !!stale
265
+ this.noDeleteOnStaleGet = !!noDeleteOnStaleGet
266
+ this.updateAgeOnGet = !!updateAgeOnGet
267
+ this.updateAgeOnHas = !!updateAgeOnHas
268
+ this.ttlResolution =
269
+ isPosInt(ttlResolution) || ttlResolution === 0
270
+ ? ttlResolution
271
+ : 1
272
+ this.ttlAutopurge = !!ttlAutopurge
273
+ this.ttl = ttl || maxAge || 0
274
+ if (this.ttl) {
275
+ if (!isPosInt(this.ttl)) {
276
+ throw new TypeError(
277
+ 'ttl must be a positive integer if specified'
278
+ )
279
+ }
280
+ this.initializeTTLTracking()
281
+ }
282
+
283
+ // do not allow completely unbounded caches
284
+ if (this.max === 0 && this.ttl === 0 && this.maxSize === 0) {
285
+ throw new TypeError(
286
+ 'At least one of max, maxSize, or ttl is required'
287
+ )
288
+ }
289
+ if (!this.ttlAutopurge && !this.max && !this.maxSize) {
290
+ const code = 'LRU_CACHE_UNBOUNDED'
291
+ if (shouldWarn(code)) {
292
+ warned.add(code)
293
+ const msg =
294
+ 'TTL caching without ttlAutopurge, max, or maxSize can ' +
295
+ 'result in unbounded memory consumption.'
296
+ emitWarning(msg, 'UnboundedCacheWarning', code, LRUCache)
297
+ }
298
+ }
299
+
300
+ if (stale) {
301
+ deprecatedOption('stale', 'allowStale')
302
+ }
303
+ if (maxAge) {
304
+ deprecatedOption('maxAge', 'ttl')
305
+ }
306
+ if (length) {
307
+ deprecatedOption('length', 'sizeCalculation')
308
+ }
309
+ }
310
+
311
+ getRemainingTTL(key) {
312
+ return this.has(key, { updateAgeOnHas: false }) ? Infinity : 0
313
+ }
314
+
315
+ initializeTTLTracking() {
316
+ this.ttls = new ZeroArray(this.max)
317
+ this.starts = new ZeroArray(this.max)
318
+
319
+ this.setItemTTL = (index, ttl, start = perf.now()) => {
320
+ this.starts[index] = ttl !== 0 ? start : 0
321
+ this.ttls[index] = ttl
322
+ if (ttl !== 0 && this.ttlAutopurge) {
323
+ const t = setTimeout(() => {
324
+ if (this.isStale(index)) {
325
+ this.delete(this.keyList[index])
326
+ }
327
+ }, ttl + 1)
328
+ /* istanbul ignore else - unref() not supported on all platforms */
329
+ if (t.unref) {
330
+ t.unref()
331
+ }
332
+ }
333
+ }
334
+
335
+ this.updateItemAge = index => {
336
+ this.starts[index] = this.ttls[index] !== 0 ? perf.now() : 0
337
+ }
338
+
339
+ this.statusTTL = (status, index) => {
340
+ if (status) {
341
+ status.ttl = this.ttls[index]
342
+ status.start = this.starts[index]
343
+ status.now = cachedNow || getNow()
344
+ status.remainingTTL = status.now + status.ttl - status.start
345
+ }
346
+ }
347
+
348
+ // debounce calls to perf.now() to 1s so we're not hitting
349
+ // that costly call repeatedly.
350
+ let cachedNow = 0
351
+ const getNow = () => {
352
+ const n = perf.now()
353
+ if (this.ttlResolution > 0) {
354
+ cachedNow = n
355
+ const t = setTimeout(
356
+ () => (cachedNow = 0),
357
+ this.ttlResolution
358
+ )
359
+ /* istanbul ignore else - not available on all platforms */
360
+ if (t.unref) {
361
+ t.unref()
362
+ }
363
+ }
364
+ return n
365
+ }
366
+
367
+ this.getRemainingTTL = key => {
368
+ const index = this.keyMap.get(key)
369
+ if (index === undefined) {
370
+ return 0
371
+ }
372
+ return this.ttls[index] === 0 || this.starts[index] === 0
373
+ ? Infinity
374
+ : this.starts[index] +
375
+ this.ttls[index] -
376
+ (cachedNow || getNow())
377
+ }
378
+
379
+ this.isStale = index => {
380
+ return (
381
+ this.ttls[index] !== 0 &&
382
+ this.starts[index] !== 0 &&
383
+ (cachedNow || getNow()) - this.starts[index] >
384
+ this.ttls[index]
385
+ )
386
+ }
387
+ }
388
+ updateItemAge(_index) {}
389
+ statusTTL(_status, _index) {}
390
+ setItemTTL(_index, _ttl, _start) {}
391
+ isStale(_index) {
392
+ return false
393
+ }
394
+
395
+ initializeSizeTracking() {
396
+ this.calculatedSize = 0
397
+ this.sizes = new ZeroArray(this.max)
398
+ this.removeItemSize = index => {
399
+ this.calculatedSize -= this.sizes[index]
400
+ this.sizes[index] = 0
401
+ }
402
+ this.requireSize = (k, v, size, sizeCalculation) => {
403
+ // provisionally accept background fetches.
404
+ // actual value size will be checked when they return.
405
+ if (this.isBackgroundFetch(v)) {
406
+ return 0
407
+ }
408
+ if (!isPosInt(size)) {
409
+ if (sizeCalculation) {
410
+ if (typeof sizeCalculation !== 'function') {
411
+ throw new TypeError('sizeCalculation must be a function')
412
+ }
413
+ size = sizeCalculation(v, k)
414
+ if (!isPosInt(size)) {
415
+ throw new TypeError(
416
+ 'sizeCalculation return invalid (expect positive integer)'
417
+ )
418
+ }
419
+ } else {
420
+ throw new TypeError(
421
+ 'invalid size value (must be positive integer). ' +
422
+ 'When maxSize or maxEntrySize is used, sizeCalculation or size ' +
423
+ 'must be set.'
424
+ )
425
+ }
426
+ }
427
+ return size
428
+ }
429
+ this.addItemSize = (index, size, status) => {
430
+ this.sizes[index] = size
431
+ if (this.maxSize) {
432
+ const maxSize = this.maxSize - this.sizes[index]
433
+ while (this.calculatedSize > maxSize) {
434
+ this.evict(true)
435
+ }
436
+ }
437
+ this.calculatedSize += this.sizes[index]
438
+ if (status) {
439
+ status.entrySize = size
440
+ status.totalCalculatedSize = this.calculatedSize
441
+ }
442
+ }
443
+ }
444
+ removeItemSize(_index) {}
445
+ addItemSize(_index, _size) {}
446
+ requireSize(_k, _v, size, sizeCalculation) {
447
+ if (size || sizeCalculation) {
448
+ throw new TypeError(
449
+ 'cannot set size without setting maxSize or maxEntrySize on cache'
450
+ )
451
+ }
452
+ }
453
+
454
+ *indexes({ allowStale = this.allowStale } = {}) {
455
+ if (this.size) {
456
+ for (let i = this.tail; true; ) {
457
+ if (!this.isValidIndex(i)) {
458
+ break
459
+ }
460
+ if (allowStale || !this.isStale(i)) {
461
+ yield i
462
+ }
463
+ if (i === this.head) {
464
+ break
465
+ } else {
466
+ i = this.prev[i]
467
+ }
468
+ }
469
+ }
470
+ }
471
+
472
+ *rindexes({ allowStale = this.allowStale } = {}) {
473
+ if (this.size) {
474
+ for (let i = this.head; true; ) {
475
+ if (!this.isValidIndex(i)) {
476
+ break
477
+ }
478
+ if (allowStale || !this.isStale(i)) {
479
+ yield i
480
+ }
481
+ if (i === this.tail) {
482
+ break
483
+ } else {
484
+ i = this.next[i]
485
+ }
486
+ }
487
+ }
488
+ }
489
+
490
+ isValidIndex(index) {
491
+ return (
492
+ index !== undefined &&
493
+ this.keyMap.get(this.keyList[index]) === index
494
+ )
495
+ }
496
+
497
+ *entries() {
498
+ for (const i of this.indexes()) {
499
+ if (
500
+ this.valList[i] !== undefined &&
501
+ this.keyList[i] !== undefined &&
502
+ !this.isBackgroundFetch(this.valList[i])
503
+ ) {
504
+ yield [this.keyList[i], this.valList[i]]
505
+ }
506
+ }
507
+ }
508
+ *rentries() {
509
+ for (const i of this.rindexes()) {
510
+ if (
511
+ this.valList[i] !== undefined &&
512
+ this.keyList[i] !== undefined &&
513
+ !this.isBackgroundFetch(this.valList[i])
514
+ ) {
515
+ yield [this.keyList[i], this.valList[i]]
516
+ }
517
+ }
518
+ }
519
+
520
+ *keys() {
521
+ for (const i of this.indexes()) {
522
+ if (
523
+ this.keyList[i] !== undefined &&
524
+ !this.isBackgroundFetch(this.valList[i])
525
+ ) {
526
+ yield this.keyList[i]
527
+ }
528
+ }
529
+ }
530
+ *rkeys() {
531
+ for (const i of this.rindexes()) {
532
+ if (
533
+ this.keyList[i] !== undefined &&
534
+ !this.isBackgroundFetch(this.valList[i])
535
+ ) {
536
+ yield this.keyList[i]
537
+ }
538
+ }
539
+ }
540
+
541
+ *values() {
542
+ for (const i of this.indexes()) {
543
+ if (
544
+ this.valList[i] !== undefined &&
545
+ !this.isBackgroundFetch(this.valList[i])
546
+ ) {
547
+ yield this.valList[i]
548
+ }
549
+ }
550
+ }
551
+ *rvalues() {
552
+ for (const i of this.rindexes()) {
553
+ if (
554
+ this.valList[i] !== undefined &&
555
+ !this.isBackgroundFetch(this.valList[i])
556
+ ) {
557
+ yield this.valList[i]
558
+ }
559
+ }
560
+ }
561
+
562
+ [Symbol.iterator]() {
563
+ return this.entries()
564
+ }
565
+
566
+ find(fn, getOptions) {
567
+ for (const i of this.indexes()) {
568
+ const v = this.valList[i]
569
+ const value = this.isBackgroundFetch(v)
570
+ ? v.__staleWhileFetching
571
+ : v
572
+ if (value === undefined) continue
573
+ if (fn(value, this.keyList[i], this)) {
574
+ return this.get(this.keyList[i], getOptions)
575
+ }
576
+ }
577
+ }
578
+
579
+ forEach(fn, thisp = this) {
580
+ for (const i of this.indexes()) {
581
+ const v = this.valList[i]
582
+ const value = this.isBackgroundFetch(v)
583
+ ? v.__staleWhileFetching
584
+ : v
585
+ if (value === undefined) continue
586
+ fn.call(thisp, value, this.keyList[i], this)
587
+ }
588
+ }
589
+
590
+ rforEach(fn, thisp = this) {
591
+ for (const i of this.rindexes()) {
592
+ const v = this.valList[i]
593
+ const value = this.isBackgroundFetch(v)
594
+ ? v.__staleWhileFetching
595
+ : v
596
+ if (value === undefined) continue
597
+ fn.call(thisp, value, this.keyList[i], this)
598
+ }
599
+ }
600
+
601
+ get prune() {
602
+ deprecatedMethod('prune', 'purgeStale')
603
+ return this.purgeStale
604
+ }
605
+
606
+ purgeStale() {
607
+ let deleted = false
608
+ for (const i of this.rindexes({ allowStale: true })) {
609
+ if (this.isStale(i)) {
610
+ this.delete(this.keyList[i])
611
+ deleted = true
612
+ }
613
+ }
614
+ return deleted
615
+ }
616
+
617
+ dump() {
618
+ const arr = []
619
+ for (const i of this.indexes({ allowStale: true })) {
620
+ const key = this.keyList[i]
621
+ const v = this.valList[i]
622
+ const value = this.isBackgroundFetch(v)
623
+ ? v.__staleWhileFetching
624
+ : v
625
+ if (value === undefined) continue
626
+ const entry = { value }
627
+ if (this.ttls) {
628
+ entry.ttl = this.ttls[i]
629
+ // always dump the start relative to a portable timestamp
630
+ // it's ok for this to be a bit slow, it's a rare operation.
631
+ const age = perf.now() - this.starts[i]
632
+ entry.start = Math.floor(Date.now() - age)
633
+ }
634
+ if (this.sizes) {
635
+ entry.size = this.sizes[i]
636
+ }
637
+ arr.unshift([key, entry])
638
+ }
639
+ return arr
640
+ }
641
+
642
+ load(arr) {
643
+ this.clear()
644
+ for (const [key, entry] of arr) {
645
+ if (entry.start) {
646
+ // entry.start is a portable timestamp, but we may be using
647
+ // node's performance.now(), so calculate the offset.
648
+ // it's ok for this to be a bit slow, it's a rare operation.
649
+ const age = Date.now() - entry.start
650
+ entry.start = perf.now() - age
651
+ }
652
+ this.set(key, entry.value, entry)
653
+ }
654
+ }
655
+
656
+ dispose(_v, _k, _reason) {}
657
+
658
+ set(
659
+ k,
660
+ v,
661
+ {
662
+ ttl = this.ttl,
663
+ start,
664
+ noDisposeOnSet = this.noDisposeOnSet,
665
+ size = 0,
666
+ sizeCalculation = this.sizeCalculation,
667
+ noUpdateTTL = this.noUpdateTTL,
668
+ status,
669
+ } = {}
670
+ ) {
671
+ size = this.requireSize(k, v, size, sizeCalculation)
672
+ // if the item doesn't fit, don't do anything
673
+ // NB: maxEntrySize set to maxSize by default
674
+ if (this.maxEntrySize && size > this.maxEntrySize) {
675
+ if (status) {
676
+ status.set = 'miss'
677
+ status.maxEntrySizeExceeded = true
678
+ }
679
+ // have to delete, in case a background fetch is there already.
680
+ // in non-async cases, this is a no-op
681
+ this.delete(k)
682
+ return this
683
+ }
684
+ let index = this.size === 0 ? undefined : this.keyMap.get(k)
685
+ if (index === undefined) {
686
+ // addition
687
+ index = this.newIndex()
688
+ this.keyList[index] = k
689
+ this.valList[index] = v
690
+ this.keyMap.set(k, index)
691
+ this.next[this.tail] = index
692
+ this.prev[index] = this.tail
693
+ this.tail = index
694
+ this.size++
695
+ this.addItemSize(index, size, status)
696
+ if (status) {
697
+ status.set = 'add'
698
+ }
699
+ noUpdateTTL = false
700
+ } else {
701
+ // update
702
+ this.moveToTail(index)
703
+ const oldVal = this.valList[index]
704
+ if (v !== oldVal) {
705
+ if (this.isBackgroundFetch(oldVal)) {
706
+ oldVal.__abortController.abort(new Error('replaced'))
707
+ } else {
708
+ if (!noDisposeOnSet) {
709
+ this.dispose(oldVal, k, 'set')
710
+ if (this.disposeAfter) {
711
+ this.disposed.push([oldVal, k, 'set'])
712
+ }
713
+ }
714
+ }
715
+ this.removeItemSize(index)
716
+ this.valList[index] = v
717
+ this.addItemSize(index, size, status)
718
+ if (status) {
719
+ status.set = 'replace'
720
+ const oldValue =
721
+ oldVal && this.isBackgroundFetch(oldVal)
722
+ ? oldVal.__staleWhileFetching
723
+ : oldVal
724
+ if (oldValue !== undefined) status.oldValue = oldValue
725
+ }
726
+ } else if (status) {
727
+ status.set = 'update'
728
+ }
729
+ }
730
+ if (ttl !== 0 && this.ttl === 0 && !this.ttls) {
731
+ this.initializeTTLTracking()
732
+ }
733
+ if (!noUpdateTTL) {
734
+ this.setItemTTL(index, ttl, start)
735
+ }
736
+ this.statusTTL(status, index)
737
+ if (this.disposeAfter) {
738
+ while (this.disposed.length) {
739
+ this.disposeAfter(...this.disposed.shift())
740
+ }
741
+ }
742
+ return this
743
+ }
744
+
745
+ newIndex() {
746
+ if (this.size === 0) {
747
+ return this.tail
748
+ }
749
+ if (this.size === this.max && this.max !== 0) {
750
+ return this.evict(false)
751
+ }
752
+ if (this.free.length !== 0) {
753
+ return this.free.pop()
754
+ }
755
+ // initial fill, just keep writing down the list
756
+ return this.initialFill++
757
+ }
758
+
759
+ pop() {
760
+ if (this.size) {
761
+ const val = this.valList[this.head]
762
+ this.evict(true)
763
+ return val
764
+ }
765
+ }
766
+
767
+ evict(free) {
768
+ const head = this.head
769
+ const k = this.keyList[head]
770
+ const v = this.valList[head]
771
+ if (this.isBackgroundFetch(v)) {
772
+ v.__abortController.abort(new Error('evicted'))
773
+ } else {
774
+ this.dispose(v, k, 'evict')
775
+ if (this.disposeAfter) {
776
+ this.disposed.push([v, k, 'evict'])
777
+ }
778
+ }
779
+ this.removeItemSize(head)
780
+ // if we aren't about to use the index, then null these out
781
+ if (free) {
782
+ this.keyList[head] = null
783
+ this.valList[head] = null
784
+ this.free.push(head)
785
+ }
786
+ this.head = this.next[head]
787
+ this.keyMap.delete(k)
788
+ this.size--
789
+ return head
790
+ }
791
+
792
+ has(k, { updateAgeOnHas = this.updateAgeOnHas, status } = {}) {
793
+ const index = this.keyMap.get(k)
794
+ if (index !== undefined) {
795
+ if (!this.isStale(index)) {
796
+ if (updateAgeOnHas) {
797
+ this.updateItemAge(index)
798
+ }
799
+ if (status) status.has = 'hit'
800
+ this.statusTTL(status, index)
801
+ return true
802
+ } else if (status) {
803
+ status.has = 'stale'
804
+ this.statusTTL(status, index)
805
+ }
806
+ } else if (status) {
807
+ status.has = 'miss'
808
+ }
809
+ return false
810
+ }
811
+
812
+ // like get(), but without any LRU updating or TTL expiration
813
+ peek(k, { allowStale = this.allowStale } = {}) {
814
+ const index = this.keyMap.get(k)
815
+ if (index !== undefined && (allowStale || !this.isStale(index))) {
816
+ const v = this.valList[index]
817
+ // either stale and allowed, or forcing a refresh of non-stale value
818
+ return this.isBackgroundFetch(v) ? v.__staleWhileFetching : v
819
+ }
820
+ }
821
+
822
+ backgroundFetch(k, index, options, context) {
823
+ const v = index === undefined ? undefined : this.valList[index]
824
+ if (this.isBackgroundFetch(v)) {
825
+ return v
826
+ }
827
+ const ac = new AC()
828
+ if (options.signal) {
829
+ options.signal.addEventListener('abort', () =>
830
+ ac.abort(options.signal.reason)
831
+ )
832
+ }
833
+ const fetchOpts = {
834
+ signal: ac.signal,
835
+ options,
836
+ context,
837
+ }
838
+ const cb = (v, updateCache = false) => {
839
+ const { aborted } = ac.signal
840
+ const ignoreAbort = options.ignoreFetchAbort && v !== undefined
841
+ if (options.status) {
842
+ if (aborted && !updateCache) {
843
+ options.status.fetchAborted = true
844
+ options.status.fetchError = ac.signal.reason
845
+ if (ignoreAbort) options.status.fetchAbortIgnored = true
846
+ } else {
847
+ options.status.fetchResolved = true
848
+ }
849
+ }
850
+ if (aborted && !ignoreAbort && !updateCache) {
851
+ return fetchFail(ac.signal.reason)
852
+ }
853
+ // either we didn't abort, and are still here, or we did, and ignored
854
+ if (this.valList[index] === p) {
855
+ if (v === undefined) {
856
+ if (p.__staleWhileFetching) {
857
+ this.valList[index] = p.__staleWhileFetching
858
+ } else {
859
+ this.delete(k)
860
+ }
861
+ } else {
862
+ if (options.status) options.status.fetchUpdated = true
863
+ this.set(k, v, fetchOpts.options)
864
+ }
865
+ }
866
+ return v
867
+ }
868
+ const eb = er => {
869
+ if (options.status) {
870
+ options.status.fetchRejected = true
871
+ options.status.fetchError = er
872
+ }
873
+ return fetchFail(er)
874
+ }
875
+ const fetchFail = er => {
876
+ const { aborted } = ac.signal
877
+ const allowStaleAborted =
878
+ aborted && options.allowStaleOnFetchAbort
879
+ const allowStale =
880
+ allowStaleAborted || options.allowStaleOnFetchRejection
881
+ const noDelete = allowStale || options.noDeleteOnFetchRejection
882
+ if (this.valList[index] === p) {
883
+ // if we allow stale on fetch rejections, then we need to ensure that
884
+ // the stale value is not removed from the cache when the fetch fails.
885
+ const del = !noDelete || p.__staleWhileFetching === undefined
886
+ if (del) {
887
+ this.delete(k)
888
+ } else if (!allowStaleAborted) {
889
+ // still replace the *promise* with the stale value,
890
+ // since we are done with the promise at this point.
891
+ // leave it untouched if we're still waiting for an
892
+ // aborted background fetch that hasn't yet returned.
893
+ this.valList[index] = p.__staleWhileFetching
894
+ }
895
+ }
896
+ if (allowStale) {
897
+ if (options.status && p.__staleWhileFetching !== undefined) {
898
+ options.status.returnedStale = true
899
+ }
900
+ return p.__staleWhileFetching
901
+ } else if (p.__returned === p) {
902
+ throw er
903
+ }
904
+ }
905
+ const pcall = (res, rej) => {
906
+ this.fetchMethod(k, v, fetchOpts).then(v => res(v), rej)
907
+ // ignored, we go until we finish, regardless.
908
+ // defer check until we are actually aborting,
909
+ // so fetchMethod can override.
910
+ ac.signal.addEventListener('abort', () => {
911
+ if (
912
+ !options.ignoreFetchAbort ||
913
+ options.allowStaleOnFetchAbort
914
+ ) {
915
+ res()
916
+ // when it eventually resolves, update the cache.
917
+ if (options.allowStaleOnFetchAbort) {
918
+ res = v => cb(v, true)
919
+ }
920
+ }
921
+ })
922
+ }
923
+ if (options.status) options.status.fetchDispatched = true
924
+ const p = new Promise(pcall).then(cb, eb)
925
+ p.__abortController = ac
926
+ p.__staleWhileFetching = v
927
+ p.__returned = null
928
+ if (index === undefined) {
929
+ // internal, don't expose status.
930
+ this.set(k, p, { ...fetchOpts.options, status: undefined })
931
+ index = this.keyMap.get(k)
932
+ } else {
933
+ this.valList[index] = p
934
+ }
935
+ return p
936
+ }
937
+
938
+ isBackgroundFetch(p) {
939
+ return (
940
+ p &&
941
+ typeof p === 'object' &&
942
+ typeof p.then === 'function' &&
943
+ Object.prototype.hasOwnProperty.call(
944
+ p,
945
+ '__staleWhileFetching'
946
+ ) &&
947
+ Object.prototype.hasOwnProperty.call(p, '__returned') &&
948
+ (p.__returned === p || p.__returned === null)
949
+ )
950
+ }
951
+
952
+ // this takes the union of get() and set() opts, because it does both
953
+ async fetch(
954
+ k,
955
+ {
956
+ // get options
957
+ allowStale = this.allowStale,
958
+ updateAgeOnGet = this.updateAgeOnGet,
959
+ noDeleteOnStaleGet = this.noDeleteOnStaleGet,
960
+ // set options
961
+ ttl = this.ttl,
962
+ noDisposeOnSet = this.noDisposeOnSet,
963
+ size = 0,
964
+ sizeCalculation = this.sizeCalculation,
965
+ noUpdateTTL = this.noUpdateTTL,
966
+ // fetch exclusive options
967
+ noDeleteOnFetchRejection = this.noDeleteOnFetchRejection,
968
+ allowStaleOnFetchRejection = this.allowStaleOnFetchRejection,
969
+ ignoreFetchAbort = this.ignoreFetchAbort,
970
+ allowStaleOnFetchAbort = this.allowStaleOnFetchAbort,
971
+ fetchContext = this.fetchContext,
972
+ forceRefresh = false,
973
+ status,
974
+ signal,
975
+ } = {}
976
+ ) {
977
+ if (!this.fetchMethod) {
978
+ if (status) status.fetch = 'get'
979
+ return this.get(k, {
980
+ allowStale,
981
+ updateAgeOnGet,
982
+ noDeleteOnStaleGet,
983
+ status,
984
+ })
985
+ }
986
+
987
+ const options = {
988
+ allowStale,
989
+ updateAgeOnGet,
990
+ noDeleteOnStaleGet,
991
+ ttl,
992
+ noDisposeOnSet,
993
+ size,
994
+ sizeCalculation,
995
+ noUpdateTTL,
996
+ noDeleteOnFetchRejection,
997
+ allowStaleOnFetchRejection,
998
+ allowStaleOnFetchAbort,
999
+ ignoreFetchAbort,
1000
+ status,
1001
+ signal,
1002
+ }
1003
+
1004
+ let index = this.keyMap.get(k)
1005
+ if (index === undefined) {
1006
+ if (status) status.fetch = 'miss'
1007
+ const p = this.backgroundFetch(k, index, options, fetchContext)
1008
+ return (p.__returned = p)
1009
+ } else {
1010
+ // in cache, maybe already fetching
1011
+ const v = this.valList[index]
1012
+ if (this.isBackgroundFetch(v)) {
1013
+ const stale =
1014
+ allowStale && v.__staleWhileFetching !== undefined
1015
+ if (status) {
1016
+ status.fetch = 'inflight'
1017
+ if (stale) status.returnedStale = true
1018
+ }
1019
+ return stale ? v.__staleWhileFetching : (v.__returned = v)
1020
+ }
1021
+
1022
+ // if we force a refresh, that means do NOT serve the cached value,
1023
+ // unless we are already in the process of refreshing the cache.
1024
+ const isStale = this.isStale(index)
1025
+ if (!forceRefresh && !isStale) {
1026
+ if (status) status.fetch = 'hit'
1027
+ this.moveToTail(index)
1028
+ if (updateAgeOnGet) {
1029
+ this.updateItemAge(index)
1030
+ }
1031
+ this.statusTTL(status, index)
1032
+ return v
1033
+ }
1034
+
1035
+ // ok, it is stale or a forced refresh, and not already fetching.
1036
+ // refresh the cache.
1037
+ const p = this.backgroundFetch(k, index, options, fetchContext)
1038
+ const hasStale = p.__staleWhileFetching !== undefined
1039
+ const staleVal = hasStale && allowStale
1040
+ if (status) {
1041
+ status.fetch = hasStale && isStale ? 'stale' : 'refresh'
1042
+ if (staleVal && isStale) status.returnedStale = true
1043
+ }
1044
+ return staleVal ? p.__staleWhileFetching : (p.__returned = p)
1045
+ }
1046
+ }
1047
+
1048
+ get(
1049
+ k,
1050
+ {
1051
+ allowStale = this.allowStale,
1052
+ updateAgeOnGet = this.updateAgeOnGet,
1053
+ noDeleteOnStaleGet = this.noDeleteOnStaleGet,
1054
+ status,
1055
+ } = {}
1056
+ ) {
1057
+ const index = this.keyMap.get(k)
1058
+ if (index !== undefined) {
1059
+ const value = this.valList[index]
1060
+ const fetching = this.isBackgroundFetch(value)
1061
+ this.statusTTL(status, index)
1062
+ if (this.isStale(index)) {
1063
+ if (status) status.get = 'stale'
1064
+ // delete only if not an in-flight background fetch
1065
+ if (!fetching) {
1066
+ if (!noDeleteOnStaleGet) {
1067
+ this.delete(k)
1068
+ }
1069
+ if (status) status.returnedStale = allowStale
1070
+ return allowStale ? value : undefined
1071
+ } else {
1072
+ if (status) {
1073
+ status.returnedStale =
1074
+ allowStale && value.__staleWhileFetching !== undefined
1075
+ }
1076
+ return allowStale ? value.__staleWhileFetching : undefined
1077
+ }
1078
+ } else {
1079
+ if (status) status.get = 'hit'
1080
+ // if we're currently fetching it, we don't actually have it yet
1081
+ // it's not stale, which means this isn't a staleWhileRefetching.
1082
+ // If it's not stale, and fetching, AND has a __staleWhileFetching
1083
+ // value, then that means the user fetched with {forceRefresh:true},
1084
+ // so it's safe to return that value.
1085
+ if (fetching) {
1086
+ return value.__staleWhileFetching
1087
+ }
1088
+ this.moveToTail(index)
1089
+ if (updateAgeOnGet) {
1090
+ this.updateItemAge(index)
1091
+ }
1092
+ return value
1093
+ }
1094
+ } else if (status) {
1095
+ status.get = 'miss'
1096
+ }
1097
+ }
1098
+
1099
+ connect(p, n) {
1100
+ this.prev[n] = p
1101
+ this.next[p] = n
1102
+ }
1103
+
1104
+ moveToTail(index) {
1105
+ // if tail already, nothing to do
1106
+ // if head, move head to next[index]
1107
+ // else
1108
+ // move next[prev[index]] to next[index] (head has no prev)
1109
+ // move prev[next[index]] to prev[index]
1110
+ // prev[index] = tail
1111
+ // next[tail] = index
1112
+ // tail = index
1113
+ if (index !== this.tail) {
1114
+ if (index === this.head) {
1115
+ this.head = this.next[index]
1116
+ } else {
1117
+ this.connect(this.prev[index], this.next[index])
1118
+ }
1119
+ this.connect(this.tail, index)
1120
+ this.tail = index
1121
+ }
1122
+ }
1123
+
1124
+ get del() {
1125
+ deprecatedMethod('del', 'delete')
1126
+ return this.delete
1127
+ }
1128
+
1129
+ delete(k) {
1130
+ let deleted = false
1131
+ if (this.size !== 0) {
1132
+ const index = this.keyMap.get(k)
1133
+ if (index !== undefined) {
1134
+ deleted = true
1135
+ if (this.size === 1) {
1136
+ this.clear()
1137
+ } else {
1138
+ this.removeItemSize(index)
1139
+ const v = this.valList[index]
1140
+ if (this.isBackgroundFetch(v)) {
1141
+ v.__abortController.abort(new Error('deleted'))
1142
+ } else {
1143
+ this.dispose(v, k, 'delete')
1144
+ if (this.disposeAfter) {
1145
+ this.disposed.push([v, k, 'delete'])
1146
+ }
1147
+ }
1148
+ this.keyMap.delete(k)
1149
+ this.keyList[index] = null
1150
+ this.valList[index] = null
1151
+ if (index === this.tail) {
1152
+ this.tail = this.prev[index]
1153
+ } else if (index === this.head) {
1154
+ this.head = this.next[index]
1155
+ } else {
1156
+ this.next[this.prev[index]] = this.next[index]
1157
+ this.prev[this.next[index]] = this.prev[index]
1158
+ }
1159
+ this.size--
1160
+ this.free.push(index)
1161
+ }
1162
+ }
1163
+ }
1164
+ if (this.disposed) {
1165
+ while (this.disposed.length) {
1166
+ this.disposeAfter(...this.disposed.shift())
1167
+ }
1168
+ }
1169
+ return deleted
1170
+ }
1171
+
1172
+ clear() {
1173
+ for (const index of this.rindexes({ allowStale: true })) {
1174
+ const v = this.valList[index]
1175
+ if (this.isBackgroundFetch(v)) {
1176
+ v.__abortController.abort(new Error('deleted'))
1177
+ } else {
1178
+ const k = this.keyList[index]
1179
+ this.dispose(v, k, 'delete')
1180
+ if (this.disposeAfter) {
1181
+ this.disposed.push([v, k, 'delete'])
1182
+ }
1183
+ }
1184
+ }
1185
+
1186
+ this.keyMap.clear()
1187
+ this.valList.fill(null)
1188
+ this.keyList.fill(null)
1189
+ if (this.ttls) {
1190
+ this.ttls.fill(0)
1191
+ this.starts.fill(0)
1192
+ }
1193
+ if (this.sizes) {
1194
+ this.sizes.fill(0)
1195
+ }
1196
+ this.head = 0
1197
+ this.tail = 0
1198
+ this.initialFill = 1
1199
+ this.free.length = 0
1200
+ this.calculatedSize = 0
1201
+ this.size = 0
1202
+ if (this.disposed) {
1203
+ while (this.disposed.length) {
1204
+ this.disposeAfter(...this.disposed.shift())
1205
+ }
1206
+ }
1207
+ }
1208
+
1209
+ get reset() {
1210
+ deprecatedMethod('reset', 'clear')
1211
+ return this.clear
1212
+ }
1213
+
1214
+ get length() {
1215
+ deprecatedProperty('length', 'size')
1216
+ return this.size
1217
+ }
1218
+
1219
+ static get AbortController() {
1220
+ return AC
1221
+ }
1222
+ static get AbortSignal() {
1223
+ return AS
1224
+ }
1225
+ }
1226
+
1227
+ export default LRUCache