@ndlib/ndlib-cdk2 1.0.21 → 1.0.22

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 (705) hide show
  1. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/.package-lock.json +637 -636
  2. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/endpoint/endpointResolver.js +4 -2
  3. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/index.js +33 -76
  4. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/runtimeConfig.browser.js +1 -1
  5. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/runtimeConfig.js +1 -1
  6. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/endpoint/endpointResolver.js +3 -1
  7. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/index.js +0 -1
  8. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/protocols/Aws_json1_1.js +1 -40
  9. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/runtimeConfig.browser.js +1 -1
  10. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/runtimeConfig.js +1 -1
  11. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/CodePipeline.d.ts +6 -1
  12. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/CodePipelineClient.d.ts +5 -5
  13. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/AcknowledgeJobCommand.d.ts +2 -1
  14. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/AcknowledgeThirdPartyJobCommand.d.ts +2 -1
  15. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/CreateCustomActionTypeCommand.d.ts +2 -1
  16. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/CreatePipelineCommand.d.ts +2 -1
  17. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeleteCustomActionTypeCommand.d.ts +2 -1
  18. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeletePipelineCommand.d.ts +2 -1
  19. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeleteWebhookCommand.d.ts +2 -1
  20. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +2 -1
  21. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DisableStageTransitionCommand.d.ts +2 -1
  22. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/EnableStageTransitionCommand.d.ts +2 -1
  23. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetActionTypeCommand.d.ts +2 -1
  24. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetJobDetailsCommand.d.ts +2 -1
  25. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineCommand.d.ts +2 -1
  26. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineExecutionCommand.d.ts +2 -1
  27. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineStateCommand.d.ts +2 -1
  28. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetThirdPartyJobDetailsCommand.d.ts +2 -1
  29. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListActionExecutionsCommand.d.ts +2 -1
  30. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListActionTypesCommand.d.ts +2 -1
  31. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListPipelineExecutionsCommand.d.ts +2 -1
  32. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListPipelinesCommand.d.ts +2 -1
  33. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  34. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListWebhooksCommand.d.ts +2 -1
  35. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PollForJobsCommand.d.ts +2 -1
  36. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PollForThirdPartyJobsCommand.d.ts +2 -1
  37. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutActionRevisionCommand.d.ts +2 -1
  38. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutApprovalResultCommand.d.ts +2 -1
  39. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutJobFailureResultCommand.d.ts +2 -1
  40. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutJobSuccessResultCommand.d.ts +2 -1
  41. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutThirdPartyJobFailureResultCommand.d.ts +2 -1
  42. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutThirdPartyJobSuccessResultCommand.d.ts +2 -1
  43. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutWebhookCommand.d.ts +2 -1
  44. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/RegisterWebhookWithThirdPartyCommand.d.ts +2 -1
  45. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/RetryStageExecutionCommand.d.ts +2 -1
  46. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/StartPipelineExecutionCommand.d.ts +2 -1
  47. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/StopPipelineExecutionCommand.d.ts +2 -1
  48. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/TagResourceCommand.d.ts +2 -1
  49. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  50. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UpdateActionTypeCommand.d.ts +2 -1
  51. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UpdatePipelineCommand.d.ts +2 -1
  52. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/index.d.ts +0 -1
  53. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/models/models_0.d.ts +607 -607
  54. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.browser.d.ts +3 -6
  55. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.d.ts +3 -6
  56. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.native.d.ts +3 -6
  57. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.shared.d.ts +2 -2
  58. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/CodePipeline.d.ts +5 -0
  59. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/CodePipelineClient.d.ts +3 -3
  60. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/AcknowledgeJobCommand.d.ts +9 -0
  61. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/AcknowledgeThirdPartyJobCommand.d.ts +9 -0
  62. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/CreateCustomActionTypeCommand.d.ts +9 -0
  63. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +9 -0
  64. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/DeleteCustomActionTypeCommand.d.ts +9 -0
  65. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +9 -0
  66. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +9 -0
  67. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +9 -0
  68. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/DisableStageTransitionCommand.d.ts +9 -0
  69. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/EnableStageTransitionCommand.d.ts +9 -0
  70. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetActionTypeCommand.d.ts +9 -0
  71. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetJobDetailsCommand.d.ts +9 -0
  72. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetPipelineCommand.d.ts +9 -0
  73. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetPipelineExecutionCommand.d.ts +9 -0
  74. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetPipelineStateCommand.d.ts +9 -0
  75. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetThirdPartyJobDetailsCommand.d.ts +9 -0
  76. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListActionExecutionsCommand.d.ts +9 -0
  77. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListActionTypesCommand.d.ts +9 -0
  78. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListPipelineExecutionsCommand.d.ts +9 -0
  79. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +9 -0
  80. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  81. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +9 -0
  82. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PollForJobsCommand.d.ts +9 -0
  83. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PollForThirdPartyJobsCommand.d.ts +9 -0
  84. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutActionRevisionCommand.d.ts +9 -0
  85. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutApprovalResultCommand.d.ts +9 -0
  86. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutJobFailureResultCommand.d.ts +9 -0
  87. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutJobSuccessResultCommand.d.ts +9 -0
  88. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutThirdPartyJobFailureResultCommand.d.ts +9 -0
  89. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutThirdPartyJobSuccessResultCommand.d.ts +9 -0
  90. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutWebhookCommand.d.ts +9 -0
  91. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/RegisterWebhookWithThirdPartyCommand.d.ts +9 -0
  92. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/RetryStageExecutionCommand.d.ts +9 -0
  93. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +9 -0
  94. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +9 -0
  95. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  96. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  97. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/UpdateActionTypeCommand.d.ts +9 -0
  98. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +9 -0
  99. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/index.d.ts +0 -1
  100. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -15
  101. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.d.ts +4 -16
  102. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -15
  103. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  104. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/package.json +40 -40
  105. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/endpointResolver.js +4 -2
  106. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +249 -195
  107. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.browser.js +1 -1
  108. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +1 -1
  109. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/endpointResolver.js +3 -1
  110. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/index.js +0 -1
  111. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +39 -8
  112. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +8 -0
  113. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +39 -41
  114. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.browser.js +1 -1
  115. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +1 -1
  116. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +29 -1
  117. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +5 -5
  118. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/AddTagsToResourceCommand.d.ts +3 -2
  119. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts +2 -1
  120. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelCommandCommand.d.ts +4 -3
  121. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelMaintenanceWindowExecutionCommand.d.ts +2 -1
  122. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateActivationCommand.d.ts +4 -2
  123. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationBatchCommand.d.ts +5 -4
  124. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationCommand.d.ts +5 -4
  125. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +2 -1
  126. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateMaintenanceWindowCommand.d.ts +2 -1
  127. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsItemCommand.d.ts +2 -1
  128. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsMetadataCommand.d.ts +2 -1
  129. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreatePatchBaselineCommand.d.ts +2 -1
  130. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateResourceDataSyncCommand.d.ts +2 -1
  131. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteActivationCommand.d.ts +2 -1
  132. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteAssociationCommand.d.ts +4 -3
  133. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteDocumentCommand.d.ts +2 -1
  134. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteInventoryCommand.d.ts +2 -1
  135. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteMaintenanceWindowCommand.d.ts +2 -1
  136. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsItemCommand.d.ts +2 -1
  137. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsMetadataCommand.d.ts +2 -1
  138. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParameterCommand.d.ts +2 -1
  139. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParametersCommand.d.ts +2 -1
  140. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeletePatchBaselineCommand.d.ts +2 -1
  141. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourceDataSyncCommand.d.ts +2 -1
  142. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourcePolicyCommand.d.ts +28 -5
  143. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterManagedInstanceCommand.d.ts +4 -3
  144. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts +2 -1
  145. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts +2 -1
  146. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts +2 -1
  147. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeActivationsCommand.d.ts +2 -1
  148. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationCommand.d.ts +4 -3
  149. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionTargetsCommand.d.ts +2 -1
  150. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionsCommand.d.ts +2 -1
  151. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +2 -1
  152. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts +2 -1
  153. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAvailablePatchesCommand.d.ts +2 -1
  154. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentCommand.d.ts +2 -1
  155. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentPermissionCommand.d.ts +2 -1
  156. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +5 -4
  157. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts +2 -1
  158. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts +5 -4
  159. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceInformationCommand.d.ts +4 -3
  160. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts +2 -1
  161. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +2 -1
  162. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts +4 -3
  163. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInventoryDeletionsCommand.d.ts +2 -1
  164. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts +2 -1
  165. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts +2 -1
  166. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts +2 -1
  167. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +2 -1
  168. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +2 -1
  169. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts +2 -1
  170. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts +2 -1
  171. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +2 -1
  172. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeOpsItemsCommand.d.ts +3 -2
  173. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeParametersCommand.d.ts +8 -4
  174. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchBaselinesCommand.d.ts +2 -1
  175. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupStateCommand.d.ts +2 -1
  176. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupsCommand.d.ts +2 -1
  177. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchPropertiesCommand.d.ts +2 -1
  178. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeSessionsCommand.d.ts +2 -1
  179. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts +2 -1
  180. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts +2 -1
  181. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCalendarStateCommand.d.ts +2 -1
  182. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCommandInvocationCommand.d.ts +4 -3
  183. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetConnectionStatusCommand.d.ts +2 -1
  184. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDefaultPatchBaselineCommand.d.ts +2 -1
  185. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +3 -2
  186. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDocumentCommand.d.ts +2 -1
  187. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventoryCommand.d.ts +2 -1
  188. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventorySchemaCommand.d.ts +2 -1
  189. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowCommand.d.ts +2 -1
  190. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionCommand.d.ts +2 -1
  191. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts +2 -1
  192. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts +2 -1
  193. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts +3 -2
  194. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsItemCommand.d.ts +3 -2
  195. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsMetadataCommand.d.ts +2 -1
  196. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsSummaryCommand.d.ts +2 -1
  197. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterCommand.d.ts +2 -1
  198. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterHistoryCommand.d.ts +4 -3
  199. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts +2 -1
  200. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersCommand.d.ts +2 -1
  201. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineCommand.d.ts +2 -1
  202. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineForPatchGroupCommand.d.ts +2 -1
  203. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetResourcePoliciesCommand.d.ts +5 -1
  204. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetServiceSettingCommand.d.ts +2 -1
  205. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/LabelParameterVersionCommand.d.ts +2 -1
  206. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationVersionsCommand.d.ts +2 -1
  207. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationsCommand.d.ts +2 -1
  208. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandInvocationsCommand.d.ts +4 -3
  209. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandsCommand.d.ts +4 -3
  210. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceItemsCommand.d.ts +2 -1
  211. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceSummariesCommand.d.ts +2 -1
  212. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts +2 -1
  213. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentVersionsCommand.d.ts +2 -1
  214. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentsCommand.d.ts +2 -1
  215. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListInventoryEntriesCommand.d.ts +4 -3
  216. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemEventsCommand.d.ts +2 -1
  217. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemRelatedItemsCommand.d.ts +2 -1
  218. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsMetadataCommand.d.ts +2 -1
  219. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +2 -1
  220. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceDataSyncCommand.d.ts +2 -1
  221. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  222. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ModifyDocumentPermissionCommand.d.ts +2 -1
  223. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutComplianceItemsCommand.d.ts +5 -2
  224. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutInventoryCommand.d.ts +4 -3
  225. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutParameterCommand.d.ts +2 -1
  226. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutResourcePolicyCommand.d.ts +42 -4
  227. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterDefaultPatchBaselineCommand.d.ts +2 -1
  228. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +2 -1
  229. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +2 -1
  230. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +3 -2
  231. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +2 -1
  232. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts +2 -1
  233. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResumeSessionCommand.d.ts +2 -1
  234. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts +2 -1
  235. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendCommandCommand.d.ts +7 -6
  236. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAssociationsOnceCommand.d.ts +2 -1
  237. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts +2 -1
  238. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +2 -1
  239. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartSessionCommand.d.ts +2 -1
  240. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StopAutomationExecutionCommand.d.ts +3 -2
  241. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/TerminateSessionCommand.d.ts +3 -3
  242. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UnlabelParameterVersionCommand.d.ts +2 -1
  243. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationCommand.d.ts +2 -1
  244. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationStatusCommand.d.ts +4 -3
  245. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentCommand.d.ts +2 -1
  246. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentDefaultVersionCommand.d.ts +2 -1
  247. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +2 -1
  248. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowCommand.d.ts +2 -1
  249. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTargetCommand.d.ts +2 -1
  250. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTaskCommand.d.ts +4 -3
  251. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts +4 -3
  252. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsItemCommand.d.ts +3 -2
  253. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsMetadataCommand.d.ts +2 -1
  254. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdatePatchBaselineCommand.d.ts +2 -1
  255. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateResourceDataSyncCommand.d.ts +2 -1
  256. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateServiceSettingCommand.d.ts +2 -1
  257. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +0 -1
  258. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +973 -979
  259. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +1205 -1152
  260. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +256 -235
  261. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +3 -6
  262. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +3 -6
  263. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +3 -6
  264. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.shared.d.ts +2 -2
  265. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +28 -0
  266. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +3 -3
  267. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +9 -0
  268. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AssociateOpsItemRelatedItemCommand.d.ts +9 -0
  269. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelCommandCommand.d.ts +9 -0
  270. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelMaintenanceWindowExecutionCommand.d.ts +9 -0
  271. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateActivationCommand.d.ts +9 -0
  272. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationBatchCommand.d.ts +9 -0
  273. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationCommand.d.ts +9 -0
  274. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateDocumentCommand.d.ts +9 -0
  275. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateMaintenanceWindowCommand.d.ts +9 -0
  276. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsItemCommand.d.ts +9 -0
  277. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsMetadataCommand.d.ts +9 -0
  278. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreatePatchBaselineCommand.d.ts +9 -0
  279. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateResourceDataSyncCommand.d.ts +9 -0
  280. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteActivationCommand.d.ts +9 -0
  281. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteAssociationCommand.d.ts +9 -0
  282. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts +9 -0
  283. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteInventoryCommand.d.ts +9 -0
  284. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteMaintenanceWindowCommand.d.ts +9 -0
  285. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsItemCommand.d.ts +9 -0
  286. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsMetadataCommand.d.ts +9 -0
  287. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParameterCommand.d.ts +9 -0
  288. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParametersCommand.d.ts +9 -0
  289. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeletePatchBaselineCommand.d.ts +9 -0
  290. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourceDataSyncCommand.d.ts +9 -0
  291. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +9 -0
  292. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterManagedInstanceCommand.d.ts +9 -0
  293. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts +9 -0
  294. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts +9 -0
  295. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts +9 -0
  296. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeActivationsCommand.d.ts +9 -0
  297. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationCommand.d.ts +9 -0
  298. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionTargetsCommand.d.ts +9 -0
  299. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionsCommand.d.ts +9 -0
  300. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationExecutionsCommand.d.ts +9 -0
  301. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationStepExecutionsCommand.d.ts +9 -0
  302. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAvailablePatchesCommand.d.ts +9 -0
  303. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentCommand.d.ts +9 -0
  304. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentPermissionCommand.d.ts +9 -0
  305. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +9 -0
  306. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts +9 -0
  307. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceAssociationsStatusCommand.d.ts +9 -0
  308. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceInformationCommand.d.ts +9 -0
  309. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesCommand.d.ts +9 -0
  310. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +9 -0
  311. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchesCommand.d.ts +9 -0
  312. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInventoryDeletionsCommand.d.ts +9 -0
  313. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts +9 -0
  314. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts +9 -0
  315. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts +9 -0
  316. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +9 -0
  317. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +9 -0
  318. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTasksCommand.d.ts +9 -0
  319. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsCommand.d.ts +9 -0
  320. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +9 -0
  321. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeOpsItemsCommand.d.ts +9 -0
  322. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts +9 -0
  323. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchBaselinesCommand.d.ts +9 -0
  324. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupStateCommand.d.ts +9 -0
  325. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupsCommand.d.ts +9 -0
  326. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchPropertiesCommand.d.ts +9 -0
  327. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeSessionsCommand.d.ts +9 -0
  328. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DisassociateOpsItemRelatedItemCommand.d.ts +9 -0
  329. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetAutomationExecutionCommand.d.ts +9 -0
  330. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCalendarStateCommand.d.ts +9 -0
  331. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCommandInvocationCommand.d.ts +9 -0
  332. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetConnectionStatusCommand.d.ts +9 -0
  333. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDefaultPatchBaselineCommand.d.ts +9 -0
  334. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +9 -0
  335. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDocumentCommand.d.ts +9 -0
  336. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventoryCommand.d.ts +9 -0
  337. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventorySchemaCommand.d.ts +9 -0
  338. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowCommand.d.ts +9 -0
  339. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionCommand.d.ts +9 -0
  340. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts +9 -0
  341. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts +9 -0
  342. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowTaskCommand.d.ts +9 -0
  343. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsItemCommand.d.ts +9 -0
  344. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsMetadataCommand.d.ts +9 -0
  345. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsSummaryCommand.d.ts +9 -0
  346. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterCommand.d.ts +9 -0
  347. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterHistoryCommand.d.ts +9 -0
  348. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersByPathCommand.d.ts +9 -0
  349. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersCommand.d.ts +9 -0
  350. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineCommand.d.ts +9 -0
  351. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineForPatchGroupCommand.d.ts +9 -0
  352. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +9 -0
  353. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetServiceSettingCommand.d.ts +9 -0
  354. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/LabelParameterVersionCommand.d.ts +9 -0
  355. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationVersionsCommand.d.ts +9 -0
  356. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +9 -0
  357. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandInvocationsCommand.d.ts +9 -0
  358. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandsCommand.d.ts +9 -0
  359. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceItemsCommand.d.ts +9 -0
  360. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceSummariesCommand.d.ts +9 -0
  361. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentMetadataHistoryCommand.d.ts +9 -0
  362. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentVersionsCommand.d.ts +9 -0
  363. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts +9 -0
  364. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListInventoryEntriesCommand.d.ts +9 -0
  365. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemEventsCommand.d.ts +9 -0
  366. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemRelatedItemsCommand.d.ts +9 -0
  367. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsMetadataCommand.d.ts +9 -0
  368. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceComplianceSummariesCommand.d.ts +9 -0
  369. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceDataSyncCommand.d.ts +9 -0
  370. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  371. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ModifyDocumentPermissionCommand.d.ts +9 -0
  372. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutComplianceItemsCommand.d.ts +9 -0
  373. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutInventoryCommand.d.ts +9 -0
  374. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutParameterCommand.d.ts +9 -0
  375. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +9 -0
  376. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterDefaultPatchBaselineCommand.d.ts +9 -0
  377. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +9 -0
  378. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +9 -0
  379. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +9 -0
  380. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +9 -0
  381. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts +9 -0
  382. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts +9 -0
  383. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts +9 -0
  384. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendCommandCommand.d.ts +9 -0
  385. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts +9 -0
  386. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts +9 -0
  387. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartChangeRequestExecutionCommand.d.ts +9 -0
  388. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartSessionCommand.d.ts +9 -0
  389. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StopAutomationExecutionCommand.d.ts +10 -1
  390. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +13 -2
  391. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UnlabelParameterVersionCommand.d.ts +9 -0
  392. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationCommand.d.ts +9 -0
  393. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationStatusCommand.d.ts +9 -0
  394. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +9 -0
  395. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentDefaultVersionCommand.d.ts +9 -0
  396. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentMetadataCommand.d.ts +9 -0
  397. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowCommand.d.ts +9 -0
  398. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTargetCommand.d.ts +9 -0
  399. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTaskCommand.d.ts +9 -0
  400. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateManagedInstanceRoleCommand.d.ts +9 -0
  401. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsItemCommand.d.ts +9 -0
  402. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsMetadataCommand.d.ts +9 -0
  403. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdatePatchBaselineCommand.d.ts +9 -0
  404. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateResourceDataSyncCommand.d.ts +9 -0
  405. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateServiceSettingCommand.d.ts +9 -0
  406. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/index.d.ts +0 -1
  407. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +30 -17
  408. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +19 -11
  409. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +12 -3
  410. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -15
  411. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +4 -16
  412. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -15
  413. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  414. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/package.json +41 -41
  415. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +4 -2
  416. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +6 -49
  417. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +1 -1
  418. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +1 -1
  419. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +3 -1
  420. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/index.js +0 -1
  421. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +1 -40
  422. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +1 -1
  423. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +1 -1
  424. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +1 -1
  425. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +5 -5
  426. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +2 -1
  427. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +2 -1
  428. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +2 -1
  429. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +2 -1
  430. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +0 -1
  431. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +32 -32
  432. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +3 -6
  433. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +3 -6
  434. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +3 -6
  435. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +2 -2
  436. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +3 -3
  437. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +9 -0
  438. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +9 -0
  439. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +9 -0
  440. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +7 -0
  441. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +0 -1
  442. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -15
  443. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +4 -16
  444. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -15
  445. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  446. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/package.json +38 -38
  447. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +4 -2
  448. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +7 -50
  449. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +1 -1
  450. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +1 -1
  451. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +3 -1
  452. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +0 -1
  453. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +1 -40
  454. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +1 -1
  455. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +1 -1
  456. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +1 -1
  457. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +5 -5
  458. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +2 -1
  459. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +2 -1
  460. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +2 -1
  461. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +2 -1
  462. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +0 -1
  463. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +89 -89
  464. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +3 -6
  465. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +3 -6
  466. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +3 -6
  467. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +2 -2
  468. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +3 -3
  469. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +9 -0
  470. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +9 -0
  471. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +9 -0
  472. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +9 -0
  473. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +0 -1
  474. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -15
  475. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +4 -16
  476. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -15
  477. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  478. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/package.json +40 -40
  479. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +4 -2
  480. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +10 -44
  481. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +1 -1
  482. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +1 -1
  483. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +3 -1
  484. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/index.js +0 -1
  485. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +2 -34
  486. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +1 -1
  487. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +1 -1
  488. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +3 -1
  489. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +5 -5
  490. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +2 -1
  491. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +2 -1
  492. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -1
  493. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -1
  494. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +2 -1
  495. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +2 -1
  496. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +2 -1
  497. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +2 -1
  498. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +0 -1
  499. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +98 -98
  500. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +3 -6
  501. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +3 -6
  502. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +3 -6
  503. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +2 -2
  504. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +2 -0
  505. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +3 -3
  506. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +9 -0
  507. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +9 -0
  508. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +9 -0
  509. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +9 -0
  510. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +9 -0
  511. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +9 -0
  512. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +9 -0
  513. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +9 -0
  514. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +0 -1
  515. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -15
  516. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +4 -16
  517. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -15
  518. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  519. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/package.json +39 -40
  520. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/CHANGELOG.md +65 -0
  521. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/index.js +133 -9
  522. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/common.js +1 -0
  523. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/json/parseJsonBody.js +1 -0
  524. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/xml/parseXmlBody.js +1 -0
  525. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +5 -0
  526. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/common.js +2 -0
  527. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/index.js +2 -0
  528. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/json/parseJsonBody.js +51 -0
  529. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/xml/parseXmlBody.js +57 -0
  530. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/common.d.ts +2 -0
  531. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/index.d.ts +2 -0
  532. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/json/parseJsonBody.d.ts +4 -0
  533. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/xml/parseXmlBody.d.ts +4 -0
  534. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/common.d.ts +5 -0
  535. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/index.d.ts +2 -0
  536. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/parseJsonBody.d.ts +13 -0
  537. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/xml/parseXmlBody.d.ts +13 -0
  538. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/integ/request-handlers/request-handlers.integ.spec.ts +158 -0
  539. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/jest.config.integ.js +4 -0
  540. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/package.json +10 -8
  541. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.spec.ts +30 -0
  542. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +10 -8
  543. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/common.ts +5 -0
  544. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/index.ts +2 -0
  545. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/parseJsonBody.ts +60 -0
  546. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.ts +64 -0
  547. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
  548. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
  549. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
  550. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  551. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  552. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -12
  553. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
  554. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  555. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  556. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  557. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
  558. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
  559. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
  560. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -6
  561. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/region-config-resolver/package.json +7 -7
  562. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/package.json +7 -7
  563. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/package.json +3 -3
  564. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +2 -0
  565. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +1 -1
  566. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -1
  567. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -1
  568. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/package.json +5 -5
  569. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +39 -11
  570. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-locate-window/package.json +5 -9
  571. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  572. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  573. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/abort-controller/package.json +3 -3
  574. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/config-resolver/package.json +6 -6
  575. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/core/package.json +9 -9
  576. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +11 -1
  577. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-es/index.js +1 -0
  578. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +1 -1
  579. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +4 -0
  580. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +4 -0
  581. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/package.json +6 -6
  582. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/package.json +5 -5
  583. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/package.json +9 -9
  584. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/hash-node/package.json +5 -5
  585. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/invalid-dependency/package.json +3 -3
  586. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/is-array-buffer/package.json +2 -2
  587. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-content-length/package.json +5 -5
  588. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  589. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-cjs/index.js +1 -0
  590. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +1 -0
  591. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +7 -2
  592. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts +3 -0
  593. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +7 -2
  594. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts +3 -0
  595. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/package.json +10 -10
  596. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-cjs/index.js +5 -0
  597. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +5 -0
  598. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +5 -2
  599. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +6 -2
  600. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +5 -2
  601. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +5 -2
  602. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +6 -2
  603. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +5 -2
  604. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/package.json +4 -4
  605. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-stack/package.json +3 -3
  606. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-config-provider/package.json +5 -5
  607. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-cjs/index.js +14 -3
  608. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +30 -0
  609. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +16 -4
  610. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +2 -0
  611. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +2 -0
  612. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/package.json +6 -6
  613. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/property-provider/package.json +3 -3
  614. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/protocol-http/package.json +3 -3
  615. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/querystring-builder/package.json +4 -4
  616. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/querystring-parser/package.json +3 -3
  617. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/dist-cjs/index.js +7 -1
  618. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/dist-es/index.js +3 -1
  619. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +7 -0
  620. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +7 -0
  621. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/package.json +2 -2
  622. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +1 -1
  623. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +1 -1
  624. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/shared-ini-file-loader/package.json +3 -3
  625. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/package.json +10 -10
  626. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-cjs/index.js +2 -2
  627. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-es/command.js +2 -2
  628. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-types/command.d.ts +2 -1
  629. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +2 -1
  630. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/package.json +7 -7
  631. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/client.d.ts +2 -2
  632. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/retry.d.ts +6 -1
  633. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/serde.d.ts +10 -3
  634. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/shapes.d.ts +10 -1
  635. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +2 -7
  636. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +6 -1
  637. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +10 -3
  638. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +10 -1
  639. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +27 -7
  640. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/util.d.ts +22 -7
  641. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/package.json +2 -2
  642. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/url-parser/package.json +4 -4
  643. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +16 -1
  644. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +14 -1
  645. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js +16 -1
  646. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-es/toBase64.js +14 -1
  647. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-types/toBase64.browser.d.ts +4 -3
  648. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-types/toBase64.d.ts +4 -3
  649. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.browser.d.ts +4 -3
  650. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.d.ts +4 -3
  651. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/package.json +4 -3
  652. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-body-length-browser/package.json +2 -2
  653. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +1 -1
  654. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +1 -1
  655. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-body-length-node/package.json +2 -2
  656. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-buffer-from/package.json +3 -3
  657. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-config-provider/dist-cjs/index.js +2 -2
  658. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-config-provider/package.json +2 -2
  659. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
  660. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
  661. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/package.json +4 -4
  662. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-hex-encoding/package.json +2 -2
  663. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-middleware/package.json +3 -3
  664. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-retry/package.json +4 -4
  665. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/package.json +12 -12
  666. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-uri-escape/package.json +2 -2
  667. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-cjs/index.js +9 -1
  668. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -1
  669. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +9 -1
  670. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -1
  671. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -1
  672. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -1
  673. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -1
  674. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/package.json +3 -3
  675. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-waiter/package.json +4 -4
  676. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.d.ts +9 -4
  677. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -1
  678. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.js +5 -0
  679. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.js.map +1 -1
  680. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.d.ts +9 -4
  681. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -1
  682. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.js +5 -0
  683. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.js.map +1 -1
  684. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/package.json +1 -1
  685. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.d.ts +1107 -0
  686. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
  687. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.js +2020 -0
  688. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
  689. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/package.json +3 -0
  690. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.d.ts +1107 -0
  691. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
  692. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.js +1985 -0
  693. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.js.map +1 -0
  694. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/package.json +3 -0
  695. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/package.json +26 -28
  696. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/README.md +1 -1
  697. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/modules/index.js +5 -0
  698. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/package.json +12 -3
  699. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.d.ts +23 -0
  700. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.es6.js +80 -3
  701. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.es6.mjs +1 -1
  702. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.js +54 -3
  703. package/lib/internal-lambdas/sourceWatcherLambda/src/package-lock.json +640 -2033
  704. package/lib/internal-lambdas/sourceWatcherLambda/src/package.json +2 -2
  705. package/package.json +10 -10
@@ -0,0 +1,2020 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.PathScurry = exports.Path = exports.PathScurryDarwin = exports.PathScurryPosix = exports.PathScurryWin32 = exports.PathScurryBase = exports.PathPosix = exports.PathWin32 = exports.PathBase = exports.ChildrenCache = exports.ResolveCache = void 0;
27
+ const lru_cache_1 = require("lru-cache");
28
+ const path_1 = require("path");
29
+ const url_1 = require("url");
30
+ const actualFS = __importStar(require("fs"));
31
+ const fs_1 = require("fs");
32
+ const realpathSync = fs_1.realpathSync.native;
33
+ // TODO: test perf of fs/promises realpath vs realpathCB,
34
+ // since the promises one uses realpath.native
35
+ const promises_1 = require("fs/promises");
36
+ const minipass_1 = require("minipass");
37
+ const defaultFS = {
38
+ lstatSync: fs_1.lstatSync,
39
+ readdir: fs_1.readdir,
40
+ readdirSync: fs_1.readdirSync,
41
+ readlinkSync: fs_1.readlinkSync,
42
+ realpathSync,
43
+ promises: {
44
+ lstat: promises_1.lstat,
45
+ readdir: promises_1.readdir,
46
+ readlink: promises_1.readlink,
47
+ realpath: promises_1.realpath,
48
+ },
49
+ };
50
+ // if they just gave us require('fs') then use our default
51
+ const fsFromOption = (fsOption) => !fsOption || fsOption === defaultFS || fsOption === actualFS
52
+ ? defaultFS
53
+ : {
54
+ ...defaultFS,
55
+ ...fsOption,
56
+ promises: {
57
+ ...defaultFS.promises,
58
+ ...(fsOption.promises || {}),
59
+ },
60
+ };
61
+ // turn something like //?/c:/ into c:\
62
+ const uncDriveRegexp = /^\\\\\?\\([a-z]:)\\?$/i;
63
+ const uncToDrive = (rootPath) => rootPath.replace(/\//g, '\\').replace(uncDriveRegexp, '$1\\');
64
+ // windows paths are separated by either / or \
65
+ const eitherSep = /[\\\/]/;
66
+ const UNKNOWN = 0; // may not even exist, for all we know
67
+ const IFIFO = 0b0001;
68
+ const IFCHR = 0b0010;
69
+ const IFDIR = 0b0100;
70
+ const IFBLK = 0b0110;
71
+ const IFREG = 0b1000;
72
+ const IFLNK = 0b1010;
73
+ const IFSOCK = 0b1100;
74
+ const IFMT = 0b1111;
75
+ // mask to unset low 4 bits
76
+ const IFMT_UNKNOWN = ~IFMT;
77
+ // set after successfully calling readdir() and getting entries.
78
+ const READDIR_CALLED = 0b0000_0001_0000;
79
+ // set after a successful lstat()
80
+ const LSTAT_CALLED = 0b0000_0010_0000;
81
+ // set if an entry (or one of its parents) is definitely not a dir
82
+ const ENOTDIR = 0b0000_0100_0000;
83
+ // set if an entry (or one of its parents) does not exist
84
+ // (can also be set on lstat errors like EACCES or ENAMETOOLONG)
85
+ const ENOENT = 0b0000_1000_0000;
86
+ // cannot have child entries -- also verify &IFMT is either IFDIR or IFLNK
87
+ // set if we fail to readlink
88
+ const ENOREADLINK = 0b0001_0000_0000;
89
+ // set if we know realpath() will fail
90
+ const ENOREALPATH = 0b0010_0000_0000;
91
+ const ENOCHILD = ENOTDIR | ENOENT | ENOREALPATH;
92
+ const TYPEMASK = 0b0011_1111_1111;
93
+ const entToType = (s) => s.isFile()
94
+ ? IFREG
95
+ : s.isDirectory()
96
+ ? IFDIR
97
+ : s.isSymbolicLink()
98
+ ? IFLNK
99
+ : s.isCharacterDevice()
100
+ ? IFCHR
101
+ : s.isBlockDevice()
102
+ ? IFBLK
103
+ : s.isSocket()
104
+ ? IFSOCK
105
+ : s.isFIFO()
106
+ ? IFIFO
107
+ : UNKNOWN;
108
+ // normalize unicode path names
109
+ const normalizeCache = new Map();
110
+ const normalize = (s) => {
111
+ const c = normalizeCache.get(s);
112
+ if (c)
113
+ return c;
114
+ const n = s.normalize('NFKD');
115
+ normalizeCache.set(s, n);
116
+ return n;
117
+ };
118
+ const normalizeNocaseCache = new Map();
119
+ const normalizeNocase = (s) => {
120
+ const c = normalizeNocaseCache.get(s);
121
+ if (c)
122
+ return c;
123
+ const n = normalize(s.toLowerCase());
124
+ normalizeNocaseCache.set(s, n);
125
+ return n;
126
+ };
127
+ /**
128
+ * An LRUCache for storing resolved path strings or Path objects.
129
+ * @internal
130
+ */
131
+ class ResolveCache extends lru_cache_1.LRUCache {
132
+ constructor() {
133
+ super({ max: 256 });
134
+ }
135
+ }
136
+ exports.ResolveCache = ResolveCache;
137
+ // In order to prevent blowing out the js heap by allocating hundreds of
138
+ // thousands of Path entries when walking extremely large trees, the "children"
139
+ // in this tree are represented by storing an array of Path entries in an
140
+ // LRUCache, indexed by the parent. At any time, Path.children() may return an
141
+ // empty array, indicating that it doesn't know about any of its children, and
142
+ // thus has to rebuild that cache. This is fine, it just means that we don't
143
+ // benefit as much from having the cached entries, but huge directory walks
144
+ // don't blow out the stack, and smaller ones are still as fast as possible.
145
+ //
146
+ //It does impose some complexity when building up the readdir data, because we
147
+ //need to pass a reference to the children array that we started with.
148
+ /**
149
+ * an LRUCache for storing child entries.
150
+ * @internal
151
+ */
152
+ class ChildrenCache extends lru_cache_1.LRUCache {
153
+ constructor(maxSize = 16 * 1024) {
154
+ super({
155
+ maxSize,
156
+ // parent + children
157
+ sizeCalculation: a => a.length + 1,
158
+ });
159
+ }
160
+ }
161
+ exports.ChildrenCache = ChildrenCache;
162
+ const setAsCwd = Symbol('PathScurry setAsCwd');
163
+ /**
164
+ * Path objects are sort of like a super-powered
165
+ * {@link https://nodejs.org/docs/latest/api/fs.html#class-fsdirent fs.Dirent}
166
+ *
167
+ * Each one represents a single filesystem entry on disk, which may or may not
168
+ * exist. It includes methods for reading various types of information via
169
+ * lstat, readlink, and readdir, and caches all information to the greatest
170
+ * degree possible.
171
+ *
172
+ * Note that fs operations that would normally throw will instead return an
173
+ * "empty" value. This is in order to prevent excessive overhead from error
174
+ * stack traces.
175
+ */
176
+ class PathBase {
177
+ /**
178
+ * the basename of this path
179
+ *
180
+ * **Important**: *always* test the path name against any test string
181
+ * usingthe {@link isNamed} method, and not by directly comparing this
182
+ * string. Otherwise, unicode path strings that the system sees as identical
183
+ * will not be properly treated as the same path, leading to incorrect
184
+ * behavior and possible security issues.
185
+ */
186
+ name;
187
+ /**
188
+ * the Path entry corresponding to the path root.
189
+ *
190
+ * @internal
191
+ */
192
+ root;
193
+ /**
194
+ * All roots found within the current PathScurry family
195
+ *
196
+ * @internal
197
+ */
198
+ roots;
199
+ /**
200
+ * a reference to the parent path, or undefined in the case of root entries
201
+ *
202
+ * @internal
203
+ */
204
+ parent;
205
+ /**
206
+ * boolean indicating whether paths are compared case-insensitively
207
+ * @internal
208
+ */
209
+ nocase;
210
+ // potential default fs override
211
+ #fs;
212
+ // Stats fields
213
+ #dev;
214
+ get dev() {
215
+ return this.#dev;
216
+ }
217
+ #mode;
218
+ get mode() {
219
+ return this.#mode;
220
+ }
221
+ #nlink;
222
+ get nlink() {
223
+ return this.#nlink;
224
+ }
225
+ #uid;
226
+ get uid() {
227
+ return this.#uid;
228
+ }
229
+ #gid;
230
+ get gid() {
231
+ return this.#gid;
232
+ }
233
+ #rdev;
234
+ get rdev() {
235
+ return this.#rdev;
236
+ }
237
+ #blksize;
238
+ get blksize() {
239
+ return this.#blksize;
240
+ }
241
+ #ino;
242
+ get ino() {
243
+ return this.#ino;
244
+ }
245
+ #size;
246
+ get size() {
247
+ return this.#size;
248
+ }
249
+ #blocks;
250
+ get blocks() {
251
+ return this.#blocks;
252
+ }
253
+ #atimeMs;
254
+ get atimeMs() {
255
+ return this.#atimeMs;
256
+ }
257
+ #mtimeMs;
258
+ get mtimeMs() {
259
+ return this.#mtimeMs;
260
+ }
261
+ #ctimeMs;
262
+ get ctimeMs() {
263
+ return this.#ctimeMs;
264
+ }
265
+ #birthtimeMs;
266
+ get birthtimeMs() {
267
+ return this.#birthtimeMs;
268
+ }
269
+ #atime;
270
+ get atime() {
271
+ return this.#atime;
272
+ }
273
+ #mtime;
274
+ get mtime() {
275
+ return this.#mtime;
276
+ }
277
+ #ctime;
278
+ get ctime() {
279
+ return this.#ctime;
280
+ }
281
+ #birthtime;
282
+ get birthtime() {
283
+ return this.#birthtime;
284
+ }
285
+ #matchName;
286
+ #depth;
287
+ #fullpath;
288
+ #fullpathPosix;
289
+ #relative;
290
+ #relativePosix;
291
+ #type;
292
+ #children;
293
+ #linkTarget;
294
+ #realpath;
295
+ /**
296
+ * This property is for compatibility with the Dirent class as of
297
+ * Node v20, where Dirent['path'] refers to the path of the directory
298
+ * that was passed to readdir. So, somewhat counterintuitively, this
299
+ * property refers to the *parent* path, not the path object itself.
300
+ * For root entries, it's the path to the entry itself.
301
+ */
302
+ get path() {
303
+ return (this.parent || this).fullpath();
304
+ }
305
+ /**
306
+ * Do not create new Path objects directly. They should always be accessed
307
+ * via the PathScurry class or other methods on the Path class.
308
+ *
309
+ * @internal
310
+ */
311
+ constructor(name, type = UNKNOWN, root, roots, nocase, children, opts) {
312
+ this.name = name;
313
+ this.#matchName = nocase ? normalizeNocase(name) : normalize(name);
314
+ this.#type = type & TYPEMASK;
315
+ this.nocase = nocase;
316
+ this.roots = roots;
317
+ this.root = root || this;
318
+ this.#children = children;
319
+ this.#fullpath = opts.fullpath;
320
+ this.#relative = opts.relative;
321
+ this.#relativePosix = opts.relativePosix;
322
+ this.parent = opts.parent;
323
+ if (this.parent) {
324
+ this.#fs = this.parent.#fs;
325
+ }
326
+ else {
327
+ this.#fs = fsFromOption(opts.fs);
328
+ }
329
+ }
330
+ /**
331
+ * Returns the depth of the Path object from its root.
332
+ *
333
+ * For example, a path at `/foo/bar` would have a depth of 2.
334
+ */
335
+ depth() {
336
+ if (this.#depth !== undefined)
337
+ return this.#depth;
338
+ if (!this.parent)
339
+ return (this.#depth = 0);
340
+ return (this.#depth = this.parent.depth() + 1);
341
+ }
342
+ /**
343
+ * @internal
344
+ */
345
+ childrenCache() {
346
+ return this.#children;
347
+ }
348
+ /**
349
+ * Get the Path object referenced by the string path, resolved from this Path
350
+ */
351
+ resolve(path) {
352
+ if (!path) {
353
+ return this;
354
+ }
355
+ const rootPath = this.getRootString(path);
356
+ const dir = path.substring(rootPath.length);
357
+ const dirParts = dir.split(this.splitSep);
358
+ const result = rootPath
359
+ ? this.getRoot(rootPath).#resolveParts(dirParts)
360
+ : this.#resolveParts(dirParts);
361
+ return result;
362
+ }
363
+ #resolveParts(dirParts) {
364
+ let p = this;
365
+ for (const part of dirParts) {
366
+ p = p.child(part);
367
+ }
368
+ return p;
369
+ }
370
+ /**
371
+ * Returns the cached children Path objects, if still available. If they
372
+ * have fallen out of the cache, then returns an empty array, and resets the
373
+ * READDIR_CALLED bit, so that future calls to readdir() will require an fs
374
+ * lookup.
375
+ *
376
+ * @internal
377
+ */
378
+ children() {
379
+ const cached = this.#children.get(this);
380
+ if (cached) {
381
+ return cached;
382
+ }
383
+ const children = Object.assign([], { provisional: 0 });
384
+ this.#children.set(this, children);
385
+ this.#type &= ~READDIR_CALLED;
386
+ return children;
387
+ }
388
+ /**
389
+ * Resolves a path portion and returns or creates the child Path.
390
+ *
391
+ * Returns `this` if pathPart is `''` or `'.'`, or `parent` if pathPart is
392
+ * `'..'`.
393
+ *
394
+ * This should not be called directly. If `pathPart` contains any path
395
+ * separators, it will lead to unsafe undefined behavior.
396
+ *
397
+ * Use `Path.resolve()` instead.
398
+ *
399
+ * @internal
400
+ */
401
+ child(pathPart, opts) {
402
+ if (pathPart === '' || pathPart === '.') {
403
+ return this;
404
+ }
405
+ if (pathPart === '..') {
406
+ return this.parent || this;
407
+ }
408
+ // find the child
409
+ const children = this.children();
410
+ const name = this.nocase
411
+ ? normalizeNocase(pathPart)
412
+ : normalize(pathPart);
413
+ for (const p of children) {
414
+ if (p.#matchName === name) {
415
+ return p;
416
+ }
417
+ }
418
+ // didn't find it, create provisional child, since it might not
419
+ // actually exist. If we know the parent isn't a dir, then
420
+ // in fact it CAN'T exist.
421
+ const s = this.parent ? this.sep : '';
422
+ const fullpath = this.#fullpath
423
+ ? this.#fullpath + s + pathPart
424
+ : undefined;
425
+ const pchild = this.newChild(pathPart, UNKNOWN, {
426
+ ...opts,
427
+ parent: this,
428
+ fullpath,
429
+ });
430
+ if (!this.canReaddir()) {
431
+ pchild.#type |= ENOENT;
432
+ }
433
+ // don't have to update provisional, because if we have real children,
434
+ // then provisional is set to children.length, otherwise a lower number
435
+ children.push(pchild);
436
+ return pchild;
437
+ }
438
+ /**
439
+ * The relative path from the cwd. If it does not share an ancestor with
440
+ * the cwd, then this ends up being equivalent to the fullpath()
441
+ */
442
+ relative() {
443
+ if (this.#relative !== undefined) {
444
+ return this.#relative;
445
+ }
446
+ const name = this.name;
447
+ const p = this.parent;
448
+ if (!p) {
449
+ return (this.#relative = this.name);
450
+ }
451
+ const pv = p.relative();
452
+ return pv + (!pv || !p.parent ? '' : this.sep) + name;
453
+ }
454
+ /**
455
+ * The relative path from the cwd, using / as the path separator.
456
+ * If it does not share an ancestor with
457
+ * the cwd, then this ends up being equivalent to the fullpathPosix()
458
+ * On posix systems, this is identical to relative().
459
+ */
460
+ relativePosix() {
461
+ if (this.sep === '/')
462
+ return this.relative();
463
+ if (this.#relativePosix !== undefined)
464
+ return this.#relativePosix;
465
+ const name = this.name;
466
+ const p = this.parent;
467
+ if (!p) {
468
+ return (this.#relativePosix = this.fullpathPosix());
469
+ }
470
+ const pv = p.relativePosix();
471
+ return pv + (!pv || !p.parent ? '' : '/') + name;
472
+ }
473
+ /**
474
+ * The fully resolved path string for this Path entry
475
+ */
476
+ fullpath() {
477
+ if (this.#fullpath !== undefined) {
478
+ return this.#fullpath;
479
+ }
480
+ const name = this.name;
481
+ const p = this.parent;
482
+ if (!p) {
483
+ return (this.#fullpath = this.name);
484
+ }
485
+ const pv = p.fullpath();
486
+ const fp = pv + (!p.parent ? '' : this.sep) + name;
487
+ return (this.#fullpath = fp);
488
+ }
489
+ /**
490
+ * On platforms other than windows, this is identical to fullpath.
491
+ *
492
+ * On windows, this is overridden to return the forward-slash form of the
493
+ * full UNC path.
494
+ */
495
+ fullpathPosix() {
496
+ if (this.#fullpathPosix !== undefined)
497
+ return this.#fullpathPosix;
498
+ if (this.sep === '/')
499
+ return (this.#fullpathPosix = this.fullpath());
500
+ if (!this.parent) {
501
+ const p = this.fullpath().replace(/\\/g, '/');
502
+ if (/^[a-z]:\//i.test(p)) {
503
+ return (this.#fullpathPosix = `//?/${p}`);
504
+ }
505
+ else {
506
+ return (this.#fullpathPosix = p);
507
+ }
508
+ }
509
+ const p = this.parent;
510
+ const pfpp = p.fullpathPosix();
511
+ const fpp = pfpp + (!pfpp || !p.parent ? '' : '/') + this.name;
512
+ return (this.#fullpathPosix = fpp);
513
+ }
514
+ /**
515
+ * Is the Path of an unknown type?
516
+ *
517
+ * Note that we might know *something* about it if there has been a previous
518
+ * filesystem operation, for example that it does not exist, or is not a
519
+ * link, or whether it has child entries.
520
+ */
521
+ isUnknown() {
522
+ return (this.#type & IFMT) === UNKNOWN;
523
+ }
524
+ isType(type) {
525
+ return this[`is${type}`]();
526
+ }
527
+ getType() {
528
+ return this.isUnknown()
529
+ ? 'Unknown'
530
+ : this.isDirectory()
531
+ ? 'Directory'
532
+ : this.isFile()
533
+ ? 'File'
534
+ : this.isSymbolicLink()
535
+ ? 'SymbolicLink'
536
+ : this.isFIFO()
537
+ ? 'FIFO'
538
+ : this.isCharacterDevice()
539
+ ? 'CharacterDevice'
540
+ : this.isBlockDevice()
541
+ ? 'BlockDevice'
542
+ : /* c8 ignore start */ this.isSocket()
543
+ ? 'Socket'
544
+ : 'Unknown';
545
+ /* c8 ignore stop */
546
+ }
547
+ /**
548
+ * Is the Path a regular file?
549
+ */
550
+ isFile() {
551
+ return (this.#type & IFMT) === IFREG;
552
+ }
553
+ /**
554
+ * Is the Path a directory?
555
+ */
556
+ isDirectory() {
557
+ return (this.#type & IFMT) === IFDIR;
558
+ }
559
+ /**
560
+ * Is the path a character device?
561
+ */
562
+ isCharacterDevice() {
563
+ return (this.#type & IFMT) === IFCHR;
564
+ }
565
+ /**
566
+ * Is the path a block device?
567
+ */
568
+ isBlockDevice() {
569
+ return (this.#type & IFMT) === IFBLK;
570
+ }
571
+ /**
572
+ * Is the path a FIFO pipe?
573
+ */
574
+ isFIFO() {
575
+ return (this.#type & IFMT) === IFIFO;
576
+ }
577
+ /**
578
+ * Is the path a socket?
579
+ */
580
+ isSocket() {
581
+ return (this.#type & IFMT) === IFSOCK;
582
+ }
583
+ /**
584
+ * Is the path a symbolic link?
585
+ */
586
+ isSymbolicLink() {
587
+ return (this.#type & IFLNK) === IFLNK;
588
+ }
589
+ /**
590
+ * Return the entry if it has been subject of a successful lstat, or
591
+ * undefined otherwise.
592
+ *
593
+ * Does not read the filesystem, so an undefined result *could* simply
594
+ * mean that we haven't called lstat on it.
595
+ */
596
+ lstatCached() {
597
+ return this.#type & LSTAT_CALLED ? this : undefined;
598
+ }
599
+ /**
600
+ * Return the cached link target if the entry has been the subject of a
601
+ * successful readlink, or undefined otherwise.
602
+ *
603
+ * Does not read the filesystem, so an undefined result *could* just mean we
604
+ * don't have any cached data. Only use it if you are very sure that a
605
+ * readlink() has been called at some point.
606
+ */
607
+ readlinkCached() {
608
+ return this.#linkTarget;
609
+ }
610
+ /**
611
+ * Returns the cached realpath target if the entry has been the subject
612
+ * of a successful realpath, or undefined otherwise.
613
+ *
614
+ * Does not read the filesystem, so an undefined result *could* just mean we
615
+ * don't have any cached data. Only use it if you are very sure that a
616
+ * realpath() has been called at some point.
617
+ */
618
+ realpathCached() {
619
+ return this.#realpath;
620
+ }
621
+ /**
622
+ * Returns the cached child Path entries array if the entry has been the
623
+ * subject of a successful readdir(), or [] otherwise.
624
+ *
625
+ * Does not read the filesystem, so an empty array *could* just mean we
626
+ * don't have any cached data. Only use it if you are very sure that a
627
+ * readdir() has been called recently enough to still be valid.
628
+ */
629
+ readdirCached() {
630
+ const children = this.children();
631
+ return children.slice(0, children.provisional);
632
+ }
633
+ /**
634
+ * Return true if it's worth trying to readlink. Ie, we don't (yet) have
635
+ * any indication that readlink will definitely fail.
636
+ *
637
+ * Returns false if the path is known to not be a symlink, if a previous
638
+ * readlink failed, or if the entry does not exist.
639
+ */
640
+ canReadlink() {
641
+ if (this.#linkTarget)
642
+ return true;
643
+ if (!this.parent)
644
+ return false;
645
+ // cases where it cannot possibly succeed
646
+ const ifmt = this.#type & IFMT;
647
+ return !((ifmt !== UNKNOWN && ifmt !== IFLNK) ||
648
+ this.#type & ENOREADLINK ||
649
+ this.#type & ENOENT);
650
+ }
651
+ /**
652
+ * Return true if readdir has previously been successfully called on this
653
+ * path, indicating that cachedReaddir() is likely valid.
654
+ */
655
+ calledReaddir() {
656
+ return !!(this.#type & READDIR_CALLED);
657
+ }
658
+ /**
659
+ * Returns true if the path is known to not exist. That is, a previous lstat
660
+ * or readdir failed to verify its existence when that would have been
661
+ * expected, or a parent entry was marked either enoent or enotdir.
662
+ */
663
+ isENOENT() {
664
+ return !!(this.#type & ENOENT);
665
+ }
666
+ /**
667
+ * Return true if the path is a match for the given path name. This handles
668
+ * case sensitivity and unicode normalization.
669
+ *
670
+ * Note: even on case-sensitive systems, it is **not** safe to test the
671
+ * equality of the `.name` property to determine whether a given pathname
672
+ * matches, due to unicode normalization mismatches.
673
+ *
674
+ * Always use this method instead of testing the `path.name` property
675
+ * directly.
676
+ */
677
+ isNamed(n) {
678
+ return !this.nocase
679
+ ? this.#matchName === normalize(n)
680
+ : this.#matchName === normalizeNocase(n);
681
+ }
682
+ /**
683
+ * Return the Path object corresponding to the target of a symbolic link.
684
+ *
685
+ * If the Path is not a symbolic link, or if the readlink call fails for any
686
+ * reason, `undefined` is returned.
687
+ *
688
+ * Result is cached, and thus may be outdated if the filesystem is mutated.
689
+ */
690
+ async readlink() {
691
+ const target = this.#linkTarget;
692
+ if (target) {
693
+ return target;
694
+ }
695
+ if (!this.canReadlink()) {
696
+ return undefined;
697
+ }
698
+ /* c8 ignore start */
699
+ // already covered by the canReadlink test, here for ts grumples
700
+ if (!this.parent) {
701
+ return undefined;
702
+ }
703
+ /* c8 ignore stop */
704
+ try {
705
+ const read = await this.#fs.promises.readlink(this.fullpath());
706
+ const linkTarget = (await this.parent.realpath())?.resolve(read);
707
+ if (linkTarget) {
708
+ return (this.#linkTarget = linkTarget);
709
+ }
710
+ }
711
+ catch (er) {
712
+ this.#readlinkFail(er.code);
713
+ return undefined;
714
+ }
715
+ }
716
+ /**
717
+ * Synchronous {@link PathBase.readlink}
718
+ */
719
+ readlinkSync() {
720
+ const target = this.#linkTarget;
721
+ if (target) {
722
+ return target;
723
+ }
724
+ if (!this.canReadlink()) {
725
+ return undefined;
726
+ }
727
+ /* c8 ignore start */
728
+ // already covered by the canReadlink test, here for ts grumples
729
+ if (!this.parent) {
730
+ return undefined;
731
+ }
732
+ /* c8 ignore stop */
733
+ try {
734
+ const read = this.#fs.readlinkSync(this.fullpath());
735
+ const linkTarget = (this.parent.realpathSync())?.resolve(read);
736
+ if (linkTarget) {
737
+ return (this.#linkTarget = linkTarget);
738
+ }
739
+ }
740
+ catch (er) {
741
+ this.#readlinkFail(er.code);
742
+ return undefined;
743
+ }
744
+ }
745
+ #readdirSuccess(children) {
746
+ // succeeded, mark readdir called bit
747
+ this.#type |= READDIR_CALLED;
748
+ // mark all remaining provisional children as ENOENT
749
+ for (let p = children.provisional; p < children.length; p++) {
750
+ const c = children[p];
751
+ if (c)
752
+ c.#markENOENT();
753
+ }
754
+ }
755
+ #markENOENT() {
756
+ // mark as UNKNOWN and ENOENT
757
+ if (this.#type & ENOENT)
758
+ return;
759
+ this.#type = (this.#type | ENOENT) & IFMT_UNKNOWN;
760
+ this.#markChildrenENOENT();
761
+ }
762
+ #markChildrenENOENT() {
763
+ // all children are provisional and do not exist
764
+ const children = this.children();
765
+ children.provisional = 0;
766
+ for (const p of children) {
767
+ p.#markENOENT();
768
+ }
769
+ }
770
+ #markENOREALPATH() {
771
+ this.#type |= ENOREALPATH;
772
+ this.#markENOTDIR();
773
+ }
774
+ // save the information when we know the entry is not a dir
775
+ #markENOTDIR() {
776
+ // entry is not a directory, so any children can't exist.
777
+ // this *should* be impossible, since any children created
778
+ // after it's been marked ENOTDIR should be marked ENOENT,
779
+ // so it won't even get to this point.
780
+ /* c8 ignore start */
781
+ if (this.#type & ENOTDIR)
782
+ return;
783
+ /* c8 ignore stop */
784
+ let t = this.#type;
785
+ // this could happen if we stat a dir, then delete it,
786
+ // then try to read it or one of its children.
787
+ if ((t & IFMT) === IFDIR)
788
+ t &= IFMT_UNKNOWN;
789
+ this.#type = t | ENOTDIR;
790
+ this.#markChildrenENOENT();
791
+ }
792
+ #readdirFail(code = '') {
793
+ // markENOTDIR and markENOENT also set provisional=0
794
+ if (code === 'ENOTDIR' || code === 'EPERM') {
795
+ this.#markENOTDIR();
796
+ }
797
+ else if (code === 'ENOENT') {
798
+ this.#markENOENT();
799
+ }
800
+ else {
801
+ this.children().provisional = 0;
802
+ }
803
+ }
804
+ #lstatFail(code = '') {
805
+ // Windows just raises ENOENT in this case, disable for win CI
806
+ /* c8 ignore start */
807
+ if (code === 'ENOTDIR') {
808
+ // already know it has a parent by this point
809
+ const p = this.parent;
810
+ p.#markENOTDIR();
811
+ }
812
+ else if (code === 'ENOENT') {
813
+ /* c8 ignore stop */
814
+ this.#markENOENT();
815
+ }
816
+ }
817
+ #readlinkFail(code = '') {
818
+ let ter = this.#type;
819
+ ter |= ENOREADLINK;
820
+ if (code === 'ENOENT')
821
+ ter |= ENOENT;
822
+ // windows gets a weird error when you try to readlink a file
823
+ if (code === 'EINVAL' || code === 'UNKNOWN') {
824
+ // exists, but not a symlink, we don't know WHAT it is, so remove
825
+ // all IFMT bits.
826
+ ter &= IFMT_UNKNOWN;
827
+ }
828
+ this.#type = ter;
829
+ // windows just gets ENOENT in this case. We do cover the case,
830
+ // just disabled because it's impossible on Windows CI
831
+ /* c8 ignore start */
832
+ if (code === 'ENOTDIR' && this.parent) {
833
+ this.parent.#markENOTDIR();
834
+ }
835
+ /* c8 ignore stop */
836
+ }
837
+ #readdirAddChild(e, c) {
838
+ return (this.#readdirMaybePromoteChild(e, c) ||
839
+ this.#readdirAddNewChild(e, c));
840
+ }
841
+ #readdirAddNewChild(e, c) {
842
+ // alloc new entry at head, so it's never provisional
843
+ const type = entToType(e);
844
+ const child = this.newChild(e.name, type, { parent: this });
845
+ const ifmt = child.#type & IFMT;
846
+ if (ifmt !== IFDIR && ifmt !== IFLNK && ifmt !== UNKNOWN) {
847
+ child.#type |= ENOTDIR;
848
+ }
849
+ c.unshift(child);
850
+ c.provisional++;
851
+ return child;
852
+ }
853
+ #readdirMaybePromoteChild(e, c) {
854
+ for (let p = c.provisional; p < c.length; p++) {
855
+ const pchild = c[p];
856
+ const name = this.nocase
857
+ ? normalizeNocase(e.name)
858
+ : normalize(e.name);
859
+ if (name !== pchild.#matchName) {
860
+ continue;
861
+ }
862
+ return this.#readdirPromoteChild(e, pchild, p, c);
863
+ }
864
+ }
865
+ #readdirPromoteChild(e, p, index, c) {
866
+ const v = p.name;
867
+ // retain any other flags, but set ifmt from dirent
868
+ p.#type = (p.#type & IFMT_UNKNOWN) | entToType(e);
869
+ // case sensitivity fixing when we learn the true name.
870
+ if (v !== e.name)
871
+ p.name = e.name;
872
+ // just advance provisional index (potentially off the list),
873
+ // otherwise we have to splice/pop it out and re-insert at head
874
+ if (index !== c.provisional) {
875
+ if (index === c.length - 1)
876
+ c.pop();
877
+ else
878
+ c.splice(index, 1);
879
+ c.unshift(p);
880
+ }
881
+ c.provisional++;
882
+ return p;
883
+ }
884
+ /**
885
+ * Call lstat() on this Path, and update all known information that can be
886
+ * determined.
887
+ *
888
+ * Note that unlike `fs.lstat()`, the returned value does not contain some
889
+ * information, such as `mode`, `dev`, `nlink`, and `ino`. If that
890
+ * information is required, you will need to call `fs.lstat` yourself.
891
+ *
892
+ * If the Path refers to a nonexistent file, or if the lstat call fails for
893
+ * any reason, `undefined` is returned. Otherwise the updated Path object is
894
+ * returned.
895
+ *
896
+ * Results are cached, and thus may be out of date if the filesystem is
897
+ * mutated.
898
+ */
899
+ async lstat() {
900
+ if ((this.#type & ENOENT) === 0) {
901
+ try {
902
+ this.#applyStat(await this.#fs.promises.lstat(this.fullpath()));
903
+ return this;
904
+ }
905
+ catch (er) {
906
+ this.#lstatFail(er.code);
907
+ }
908
+ }
909
+ }
910
+ /**
911
+ * synchronous {@link PathBase.lstat}
912
+ */
913
+ lstatSync() {
914
+ if ((this.#type & ENOENT) === 0) {
915
+ try {
916
+ this.#applyStat(this.#fs.lstatSync(this.fullpath()));
917
+ return this;
918
+ }
919
+ catch (er) {
920
+ this.#lstatFail(er.code);
921
+ }
922
+ }
923
+ }
924
+ #applyStat(st) {
925
+ const { atime, atimeMs, birthtime, birthtimeMs, blksize, blocks, ctime, ctimeMs, dev, gid, ino, mode, mtime, mtimeMs, nlink, rdev, size, uid, } = st;
926
+ this.#atime = atime;
927
+ this.#atimeMs = atimeMs;
928
+ this.#birthtime = birthtime;
929
+ this.#birthtimeMs = birthtimeMs;
930
+ this.#blksize = blksize;
931
+ this.#blocks = blocks;
932
+ this.#ctime = ctime;
933
+ this.#ctimeMs = ctimeMs;
934
+ this.#dev = dev;
935
+ this.#gid = gid;
936
+ this.#ino = ino;
937
+ this.#mode = mode;
938
+ this.#mtime = mtime;
939
+ this.#mtimeMs = mtimeMs;
940
+ this.#nlink = nlink;
941
+ this.#rdev = rdev;
942
+ this.#size = size;
943
+ this.#uid = uid;
944
+ const ifmt = entToType(st);
945
+ // retain any other flags, but set the ifmt
946
+ this.#type = (this.#type & IFMT_UNKNOWN) | ifmt | LSTAT_CALLED;
947
+ if (ifmt !== UNKNOWN && ifmt !== IFDIR && ifmt !== IFLNK) {
948
+ this.#type |= ENOTDIR;
949
+ }
950
+ }
951
+ #onReaddirCB = [];
952
+ #readdirCBInFlight = false;
953
+ #callOnReaddirCB(children) {
954
+ this.#readdirCBInFlight = false;
955
+ const cbs = this.#onReaddirCB.slice();
956
+ this.#onReaddirCB.length = 0;
957
+ cbs.forEach(cb => cb(null, children));
958
+ }
959
+ /**
960
+ * Standard node-style callback interface to get list of directory entries.
961
+ *
962
+ * If the Path cannot or does not contain any children, then an empty array
963
+ * is returned.
964
+ *
965
+ * Results are cached, and thus may be out of date if the filesystem is
966
+ * mutated.
967
+ *
968
+ * @param cb The callback called with (er, entries). Note that the `er`
969
+ * param is somewhat extraneous, as all readdir() errors are handled and
970
+ * simply result in an empty set of entries being returned.
971
+ * @param allowZalgo Boolean indicating that immediately known results should
972
+ * *not* be deferred with `queueMicrotask`. Defaults to `false`. Release
973
+ * zalgo at your peril, the dark pony lord is devious and unforgiving.
974
+ */
975
+ readdirCB(cb, allowZalgo = false) {
976
+ if (!this.canReaddir()) {
977
+ if (allowZalgo)
978
+ cb(null, []);
979
+ else
980
+ queueMicrotask(() => cb(null, []));
981
+ return;
982
+ }
983
+ const children = this.children();
984
+ if (this.calledReaddir()) {
985
+ const c = children.slice(0, children.provisional);
986
+ if (allowZalgo)
987
+ cb(null, c);
988
+ else
989
+ queueMicrotask(() => cb(null, c));
990
+ return;
991
+ }
992
+ // don't have to worry about zalgo at this point.
993
+ this.#onReaddirCB.push(cb);
994
+ if (this.#readdirCBInFlight) {
995
+ return;
996
+ }
997
+ this.#readdirCBInFlight = true;
998
+ // else read the directory, fill up children
999
+ // de-provisionalize any provisional children.
1000
+ const fullpath = this.fullpath();
1001
+ this.#fs.readdir(fullpath, { withFileTypes: true }, (er, entries) => {
1002
+ if (er) {
1003
+ this.#readdirFail(er.code);
1004
+ children.provisional = 0;
1005
+ }
1006
+ else {
1007
+ // if we didn't get an error, we always get entries.
1008
+ //@ts-ignore
1009
+ for (const e of entries) {
1010
+ this.#readdirAddChild(e, children);
1011
+ }
1012
+ this.#readdirSuccess(children);
1013
+ }
1014
+ this.#callOnReaddirCB(children.slice(0, children.provisional));
1015
+ return;
1016
+ });
1017
+ }
1018
+ #asyncReaddirInFlight;
1019
+ /**
1020
+ * Return an array of known child entries.
1021
+ *
1022
+ * If the Path cannot or does not contain any children, then an empty array
1023
+ * is returned.
1024
+ *
1025
+ * Results are cached, and thus may be out of date if the filesystem is
1026
+ * mutated.
1027
+ */
1028
+ async readdir() {
1029
+ if (!this.canReaddir()) {
1030
+ return [];
1031
+ }
1032
+ const children = this.children();
1033
+ if (this.calledReaddir()) {
1034
+ return children.slice(0, children.provisional);
1035
+ }
1036
+ // else read the directory, fill up children
1037
+ // de-provisionalize any provisional children.
1038
+ const fullpath = this.fullpath();
1039
+ if (this.#asyncReaddirInFlight) {
1040
+ await this.#asyncReaddirInFlight;
1041
+ }
1042
+ else {
1043
+ /* c8 ignore start */
1044
+ let resolve = () => { };
1045
+ /* c8 ignore stop */
1046
+ this.#asyncReaddirInFlight = new Promise(res => (resolve = res));
1047
+ try {
1048
+ for (const e of await this.#fs.promises.readdir(fullpath, {
1049
+ withFileTypes: true,
1050
+ })) {
1051
+ this.#readdirAddChild(e, children);
1052
+ }
1053
+ this.#readdirSuccess(children);
1054
+ }
1055
+ catch (er) {
1056
+ this.#readdirFail(er.code);
1057
+ children.provisional = 0;
1058
+ }
1059
+ this.#asyncReaddirInFlight = undefined;
1060
+ resolve();
1061
+ }
1062
+ return children.slice(0, children.provisional);
1063
+ }
1064
+ /**
1065
+ * synchronous {@link PathBase.readdir}
1066
+ */
1067
+ readdirSync() {
1068
+ if (!this.canReaddir()) {
1069
+ return [];
1070
+ }
1071
+ const children = this.children();
1072
+ if (this.calledReaddir()) {
1073
+ return children.slice(0, children.provisional);
1074
+ }
1075
+ // else read the directory, fill up children
1076
+ // de-provisionalize any provisional children.
1077
+ const fullpath = this.fullpath();
1078
+ try {
1079
+ for (const e of this.#fs.readdirSync(fullpath, {
1080
+ withFileTypes: true,
1081
+ })) {
1082
+ this.#readdirAddChild(e, children);
1083
+ }
1084
+ this.#readdirSuccess(children);
1085
+ }
1086
+ catch (er) {
1087
+ this.#readdirFail(er.code);
1088
+ children.provisional = 0;
1089
+ }
1090
+ return children.slice(0, children.provisional);
1091
+ }
1092
+ canReaddir() {
1093
+ if (this.#type & ENOCHILD)
1094
+ return false;
1095
+ const ifmt = IFMT & this.#type;
1096
+ // we always set ENOTDIR when setting IFMT, so should be impossible
1097
+ /* c8 ignore start */
1098
+ if (!(ifmt === UNKNOWN || ifmt === IFDIR || ifmt === IFLNK)) {
1099
+ return false;
1100
+ }
1101
+ /* c8 ignore stop */
1102
+ return true;
1103
+ }
1104
+ shouldWalk(dirs, walkFilter) {
1105
+ return ((this.#type & IFDIR) === IFDIR &&
1106
+ !(this.#type & ENOCHILD) &&
1107
+ !dirs.has(this) &&
1108
+ (!walkFilter || walkFilter(this)));
1109
+ }
1110
+ /**
1111
+ * Return the Path object corresponding to path as resolved
1112
+ * by realpath(3).
1113
+ *
1114
+ * If the realpath call fails for any reason, `undefined` is returned.
1115
+ *
1116
+ * Result is cached, and thus may be outdated if the filesystem is mutated.
1117
+ * On success, returns a Path object.
1118
+ */
1119
+ async realpath() {
1120
+ if (this.#realpath)
1121
+ return this.#realpath;
1122
+ if ((ENOREALPATH | ENOREADLINK | ENOENT) & this.#type)
1123
+ return undefined;
1124
+ try {
1125
+ const rp = await this.#fs.promises.realpath(this.fullpath());
1126
+ return (this.#realpath = this.resolve(rp));
1127
+ }
1128
+ catch (_) {
1129
+ this.#markENOREALPATH();
1130
+ }
1131
+ }
1132
+ /**
1133
+ * Synchronous {@link realpath}
1134
+ */
1135
+ realpathSync() {
1136
+ if (this.#realpath)
1137
+ return this.#realpath;
1138
+ if ((ENOREALPATH | ENOREADLINK | ENOENT) & this.#type)
1139
+ return undefined;
1140
+ try {
1141
+ const rp = this.#fs.realpathSync(this.fullpath());
1142
+ return (this.#realpath = this.resolve(rp));
1143
+ }
1144
+ catch (_) {
1145
+ this.#markENOREALPATH();
1146
+ }
1147
+ }
1148
+ /**
1149
+ * Internal method to mark this Path object as the scurry cwd,
1150
+ * called by {@link PathScurry#chdir}
1151
+ *
1152
+ * @internal
1153
+ */
1154
+ [setAsCwd](oldCwd) {
1155
+ if (oldCwd === this)
1156
+ return;
1157
+ const changed = new Set([]);
1158
+ let rp = [];
1159
+ let p = this;
1160
+ while (p && p.parent) {
1161
+ changed.add(p);
1162
+ p.#relative = rp.join(this.sep);
1163
+ p.#relativePosix = rp.join('/');
1164
+ p = p.parent;
1165
+ rp.push('..');
1166
+ }
1167
+ // now un-memoize parents of old cwd
1168
+ p = oldCwd;
1169
+ while (p && p.parent && !changed.has(p)) {
1170
+ p.#relative = undefined;
1171
+ p.#relativePosix = undefined;
1172
+ p = p.parent;
1173
+ }
1174
+ }
1175
+ }
1176
+ exports.PathBase = PathBase;
1177
+ /**
1178
+ * Path class used on win32 systems
1179
+ *
1180
+ * Uses `'\\'` as the path separator for returned paths, either `'\\'` or `'/'`
1181
+ * as the path separator for parsing paths.
1182
+ */
1183
+ class PathWin32 extends PathBase {
1184
+ /**
1185
+ * Separator for generating path strings.
1186
+ */
1187
+ sep = '\\';
1188
+ /**
1189
+ * Separator for parsing path strings.
1190
+ */
1191
+ splitSep = eitherSep;
1192
+ /**
1193
+ * Do not create new Path objects directly. They should always be accessed
1194
+ * via the PathScurry class or other methods on the Path class.
1195
+ *
1196
+ * @internal
1197
+ */
1198
+ constructor(name, type = UNKNOWN, root, roots, nocase, children, opts) {
1199
+ super(name, type, root, roots, nocase, children, opts);
1200
+ }
1201
+ /**
1202
+ * @internal
1203
+ */
1204
+ newChild(name, type = UNKNOWN, opts = {}) {
1205
+ return new PathWin32(name, type, this.root, this.roots, this.nocase, this.childrenCache(), opts);
1206
+ }
1207
+ /**
1208
+ * @internal
1209
+ */
1210
+ getRootString(path) {
1211
+ return path_1.win32.parse(path).root;
1212
+ }
1213
+ /**
1214
+ * @internal
1215
+ */
1216
+ getRoot(rootPath) {
1217
+ rootPath = uncToDrive(rootPath.toUpperCase());
1218
+ if (rootPath === this.root.name) {
1219
+ return this.root;
1220
+ }
1221
+ // ok, not that one, check if it matches another we know about
1222
+ for (const [compare, root] of Object.entries(this.roots)) {
1223
+ if (this.sameRoot(rootPath, compare)) {
1224
+ return (this.roots[rootPath] = root);
1225
+ }
1226
+ }
1227
+ // otherwise, have to create a new one.
1228
+ return (this.roots[rootPath] = new PathScurryWin32(rootPath, this).root);
1229
+ }
1230
+ /**
1231
+ * @internal
1232
+ */
1233
+ sameRoot(rootPath, compare = this.root.name) {
1234
+ // windows can (rarely) have case-sensitive filesystem, but
1235
+ // UNC and drive letters are always case-insensitive, and canonically
1236
+ // represented uppercase.
1237
+ rootPath = rootPath
1238
+ .toUpperCase()
1239
+ .replace(/\//g, '\\')
1240
+ .replace(uncDriveRegexp, '$1\\');
1241
+ return rootPath === compare;
1242
+ }
1243
+ }
1244
+ exports.PathWin32 = PathWin32;
1245
+ /**
1246
+ * Path class used on all posix systems.
1247
+ *
1248
+ * Uses `'/'` as the path separator.
1249
+ */
1250
+ class PathPosix extends PathBase {
1251
+ /**
1252
+ * separator for parsing path strings
1253
+ */
1254
+ splitSep = '/';
1255
+ /**
1256
+ * separator for generating path strings
1257
+ */
1258
+ sep = '/';
1259
+ /**
1260
+ * Do not create new Path objects directly. They should always be accessed
1261
+ * via the PathScurry class or other methods on the Path class.
1262
+ *
1263
+ * @internal
1264
+ */
1265
+ constructor(name, type = UNKNOWN, root, roots, nocase, children, opts) {
1266
+ super(name, type, root, roots, nocase, children, opts);
1267
+ }
1268
+ /**
1269
+ * @internal
1270
+ */
1271
+ getRootString(path) {
1272
+ return path.startsWith('/') ? '/' : '';
1273
+ }
1274
+ /**
1275
+ * @internal
1276
+ */
1277
+ getRoot(_rootPath) {
1278
+ return this.root;
1279
+ }
1280
+ /**
1281
+ * @internal
1282
+ */
1283
+ newChild(name, type = UNKNOWN, opts = {}) {
1284
+ return new PathPosix(name, type, this.root, this.roots, this.nocase, this.childrenCache(), opts);
1285
+ }
1286
+ }
1287
+ exports.PathPosix = PathPosix;
1288
+ /**
1289
+ * The base class for all PathScurry classes, providing the interface for path
1290
+ * resolution and filesystem operations.
1291
+ *
1292
+ * Typically, you should *not* instantiate this class directly, but rather one
1293
+ * of the platform-specific classes, or the exported {@link PathScurry} which
1294
+ * defaults to the current platform.
1295
+ */
1296
+ class PathScurryBase {
1297
+ /**
1298
+ * The root Path entry for the current working directory of this Scurry
1299
+ */
1300
+ root;
1301
+ /**
1302
+ * The string path for the root of this Scurry's current working directory
1303
+ */
1304
+ rootPath;
1305
+ /**
1306
+ * A collection of all roots encountered, referenced by rootPath
1307
+ */
1308
+ roots;
1309
+ /**
1310
+ * The Path entry corresponding to this PathScurry's current working directory.
1311
+ */
1312
+ cwd;
1313
+ #resolveCache;
1314
+ #resolvePosixCache;
1315
+ #children;
1316
+ /**
1317
+ * Perform path comparisons case-insensitively.
1318
+ *
1319
+ * Defaults true on Darwin and Windows systems, false elsewhere.
1320
+ */
1321
+ nocase;
1322
+ #fs;
1323
+ /**
1324
+ * This class should not be instantiated directly.
1325
+ *
1326
+ * Use PathScurryWin32, PathScurryDarwin, PathScurryPosix, or PathScurry
1327
+ *
1328
+ * @internal
1329
+ */
1330
+ constructor(cwd = process.cwd(), pathImpl, sep, { nocase, childrenCacheSize = 16 * 1024, fs = defaultFS, } = {}) {
1331
+ this.#fs = fsFromOption(fs);
1332
+ if (cwd instanceof URL || cwd.startsWith('file://')) {
1333
+ cwd = (0, url_1.fileURLToPath)(cwd);
1334
+ }
1335
+ // resolve and split root, and then add to the store.
1336
+ // this is the only time we call path.resolve()
1337
+ const cwdPath = pathImpl.resolve(cwd);
1338
+ this.roots = Object.create(null);
1339
+ this.rootPath = this.parseRootPath(cwdPath);
1340
+ this.#resolveCache = new ResolveCache();
1341
+ this.#resolvePosixCache = new ResolveCache();
1342
+ this.#children = new ChildrenCache(childrenCacheSize);
1343
+ const split = cwdPath.substring(this.rootPath.length).split(sep);
1344
+ // resolve('/') leaves '', splits to [''], we don't want that.
1345
+ if (split.length === 1 && !split[0]) {
1346
+ split.pop();
1347
+ }
1348
+ /* c8 ignore start */
1349
+ if (nocase === undefined) {
1350
+ throw new TypeError('must provide nocase setting to PathScurryBase ctor');
1351
+ }
1352
+ /* c8 ignore stop */
1353
+ this.nocase = nocase;
1354
+ this.root = this.newRoot(this.#fs);
1355
+ this.roots[this.rootPath] = this.root;
1356
+ let prev = this.root;
1357
+ let len = split.length - 1;
1358
+ const joinSep = pathImpl.sep;
1359
+ let abs = this.rootPath;
1360
+ let sawFirst = false;
1361
+ for (const part of split) {
1362
+ const l = len--;
1363
+ prev = prev.child(part, {
1364
+ relative: new Array(l).fill('..').join(joinSep),
1365
+ relativePosix: new Array(l).fill('..').join('/'),
1366
+ fullpath: (abs += (sawFirst ? '' : joinSep) + part),
1367
+ });
1368
+ sawFirst = true;
1369
+ }
1370
+ this.cwd = prev;
1371
+ }
1372
+ /**
1373
+ * Get the depth of a provided path, string, or the cwd
1374
+ */
1375
+ depth(path = this.cwd) {
1376
+ if (typeof path === 'string') {
1377
+ path = this.cwd.resolve(path);
1378
+ }
1379
+ return path.depth();
1380
+ }
1381
+ /**
1382
+ * Return the cache of child entries. Exposed so subclasses can create
1383
+ * child Path objects in a platform-specific way.
1384
+ *
1385
+ * @internal
1386
+ */
1387
+ childrenCache() {
1388
+ return this.#children;
1389
+ }
1390
+ /**
1391
+ * Resolve one or more path strings to a resolved string
1392
+ *
1393
+ * Same interface as require('path').resolve.
1394
+ *
1395
+ * Much faster than path.resolve() when called multiple times for the same
1396
+ * path, because the resolved Path objects are cached. Much slower
1397
+ * otherwise.
1398
+ */
1399
+ resolve(...paths) {
1400
+ // first figure out the minimum number of paths we have to test
1401
+ // we always start at cwd, but any absolutes will bump the start
1402
+ let r = '';
1403
+ for (let i = paths.length - 1; i >= 0; i--) {
1404
+ const p = paths[i];
1405
+ if (!p || p === '.')
1406
+ continue;
1407
+ r = r ? `${p}/${r}` : p;
1408
+ if (this.isAbsolute(p)) {
1409
+ break;
1410
+ }
1411
+ }
1412
+ const cached = this.#resolveCache.get(r);
1413
+ if (cached !== undefined) {
1414
+ return cached;
1415
+ }
1416
+ const result = this.cwd.resolve(r).fullpath();
1417
+ this.#resolveCache.set(r, result);
1418
+ return result;
1419
+ }
1420
+ /**
1421
+ * Resolve one or more path strings to a resolved string, returning
1422
+ * the posix path. Identical to .resolve() on posix systems, but on
1423
+ * windows will return a forward-slash separated UNC path.
1424
+ *
1425
+ * Same interface as require('path').resolve.
1426
+ *
1427
+ * Much faster than path.resolve() when called multiple times for the same
1428
+ * path, because the resolved Path objects are cached. Much slower
1429
+ * otherwise.
1430
+ */
1431
+ resolvePosix(...paths) {
1432
+ // first figure out the minimum number of paths we have to test
1433
+ // we always start at cwd, but any absolutes will bump the start
1434
+ let r = '';
1435
+ for (let i = paths.length - 1; i >= 0; i--) {
1436
+ const p = paths[i];
1437
+ if (!p || p === '.')
1438
+ continue;
1439
+ r = r ? `${p}/${r}` : p;
1440
+ if (this.isAbsolute(p)) {
1441
+ break;
1442
+ }
1443
+ }
1444
+ const cached = this.#resolvePosixCache.get(r);
1445
+ if (cached !== undefined) {
1446
+ return cached;
1447
+ }
1448
+ const result = this.cwd.resolve(r).fullpathPosix();
1449
+ this.#resolvePosixCache.set(r, result);
1450
+ return result;
1451
+ }
1452
+ /**
1453
+ * find the relative path from the cwd to the supplied path string or entry
1454
+ */
1455
+ relative(entry = this.cwd) {
1456
+ if (typeof entry === 'string') {
1457
+ entry = this.cwd.resolve(entry);
1458
+ }
1459
+ return entry.relative();
1460
+ }
1461
+ /**
1462
+ * find the relative path from the cwd to the supplied path string or
1463
+ * entry, using / as the path delimiter, even on Windows.
1464
+ */
1465
+ relativePosix(entry = this.cwd) {
1466
+ if (typeof entry === 'string') {
1467
+ entry = this.cwd.resolve(entry);
1468
+ }
1469
+ return entry.relativePosix();
1470
+ }
1471
+ /**
1472
+ * Return the basename for the provided string or Path object
1473
+ */
1474
+ basename(entry = this.cwd) {
1475
+ if (typeof entry === 'string') {
1476
+ entry = this.cwd.resolve(entry);
1477
+ }
1478
+ return entry.name;
1479
+ }
1480
+ /**
1481
+ * Return the dirname for the provided string or Path object
1482
+ */
1483
+ dirname(entry = this.cwd) {
1484
+ if (typeof entry === 'string') {
1485
+ entry = this.cwd.resolve(entry);
1486
+ }
1487
+ return (entry.parent || entry).fullpath();
1488
+ }
1489
+ async readdir(entry = this.cwd, opts = {
1490
+ withFileTypes: true,
1491
+ }) {
1492
+ if (typeof entry === 'string') {
1493
+ entry = this.cwd.resolve(entry);
1494
+ }
1495
+ else if (!(entry instanceof PathBase)) {
1496
+ opts = entry;
1497
+ entry = this.cwd;
1498
+ }
1499
+ const { withFileTypes } = opts;
1500
+ if (!entry.canReaddir()) {
1501
+ return [];
1502
+ }
1503
+ else {
1504
+ const p = await entry.readdir();
1505
+ return withFileTypes ? p : p.map(e => e.name);
1506
+ }
1507
+ }
1508
+ readdirSync(entry = this.cwd, opts = {
1509
+ withFileTypes: true,
1510
+ }) {
1511
+ if (typeof entry === 'string') {
1512
+ entry = this.cwd.resolve(entry);
1513
+ }
1514
+ else if (!(entry instanceof PathBase)) {
1515
+ opts = entry;
1516
+ entry = this.cwd;
1517
+ }
1518
+ const { withFileTypes = true } = opts;
1519
+ if (!entry.canReaddir()) {
1520
+ return [];
1521
+ }
1522
+ else if (withFileTypes) {
1523
+ return entry.readdirSync();
1524
+ }
1525
+ else {
1526
+ return entry.readdirSync().map(e => e.name);
1527
+ }
1528
+ }
1529
+ /**
1530
+ * Call lstat() on the string or Path object, and update all known
1531
+ * information that can be determined.
1532
+ *
1533
+ * Note that unlike `fs.lstat()`, the returned value does not contain some
1534
+ * information, such as `mode`, `dev`, `nlink`, and `ino`. If that
1535
+ * information is required, you will need to call `fs.lstat` yourself.
1536
+ *
1537
+ * If the Path refers to a nonexistent file, or if the lstat call fails for
1538
+ * any reason, `undefined` is returned. Otherwise the updated Path object is
1539
+ * returned.
1540
+ *
1541
+ * Results are cached, and thus may be out of date if the filesystem is
1542
+ * mutated.
1543
+ */
1544
+ async lstat(entry = this.cwd) {
1545
+ if (typeof entry === 'string') {
1546
+ entry = this.cwd.resolve(entry);
1547
+ }
1548
+ return entry.lstat();
1549
+ }
1550
+ /**
1551
+ * synchronous {@link PathScurryBase.lstat}
1552
+ */
1553
+ lstatSync(entry = this.cwd) {
1554
+ if (typeof entry === 'string') {
1555
+ entry = this.cwd.resolve(entry);
1556
+ }
1557
+ return entry.lstatSync();
1558
+ }
1559
+ async readlink(entry = this.cwd, { withFileTypes } = {
1560
+ withFileTypes: false,
1561
+ }) {
1562
+ if (typeof entry === 'string') {
1563
+ entry = this.cwd.resolve(entry);
1564
+ }
1565
+ else if (!(entry instanceof PathBase)) {
1566
+ withFileTypes = entry.withFileTypes;
1567
+ entry = this.cwd;
1568
+ }
1569
+ const e = await entry.readlink();
1570
+ return withFileTypes ? e : e?.fullpath();
1571
+ }
1572
+ readlinkSync(entry = this.cwd, { withFileTypes } = {
1573
+ withFileTypes: false,
1574
+ }) {
1575
+ if (typeof entry === 'string') {
1576
+ entry = this.cwd.resolve(entry);
1577
+ }
1578
+ else if (!(entry instanceof PathBase)) {
1579
+ withFileTypes = entry.withFileTypes;
1580
+ entry = this.cwd;
1581
+ }
1582
+ const e = entry.readlinkSync();
1583
+ return withFileTypes ? e : e?.fullpath();
1584
+ }
1585
+ async realpath(entry = this.cwd, { withFileTypes } = {
1586
+ withFileTypes: false,
1587
+ }) {
1588
+ if (typeof entry === 'string') {
1589
+ entry = this.cwd.resolve(entry);
1590
+ }
1591
+ else if (!(entry instanceof PathBase)) {
1592
+ withFileTypes = entry.withFileTypes;
1593
+ entry = this.cwd;
1594
+ }
1595
+ const e = await entry.realpath();
1596
+ return withFileTypes ? e : e?.fullpath();
1597
+ }
1598
+ realpathSync(entry = this.cwd, { withFileTypes } = {
1599
+ withFileTypes: false,
1600
+ }) {
1601
+ if (typeof entry === 'string') {
1602
+ entry = this.cwd.resolve(entry);
1603
+ }
1604
+ else if (!(entry instanceof PathBase)) {
1605
+ withFileTypes = entry.withFileTypes;
1606
+ entry = this.cwd;
1607
+ }
1608
+ const e = entry.realpathSync();
1609
+ return withFileTypes ? e : e?.fullpath();
1610
+ }
1611
+ async walk(entry = this.cwd, opts = {}) {
1612
+ if (typeof entry === 'string') {
1613
+ entry = this.cwd.resolve(entry);
1614
+ }
1615
+ else if (!(entry instanceof PathBase)) {
1616
+ opts = entry;
1617
+ entry = this.cwd;
1618
+ }
1619
+ const { withFileTypes = true, follow = false, filter, walkFilter, } = opts;
1620
+ const results = [];
1621
+ if (!filter || filter(entry)) {
1622
+ results.push(withFileTypes ? entry : entry.fullpath());
1623
+ }
1624
+ const dirs = new Set();
1625
+ const walk = (dir, cb) => {
1626
+ dirs.add(dir);
1627
+ dir.readdirCB((er, entries) => {
1628
+ /* c8 ignore start */
1629
+ if (er) {
1630
+ return cb(er);
1631
+ }
1632
+ /* c8 ignore stop */
1633
+ let len = entries.length;
1634
+ if (!len)
1635
+ return cb();
1636
+ const next = () => {
1637
+ if (--len === 0) {
1638
+ cb();
1639
+ }
1640
+ };
1641
+ for (const e of entries) {
1642
+ if (!filter || filter(e)) {
1643
+ results.push(withFileTypes ? e : e.fullpath());
1644
+ }
1645
+ if (follow && e.isSymbolicLink()) {
1646
+ e.realpath()
1647
+ .then(r => (r?.isUnknown() ? r.lstat() : r))
1648
+ .then(r => r?.shouldWalk(dirs, walkFilter) ? walk(r, next) : next());
1649
+ }
1650
+ else {
1651
+ if (e.shouldWalk(dirs, walkFilter)) {
1652
+ walk(e, next);
1653
+ }
1654
+ else {
1655
+ next();
1656
+ }
1657
+ }
1658
+ }
1659
+ }, true); // zalgooooooo
1660
+ };
1661
+ const start = entry;
1662
+ return new Promise((res, rej) => {
1663
+ walk(start, er => {
1664
+ /* c8 ignore start */
1665
+ if (er)
1666
+ return rej(er);
1667
+ /* c8 ignore stop */
1668
+ res(results);
1669
+ });
1670
+ });
1671
+ }
1672
+ walkSync(entry = this.cwd, opts = {}) {
1673
+ if (typeof entry === 'string') {
1674
+ entry = this.cwd.resolve(entry);
1675
+ }
1676
+ else if (!(entry instanceof PathBase)) {
1677
+ opts = entry;
1678
+ entry = this.cwd;
1679
+ }
1680
+ const { withFileTypes = true, follow = false, filter, walkFilter, } = opts;
1681
+ const results = [];
1682
+ if (!filter || filter(entry)) {
1683
+ results.push(withFileTypes ? entry : entry.fullpath());
1684
+ }
1685
+ const dirs = new Set([entry]);
1686
+ for (const dir of dirs) {
1687
+ const entries = dir.readdirSync();
1688
+ for (const e of entries) {
1689
+ if (!filter || filter(e)) {
1690
+ results.push(withFileTypes ? e : e.fullpath());
1691
+ }
1692
+ let r = e;
1693
+ if (e.isSymbolicLink()) {
1694
+ if (!(follow && (r = e.realpathSync())))
1695
+ continue;
1696
+ if (r.isUnknown())
1697
+ r.lstatSync();
1698
+ }
1699
+ if (r.shouldWalk(dirs, walkFilter)) {
1700
+ dirs.add(r);
1701
+ }
1702
+ }
1703
+ }
1704
+ return results;
1705
+ }
1706
+ /**
1707
+ * Support for `for await`
1708
+ *
1709
+ * Alias for {@link PathScurryBase.iterate}
1710
+ *
1711
+ * Note: As of Node 19, this is very slow, compared to other methods of
1712
+ * walking. Consider using {@link PathScurryBase.stream} if memory overhead
1713
+ * and backpressure are concerns, or {@link PathScurryBase.walk} if not.
1714
+ */
1715
+ [Symbol.asyncIterator]() {
1716
+ return this.iterate();
1717
+ }
1718
+ iterate(entry = this.cwd, options = {}) {
1719
+ // iterating async over the stream is significantly more performant,
1720
+ // especially in the warm-cache scenario, because it buffers up directory
1721
+ // entries in the background instead of waiting for a yield for each one.
1722
+ if (typeof entry === 'string') {
1723
+ entry = this.cwd.resolve(entry);
1724
+ }
1725
+ else if (!(entry instanceof PathBase)) {
1726
+ options = entry;
1727
+ entry = this.cwd;
1728
+ }
1729
+ return this.stream(entry, options)[Symbol.asyncIterator]();
1730
+ }
1731
+ /**
1732
+ * Iterating over a PathScurry performs a synchronous walk.
1733
+ *
1734
+ * Alias for {@link PathScurryBase.iterateSync}
1735
+ */
1736
+ [Symbol.iterator]() {
1737
+ return this.iterateSync();
1738
+ }
1739
+ *iterateSync(entry = this.cwd, opts = {}) {
1740
+ if (typeof entry === 'string') {
1741
+ entry = this.cwd.resolve(entry);
1742
+ }
1743
+ else if (!(entry instanceof PathBase)) {
1744
+ opts = entry;
1745
+ entry = this.cwd;
1746
+ }
1747
+ const { withFileTypes = true, follow = false, filter, walkFilter, } = opts;
1748
+ if (!filter || filter(entry)) {
1749
+ yield withFileTypes ? entry : entry.fullpath();
1750
+ }
1751
+ const dirs = new Set([entry]);
1752
+ for (const dir of dirs) {
1753
+ const entries = dir.readdirSync();
1754
+ for (const e of entries) {
1755
+ if (!filter || filter(e)) {
1756
+ yield withFileTypes ? e : e.fullpath();
1757
+ }
1758
+ let r = e;
1759
+ if (e.isSymbolicLink()) {
1760
+ if (!(follow && (r = e.realpathSync())))
1761
+ continue;
1762
+ if (r.isUnknown())
1763
+ r.lstatSync();
1764
+ }
1765
+ if (r.shouldWalk(dirs, walkFilter)) {
1766
+ dirs.add(r);
1767
+ }
1768
+ }
1769
+ }
1770
+ }
1771
+ stream(entry = this.cwd, opts = {}) {
1772
+ if (typeof entry === 'string') {
1773
+ entry = this.cwd.resolve(entry);
1774
+ }
1775
+ else if (!(entry instanceof PathBase)) {
1776
+ opts = entry;
1777
+ entry = this.cwd;
1778
+ }
1779
+ const { withFileTypes = true, follow = false, filter, walkFilter, } = opts;
1780
+ const results = new minipass_1.Minipass({ objectMode: true });
1781
+ if (!filter || filter(entry)) {
1782
+ results.write(withFileTypes ? entry : entry.fullpath());
1783
+ }
1784
+ const dirs = new Set();
1785
+ const queue = [entry];
1786
+ let processing = 0;
1787
+ const process = () => {
1788
+ let paused = false;
1789
+ while (!paused) {
1790
+ const dir = queue.shift();
1791
+ if (!dir) {
1792
+ if (processing === 0)
1793
+ results.end();
1794
+ return;
1795
+ }
1796
+ processing++;
1797
+ dirs.add(dir);
1798
+ const onReaddir = (er, entries, didRealpaths = false) => {
1799
+ /* c8 ignore start */
1800
+ if (er)
1801
+ return results.emit('error', er);
1802
+ /* c8 ignore stop */
1803
+ if (follow && !didRealpaths) {
1804
+ const promises = [];
1805
+ for (const e of entries) {
1806
+ if (e.isSymbolicLink()) {
1807
+ promises.push(e
1808
+ .realpath()
1809
+ .then((r) => r?.isUnknown() ? r.lstat() : r));
1810
+ }
1811
+ }
1812
+ if (promises.length) {
1813
+ Promise.all(promises).then(() => onReaddir(null, entries, true));
1814
+ return;
1815
+ }
1816
+ }
1817
+ for (const e of entries) {
1818
+ if (e && (!filter || filter(e))) {
1819
+ if (!results.write(withFileTypes ? e : e.fullpath())) {
1820
+ paused = true;
1821
+ }
1822
+ }
1823
+ }
1824
+ processing--;
1825
+ for (const e of entries) {
1826
+ const r = e.realpathCached() || e;
1827
+ if (r.shouldWalk(dirs, walkFilter)) {
1828
+ queue.push(r);
1829
+ }
1830
+ }
1831
+ if (paused && !results.flowing) {
1832
+ results.once('drain', process);
1833
+ }
1834
+ else if (!sync) {
1835
+ process();
1836
+ }
1837
+ };
1838
+ // zalgo containment
1839
+ let sync = true;
1840
+ dir.readdirCB(onReaddir, true);
1841
+ sync = false;
1842
+ }
1843
+ };
1844
+ process();
1845
+ return results;
1846
+ }
1847
+ streamSync(entry = this.cwd, opts = {}) {
1848
+ if (typeof entry === 'string') {
1849
+ entry = this.cwd.resolve(entry);
1850
+ }
1851
+ else if (!(entry instanceof PathBase)) {
1852
+ opts = entry;
1853
+ entry = this.cwd;
1854
+ }
1855
+ const { withFileTypes = true, follow = false, filter, walkFilter, } = opts;
1856
+ const results = new minipass_1.Minipass({ objectMode: true });
1857
+ const dirs = new Set();
1858
+ if (!filter || filter(entry)) {
1859
+ results.write(withFileTypes ? entry : entry.fullpath());
1860
+ }
1861
+ const queue = [entry];
1862
+ let processing = 0;
1863
+ const process = () => {
1864
+ let paused = false;
1865
+ while (!paused) {
1866
+ const dir = queue.shift();
1867
+ if (!dir) {
1868
+ if (processing === 0)
1869
+ results.end();
1870
+ return;
1871
+ }
1872
+ processing++;
1873
+ dirs.add(dir);
1874
+ const entries = dir.readdirSync();
1875
+ for (const e of entries) {
1876
+ if (!filter || filter(e)) {
1877
+ if (!results.write(withFileTypes ? e : e.fullpath())) {
1878
+ paused = true;
1879
+ }
1880
+ }
1881
+ }
1882
+ processing--;
1883
+ for (const e of entries) {
1884
+ let r = e;
1885
+ if (e.isSymbolicLink()) {
1886
+ if (!(follow && (r = e.realpathSync())))
1887
+ continue;
1888
+ if (r.isUnknown())
1889
+ r.lstatSync();
1890
+ }
1891
+ if (r.shouldWalk(dirs, walkFilter)) {
1892
+ queue.push(r);
1893
+ }
1894
+ }
1895
+ }
1896
+ if (paused && !results.flowing)
1897
+ results.once('drain', process);
1898
+ };
1899
+ process();
1900
+ return results;
1901
+ }
1902
+ chdir(path = this.cwd) {
1903
+ const oldCwd = this.cwd;
1904
+ this.cwd = typeof path === 'string' ? this.cwd.resolve(path) : path;
1905
+ this.cwd[setAsCwd](oldCwd);
1906
+ }
1907
+ }
1908
+ exports.PathScurryBase = PathScurryBase;
1909
+ /**
1910
+ * Windows implementation of {@link PathScurryBase}
1911
+ *
1912
+ * Defaults to case insensitve, uses `'\\'` to generate path strings. Uses
1913
+ * {@link PathWin32} for Path objects.
1914
+ */
1915
+ class PathScurryWin32 extends PathScurryBase {
1916
+ /**
1917
+ * separator for generating path strings
1918
+ */
1919
+ sep = '\\';
1920
+ constructor(cwd = process.cwd(), opts = {}) {
1921
+ const { nocase = true } = opts;
1922
+ super(cwd, path_1.win32, '\\', { ...opts, nocase });
1923
+ this.nocase = nocase;
1924
+ for (let p = this.cwd; p; p = p.parent) {
1925
+ p.nocase = this.nocase;
1926
+ }
1927
+ }
1928
+ /**
1929
+ * @internal
1930
+ */
1931
+ parseRootPath(dir) {
1932
+ // if the path starts with a single separator, it's not a UNC, and we'll
1933
+ // just get separator as the root, and driveFromUNC will return \
1934
+ // In that case, mount \ on the root from the cwd.
1935
+ return path_1.win32.parse(dir).root.toUpperCase();
1936
+ }
1937
+ /**
1938
+ * @internal
1939
+ */
1940
+ newRoot(fs) {
1941
+ return new PathWin32(this.rootPath, IFDIR, undefined, this.roots, this.nocase, this.childrenCache(), { fs });
1942
+ }
1943
+ /**
1944
+ * Return true if the provided path string is an absolute path
1945
+ */
1946
+ isAbsolute(p) {
1947
+ return (p.startsWith('/') || p.startsWith('\\') || /^[a-z]:(\/|\\)/i.test(p));
1948
+ }
1949
+ }
1950
+ exports.PathScurryWin32 = PathScurryWin32;
1951
+ /**
1952
+ * {@link PathScurryBase} implementation for all posix systems other than Darwin.
1953
+ *
1954
+ * Defaults to case-sensitive matching, uses `'/'` to generate path strings.
1955
+ *
1956
+ * Uses {@link PathPosix} for Path objects.
1957
+ */
1958
+ class PathScurryPosix extends PathScurryBase {
1959
+ /**
1960
+ * separator for generating path strings
1961
+ */
1962
+ sep = '/';
1963
+ constructor(cwd = process.cwd(), opts = {}) {
1964
+ const { nocase = false } = opts;
1965
+ super(cwd, path_1.posix, '/', { ...opts, nocase });
1966
+ this.nocase = nocase;
1967
+ }
1968
+ /**
1969
+ * @internal
1970
+ */
1971
+ parseRootPath(_dir) {
1972
+ return '/';
1973
+ }
1974
+ /**
1975
+ * @internal
1976
+ */
1977
+ newRoot(fs) {
1978
+ return new PathPosix(this.rootPath, IFDIR, undefined, this.roots, this.nocase, this.childrenCache(), { fs });
1979
+ }
1980
+ /**
1981
+ * Return true if the provided path string is an absolute path
1982
+ */
1983
+ isAbsolute(p) {
1984
+ return p.startsWith('/');
1985
+ }
1986
+ }
1987
+ exports.PathScurryPosix = PathScurryPosix;
1988
+ /**
1989
+ * {@link PathScurryBase} implementation for Darwin (macOS) systems.
1990
+ *
1991
+ * Defaults to case-insensitive matching, uses `'/'` for generating path
1992
+ * strings.
1993
+ *
1994
+ * Uses {@link PathPosix} for Path objects.
1995
+ */
1996
+ class PathScurryDarwin extends PathScurryPosix {
1997
+ constructor(cwd = process.cwd(), opts = {}) {
1998
+ const { nocase = true } = opts;
1999
+ super(cwd, { ...opts, nocase });
2000
+ }
2001
+ }
2002
+ exports.PathScurryDarwin = PathScurryDarwin;
2003
+ /**
2004
+ * Default {@link PathBase} implementation for the current platform.
2005
+ *
2006
+ * {@link PathWin32} on Windows systems, {@link PathPosix} on all others.
2007
+ */
2008
+ exports.Path = process.platform === 'win32' ? PathWin32 : PathPosix;
2009
+ /**
2010
+ * Default {@link PathScurryBase} implementation for the current platform.
2011
+ *
2012
+ * {@link PathScurryWin32} on Windows systems, {@link PathScurryDarwin} on
2013
+ * Darwin (macOS) systems, {@link PathScurryPosix} on all others.
2014
+ */
2015
+ exports.PathScurry = process.platform === 'win32'
2016
+ ? PathScurryWin32
2017
+ : process.platform === 'darwin'
2018
+ ? PathScurryDarwin
2019
+ : PathScurryPosix;
2020
+ //# sourceMappingURL=index.js.map