@cdklabs/cdk-ssm-documents 0.0.64 → 0.0.65

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 (333) hide show
  1. package/.jsii +11 -11
  2. package/lib/construct/synth-utils.js +1 -1
  3. package/lib/document/automation-document.js +1 -1
  4. package/lib/document/command-document.js +1 -1
  5. package/lib/document/document-builder.js +2 -2
  6. package/lib/document/ssm-document.js +1 -1
  7. package/lib/domain/aws-service.js +1 -1
  8. package/lib/domain/choice.js +1 -1
  9. package/lib/domain/data-type.js +1 -1
  10. package/lib/domain/enum/install-action.js +2 -2
  11. package/lib/domain/enum/install-uninstall-repair.js +2 -2
  12. package/lib/domain/enum/installation-type.js +2 -2
  13. package/lib/domain/enum/package-name.js +2 -2
  14. package/lib/domain/input.js +1 -1
  15. package/lib/domain/operation.js +1 -1
  16. package/lib/domain/platform.js +1 -1
  17. package/lib/domain/precondition.js +1 -1
  18. package/lib/incident-response/incident-response.js +3 -3
  19. package/lib/interface/approve-hook.js +2 -2
  20. package/lib/interface/auth-method.js +3 -3
  21. package/lib/interface/aws-invoker.js +2 -2
  22. package/lib/interface/downloadable-content.js +8 -8
  23. package/lib/interface/environment.js +3 -3
  24. package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
  25. package/lib/interface/observer.js +1 -1
  26. package/lib/interface/on-failure.js +6 -6
  27. package/lib/interface/pause-hook.js +2 -2
  28. package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
  29. package/lib/interface/run-document-location.js +2 -2
  30. package/lib/interface/sleep-hook.js +2 -2
  31. package/lib/interface/step-ref.js +1 -1
  32. package/lib/interface/variables/boolean-variable.js +2 -2
  33. package/lib/interface/variables/map-list-variable.js +2 -2
  34. package/lib/interface/variables/number-variable.js +2 -2
  35. package/lib/interface/variables/secure-string-variable.js +4 -4
  36. package/lib/interface/variables/string-list-variable.js +2 -2
  37. package/lib/interface/variables/string-map-variable.js +2 -2
  38. package/lib/interface/variables/string-variable.js +4 -4
  39. package/lib/interface/variables/variable.js +2 -2
  40. package/lib/interface/webhook.js +1 -1
  41. package/lib/parent-steps/automation/approve-step.js +1 -1
  42. package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
  43. package/lib/parent-steps/automation/aws-api-step.js +1 -1
  44. package/lib/parent-steps/automation/branch-step.js +1 -1
  45. package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
  46. package/lib/parent-steps/automation/copy-image-step.js +1 -1
  47. package/lib/parent-steps/automation/create-image-step.js +1 -1
  48. package/lib/parent-steps/automation/create-stack-step.js +3 -3
  49. package/lib/parent-steps/automation/create-tags-step.js +3 -3
  50. package/lib/parent-steps/automation/delete-image-step.js +1 -1
  51. package/lib/parent-steps/automation/delete-stack-step.js +1 -1
  52. package/lib/parent-steps/automation/execute-automation-step.js +1 -1
  53. package/lib/parent-steps/automation/execute-script-step.js +5 -5
  54. package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
  55. package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
  56. package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
  57. package/lib/parent-steps/automation/pause-step.js +1 -1
  58. package/lib/parent-steps/automation/run-command-step.js +3 -3
  59. package/lib/parent-steps/automation/run-instance-step.js +1 -1
  60. package/lib/parent-steps/automation/sleep-step.js +1 -1
  61. package/lib/parent-steps/automation/update-variable.js +1 -1
  62. package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
  63. package/lib/parent-steps/automation-step.js +1 -1
  64. package/lib/parent-steps/command/applications-step.js +1 -1
  65. package/lib/parent-steps/command/configure-docker-step.js +1 -1
  66. package/lib/parent-steps/command/configure-package-step.js +1 -1
  67. package/lib/parent-steps/command/domain-join-step.js +1 -1
  68. package/lib/parent-steps/command/download-content-step.js +1 -1
  69. package/lib/parent-steps/command/ps-module-step.js +1 -1
  70. package/lib/parent-steps/command/run-docker-action-step.js +1 -1
  71. package/lib/parent-steps/command/run-document-step.js +1 -1
  72. package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
  73. package/lib/parent-steps/command/run-shell-script-step.js +1 -1
  74. package/lib/parent-steps/command/software-inventory-step.js +1 -1
  75. package/lib/parent-steps/command/update-agent-step.js +1 -1
  76. package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
  77. package/lib/parent-steps/command-step.js +1 -1
  78. package/lib/parent-steps/step.js +1 -1
  79. package/lib/patterns/automation/composite-step.js +2 -2
  80. package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
  81. package/lib/patterns/automation/string-step.js +1 -1
  82. package/lib/patterns/document/string-document.js +1 -1
  83. package/lib/patterns/document/timed-document.js +1 -1
  84. package/lib/samples/hello-world.js +1 -1
  85. package/lib/simulation/automation/approve-simulation.js +1 -1
  86. package/lib/simulation/automation/assert-aws-resource-simulation.js +1 -1
  87. package/lib/simulation/automation/automation-simulation-base.js +1 -1
  88. package/lib/simulation/automation/aws-api-simulation.js +1 -1
  89. package/lib/simulation/automation/branch-simulation.js +1 -1
  90. package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
  91. package/lib/simulation/automation/copy-image-simulation.js +1 -1
  92. package/lib/simulation/automation/create-image-simulation.js +1 -1
  93. package/lib/simulation/automation/create-stack-simulation.js +1 -1
  94. package/lib/simulation/automation/create-tags-simulation.js +1 -1
  95. package/lib/simulation/automation/delete-image-simulation.js +1 -1
  96. package/lib/simulation/automation/delete-stack-simulation.js +1 -1
  97. package/lib/simulation/automation/execute-script-simulation.js +1 -1
  98. package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
  99. package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
  100. package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
  101. package/lib/simulation/automation/pause-simulation.js +1 -1
  102. package/lib/simulation/automation/run-command-simulation.js +1 -1
  103. package/lib/simulation/automation/run-instance-simulation.js +1 -1
  104. package/lib/simulation/automation/sleep-simulation.js +1 -1
  105. package/lib/simulation/automation/update-variable-simulation.js +1 -1
  106. package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
  107. package/lib/simulation/automation-step-simulation.js +1 -1
  108. package/lib/simulation/command/command-simulation-base.js +1 -1
  109. package/lib/simulation/command/ps-module-simulation.js +1 -1
  110. package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
  111. package/lib/simulation/command/run-shell-script-simulation.js +1 -1
  112. package/lib/simulation/command-step-simulation.js +1 -1
  113. package/lib/simulation/document/automation-simulation.js +1 -1
  114. package/lib/simulation/document/command-simulation.js +1 -1
  115. package/lib/simulation/simulation.js +1 -1
  116. package/node_modules/@aws-sdk/checksums/package.json +4 -4
  117. package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
  118. package/node_modules/@aws-sdk/client-cloudwatch/README.md +21 -0
  119. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js +42 -0
  120. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/models/errors.js +75 -30
  121. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/schemas/schemas_0.js +77 -4
  122. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/CloudWatch.js +6 -0
  123. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/AssociateDatasetKmsKeyCommand.js +16 -0
  124. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/DisassociateDatasetKmsKeyCommand.js +16 -0
  125. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/GetDatasetCommand.js +16 -0
  126. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/index.js +3 -0
  127. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/models/errors.js +68 -26
  128. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/schemas/schemas_0.js +73 -1
  129. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/CloudWatch.d.ts +21 -0
  130. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/CloudWatchClient.d.ts +5 -2
  131. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/AssociateDatasetKmsKeyCommand.d.ts +161 -0
  132. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DisassociateDatasetKmsKeyCommand.d.ts +105 -0
  133. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/GetDatasetCommand.d.ts +91 -0
  134. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/index.d.ts +3 -0
  135. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/errors.d.ts +74 -23
  136. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/models_0.d.ts +90 -0
  137. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/schemas/schemas_0.d.ts +12 -0
  138. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/CloudWatch.d.ts +51 -0
  139. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/CloudWatchClient.d.ts +18 -0
  140. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/AssociateDatasetKmsKeyCommand.d.ts +53 -0
  141. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DisassociateDatasetKmsKeyCommand.d.ts +53 -0
  142. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/GetDatasetCommand.d.ts +49 -0
  143. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/index.d.ts +3 -0
  144. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/errors.d.ts +40 -16
  145. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/models_0.d.ts +17 -0
  146. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
  147. package/node_modules/@aws-sdk/client-cloudwatch/package.json +9 -9
  148. package/node_modules/@aws-sdk/client-ec2/README.md +14 -0
  149. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +34 -0
  150. package/node_modules/@aws-sdk/client-ec2/dist-cjs/schemas/schemas_0.js +170 -75
  151. package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +4 -0
  152. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/AttachImageWatermarkCommand.js +16 -0
  153. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DetachImageWatermarkCommand.js +16 -0
  154. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +2 -0
  155. package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +5 -0
  156. package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +108 -13
  157. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +14 -0
  158. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +4 -2
  159. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AttachImageWatermarkCommand.d.ts +84 -0
  160. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  161. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -1
  162. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDefaultVpcCommand.d.ts +1 -2
  163. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFlowLogsCommand.d.ts +8 -0
  164. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerPeerCommand.d.ts +2 -1
  165. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteTableCommand.d.ts +1 -2
  166. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -1
  167. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
  168. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
  169. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFlowLogsCommand.d.ts +8 -0
  170. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeImagesCommand.d.ts +9 -0
  171. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -1
  172. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -2
  173. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +9 -0
  174. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -1
  175. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -1
  176. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -2
  177. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +0 -5
  178. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DetachImageWatermarkCommand.d.ts +82 -0
  179. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
  180. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +1 -2
  181. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyIpamScopeCommand.d.ts +2 -1
  182. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  183. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  184. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +1 -2
  185. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVolumeCommand.d.ts +0 -5
  186. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +2 -0
  187. package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +13 -0
  188. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +38 -23
  189. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +45 -128
  190. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +128 -48
  191. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +109 -161
  192. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +169 -219
  193. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +250 -353
  194. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +351 -182
  195. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +178 -2
  196. package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +9 -0
  197. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +34 -0
  198. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +12 -0
  199. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AttachImageWatermarkCommand.d.ts +53 -0
  200. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +2 -4
  201. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +4 -2
  202. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateRouteServerPeerCommand.d.ts +2 -4
  203. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateRouteTableCommand.d.ts +4 -2
  204. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +2 -4
  205. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +1 -1
  206. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
  207. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -1
  208. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +4 -2
  209. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -4
  210. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -1
  211. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeStaleSecurityGroupsCommand.d.ts +4 -2
  212. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DetachImageWatermarkCommand.d.ts +53 -0
  213. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
  214. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMetricDataCommand.d.ts +4 -2
  215. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamScopeCommand.d.ts +2 -4
  216. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  217. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  218. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +4 -2
  219. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +2 -0
  220. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +7 -0
  221. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +9 -7
  222. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +13 -26
  223. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +29 -12
  224. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +25 -36
  225. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +40 -35
  226. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +49 -67
  227. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +66 -47
  228. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +40 -0
  229. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
  230. package/node_modules/@aws-sdk/client-ec2/package.json +10 -10
  231. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +18 -3
  232. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +17 -2
  233. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +5 -2
  234. package/node_modules/@aws-sdk/client-iam/package.json +9 -9
  235. package/node_modules/@aws-sdk/client-lambda/package.json +5 -5
  236. package/node_modules/@aws-sdk/client-s3/package.json +9 -9
  237. package/node_modules/@aws-sdk/client-sns/package.json +5 -5
  238. package/node_modules/@aws-sdk/client-sqs/package.json +6 -6
  239. package/node_modules/@aws-sdk/client-ssm/package.json +5 -5
  240. package/node_modules/@aws-sdk/core/dist-cjs/index.js +47 -2297
  241. package/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
  242. package/node_modules/@aws-sdk/core/dist-types/index.d.ts +5 -5
  243. package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +5 -5
  244. package/node_modules/@aws-sdk/core/package.json +8 -8
  245. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  246. package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -5
  247. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  248. package/node_modules/@aws-sdk/credential-provider-login/package.json +5 -5
  249. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
  250. package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
  251. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +4 -1
  252. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +4 -1
  253. package/node_modules/@aws-sdk/credential-provider-sso/package.json +9 -7
  254. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
  255. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +3 -3
  256. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +4 -4
  257. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +14 -9
  258. package/node_modules/@aws-sdk/middleware-sdk-s3/s3-control.d.ts +7 -0
  259. package/node_modules/@aws-sdk/middleware-sdk-s3/s3-control.js +5 -0
  260. package/node_modules/@aws-sdk/middleware-sdk-s3/s3.d.ts +7 -0
  261. package/node_modules/@aws-sdk/middleware-sdk-s3/s3.js +5 -0
  262. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +4 -4
  263. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  264. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  265. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  266. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  267. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  268. package/node_modules/@aws-sdk/nested-clients/package.json +6 -6
  269. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +7 -6
  270. package/node_modules/@aws-sdk/token-providers/package.json +5 -5
  271. package/node_modules/@aws-sdk/types/package.json +2 -2
  272. package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
  273. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/CHANGELOG.md +8 -0
  274. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/README.md +9 -0
  275. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/package.json +4 -1
  276. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/strnum.js +9 -1
  277. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  278. package/node_modules/@nodable/entities/package.json +4 -1
  279. package/node_modules/@nodable/entities/src/EntityDecoder.js +104 -3
  280. package/node_modules/@nodable/entities/src/index.d.ts +77 -0
  281. package/node_modules/@nodable/entities/src/index.js +1 -1
  282. package/node_modules/@smithy/core/dist-cjs/index.js +13 -15
  283. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +29 -31
  284. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +2 -4
  285. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +7 -9
  286. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +3 -5
  287. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +22 -23
  288. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +10 -11
  289. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +38 -39
  290. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +10 -11
  291. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +14 -17
  292. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +20 -23
  293. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +9 -11
  294. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -13
  295. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +59 -60
  296. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +26 -27
  297. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +28 -29
  298. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +5 -7
  299. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -6
  300. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +23 -25
  301. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -6
  302. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +2 -4
  303. package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -1
  304. package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.js +1 -1
  305. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -1
  306. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js +1 -1
  307. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +2 -2
  308. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRateLimiter.js +1 -1
  309. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  310. package/node_modules/@smithy/core/package.json +18 -17
  311. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +23 -24
  312. package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
  313. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +6 -8
  314. package/node_modules/@smithy/fetch-http-handler/package.json +10 -10
  315. package/node_modules/@smithy/middleware-compression/dist-cjs/compressStream.browser.js +3 -7
  316. package/node_modules/@smithy/middleware-compression/dist-cjs/compressStream.js +2 -6
  317. package/node_modules/@smithy/middleware-compression/dist-cjs/compressString.browser.js +4 -8
  318. package/node_modules/@smithy/middleware-compression/dist-cjs/compressString.js +7 -11
  319. package/node_modules/@smithy/middleware-compression/dist-cjs/index.js +18 -20
  320. package/node_modules/@smithy/middleware-compression/package.json +6 -6
  321. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -13
  322. package/node_modules/@smithy/node-http-handler/package.json +8 -8
  323. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +27 -29
  324. package/node_modules/@smithy/signature-v4/package.json +7 -7
  325. package/node_modules/@smithy/types/dist-cjs/index.js +23 -18
  326. package/node_modules/@smithy/types/package.json +10 -10
  327. package/node_modules/anynum/LICENSE +21 -0
  328. package/node_modules/anynum/README.md +142 -0
  329. package/node_modules/anynum/anynum.js +135 -0
  330. package/node_modules/anynum/digitTable.js +116 -0
  331. package/node_modules/anynum/package.json +42 -0
  332. package/package.json +10 -10
  333. /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/LICENSE +0 -0
@@ -0,0 +1,116 @@
1
+ /**
2
+ * Flat lookup table: maps Unicode code point → ASCII digit (0-9).
3
+ * Only decimal digit characters (Unicode category Nd) are included.
4
+ *
5
+ * Strategy: Int32Array of size (maxCodePoint - minCodePoint + 1).
6
+ * Value 0xFF means "not a digit". Value 0-9 is the ASCII digit value.
7
+ * This gives O(1) lookup with no branching, no bisect, no loop.
8
+ *
9
+ * Memory: range is 0x0660 to 0x1FBF0 → ~129,936 entries × 1 byte = ~127 KB.
10
+ * Acceptable for a one-time init; lookup is a single array index.
11
+ */
12
+
13
+ // All known Unicode Nd (decimal digit) script zero code points.
14
+ // Each script has exactly 10 consecutive digits: zero+0 .. zero+9.
15
+ const SCRIPT_ZEROS = [
16
+ // Basic Latin (ASCII) — included for completeness / pass-through
17
+ 0x0030, // 0-9
18
+
19
+ // Arabic scripts
20
+ 0x0660, // Arabic-Indic ٠١٢٣٤٥٦٧٨٩
21
+ 0x06F0, // Extended Arabic-Indic (Urdu/Persian/Sindhi) ۰۱۲۳
22
+
23
+ // Indic scripts
24
+ 0x0966, // Devanagari ०१२३४५६७८९
25
+ 0x09E6, // Bengali ০১২৩৪৫৬৭৮৯
26
+ 0x0A66, // Gurmukhi ੦੧੨੩੪੫੬੭੮੯
27
+ 0x0AE6, // Gujarati ૦૧૨૩૪૫૬૭૮૯
28
+ 0x0B66, // Odia ୦୧୨୩୪୫୬୭୮୯
29
+ 0x0BE6, // Tamil ௦௧௨௩௪௫௬௭௮௯
30
+ 0x0C66, // Telugu ౦౧౨౩౪౫౬౭౮౯
31
+ 0x0CE6, // Kannada ೦೧೨೩೪೫೬೭೮೯
32
+ 0x0D66, // Malayalam ൦൧൨൩൪൫൬൭൮൯
33
+ 0x0DE6, // Sinhala Archaic ෦෧෨෩෪෫෬෭෮෯
34
+
35
+ // Southeast Asian scripts
36
+ 0x0E50, // Thai ๐๑๒๓๔๕๖๗๘๙
37
+ 0x0ED0, // Lao ໐໑໒໓໔໕໖໗໘໙
38
+ 0x0F20, // Tibetan ༠༡༢༣༤༥༦༧༨༩
39
+ 0x1040, // Myanmar ၀၁၂၃၄၅၆၇၈၉
40
+ 0x1090, // Myanmar Shan ႐႑႒႓႔႕႖႗႘႙
41
+ 0x17E0, // Khmer ០១២៣៤៥៦៧៨៩
42
+ 0x1810, // Mongolian ᠐᠑᠒᠓᠔᠕᠖᠗᠘᠙
43
+ 0x1946, // Limbu ᥆᥇᥈᥉᥊᥋᥌᥍᥎᥏
44
+ 0x19D0, // New Tai Lue ᧐᧑᧒᧓᧔᧕᧖᧗᧘᧙
45
+ 0x1A80, // Tai Tham Hora ᪀᪁᪂᪃᪄᪅᪆᪇᪈᪉
46
+ 0x1A90, // Tai Tham Tham ᪐᪑᪒᪓᪔᪕᪖᪗᪘᪙
47
+ 0x1B50, // Balinese ᭐᭑᭒᭓᭔᭕᭖᭗᭘᭙
48
+ 0x1BB0, // Sundanese ᮰᮱᮲᮳᮴᮵᮶᮷᮸᮹
49
+ 0x1C40, // Lepcha ᱀᱁᱂᱃᱄᱅᱆᱇᱈᱉
50
+ 0x1C50, // Ol Chiki ᱐᱑᱒᱓᱔᱕᱖᱗᱘᱙
51
+
52
+ // Fullwidth (CJK context)
53
+ 0xFF10, // Fullwidth 0123456789
54
+
55
+ // Mathematical digit variants (Unicode math block)
56
+ 0x1D7CE, // Mathematical Bold
57
+ 0x1D7D8, // Mathematical Double-Struck
58
+ 0x1D7E2, // Mathematical Sans-Serif
59
+ 0x1D7EC, // Mathematical Sans-Serif Bold
60
+ 0x1D7F6, // Mathematical Monospace
61
+
62
+ // Other scripts
63
+ 0x104A0, // Osmanya 𐒠𐒡𐒢𐒣𐒤𐒥𐒦𐒧𐒨𐒩
64
+ 0x10D30, // Hanifi Rohingya 𐴰𐴱𐴲𐴳𐴴𐴵𐴶𐴷𐴸𐴹
65
+ 0x11066, // Brahmi 𑁦𑁧𑁨𑁩𑁪𑁫𑁬𑁭𑁮𑁯
66
+ 0x110F0, // Sora Sompeng 𑃰𑃱𑃲𑃳𑃴𑃵𑃶𑃷𑃸𑃹
67
+ 0x11136, // Chakma 𑄶𑄷𑄸𑄹𑄺𑄻𑄼𑄽𑄾𑄿
68
+ 0x111D0, // Sharada 𑇐𑇑𑇒𑇓𑇔𑇕𑇖𑇗𑇘𑇙
69
+ 0x112F0, // Khudawadi 𑋰𑋱𑋲𑋳𑋴𑋵𑋶𑋷𑋸𑋹
70
+ 0x11450, // Newa 𑑐𑑑𑑒𑑓𑑔𑑕𑑖𑑗𑑘𑑙
71
+ 0x114D0, // Tirhuta 𑓐𑓑𑓒𑓓𑓔𑓕𑓖𑓗𑓘𑓙
72
+ 0x11650, // Modi 𑙐𑙑𑙒𑙓𑙔𑙕𑙖𑙗𑙘𑙙
73
+ 0x116C0, // Takri 𑛀𑛁𑛂𑛃𑛄𑛅𑛆𑛇𑛈𑛉
74
+ 0x11730, // Ahom 𑜰𑜱𑜲𑜳𑜴𑜵𑜶𑜷𑜸𑜹
75
+ 0x118E0, // Warang Citi 𑣠𑣡𑣢𑣣𑣤𑣥𑣦𑣧𑣨𑣩
76
+ 0x11950, // Dives Akuru 𑥐𑥑𑥒𑥓𑥔𑥕𑥖𑥗𑥘𑥙
77
+ 0x11BF0, // Khitan Small Script 𑯰𑯱𑯲𑯳𑯴𑯵𑯶𑯷𑯸𑯹
78
+ 0x11C50, // Bhaiksuki 𑱐𑱑𑱒𑱓𑱔𑱕𑱖𑱗𑱘𑱙
79
+ 0x11D50, // Masaram Gondi 𑵐𑵑𑵒𑵓𑵔𑵕𑵖𑵗𑵘𑵙
80
+ 0x11DA0, // Gunjala Gondi 𑶠𑶡𑶢𑶣𑶤𑶥𑶦𑶧𑶨𑶩
81
+ 0x11F50, // Kawi 𑽐𑽑𑽒𑽓𑽔𑽕𑽖𑽗𑽘𑽙
82
+ 0x16A60, // Mro 𖩠𖩡𖩢𖩣𖩤𖩥𖩦𖩧𖩨𖩩
83
+ 0x16AC0, // Tangsa 𖫀𖫁𖫂𖫃𖫄𖫅𖫆𖫇𖫈𖫉
84
+ 0x16B50, // Pahawh Hmong 𖭐𖭑𖭒𖭓𖭔𖭕𖭖𖭗𖭘𖭙
85
+ 0x1E140, // Nyiakeng Puachue Hmong 𞅀𞅁𞅂𞅃𞅄𞅅𞅆𞅇𞅈𞅉
86
+ 0x1E2F0, // Wancho 𞋰𞋱𞋲𞋳𞋴𞋵𞋶𞋷𞋸𞋹
87
+ 0x1E4F0, // Nag Mundari 𞓰𞓱𞓲𞓳𞓴𞓵𞓶𞓷𞓸𞓹
88
+ 0x1E950, // Adlam 𞥐𞥑𞥒𞥓𞥔𞥕𞥖𞥗𞥘𞥙
89
+ 0x1FBF0, // Segmented digit symbols 🯰🯱🯲🯳🯴🯵🯶🯷🯸🯹
90
+ ];
91
+
92
+ // Build a sparse Map for scripts above 0xFFFF (surrogate-pair range).
93
+ // These can't go into a flat Uint8Array indexed by code point efficiently.
94
+ const NOT_DIGIT = 0xFF;
95
+ const HIGH_MAP = new Map(); // codePoint → digit value (0-9)
96
+
97
+ const LOW_MAX = 0xFFFF;
98
+ const LOW_MIN = 0x0660; // first non-ASCII digit script
99
+
100
+ // Flat Uint8Array covering 0x0660 .. 0xFFFF
101
+ const TABLE_OFFSET = LOW_MIN;
102
+ const TABLE_SIZE = LOW_MAX - LOW_MIN + 1;
103
+ const TABLE = new Uint8Array(TABLE_SIZE).fill(NOT_DIGIT);
104
+
105
+ for (const zero of SCRIPT_ZEROS) {
106
+ for (let d = 0; d < 10; d++) {
107
+ const cp = zero + d;
108
+ if (cp <= LOW_MAX) {
109
+ TABLE[cp - TABLE_OFFSET] = d;
110
+ } else {
111
+ HIGH_MAP.set(cp, d);
112
+ }
113
+ }
114
+ }
115
+
116
+ export { TABLE, TABLE_OFFSET, HIGH_MAP, NOT_DIGIT };
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "anynum",
3
+ "version": "1.0.0",
4
+ "description": "Normalize all Unicode decimal digits (Devanagari, Arabic, Thai, etc.) to ASCII numerals. Zero dependencies, performance-first.",
5
+ "type": "module",
6
+ "main": "./anynum.js",
7
+ "files": [
8
+ "anynum.js",
9
+ "digitTable.js",
10
+ "README.md"
11
+ ],
12
+ "scripts": {
13
+ "test": "jasmine tests/anynum.test.js",
14
+ "bench": "node test/bench.js"
15
+ },
16
+ "keywords": [
17
+ "unicode",
18
+ "digits",
19
+ "normalize",
20
+ "devanagari",
21
+ "arabic",
22
+ "hindi",
23
+ "japanese",
24
+ "indic",
25
+ "asian",
26
+ "math",
27
+ "numerals",
28
+ "strnum"
29
+ ],
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "https://github.com/NaturalIntelligence/anynum"
33
+ },
34
+ "author": "Amit Gupta (https://solothought.work/)",
35
+ "license": "MIT",
36
+ "funding": [
37
+ {
38
+ "type": "github",
39
+ "url": "https://github.com/sponsors/NaturalIntelligence"
40
+ }
41
+ ]
42
+ }
package/package.json CHANGED
@@ -74,15 +74,15 @@
74
74
  "constructs": "^10.5.1"
75
75
  },
76
76
  "dependencies": {
77
- "@aws-sdk/client-cloudformation": "^3.1063.0",
78
- "@aws-sdk/client-cloudwatch": "^3.1063.0",
79
- "@aws-sdk/client-ec2": "^3.1063.0",
80
- "@aws-sdk/client-iam": "^3.1063.0",
81
- "@aws-sdk/client-lambda": "^3.1063.0",
82
- "@aws-sdk/client-s3": "^3.1063.0",
83
- "@aws-sdk/client-sns": "^3.1063.0",
84
- "@aws-sdk/client-sqs": "^3.1063.0",
85
- "@aws-sdk/client-ssm": "^3.1063.0",
77
+ "@aws-sdk/client-cloudformation": "^3.1068.0",
78
+ "@aws-sdk/client-cloudwatch": "^3.1068.0",
79
+ "@aws-sdk/client-ec2": "^3.1068.0",
80
+ "@aws-sdk/client-iam": "^3.1068.0",
81
+ "@aws-sdk/client-lambda": "^3.1068.0",
82
+ "@aws-sdk/client-s3": "^3.1068.0",
83
+ "@aws-sdk/client-sns": "^3.1068.0",
84
+ "@aws-sdk/client-sqs": "^3.1068.0",
85
+ "@aws-sdk/client-ssm": "^3.1068.0",
86
86
  "immutable": "^4.3.8",
87
87
  "js-yaml": "^4.2.0",
88
88
  "jsonpath": "^1.3.0",
@@ -116,7 +116,7 @@
116
116
  "publishConfig": {
117
117
  "access": "public"
118
118
  },
119
- "version": "0.0.64",
119
+ "version": "0.0.65",
120
120
  "jest": {
121
121
  "coverageProvider": "v8",
122
122
  "maxWorkers": 4,