@gemeentenijmegen/webapp 1.1.9 → 1.1.11

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 (646) hide show
  1. package/.jsii +12 -12
  2. package/assets/webapp/auth/auth.lambda/index.js +47 -66
  3. package/assets/webapp/login/login.lambda/index.js +2 -21
  4. package/assets/webapp/logout/logout.lambda/index.js +2 -2
  5. package/lib/webapp/Criticality.js +1 -1
  6. package/lib/webapp/Webapp.js +1 -1
  7. package/lib/webapp/Webpage.js +1 -1
  8. package/lib/webapp/util/Files.js +1 -1
  9. package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/endpoint/ruleset.js +1 -1
  10. package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +98 -22
  11. package/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js +1 -1
  12. package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/index.js +1 -0
  13. package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_0.js +44 -12
  14. package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_1.js +1 -0
  15. package/node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js +18 -4
  16. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchExecuteStatementCommand.d.ts +8 -3
  17. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchGetItemCommand.d.ts +14 -7
  18. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchWriteItemCommand.d.ts +18 -7
  19. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateBackupCommand.d.ts +14 -11
  20. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateGlobalTableCommand.d.ts +16 -13
  21. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateTableCommand.d.ts +26 -16
  22. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteBackupCommand.d.ts +12 -10
  23. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteItemCommand.d.ts +16 -8
  24. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteResourcePolicyCommand.d.ts +18 -13
  25. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteTableCommand.d.ts +26 -20
  26. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +2 -1
  27. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContributorInsightsCommand.d.ts +1 -0
  28. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeExportCommand.d.ts +12 -10
  29. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableCommand.d.ts +2 -2
  30. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +1 -1
  31. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeImportCommand.d.ts +1 -3
  32. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableCommand.d.ts +10 -8
  33. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +2 -6
  34. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +16 -12
  35. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +16 -12
  36. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteStatementCommand.d.ts +14 -7
  37. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts +42 -42
  38. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +14 -11
  39. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetItemCommand.d.ts +14 -7
  40. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetResourcePolicyCommand.d.ts +2 -1
  41. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ImportTableCommand.d.ts +19 -17
  42. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListContributorInsightsCommand.d.ts +1 -0
  43. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListExportsCommand.d.ts +12 -10
  44. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListImportsCommand.d.ts +12 -10
  45. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutItemCommand.d.ts +16 -8
  46. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutResourcePolicyCommand.d.ts +18 -13
  47. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/QueryCommand.d.ts +14 -7
  48. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableFromBackupCommand.d.ts +22 -14
  49. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +24 -15
  50. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ScanCommand.d.ts +14 -7
  51. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TagResourceCommand.d.ts +16 -12
  52. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactGetItemsCommand.d.ts +21 -15
  53. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactWriteItemsCommand.d.ts +44 -43
  54. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UntagResourceCommand.d.ts +16 -12
  55. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +3 -2
  56. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContributorInsightsCommand.d.ts +2 -0
  57. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableCommand.d.ts +6 -6
  58. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +17 -13
  59. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateItemCommand.d.ts +16 -8
  60. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +16 -12
  61. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableCommand.d.ts +36 -20
  62. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +18 -18
  63. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTimeToLiveCommand.d.ts +16 -12
  64. package/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  65. package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/index.d.ts +1 -0
  66. package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts +391 -191
  67. package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_1.d.ts +73 -0
  68. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +2 -4
  69. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
  70. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/index.d.ts +1 -0
  71. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_0.d.ts +61 -16
  72. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_1.d.ts +11 -0
  73. package/node_modules/@aws-sdk/client-dynamodb/package.json +35 -35
  74. package/node_modules/@aws-sdk/client-s3/README.md +48 -0
  75. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +739 -139
  76. package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +12 -0
  77. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +31 -0
  78. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +26 -0
  79. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataConfigurationCommand.js +28 -0
  80. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +1 -1
  81. package/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +28 -0
  82. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +31 -0
  83. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +31 -0
  84. package/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +6 -0
  85. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +18 -23
  86. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +36 -0
  87. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +422 -20
  88. package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +42 -0
  89. package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +8 -2
  90. package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +17 -22
  91. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +47 -58
  92. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +107 -110
  93. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +93 -83
  94. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +182 -0
  95. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +25 -12
  96. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +99 -116
  97. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +47 -52
  98. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +7 -9
  99. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +10 -12
  100. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -5
  101. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +16 -18
  102. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  103. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -6
  104. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +23 -28
  105. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +114 -0
  106. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +26 -8
  107. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +9 -12
  108. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +5 -6
  109. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +20 -23
  110. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +5 -7
  111. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -3
  112. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +9 -10
  113. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +37 -23
  114. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +7 -7
  115. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +37 -44
  116. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -6
  117. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +14 -17
  118. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +17 -12
  119. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +8 -11
  120. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +4 -6
  121. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +17 -20
  122. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
  123. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -8
  124. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +28 -37
  125. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +4 -5
  126. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +10 -3
  127. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +146 -0
  128. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +25 -8
  129. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +10 -11
  130. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +7 -8
  131. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +19 -6
  132. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +24 -29
  133. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +5 -6
  134. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +12 -13
  135. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -3
  136. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -3
  137. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +3 -3
  138. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +6 -7
  139. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +9 -11
  140. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +56 -71
  141. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +68 -83
  142. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -2
  143. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +3 -3
  144. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -2
  145. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -10
  146. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +4 -5
  147. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +10 -12
  148. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +34 -35
  149. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +53 -64
  150. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +14 -17
  151. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -0
  152. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +12 -15
  153. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -18
  154. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +19 -10
  155. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +10 -9
  156. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +49 -50
  157. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +15 -10
  158. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +17 -9
  159. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +29 -32
  160. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +30 -26
  161. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +14 -18
  162. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +60 -60
  163. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +23 -25
  164. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +23 -27
  165. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +41 -49
  166. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +12 -12
  167. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +33 -37
  168. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +51 -60
  169. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +35 -31
  170. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +12 -14
  171. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +29 -35
  172. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -6
  173. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +24 -29
  174. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +32 -39
  175. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
  176. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +21 -27
  177. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +20 -23
  178. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +19 -18
  179. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +53 -58
  180. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +68 -70
  181. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -3
  182. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +10 -11
  183. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +4 -4
  184. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +18 -24
  185. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +10 -12
  186. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts +138 -0
  187. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +78 -87
  188. package/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +50 -59
  189. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +161 -0
  190. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +113 -0
  191. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +65 -75
  192. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +81 -97
  193. package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +31 -35
  194. package/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +6 -0
  195. package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  196. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +2789 -3602
  197. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +2226 -711
  198. package/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +54 -0
  199. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +126 -0
  200. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +36 -0
  201. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +47 -0
  202. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +47 -0
  203. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +51 -0
  204. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
  205. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
  206. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
  207. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
  208. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
  209. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
  210. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
  211. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +47 -0
  212. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +47 -0
  213. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +47 -0
  214. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +6 -0
  215. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
  216. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +107 -209
  217. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +261 -0
  218. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +72 -0
  219. package/node_modules/@aws-sdk/client-s3/package.json +53 -51
  220. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  221. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
  222. package/node_modules/@aws-sdk/client-secrets-manager/package.json +33 -33
  223. package/node_modules/@aws-sdk/client-ssm/README.md +3 -2
  224. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +15 -7
  225. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowsCommand.js +1 -1
  226. package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +4 -6
  227. package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +8 -1
  228. package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +1 -0
  229. package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +3 -2
  230. package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +3 -2
  231. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +3 -0
  232. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteDocumentCommand.d.ts +3 -0
  233. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts +2 -1
  234. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeParametersCommand.d.ts +3 -0
  235. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeSessionsCommand.d.ts +2 -1
  236. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAccessTokenCommand.d.ts +2 -1
  237. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterCommand.d.ts +3 -0
  238. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterHistoryCommand.d.ts +3 -0
  239. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts +3 -0
  240. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersCommand.d.ts +3 -0
  241. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/LabelParameterVersionCommand.d.ts +5 -0
  242. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutComplianceItemsCommand.d.ts +7 -0
  243. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +2 -1
  244. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAccessRequestCommand.d.ts +4 -2
  245. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UnlabelParameterVersionCommand.d.ts +3 -0
  246. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +3 -0
  247. package/node_modules/@aws-sdk/client-ssm/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  248. package/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +3 -2
  249. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +39 -28
  250. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +95 -21
  251. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +17 -1
  252. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsCommand.d.ts +2 -4
  253. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +2 -4
  254. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
  255. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +5 -7
  256. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +11 -4
  257. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +4 -0
  258. package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
  259. package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  260. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
  261. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  262. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +12 -0
  263. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +81 -34
  264. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
  265. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setTokenFeature.js +7 -0
  266. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +5 -1
  267. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +5 -1
  268. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +4 -3
  269. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +5 -2
  270. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +11 -7
  271. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js +1 -1
  272. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +3 -0
  273. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +6 -2
  274. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +6 -3
  275. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +7 -10
  276. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +11 -7
  277. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
  278. package/node_modules/@aws-sdk/core/dist-types/submodules/client/setTokenFeature.d.ts +7 -0
  279. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +6 -1
  280. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +6 -1
  281. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -1
  282. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +4 -0
  283. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +4 -0
  284. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +4 -0
  285. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts +2 -2
  286. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
  287. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +6 -0
  288. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +8 -1
  289. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +8 -1
  290. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +8 -1
  291. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -0
  292. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +1 -0
  293. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -0
  294. package/node_modules/@aws-sdk/core/package.json +13 -13
  295. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  296. package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
  297. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  298. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  299. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  300. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  301. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
  302. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  303. package/node_modules/@aws-sdk/middleware-endpoint-discovery/package.json +5 -5
  304. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  305. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +9 -9
  306. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  307. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  308. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  309. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  310. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
  311. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  312. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  313. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +1 -1
  314. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts +1 -1
  315. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +4 -1
  316. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +4 -1
  317. package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
  318. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  319. package/node_modules/@aws-sdk/s3-request-presigner/package.json +10 -10
  320. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
  321. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +6 -3
  322. package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +5 -2
  323. package/node_modules/@aws-sdk/token-providers/package.json +10 -8
  324. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +7 -1
  325. package/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +10 -0
  326. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +5 -1
  327. package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +5 -0
  328. package/node_modules/@aws-sdk/types/package.json +2 -2
  329. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +30 -0
  330. package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +1 -0
  331. package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
  332. package/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +1 -0
  333. package/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
  334. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
  335. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
  336. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -4
  337. package/node_modules/@aws-sdk/util-format-url/package.json +4 -4
  338. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  339. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  340. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  341. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/.jsii +83 -5
  342. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/README.adoc +213 -0
  343. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/README.md +1 -126
  344. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/lib/index.js +1 -1
  345. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/.jsii +110 -6
  346. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/bedrock-inference-helper.js +2 -2
  347. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-defaults.d.ts +1 -1
  348. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-defaults.js +1 -1
  349. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-helper.d.ts +1 -1
  350. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-helper.js +1 -1
  351. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-defaults.d.ts +2 -19
  352. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-defaults.js +18 -7
  353. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-helper.d.ts +2 -0
  354. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-helper.js +5 -1
  355. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/kendra-helper.js +4 -2
  356. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/waf-helper.js +5 -2
  357. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/package.json +3 -3
  358. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/TwoLogGroups.json +365 -0
  359. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/bedrock-inference-helper.test.js +2 -6
  360. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/dynamo-table.test.js +181 -11
  361. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/lambda/index.js +1 -1
  362. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/pipes-helper.test.js +2 -2
  363. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/step-function-helper.test.js +1 -1
  364. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.d.ts +6 -0
  365. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.js +84 -1
  366. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/waf-helper.test.js +35 -1
  367. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/package.json +8 -7
  368. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js +2 -1
  369. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js +2 -1
  370. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/cdk.out +1 -1
  371. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/integ.json +2 -2
  372. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.assets.json +6 -6
  373. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.template.json +1 -136
  374. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddbdeployFunctionWithExistingVpcIntegDefaultTestDeployAssertEE08E38E.assets.json +2 -2
  375. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/manifest.json +475 -10
  376. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/tree.json +1 -1
  377. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js +2 -1
  378. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
  379. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/integ.json +2 -2
  380. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.assets.json +6 -6
  381. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.template.json +1 -136
  382. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddbdeployFunctionWithVpcIntegDefaultTestDeployAssert0AB8275C.assets.json +2 -2
  383. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/manifest.json +475 -10
  384. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/tree.json +1 -1
  385. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js +2 -1
  386. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js +2 -1
  387. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js +2 -1
  388. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js +2 -1
  389. package/node_modules/@gemeentenijmegen/apiclient/node_modules/@gemeentenijmegen/utils/package.json +9 -9
  390. package/node_modules/@gemeentenijmegen/apiclient/package.json +10 -10
  391. package/node_modules/@gemeentenijmegen/apigateway-http/package.json +6 -6
  392. package/node_modules/@gemeentenijmegen/session/package.json +5 -5
  393. package/node_modules/@gemeentenijmegen/utils/package.json +9 -9
  394. package/node_modules/@smithy/abort-controller/package.json +2 -2
  395. package/node_modules/@smithy/config-resolver/package.json +4 -4
  396. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +142 -44
  397. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +108 -105
  398. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +92 -6
  399. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +45 -54
  400. package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +77 -41
  401. package/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js +3 -0
  402. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +39 -4
  403. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +33 -3
  404. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +115 -20
  405. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +7 -95
  406. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +10 -0
  407. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +10 -0
  408. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +10 -0
  409. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +19 -0
  410. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +10 -0
  411. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +10 -0
  412. package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +1 -53
  413. package/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js +2 -0
  414. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  415. package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +36 -2
  416. package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +5 -0
  417. package/node_modules/@smithy/core/dist-types/submodules/cbor/byte-printer.d.ts +6 -0
  418. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +10 -2
  419. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +3 -1
  420. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +3 -0
  421. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +3 -0
  422. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +3 -0
  423. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +8 -0
  424. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +3 -0
  425. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +3 -0
  426. package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +1 -0
  427. package/node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.d.ts +2 -0
  428. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  429. package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +3 -1
  430. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -0
  431. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +6 -0
  432. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +10 -2
  433. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +3 -1
  434. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +3 -0
  435. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +3 -0
  436. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +3 -0
  437. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +8 -0
  438. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +3 -0
  439. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +3 -0
  440. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +1 -0
  441. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +2 -0
  442. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  443. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +3 -1
  444. package/node_modules/@smithy/core/package.json +20 -17
  445. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  446. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  447. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  448. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
  449. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  450. package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
  451. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -2
  452. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +4 -4
  453. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
  454. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
  455. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  456. package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
  457. package/node_modules/@smithy/hash-node/package.json +2 -2
  458. package/node_modules/@smithy/hash-stream-node/package.json +2 -2
  459. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  460. package/node_modules/@smithy/md5-js/package.json +2 -2
  461. package/node_modules/@smithy/middleware-content-length/package.json +3 -3
  462. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +22 -3
  463. package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointRequiredConfig.js +1 -0
  464. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +3 -0
  465. package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +2 -1
  466. package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +1 -1
  467. package/node_modules/@smithy/middleware-endpoint/dist-es/index.js +1 -0
  468. package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js +9 -0
  469. package/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts +1 -0
  470. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +5 -2
  471. package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +32 -0
  472. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +1 -0
  473. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +5 -2
  474. package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts +32 -0
  475. package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
  476. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  477. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  478. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  479. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  480. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -9
  481. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +4 -3
  482. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +7 -6
  483. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +1 -1
  484. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
  485. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +1 -1
  486. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
  487. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  488. package/node_modules/@smithy/property-provider/package.json +2 -2
  489. package/node_modules/@smithy/protocol-http/package.json +2 -2
  490. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  491. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  492. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +2 -1
  493. package/node_modules/@smithy/service-error-classification/dist-es/constants.js +1 -0
  494. package/node_modules/@smithy/service-error-classification/dist-es/index.js +2 -1
  495. package/node_modules/@smithy/service-error-classification/dist-types/constants.d.ts +4 -0
  496. package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +4 -0
  497. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  498. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  499. package/node_modules/@smithy/signature-v4/package.json +4 -4
  500. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
  501. package/node_modules/@smithy/smithy-client/package.json +7 -7
  502. package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +1 -0
  503. package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +1 -0
  504. package/node_modules/@smithy/types/package.json +1 -1
  505. package/node_modules/@smithy/url-parser/package.json +3 -3
  506. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  507. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  508. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  509. package/node_modules/@smithy/util-middleware/package.json +2 -2
  510. package/node_modules/@smithy/util-retry/package.json +3 -3
  511. package/node_modules/@smithy/util-stream/package.json +4 -4
  512. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +27 -8
  513. package/node_modules/@smithy/util-waiter/dist-es/createWaiter.js +27 -8
  514. package/node_modules/@smithy/util-waiter/package.json +3 -3
  515. package/node_modules/@types/aws-lambda/README.md +1 -1
  516. package/node_modules/@types/aws-lambda/handler.d.ts +1 -0
  517. package/node_modules/@types/aws-lambda/package.json +2 -2
  518. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.ts +2 -0
  519. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation-v3.d.ts +50 -0
  520. package/node_modules/aproba/index.js +1 -1
  521. package/node_modules/aproba/package.json +1 -1
  522. package/node_modules/axios/CHANGELOG.md +17 -0
  523. package/node_modules/axios/README.md +1 -4
  524. package/node_modules/axios/dist/axios.js +39 -5
  525. package/node_modules/axios/dist/axios.js.map +1 -1
  526. package/node_modules/axios/dist/axios.min.js +2 -2
  527. package/node_modules/axios/dist/axios.min.js.map +1 -1
  528. package/node_modules/axios/dist/browser/axios.cjs +46 -9
  529. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  530. package/node_modules/axios/dist/esm/axios.js +46 -9
  531. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  532. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  533. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  534. package/node_modules/axios/dist/node/axios.cjs +46 -9
  535. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  536. package/node_modules/axios/index.d.cts +13 -2
  537. package/node_modules/axios/lib/core/Axios.js +2 -2
  538. package/node_modules/axios/lib/core/mergeConfig.js +1 -1
  539. package/node_modules/axios/lib/env/data.js +1 -1
  540. package/node_modules/axios/lib/helpers/throttle.js +1 -1
  541. package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
  542. package/node_modules/axios/lib/utils.js +36 -0
  543. package/node_modules/axios/package.json +5 -5
  544. package/node_modules/bowser/CHANGELOG.md +1 -1
  545. package/node_modules/bowser/README.md +2 -4
  546. package/node_modules/bowser/bundled.js +1 -1
  547. package/node_modules/bowser/es5.js +1 -1
  548. package/node_modules/bowser/index.d.ts +72 -7
  549. package/node_modules/bowser/package.json +4 -3
  550. package/node_modules/bowser/src/constants.js +3 -0
  551. package/node_modules/bowser/src/parser-browsers.js +15 -0
  552. package/node_modules/bowser/src/parser-platforms.js +17 -1
  553. package/node_modules/bowser/src/parser.js +20 -5
  554. package/node_modules/bowser/src/utils.js +2 -2
  555. package/node_modules/dotenv/CHANGELOG.md +17 -1
  556. package/node_modules/dotenv/README-es.md +0 -19
  557. package/node_modules/dotenv/README.md +7 -14
  558. package/node_modules/dotenv/SECURITY.md +1 -0
  559. package/node_modules/dotenv/lib/cli-options.js +8 -2
  560. package/node_modules/dotenv/lib/env-options.js +4 -0
  561. package/node_modules/dotenv/lib/main.d.ts +12 -3
  562. package/node_modules/dotenv/lib/main.js +31 -5
  563. package/node_modules/dotenv/package.json +2 -2
  564. package/node_modules/fast-xml-parser/CHANGELOG.md +77 -0
  565. package/node_modules/fast-xml-parser/README.md +39 -52
  566. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
  567. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
  568. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  569. package/node_modules/fast-xml-parser/lib/fxp.d.cts +458 -0
  570. package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
  571. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
  572. package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
  573. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
  574. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
  575. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
  576. package/node_modules/fast-xml-parser/package.json +36 -20
  577. package/node_modules/fast-xml-parser/src/cli/cli.js +16 -12
  578. package/node_modules/fast-xml-parser/src/cli/man.js +6 -1
  579. package/node_modules/fast-xml-parser/src/cli/read.js +30 -79
  580. package/node_modules/fast-xml-parser/src/fxp.d.ts +52 -9
  581. package/node_modules/fast-xml-parser/src/fxp.js +11 -8
  582. package/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
  583. package/node_modules/fast-xml-parser/src/util.js +14 -18
  584. package/node_modules/fast-xml-parser/src/{v5 → v6}/CharsSymbol.js +1 -1
  585. package/node_modules/fast-xml-parser/src/{v5/valueParsers → v6}/EntitiesParser.js +3 -6
  586. package/node_modules/fast-xml-parser/src/{v5 → v6}/OptionsBuilder.js +3 -6
  587. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/BaseOutputBuilder.js +1 -3
  588. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsArrBuilder.js +3 -3
  589. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsMinArrBuilder.js +3 -5
  590. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsObjBuilder.js +3 -5
  591. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/ParserOptionsBuilder.js +6 -11
  592. package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPath.js +1 -1
  593. package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPathMatcher.js +3 -5
  594. package/node_modules/fast-xml-parser/src/{v5 → v6}/XMLParser.js +3 -5
  595. package/node_modules/fast-xml-parser/src/{v5 → v6}/Xml2JsParser.js +8 -10
  596. package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlPartReader.js +24 -26
  597. package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlSpecialTagsReader.js +5 -12
  598. package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/BufferSource.js +1 -3
  599. package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/StringSource.js +1 -3
  600. package/node_modules/fast-xml-parser/src/{v5 → v6/valueParsers}/EntitiesParser.js +3 -5
  601. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParser.js +1 -2
  602. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParserExt.js +1 -2
  603. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/currency.js +1 -3
  604. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/join.js +1 -2
  605. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/number.js +2 -4
  606. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/trim.js +1 -3
  607. package/node_modules/fast-xml-parser/src/validator.js +5 -5
  608. package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +17 -13
  609. package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +1 -2
  610. package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +288 -71
  611. package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +3 -5
  612. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +28 -23
  613. package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -8
  614. package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +8 -2
  615. package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +22 -7
  616. package/node_modules/follow-redirects/package.json +1 -1
  617. package/node_modules/form-data/CHANGELOG.md +601 -0
  618. package/node_modules/form-data/{README.md.bak → README.md} +4 -4
  619. package/node_modules/form-data/lib/form_data.js +2 -6
  620. package/node_modules/form-data/package.json +22 -6
  621. package/node_modules/oidc-token-hash/README.md +1 -0
  622. package/node_modules/oidc-token-hash/lib/index.js +0 -10
  623. package/node_modules/oidc-token-hash/package.json +1 -1
  624. package/node_modules/strnum/.github/SECURITY.md +5 -0
  625. package/node_modules/strnum/CHANGELOG.md +11 -0
  626. package/node_modules/strnum/algo.stflow +84 -0
  627. package/node_modules/strnum/package.json +2 -1
  628. package/node_modules/strnum/strnum.js +53 -35
  629. package/node_modules/strnum/strnum.test.js +9 -1
  630. package/node_modules/strnum/test.js +9 -0
  631. package/package.json +20 -20
  632. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  633. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +0 -1
  634. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +0 -1
  635. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  636. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +0 -1
  637. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +0 -1
  638. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  639. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  640. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  641. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  642. package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
  643. package/node_modules/form-data/Readme.md +0 -355
  644. package/node_modules/oidc-token-hash/lib/shake256.js +0 -7
  645. /package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/{architecture.png → aws-lambda-dynamodb.png} +0 -0
  646. /package/node_modules/fast-xml-parser/src/{v5 → v6}/Report.js +0 -0
@@ -1,7 +1,7 @@
1
- const util = require('../util');
1
+ import {isName} from '../util.js';
2
2
 
3
3
  //TODO: handle comments
4
- function readDocType(xmlData, i){
4
+ export default function readDocType(xmlData, i){
5
5
 
6
6
  const entities = {};
7
7
  if( xmlData[i + 3] === 'O' &&
@@ -17,20 +17,30 @@ function readDocType(xmlData, i){
17
17
  let exp = "";
18
18
  for(;i<xmlData.length;i++){
19
19
  if (xmlData[i] === '<' && !comment) { //Determine the tag type
20
- if( hasBody && isEntity(xmlData, i)){
20
+ if( hasBody && hasSeq(xmlData, "!ENTITY",i)){
21
21
  i += 7;
22
+ let entityName, val;
22
23
  [entityName, val,i] = readEntityExp(xmlData,i+1);
23
24
  if(val.indexOf("&") === -1) //Parameter entities are not supported
24
- entities[ validateEntityName(entityName) ] = {
25
+ entities[ entityName ] = {
25
26
  regx : RegExp( `&${entityName};`,"g"),
26
27
  val: val
27
28
  };
28
29
  }
29
- else if( hasBody && isElement(xmlData, i)) i += 8;//Not supported
30
- else if( hasBody && isAttlist(xmlData, i)) i += 8;//Not supported
31
- else if( hasBody && isNotation(xmlData, i)) i += 9;//Not supported
32
- else if( isComment) comment = true;
33
- else throw new Error("Invalid DOCTYPE");
30
+ else if( hasBody && hasSeq(xmlData, "!ELEMENT",i)) {
31
+ i += 8;//Not supported
32
+ const {index} = readElementExp(xmlData,i+1);
33
+ i = index;
34
+ }else if( hasBody && hasSeq(xmlData, "!ATTLIST",i)){
35
+ i += 8;//Not supported
36
+ // const {index} = readAttlistExp(xmlData,i+1);
37
+ // i = index;
38
+ }else if( hasBody && hasSeq(xmlData, "!NOTATION",i)) {
39
+ i += 9;//Not supported
40
+ const {index} = readNotationExp(xmlData,i+1);
41
+ i = index;
42
+ }else if( hasSeq(xmlData, "!--",i) ) comment = true;
43
+ else throw new Error(`Invalid DOCTYPE`);
34
44
 
35
45
  angleBracketsCount++;
36
46
  exp = "";
@@ -61,7 +71,14 @@ function readDocType(xmlData, i){
61
71
  return {entities, i};
62
72
  }
63
73
 
64
- function readEntityExp(xmlData,i){
74
+ const skipWhitespace = (data, index) => {
75
+ while (index < data.length && /\s/.test(data[index])) {
76
+ index++;
77
+ }
78
+ return index;
79
+ };
80
+
81
+ function readEntityExp(xmlData, i) {
65
82
  //External entities are not supported
66
83
  // <!ENTITY ext SYSTEM "http://normal-website.com" >
67
84
 
@@ -70,83 +87,283 @@ function readEntityExp(xmlData,i){
70
87
 
71
88
  //Internal entities are supported
72
89
  // <!ENTITY entityname "replacement text">
73
-
74
- //read EntityName
90
+
91
+ // Skip leading whitespace after <!ENTITY
92
+ i = skipWhitespace(xmlData, i);
93
+
94
+ // Read entity name
75
95
  let entityName = "";
76
- for (; i < xmlData.length && (xmlData[i] !== "'" && xmlData[i] !== '"' ); i++) {
77
- // if(xmlData[i] === " ") continue;
78
- // else
96
+ while (i < xmlData.length && !/\s/.test(xmlData[i]) && xmlData[i] !== '"' && xmlData[i] !== "'") {
79
97
  entityName += xmlData[i];
98
+ i++;
80
99
  }
81
- entityName = entityName.trim();
82
- if(entityName.indexOf(" ") !== -1) throw new Error("External entites are not supported");
100
+ validateEntityName(entityName);
83
101
 
84
- //read Entity Value
85
- const startChar = xmlData[i++];
86
- let val = ""
87
- for (; i < xmlData.length && xmlData[i] !== startChar ; i++) {
88
- val += xmlData[i];
102
+ // Skip whitespace after entity name
103
+ i = skipWhitespace(xmlData, i);
104
+
105
+ // Check for unsupported constructs (external entities or parameter entities)
106
+ if (xmlData.substring(i, i + 6).toUpperCase() === "SYSTEM") {
107
+ throw new Error("External entities are not supported");
108
+ }else if (xmlData[i] === "%") {
109
+ throw new Error("Parameter entities are not supported");
89
110
  }
90
- return [entityName, val, i];
111
+
112
+ // Read entity value (internal entity)
113
+ let entityValue = "";
114
+ [i, entityValue] = readIdentifierVal(xmlData, i, "entity");
115
+ i--;
116
+ return [entityName, entityValue, i ];
91
117
  }
92
118
 
93
- function isComment(xmlData, i){
94
- if(xmlData[i+1] === '!' &&
95
- xmlData[i+2] === '-' &&
96
- xmlData[i+3] === '-') return true
97
- return false
119
+ function readNotationExp(xmlData, i) {
120
+ // Skip leading whitespace after <!NOTATION
121
+ i = skipWhitespace(xmlData, i);
122
+
123
+ // Read notation name
124
+ let notationName = "";
125
+ while (i < xmlData.length && !/\s/.test(xmlData[i])) {
126
+ notationName += xmlData[i];
127
+ i++;
128
+ }
129
+ validateEntityName(notationName);
130
+
131
+ // Skip whitespace after notation name
132
+ i = skipWhitespace(xmlData, i);
133
+
134
+ // Check identifier type (SYSTEM or PUBLIC)
135
+ const identifierType = xmlData.substring(i, i + 6).toUpperCase();
136
+ if (identifierType !== "SYSTEM" && identifierType !== "PUBLIC") {
137
+ throw new Error(`Expected SYSTEM or PUBLIC, found "${identifierType}"`);
138
+ }
139
+ i += identifierType.length;
140
+
141
+ // Skip whitespace after identifier type
142
+ i = skipWhitespace(xmlData, i);
143
+
144
+ // Read public identifier (if PUBLIC)
145
+ let publicIdentifier = null;
146
+ let systemIdentifier = null;
147
+
148
+ if (identifierType === "PUBLIC") {
149
+ [i, publicIdentifier ] = readIdentifierVal(xmlData, i, "publicIdentifier");
150
+
151
+ // Skip whitespace after public identifier
152
+ i = skipWhitespace(xmlData, i);
153
+
154
+ // Optionally read system identifier
155
+ if (xmlData[i] === '"' || xmlData[i] === "'") {
156
+ [i, systemIdentifier ] = readIdentifierVal(xmlData, i,"systemIdentifier");
157
+ }
158
+ } else if (identifierType === "SYSTEM") {
159
+ // Read system identifier (mandatory for SYSTEM)
160
+ [i, systemIdentifier ] = readIdentifierVal(xmlData, i, "systemIdentifier");
161
+
162
+ if (!systemIdentifier) {
163
+ throw new Error("Missing mandatory system identifier for SYSTEM notation");
164
+ }
165
+ }
166
+
167
+ return {notationName, publicIdentifier, systemIdentifier, index: --i};
98
168
  }
99
- function isEntity(xmlData, i){
100
- if(xmlData[i+1] === '!' &&
101
- xmlData[i+2] === 'E' &&
102
- xmlData[i+3] === 'N' &&
103
- xmlData[i+4] === 'T' &&
104
- xmlData[i+5] === 'I' &&
105
- xmlData[i+6] === 'T' &&
106
- xmlData[i+7] === 'Y') return true
107
- return false
169
+
170
+ function readIdentifierVal(xmlData, i, type) {
171
+ let identifierVal = "";
172
+ const startChar = xmlData[i];
173
+ if (startChar !== '"' && startChar !== "'") {
174
+ throw new Error(`Expected quoted string, found "${startChar}"`);
175
+ }
176
+ i++;
177
+
178
+ while (i < xmlData.length && xmlData[i] !== startChar) {
179
+ identifierVal += xmlData[i];
180
+ i++;
181
+ }
182
+
183
+ if (xmlData[i] !== startChar) {
184
+ throw new Error(`Unterminated ${type} value`);
185
+ }
186
+ i++;
187
+ return [i, identifierVal];
108
188
  }
109
- function isElement(xmlData, i){
110
- if(xmlData[i+1] === '!' &&
111
- xmlData[i+2] === 'E' &&
112
- xmlData[i+3] === 'L' &&
113
- xmlData[i+4] === 'E' &&
114
- xmlData[i+5] === 'M' &&
115
- xmlData[i+6] === 'E' &&
116
- xmlData[i+7] === 'N' &&
117
- xmlData[i+8] === 'T') return true
118
- return false
189
+
190
+ function readElementExp(xmlData, i) {
191
+ // <!ELEMENT br EMPTY>
192
+ // <!ELEMENT div ANY>
193
+ // <!ELEMENT title (#PCDATA)>
194
+ // <!ELEMENT book (title, author+)>
195
+ // <!ELEMENT name (content-model)>
196
+
197
+ // Skip leading whitespace after <!ELEMENT
198
+ i = skipWhitespace(xmlData, i);
199
+
200
+ // Read element name
201
+ let elementName = "";
202
+ while (i < xmlData.length && !/\s/.test(xmlData[i])) {
203
+ elementName += xmlData[i];
204
+ i++;
205
+ }
206
+
207
+ // Validate element name
208
+ if (!validateEntityName(elementName)) {
209
+ throw new Error(`Invalid element name: "${elementName}"`);
210
+ }
211
+
212
+ // Skip whitespace after element name
213
+ i = skipWhitespace(xmlData, i);
214
+ let contentModel = "";
215
+ // Expect '(' to start content model
216
+ if(xmlData[i] === "E" && hasSeq(xmlData, "MPTY",i)) i+=4;
217
+ else if(xmlData[i] === "A" && hasSeq(xmlData, "NY",i)) i+=2;
218
+ else if (xmlData[i] === "(") {
219
+ i++; // Move past '('
220
+
221
+ // Read content model
222
+ while (i < xmlData.length && xmlData[i] !== ")") {
223
+ contentModel += xmlData[i];
224
+ i++;
225
+ }
226
+ if (xmlData[i] !== ")") {
227
+ throw new Error("Unterminated content model");
228
+ }
229
+
230
+ }else{
231
+ throw new Error(`Invalid Element Expression, found "${xmlData[i]}"`);
232
+ }
233
+
234
+ return {
235
+ elementName,
236
+ contentModel: contentModel.trim(),
237
+ index: i
238
+ };
119
239
  }
120
240
 
121
- function isAttlist(xmlData, i){
122
- if(xmlData[i+1] === '!' &&
123
- xmlData[i+2] === 'A' &&
124
- xmlData[i+3] === 'T' &&
125
- xmlData[i+4] === 'T' &&
126
- xmlData[i+5] === 'L' &&
127
- xmlData[i+6] === 'I' &&
128
- xmlData[i+7] === 'S' &&
129
- xmlData[i+8] === 'T') return true
130
- return false
241
+ function readAttlistExp(xmlData, i) {
242
+ // Skip leading whitespace after <!ATTLIST
243
+ i = skipWhitespace(xmlData, i);
244
+
245
+ // Read element name
246
+ let elementName = "";
247
+ while (i < xmlData.length && !/\s/.test(xmlData[i])) {
248
+ elementName += xmlData[i];
249
+ i++;
250
+ }
251
+
252
+ // Validate element name
253
+ validateEntityName(elementName)
254
+
255
+ // Skip whitespace after element name
256
+ i = skipWhitespace(xmlData, i);
257
+
258
+ // Read attribute name
259
+ let attributeName = "";
260
+ while (i < xmlData.length && !/\s/.test(xmlData[i])) {
261
+ attributeName += xmlData[i];
262
+ i++;
263
+ }
264
+
265
+ // Validate attribute name
266
+ if (!validateEntityName(attributeName)) {
267
+ throw new Error(`Invalid attribute name: "${attributeName}"`);
268
+ }
269
+
270
+ // Skip whitespace after attribute name
271
+ i = skipWhitespace(xmlData, i);
272
+
273
+ // Read attribute type
274
+ let attributeType = "";
275
+ if (xmlData.substring(i, i + 8).toUpperCase() === "NOTATION") {
276
+ attributeType = "NOTATION";
277
+ i += 8; // Move past "NOTATION"
278
+
279
+ // Skip whitespace after "NOTATION"
280
+ i = skipWhitespace(xmlData, i);
281
+
282
+ // Expect '(' to start the list of notations
283
+ if (xmlData[i] !== "(") {
284
+ throw new Error(`Expected '(', found "${xmlData[i]}"`);
285
+ }
286
+ i++; // Move past '('
287
+
288
+ // Read the list of allowed notations
289
+ let allowedNotations = [];
290
+ while (i < xmlData.length && xmlData[i] !== ")") {
291
+ let notation = "";
292
+ while (i < xmlData.length && xmlData[i] !== "|" && xmlData[i] !== ")") {
293
+ notation += xmlData[i];
294
+ i++;
295
+ }
296
+
297
+ // Validate notation name
298
+ notation = notation.trim();
299
+ if (!validateEntityName(notation)) {
300
+ throw new Error(`Invalid notation name: "${notation}"`);
301
+ }
302
+
303
+ allowedNotations.push(notation);
304
+
305
+ // Skip '|' separator or exit loop
306
+ if (xmlData[i] === "|") {
307
+ i++; // Move past '|'
308
+ i = skipWhitespace(xmlData, i); // Skip optional whitespace after '|'
309
+ }
310
+ }
311
+
312
+ if (xmlData[i] !== ")") {
313
+ throw new Error("Unterminated list of notations");
314
+ }
315
+ i++; // Move past ')'
316
+
317
+ // Store the allowed notations as part of the attribute type
318
+ attributeType += " (" + allowedNotations.join("|") + ")";
319
+ } else {
320
+ // Handle simple types (e.g., CDATA, ID, IDREF, etc.)
321
+ while (i < xmlData.length && !/\s/.test(xmlData[i])) {
322
+ attributeType += xmlData[i];
323
+ i++;
324
+ }
325
+
326
+ // Validate simple attribute type
327
+ const validTypes = ["CDATA", "ID", "IDREF", "IDREFS", "ENTITY", "ENTITIES", "NMTOKEN", "NMTOKENS"];
328
+ if (!validTypes.includes(attributeType.toUpperCase())) {
329
+ throw new Error(`Invalid attribute type: "${attributeType}"`);
330
+ }
331
+ }
332
+
333
+ // Skip whitespace after attribute type
334
+ i = skipWhitespace(xmlData, i);
335
+
336
+ // Read default value
337
+ let defaultValue = "";
338
+ if (xmlData.substring(i, i + 8).toUpperCase() === "#REQUIRED") {
339
+ defaultValue = "#REQUIRED";
340
+ i += 8;
341
+ } else if (xmlData.substring(i, i + 7).toUpperCase() === "#IMPLIED") {
342
+ defaultValue = "#IMPLIED";
343
+ i += 7;
344
+ } else {
345
+ [i, defaultValue] = readIdentifierVal(xmlData, i, "ATTLIST");
346
+ }
347
+
348
+ return {
349
+ elementName,
350
+ attributeName,
351
+ attributeType,
352
+ defaultValue,
353
+ index: i
354
+ }
131
355
  }
132
- function isNotation(xmlData, i){
133
- if(xmlData[i+1] === '!' &&
134
- xmlData[i+2] === 'N' &&
135
- xmlData[i+3] === 'O' &&
136
- xmlData[i+4] === 'T' &&
137
- xmlData[i+5] === 'A' &&
138
- xmlData[i+6] === 'T' &&
139
- xmlData[i+7] === 'I' &&
140
- xmlData[i+8] === 'O' &&
141
- xmlData[i+9] === 'N') return true
142
- return false
356
+
357
+ function hasSeq(data, seq,i){
358
+ for(let j=0;j<seq.length;j++){
359
+ if(seq[j]!==data[i+j+1]) return false;
360
+ }
361
+ return true;
143
362
  }
144
363
 
145
364
  function validateEntityName(name){
146
- if (util.isName(name))
365
+ if (isName(name))
147
366
  return name;
148
367
  else
149
368
  throw new Error(`Invalid entity name ${name}`);
150
369
  }
151
-
152
- module.exports = readDocType;
@@ -1,5 +1,5 @@
1
1
 
2
- const defaultOptions = {
2
+ export const defaultOptions = {
3
3
  preserveOrder: false,
4
4
  attributeNamePrefix: '@_',
5
5
  attributesGroupName: false,
@@ -38,11 +38,9 @@ const defaultOptions = {
38
38
  return tagName
39
39
  },
40
40
  // skipEmptyListItem: false
41
+ captureMetaData: false,
41
42
  };
42
43
 
43
- const buildOptions = function(options) {
44
+ export const buildOptions = function(options) {
44
45
  return Object.assign({}, defaultOptions, options);
45
46
  };
46
-
47
- exports.buildOptions = buildOptions;
48
- exports.defaultOptions = defaultOptions;
@@ -1,10 +1,11 @@
1
1
  'use strict';
2
2
  ///@ts-check
3
3
 
4
- const util = require('../util');
5
- const xmlNode = require('./xmlNode');
6
- const readDocType = require("./DocTypeReader");
7
- const toNumber = require("strnum");
4
+ import {getAllMatches, isExist} from '../util.js';
5
+ import xmlNode from './xmlNode.js';
6
+ import readDocType from './DocTypeReader.js';
7
+ import toNumber from "strnum";
8
+ import getIgnoreAttributesFn from "../ignoreAttributes.js";
8
9
 
9
10
  // const regx =
10
11
  // '<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)'
@@ -13,7 +14,7 @@ const toNumber = require("strnum");
13
14
  //const tagsRegx = new RegExp("<(\\/?[\\w:\\-\._]+)([^>]*)>(\\s*"+cdataRegx+")*([^<]+)?","g");
14
15
  //const tagsRegx = new RegExp("<(\\/?)((\\w*:)?([\\w:\\-\._]+))([^>]*)>([^<]*)("+cdataRegx+"([^<]*))*([^<]+)?","g");
15
16
 
16
- class OrderedObjParser{
17
+ export default class OrderedObjParser{
17
18
  constructor(options){
18
19
  this.options = options;
19
20
  this.currentNode = null;
@@ -40,8 +41,8 @@ class OrderedObjParser{
40
41
  "copyright" : { regex: /&(copy|#169);/g, val: "©" },
41
42
  "reg" : { regex: /&(reg|#174);/g, val: "®" },
42
43
  "inr" : { regex: /&(inr|#8377);/g, val: "₹" },
43
- "num_dec": { regex: /&#([0-9]{1,7});/g, val : (_, str) => String.fromCharCode(Number.parseInt(str, 10)) },
44
- "num_hex": { regex: /&#x([0-9a-fA-F]{1,6});/g, val : (_, str) => String.fromCharCode(Number.parseInt(str, 16)) },
44
+ "num_dec": { regex: /&#([0-9]{1,7});/g, val : (_, str) => String.fromCodePoint(Number.parseInt(str, 10)) },
45
+ "num_hex": { regex: /&#x([0-9a-fA-F]{1,6});/g, val : (_, str) => String.fromCodePoint(Number.parseInt(str, 16)) },
45
46
  };
46
47
  this.addExternalEntities = addExternalEntities;
47
48
  this.parseXml = parseXml;
@@ -53,6 +54,7 @@ class OrderedObjParser{
53
54
  this.readStopNodeData = readStopNodeData;
54
55
  this.saveTextToParentTag = saveTextToParentTag;
55
56
  this.addChild = addChild;
57
+ this.ignoreAttributesFn = getIgnoreAttributesFn(this.options.ignoreAttributes)
56
58
  }
57
59
 
58
60
  }
@@ -125,15 +127,18 @@ function resolveNameSpace(tagname) {
125
127
  const attrsRegx = new RegExp('([^\\s=]+)\\s*(=\\s*([\'"])([\\s\\S]*?)\\3)?', 'gm');
126
128
 
127
129
  function buildAttributesMap(attrStr, jPath, tagName) {
128
- if (!this.options.ignoreAttributes && typeof attrStr === 'string') {
130
+ if (this.options.ignoreAttributes !== true && typeof attrStr === 'string') {
129
131
  // attrStr = attrStr.replace(/\r?\n/g, ' ');
130
132
  //attrStr = attrStr || attrStr.trim();
131
133
 
132
- const matches = util.getAllMatches(attrStr, attrsRegx);
134
+ const matches = getAllMatches(attrStr, attrsRegx);
133
135
  const len = matches.length; //don't make it inline
134
136
  const attrs = {};
135
137
  for (let i = 0; i < len; i++) {
136
138
  const attrName = this.resolveNameSpace(matches[i][1]);
139
+ if (this.ignoreAttributesFn(attrName, jPath)) {
140
+ continue
141
+ }
137
142
  let oldVal = matches[i][4];
138
143
  let aName = this.options.attributeNamePrefix + attrName;
139
144
  if (attrName.length) {
@@ -241,8 +246,7 @@ const parseXml = function(xmlData) {
241
246
  if(tagData.tagName !== tagData.tagExp && tagData.attrExpPresent){
242
247
  childNode[":@"] = this.buildAttributesMap(tagData.tagExp, jPath, tagData.tagName);
243
248
  }
244
- this.addChild(currentNode, childNode, jPath)
245
-
249
+ this.addChild(currentNode, childNode, jPath, i);
246
250
  }
247
251
 
248
252
 
@@ -307,6 +311,7 @@ const parseXml = function(xmlData) {
307
311
  if(tagName !== xmlObj.tagname){
308
312
  jPath += jPath ? "." + tagName : tagName;
309
313
  }
314
+ const startIndex = i;
310
315
  if (this.isItStopNode(this.options.stopNodes, jPath, tagName)) {
311
316
  let tagContent = "";
312
317
  //self-closing tag
@@ -335,6 +340,7 @@ const parseXml = function(xmlData) {
335
340
  }
336
341
 
337
342
  const childNode = new xmlNode(tagName);
343
+
338
344
  if(tagName !== tagExp && attrExpPresent){
339
345
  childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName);
340
346
  }
@@ -345,7 +351,7 @@ const parseXml = function(xmlData) {
345
351
  jPath = jPath.substr(0, jPath.lastIndexOf("."));
346
352
  childNode.add(this.options.textNodeName, tagContent);
347
353
 
348
- this.addChild(currentNode, childNode, jPath)
354
+ this.addChild(currentNode, childNode, jPath, startIndex);
349
355
  }else{
350
356
  //selfClosing tag
351
357
  if(tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1){
@@ -365,7 +371,7 @@ const parseXml = function(xmlData) {
365
371
  if(tagName !== tagExp && attrExpPresent){
366
372
  childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName);
367
373
  }
368
- this.addChild(currentNode, childNode, jPath)
374
+ this.addChild(currentNode, childNode, jPath, startIndex);
369
375
  jPath = jPath.substr(0, jPath.lastIndexOf("."));
370
376
  }
371
377
  //opening tag
@@ -376,7 +382,7 @@ const parseXml = function(xmlData) {
376
382
  if(tagName !== tagExp && attrExpPresent){
377
383
  childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName);
378
384
  }
379
- this.addChild(currentNode, childNode, jPath)
385
+ this.addChild(currentNode, childNode, jPath, startIndex);
380
386
  currentNode = childNode;
381
387
  }
382
388
  textData = "";
@@ -390,14 +396,16 @@ const parseXml = function(xmlData) {
390
396
  return xmlObj.child;
391
397
  }
392
398
 
393
- function addChild(currentNode, childNode, jPath){
399
+ function addChild(currentNode, childNode, jPath, startIndex){
400
+ // unset startIndex if not requested
401
+ if (!this.options.captureMetaData) startIndex = undefined;
394
402
  const result = this.options.updateTag(childNode.tagname, jPath, childNode[":@"])
395
403
  if(result === false){
396
- }else if(typeof result === "string"){
404
+ } else if(typeof result === "string"){
397
405
  childNode.tagname = result
398
- currentNode.addChild(childNode);
406
+ currentNode.addChild(childNode, startIndex);
399
407
  }else{
400
- currentNode.addChild(childNode);
408
+ currentNode.addChild(childNode, startIndex);
401
409
  }
402
410
  }
403
411
 
@@ -424,7 +432,7 @@ const replaceEntitiesValue = function(val){
424
432
  }
425
433
  function saveTextToParentTag(textData, currentNode, jPath, isLeafNode) {
426
434
  if (textData) { //store previously collected data as textNode
427
- if(isLeafNode === undefined) isLeafNode = Object.keys(currentNode.child).length === 0
435
+ if(isLeafNode === undefined) isLeafNode = currentNode.child.length === 0
428
436
 
429
437
  textData = this.parseTextData(textData,
430
438
  currentNode.tagname,
@@ -589,13 +597,10 @@ function parseValue(val, shouldParse, options) {
589
597
  else if(newval === 'false' ) return false;
590
598
  else return toNumber(val, options);
591
599
  } else {
592
- if (util.isExist(val)) {
600
+ if (isExist(val)) {
593
601
  return val;
594
602
  } else {
595
603
  return '';
596
604
  }
597
605
  }
598
606
  }
599
-
600
-
601
- module.exports = OrderedObjParser;
@@ -1,9 +1,10 @@
1
- const { buildOptions} = require("./OptionsBuilder");
2
- const OrderedObjParser = require("./OrderedObjParser");
3
- const { prettify} = require("./node2json");
4
- const validator = require('../validator');
1
+ import { buildOptions} from './OptionsBuilder.js';
2
+ import OrderedObjParser from './OrderedObjParser.js';
3
+ import prettify from './node2json.js';
4
+ import {validate} from "../validator.js";
5
+ import XmlNode from './xmlNode.js';
5
6
 
6
- class XMLParser{
7
+ export default class XMLParser{
7
8
 
8
9
  constructor(options){
9
10
  this.externalEntities = {};
@@ -25,7 +26,7 @@ class XMLParser{
25
26
  if( validationOption){
26
27
  if(validationOption === true) validationOption = {}; //validate with default options
27
28
 
28
- const result = validator.validate(xmlData, validationOption);
29
+ const result = validate(xmlData, validationOption);
29
30
  if (result !== true) {
30
31
  throw Error( `${result.err.msg}:${result.err.line}:${result.err.col}` )
31
32
  }
@@ -53,6 +54,18 @@ class XMLParser{
53
54
  this.externalEntities[key] = value;
54
55
  }
55
56
  }
56
- }
57
57
 
58
- module.exports = XMLParser;
58
+ /**
59
+ * Returns a Symbol that can be used to access the metadata
60
+ * property on a node.
61
+ *
62
+ * If Symbol is not available in the environment, an ordinary property is used
63
+ * and the name of the property is here returned.
64
+ *
65
+ * The XMLMetaData property is only present when `captureMetaData`
66
+ * is true in the options.
67
+ */
68
+ static getMetaDataSymbol() {
69
+ return XmlNode.getMetaDataSymbol();
70
+ }
71
+ }
@@ -1,12 +1,16 @@
1
1
  'use strict';
2
2
 
3
+ import XmlNode from './xmlNode.js';
4
+
5
+ const METADATA_SYMBOL = XmlNode.getMetaDataSymbol();
6
+
3
7
  /**
4
8
  *
5
9
  * @param {array} node
6
10
  * @param {any} options
7
11
  * @returns
8
12
  */
9
- function prettify(node, options){
13
+ export default function prettify(node, options){
10
14
  return compress( node, options);
11
15
  }
12
16
 
@@ -36,6 +40,9 @@ function compress(arr, options, jPath){
36
40
 
37
41
  let val = compress(tagObj[property], options, newJpath);
38
42
  const isLeaf = isLeafTag(val, options);
43
+ if (tagObj[METADATA_SYMBOL] !== undefined) {
44
+ val[METADATA_SYMBOL] = tagObj[METADATA_SYMBOL]; // copy over metadata
45
+ }
39
46
 
40
47
  if(tagObj[":@"]){
41
48
  assignAttributes( val, tagObj[":@"], newJpath, options);
@@ -110,4 +117,3 @@ function isLeafTag(obj, options){
110
117
 
111
118
  return false;
112
119
  }
113
- exports.prettify = prettify;