@ndlib/ndlib-cdk2 1.0.21 → 1.0.23

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 (1001) hide show
  1. package/lib/artifact-bucket.js +1 -0
  2. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/.package-lock.json +825 -757
  3. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/README.md +8 -0
  4. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/endpoint/endpointResolver.js +4 -2
  5. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/index.js +152 -76
  6. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/runtimeConfig.browser.js +1 -1
  7. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-cjs/runtimeConfig.js +1 -1
  8. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/CodePipeline.js +2 -0
  9. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/commands/RollbackStageCommand.js +24 -0
  10. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/commands/index.js +1 -0
  11. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/endpoint/endpointResolver.js +3 -1
  12. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/index.js +0 -1
  13. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/models/models_0.js +33 -0
  14. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/protocols/Aws_json1_1.js +50 -41
  15. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/runtimeConfig.browser.js +1 -1
  16. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-es/runtimeConfig.js +1 -1
  17. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/CodePipeline.d.ts +13 -1
  18. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/CodePipelineClient.d.ts +8 -7
  19. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/AcknowledgeJobCommand.d.ts +2 -1
  20. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/AcknowledgeThirdPartyJobCommand.d.ts +2 -1
  21. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/CreateCustomActionTypeCommand.d.ts +2 -1
  22. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/CreatePipelineCommand.d.ts +8 -1
  23. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeleteCustomActionTypeCommand.d.ts +2 -1
  24. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeletePipelineCommand.d.ts +2 -1
  25. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeleteWebhookCommand.d.ts +2 -1
  26. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +2 -1
  27. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/DisableStageTransitionCommand.d.ts +2 -1
  28. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/EnableStageTransitionCommand.d.ts +2 -1
  29. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetActionTypeCommand.d.ts +2 -1
  30. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetJobDetailsCommand.d.ts +2 -1
  31. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineCommand.d.ts +5 -1
  32. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineExecutionCommand.d.ts +7 -2
  33. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetPipelineStateCommand.d.ts +5 -1
  34. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/GetThirdPartyJobDetailsCommand.d.ts +2 -1
  35. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListActionExecutionsCommand.d.ts +2 -1
  36. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListActionTypesCommand.d.ts +2 -1
  37. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListPipelineExecutionsCommand.d.ts +13 -2
  38. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListPipelinesCommand.d.ts +2 -1
  39. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  40. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/ListWebhooksCommand.d.ts +2 -1
  41. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PollForJobsCommand.d.ts +2 -1
  42. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PollForThirdPartyJobsCommand.d.ts +2 -1
  43. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutActionRevisionCommand.d.ts +2 -1
  44. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutApprovalResultCommand.d.ts +2 -1
  45. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutJobFailureResultCommand.d.ts +2 -1
  46. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutJobSuccessResultCommand.d.ts +2 -1
  47. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutThirdPartyJobFailureResultCommand.d.ts +2 -1
  48. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutThirdPartyJobSuccessResultCommand.d.ts +2 -1
  49. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/PutWebhookCommand.d.ts +2 -1
  50. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/RegisterWebhookWithThirdPartyCommand.d.ts +2 -1
  51. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/RetryStageExecutionCommand.d.ts +2 -1
  52. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/RollbackStageCommand.d.ts +86 -0
  53. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/StartPipelineExecutionCommand.d.ts +2 -1
  54. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/StopPipelineExecutionCommand.d.ts +2 -1
  55. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/TagResourceCommand.d.ts +2 -1
  56. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  57. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UpdateActionTypeCommand.d.ts +2 -1
  58. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/UpdatePipelineCommand.d.ts +8 -1
  59. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/commands/index.d.ts +1 -0
  60. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/index.d.ts +0 -1
  61. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/models/models_0.d.ts +770 -602
  62. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  63. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.browser.d.ts +3 -6
  64. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.d.ts +3 -6
  65. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.native.d.ts +3 -6
  66. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/runtimeConfig.shared.d.ts +2 -2
  67. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/CodePipeline.d.ts +22 -0
  68. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/CodePipelineClient.d.ts +9 -3
  69. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/AcknowledgeJobCommand.d.ts +9 -0
  70. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/AcknowledgeThirdPartyJobCommand.d.ts +9 -0
  71. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/CreateCustomActionTypeCommand.d.ts +9 -0
  72. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +9 -0
  73. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/DeleteCustomActionTypeCommand.d.ts +9 -0
  74. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +9 -0
  75. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +9 -0
  76. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +9 -0
  77. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/DisableStageTransitionCommand.d.ts +9 -0
  78. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/EnableStageTransitionCommand.d.ts +9 -0
  79. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetActionTypeCommand.d.ts +9 -0
  80. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetJobDetailsCommand.d.ts +9 -0
  81. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetPipelineCommand.d.ts +9 -0
  82. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetPipelineExecutionCommand.d.ts +9 -0
  83. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetPipelineStateCommand.d.ts +9 -0
  84. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/GetThirdPartyJobDetailsCommand.d.ts +9 -0
  85. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListActionExecutionsCommand.d.ts +9 -0
  86. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListActionTypesCommand.d.ts +9 -0
  87. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListPipelineExecutionsCommand.d.ts +9 -0
  88. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +9 -0
  89. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  90. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +9 -0
  91. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PollForJobsCommand.d.ts +9 -0
  92. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PollForThirdPartyJobsCommand.d.ts +9 -0
  93. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutActionRevisionCommand.d.ts +9 -0
  94. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutApprovalResultCommand.d.ts +9 -0
  95. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutJobFailureResultCommand.d.ts +9 -0
  96. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutJobSuccessResultCommand.d.ts +9 -0
  97. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutThirdPartyJobFailureResultCommand.d.ts +9 -0
  98. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutThirdPartyJobSuccessResultCommand.d.ts +9 -0
  99. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/PutWebhookCommand.d.ts +9 -0
  100. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/RegisterWebhookWithThirdPartyCommand.d.ts +9 -0
  101. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/RetryStageExecutionCommand.d.ts +9 -0
  102. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/RollbackStageCommand.d.ts +35 -0
  103. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +9 -0
  104. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +9 -0
  105. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  106. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  107. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/UpdateActionTypeCommand.d.ts +9 -0
  108. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +9 -0
  109. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/commands/index.d.ts +1 -0
  110. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/index.d.ts +0 -1
  111. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/models/models_0.d.ts +56 -0
  112. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  113. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -15
  114. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.d.ts +4 -16
  115. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -15
  116. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  117. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-codepipeline/package.json +43 -43
  118. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/README.md +8 -0
  119. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/endpointResolver.js +4 -2
  120. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +462 -268
  121. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.browser.js +1 -1
  122. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +1 -1
  123. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +2 -0
  124. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePropertiesCommand.js +24 -0
  125. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowTargetsCommand.js +1 -1
  126. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js +1 -0
  127. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/endpointResolver.js +3 -1
  128. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/index.js +0 -1
  129. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +69 -17
  130. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +17 -43
  131. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js +43 -0
  132. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePropertiesPaginator.js +4 -0
  133. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/pagination/index.js +1 -0
  134. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +116 -43
  135. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.browser.js +1 -1
  136. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +1 -1
  137. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +37 -1
  138. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +8 -7
  139. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/AddTagsToResourceCommand.d.ts +3 -2
  140. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts +2 -1
  141. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelCommandCommand.d.ts +4 -3
  142. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelMaintenanceWindowExecutionCommand.d.ts +2 -1
  143. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateActivationCommand.d.ts +4 -2
  144. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationBatchCommand.d.ts +5 -4
  145. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationCommand.d.ts +5 -4
  146. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +2 -1
  147. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateMaintenanceWindowCommand.d.ts +2 -1
  148. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsItemCommand.d.ts +2 -1
  149. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsMetadataCommand.d.ts +2 -1
  150. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreatePatchBaselineCommand.d.ts +2 -1
  151. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateResourceDataSyncCommand.d.ts +2 -1
  152. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteActivationCommand.d.ts +2 -1
  153. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteAssociationCommand.d.ts +4 -3
  154. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteDocumentCommand.d.ts +2 -1
  155. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteInventoryCommand.d.ts +2 -1
  156. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteMaintenanceWindowCommand.d.ts +2 -1
  157. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsItemCommand.d.ts +2 -1
  158. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsMetadataCommand.d.ts +2 -1
  159. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParameterCommand.d.ts +2 -1
  160. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParametersCommand.d.ts +2 -1
  161. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeletePatchBaselineCommand.d.ts +2 -1
  162. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourceDataSyncCommand.d.ts +2 -1
  163. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourcePolicyCommand.d.ts +28 -5
  164. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterManagedInstanceCommand.d.ts +4 -3
  165. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts +2 -1
  166. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts +2 -1
  167. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts +2 -1
  168. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeActivationsCommand.d.ts +2 -1
  169. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationCommand.d.ts +4 -3
  170. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionTargetsCommand.d.ts +2 -1
  171. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionsCommand.d.ts +2 -1
  172. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +2 -1
  173. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts +2 -1
  174. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAvailablePatchesCommand.d.ts +2 -1
  175. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentCommand.d.ts +2 -1
  176. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentPermissionCommand.d.ts +2 -1
  177. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +5 -4
  178. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts +2 -1
  179. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts +5 -4
  180. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceInformationCommand.d.ts +4 -3
  181. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts +2 -1
  182. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +2 -1
  183. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts +4 -3
  184. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePropertiesCommand.d.ts +151 -0
  185. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInventoryDeletionsCommand.d.ts +2 -1
  186. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts +2 -1
  187. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts +2 -1
  188. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts +2 -1
  189. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +4 -2
  190. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +3 -2
  191. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts +3 -3
  192. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts +2 -1
  193. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +3 -2
  194. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeOpsItemsCommand.d.ts +3 -2
  195. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeParametersCommand.d.ts +8 -4
  196. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchBaselinesCommand.d.ts +2 -1
  197. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupStateCommand.d.ts +2 -1
  198. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupsCommand.d.ts +2 -1
  199. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchPropertiesCommand.d.ts +2 -1
  200. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeSessionsCommand.d.ts +2 -1
  201. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts +2 -1
  202. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts +2 -1
  203. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCalendarStateCommand.d.ts +2 -1
  204. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCommandInvocationCommand.d.ts +4 -3
  205. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetConnectionStatusCommand.d.ts +2 -1
  206. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDefaultPatchBaselineCommand.d.ts +2 -1
  207. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +3 -2
  208. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDocumentCommand.d.ts +2 -1
  209. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventoryCommand.d.ts +2 -1
  210. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventorySchemaCommand.d.ts +2 -1
  211. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowCommand.d.ts +2 -1
  212. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionCommand.d.ts +2 -1
  213. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts +2 -1
  214. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts +2 -1
  215. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts +3 -2
  216. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsItemCommand.d.ts +3 -2
  217. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsMetadataCommand.d.ts +2 -1
  218. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsSummaryCommand.d.ts +2 -1
  219. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterCommand.d.ts +2 -1
  220. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterHistoryCommand.d.ts +4 -3
  221. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts +2 -1
  222. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersCommand.d.ts +2 -1
  223. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineCommand.d.ts +2 -1
  224. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineForPatchGroupCommand.d.ts +2 -1
  225. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetResourcePoliciesCommand.d.ts +5 -1
  226. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetServiceSettingCommand.d.ts +2 -1
  227. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/LabelParameterVersionCommand.d.ts +2 -1
  228. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationVersionsCommand.d.ts +2 -1
  229. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationsCommand.d.ts +2 -1
  230. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandInvocationsCommand.d.ts +4 -3
  231. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandsCommand.d.ts +4 -3
  232. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceItemsCommand.d.ts +2 -1
  233. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceSummariesCommand.d.ts +2 -1
  234. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts +2 -1
  235. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentVersionsCommand.d.ts +2 -1
  236. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentsCommand.d.ts +2 -1
  237. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListInventoryEntriesCommand.d.ts +4 -3
  238. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemEventsCommand.d.ts +2 -1
  239. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemRelatedItemsCommand.d.ts +2 -1
  240. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsMetadataCommand.d.ts +2 -1
  241. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +2 -1
  242. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceDataSyncCommand.d.ts +2 -1
  243. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  244. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ModifyDocumentPermissionCommand.d.ts +2 -1
  245. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutComplianceItemsCommand.d.ts +5 -2
  246. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutInventoryCommand.d.ts +4 -3
  247. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutParameterCommand.d.ts +2 -1
  248. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutResourcePolicyCommand.d.ts +42 -4
  249. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterDefaultPatchBaselineCommand.d.ts +2 -1
  250. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +2 -1
  251. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +2 -1
  252. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +3 -2
  253. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +2 -1
  254. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts +2 -1
  255. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResumeSessionCommand.d.ts +2 -1
  256. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts +2 -1
  257. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendCommandCommand.d.ts +7 -6
  258. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAssociationsOnceCommand.d.ts +2 -1
  259. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts +2 -1
  260. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +3 -2
  261. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartSessionCommand.d.ts +3 -2
  262. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/StopAutomationExecutionCommand.d.ts +3 -2
  263. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/TerminateSessionCommand.d.ts +3 -3
  264. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UnlabelParameterVersionCommand.d.ts +2 -1
  265. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationCommand.d.ts +2 -1
  266. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationStatusCommand.d.ts +4 -3
  267. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentCommand.d.ts +2 -1
  268. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentDefaultVersionCommand.d.ts +2 -1
  269. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +2 -1
  270. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowCommand.d.ts +2 -1
  271. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTargetCommand.d.ts +2 -1
  272. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTaskCommand.d.ts +4 -3
  273. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts +4 -3
  274. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsItemCommand.d.ts +3 -2
  275. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsMetadataCommand.d.ts +2 -1
  276. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdatePatchBaselineCommand.d.ts +2 -1
  277. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateResourceDataSyncCommand.d.ts +2 -1
  278. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateServiceSettingCommand.d.ts +2 -1
  279. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts +1 -0
  280. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +0 -1
  281. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +1418 -1333
  282. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +1396 -1358
  283. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +497 -238
  284. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePropertiesPaginator.d.ts +7 -0
  285. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/pagination/index.d.ts +1 -0
  286. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  287. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +3 -6
  288. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +3 -6
  289. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +3 -6
  290. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.shared.d.ts +2 -2
  291. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +46 -0
  292. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +9 -3
  293. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +9 -0
  294. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AssociateOpsItemRelatedItemCommand.d.ts +9 -0
  295. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelCommandCommand.d.ts +9 -0
  296. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelMaintenanceWindowExecutionCommand.d.ts +9 -0
  297. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateActivationCommand.d.ts +9 -0
  298. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationBatchCommand.d.ts +9 -0
  299. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationCommand.d.ts +9 -0
  300. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateDocumentCommand.d.ts +9 -0
  301. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateMaintenanceWindowCommand.d.ts +9 -0
  302. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsItemCommand.d.ts +9 -0
  303. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsMetadataCommand.d.ts +9 -0
  304. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreatePatchBaselineCommand.d.ts +9 -0
  305. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateResourceDataSyncCommand.d.ts +9 -0
  306. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteActivationCommand.d.ts +9 -0
  307. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteAssociationCommand.d.ts +9 -0
  308. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts +9 -0
  309. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteInventoryCommand.d.ts +9 -0
  310. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteMaintenanceWindowCommand.d.ts +9 -0
  311. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsItemCommand.d.ts +9 -0
  312. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsMetadataCommand.d.ts +9 -0
  313. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParameterCommand.d.ts +9 -0
  314. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParametersCommand.d.ts +9 -0
  315. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeletePatchBaselineCommand.d.ts +9 -0
  316. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourceDataSyncCommand.d.ts +9 -0
  317. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +9 -0
  318. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterManagedInstanceCommand.d.ts +9 -0
  319. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts +9 -0
  320. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts +9 -0
  321. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts +9 -0
  322. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeActivationsCommand.d.ts +9 -0
  323. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationCommand.d.ts +9 -0
  324. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionTargetsCommand.d.ts +9 -0
  325. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionsCommand.d.ts +9 -0
  326. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationExecutionsCommand.d.ts +9 -0
  327. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationStepExecutionsCommand.d.ts +9 -0
  328. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAvailablePatchesCommand.d.ts +9 -0
  329. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentCommand.d.ts +9 -0
  330. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentPermissionCommand.d.ts +9 -0
  331. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts +9 -0
  332. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts +9 -0
  333. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceAssociationsStatusCommand.d.ts +9 -0
  334. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceInformationCommand.d.ts +9 -0
  335. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesCommand.d.ts +9 -0
  336. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +9 -0
  337. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchesCommand.d.ts +9 -0
  338. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePropertiesCommand.d.ts +39 -0
  339. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInventoryDeletionsCommand.d.ts +9 -0
  340. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts +9 -0
  341. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts +9 -0
  342. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts +9 -0
  343. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +11 -4
  344. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTargetsCommand.d.ts +10 -1
  345. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTasksCommand.d.ts +13 -2
  346. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsCommand.d.ts +9 -0
  347. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts +10 -1
  348. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeOpsItemsCommand.d.ts +9 -0
  349. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts +9 -0
  350. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchBaselinesCommand.d.ts +9 -0
  351. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupStateCommand.d.ts +9 -0
  352. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupsCommand.d.ts +9 -0
  353. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchPropertiesCommand.d.ts +9 -0
  354. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeSessionsCommand.d.ts +9 -0
  355. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DisassociateOpsItemRelatedItemCommand.d.ts +9 -0
  356. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetAutomationExecutionCommand.d.ts +9 -0
  357. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCalendarStateCommand.d.ts +9 -0
  358. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCommandInvocationCommand.d.ts +9 -0
  359. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetConnectionStatusCommand.d.ts +9 -0
  360. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDefaultPatchBaselineCommand.d.ts +9 -0
  361. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts +9 -0
  362. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDocumentCommand.d.ts +9 -0
  363. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventoryCommand.d.ts +9 -0
  364. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventorySchemaCommand.d.ts +9 -0
  365. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowCommand.d.ts +9 -0
  366. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionCommand.d.ts +9 -0
  367. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts +9 -0
  368. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts +9 -0
  369. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowTaskCommand.d.ts +9 -0
  370. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsItemCommand.d.ts +9 -0
  371. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsMetadataCommand.d.ts +9 -0
  372. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsSummaryCommand.d.ts +9 -0
  373. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterCommand.d.ts +9 -0
  374. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterHistoryCommand.d.ts +9 -0
  375. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersByPathCommand.d.ts +9 -0
  376. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersCommand.d.ts +9 -0
  377. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineCommand.d.ts +9 -0
  378. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineForPatchGroupCommand.d.ts +9 -0
  379. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts +9 -0
  380. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetServiceSettingCommand.d.ts +9 -0
  381. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/LabelParameterVersionCommand.d.ts +9 -0
  382. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationVersionsCommand.d.ts +9 -0
  383. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +9 -0
  384. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandInvocationsCommand.d.ts +9 -0
  385. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandsCommand.d.ts +9 -0
  386. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceItemsCommand.d.ts +9 -0
  387. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceSummariesCommand.d.ts +9 -0
  388. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentMetadataHistoryCommand.d.ts +9 -0
  389. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentVersionsCommand.d.ts +9 -0
  390. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts +9 -0
  391. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListInventoryEntriesCommand.d.ts +9 -0
  392. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemEventsCommand.d.ts +9 -0
  393. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemRelatedItemsCommand.d.ts +9 -0
  394. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsMetadataCommand.d.ts +9 -0
  395. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceComplianceSummariesCommand.d.ts +9 -0
  396. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceDataSyncCommand.d.ts +9 -0
  397. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  398. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ModifyDocumentPermissionCommand.d.ts +9 -0
  399. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutComplianceItemsCommand.d.ts +9 -0
  400. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutInventoryCommand.d.ts +9 -0
  401. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutParameterCommand.d.ts +9 -0
  402. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +9 -0
  403. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterDefaultPatchBaselineCommand.d.ts +9 -0
  404. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +9 -0
  405. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +9 -0
  406. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +9 -0
  407. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +9 -0
  408. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts +9 -0
  409. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts +9 -0
  410. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts +9 -0
  411. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendCommandCommand.d.ts +9 -0
  412. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts +9 -0
  413. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts +9 -0
  414. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartChangeRequestExecutionCommand.d.ts +10 -1
  415. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartSessionCommand.d.ts +10 -1
  416. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StopAutomationExecutionCommand.d.ts +10 -1
  417. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts +13 -2
  418. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UnlabelParameterVersionCommand.d.ts +9 -0
  419. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationCommand.d.ts +9 -0
  420. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationStatusCommand.d.ts +9 -0
  421. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +9 -0
  422. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentDefaultVersionCommand.d.ts +9 -0
  423. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentMetadataCommand.d.ts +9 -0
  424. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowCommand.d.ts +9 -0
  425. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTargetCommand.d.ts +9 -0
  426. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTaskCommand.d.ts +9 -0
  427. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateManagedInstanceRoleCommand.d.ts +9 -0
  428. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsItemCommand.d.ts +9 -0
  429. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsMetadataCommand.d.ts +9 -0
  430. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdatePatchBaselineCommand.d.ts +9 -0
  431. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateResourceDataSyncCommand.d.ts +9 -0
  432. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateServiceSettingCommand.d.ts +9 -0
  433. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts +1 -0
  434. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/index.d.ts +0 -1
  435. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +109 -66
  436. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +70 -71
  437. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +73 -3
  438. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstancePropertiesPaginator.d.ts +11 -0
  439. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/index.d.ts +1 -0
  440. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  441. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -15
  442. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +4 -16
  443. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -15
  444. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  445. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-ssm/package.json +44 -44
  446. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/endpointResolver.js +4 -2
  447. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +6 -49
  448. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +1 -1
  449. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +1 -1
  450. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/endpoint/endpointResolver.js +3 -1
  451. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/index.js +0 -1
  452. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/protocols/Aws_restJson1.js +1 -40
  453. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +1 -1
  454. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +1 -1
  455. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +1 -1
  456. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +5 -5
  457. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +2 -1
  458. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +2 -1
  459. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +2 -1
  460. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +2 -1
  461. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +0 -1
  462. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +32 -32
  463. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +3 -6
  464. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +3 -6
  465. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +3 -6
  466. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +2 -2
  467. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +3 -3
  468. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +9 -0
  469. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +9 -0
  470. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +9 -0
  471. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +7 -0
  472. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +0 -1
  473. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -15
  474. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +4 -16
  475. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -15
  476. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  477. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso/package.json +40 -41
  478. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/endpoint/endpointResolver.js +4 -2
  479. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/index.js +55 -52
  480. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +1 -1
  481. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +3 -3
  482. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js +3 -1
  483. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js +0 -1
  484. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js +16 -0
  485. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js +25 -41
  486. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +1 -1
  487. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +2 -2
  488. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDC.d.ts +1 -1
  489. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +5 -5
  490. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenCommand.d.ts +3 -1
  491. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/CreateTokenWithIAMCommand.d.ts +4 -2
  492. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/RegisterClientCommand.d.ts +25 -1
  493. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/commands/StartDeviceAuthorizationCommand.d.ts +2 -1
  494. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/index.d.ts +0 -1
  495. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +150 -89
  496. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +3 -6
  497. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +4 -7
  498. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +3 -6
  499. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.shared.d.ts +2 -2
  500. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +3 -3
  501. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +9 -0
  502. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/CreateTokenWithIAMCommand.d.ts +9 -0
  503. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/RegisterClientCommand.d.ts +9 -0
  504. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/commands/StartDeviceAuthorizationCommand.d.ts +9 -0
  505. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/index.d.ts +0 -1
  506. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +15 -0
  507. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -15
  508. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +11 -17
  509. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -15
  510. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  511. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sso-oidc/package.json +42 -45
  512. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/endpointResolver.js +4 -2
  513. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +10 -44
  514. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +1 -1
  515. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +4 -4
  516. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js +3 -1
  517. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/index.js +0 -1
  518. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +2 -34
  519. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +1 -1
  520. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +2 -2
  521. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +3 -1
  522. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +5 -5
  523. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +2 -1
  524. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +2 -1
  525. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +2 -1
  526. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -1
  527. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetAccessKeyInfoCommand.d.ts +2 -1
  528. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetCallerIdentityCommand.d.ts +2 -1
  529. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +2 -1
  530. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +2 -1
  531. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/index.d.ts +0 -1
  532. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +98 -98
  533. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +3 -6
  534. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +6 -14
  535. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +3 -6
  536. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +2 -2
  537. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +2 -0
  538. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +3 -3
  539. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleCommand.d.ts +9 -0
  540. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithSAMLCommand.d.ts +9 -0
  541. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRoleWithWebIdentityCommand.d.ts +9 -0
  542. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/DecodeAuthorizationMessageCommand.d.ts +9 -0
  543. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetAccessKeyInfoCommand.d.ts +9 -0
  544. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetCallerIdentityCommand.d.ts +9 -0
  545. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +9 -0
  546. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/GetSessionTokenCommand.d.ts +9 -0
  547. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/index.d.ts +0 -1
  548. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -15
  549. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +22 -42
  550. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -15
  551. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  552. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/client-sts/package.json +42 -45
  553. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/CHANGELOG.md +65 -0
  554. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/README.md +35 -1
  555. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/client.js +5 -0
  556. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/index.js +6 -322
  557. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/common.js +1 -0
  558. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/json/parseJsonBody.js +1 -0
  559. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/protocols/xml/parseXmlBody.js +1 -0
  560. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +38 -0
  561. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +226 -0
  562. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +228 -0
  563. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +5 -0
  564. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
  565. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/common.js +2 -0
  566. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/index.js +2 -0
  567. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/json/parseJsonBody.js +51 -0
  568. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/protocols/xml/parseXmlBody.js +57 -0
  569. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +6 -0
  570. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
  571. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +60 -0
  572. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +2 -0
  573. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +82 -0
  574. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +1 -0
  575. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +2 -0
  576. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -0
  577. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +8 -0
  578. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js +3 -0
  579. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js +2 -0
  580. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/coercing-serializers.js +53 -0
  581. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -0
  582. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +4 -0
  583. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js +10 -0
  584. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +51 -0
  585. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +57 -0
  586. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/index.d.ts +22 -3
  587. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/common.d.ts +2 -0
  588. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/index.d.ts +2 -0
  589. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/json/parseJsonBody.d.ts +4 -0
  590. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/protocols/xml/parseXmlBody.d.ts +4 -0
  591. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts +9 -0
  592. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
  593. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +17 -0
  594. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -0
  595. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +95 -0
  596. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +1 -0
  597. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +4 -0
  598. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +8 -0
  599. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +10 -0
  600. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts +3 -0
  601. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +9 -0
  602. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/coercing-serializers.d.ts +18 -0
  603. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/common.d.ts +2 -0
  604. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +4 -0
  605. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/awsExpectUnion.d.ts +7 -0
  606. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +4 -0
  607. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts +4 -0
  608. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +3 -3
  609. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/common.d.ts +5 -0
  610. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/index.d.ts +2 -0
  611. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/json/parseJsonBody.d.ts +13 -0
  612. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/protocols/xml/parseXmlBody.d.ts +13 -0
  613. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +1 -0
  614. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
  615. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +21 -0
  616. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +2 -0
  617. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +55 -0
  618. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +1 -0
  619. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +1 -0
  620. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +1 -0
  621. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +4 -0
  622. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +3 -0
  623. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +4 -0
  624. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/coercing-serializers.d.ts +3 -0
  625. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +5 -0
  626. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +4 -0
  627. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts +3 -0
  628. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +13 -0
  629. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts +13 -0
  630. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/httpAuthSchemes.js +5 -0
  631. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/integ/request-handlers/request-handlers.integ.spec.ts +158 -0
  632. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/jest.config.integ.js +4 -0
  633. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/package.json +49 -10
  634. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/protocols.js +5 -0
  635. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.spec.ts +30 -0
  636. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +10 -8
  637. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/common.ts +5 -0
  638. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/index.ts +2 -0
  639. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/json/parseJsonBody.ts +60 -0
  640. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/src/protocols/xml/parseXmlBody.ts +64 -0
  641. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
  642. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
  643. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
  644. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +1 -0
  645. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-env/package.json +7 -7
  646. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +2 -3
  647. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +8 -9
  648. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +1 -2
  649. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-http/package.json +12 -12
  650. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +3 -17
  651. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -1
  652. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +5 -2
  653. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +1 -2
  654. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-ini/package.json +16 -14
  655. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/README.md +1 -1
  656. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +3 -2
  657. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js +1 -1
  658. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-node/package.json +15 -15
  659. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +1 -0
  660. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-process/package.json +8 -8
  661. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +2 -0
  662. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -10
  663. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +4 -5
  664. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +3 -4
  665. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +1 -0
  666. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +1 -1
  667. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromWebToken.d.ts +2 -2
  668. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts +1 -2
  669. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -8
  670. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +1 -0
  671. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-host-header/package.json +6 -6
  672. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +1 -0
  673. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
  674. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +1 -0
  675. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-recursion-detection/package.json +6 -6
  676. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +1 -0
  677. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  678. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +1 -0
  679. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/region-config-resolver/package.json +8 -8
  680. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +15 -20
  681. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +1 -1
  682. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +1 -1
  683. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/token-providers/package.json +11 -9
  684. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -4
  685. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/dist-types/logger.d.ts +2 -2
  686. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/types/package.json +4 -4
  687. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +8 -1
  688. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +5 -1
  689. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +1 -1
  690. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +5 -1
  691. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +2 -1
  692. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +2 -1
  693. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
  694. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +39 -11
  695. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-locate-window/package.json +5 -9
  696. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +3 -4
  697. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
  698. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -0
  699. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -7
  700. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/abort-controller/package.json +4 -5
  701. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/config-resolver/package.json +7 -8
  702. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/core/package.json +11 -11
  703. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +11 -1
  704. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-es/index.js +1 -0
  705. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js +1 -1
  706. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-types/index.d.ts +4 -0
  707. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
  708. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/index.d.ts +4 -0
  709. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +1 -0
  710. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/credential-provider-imds/package.json +8 -9
  711. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/eventstream-codec/package.json +5 -5
  712. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/README.md +7 -0
  713. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -9
  714. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +10 -3
  715. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +11 -6
  716. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/fetch-http-handler/package.json +9 -26
  717. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/hash-node/package.json +7 -8
  718. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/invalid-dependency/package.json +3 -4
  719. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/is-array-buffer/package.json +3 -4
  720. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-content-length/package.json +6 -7
  721. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +3 -3
  722. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-endpoint/dist-es/service-customizations/s3.js +3 -3
  723. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-endpoint/package.json +9 -10
  724. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-cjs/index.js +1 -0
  725. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +1 -0
  726. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +7 -2
  727. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts +3 -0
  728. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +7 -2
  729. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts +3 -0
  730. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-retry/package.json +12 -13
  731. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-cjs/index.js +6 -1
  732. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +6 -1
  733. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +5 -2
  734. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +6 -2
  735. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +5 -2
  736. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +5 -2
  737. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +6 -2
  738. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +5 -2
  739. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-serde/package.json +5 -6
  740. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-stack/dist-cjs/index.js +7 -4
  741. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/middleware-stack/package.json +4 -5
  742. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +2 -1
  743. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-config-provider/package.json +7 -8
  744. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/README.md +5 -0
  745. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-cjs/index.js +60 -18
  746. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -1
  747. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +30 -0
  748. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +39 -12
  749. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +16 -4
  750. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +2 -0
  751. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +2 -0
  752. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/node-http-handler/package.json +8 -9
  753. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/property-provider/package.json +4 -5
  754. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/protocol-http/package.json +4 -5
  755. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/querystring-builder/package.json +5 -6
  756. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/querystring-parser/package.json +4 -5
  757. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/dist-cjs/index.js +7 -1
  758. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/dist-es/index.js +3 -1
  759. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +7 -0
  760. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +7 -0
  761. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/service-error-classification/package.json +3 -4
  762. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +1 -1
  763. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +1 -1
  764. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/shared-ini-file-loader/package.json +5 -6
  765. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-cjs/HeaderFormatter.js +1 -0
  766. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-cjs/index.js +130 -8
  767. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +125 -0
  768. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +6 -5
  769. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-types/HeaderFormatter.d.ts +24 -0
  770. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +1 -1
  771. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-types/ts3.4/HeaderFormatter.d.ts +24 -0
  772. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +1 -1
  773. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/signature-v4/package.json +10 -12
  774. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-cjs/index.js +3 -3
  775. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-es/command.js +2 -2
  776. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js +1 -1
  777. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-types/command.d.ts +2 -1
  778. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +2 -1
  779. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/smithy-client/package.json +9 -10
  780. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/client.d.ts +14 -2
  781. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/http.d.ts +1 -1
  782. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/retry.d.ts +6 -1
  783. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/serde.d.ts +10 -3
  784. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/shapes.d.ts +10 -1
  785. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +5 -5
  786. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +14 -7
  787. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -1
  788. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +6 -1
  789. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +10 -3
  790. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +10 -1
  791. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +9 -1
  792. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +27 -7
  793. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/dist-types/util.d.ts +22 -7
  794. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/types/package.json +3 -4
  795. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/url-parser/package.json +4 -5
  796. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +16 -1
  797. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +14 -1
  798. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js +16 -1
  799. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-es/toBase64.js +14 -1
  800. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-types/toBase64.browser.d.ts +4 -3
  801. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-types/toBase64.d.ts +4 -3
  802. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.browser.d.ts +4 -3
  803. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.d.ts +4 -3
  804. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-base64/package.json +6 -6
  805. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-body-length-browser/package.json +2 -3
  806. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-body-length-node/dist-cjs/index.js +1 -1
  807. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +1 -1
  808. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-body-length-node/package.json +4 -5
  809. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-buffer-from/package.json +5 -6
  810. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-config-provider/dist-cjs/index.js +2 -2
  811. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-config-provider/package.json +4 -5
  812. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -7
  813. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-defaults-mode-node/package.json +9 -10
  814. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/dist-cjs/index.js +3 -3
  815. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js +1 -1
  816. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js +1 -1
  817. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js +1 -1
  818. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-endpoints/package.json +6 -7
  819. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-hex-encoding/package.json +3 -4
  820. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-middleware/package.json +5 -6
  821. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-retry/dist-cjs/index.js +1 -0
  822. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-retry/package.json +6 -7
  823. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +8 -2
  824. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +8 -2
  825. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
  826. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts +1 -1
  827. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-stream/package.json +14 -30
  828. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-uri-escape/package.json +3 -4
  829. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-cjs/index.js +9 -1
  830. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +9 -1
  831. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +9 -1
  832. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +7 -1
  833. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +7 -1
  834. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +7 -1
  835. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +7 -1
  836. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-utf8/package.json +4 -5
  837. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/@smithy/util-waiter/package.json +5 -6
  838. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/README.md +53 -2
  839. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/glob.d.ts +45 -0
  840. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -1
  841. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/glob.js +24 -20
  842. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/glob.js.map +1 -1
  843. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/has-magic.js.map +1 -1
  844. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/ignore.d.ts +6 -1
  845. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -1
  846. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/ignore.js +37 -26
  847. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/ignore.js.map +1 -1
  848. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/index.d.ts +8 -7
  849. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/index.d.ts.map +1 -1
  850. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/index.js +10 -10
  851. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/index.js.map +1 -1
  852. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/package.json +3 -1
  853. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -1
  854. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/pattern.js +11 -11
  855. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/pattern.js.map +1 -1
  856. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -1
  857. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/processor.js +4 -5
  858. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/processor.js.map +1 -1
  859. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/walker.d.ts +7 -5
  860. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -1
  861. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/walker.js +44 -15
  862. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/commonjs/walker.js.map +1 -1
  863. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/bin.mjs +5 -7
  864. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/bin.mjs.map +1 -1
  865. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/glob.d.ts +45 -0
  866. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/glob.d.ts.map +1 -1
  867. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/glob.js +23 -19
  868. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/glob.js.map +1 -1
  869. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/has-magic.js.map +1 -1
  870. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/ignore.d.ts +6 -1
  871. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/ignore.d.ts.map +1 -1
  872. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/ignore.js +37 -26
  873. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/ignore.js.map +1 -1
  874. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/index.d.ts +8 -7
  875. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/index.d.ts.map +1 -1
  876. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/index.js +4 -5
  877. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/index.js.map +1 -1
  878. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/package.json +3 -1
  879. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/pattern.d.ts.map +1 -1
  880. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/pattern.js +11 -11
  881. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/pattern.js.map +1 -1
  882. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/processor.d.ts.map +1 -1
  883. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/processor.js +4 -5
  884. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/processor.js.map +1 -1
  885. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/walker.d.ts +7 -5
  886. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/walker.d.ts.map +1 -1
  887. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/walker.js +44 -15
  888. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/dist/esm/walker.js.map +1 -1
  889. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/glob/package.json +14 -14
  890. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/README.md +3 -0
  891. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/index.d.ts +26 -20
  892. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/index.d.ts.map +1 -1
  893. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/index.js +204 -92
  894. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/index.js.map +1 -1
  895. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/package.json +3 -1
  896. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +1 -1
  897. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/index.d.ts +26 -20
  898. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/index.d.ts.map +1 -1
  899. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/index.js +204 -92
  900. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/index.js.map +1 -1
  901. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/package.json +3 -1
  902. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/parse-args.js +2 -2
  903. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/dist/esm/parse-args.js.map +1 -1
  904. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/jackspeak/package.json +5 -4
  905. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.d.ts +9 -4
  906. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -1
  907. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.js +5 -0
  908. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.js.map +1 -1
  909. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
  910. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
  911. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.d.ts +9 -4
  912. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -1
  913. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.js +5 -0
  914. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.js.map +1 -1
  915. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.min.js +2 -0
  916. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
  917. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/lru-cache/package.json +6 -7
  918. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
  919. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
  920. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
  921. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
  922. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/ast.d.ts +20 -0
  923. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
  924. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/ast.js +592 -0
  925. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
  926. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
  927. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
  928. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
  929. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
  930. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/escape.d.ts +12 -0
  931. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
  932. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/escape.js +22 -0
  933. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
  934. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/index.d.ts +94 -0
  935. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
  936. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/index.js +1016 -0
  937. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
  938. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/package.json +3 -0
  939. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/unescape.d.ts +17 -0
  940. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
  941. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
  942. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
  943. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
  944. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
  945. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
  946. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
  947. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/ast.d.ts +20 -0
  948. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
  949. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/ast.js +588 -0
  950. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/ast.js.map +1 -0
  951. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
  952. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
  953. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
  954. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
  955. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/escape.d.ts +12 -0
  956. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
  957. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/escape.js +18 -0
  958. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/escape.js.map +1 -0
  959. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/index.d.ts +94 -0
  960. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
  961. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/index.js +1000 -0
  962. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/index.js.map +1 -0
  963. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/package.json +3 -0
  964. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/unescape.d.ts +17 -0
  965. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
  966. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/unescape.js +20 -0
  967. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
  968. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minimatch/package.json +21 -25
  969. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/commonjs/index.d.ts +4 -4
  970. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -1
  971. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/commonjs/index.js +9 -9
  972. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/commonjs/index.js.map +1 -1
  973. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/commonjs/package.json +3 -1
  974. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/esm/index.d.ts +4 -4
  975. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/esm/index.d.ts.map +1 -1
  976. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/esm/index.js +3 -3
  977. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/esm/index.js.map +1 -1
  978. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/dist/esm/package.json +3 -1
  979. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/minipass/package.json +6 -6
  980. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/README.md +34 -29
  981. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.d.ts +1116 -0
  982. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
  983. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.js +2014 -0
  984. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
  985. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/commonjs/package.json +3 -0
  986. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.d.ts +1116 -0
  987. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
  988. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.js +1979 -0
  989. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/index.js.map +1 -0
  990. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/dist/esm/package.json +3 -0
  991. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/path-scurry/package.json +33 -31
  992. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/README.md +1 -1
  993. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/modules/index.js +5 -0
  994. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/package.json +12 -3
  995. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.d.ts +23 -0
  996. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.es6.js +80 -3
  997. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.es6.mjs +1 -1
  998. package/lib/internal-lambdas/sourceWatcherLambda/src/node_modules/tslib/tslib.js +54 -3
  999. package/lib/internal-lambdas/sourceWatcherLambda/src/package-lock.json +826 -2152
  1000. package/lib/internal-lambdas/sourceWatcherLambda/src/package.json +3 -3
  1001. package/package.json +13 -14
@@ -1 +1 @@
1
- {"version":3,"file":"glob.js","sourceRoot":"","sources":["../../src/glob.ts"],"names":[],"mappings":";;;AAAA,yCAAuD;AAEvD,6CAOoB;AACpB,6BAAmC;AAEnC,6CAAsC;AACtC,2CAAoD;AAKpD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,eAAe,GACnB,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO;IACP,OAAO,OAAO,CAAC,QAAQ,KAAK,QAAQ;IAClC,CAAC,CAAC,OAAO,CAAC,QAAQ;IAClB,CAAC,CAAC,OAAO,CAAA;AAgTb;;GAEG;AACH,MAAa,IAAI;IACf,QAAQ,CAAU;IAClB,GAAG,CAAQ;IACX,IAAI,CAAS;IACb,GAAG,CAAS;IACZ,WAAW,CAAS;IACpB,MAAM,CAAS;IACf,MAAM,CAAiC;IACvC,aAAa,CAAS;IACtB,IAAI,CAAU;IACd,SAAS,CAAS;IAClB,QAAQ,CAAQ;IAChB,OAAO,CAAS;IAChB,MAAM,CAAS;IACf,KAAK,CAAS;IACd,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,OAAO,CAAU;IACjB,QAAQ,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M,CAAC,aAAa,CAAC;QACpB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACvB,CAAC;CACF;AAzQD,oBAyQC","sourcesContent":["import { Minimatch, MinimatchOptions } from 'minimatch'\nimport { Minipass } from 'minipass'\nimport {\n FSOption,\n Path,\n PathScurry,\n PathScurryDarwin,\n PathScurryPosix,\n PathScurryWin32,\n} from 'path-scurry'\nimport { fileURLToPath } from 'url'\nimport { IgnoreLike } from './ignore.js'\nimport { Pattern } from './pattern.js'\nimport { GlobStream, GlobWalker } from './walker.js'\n\nexport type MatchSet = Minimatch['set']\nexport type GlobParts = Exclude<Minimatch['globParts'], undefined>\n\n// if no process global, just call it linux.\n// so we default to case-sensitive, / separators\nconst defaultPlatform: NodeJS.Platform =\n typeof process === 'object' &&\n process &&\n typeof process.platform === 'string'\n ? process.platform\n : 'linux'\n\n/**\n * A `GlobOptions` object may be provided to any of the exported methods, and\n * must be provided to the `Glob` constructor.\n *\n * All options are optional, boolean, and false by default, unless otherwise\n * noted.\n *\n * All resolved options are added to the Glob object as properties.\n *\n * If you are running many `glob` operations, you can pass a Glob object as the\n * `options` argument to a subsequent operation to share the previously loaded\n * cache.\n */\nexport interface GlobOptions {\n /**\n * Set to `true` to always receive absolute paths for\n * matched files. Set to `false` to always return relative paths.\n *\n * When this option is not set, absolute paths are returned for patterns\n * that are absolute, and otherwise paths are returned that are relative\n * to the `cwd` setting.\n *\n * This does _not_ make an extra system call to get\n * the realpath, it only does string path resolution.\n *\n * Conflicts with {@link withFileTypes}\n */\n absolute?: boolean\n\n /**\n * Set to false to enable {@link windowsPathsNoEscape}\n *\n * @deprecated\n */\n allowWindowsEscape?: boolean\n\n /**\n * The current working directory in which to search. Defaults to\n * `process.cwd()`.\n *\n * May be eiher a string path or a `file://` URL object or string.\n */\n cwd?: string | URL\n\n /**\n * Include `.dot` files in normal matches and `globstar`\n * matches. Note that an explicit dot in a portion of the pattern\n * will always match dot files.\n */\n dot?: boolean\n\n /**\n * Prepend all relative path strings with `./` (or `.\\` on Windows).\n *\n * Without this option, returned relative paths are \"bare\", so instead of\n * returning `'./foo/bar'`, they are returned as `'foo/bar'`.\n *\n * Relative patterns starting with `'../'` are not prepended with `./`, even\n * if this option is set.\n */\n dotRelative?: boolean\n\n /**\n * Follow symlinked directories when expanding `**`\n * patterns. This can result in a lot of duplicate references in\n * the presence of cyclic links, and make performance quite bad.\n *\n * By default, a `**` in a pattern will follow 1 symbolic link if\n * it is not the first item in the pattern, or none if it is the\n * first item in the pattern, following the same behavior as Bash.\n */\n follow?: boolean\n\n /**\n * string or string[], or an object with `ignore` and `ignoreChildren`\n * methods.\n *\n * If a string or string[] is provided, then this is treated as a glob\n * pattern or array of glob patterns to exclude from matches. To ignore all\n * children within a directory, as well as the entry itself, append `'/**'`\n * to the ignore pattern.\n *\n * **Note** `ignore` patterns are _always_ in `dot:true` mode, regardless of\n * any other settings.\n *\n * If an object is provided that has `ignored(path)` and/or\n * `childrenIgnored(path)` methods, then these methods will be called to\n * determine whether any Path is a match or if its children should be\n * traversed, respectively.\n */\n ignore?: string | string[] | IgnoreLike\n\n /**\n * Treat brace expansion like `{a,b}` as a \"magic\" pattern. Has no\n * effect if {@link nobrace} is set.\n *\n * Only has effect on the {@link hasMagic} function.\n */\n magicalBraces?: boolean\n\n /**\n * Add a `/` character to directory matches. Note that this requires\n * additional stat calls in some cases.\n */\n mark?: boolean\n\n /**\n * Perform a basename-only match if the pattern does not contain any slash\n * characters. That is, `*.js` would be treated as equivalent to\n * `**\\/*.js`, matching all js files in all directories.\n */\n matchBase?: boolean\n\n /**\n * Limit the directory traversal to a given depth below the cwd.\n * Note that this does NOT prevent traversal to sibling folders,\n * root patterns, and so on. It only limits the maximum folder depth\n * that the walk will descend, relative to the cwd.\n */\n maxDepth?: number\n\n /**\n * Do not expand `{a,b}` and `{1..3}` brace sets.\n */\n nobrace?: boolean\n\n /**\n * Perform a case-insensitive match. This defaults to `true` on macOS and\n * Windows systems, and `false` on all others.\n *\n * **Note** `nocase` should only be explicitly set when it is\n * known that the filesystem's case sensitivity differs from the\n * platform default. If set `true` on case-sensitive file\n * systems, or `false` on case-insensitive file systems, then the\n * walk may return more or less results than expected.\n */\n nocase?: boolean\n\n /**\n * Do not match directories, only files. (Note: to match\n * _only_ directories, put a `/` at the end of the pattern.)\n */\n nodir?: boolean\n\n /**\n * Do not match \"extglob\" patterns such as `+(a|b)`.\n */\n noext?: boolean\n\n /**\n * Do not match `**` against multiple filenames. (Ie, treat it as a normal\n * `*` instead.)\n *\n * Conflicts with {@link matchBase}\n */\n noglobstar?: boolean\n\n /**\n * Defaults to value of `process.platform` if available, or `'linux'` if\n * not. Setting `platform:'win32'` on non-Windows systems may cause strange\n * behavior.\n */\n platform?: NodeJS.Platform\n\n /**\n * Set to true to call `fs.realpath` on all of the\n * results. In the case of an entry that cannot be resolved, the\n * entry is omitted. This incurs a slight performance penalty, of\n * course, because of the added system calls.\n */\n realpath?: boolean\n\n /**\n *\n * A string path resolved against the `cwd` option, which\n * is used as the starting point for absolute patterns that start\n * with `/`, (but not drive letters or UNC paths on Windows).\n *\n * Note that this _doesn't_ necessarily limit the walk to the\n * `root` directory, and doesn't affect the cwd starting point for\n * non-absolute patterns. A pattern containing `..` will still be\n * able to traverse out of the root directory, if it is not an\n * actual root directory on the filesystem, and any non-absolute\n * patterns will be matched in the `cwd`. For example, the\n * pattern `/../*` with `{root:'/some/path'}` will return all\n * files in `/some`, not all files in `/some/path`. The pattern\n * `*` with `{root:'/some/path'}` will return all the entries in\n * the cwd, not the entries in `/some/path`.\n *\n * To start absolute and non-absolute patterns in the same\n * path, you can use `{root:''}`. However, be aware that on\n * Windows systems, a pattern like `x:/*` or `//host/share/*` will\n * _always_ start in the `x:/` or `//host/share` directory,\n * regardless of the `root` setting.\n */\n root?: string\n\n /**\n * A [PathScurry](http://npm.im/path-scurry) object used\n * to traverse the file system. If the `nocase` option is set\n * explicitly, then any provided `scurry` object must match this\n * setting.\n */\n scurry?: PathScurry\n\n /**\n * Call `lstat()` on all entries, whether required or not to determine\n * if it's a valid match. When used with {@link withFileTypes}, this means\n * that matches will include data such as modified time, permissions, and\n * so on. Note that this will incur a performance cost due to the added\n * system calls.\n */\n stat?: boolean\n\n /**\n * An AbortSignal which will cancel the Glob walk when\n * triggered.\n */\n signal?: AbortSignal\n\n /**\n * Use `\\\\` as a path separator _only_, and\n * _never_ as an escape character. If set, all `\\\\` characters are\n * replaced with `/` in the pattern.\n *\n * Note that this makes it **impossible** to match against paths\n * containing literal glob pattern characters, but allows matching\n * with patterns constructed using `path.join()` and\n * `path.resolve()` on Windows platforms, mimicking the (buggy!)\n * behavior of Glob v7 and before on Windows. Please use with\n * caution, and be mindful of [the caveat below about Windows\n * paths](#windows). (For legacy reasons, this is also set if\n * `allowWindowsEscape` is set to the exact value `false`.)\n */\n windowsPathsNoEscape?: boolean\n\n /**\n * Return [PathScurry](http://npm.im/path-scurry)\n * `Path` objects instead of strings. These are similar to a\n * NodeJS `Dirent` object, but with additional methods and\n * properties.\n *\n * Conflicts with {@link absolute}\n */\n withFileTypes?: boolean\n\n /**\n * An fs implementation to override some or all of the defaults. See\n * http://npm.im/path-scurry for details about what can be overridden.\n */\n fs?: FSOption\n\n /**\n * Just passed along to Minimatch. Note that this makes all pattern\n * matching operations slower and *extremely* noisy.\n */\n debug?: boolean\n\n /**\n * Return `/` delimited paths, even on Windows.\n *\n * On posix systems, this has no effect. But, on Windows, it means that\n * paths will be `/` delimited, and absolute paths will be their full\n * resolved UNC forms, eg instead of `'C:\\\\foo\\\\bar'`, it would return\n * `'//?/C:/foo/bar'`\n */\n posix?: boolean\n}\n\nexport type GlobOptionsWithFileTypesTrue = GlobOptions & {\n withFileTypes: true\n // string options not relevant if returning Path objects.\n absolute?: undefined\n mark?: undefined\n posix?: undefined\n}\n\nexport type GlobOptionsWithFileTypesFalse = GlobOptions & {\n withFileTypes?: false\n}\n\nexport type GlobOptionsWithFileTypesUnset = GlobOptions & {\n withFileTypes?: undefined\n}\n\nexport type Result<Opts> = Opts extends GlobOptionsWithFileTypesTrue\n ? Path\n : Opts extends GlobOptionsWithFileTypesFalse\n ? string\n : Opts extends GlobOptionsWithFileTypesUnset\n ? string\n : string | Path\nexport type Results<Opts> = Result<Opts>[]\n\nexport type FileTypes<Opts> = Opts extends GlobOptionsWithFileTypesTrue\n ? true\n : Opts extends GlobOptionsWithFileTypesFalse\n ? false\n : Opts extends GlobOptionsWithFileTypesUnset\n ? false\n : boolean\n\n/**\n * An object that can perform glob pattern traversals.\n */\nexport class Glob<Opts extends GlobOptions> implements GlobOptions {\n absolute?: boolean\n cwd: string\n root?: string\n dot: boolean\n dotRelative: boolean\n follow: boolean\n ignore?: string | string[] | IgnoreLike\n magicalBraces: boolean\n mark?: boolean\n matchBase: boolean\n maxDepth: number\n nobrace: boolean\n nocase: boolean\n nodir: boolean\n noext: boolean\n noglobstar: boolean\n pattern: string[]\n platform: NodeJS.Platform\n realpath: boolean\n scurry: PathScurry\n stat: boolean\n signal?: AbortSignal\n windowsPathsNoEscape: boolean\n withFileTypes: FileTypes<Opts>\n\n /**\n * The options provided to the constructor.\n */\n opts: Opts\n\n /**\n * An array of parsed immutable {@link Pattern} objects.\n */\n patterns: Pattern[]\n\n /**\n * All options are stored as properties on the `Glob` object.\n *\n * See {@link GlobOptions} for full options descriptions.\n *\n * Note that a previous `Glob` object can be passed as the\n * `GlobOptions` to another `Glob` instantiation to re-use settings\n * and caches with a new pattern.\n *\n * Traversal functions can be called multiple times to run the walk\n * again.\n */\n constructor(pattern: string | string[], opts: Opts) {\n /* c8 ignore start */\n if (!opts) throw new TypeError('glob options required')\n /* c8 ignore stop */\n this.withFileTypes = !!opts.withFileTypes as FileTypes<Opts>\n this.signal = opts.signal\n this.follow = !!opts.follow\n this.dot = !!opts.dot\n this.dotRelative = !!opts.dotRelative\n this.nodir = !!opts.nodir\n this.mark = !!opts.mark\n if (!opts.cwd) {\n this.cwd = ''\n } else if (opts.cwd instanceof URL || opts.cwd.startsWith('file://')) {\n opts.cwd = fileURLToPath(opts.cwd)\n }\n this.cwd = opts.cwd || ''\n this.root = opts.root\n this.magicalBraces = !!opts.magicalBraces\n this.nobrace = !!opts.nobrace\n this.noext = !!opts.noext\n this.realpath = !!opts.realpath\n this.absolute = opts.absolute\n\n this.noglobstar = !!opts.noglobstar\n this.matchBase = !!opts.matchBase\n this.maxDepth =\n typeof opts.maxDepth === 'number' ? opts.maxDepth : Infinity\n this.stat = !!opts.stat\n this.ignore = opts.ignore\n\n if (this.withFileTypes && this.absolute !== undefined) {\n throw new Error('cannot set absolute and withFileTypes:true')\n }\n\n if (typeof pattern === 'string') {\n pattern = [pattern]\n }\n\n this.windowsPathsNoEscape =\n !!opts.windowsPathsNoEscape ||\n (opts as GlobOptions).allowWindowsEscape === false\n\n if (this.windowsPathsNoEscape) {\n pattern = pattern.map(p => p.replace(/\\\\/g, '/'))\n }\n\n if (this.matchBase) {\n if (opts.noglobstar) {\n throw new TypeError('base matching requires globstar')\n }\n pattern = pattern.map(p => (p.includes('/') ? p : `./**/${p}`))\n }\n\n this.pattern = pattern\n\n this.platform = opts.platform || defaultPlatform\n this.opts = { ...opts, platform: this.platform }\n if (opts.scurry) {\n this.scurry = opts.scurry\n if (\n opts.nocase !== undefined &&\n opts.nocase !== opts.scurry.nocase\n ) {\n throw new Error('nocase option contradicts provided scurry option')\n }\n } else {\n const Scurry =\n opts.platform === 'win32'\n ? PathScurryWin32\n : opts.platform === 'darwin'\n ? PathScurryDarwin\n : opts.platform\n ? PathScurryPosix\n : PathScurry\n this.scurry = new Scurry(this.cwd, {\n nocase: opts.nocase,\n fs: opts.fs,\n })\n }\n this.nocase = this.scurry.nocase\n\n // If you do nocase:true on a case-sensitive file system, then\n // we need to use regexps instead of strings for non-magic\n // path portions, because statting `aBc` won't return results\n // for the file `AbC` for example.\n const nocaseMagicOnly =\n this.platform === 'darwin' || this.platform === 'win32'\n\n const mmo: MinimatchOptions = {\n // default nocase based on platform\n ...opts,\n dot: this.dot,\n matchBase: this.matchBase,\n nobrace: this.nobrace,\n nocase: this.nocase,\n nocaseMagicOnly,\n nocomment: true,\n noext: this.noext,\n nonegate: true,\n optimizationLevel: 2,\n platform: this.platform,\n windowsPathsNoEscape: this.windowsPathsNoEscape,\n debug: !!this.opts.debug,\n }\n\n const mms = this.pattern.map(p => new Minimatch(p, mmo))\n const [matchSet, globParts] = mms.reduce(\n (set: [MatchSet, GlobParts], m) => {\n set[0].push(...m.set)\n set[1].push(...m.globParts)\n return set\n },\n [[], []]\n )\n this.patterns = matchSet.map((set, i) => {\n const g = globParts[i]\n /* c8 ignore start */\n if (!g) throw new Error('invalid pattern object')\n /* c8 ignore stop */\n return new Pattern(set, g, 0, this.platform)\n })\n }\n\n /**\n * Returns a Promise that resolves to the results array.\n */\n async walk(): Promise<Results<Opts>>\n async walk(): Promise<(string | Path)[]> {\n // Walkers always return array of Path objects, so we just have to\n // coerce them into the right shape. It will have already called\n // realpath() if the option was set to do so, so we know that's cached.\n // start out knowing the cwd, at least\n return [\n ...(await new GlobWalker(this.patterns, this.scurry.cwd, {\n ...this.opts,\n maxDepth:\n this.maxDepth !== Infinity\n ? this.maxDepth + this.scurry.cwd.depth()\n : Infinity,\n platform: this.platform,\n nocase: this.nocase,\n }).walk()),\n ]\n }\n\n /**\n * synchronous {@link Glob.walk}\n */\n walkSync(): Results<Opts>\n walkSync(): (string | Path)[] {\n return [\n ...new GlobWalker(this.patterns, this.scurry.cwd, {\n ...this.opts,\n maxDepth:\n this.maxDepth !== Infinity\n ? this.maxDepth + this.scurry.cwd.depth()\n : Infinity,\n platform: this.platform,\n nocase: this.nocase,\n }).walkSync(),\n ]\n }\n\n /**\n * Stream results asynchronously.\n */\n stream(): Minipass<Result<Opts>, Result<Opts>>\n stream(): Minipass<string | Path, string | Path> {\n return new GlobStream(this.patterns, this.scurry.cwd, {\n ...this.opts,\n maxDepth:\n this.maxDepth !== Infinity\n ? this.maxDepth + this.scurry.cwd.depth()\n : Infinity,\n platform: this.platform,\n nocase: this.nocase,\n }).stream()\n }\n\n /**\n * Stream results synchronously.\n */\n streamSync(): Minipass<Result<Opts>, Result<Opts>>\n streamSync(): Minipass<string | Path, string | Path> {\n return new GlobStream(this.patterns, this.scurry.cwd, {\n ...this.opts,\n maxDepth:\n this.maxDepth !== Infinity\n ? this.maxDepth + this.scurry.cwd.depth()\n : Infinity,\n platform: this.platform,\n nocase: this.nocase,\n }).streamSync()\n }\n\n /**\n * Default sync iteration function. Returns a Generator that\n * iterates over the results.\n */\n iterateSync(): Generator<Result<Opts>, void, void> {\n return this.streamSync()[Symbol.iterator]()\n }\n [Symbol.iterator]() {\n return this.iterateSync()\n }\n\n /**\n * Default async iteration function. Returns an AsyncGenerator that\n * iterates over the results.\n */\n iterate(): AsyncGenerator<Result<Opts>, void, void> {\n return this.stream()[Symbol.asyncIterator]()\n }\n [Symbol.asyncIterator]() {\n return this.iterate()\n }\n}\n"]}
1
+ {"version":3,"file":"glob.js","sourceRoot":"","sources":["../../src/glob.ts"],"names":[],"mappings":";;;AAAA,yCAAuD;AAEvD,uCAAwC;AACxC,6CAOoB;AAEpB,6CAAsC;AACtC,2CAAoD;AAKpD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,eAAe,GACnB,CACE,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO;IACP,OAAO,OAAO,CAAC,QAAQ,KAAK,QAAQ,CACrC,CAAC,CAAC;IACD,OAAO,CAAC,QAAQ;IAClB,CAAC,CAAC,OAAO,CAAA;AAyVX;;GAEG;AACH,MAAa,IAAI;IACf,QAAQ,CAAU;IAClB,GAAG,CAAQ;IACX,IAAI,CAAS;IACb,GAAG,CAAS;IACZ,WAAW,CAAS;IACpB,MAAM,CAAS;IACf,MAAM,CAAiC;IACvC,aAAa,CAAS;IACtB,IAAI,CAAU;IACd,SAAS,CAAS;IAClB,QAAQ,CAAQ;IAChB,OAAO,CAAS;IAChB,MAAM,CAAS;IACf,KAAK,CAAS;IACd,KAAK,CAAS;IACd,UAAU,CAAS;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YACnB,mBAAmB,EAAE,IAAI,CAAC,mBAAmB;SAC9C,CAAC,CAAC,UAAU,EAAE,CAAA;IACjB,CAAC;IAED;;;OAGG;IACH,WAAW;QACT,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAA;IAC7C,CAAC;IACD,CAAC,MAAM,CAAC,QAAQ,CAAC;QACf,OAAO,IAAI,CAAC,WAAW,EAAE,CAAA;IAC3B,CAAC;IAED;;;OAGG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,CAAA;IAC9C,CAAC;IACD,CAAC,MAAM,CAAC,aAAa,CAAC;QACpB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAA;IACvB,CAAC;CACF;AA7QD,oBA6QC","sourcesContent":["import { Minimatch, MinimatchOptions } from 'minimatch'\nimport { Minipass } from 'minipass'\nimport { fileURLToPath } from 'node:url'\nimport {\n FSOption,\n Path,\n PathScurry,\n PathScurryDarwin,\n PathScurryPosix,\n PathScurryWin32,\n} from 'path-scurry'\nimport { IgnoreLike } from './ignore.js'\nimport { Pattern } from './pattern.js'\nimport { GlobStream, GlobWalker } from './walker.js'\n\nexport type MatchSet = Minimatch['set']\nexport type GlobParts = Exclude<Minimatch['globParts'], undefined>\n\n// if no process global, just call it linux.\n// so we default to case-sensitive, / separators\nconst defaultPlatform: NodeJS.Platform =\n (\n typeof process === 'object' &&\n process &&\n typeof process.platform === 'string'\n ) ?\n process.platform\n : 'linux'\n\n/**\n * A `GlobOptions` object may be provided to any of the exported methods, and\n * must be provided to the `Glob` constructor.\n *\n * All options are optional, boolean, and false by default, unless otherwise\n * noted.\n *\n * All resolved options are added to the Glob object as properties.\n *\n * If you are running many `glob` operations, you can pass a Glob object as the\n * `options` argument to a subsequent operation to share the previously loaded\n * cache.\n */\nexport interface GlobOptions {\n /**\n * Set to `true` to always receive absolute paths for\n * matched files. Set to `false` to always return relative paths.\n *\n * When this option is not set, absolute paths are returned for patterns\n * that are absolute, and otherwise paths are returned that are relative\n * to the `cwd` setting.\n *\n * This does _not_ make an extra system call to get\n * the realpath, it only does string path resolution.\n *\n * Conflicts with {@link withFileTypes}\n */\n absolute?: boolean\n\n /**\n * Set to false to enable {@link windowsPathsNoEscape}\n *\n * @deprecated\n */\n allowWindowsEscape?: boolean\n\n /**\n * The current working directory in which to search. Defaults to\n * `process.cwd()`.\n *\n * May be eiher a string path or a `file://` URL object or string.\n */\n cwd?: string | URL\n\n /**\n * Include `.dot` files in normal matches and `globstar`\n * matches. Note that an explicit dot in a portion of the pattern\n * will always match dot files.\n */\n dot?: boolean\n\n /**\n * Prepend all relative path strings with `./` (or `.\\` on Windows).\n *\n * Without this option, returned relative paths are \"bare\", so instead of\n * returning `'./foo/bar'`, they are returned as `'foo/bar'`.\n *\n * Relative patterns starting with `'../'` are not prepended with `./`, even\n * if this option is set.\n */\n dotRelative?: boolean\n\n /**\n * Follow symlinked directories when expanding `**`\n * patterns. This can result in a lot of duplicate references in\n * the presence of cyclic links, and make performance quite bad.\n *\n * By default, a `**` in a pattern will follow 1 symbolic link if\n * it is not the first item in the pattern, or none if it is the\n * first item in the pattern, following the same behavior as Bash.\n */\n follow?: boolean\n\n /**\n * string or string[], or an object with `ignore` and `ignoreChildren`\n * methods.\n *\n * If a string or string[] is provided, then this is treated as a glob\n * pattern or array of glob patterns to exclude from matches. To ignore all\n * children within a directory, as well as the entry itself, append `'/**'`\n * to the ignore pattern.\n *\n * **Note** `ignore` patterns are _always_ in `dot:true` mode, regardless of\n * any other settings.\n *\n * If an object is provided that has `ignored(path)` and/or\n * `childrenIgnored(path)` methods, then these methods will be called to\n * determine whether any Path is a match or if its children should be\n * traversed, respectively.\n */\n ignore?: string | string[] | IgnoreLike\n\n /**\n * Treat brace expansion like `{a,b}` as a \"magic\" pattern. Has no\n * effect if {@link nobrace} is set.\n *\n * Only has effect on the {@link hasMagic} function.\n */\n magicalBraces?: boolean\n\n /**\n * Add a `/` character to directory matches. Note that this requires\n * additional stat calls in some cases.\n */\n mark?: boolean\n\n /**\n * Perform a basename-only match if the pattern does not contain any slash\n * characters. That is, `*.js` would be treated as equivalent to\n * `**\\/*.js`, matching all js files in all directories.\n */\n matchBase?: boolean\n\n /**\n * Limit the directory traversal to a given depth below the cwd.\n * Note that this does NOT prevent traversal to sibling folders,\n * root patterns, and so on. It only limits the maximum folder depth\n * that the walk will descend, relative to the cwd.\n */\n maxDepth?: number\n\n /**\n * Do not expand `{a,b}` and `{1..3}` brace sets.\n */\n nobrace?: boolean\n\n /**\n * Perform a case-insensitive match. This defaults to `true` on macOS and\n * Windows systems, and `false` on all others.\n *\n * **Note** `nocase` should only be explicitly set when it is\n * known that the filesystem's case sensitivity differs from the\n * platform default. If set `true` on case-sensitive file\n * systems, or `false` on case-insensitive file systems, then the\n * walk may return more or less results than expected.\n */\n nocase?: boolean\n\n /**\n * Do not match directories, only files. (Note: to match\n * _only_ directories, put a `/` at the end of the pattern.)\n */\n nodir?: boolean\n\n /**\n * Do not match \"extglob\" patterns such as `+(a|b)`.\n */\n noext?: boolean\n\n /**\n * Do not match `**` against multiple filenames. (Ie, treat it as a normal\n * `*` instead.)\n *\n * Conflicts with {@link matchBase}\n */\n noglobstar?: boolean\n\n /**\n * Defaults to value of `process.platform` if available, or `'linux'` if\n * not. Setting `platform:'win32'` on non-Windows systems may cause strange\n * behavior.\n */\n platform?: NodeJS.Platform\n\n /**\n * Set to true to call `fs.realpath` on all of the\n * results. In the case of an entry that cannot be resolved, the\n * entry is omitted. This incurs a slight performance penalty, of\n * course, because of the added system calls.\n */\n realpath?: boolean\n\n /**\n *\n * A string path resolved against the `cwd` option, which\n * is used as the starting point for absolute patterns that start\n * with `/`, (but not drive letters or UNC paths on Windows).\n *\n * Note that this _doesn't_ necessarily limit the walk to the\n * `root` directory, and doesn't affect the cwd starting point for\n * non-absolute patterns. A pattern containing `..` will still be\n * able to traverse out of the root directory, if it is not an\n * actual root directory on the filesystem, and any non-absolute\n * patterns will be matched in the `cwd`. For example, the\n * pattern `/../*` with `{root:'/some/path'}` will return all\n * files in `/some`, not all files in `/some/path`. The pattern\n * `*` with `{root:'/some/path'}` will return all the entries in\n * the cwd, not the entries in `/some/path`.\n *\n * To start absolute and non-absolute patterns in the same\n * path, you can use `{root:''}`. However, be aware that on\n * Windows systems, a pattern like `x:/*` or `//host/share/*` will\n * _always_ start in the `x:/` or `//host/share` directory,\n * regardless of the `root` setting.\n */\n root?: string\n\n /**\n * A [PathScurry](http://npm.im/path-scurry) object used\n * to traverse the file system. If the `nocase` option is set\n * explicitly, then any provided `scurry` object must match this\n * setting.\n */\n scurry?: PathScurry\n\n /**\n * Call `lstat()` on all entries, whether required or not to determine\n * if it's a valid match. When used with {@link withFileTypes}, this means\n * that matches will include data such as modified time, permissions, and\n * so on. Note that this will incur a performance cost due to the added\n * system calls.\n */\n stat?: boolean\n\n /**\n * An AbortSignal which will cancel the Glob walk when\n * triggered.\n */\n signal?: AbortSignal\n\n /**\n * Use `\\\\` as a path separator _only_, and\n * _never_ as an escape character. If set, all `\\\\` characters are\n * replaced with `/` in the pattern.\n *\n * Note that this makes it **impossible** to match against paths\n * containing literal glob pattern characters, but allows matching\n * with patterns constructed using `path.join()` and\n * `path.resolve()` on Windows platforms, mimicking the (buggy!)\n * behavior of Glob v7 and before on Windows. Please use with\n * caution, and be mindful of [the caveat below about Windows\n * paths](#windows). (For legacy reasons, this is also set if\n * `allowWindowsEscape` is set to the exact value `false`.)\n */\n windowsPathsNoEscape?: boolean\n\n /**\n * Return [PathScurry](http://npm.im/path-scurry)\n * `Path` objects instead of strings. These are similar to a\n * NodeJS `Dirent` object, but with additional methods and\n * properties.\n *\n * Conflicts with {@link absolute}\n */\n withFileTypes?: boolean\n\n /**\n * An fs implementation to override some or all of the defaults. See\n * http://npm.im/path-scurry for details about what can be overridden.\n */\n fs?: FSOption\n\n /**\n * Just passed along to Minimatch. Note that this makes all pattern\n * matching operations slower and *extremely* noisy.\n */\n debug?: boolean\n\n /**\n * Return `/` delimited paths, even on Windows.\n *\n * On posix systems, this has no effect. But, on Windows, it means that\n * paths will be `/` delimited, and absolute paths will be their full\n * resolved UNC forms, eg instead of `'C:\\\\foo\\\\bar'`, it would return\n * `'//?/C:/foo/bar'`\n */\n posix?: boolean\n\n /**\n * Do not match any children of any matches. For example, the pattern\n * `**\\/foo` would match `a/foo`, but not `a/foo/b/foo` in this mode.\n *\n * This is especially useful for cases like \"find all `node_modules`\n * folders, but not the ones in `node_modules`\".\n *\n * In order to support this, the `Ignore` implementation must support an\n * `add(pattern: string)` method. If using the default `Ignore` class, then\n * this is fine, but if this is set to `false`, and a custom `Ignore` is\n * provided that does not have an `add()` method, then it will throw an\n * error.\n *\n * **Caveat** It *only* ignores matches that would be a descendant of a\n * previous match, and only if that descendant is matched *after* the\n * ancestor is encountered. Since the file system walk happens in\n * indeterminate order, it's possible that a match will already be added\n * before its ancestor, if multiple or braced patterns are used.\n *\n * For example:\n *\n * ```ts\n * const results = await glob([\n * // likely to match first, since it's just a stat\n * 'a/b/c/d/e/f',\n *\n * // this pattern is more complicated! It must to various readdir()\n * // calls and test the results against a regular expression, and that\n * // is certainly going to take a little bit longer.\n * //\n * // So, later on, it encounters a match at 'a/b/c/d/e', but it's too\n * // late to ignore a/b/c/d/e/f, because it's already been emitted.\n * 'a/[bdf]/?/[a-z]/*',\n * ], { includeChildMatches: false })\n * ```\n *\n * It's best to only set this to `false` if you can be reasonably sure that\n * no components of the pattern will potentially match one another's file\n * system descendants, or if the occasional included child entry will not\n * cause problems.\n *\n * @default true\n */\n includeChildMatches?: boolean\n}\n\nexport type GlobOptionsWithFileTypesTrue = GlobOptions & {\n withFileTypes: true\n // string options not relevant if returning Path objects.\n absolute?: undefined\n mark?: undefined\n posix?: undefined\n}\n\nexport type GlobOptionsWithFileTypesFalse = GlobOptions & {\n withFileTypes?: false\n}\n\nexport type GlobOptionsWithFileTypesUnset = GlobOptions & {\n withFileTypes?: undefined\n}\n\nexport type Result<Opts> =\n Opts extends GlobOptionsWithFileTypesTrue ? Path\n : Opts extends GlobOptionsWithFileTypesFalse ? string\n : Opts extends GlobOptionsWithFileTypesUnset ? string\n : string | Path\nexport type Results<Opts> = Result<Opts>[]\n\nexport type FileTypes<Opts> =\n Opts extends GlobOptionsWithFileTypesTrue ? true\n : Opts extends GlobOptionsWithFileTypesFalse ? false\n : Opts extends GlobOptionsWithFileTypesUnset ? false\n : boolean\n\n/**\n * An object that can perform glob pattern traversals.\n */\nexport class Glob<Opts extends GlobOptions> implements GlobOptions {\n absolute?: boolean\n cwd: string\n root?: string\n dot: boolean\n dotRelative: boolean\n follow: boolean\n ignore?: string | string[] | IgnoreLike\n magicalBraces: boolean\n mark?: boolean\n matchBase: boolean\n maxDepth: number\n nobrace: boolean\n nocase: boolean\n nodir: boolean\n noext: boolean\n noglobstar: boolean\n pattern: string[]\n platform: NodeJS.Platform\n realpath: boolean\n scurry: PathScurry\n stat: boolean\n signal?: AbortSignal\n windowsPathsNoEscape: boolean\n withFileTypes: FileTypes<Opts>\n includeChildMatches: boolean\n\n /**\n * The options provided to the constructor.\n */\n opts: Opts\n\n /**\n * An array of parsed immutable {@link Pattern} objects.\n */\n patterns: Pattern[]\n\n /**\n * All options are stored as properties on the `Glob` object.\n *\n * See {@link GlobOptions} for full options descriptions.\n *\n * Note that a previous `Glob` object can be passed as the\n * `GlobOptions` to another `Glob` instantiation to re-use settings\n * and caches with a new pattern.\n *\n * Traversal functions can be called multiple times to run the walk\n * again.\n */\n constructor(pattern: string | string[], opts: Opts) {\n /* c8 ignore start */\n if (!opts) throw new TypeError('glob options required')\n /* c8 ignore stop */\n this.withFileTypes = !!opts.withFileTypes as FileTypes<Opts>\n this.signal = opts.signal\n this.follow = !!opts.follow\n this.dot = !!opts.dot\n this.dotRelative = !!opts.dotRelative\n this.nodir = !!opts.nodir\n this.mark = !!opts.mark\n if (!opts.cwd) {\n this.cwd = ''\n } else if (opts.cwd instanceof URL || opts.cwd.startsWith('file://')) {\n opts.cwd = fileURLToPath(opts.cwd)\n }\n this.cwd = opts.cwd || ''\n this.root = opts.root\n this.magicalBraces = !!opts.magicalBraces\n this.nobrace = !!opts.nobrace\n this.noext = !!opts.noext\n this.realpath = !!opts.realpath\n this.absolute = opts.absolute\n this.includeChildMatches = opts.includeChildMatches !== false\n\n this.noglobstar = !!opts.noglobstar\n this.matchBase = !!opts.matchBase\n this.maxDepth =\n typeof opts.maxDepth === 'number' ? opts.maxDepth : Infinity\n this.stat = !!opts.stat\n this.ignore = opts.ignore\n\n if (this.withFileTypes && this.absolute !== undefined) {\n throw new Error('cannot set absolute and withFileTypes:true')\n }\n\n if (typeof pattern === 'string') {\n pattern = [pattern]\n }\n\n this.windowsPathsNoEscape =\n !!opts.windowsPathsNoEscape ||\n (opts as { allowWindowsEscape?: boolean }).allowWindowsEscape ===\n false\n\n if (this.windowsPathsNoEscape) {\n pattern = pattern.map(p => p.replace(/\\\\/g, '/'))\n }\n\n if (this.matchBase) {\n if (opts.noglobstar) {\n throw new TypeError('base matching requires globstar')\n }\n pattern = pattern.map(p => (p.includes('/') ? p : `./**/${p}`))\n }\n\n this.pattern = pattern\n\n this.platform = opts.platform || defaultPlatform\n this.opts = { ...opts, platform: this.platform }\n if (opts.scurry) {\n this.scurry = opts.scurry\n if (\n opts.nocase !== undefined &&\n opts.nocase !== opts.scurry.nocase\n ) {\n throw new Error('nocase option contradicts provided scurry option')\n }\n } else {\n const Scurry =\n opts.platform === 'win32' ? PathScurryWin32\n : opts.platform === 'darwin' ? PathScurryDarwin\n : opts.platform ? PathScurryPosix\n : PathScurry\n this.scurry = new Scurry(this.cwd, {\n nocase: opts.nocase,\n fs: opts.fs,\n })\n }\n this.nocase = this.scurry.nocase\n\n // If you do nocase:true on a case-sensitive file system, then\n // we need to use regexps instead of strings for non-magic\n // path portions, because statting `aBc` won't return results\n // for the file `AbC` for example.\n const nocaseMagicOnly =\n this.platform === 'darwin' || this.platform === 'win32'\n\n const mmo: MinimatchOptions = {\n // default nocase based on platform\n ...opts,\n dot: this.dot,\n matchBase: this.matchBase,\n nobrace: this.nobrace,\n nocase: this.nocase,\n nocaseMagicOnly,\n nocomment: true,\n noext: this.noext,\n nonegate: true,\n optimizationLevel: 2,\n platform: this.platform,\n windowsPathsNoEscape: this.windowsPathsNoEscape,\n debug: !!this.opts.debug,\n }\n\n const mms = this.pattern.map(p => new Minimatch(p, mmo))\n const [matchSet, globParts] = mms.reduce(\n (set: [MatchSet, GlobParts], m) => {\n set[0].push(...m.set)\n set[1].push(...m.globParts)\n return set\n },\n [[], []],\n )\n this.patterns = matchSet.map((set, i) => {\n const g = globParts[i]\n /* c8 ignore start */\n if (!g) throw new Error('invalid pattern object')\n /* c8 ignore stop */\n return new Pattern(set, g, 0, this.platform)\n })\n }\n\n /**\n * Returns a Promise that resolves to the results array.\n */\n async walk(): Promise<Results<Opts>>\n async walk(): Promise<(string | Path)[]> {\n // Walkers always return array of Path objects, so we just have to\n // coerce them into the right shape. It will have already called\n // realpath() if the option was set to do so, so we know that's cached.\n // start out knowing the cwd, at least\n return [\n ...(await new GlobWalker(this.patterns, this.scurry.cwd, {\n ...this.opts,\n maxDepth:\n this.maxDepth !== Infinity ?\n this.maxDepth + this.scurry.cwd.depth()\n : Infinity,\n platform: this.platform,\n nocase: this.nocase,\n includeChildMatches: this.includeChildMatches,\n }).walk()),\n ]\n }\n\n /**\n * synchronous {@link Glob.walk}\n */\n walkSync(): Results<Opts>\n walkSync(): (string | Path)[] {\n return [\n ...new GlobWalker(this.patterns, this.scurry.cwd, {\n ...this.opts,\n maxDepth:\n this.maxDepth !== Infinity ?\n this.maxDepth + this.scurry.cwd.depth()\n : Infinity,\n platform: this.platform,\n nocase: this.nocase,\n includeChildMatches: this.includeChildMatches,\n }).walkSync(),\n ]\n }\n\n /**\n * Stream results asynchronously.\n */\n stream(): Minipass<Result<Opts>, Result<Opts>>\n stream(): Minipass<string | Path, string | Path> {\n return new GlobStream(this.patterns, this.scurry.cwd, {\n ...this.opts,\n maxDepth:\n this.maxDepth !== Infinity ?\n this.maxDepth + this.scurry.cwd.depth()\n : Infinity,\n platform: this.platform,\n nocase: this.nocase,\n includeChildMatches: this.includeChildMatches,\n }).stream()\n }\n\n /**\n * Stream results synchronously.\n */\n streamSync(): Minipass<Result<Opts>, Result<Opts>>\n streamSync(): Minipass<string | Path, string | Path> {\n return new GlobStream(this.patterns, this.scurry.cwd, {\n ...this.opts,\n maxDepth:\n this.maxDepth !== Infinity ?\n this.maxDepth + this.scurry.cwd.depth()\n : Infinity,\n platform: this.platform,\n nocase: this.nocase,\n includeChildMatches: this.includeChildMatches,\n }).streamSync()\n }\n\n /**\n * Default sync iteration function. Returns a Generator that\n * iterates over the results.\n */\n iterateSync(): Generator<Result<Opts>, void, void> {\n return this.streamSync()[Symbol.iterator]()\n }\n [Symbol.iterator]() {\n return this.iterateSync()\n }\n\n /**\n * Default async iteration function. Returns an AsyncGenerator that\n * iterates over the results.\n */\n iterate(): AsyncGenerator<Result<Opts>, void, void> {\n return this.stream()[Symbol.asyncIterator]()\n }\n [Symbol.asyncIterator]() {\n return this.iterate()\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"has-magic.js","sourceRoot":"","sources":["../../src/has-magic.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AAGrC;;;;;;;;;;GAUG;AACI,MAAM,QAAQ,GAAG,CACtB,OAA0B,EAC1B,UAAuB,EAAE,EAChB,EAAE;IACX,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE;QAC3B,OAAO,GAAG,CAAC,OAAO,CAAC,CAAA;KACpB;IACD,KAAK,MAAM,CAAC,IAAI,OAAO,EAAE;QACvB,IAAI,IAAI,qBAAS,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE;YAAE,OAAO,IAAI,CAAA;KACtD;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AAXY,QAAA,QAAQ,YAWpB","sourcesContent":["import { Minimatch } from 'minimatch'\nimport { GlobOptions } from './glob.js'\n\n/**\n * Return true if the patterns provided contain any magic glob characters,\n * given the options provided.\n *\n * Brace expansion is not considered \"magic\" unless the `magicalBraces` option\n * is set, as brace expansion just turns one string into an array of strings.\n * So a pattern like `'x{a,b}y'` would return `false`, because `'xay'` and\n * `'xby'` both do not contain any magic glob characters, and it's treated the\n * same as if you had called it on `['xay', 'xby']`. When `magicalBraces:true`\n * is in the options, brace expansion _is_ treated as a pattern having magic.\n */\nexport const hasMagic = (\n pattern: string | string[],\n options: GlobOptions = {}\n): boolean => {\n if (!Array.isArray(pattern)) {\n pattern = [pattern]\n }\n for (const p of pattern) {\n if (new Minimatch(p, options).hasMagic()) return true\n }\n return false\n}\n"]}
1
+ {"version":3,"file":"has-magic.js","sourceRoot":"","sources":["../../src/has-magic.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AAGrC;;;;;;;;;;GAUG;AACI,MAAM,QAAQ,GAAG,CACtB,OAA0B,EAC1B,UAAuB,EAAE,EAChB,EAAE;IACX,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;QAC5B,OAAO,GAAG,CAAC,OAAO,CAAC,CAAA;IACrB,CAAC;IACD,KAAK,MAAM,CAAC,IAAI,OAAO,EAAE,CAAC;QACxB,IAAI,IAAI,qBAAS,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE;YAAE,OAAO,IAAI,CAAA;IACvD,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AAXY,QAAA,QAAQ,YAWpB","sourcesContent":["import { Minimatch } from 'minimatch'\nimport { GlobOptions } from './glob.js'\n\n/**\n * Return true if the patterns provided contain any magic glob characters,\n * given the options provided.\n *\n * Brace expansion is not considered \"magic\" unless the `magicalBraces` option\n * is set, as brace expansion just turns one string into an array of strings.\n * So a pattern like `'x{a,b}y'` would return `false`, because `'xay'` and\n * `'xby'` both do not contain any magic glob characters, and it's treated the\n * same as if you had called it on `['xay', 'xby']`. When `magicalBraces:true`\n * is in the options, brace expansion _is_ treated as a pattern having magic.\n */\nexport const hasMagic = (\n pattern: string | string[],\n options: GlobOptions = {},\n): boolean => {\n if (!Array.isArray(pattern)) {\n pattern = [pattern]\n }\n for (const p of pattern) {\n if (new Minimatch(p, options).hasMagic()) return true\n }\n return false\n}\n"]}
@@ -1,9 +1,11 @@
1
- import { Minimatch } from 'minimatch';
1
+ /// <reference types="node" />
2
+ import { Minimatch, MinimatchOptions } from 'minimatch';
2
3
  import { Path } from 'path-scurry';
3
4
  import { GlobWalkerOpts } from './walker.js';
4
5
  export interface IgnoreLike {
5
6
  ignored?: (p: Path) => boolean;
6
7
  childrenIgnored?: (p: Path) => boolean;
8
+ add?: (ignore: string) => void;
7
9
  }
8
10
  /**
9
11
  * Class used to process ignored patterns
@@ -13,7 +15,10 @@ export declare class Ignore implements IgnoreLike {
13
15
  relativeChildren: Minimatch[];
14
16
  absolute: Minimatch[];
15
17
  absoluteChildren: Minimatch[];
18
+ platform: NodeJS.Platform;
19
+ mmopts: MinimatchOptions;
16
20
  constructor(ignored: string[], { nobrace, nocase, noext, noglobstar, platform, }: GlobWalkerOpts);
21
+ add(ign: string): void;
17
22
  ignored(p: Path): boolean;
18
23
  childrenIgnored(p: Path): boolean;
19
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ignore.d.ts","sourceRoot":"","sources":["../../src/ignore.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AACrC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAElC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5C,MAAM,WAAW,UAAU;IACzB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,OAAO,CAAA;IAC9B,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,OAAO,CAAA;CACvC;AASD;;GAEG;AACH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AC3B,EAAE,cAAc;IAqBnB,GAAG,CAAC,GAAG,EAAE,MAAM;IAyCf,OAAO,CAAC,CAAC,EAAE,IAAI,GAAG,OAAO;IAczB,eAAe,CAAC,CAAC,EAAE,IAAI,GAAG,OAAO;CAWlC"}
@@ -7,10 +7,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.Ignore = void 0;
8
8
  const minimatch_1 = require("minimatch");
9
9
  const pattern_js_1 = require("./pattern.js");
10
- const defaultPlatform = typeof process === 'object' &&
10
+ const defaultPlatform = (typeof process === 'object' &&
11
11
  process &&
12
- typeof process.platform === 'string'
13
- ? process.platform
12
+ typeof process.platform === 'string') ?
13
+ process.platform
14
14
  : 'linux';
15
15
  /**
16
16
  * Class used to process ignored patterns
@@ -20,12 +20,15 @@ class Ignore {
20
20
  relativeChildren;
21
21
  absolute;
22
22
  absoluteChildren;
23
+ platform;
24
+ mmopts;
23
25
  constructor(ignored, { nobrace, nocase, noext, noglobstar, platform = defaultPlatform, }) {
24
26
  this.relative = [];
25
27
  this.absolute = [];
26
28
  this.relativeChildren = [];
27
29
  this.absoluteChildren = [];
28
- const mmopts = {
30
+ this.platform = platform;
31
+ this.mmopts = {
29
32
  dot: true,
30
33
  nobrace,
31
34
  nocase,
@@ -36,6 +39,10 @@ class Ignore {
36
39
  nocomment: true,
37
40
  nonegate: true,
38
41
  };
42
+ for (const ign of ignored)
43
+ this.add(ign);
44
+ }
45
+ add(ign) {
39
46
  // this is a little weird, but it gives us a clean set of optimized
40
47
  // minimatch matchers, without getting tripped up if one of them
41
48
  // ends in /** inside a brace section, and it's only inefficient at
@@ -48,30 +55,34 @@ class Ignore {
48
55
  // for absolute-ness.
49
56
  // Yet another way, Minimatch could take an array of glob strings, and
50
57
  // a cwd option, and do the right thing.
51
- for (const ign of ignored) {
52
- const mm = new minimatch_1.Minimatch(ign, mmopts);
53
- for (let i = 0; i < mm.set.length; i++) {
54
- const parsed = mm.set[i];
55
- const globParts = mm.globParts[i];
56
- /* c8 ignore start */
57
- if (!parsed || !globParts) {
58
- throw new Error('invalid pattern object');
59
- }
60
- /* c8 ignore stop */
61
- const p = new pattern_js_1.Pattern(parsed, globParts, 0, platform);
62
- const m = new minimatch_1.Minimatch(p.globString(), mmopts);
63
- const children = globParts[globParts.length - 1] === '**';
64
- const absolute = p.isAbsolute();
58
+ const mm = new minimatch_1.Minimatch(ign, this.mmopts);
59
+ for (let i = 0; i < mm.set.length; i++) {
60
+ const parsed = mm.set[i];
61
+ const globParts = mm.globParts[i];
62
+ /* c8 ignore start */
63
+ if (!parsed || !globParts) {
64
+ throw new Error('invalid pattern object');
65
+ }
66
+ // strip off leading ./ portions
67
+ // https://github.com/isaacs/node-glob/issues/570
68
+ while (parsed[0] === '.' && globParts[0] === '.') {
69
+ parsed.shift();
70
+ globParts.shift();
71
+ }
72
+ /* c8 ignore stop */
73
+ const p = new pattern_js_1.Pattern(parsed, globParts, 0, this.platform);
74
+ const m = new minimatch_1.Minimatch(p.globString(), this.mmopts);
75
+ const children = globParts[globParts.length - 1] === '**';
76
+ const absolute = p.isAbsolute();
77
+ if (absolute)
78
+ this.absolute.push(m);
79
+ else
80
+ this.relative.push(m);
81
+ if (children) {
65
82
  if (absolute)
66
- this.absolute.push(m);
83
+ this.absoluteChildren.push(m);
67
84
  else
68
- this.relative.push(m);
69
- if (children) {
70
- if (absolute)
71
- this.absoluteChildren.push(m);
72
- else
73
- this.relativeChildren.push(m);
74
- }
85
+ this.relativeChildren.push(m);
75
86
  }
76
87
  }
77
88
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ignore.js","sourceRoot":"","sources":["../../src/ignore.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,kCAAkC;AAClC,kEAAkE;AAClE,6CAA6C;;;AAE7C,yCAAqC;AAErC,6CAAsC;AAQtC,MAAM,eAAe,GACnB,OAAO,OAAO,KAAK,QAAQ;IAC3B,OAAO;IACP,OAAO,OAAO,CAAC,QAAQ,KAAK,QAAQ;IAClC,CAA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,QAAQ,EAAE;YAC7B,IAAI,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC;gBAAE,OAAO,IAAI,CAAA;SACzD;QACD,OAAO,KAAK,CAAA;IACd,CAAC;IAED,eAAe,CAAC,CAAO;QACrB,MAAM,QAAQ,GAAG,CAAC,CAAC,QAAQ,EAAE,GAAG,GAAG,CAAA;QACnC,MAAM,QAAQ,GAAG,CAAC,CAAC,CAAC,QAAQ,EAAE,IAAI,GAAG,CAAC,GAAG,GAAG,CAAA;QAC5C,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,gBAAgB,EAAE;YACrC,IAAI,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC;gBAAE,OAAO,IAAI,CAAA;SACnC;QACD,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,gBAAgB,EAAE;YACrC,IAAI,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC;gBAAE,OAAO,IAAI,CAAA;SACnC;QACD,OAAO,KAAK,CAAA;IACd,CAAC;CACF;AA7FD,wBA6FC","sourcesContent":["// give it a pattern, and it'll be able to tell you if\n// a given path should be ignored.\n// Ignoring a path ignores its children if the pattern ends in /**\n// Ignores are always parsed in dot:true mode\n\nimport { Minimatch } from 'minimatch'\nimport { Path } from 'path-scurry'\nimport { Pattern } from './pattern.js'\nimport { GlobWalkerOpts } from './walker.js'\n\nexport interface IgnoreLike {\n ignored?: (p: Path) => boolean\n childrenIgnored?: (p: Path) => boolean\n}\n\nconst defaultPlatform: NodeJS.Platform =\n typeof process === 'object' &&\n process &&\n typeof process.platform === 'string'\n ? process.platform\n : 'linux'\n\n/**\n * Class used to process ignored patterns\n */\nexport class Ignore implements IgnoreLike {\n relative: Minimatch[]\n relativeChildren: Minimatch[]\n absolute: Minimatch[]\n absoluteChildren: Minimatch[]\n\n constructor(\n ignored: string[],\n {\n nobrace,\n nocase,\n noext,\n noglobstar,\n platform = defaultPlatform,\n }: GlobWalkerOpts\n ) {\n this.relative = []\n this.absolute = []\n this.relativeChildren = []\n this.absoluteChildren = []\n const mmopts = {\n dot: true,\n nobrace,\n nocase,\n noext,\n noglobstar,\n optimizationLevel: 2,\n platform,\n nocomment: true,\n nonegate: true,\n }\n\n // this is a little weird, but it gives us a clean set of optimized\n // minimatch matchers, without getting tripped up if one of them\n // ends in /** inside a brace section, and it's only inefficient at\n // the start of the walk, not along it.\n // It'd be nice if the Pattern class just had a .test() method, but\n // handling globstars is a bit of a pita, and that code already lives\n // in minimatch anyway.\n // Another way would be if maybe Minimatch could take its set/globParts\n // as an option, and then we could at least just use Pattern to test\n // for absolute-ness.\n // Yet another way, Minimatch could take an array of glob strings, and\n // a cwd option, and do the right thing.\n for (const ign of ignored) {\n const mm = new Minimatch(ign, mmopts)\n for (let i = 0; i < mm.set.length; i++) {\n const parsed = mm.set[i]\n const globParts = mm.globParts[i]\n /* c8 ignore start */\n if (!parsed || !globParts) {\n throw new Error('invalid pattern object')\n }\n /* c8 ignore stop */\n const p = new Pattern(parsed, globParts, 0, platform)\n const m = new Minimatch(p.globString(), mmopts)\n const children = globParts[globParts.length - 1] === '**'\n const absolute = p.isAbsolute()\n if (absolute) this.absolute.push(m)\n else this.relative.push(m)\n if (children) {\n if (absolute) this.absoluteChildren.push(m)\n else this.relativeChildren.push(m)\n }\n }\n }\n }\n\n ignored(p: Path): boolean {\n const fullpath = p.fullpath()\n const fullpaths = `${fullpath}/`\n const relative = p.relative() || '.'\n const relatives = `${relative}/`\n for (const m of this.relative) {\n if (m.match(relative) || m.match(relatives)) return true\n }\n for (const m of this.absolute) {\n if (m.match(fullpath) || m.match(fullpaths)) return true\n }\n return false\n }\n\n childrenIgnored(p: Path): boolean {\n const fullpath = p.fullpath() + '/'\n const relative = (p.relative() || '.') + '/'\n for (const m of this.relativeChildren) {\n if (m.match(relative)) return true\n }\n for (const m of this.absoluteChildren) {\n if (m.match(fullpath)) return true\n }\n return false\n }\n}\n"]}
1
+ {"version":3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ACpC,CAAC;QACD,KAAK,MAAM,CAAC,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACtC,IAAI,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC;gBAAE,OAAO,IAAI,CAAA;QACpC,CAAC;QACD,OAAO,KAAK,CAAA;IACd,CAAC;CACF;AAvGD,wBAuGC","sourcesContent":["// give it a pattern, and it'll be able to tell you if\n// a given path should be ignored.\n// Ignoring a path ignores its children if the pattern ends in /**\n// Ignores are always parsed in dot:true mode\n\nimport { Minimatch, MinimatchOptions } from 'minimatch'\nimport { Path } from 'path-scurry'\nimport { Pattern } from './pattern.js'\nimport { GlobWalkerOpts } from './walker.js'\n\nexport interface IgnoreLike {\n ignored?: (p: Path) => boolean\n childrenIgnored?: (p: Path) => boolean\n add?: (ignore: string) => void\n}\n\nconst defaultPlatform: NodeJS.Platform =\n (\n typeof process === 'object' &&\n process &&\n typeof process.platform === 'string'\n ) ?\n process.platform\n : 'linux'\n\n/**\n * Class used to process ignored patterns\n */\nexport class Ignore implements IgnoreLike {\n relative: Minimatch[]\n relativeChildren: Minimatch[]\n absolute: Minimatch[]\n absoluteChildren: Minimatch[]\n platform: NodeJS.Platform\n mmopts: MinimatchOptions\n\n constructor(\n ignored: string[],\n {\n nobrace,\n nocase,\n noext,\n noglobstar,\n platform = defaultPlatform,\n }: GlobWalkerOpts,\n ) {\n this.relative = []\n this.absolute = []\n this.relativeChildren = []\n this.absoluteChildren = []\n this.platform = platform\n this.mmopts = {\n dot: true,\n nobrace,\n nocase,\n noext,\n noglobstar,\n optimizationLevel: 2,\n platform,\n nocomment: true,\n nonegate: true,\n }\n for (const ign of ignored) this.add(ign)\n }\n\n add(ign: string) {\n // this is a little weird, but it gives us a clean set of optimized\n // minimatch matchers, without getting tripped up if one of them\n // ends in /** inside a brace section, and it's only inefficient at\n // the start of the walk, not along it.\n // It'd be nice if the Pattern class just had a .test() method, but\n // handling globstars is a bit of a pita, and that code already lives\n // in minimatch anyway.\n // Another way would be if maybe Minimatch could take its set/globParts\n // as an option, and then we could at least just use Pattern to test\n // for absolute-ness.\n // Yet another way, Minimatch could take an array of glob strings, and\n // a cwd option, and do the right thing.\n const mm = new Minimatch(ign, this.mmopts)\n for (let i = 0; i < mm.set.length; i++) {\n const parsed = mm.set[i]\n const globParts = mm.globParts[i]\n /* c8 ignore start */\n if (!parsed || !globParts) {\n throw new Error('invalid pattern object')\n }\n // strip off leading ./ portions\n // https://github.com/isaacs/node-glob/issues/570\n while (parsed[0] === '.' && globParts[0] === '.') {\n parsed.shift()\n globParts.shift()\n }\n /* c8 ignore stop */\n const p = new Pattern(parsed, globParts, 0, this.platform)\n const m = new Minimatch(p.globString(), this.mmopts)\n const children = globParts[globParts.length - 1] === '**'\n const absolute = p.isAbsolute()\n if (absolute) this.absolute.push(m)\n else this.relative.push(m)\n if (children) {\n if (absolute) this.absoluteChildren.push(m)\n else this.relativeChildren.push(m)\n }\n }\n }\n\n ignored(p: Path): boolean {\n const fullpath = p.fullpath()\n const fullpaths = `${fullpath}/`\n const relative = p.relative() || '.'\n const relatives = `${relative}/`\n for (const m of this.relative) {\n if (m.match(relative) || m.match(relatives)) return true\n }\n for (const m of this.absolute) {\n if (m.match(fullpath) || m.match(fullpaths)) return true\n }\n return false\n }\n\n childrenIgnored(p: Path): boolean {\n const fullpath = p.fullpath() + '/'\n const relative = (p.relative() || '.') + '/'\n for (const m of this.relativeChildren) {\n if (m.match(relative)) return true\n }\n for (const m of this.absoluteChildren) {\n if (m.match(fullpath)) return true\n }\n return false\n }\n}\n"]}
@@ -2,6 +2,14 @@ import { Minipass } from 'minipass';
2
2
  import { Path } from 'path-scurry';
3
3
  import type { GlobOptions, GlobOptionsWithFileTypesFalse, GlobOptionsWithFileTypesTrue, GlobOptionsWithFileTypesUnset } from './glob.js';
4
4
  import { Glob } from './glob.js';
5
+ export { escape, unescape } from 'minimatch';
6
+ export type { FSOption, Path, WalkOptions, WalkOptionsWithFileTypesTrue, WalkOptionsWithFileTypesUnset, } from 'path-scurry';
7
+ export { Glob } from './glob.js';
8
+ export type { GlobOptions, GlobOptionsWithFileTypesFalse, GlobOptionsWithFileTypesTrue, GlobOptionsWithFileTypesUnset, } from './glob.js';
9
+ export { hasMagic } from './has-magic.js';
10
+ export { Ignore } from './ignore.js';
11
+ export type { IgnoreLike } from './ignore.js';
12
+ export type { MatchStream } from './walker.js';
5
13
  /**
6
14
  * Syncronous form of {@link globStream}. Will read all the matches as fast as
7
15
  * you consume them, even all in a single tick if you consume them immediately,
@@ -62,13 +70,6 @@ export declare const sync: typeof globSync & {
62
70
  stream: typeof globStreamSync;
63
71
  iterate: typeof globIterateSync;
64
72
  };
65
- export { escape, unescape } from 'minimatch';
66
- export { Glob } from './glob.js';
67
- export type { GlobOptions, GlobOptionsWithFileTypesFalse, GlobOptionsWithFileTypesTrue, GlobOptionsWithFileTypesUnset, } from './glob.js';
68
- export { hasMagic } from './has-magic.js';
69
- export type { IgnoreLike } from './ignore.js';
70
- export type { MatchStream } from './walker.js';
71
- export type { Path, WalkOptionsWithFileTypesTrue, WalkOptionsWithFileTypesUnset, WalkOptions, FSOption, } from 'path-scurry';
72
73
  export declare const glob: typeof glob_ & {
73
74
  glob: typeof glob_;
74
75
  globSync: typeof globSync;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAClC,OAAO,KAAK,EACV,WAAW,EACX,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,EAC9B,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAGhC;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAC1B,OAAO,EAAE,4BAA4B,GACpC,QAAQ,CAAC,IAAI,EAAE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AgB,WAAW,CACzB,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,EAC1B,OAAO,EAAE,WAAW,GACnB,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AASxE,eAAO,MAAM,UAAU,uBAAiB,CAAA;AACxC,eAAO,MAAM,MAAM;;CAAsD,CAAA;AACzE,eAAO,MAAM,WAAW,wBAAkB,CAAA;AAC1C,eAAO,MAAM,OAAO;;CAElB,CAAA;AACF,eAAO,MAAM,IAAI;;;CAGf,CAAA;AAEF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;CAgBf,CAAA"}
@@ -1,9 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.glob = exports.hasMagic = exports.Glob = exports.unescape = exports.escape = exports.sync = exports.iterate = exports.iterateSync = exports.stream = exports.streamSync = exports.globIterate = exports.globIterateSync = exports.globSync = exports.globStream = exports.globStreamSync = void 0;
3
+ exports.glob = exports.sync = exports.iterate = exports.iterateSync = exports.stream = exports.streamSync = exports.globIterate = exports.globIterateSync = exports.globSync = exports.globStream = exports.globStreamSync = exports.Ignore = exports.hasMagic = exports.Glob = exports.unescape = exports.escape = void 0;
4
4
  const minimatch_1 = require("minimatch");
5
5
  const glob_js_1 = require("./glob.js");
6
6
  const has_magic_js_1 = require("./has-magic.js");
7
+ var minimatch_2 = require("minimatch");
8
+ Object.defineProperty(exports, "escape", { enumerable: true, get: function () { return minimatch_2.escape; } });
9
+ Object.defineProperty(exports, "unescape", { enumerable: true, get: function () { return minimatch_2.unescape; } });
10
+ var glob_js_2 = require("./glob.js");
11
+ Object.defineProperty(exports, "Glob", { enumerable: true, get: function () { return glob_js_2.Glob; } });
12
+ var has_magic_js_2 = require("./has-magic.js");
13
+ Object.defineProperty(exports, "hasMagic", { enumerable: true, get: function () { return has_magic_js_2.hasMagic; } });
14
+ var ignore_js_1 = require("./ignore.js");
15
+ Object.defineProperty(exports, "Ignore", { enumerable: true, get: function () { return ignore_js_1.Ignore; } });
7
16
  function globStreamSync(pattern, options = {}) {
8
17
  return new glob_js_1.Glob(pattern, options).streamSync();
9
18
  }
@@ -38,15 +47,6 @@ exports.sync = Object.assign(globSync, {
38
47
  stream: globStreamSync,
39
48
  iterate: globIterateSync,
40
49
  });
41
- /* c8 ignore start */
42
- var minimatch_2 = require("minimatch");
43
- Object.defineProperty(exports, "escape", { enumerable: true, get: function () { return minimatch_2.escape; } });
44
- Object.defineProperty(exports, "unescape", { enumerable: true, get: function () { return minimatch_2.unescape; } });
45
- var glob_js_2 = require("./glob.js");
46
- Object.defineProperty(exports, "Glob", { enumerable: true, get: function () { return glob_js_2.Glob; } });
47
- var has_magic_js_2 = require("./has-magic.js");
48
- Object.defineProperty(exports, "hasMagic", { enumerable: true, get: function () { return has_magic_js_2.hasMagic; } });
49
- /* c8 ignore stop */
50
50
  exports.glob = Object.assign(glob_, {
51
51
  glob: glob_,
52
52
  globSync,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,yCAA4C;AAS5C,uCAAgC;AAChC,iDAAyC;AAuBzC,SAAgB,cAAc,CAC5B,OAA0B,EAC1B,UAAuB,EAAE;IAEzB,OAAO,IAAI,cAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,UAAU,EAAE,CAAA;AAChD,CAAC;AALD,wCAKC;AAsBD,SAAgB,UAAU,CACxB,OAA0B,EAC1B,UAAuB,EAAE;IAEzB,OAAO,IAAI,cAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,CAAA;AAC5C,CAAC;AALD,gCAKC;AAqBD,SAAgB,QAAQ,CACtB,OAA0B,EAC1B,UAAuB,EAAE;IAEzB,OAAO,IAAI,cAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAA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ACV,MAAM,EAAN,cAAM;IACN,cAAc;IACd,UAAU,EAAV,kBAAU;IACV,WAAW;IACX,OAAO,EAAP,eAAO;IACP,eAAe;IACf,WAAW,EAAX,mBAAW;IACX,IAAI,EAAJ,cAAI;IACJ,QAAQ,EAAR,uBAAQ;IACR,MAAM,EAAN,kBAAM;IACN,QAAQ,EAAR,oBAAQ;CACT,CAAC,CAAA;AACF,YAAI,CAAC,IAAI,GAAG,YAAI,CAAA","sourcesContent":["import { escape, unescape } from 'minimatch'\nimport { Minipass } from 'minipass'\nimport { Path } from 'path-scurry'\nimport type {\n GlobOptions,\n GlobOptionsWithFileTypesFalse,\n GlobOptionsWithFileTypesTrue,\n GlobOptionsWithFileTypesUnset,\n} from './glob.js'\nimport { Glob } from './glob.js'\nimport { hasMagic } from './has-magic.js'\n\n/**\n * Syncronous form of {@link globStream}. Will read all the matches as fast as\n * you consume them, even all in a single tick if you consume them immediately,\n * but will still respond to backpressure if they're not consumed immediately.\n */\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue\n): Minipass<Path, Path>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse\n): Minipass<string, string>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesUnset\n): Minipass<string, string>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptions\n): Minipass<Path, Path> | Minipass<string, string>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptions = {}\n) {\n return new Glob(pattern, options).streamSync()\n}\n\n/**\n * Return a stream that emits all the strings or `Path` objects and\n * then emits `end` when completed.\n */\nexport function globStream(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse\n): Minipass<string, string>\nexport function globStream(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue\n): Minipass<Path, Path>\nexport function globStream(\n pattern: string | string[],\n options?: GlobOptionsWithFileTypesUnset | undefined\n): Minipass<string, string>\nexport function globStream(\n pattern: string | string[],\n options: GlobOptions\n): Minipass<Path, Path> | Minipass<string, string>\nexport function globStream(\n pattern: string | string[],\n options: GlobOptions = {}\n) {\n return new Glob(pattern, options).stream()\n}\n\n/**\n * Synchronous form of {@link glob}\n */\nexport function globSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse\n): string[]\nexport function globSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue\n): Path[]\nexport function globSync(\n pattern: string | string[],\n options?: GlobOptionsWithFileTypesUnset | undefined\n): string[]\nexport function globSync(\n pattern: string | string[],\n options: GlobOptions\n): Path[] | string[]\nexport function globSync(\n pattern: string | string[],\n options: GlobOptions = {}\n) {\n return new Glob(pattern, options).walkSync()\n}\n\n/**\n * Perform an asynchronous glob search for the pattern(s) specified. Returns\n * [Path](https://isaacs.github.io/path-scurry/classes/PathBase) objects if the\n * {@link withFileTypes} option is set to `true`. See {@link GlobOptions} for\n * full option descriptions.\n */\nasync function glob_(\n pattern: string | string[],\n options?: GlobOptionsWithFileTypesUnset | undefined\n): Promise<string[]>\nasync function glob_(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue\n): Promise<Path[]>\nasync function glob_(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse\n): Promise<string[]>\nasync function glob_(\n pattern: string | string[],\n options: GlobOptions\n): Promise<Path[] | string[]>\nasync function glob_(\n pattern: string | string[],\n options: GlobOptions = {}\n) {\n return new Glob(pattern, options).walk()\n}\n\n/**\n * Return a sync iterator for walking glob pattern matches.\n */\nexport function globIterateSync(\n pattern: string | string[],\n options?: GlobOptionsWithFileTypesUnset | undefined\n): Generator<string, void, void>\nexport function globIterateSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue\n): Generator<Path, void, void>\nexport function globIterateSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse\n): Generator<string, void, void>\nexport function globIterateSync(\n pattern: string | string[],\n options: GlobOptions\n): Generator<Path, void, void> | Generator<string, void, void>\nexport function globIterateSync(\n pattern: string | string[],\n options: GlobOptions = {}\n) {\n return new Glob(pattern, options).iterateSync()\n}\n\n/**\n * Return an async iterator for walking glob pattern matches.\n */\nexport function globIterate(\n pattern: string | string[],\n options?: GlobOptionsWithFileTypesUnset | undefined\n): AsyncGenerator<string, void, void>\nexport function globIterate(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue\n): AsyncGenerator<Path, void, void>\nexport function globIterate(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse\n): AsyncGenerator<string, void, void>\nexport function globIterate(\n pattern: string | string[],\n options: GlobOptions\n): AsyncGenerator<Path, void, void> | AsyncGenerator<string, void, void>\nexport function globIterate(\n pattern: string | string[],\n options: GlobOptions = {}\n) {\n return new Glob(pattern, options).iterate()\n}\n\n// aliases: glob.sync.stream() glob.stream.sync() glob.sync() etc\nexport const streamSync = globStreamSync\nexport const stream = Object.assign(globStream, { sync: globStreamSync })\nexport const iterateSync = globIterateSync\nexport const iterate = Object.assign(globIterate, {\n sync: globIterateSync,\n})\nexport const sync = Object.assign(globSync, {\n stream: globStreamSync,\n iterate: globIterateSync,\n})\n\n/* c8 ignore start */\nexport { escape, unescape } from 'minimatch'\nexport { Glob } from './glob.js'\nexport type {\n GlobOptions,\n GlobOptionsWithFileTypesFalse,\n GlobOptionsWithFileTypesTrue,\n GlobOptionsWithFileTypesUnset,\n} from './glob.js'\nexport { hasMagic } from './has-magic.js'\nexport type { IgnoreLike } from './ignore.js'\nexport type { MatchStream } from './walker.js'\nexport type {\n Path,\n WalkOptionsWithFileTypesTrue,\n WalkOptionsWithFileTypesUnset,\n WalkOptions,\n FSOption,\n} from 'path-scurry'\n\n/* c8 ignore stop */\n\nexport const glob = Object.assign(glob_, {\n glob: glob_,\n globSync,\n sync,\n globStream,\n stream,\n globStreamSync,\n streamSync,\n globIterate,\n iterate,\n globIterateSync,\n iterateSync,\n Glob,\n hasMagic,\n escape,\n unescape,\n})\nglob.glob = glob\n"]}
1
+ {"version":3,"file":"index.js","sourceR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AAiE;AACpD,QAAA,UAAU,GAAG,cAAc,CAAA;AAC3B,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAA;AAC5D,QAAA,WAAW,GAAG,eAAe,CAAA;AAC7B,QAAA,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,WAAW,EAAE;IAChD,IAAI,EAAE,eAAe;CACtB,CAAC,CAAA;AACW,QAAA,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE;IAC1C,MAAM,EAAE,cAAc;IACtB,OAAO,EAAE,eAAe;CACzB,CAAC,CAAA;AAEW,QAAA,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE;IACvC,IAAI,EAAE,KAAK;IACX,QAAQ;IACR,IAAI,EAAJ,YAAI;IACJ,UAAU;IACV,MAAM,EAAN,cAAM;IACN,cAAc;IACd,UAAU,EAAV,kBAAU;IACV,WAAW;IACX,OAAO,EAAP,eAAO;IACP,eAAe;IACf,WAAW,EAAX,mBAAW;IACX,IAAI,EAAJ,cAAI;IACJ,QAAQ,EAAR,uBAAQ;IACR,MAAM,EAAN,kBAAM;IACN,QAAQ,EAAR,oBAAQ;CACT,CAAC,CAAA;AACF,YAAI,CAAC,IAAI,GAAG,YAAI,CAAA","sourcesContent":["import { escape, unescape } from 'minimatch'\nimport { Minipass } from 'minipass'\nimport { Path } from 'path-scurry'\nimport type {\n GlobOptions,\n GlobOptionsWithFileTypesFalse,\n GlobOptionsWithFileTypesTrue,\n GlobOptionsWithFileTypesUnset,\n} from './glob.js'\nimport { Glob } from './glob.js'\nimport { hasMagic } from './has-magic.js'\n\nexport { escape, unescape } from 'minimatch'\nexport type {\n FSOption,\n Path,\n WalkOptions,\n WalkOptionsWithFileTypesTrue,\n WalkOptionsWithFileTypesUnset,\n} from 'path-scurry'\nexport { Glob } from './glob.js'\nexport type {\n GlobOptions,\n GlobOptionsWithFileTypesFalse,\n GlobOptionsWithFileTypesTrue,\n GlobOptionsWithFileTypesUnset,\n} from './glob.js'\nexport { hasMagic } from './has-magic.js'\nexport { Ignore } from './ignore.js'\nexport type { IgnoreLike } from './ignore.js'\nexport type { MatchStream } from './walker.js'\n\n/**\n * Syncronous form of {@link globStream}. Will read all the matches as fast as\n * you consume them, even all in a single tick if you consume them immediately,\n * but will still respond to backpressure if they're not consumed immediately.\n */\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue,\n): Minipass<Path, Path>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse,\n): Minipass<string, string>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesUnset,\n): Minipass<string, string>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptions,\n): Minipass<Path, Path> | Minipass<string, string>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptions = {},\n) {\n return new Glob(pattern, options).streamSync()\n}\n\n/**\n * Return a stream that emits all the strings or `Path` objects and\n * then emits `end` when completed.\n */\nexport function globStream(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse,\n): Minipass<string, string>\nexport function globStream(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue,\n): Minipass<Path, Path>\nexport function globStream(\n pattern: string | string[],\n options?: GlobOptionsWithFileTypesUnset | undefined,\n): Minipass<string, string>\nexport function globStream(\n pattern: string | string[],\n options: GlobOptions,\n): Minipass<Path, Path> | Minipass<string, string>\nexport function globStream(\n pattern: string | string[],\n options: GlobOptions = {},\n) {\n return new Glob(pattern, options).stream()\n}\n\n/**\n * Synchronous form of {@link glob}\n */\nexport function globSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse,\n): string[]\nexport function globSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue,\n): Path[]\nexport function globSync(\n pattern: string | string[],\n options?: GlobOptionsWithFileTypesUnset | undefined,\n): string[]\nexport function globSync(\n pattern: string | string[],\n options: GlobOptions,\n): Path[] | string[]\nexport function globSync(\n pattern: string | string[],\n options: GlobOptions = {},\n) {\n return new Glob(pattern, options).walkSync()\n}\n\n/**\n * Perform an asynchronous glob search for the pattern(s) specified. Returns\n * [Path](https://isaacs.github.io/path-scurry/classes/PathBase) objects if the\n * {@link withFileTypes} option is set to `true`. See {@link GlobOptions} for\n * full option descriptions.\n */\nasync function glob_(\n pattern: string | string[],\n options?: GlobOptionsWithFileTypesUnset | undefined,\n): Promise<string[]>\nasync function glob_(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue,\n): Promise<Path[]>\nasync function glob_(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse,\n): Promise<string[]>\nasync function glob_(\n pattern: string | string[],\n options: GlobOptions,\n): Promise<Path[] | string[]>\nasync function glob_(\n pattern: string | string[],\n options: GlobOptions = {},\n) {\n return new Glob(pattern, options).walk()\n}\n\n/**\n * Return a sync iterator for walking glob pattern matches.\n */\nexport function globIterateSync(\n pattern: string | string[],\n options?: GlobOptionsWithFileTypesUnset | undefined,\n): Generator<string, void, void>\nexport function globIterateSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue,\n): Generator<Path, void, void>\nexport function globIterateSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse,\n): Generator<string, void, void>\nexport function globIterateSync(\n pattern: string | string[],\n options: GlobOptions,\n): Generator<Path, void, void> | Generator<string, void, void>\nexport function globIterateSync(\n pattern: string | string[],\n options: GlobOptions = {},\n) {\n return new Glob(pattern, options).iterateSync()\n}\n\n/**\n * Return an async iterator for walking glob pattern matches.\n */\nexport function globIterate(\n pattern: string | string[],\n options?: GlobOptionsWithFileTypesUnset | undefined,\n): AsyncGenerator<string, void, void>\nexport function globIterate(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue,\n): AsyncGenerator<Path, void, void>\nexport function globIterate(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse,\n): AsyncGenerator<string, void, void>\nexport function globIterate(\n pattern: string | string[],\n options: GlobOptions,\n): AsyncGenerator<Path, void, void> | AsyncGenerator<string, void, void>\nexport function globIterate(\n pattern: string | string[],\n options: GlobOptions = {},\n) {\n return new Glob(pattern, options).iterate()\n}\n\n// aliases: glob.sync.stream() glob.stream.sync() glob.sync() etc\nexport const streamSync = globStreamSync\nexport const stream = Object.assign(globStream, { sync: globStreamSync })\nexport const iterateSync = globIterateSync\nexport const iterate = Object.assign(globIterate, {\n sync: globIterateSync,\n})\nexport const sync = Object.assign(globSync, {\n stream: globStreamSync,\n iterate: globIterateSync,\n})\n\nexport const glob = Object.assign(glob_, {\n glob: glob_,\n globSync,\n sync,\n globStream,\n stream,\n globStreamSync,\n streamSync,\n globIterate,\n iterate,\n globIterateSync,\n iterateSync,\n Glob,\n hasMagic,\n escape,\n unescape,\n})\nglob.glob = glob\n"]}
@@ -1 +1,3 @@
1
- {"type":"commonjs"}
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"pattern.d.ts","sourceRoot":"","sources":["../../src/pattern.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AACpC,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,QAAQ,CAAA;AAGzD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,SAAS,EAAE,CAAC,CAAA;AAC9D,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,MAAM;IACV,EAAE,EAAE,MAAM;IACV,GAAG,IAAI,EAAE,SAAS,EAAE;CACrB,CAAA;AACD,MAAM,MAAM,gBAAgB,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,SAAS,EAAE,CAAC,CAAA;AACjE,MAAM,MAAM,mBAAmB,GAAG,CAAC,EA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index === 0
114
- ? this.isAbsolute()
115
- ? this.#globList[0] + this.#globList.slice(1).join('/')
113
+ (this.#index === 0 ?
114
+ this.isAbsolute() ?
115
+ this.#globList[0] + this.#globList.slice(1).join('/')
116
116
  : this.#globList.join('/')
117
117
  : this.#globList.slice(this.#index).join('/')));
118
118
  }
@@ -141,8 +141,8 @@ class Pattern {
141
141
  */
142
142
  isUNC() {
143
143
  const pl = this.#patternList;
144
- return this.#isUNC !== undefined
145
- ? this.#isUNC
144
+ return this.#isUNC !== undefined ?
145
+ this.#isUNC
146
146
  : (this.#isUNC =
147
147
  this.#platform === 'win32' &&
148
148
  this.#index === 0 &&
@@ -163,8 +163,8 @@ class Pattern {
163
163
  */
164
164
  isDrive() {
165
165
  const pl = this.#patternList;
166
- return this.#isDrive !== undefined
167
- ? this.#isDrive
166
+ return this.#isDrive !== undefined ?
167
+ this.#isDrive
168
168
  : (this.#isDrive =
169
169
  this.#platform === 'win32' &&
170
170
  this.#index === 0 &&
@@ -180,8 +180,8 @@ class Pattern {
180
180
  */
181
181
  isAbsolute() {
182
182
  const pl = this.#patternList;
183
- return this.#isAbsolute !== undefined
184
- ? this.#isAbsolute
183
+ return this.#isAbsolute !== undefined ?
184
+ this.#isAbsolute
185
185
  : (this.#isAbsolute =
186
186
  (pl[0] === '' && pl.length > 1) ||
187
187
  this.isDrive() ||
@@ -192,8 +192,8 @@ class Pattern {
192
192
  */
193
193
  root() {
194
194
  const p = this.#patternList[0];
195
- return typeof p === 'string' && this.isAbsolute() && this.#index === 0
196
- ? p
195
+ return (typeof p === 'string' && this.isAbsolute() && this.#index === 0) ?
196
+ p
197
197
  : '';
198
198
  }
199
199
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"pattern.js","sourceRoot":"","sources":["../../src/pattern.ts"],"names":[],"mappings":";AAAA,yEAAyE;;;AAEzE,yCAAoC;AAgBpC,MAAM,aAAa,GAAG,CAAC,EAAe,EAAqB,EAAE,CAC3D,EAAE,CAAC,MAAM,IAAI,CAA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,OAAO,OAAO,CAAC,KAAK,QAAQ,IAAI,IAAI,CAAC,UAAU,EAAE,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;YACpE,CAAC,CAAC,CAAC;YACH,CAAC,CAAC,EAAE,CAAA;IACR,CAAC;IAED;;;OAGG;IACH,mBAAmB;QACjB,OAAO,CAAC,CACN,IAAI,CAAC,MAAM,KAAK,CAAC;YACjB,CAAC,IAAI,CAAC,UAAU,EAAE;YAClB,CAAC,IAAI,CAAC,eAAe,CACtB,CAAA;IACH,CAAC;IAED;;OAEG;IACH,kBAAkB;QAChB,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,eAAe;YAClE,OAAO,KAAK,CAAA;QACd,IAAI,CAAC,eAAe,GAAG,KAAK,CAAA;QAC5B,OAAO,IAAI,CAAA;IACb,CAAC;CACF;AAnOD,0BAmOC","sourcesContent":["// this is just a very light wrapper around 2 arrays with an offset index\n\nimport { GLOBSTAR } from 'minimatch'\nexport type MMPattern = string | RegExp | typeof GLOBSTAR\n\n// an array of length >= 1\nexport type PatternList = [p: MMPattern, ...rest: MMPattern[]]\nexport type UNCPatternList = [\n p0: '',\n p1: '',\n p2: string,\n p3: string,\n ...rest: MMPattern[]\n]\nexport type DrivePatternList = [p0: string, ...rest: MMPattern[]]\nexport type AbsolutePatternList = [p0: '', ...rest: MMPattern[]]\nexport type GlobList = [p: string, ...rest: string[]]\n\nconst isPatternList = (pl: MMPattern[]): pl is PatternList =>\n pl.length >= 1\nconst isGlobList = (gl: string[]): gl is GlobList => gl.length >= 1\n\n/**\n * An immutable-ish view on an array of glob parts and their parsed\n * results\n */\nexport class Pattern {\n readonly #patternList: PatternList\n readonly #globList: GlobList\n readonly #index: number\n readonly length: number\n readonly #platform: NodeJS.Platform\n #rest?: Pattern | null\n #globString?: string\n #isDrive?: boolean\n #isUNC?: boolean\n #isAbsolute?: boolean\n #followGlobstar: boolean = true\n\n constructor(\n patternList: MMPattern[],\n globList: string[],\n index: number,\n platform: NodeJS.Platform\n ) {\n if (!isPatternList(patternList)) {\n throw new TypeError('empty pattern list')\n }\n if (!isGlobList(globList)) {\n throw new TypeError('empty glob list')\n }\n if (globList.length !== patternList.length) {\n throw new TypeError('mismatched pattern list and glob list lengths')\n }\n this.length = patternList.length\n if (index < 0 || index >= this.length) {\n throw new TypeError('index out of range')\n }\n this.#patternList = patternList\n this.#globList = globList\n this.#index = index\n this.#platform = platform\n\n // normalize root entries of absolute patterns on initial creation.\n if (this.#index === 0) {\n // c: => ['c:/']\n // C:/ => ['C:/']\n // C:/x => ['C:/', 'x']\n // //host/share => ['//host/share/']\n // //host/share/ => ['//host/share/']\n // //host/share/x => ['//host/share/', 'x']\n // /etc => ['/', 'etc']\n // / => ['/']\n if (this.isUNC()) {\n // '' / '' / 'host' / 'share'\n const [p0, p1, p2, p3, ...prest] = this.#patternList\n const [g0, g1, g2, g3, ...grest] = this.#globList\n if (prest[0] === '') {\n // ends in /\n prest.shift()\n grest.shift()\n }\n const p = [p0, p1, p2, p3, ''].join('/')\n const g = [g0, g1, g2, g3, ''].join('/')\n this.#patternList = [p, ...prest]\n this.#globList = [g, ...grest]\n this.length = this.#patternList.length\n } else if (this.isDrive() || this.isAbsolute()) {\n const [p1, ...prest] = this.#patternList\n const [g1, ...grest] = this.#globList\n if (prest[0] === '') {\n // ends in /\n prest.shift()\n grest.shift()\n }\n const p = (p1 as string) + '/'\n const g = g1 + '/'\n this.#patternList = [p, ...prest]\n this.#globList = [g, ...grest]\n this.length = this.#patternList.length\n }\n }\n }\n\n /**\n * The first entry in the parsed list of patterns\n */\n pattern(): MMPattern {\n return this.#patternList[this.#index] as MMPattern\n }\n\n /**\n * true of if pattern() returns a string\n */\n isString(): boolean {\n return typeof this.#patternList[this.#index] === 'string'\n }\n /**\n * true of if pattern() returns GLOBSTAR\n */\n isGlobstar(): boolean {\n return this.#patternList[this.#index] === GLOBSTAR\n }\n /**\n * true if pattern() returns a regexp\n */\n isRegExp(): boolean {\n return this.#patternList[this.#index] instanceof RegExp\n }\n\n /**\n * The /-joined set of glob parts that make up this pattern\n */\n globString(): string {\n return (this.#globString =\n this.#globString ||\n (this.#index === 0\n ? this.isAbsolute()\n ? this.#globList[0] + this.#globList.slice(1).join('/')\n : this.#globList.join('/')\n : this.#globList.slice(this.#index).join('/')))\n }\n\n /**\n * true if there are more pattern parts after this one\n */\n hasMore(): boolean {\n return this.length > this.#index + 1\n }\n\n /**\n * The rest of the pattern after this part, or null if this is the end\n */\n rest(): Pattern | null {\n if (this.#rest !== undefined) return this.#rest\n if (!this.hasMore()) return (this.#rest = null)\n this.#rest = new Pattern(\n this.#patternList,\n this.#globList,\n this.#index + 1,\n this.#platform\n )\n this.#rest.#isAbsolute = this.#isAbsolute\n this.#rest.#isUNC = this.#isUNC\n this.#rest.#isDrive = this.#isDrive\n return this.#rest\n }\n\n /**\n * true if the pattern represents a //unc/path/ on windows\n */\n isUNC(): boolean {\n const pl = this.#patternList\n return this.#isUNC !== undefined\n ? this.#isUNC\n : (this.#isUNC =\n this.#platform === 'win32' &&\n this.#index === 0 &&\n pl[0] === '' &&\n pl[1] === '' &&\n typeof pl[2] === 'string' &&\n !!pl[2] &&\n typeof pl[3] === 'string' &&\n !!pl[3])\n }\n\n // pattern like C:/...\n // split = ['C:', ...]\n // XXX: would be nice to handle patterns like `c:*` to test the cwd\n // in c: for *, but I don't know of a way to even figure out what that\n // cwd is without actually chdir'ing into it?\n /**\n * True if the pattern starts with a drive letter on Windows\n */\n isDrive(): boolean {\n const pl = this.#patternList\n return this.#isDrive !== undefined\n ? this.#isDrive\n : (this.#isDrive =\n this.#platform === 'win32' &&\n this.#index === 0 &&\n this.length > 1 &&\n typeof pl[0] === 'string' &&\n /^[a-z]:$/i.test(pl[0]))\n }\n\n // pattern = '/' or '/...' or '/x/...'\n // split = ['', ''] or ['', ...] or ['', 'x', ...]\n // Drive and UNC both considered absolute on windows\n /**\n * True if the pattern is rooted on an absolute path\n */\n isAbsolute(): boolean {\n const pl = this.#patternList\n return this.#isAbsolute !== undefined\n ? this.#isAbsolute\n : (this.#isAbsolute =\n (pl[0] === '' && pl.length > 1) ||\n this.isDrive() ||\n this.isUNC())\n }\n\n /**\n * consume the root of the pattern, and return it\n */\n root(): string {\n const p = this.#patternList[0]\n return typeof p === 'string' && this.isAbsolute() && this.#index === 0\n ? p\n : ''\n }\n\n /**\n * Check to see if the current globstar pattern is allowed to follow\n * a symbolic link.\n */\n checkFollowGlobstar(): boolean {\n return !(\n this.#index === 0 ||\n !this.isGlobstar() ||\n !this.#followGlobstar\n )\n }\n\n /**\n * Mark that the current globstar pattern is following a symbolic link\n */\n markFollowGlobstar(): boolean {\n if (this.#index === 0 || !this.isGlobstar() || !this.#followGlobstar)\n return false\n this.#followGlobstar = false\n return true\n }\n}\n"]}
1
+ {"version":3,"file":"pattern.js","sourceRoot":"","sources":["../../src/pattern.ts"],"names":[],"mappings":";AAAA,yEAAyE;;;AAEzE,yCAAoC;AAgBpC,MAAM,aAAa,GAAG,CAAC,EAAe,EAAqB,EAAE,CAC3D,EAAE,CAAC,MAAM,IAAI,CAAC,CAAA;AAChB,MAAM,UAAU,GAAG,CAAC,EAAY,EAAkB,EAAE,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,CAAA;AAEnE;;;GAGG;AACH,MAAa,OAAO;IACT,YAAY,CAAa;IACzB,SAAS,CAAU;IACnB,MAAM,CAAQ;IACd,MAAM,CAAQ;IACd,SAAS,CAAiB;IACnC,KAAK,CAAiB;IACtB,WAAW,CAAS;IACpB,QAAQ,CAAU;IAClB,MAAM,CAAU;IAChB,WAAW,CAAU;IACrB,eAAe,GAAY,IAAI,CAAA;IAE/B,YACE,WAAwB,EACxB,QAAkB,EAClB,KAAa,EACb,QAAyB;QAEzB,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,EAAE,CAAC;YAChC,MAAM,IAAI,SAAS,CAAC,oBAAoB,CAAC,CAAA;Q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,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,IAAI,CAAC,eAAe;YAClE,OAAO,KAAK,CAAA;QACd,IAAI,CAAC,eAAe,GAAG,KAAK,CAAA;QAC5B,OAAO,IAAI,CAAA;IACb,CAAC;CACF;AArOD,0BAqOC","sourcesContent":["// this is just a very light wrapper around 2 arrays with an offset index\n\nimport { GLOBSTAR } from 'minimatch'\nexport type MMPattern = string | RegExp | typeof GLOBSTAR\n\n// an array of length >= 1\nexport type PatternList = [p: MMPattern, ...rest: MMPattern[]]\nexport type UNCPatternList = [\n p0: '',\n p1: '',\n p2: string,\n p3: string,\n ...rest: MMPattern[],\n]\nexport type DrivePatternList = [p0: string, ...rest: MMPattern[]]\nexport type AbsolutePatternList = [p0: '', ...rest: MMPattern[]]\nexport type GlobList = [p: string, ...rest: string[]]\n\nconst isPatternList = (pl: MMPattern[]): pl is PatternList =>\n pl.length >= 1\nconst isGlobList = (gl: string[]): gl is GlobList => gl.length >= 1\n\n/**\n * An immutable-ish view on an array of glob parts and their parsed\n * results\n */\nexport class Pattern {\n readonly #patternList: PatternList\n readonly #globList: GlobList\n readonly #index: number\n readonly length: number\n readonly #platform: NodeJS.Platform\n #rest?: Pattern | null\n #globString?: string\n #isDrive?: boolean\n #isUNC?: boolean\n #isAbsolute?: boolean\n #followGlobstar: boolean = true\n\n constructor(\n patternList: MMPattern[],\n globList: string[],\n index: number,\n platform: NodeJS.Platform,\n ) {\n if (!isPatternList(patternList)) {\n throw new TypeError('empty pattern list')\n }\n if (!isGlobList(globList)) {\n throw new TypeError('empty glob list')\n }\n if (globList.length !== patternList.length) {\n throw new TypeError('mismatched pattern list and glob list lengths')\n }\n this.length = patternList.length\n if (index < 0 || index >= this.length) {\n throw new TypeError('index out of range')\n }\n this.#patternList = patternList\n this.#globList = globList\n this.#index = index\n this.#platform = platform\n\n // normalize root entries of absolute patterns on initial creation.\n if (this.#index === 0) {\n // c: => ['c:/']\n // C:/ => ['C:/']\n // C:/x => ['C:/', 'x']\n // //host/share => ['//host/share/']\n // //host/share/ => ['//host/share/']\n // //host/share/x => ['//host/share/', 'x']\n // /etc => ['/', 'etc']\n // / => ['/']\n if (this.isUNC()) {\n // '' / '' / 'host' / 'share'\n const [p0, p1, p2, p3, ...prest] = this.#patternList\n const [g0, g1, g2, g3, ...grest] = this.#globList\n if (prest[0] === '') {\n // ends in /\n prest.shift()\n grest.shift()\n }\n const p = [p0, p1, p2, p3, ''].join('/')\n const g = [g0, g1, g2, g3, ''].join('/')\n this.#patternList = [p, ...prest]\n this.#globList = [g, ...grest]\n this.length = this.#patternList.length\n } else if (this.isDrive() || this.isAbsolute()) {\n const [p1, ...prest] = this.#patternList\n const [g1, ...grest] = this.#globList\n if (prest[0] === '') {\n // ends in /\n prest.shift()\n grest.shift()\n }\n const p = (p1 as string) + '/'\n const g = g1 + '/'\n this.#patternList = [p, ...prest]\n this.#globList = [g, ...grest]\n this.length = this.#patternList.length\n }\n }\n }\n\n /**\n * The first entry in the parsed list of patterns\n */\n pattern(): MMPattern {\n return this.#patternList[this.#index] as MMPattern\n }\n\n /**\n * true of if pattern() returns a string\n */\n isString(): boolean {\n return typeof this.#patternList[this.#index] === 'string'\n }\n /**\n * true of if pattern() returns GLOBSTAR\n */\n isGlobstar(): boolean {\n return this.#patternList[this.#index] === GLOBSTAR\n }\n /**\n * true if pattern() returns a regexp\n */\n isRegExp(): boolean {\n return this.#patternList[this.#index] instanceof RegExp\n }\n\n /**\n * The /-joined set of glob parts that make up this pattern\n */\n globString(): string {\n return (this.#globString =\n this.#globString ||\n (this.#index === 0 ?\n this.isAbsolute() ?\n this.#globList[0] + this.#globList.slice(1).join('/')\n : this.#globList.join('/')\n : this.#globList.slice(this.#index).join('/')))\n }\n\n /**\n * true if there are more pattern parts after this one\n */\n hasMore(): boolean {\n return this.length > this.#index + 1\n }\n\n /**\n * The rest of the pattern after this part, or null if this is the end\n */\n rest(): Pattern | null {\n if (this.#rest !== undefined) return this.#rest\n if (!this.hasMore()) return (this.#rest = null)\n this.#rest = new Pattern(\n this.#patternList,\n this.#globList,\n this.#index + 1,\n this.#platform,\n )\n this.#rest.#isAbsolute = this.#isAbsolute\n this.#rest.#isUNC = this.#isUNC\n this.#rest.#isDrive = this.#isDrive\n return this.#rest\n }\n\n /**\n * true if the pattern represents a //unc/path/ on windows\n */\n isUNC(): boolean {\n const pl = this.#patternList\n return this.#isUNC !== undefined ?\n this.#isUNC\n : (this.#isUNC =\n this.#platform === 'win32' &&\n this.#index === 0 &&\n pl[0] === '' &&\n pl[1] === '' &&\n typeof pl[2] === 'string' &&\n !!pl[2] &&\n typeof pl[3] === 'string' &&\n !!pl[3])\n }\n\n // pattern like C:/...\n // split = ['C:', ...]\n // XXX: would be nice to handle patterns like `c:*` to test the cwd\n // in c: for *, but I don't know of a way to even figure out what that\n // cwd is without actually chdir'ing into it?\n /**\n * True if the pattern starts with a drive letter on Windows\n */\n isDrive(): boolean {\n const pl = this.#patternList\n return this.#isDrive !== undefined ?\n this.#isDrive\n : (this.#isDrive =\n this.#platform === 'win32' &&\n this.#index === 0 &&\n this.length > 1 &&\n typeof pl[0] === 'string' &&\n /^[a-z]:$/i.test(pl[0]))\n }\n\n // pattern = '/' or '/...' or '/x/...'\n // split = ['', ''] or ['', ...] or ['', 'x', ...]\n // Drive and UNC both considered absolute on windows\n /**\n * True if the pattern is rooted on an absolute path\n */\n isAbsolute(): boolean {\n const pl = this.#patternList\n return this.#isAbsolute !== undefined ?\n this.#isAbsolute\n : (this.#isAbsolute =\n (pl[0] === '' && pl.length > 1) ||\n this.isDrive() ||\n this.isUNC())\n }\n\n /**\n * consume the root of the pattern, and return it\n */\n root(): string {\n const p = this.#patternList[0]\n return (\n typeof p === 'string' && this.isAbsolute() && this.#index === 0\n ) ?\n p\n : ''\n }\n\n /**\n * Check to see if the current globstar pattern is allowed to follow\n * a symbolic link.\n */\n checkFollowGlobstar(): boolean {\n return !(\n this.#index === 0 ||\n !this.isGlobstar() ||\n !this.#followGlobstar\n )\n }\n\n /**\n * Mark that the current globstar pattern is following a symbolic link\n */\n markFollowGlobstar(): boolean {\n if (this.#index === 0 || !this.isGlobstar() || !this.#followGlobstar)\n return false\n this.#followGlobstar = false\n return true\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"processor.d.ts","sourceRoot":"","sources":["../../src/processor.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,QAAQ,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAClC,OAAO,EAAa,OAAO,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAE5C;;GAEG;AACH,qBAAa,cAAc;IACzB,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAA;gBACnB,KAAK,GAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAa;IAGvD,IAAI;IAGJ,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO;IAGxC,WAAW,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO;CAM3C;AAED;;;;GAIG;AACH,qBAAa,WAAW;IACtB,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAY;IACpC,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO;IAMnD,OAAO,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE;CAOtC;AAED;;;GAGG;AACH,qBAAa,QAAQ;IACnB,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC,CAAY;IACvC,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO;IAWlC,GAAG,CAAC,MAAM,EAAE,IAAI,GAAG,OAAO,EAAE;IAS5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