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