@pgarbe/cdk-ecr-sync 0.5.25 → 0.5.28

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 (450) hide show
  1. package/.gitattributes +0 -1
  2. package/.jsii +149 -6
  3. package/.projenrc.ts +6 -4
  4. package/CHANGELOG.md +1 -1
  5. package/lib/ecr-sync.d.ts +5 -22
  6. package/lib/ecr-sync.d.ts.map +1 -0
  7. package/lib/ecr-sync.js +3 -10
  8. package/lib/image.d.ts +6 -8
  9. package/lib/image.d.ts.map +1 -0
  10. package/lib/image.js +1 -1
  11. package/lib/index.d.ts +1 -0
  12. package/lib/index.d.ts.map +1 -0
  13. package/lib/lambda/docker-adapter.d.ts +1 -0
  14. package/lib/lambda/docker-adapter.d.ts.map +1 -0
  15. package/lib/lambda/ecr-adapter.d.ts +1 -0
  16. package/lib/lambda/ecr-adapter.d.ts.map +1 -0
  17. package/lib/lambda/get-image-tags-handler.d.ts +1 -0
  18. package/lib/lambda/get-image-tags-handler.d.ts.map +1 -0
  19. package/node_modules/aws-sdk/CHANGELOG.md +433 -1
  20. package/node_modules/aws-sdk/README.md +1 -1
  21. package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.min.json +56 -25
  22. package/node_modules/aws-sdk/apis/amplify-2017-07-25.min.json +68 -50
  23. package/node_modules/aws-sdk/apis/amplifybackend-2020-08-11.min.json +47 -7
  24. package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.min.json +144 -65
  25. package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.paginators.json +10 -0
  26. package/node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json +5 -0
  27. package/node_modules/aws-sdk/apis/appconfig-2019-10-09.min.json +3 -1
  28. package/node_modules/aws-sdk/apis/appconfigdata-2021-11-11.min.json +11 -11
  29. package/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json +739 -235
  30. package/node_modules/aws-sdk/apis/appflow-2020-08-23.paginators.json +7 -1
  31. package/node_modules/aws-sdk/apis/apprunner-2020-05-15.min.json +350 -32
  32. package/node_modules/aws-sdk/apis/apprunner-2020-05-15.paginators.json +10 -0
  33. package/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json +9 -0
  34. package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +90 -31
  35. package/node_modules/aws-sdk/apis/auditmanager-2017-07-25.min.json +5 -1
  36. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json +31 -46
  37. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +113 -90
  38. package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +30 -0
  39. package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +22 -11
  40. package/node_modules/aws-sdk/apis/batch-2016-08-10.min.json +143 -94
  41. package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.examples.json +5 -0
  42. package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.min.json +1374 -0
  43. package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.paginators.json +62 -0
  44. package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.waiters2.json +4 -0
  45. package/node_modules/aws-sdk/apis/braket-2019-09-01.min.json +30 -27
  46. package/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json +107 -45
  47. package/node_modules/aws-sdk/apis/budgets-2016-10-20.paginators.json +6 -0
  48. package/node_modules/aws-sdk/apis/ce-2017-10-25.min.json +206 -125
  49. package/node_modules/aws-sdk/apis/chime-2018-05-01.min.json +3 -0
  50. package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.examples.json +5 -0
  51. package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.min.json +330 -0
  52. package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.paginators.json +9 -0
  53. package/node_modules/aws-sdk/apis/chime-sdk-meetings-2021-07-15.min.json +16 -11
  54. package/node_modules/aws-sdk/apis/cloudcontrol-2021-09-30.paginators.json +4 -2
  55. package/node_modules/aws-sdk/apis/cloudcontrol-2021-09-30.waiters2.json +23 -27
  56. package/node_modules/aws-sdk/apis/cloudformation-2010-05-15.min.json +86 -25
  57. package/node_modules/aws-sdk/apis/cloudfront-2020-05-31.min.json +42 -28
  58. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +25 -2
  59. package/node_modules/aws-sdk/apis/codeguru-reviewer-2019-09-19.min.json +15 -8
  60. package/node_modules/aws-sdk/apis/codeguru-reviewer-2019-09-19.waiters2.json +14 -2
  61. package/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json +119 -118
  62. package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +308 -79
  63. package/node_modules/aws-sdk/apis/comprehend-2017-11-27.paginators.json +5 -0
  64. package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +217 -113
  65. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +832 -139
  66. package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +33 -0
  67. package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +537 -200
  68. package/node_modules/aws-sdk/apis/databrew-2017-07-25.min.json +41 -38
  69. package/node_modules/aws-sdk/apis/dataexchange-2017-07-25.min.json +83 -4
  70. package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +144 -74
  71. package/node_modules/aws-sdk/apis/devops-guru-2020-12-01.min.json +213 -119
  72. package/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json +67 -32
  73. package/node_modules/aws-sdk/apis/docdb-2014-10-31.min.json +10 -2
  74. package/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json +10 -4
  75. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1179 -850
  76. package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +6 -0
  77. package/node_modules/aws-sdk/apis/ec2-2016-11-15.waiters2.json +18 -0
  78. package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +14 -11
  79. package/node_modules/aws-sdk/apis/ecr-2015-09-21.paginators.json +4 -1
  80. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +10 -0
  81. package/node_modules/aws-sdk/apis/elasticfilesystem-2015-02-01.min.json +149 -21
  82. package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +47 -35
  83. package/node_modules/aws-sdk/apis/es-2015-01-01.min.json +125 -49
  84. package/node_modules/aws-sdk/apis/eventbridge-2015-10-07.min.json +262 -19
  85. package/node_modules/aws-sdk/apis/evidently-2021-02-01.min.json +14 -0
  86. package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.min.json +454 -7
  87. package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.paginators.json +12 -0
  88. package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +229 -31
  89. package/node_modules/aws-sdk/apis/fis-2020-12-01.paginators.json +5 -0
  90. package/node_modules/aws-sdk/apis/fms-2018-01-01.min.json +265 -82
  91. package/node_modules/aws-sdk/apis/fms-2018-01-01.paginators.json +6 -0
  92. package/node_modules/aws-sdk/apis/frauddetector-2019-11-15.min.json +212 -6
  93. package/node_modules/aws-sdk/apis/frauddetector-2019-11-15.paginators.json +5 -0
  94. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +123 -98
  95. package/node_modules/aws-sdk/apis/fsx-2018-03-01.paginators.json +4 -2
  96. package/node_modules/aws-sdk/apis/gamesparks-2021-08-17.examples.json +5 -0
  97. package/node_modules/aws-sdk/apis/gamesparks-2021-08-17.min.json +1363 -0
  98. package/node_modules/aws-sdk/apis/gamesparks-2021-08-17.paginators.json +46 -0
  99. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +2257 -440
  100. package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +10 -0
  101. package/node_modules/aws-sdk/apis/grafana-2020-08-18.min.json +194 -19
  102. package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +352 -77
  103. package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.min.json +107 -73
  104. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +280 -202
  105. package/node_modules/aws-sdk/apis/iot-2015-05-28.paginators.json +6 -0
  106. package/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json +1 -1
  107. package/node_modules/aws-sdk/apis/iotsecuretunneling-2018-10-05.min.json +28 -0
  108. package/node_modules/aws-sdk/apis/iotsitewise-2019-12-02.min.json +516 -168
  109. package/node_modules/aws-sdk/apis/iotsitewise-2019-12-02.paginators.json +14 -0
  110. package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.min.json +75 -68
  111. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +401 -80
  112. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.paginators.json +5 -0
  113. package/node_modules/aws-sdk/apis/ivschat-2020-07-14.examples.json +5 -0
  114. package/node_modules/aws-sdk/apis/ivschat-2020-07-14.min.json +443 -0
  115. package/node_modules/aws-sdk/apis/ivschat-2020-07-14.paginators.json +9 -0
  116. package/node_modules/aws-sdk/apis/kafka-2018-11-14.min.json +114 -94
  117. package/node_modules/aws-sdk/apis/kafkaconnect-2021-09-14.min.json +95 -48
  118. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +349 -83
  119. package/node_modules/aws-sdk/apis/kendra-2019-02-03.paginators.json +20 -0
  120. package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.examples.json +5 -0
  121. package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.min.json +562 -0
  122. package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.paginators.json +22 -0
  123. package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.waiters2.json +5 -0
  124. package/node_modules/aws-sdk/apis/kinesis-video-archived-media-2017-09-30.min.json +64 -0
  125. package/node_modules/aws-sdk/apis/kinesis-video-archived-media-2017-09-30.paginators.json +6 -0
  126. package/node_modules/aws-sdk/apis/kinesisvideo-2017-09-30.min.json +145 -8
  127. package/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +239 -9
  128. package/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +80 -12
  129. package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +0 -1
  130. package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +418 -149
  131. package/node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json +6 -0
  132. package/node_modules/aws-sdk/apis/lambda-2015-03-31.waiters2.json +54 -2
  133. package/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json +117 -56
  134. package/node_modules/aws-sdk/apis/location-2020-11-19.min.json +20 -12
  135. package/node_modules/aws-sdk/apis/location-2020-11-19.paginators.json +2 -0
  136. package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.min.json +274 -12
  137. package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.paginators.json +5 -0
  138. package/node_modules/aws-sdk/apis/lookoutmetrics-2017-07-25.min.json +123 -0
  139. package/node_modules/aws-sdk/apis/lookoutvision-2020-11-20.min.json +0 -1
  140. package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +31 -28
  141. package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +83 -27
  142. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +179 -127
  143. package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +222 -154
  144. package/node_modules/aws-sdk/apis/mediapackage-vod-2018-11-07.min.json +16 -13
  145. package/node_modules/aws-sdk/apis/mediatailor-2018-04-23.min.json +416 -139
  146. package/node_modules/aws-sdk/apis/mediatailor-2018-04-23.paginators.json +6 -0
  147. package/node_modules/aws-sdk/apis/metadata.json +20 -0
  148. package/node_modules/aws-sdk/apis/meteringmarketplace-2016-01-14.min.json +2 -1
  149. package/node_modules/aws-sdk/apis/mgn-2020-02-26.min.json +15 -19
  150. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +0 -2
  151. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +47 -11
  152. package/node_modules/aws-sdk/apis/mq-2017-11-27.min.json +22 -7
  153. package/node_modules/aws-sdk/apis/network-firewall-2020-11-12.min.json +139 -53
  154. package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +125 -49
  155. package/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +77 -62
  156. package/node_modules/aws-sdk/apis/outposts-2019-12-03.min.json +74 -0
  157. package/node_modules/aws-sdk/apis/outposts-2019-12-03.paginators.json +10 -0
  158. package/node_modules/aws-sdk/apis/panorama-2019-07-24.min.json +414 -346
  159. package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +189 -42
  160. package/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json +2 -1
  161. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.examples.json +5 -0
  162. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.min.json +1681 -0
  163. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.paginators.json +70 -0
  164. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.waiters2.json +5 -0
  165. package/node_modules/aws-sdk/apis/proton-2020-07-20.min.json +4 -1
  166. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +151 -43
  167. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +289 -413
  168. package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +0 -12
  169. package/node_modules/aws-sdk/apis/rds-data-2018-08-01.min.json +4 -1
  170. package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +41 -23
  171. package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +247 -111
  172. package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +125 -74
  173. package/node_modules/aws-sdk/apis/robomaker-2018-06-29.min.json +148 -48
  174. package/node_modules/aws-sdk/apis/route53-recovery-cluster-2019-12-02.min.json +49 -3
  175. package/node_modules/aws-sdk/apis/route53-recovery-cluster-2019-12-02.paginators.json +6 -0
  176. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +97 -97
  177. package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +772 -239
  178. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +154 -53
  179. package/node_modules/aws-sdk/apis/s3outposts-2017-07-25.min.json +64 -24
  180. package/node_modules/aws-sdk/apis/s3outposts-2017-07-25.paginators.json +6 -0
  181. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +732 -691
  182. package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.examples.json +15 -13
  183. package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.min.json +15 -10
  184. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +392 -304
  185. package/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.min.json +16 -8
  186. package/node_modules/aws-sdk/apis/servicecatalog-appregistry-2020-06-24.min.json +8 -2
  187. package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +333 -294
  188. package/node_modules/aws-sdk/apis/ssm-contacts-2021-05-03.examples.json +1 -1
  189. package/node_modules/aws-sdk/apis/ssm-incidents-2018-05-10.min.json +48 -37
  190. package/node_modules/aws-sdk/apis/synthetics-2017-10-11.min.json +49 -36
  191. package/node_modules/aws-sdk/apis/textract-2018-06-27.min.json +82 -45
  192. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +50 -40
  193. package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +57 -47
  194. package/node_modules/aws-sdk/apis/transfer-2018-11-05.paginators.json +27 -8
  195. package/node_modules/aws-sdk/apis/transfer-2018-11-05.waiters2.json +45 -0
  196. package/node_modules/aws-sdk/apis/translate-2017-07-01.min.json +19 -18
  197. package/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +313 -131
  198. package/node_modules/aws-sdk/apis/wisdom-2020-10-19.min.json +60 -19
  199. package/node_modules/aws-sdk/apis/worklink-2018-09-25.min.json +99 -33
  200. package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +195 -27
  201. package/node_modules/aws-sdk/apis/workspaces-web-2020-07-08.min.json +107 -36
  202. package/node_modules/aws-sdk/clients/acmpca.d.ts +72 -36
  203. package/node_modules/aws-sdk/clients/all.d.ts +6 -0
  204. package/node_modules/aws-sdk/clients/all.js +7 -1
  205. package/node_modules/aws-sdk/clients/amplify.d.ts +19 -14
  206. package/node_modules/aws-sdk/clients/amplifybackend.d.ts +48 -12
  207. package/node_modules/aws-sdk/clients/amplifyuibuilder.d.ts +142 -18
  208. package/node_modules/aws-sdk/clients/appconfig.d.ts +13 -13
  209. package/node_modules/aws-sdk/clients/appconfigdata.d.ts +18 -18
  210. package/node_modules/aws-sdk/clients/appflow.d.ts +691 -4
  211. package/node_modules/aws-sdk/clients/apprunner.d.ts +371 -20
  212. package/node_modules/aws-sdk/clients/appstream.d.ts +13 -1
  213. package/node_modules/aws-sdk/clients/athena.d.ts +92 -8
  214. package/node_modules/aws-sdk/clients/auditmanager.d.ts +10 -10
  215. package/node_modules/aws-sdk/clients/autoscaling.d.ts +62 -34
  216. package/node_modules/aws-sdk/clients/backup.d.ts +49 -25
  217. package/node_modules/aws-sdk/clients/batch.d.ts +116 -48
  218. package/node_modules/aws-sdk/clients/billingconductor.d.ts +1554 -0
  219. package/node_modules/aws-sdk/clients/billingconductor.js +19 -0
  220. package/node_modules/aws-sdk/clients/braket.d.ts +7 -2
  221. package/node_modules/aws-sdk/clients/budgets.d.ts +107 -48
  222. package/node_modules/aws-sdk/clients/chime.d.ts +10 -6
  223. package/node_modules/aws-sdk/clients/chimesdkmediapipelines.d.ts +348 -0
  224. package/node_modules/aws-sdk/clients/chimesdkmediapipelines.js +18 -0
  225. package/node_modules/aws-sdk/clients/chimesdkmeetings.d.ts +31 -5
  226. package/node_modules/aws-sdk/clients/cloudcontrol.d.ts +24 -24
  227. package/node_modules/aws-sdk/clients/cloudformation.d.ts +408 -265
  228. package/node_modules/aws-sdk/clients/cloudfront.d.ts +15 -0
  229. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +34 -26
  230. package/node_modules/aws-sdk/clients/cloudwatch.d.ts +44 -12
  231. package/node_modules/aws-sdk/clients/codegurureviewer.d.ts +24 -10
  232. package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +299 -294
  233. package/node_modules/aws-sdk/clients/comprehend.d.ts +337 -5
  234. package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +3 -3
  235. package/node_modules/aws-sdk/clients/configservice.d.ts +220 -49
  236. package/node_modules/aws-sdk/clients/connect.d.ts +877 -30
  237. package/node_modules/aws-sdk/clients/costexplorer.d.ts +105 -19
  238. package/node_modules/aws-sdk/clients/customerprofiles.d.ts +365 -2
  239. package/node_modules/aws-sdk/clients/databrew.d.ts +8 -3
  240. package/node_modules/aws-sdk/clients/dataexchange.d.ts +117 -0
  241. package/node_modules/aws-sdk/clients/datasync.d.ts +103 -16
  242. package/node_modules/aws-sdk/clients/devopsguru.d.ts +109 -3
  243. package/node_modules/aws-sdk/clients/discovery.d.ts +63 -26
  244. package/node_modules/aws-sdk/clients/docdb.d.ts +56 -40
  245. package/node_modules/aws-sdk/clients/dynamodb.d.ts +15 -7
  246. package/node_modules/aws-sdk/clients/ebs.d.ts +13 -13
  247. package/node_modules/aws-sdk/clients/ec2.d.ts +571 -145
  248. package/node_modules/aws-sdk/clients/ecr.d.ts +10 -5
  249. package/node_modules/aws-sdk/clients/ecs.d.ts +51 -35
  250. package/node_modules/aws-sdk/clients/efs.d.ts +153 -26
  251. package/node_modules/aws-sdk/clients/eks.d.ts +14 -14
  252. package/node_modules/aws-sdk/clients/elasticache.d.ts +13 -13
  253. package/node_modules/aws-sdk/clients/emr.d.ts +38 -14
  254. package/node_modules/aws-sdk/clients/es.d.ts +97 -0
  255. package/node_modules/aws-sdk/clients/eventbridge.d.ts +386 -13
  256. package/node_modules/aws-sdk/clients/eventbridge.js +1 -0
  257. package/node_modules/aws-sdk/clients/evidently.d.ts +19 -7
  258. package/node_modules/aws-sdk/clients/finspacedata.d.ts +520 -46
  259. package/node_modules/aws-sdk/clients/fis.d.ts +266 -22
  260. package/node_modules/aws-sdk/clients/fms.d.ts +333 -3
  261. package/node_modules/aws-sdk/clients/frauddetector.d.ts +308 -0
  262. package/node_modules/aws-sdk/clients/fsx.d.ts +105 -69
  263. package/node_modules/aws-sdk/clients/gamelift.d.ts +186 -186
  264. package/node_modules/aws-sdk/clients/gamesparks.d.ts +1324 -0
  265. package/node_modules/aws-sdk/clients/gamesparks.js +18 -0
  266. package/node_modules/aws-sdk/clients/glue.d.ts +2588 -188
  267. package/node_modules/aws-sdk/clients/grafana.d.ts +153 -6
  268. package/node_modules/aws-sdk/clients/greengrassv2.d.ts +6 -6
  269. package/node_modules/aws-sdk/clients/guardduty.d.ts +314 -46
  270. package/node_modules/aws-sdk/clients/iam.d.ts +10 -10
  271. package/node_modules/aws-sdk/clients/imagebuilder.d.ts +55 -6
  272. package/node_modules/aws-sdk/clients/iot.d.ts +88 -22
  273. package/node_modules/aws-sdk/clients/iotdata.d.ts +7 -7
  274. package/node_modules/aws-sdk/clients/iotsecuretunneling.d.ts +52 -18
  275. package/node_modules/aws-sdk/clients/iotsitewise.d.ts +369 -0
  276. package/node_modules/aws-sdk/clients/iottwinmaker.d.ts +25 -8
  277. package/node_modules/aws-sdk/clients/iotwireless.d.ts +356 -25
  278. package/node_modules/aws-sdk/clients/ivschat.d.ts +523 -0
  279. package/node_modules/aws-sdk/clients/ivschat.js +18 -0
  280. package/node_modules/aws-sdk/clients/kafka.d.ts +19 -1
  281. package/node_modules/aws-sdk/clients/kafkaconnect.d.ts +50 -5
  282. package/node_modules/aws-sdk/clients/kendra.d.ts +489 -138
  283. package/node_modules/aws-sdk/clients/keyspaces.d.ts +652 -0
  284. package/node_modules/aws-sdk/clients/keyspaces.js +19 -0
  285. package/node_modules/aws-sdk/clients/kinesisvideo.d.ts +177 -10
  286. package/node_modules/aws-sdk/clients/kinesisvideoarchivedmedia.d.ts +94 -0
  287. package/node_modules/aws-sdk/clients/kms.d.ts +209 -119
  288. package/node_modules/aws-sdk/clients/lakeformation.d.ts +2 -2
  289. package/node_modules/aws-sdk/clients/lambda.d.ts +319 -16
  290. package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +2 -2
  291. package/node_modules/aws-sdk/clients/lightsail.d.ts +175 -64
  292. package/node_modules/aws-sdk/clients/location.d.ts +28 -19
  293. package/node_modules/aws-sdk/clients/lookoutequipment.d.ts +295 -9
  294. package/node_modules/aws-sdk/clients/lookoutmetrics.d.ts +160 -0
  295. package/node_modules/aws-sdk/clients/lookoutvision.d.ts +4 -4
  296. package/node_modules/aws-sdk/clients/macie.d.ts +50 -50
  297. package/node_modules/aws-sdk/clients/macie2.d.ts +7 -2
  298. package/node_modules/aws-sdk/clients/marketplacemetering.d.ts +17 -12
  299. package/node_modules/aws-sdk/clients/mediaconnect.d.ts +47 -0
  300. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +98 -18
  301. package/node_modules/aws-sdk/clients/medialive.d.ts +79 -3
  302. package/node_modules/aws-sdk/clients/mediapackage.d.ts +4 -4
  303. package/node_modules/aws-sdk/clients/mediapackagevod.d.ts +5 -0
  304. package/node_modules/aws-sdk/clients/mediatailor.d.ts +327 -12
  305. package/node_modules/aws-sdk/clients/mgn.d.ts +63 -50
  306. package/node_modules/aws-sdk/clients/migrationhubrefactorspaces.d.ts +17 -17
  307. package/node_modules/aws-sdk/clients/mq.d.ts +16 -1
  308. package/node_modules/aws-sdk/clients/networkfirewall.d.ts +151 -21
  309. package/node_modules/aws-sdk/clients/opensearch.d.ts +97 -0
  310. package/node_modules/aws-sdk/clients/organizations.d.ts +146 -131
  311. package/node_modules/aws-sdk/clients/outposts.d.ts +94 -22
  312. package/node_modules/aws-sdk/clients/panorama.d.ts +467 -406
  313. package/node_modules/aws-sdk/clients/personalize.d.ts +191 -25
  314. package/node_modules/aws-sdk/clients/pi.d.ts +26 -26
  315. package/node_modules/aws-sdk/clients/pinpoint.d.ts +4 -0
  316. package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.d.ts +2367 -0
  317. package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.js +19 -0
  318. package/node_modules/aws-sdk/clients/polly.d.ts +3 -3
  319. package/node_modules/aws-sdk/clients/pricing.d.ts +3 -3
  320. package/node_modules/aws-sdk/clients/proton.d.ts +105 -101
  321. package/node_modules/aws-sdk/clients/quicksight.d.ts +114 -12
  322. package/node_modules/aws-sdk/clients/ram.d.ts +5 -5
  323. package/node_modules/aws-sdk/clients/rbin.d.ts +41 -41
  324. package/node_modules/aws-sdk/clients/rds.d.ts +600 -779
  325. package/node_modules/aws-sdk/clients/rdsdataservice.d.ts +22 -7
  326. package/node_modules/aws-sdk/clients/redshift.d.ts +68 -30
  327. package/node_modules/aws-sdk/clients/rekognition.d.ts +209 -53
  328. package/node_modules/aws-sdk/clients/resiliencehub.d.ts +138 -58
  329. package/node_modules/aws-sdk/clients/robomaker.d.ts +37 -36
  330. package/node_modules/aws-sdk/clients/route53.d.ts +12 -12
  331. package/node_modules/aws-sdk/clients/route53recoverycluster.d.ts +82 -10
  332. package/node_modules/aws-sdk/clients/route53recoveryreadiness.d.ts +275 -230
  333. package/node_modules/aws-sdk/clients/s3.d.ts +735 -204
  334. package/node_modules/aws-sdk/clients/s3control.d.ts +145 -13
  335. package/node_modules/aws-sdk/clients/s3outposts.d.ts +50 -18
  336. package/node_modules/aws-sdk/clients/sagemaker.d.ts +252 -182
  337. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +77 -63
  338. package/node_modules/aws-sdk/clients/securityhub.d.ts +166 -7
  339. package/node_modules/aws-sdk/clients/servicecatalog.d.ts +8 -4
  340. package/node_modules/aws-sdk/clients/sns.d.ts +2 -2
  341. package/node_modules/aws-sdk/clients/ssm.d.ts +90 -37
  342. package/node_modules/aws-sdk/clients/ssmcontacts.d.ts +2 -2
  343. package/node_modules/aws-sdk/clients/ssmincidents.d.ts +21 -7
  344. package/node_modules/aws-sdk/clients/storagegateway.d.ts +24 -24
  345. package/node_modules/aws-sdk/clients/sts.d.ts +5 -5
  346. package/node_modules/aws-sdk/clients/synthetics.d.ts +25 -10
  347. package/node_modules/aws-sdk/clients/textract.d.ts +47 -14
  348. package/node_modules/aws-sdk/clients/timestreamquery.d.ts +1 -1
  349. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +119 -103
  350. package/node_modules/aws-sdk/clients/transfer.d.ts +77 -14
  351. package/node_modules/aws-sdk/clients/transfer.js +1 -0
  352. package/node_modules/aws-sdk/clients/translate.d.ts +2 -0
  353. package/node_modules/aws-sdk/clients/wafv2.d.ts +274 -34
  354. package/node_modules/aws-sdk/clients/wisdom.d.ts +77 -32
  355. package/node_modules/aws-sdk/clients/workspaces.d.ts +243 -4
  356. package/node_modules/aws-sdk/clients/workspacesweb.d.ts +38 -4
  357. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +44 -32
  358. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +1367 -1072
  359. package/node_modules/aws-sdk/dist/aws-sdk.js +6655 -3278
  360. package/node_modules/aws-sdk/dist/aws-sdk.min.js +94 -92
  361. package/node_modules/aws-sdk/lib/config-base.d.ts +1 -0
  362. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +12 -0
  363. package/node_modules/aws-sdk/lib/core.d.ts +1 -0
  364. package/node_modules/aws-sdk/lib/core.js +1 -1
  365. package/node_modules/aws-sdk/lib/credentials/credential_provider_chain.js +1 -0
  366. package/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.d.ts +28 -18
  367. package/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.js +75 -18
  368. package/node_modules/aws-sdk/lib/credentials/sso_credentials.d.ts +14 -0
  369. package/node_modules/aws-sdk/lib/credentials/sso_credentials.js +179 -0
  370. package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +9 -1
  371. package/node_modules/aws-sdk/lib/model/operation.js +6 -1
  372. package/node_modules/aws-sdk/lib/node_loader.js +2 -0
  373. package/node_modules/aws-sdk/lib/param_validator.js +2 -1
  374. package/node_modules/aws-sdk/lib/region_config_data.json +10 -0
  375. package/node_modules/aws-sdk/lib/services/eventbridge.js +19 -0
  376. package/node_modules/aws-sdk/lib/services/s3.js +2 -1
  377. package/node_modules/aws-sdk/lib/services/s3util.js +6 -1
  378. package/node_modules/aws-sdk/package.json +2 -2
  379. package/node_modules/aws-sdk/scripts/region-checker/allowlist.js +8 -5
  380. package/node_modules/jmespath/jmespath.js +32 -27
  381. package/node_modules/jmespath/package.json +2 -7
  382. package/node_modules/jszip/.github/workflows/pr.yaml +42 -0
  383. package/node_modules/jszip/CHANGES.md +15 -1
  384. package/node_modules/jszip/LICENSE.markdown +1 -1
  385. package/node_modules/jszip/dist/jszip.js +37 -5
  386. package/node_modules/jszip/dist/jszip.min.js +2 -2
  387. package/node_modules/jszip/index.d.ts +79 -14
  388. package/node_modules/jszip/lib/index.js +1 -1
  389. package/node_modules/jszip/lib/load.js +8 -1
  390. package/node_modules/jszip/lib/utils.js +27 -2
  391. package/node_modules/jszip/package.json +9 -8
  392. package/node_modules/jszip/tsconfig.json +101 -0
  393. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/.npmignore +0 -0
  394. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/CHANGELOG.md +0 -0
  395. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/LICENSE +0 -0
  396. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/README.md +0 -0
  397. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/Utility.js +0 -0
  398. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLAttribute.js +0 -0
  399. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLCData.js +0 -0
  400. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLComment.js +0 -0
  401. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDAttList.js +0 -0
  402. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDElement.js +0 -0
  403. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDEntity.js +0 -0
  404. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDNotation.js +0 -0
  405. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDeclaration.js +0 -0
  406. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDocType.js +0 -0
  407. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDocument.js +0 -0
  408. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDocumentCB.js +0 -0
  409. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLElement.js +0 -0
  410. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLNode.js +0 -0
  411. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLProcessingInstruction.js +0 -0
  412. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLRaw.js +0 -0
  413. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLStreamWriter.js +0 -0
  414. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLStringWriter.js +0 -0
  415. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLStringifier.js +0 -0
  416. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLText.js +0 -0
  417. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLWriterBase.js +0 -0
  418. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/index.js +0 -0
  419. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/package.json +0 -0
  420. package/package.json +20 -15
  421. package/releasetag.txt +1 -1
  422. package/version.txt +1 -1
  423. package/node_modules/jmespath/.eslintrc +0 -10
  424. package/node_modules/jmespath/.npmignore +0 -1
  425. package/node_modules/jmespath/.travis.yml +0 -6
  426. package/node_modules/jmespath/BASELINE +0 -15
  427. package/node_modules/jmespath/Gruntfile.js +0 -36
  428. package/node_modules/jmespath/g.sh +0 -5
  429. package/node_modules/jmespath/index.html +0 -93
  430. package/node_modules/jmespath/james.html +0 -7
  431. package/node_modules/jmespath/l.js +0 -189
  432. package/node_modules/jmespath/perf.js +0 -33
  433. package/node_modules/jmespath/reservedWords.json +0 -4
  434. package/node_modules/jmespath/test/compliance/basic.json +0 -96
  435. package/node_modules/jmespath/test/compliance/boolean.json +0 -257
  436. package/node_modules/jmespath/test/compliance/current.json +0 -25
  437. package/node_modules/jmespath/test/compliance/escape.json +0 -46
  438. package/node_modules/jmespath/test/compliance/filters.json +0 -468
  439. package/node_modules/jmespath/test/compliance/functions.json +0 -825
  440. package/node_modules/jmespath/test/compliance/identifiers.json +0 -1377
  441. package/node_modules/jmespath/test/compliance/indices.json +0 -346
  442. package/node_modules/jmespath/test/compliance/literal.json +0 -190
  443. package/node_modules/jmespath/test/compliance/multiselect.json +0 -393
  444. package/node_modules/jmespath/test/compliance/pipe.json +0 -131
  445. package/node_modules/jmespath/test/compliance/slice.json +0 -187
  446. package/node_modules/jmespath/test/compliance/syntax.json +0 -616
  447. package/node_modules/jmespath/test/compliance/unicode.json +0 -38
  448. package/node_modules/jmespath/test/compliance/wildcard.json +0 -460
  449. package/node_modules/jmespath/test/compliance.js +0 -56
  450. package/node_modules/jmespath/test/jmespath.js +0 -217
@@ -1,93 +0,0 @@
1
- <!doctype html>
2
- <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
3
- <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
4
- <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
5
- <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
6
- <head>
7
- <meta charset="utf-8">
8
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
9
- <title>JMESPath Demo</title>
10
- <meta name="description" content="JMESPath Demo">
11
- <!--
12
- <link rel="stylesheet" href="css/bootstrap.min.css">
13
- <link rel="stylesheet" href="css/style.css">
14
- -->
15
- <script src="artifacts/jmespath.min.js"></script>
16
- </head>
17
- <body>
18
- <div class="container-fluid">
19
- <div class="hero-unit">
20
- <h1>JSONPath Online Evaluator</h1>
21
- <div id="info">
22
- <p>Author: <a href="http://ashphy.com/">Kazuki Hamasaki</a> [ashphy@ashphy.com]</p>
23
- <p>This evaluator uses <a href="http://goessner.net/articles/JsonPath/">JSONPath - XPath for JSON</a></p>
24
- </div>
25
- </div>
26
- <div class="row-fluid">
27
- <div class="span6">
28
- <h2>Inputs</h2>
29
- <form>
30
- <label>JSONPath Syntax</label>
31
- <input type="text" placeholder="Put JSONPath syntax" value="$.phoneNumbers[:1].type" />
32
- <span class="help-block">Example '$.phoneNumbers[*].type' See also <a href="http://goessner.net/articles/JsonPath/index.html#e2">JSONPath expressions</a></span>
33
- <label>JSON</label>
34
- <textarea rows="30" cols="80">
35
- {
36
- "firstName": "John",
37
- "lastName" : "doe",
38
- "age" : 26,
39
- "address" :
40
- {
41
- "streetAddress": "naist street",
42
- "city" : "Nara",
43
- "postalCode" : "630-0192"
44
- },
45
- "phoneNumbers":
46
- [
47
- {
48
- "type" : "iPhone",
49
- "number": "0123-4567-8888"
50
- },
51
- {
52
- "type" : "home",
53
- "number": "0123-4567-8910"
54
- }
55
- ]
56
- }
57
- </textarea>
58
- </form>
59
- </div>
60
- <div class="span6 ">
61
- <h2>Evaluation Results</h2>
62
- <pre class="result">false</pre>
63
- </div>
64
- </div>
65
- </div>
66
-
67
- <!-- JavaScript at the bottom for fast page loading: http://developer.yahoo.com/performance/rules.html#js_bottom -->
68
-
69
- <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if offline -->
70
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
71
- <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.7.2.min.js"><\/script>')</script>
72
- <script src="js/vendor/jquery.textchange.min.js"></script>
73
-
74
- <script>
75
- var evaluate = function(event, previousText){
76
- var query = $("input").val();
77
- var json = JSON.parse($("textarea").val().replace(/(\r\n|\n|\r)/gm,""));
78
- var result = jsonPath(json, query);
79
- $(".result").empty();
80
- if(result) {
81
- $(".result").append(dump(result));
82
- }
83
- }
84
-
85
- $(document).ready(function(){
86
- $('input').bind('textchange', evaluate);
87
- $('textarea').bind('textchange', evaluate);
88
- evaluate();
89
- });
90
- </script>
91
- </body>
92
- </html>
93
-
@@ -1,7 +0,0 @@
1
- <html>
2
- <head>
3
- <script src="artifacts/jmespath.min.js"></script>
4
- </head>
5
- <body>
6
- </body>
7
- </html>
@@ -1,189 +0,0 @@
1
- 'use strict';
2
-
3
- var Lexer = exports.Lexer = function() {
4
- this.pos = 0;
5
- this.buf = null;
6
- this.buflen = 0;
7
-
8
- // Operator table, mapping operator -> token name
9
- this.optable = {
10
- '+': 'PLUS',
11
- '-': 'MINUS',
12
- '*': 'MULTIPLY',
13
- '.': 'PERIOD',
14
- '\\': 'BACKSLASH',
15
- ':': 'COLON',
16
- '%': 'PERCENT',
17
- '|': 'PIPE',
18
- '!': 'EXCLAMATION',
19
- '?': 'QUESTION',
20
- '#': 'POUND',
21
- '&': 'AMPERSAND',
22
- ';': 'SEMI',
23
- ',': 'COMMA',
24
- '(': 'L_PAREN',
25
- ')': 'R_PAREN',
26
- '<': 'L_ANG',
27
- '>': 'R_ANG',
28
- '{': 'L_BRACE',
29
- '}': 'R_BRACE',
30
- '[': 'L_BRACKET',
31
- ']': 'R_BRACKET',
32
- '=': 'EQUALS'
33
- };
34
- }
35
-
36
- // Initialize the Lexer's buffer. This resets the lexer's internal
37
- // state and subsequent tokens will be returned starting with the
38
- // beginning of the new buffer.
39
- Lexer.prototype.input = function(buf) {
40
- this.pos = 0;
41
- this.buf = buf;
42
- this.buflen = buf.length;
43
- }
44
-
45
- // Get the next token from the current buffer. A token is an object with
46
- // the following properties:
47
- // - name: name of the pattern that this token matched (taken from rules).
48
- // - value: actual string value of the token.
49
- // - pos: offset in the current buffer where the token starts.
50
- //
51
- // If there are no more tokens in the buffer, returns null. In case of
52
- // an error throws Error.
53
- Lexer.prototype.token = function() {
54
- this._skipnontokens();
55
- if (this.pos >= this.buflen) {
56
- return null;
57
- }
58
-
59
- // The char at this.pos is part of a real token. Figure out which.
60
- var c = this.buf.charAt(this.pos);
61
-
62
- // '/' is treated specially, because it starts a comment if followed by
63
- // another '/'. If not followed by another '/', it's the DIVIDE
64
- // operator.
65
- if (c === '/') {
66
- var next_c = this.buf.charAt(this.pos + 1);
67
- if (next_c === '/') {
68
- return this._process_comment();
69
- } else {
70
- return {name: 'DIVIDE', value: '/', pos: this.pos++};
71
- }
72
- } else {
73
- // Look it up in the table of operators
74
- var op = this.optable[c];
75
- if (op !== undefined) {
76
- return {name: op, value: c, pos: this.pos++};
77
- } else {
78
- // Not an operator - so it's the beginning of another token.
79
- if (Lexer._isalpha(c)) {
80
- return this._process_identifier();
81
- } else if (Lexer._isdigit(c)) {
82
- return this._process_number();
83
- } else if (c === '"') {
84
- return this._process_quote();
85
- } else {
86
- throw Error('Token error at ' + this.pos);
87
- }
88
- }
89
- }
90
- }
91
-
92
- Lexer._isnewline = function(c) {
93
- return c === '\r' || c === '\n';
94
- }
95
-
96
- Lexer._isdigit = function(c) {
97
- return c >= '0' && c <= '9';
98
- }
99
-
100
- Lexer._isalpha = function(c) {
101
- return (c >= 'a' && c <= 'z') ||
102
- (c >= 'A' && c <= 'Z') ||
103
- c === '_' || c === '$';
104
- }
105
-
106
- Lexer._isalphanum = function(c) {
107
- return (c >= 'a' && c <= 'z') ||
108
- (c >= 'A' && c <= 'Z') ||
109
- (c >= '0' && c <= '9') ||
110
- c === '_' || c === '$';
111
- }
112
-
113
- Lexer.prototype._process_number = function() {
114
- var endpos = this.pos + 1;
115
- while (endpos < this.buflen &&
116
- Lexer._isdigit(this.buf.charAt(endpos))) {
117
- endpos++;
118
- }
119
-
120
- var tok = {
121
- name: 'NUMBER',
122
- value: this.buf.substring(this.pos, endpos),
123
- pos: this.pos
124
- };
125
- this.pos = endpos;
126
- return tok;
127
- }
128
-
129
- Lexer.prototype._process_comment = function() {
130
- var endpos = this.pos + 2;
131
- // Skip until the end of the line
132
- var c = this.buf.charAt(this.pos + 2);
133
- while (endpos < this.buflen &&
134
- !Lexer._isnewline(this.buf.charAt(endpos))) {
135
- endpos++;
136
- }
137
-
138
- var tok = {
139
- name: 'COMMENT',
140
- value: this.buf.substring(this.pos, endpos),
141
- pos: this.pos
142
- };
143
- this.pos = endpos + 1;
144
- return tok;
145
- }
146
-
147
- Lexer.prototype._process_identifier = function() {
148
- var endpos = this.pos + 1;
149
- while (endpos < this.buflen &&
150
- Lexer._isalphanum(this.buf.charAt(endpos))) {
151
- endpos++;
152
- }
153
-
154
- var tok = {
155
- name: 'IDENTIFIER',
156
- value: this.buf.substring(this.pos, endpos),
157
- pos: this.pos
158
- };
159
- this.pos = endpos;
160
- return tok;
161
- }
162
-
163
- Lexer.prototype._process_quote = function() {
164
- // this.pos points at the opening quote. Find the ending quote.
165
- var end_index = this.buf.indexOf('"', this.pos + 1);
166
-
167
- if (end_index === -1) {
168
- throw Error('Unterminated quote at ' + this.pos);
169
- } else {
170
- var tok = {
171
- name: 'QUOTE',
172
- value: this.buf.substring(this.pos, end_index + 1),
173
- pos: this.pos
174
- };
175
- this.pos = end_index + 1;
176
- return tok;
177
- }
178
- }
179
-
180
- Lexer.prototype._skipnontokens = function() {
181
- while (this.pos < this.buflen) {
182
- var c = this.buf.charAt(this.pos);
183
- if (c == ' ' || c == '\t' || c == '\r' || c == '\n') {
184
- this.pos++;
185
- } else {
186
- break;
187
- }
188
- }
189
- }
@@ -1,33 +0,0 @@
1
- var jmespath = require('./jmespath')
2
- var Benchmark = require('benchmark');
3
- var suite = new Benchmark.Suite;
4
-
5
- // add tests
6
- suite.add('Parser#single_expr', function() {
7
- jmespath.compile("foo");
8
- })
9
- .add('Parser#single_subexpr', function() {
10
- jmespath.compile("foo.bar");
11
- })
12
- .add('Parser#deeply_nested_50', function() {
13
- jmespath.compile("j49.j48.j47.j46.j45.j44.j43.j42.j41.j40.j39.j38.j37.j36.j35.j34.j33.j32.j31.j30.j29.j28.j27.j26.j25.j24.j23.j22.j21.j20.j19.j18.j17.j16.j15.j14.j13.j12.j11.j10.j9.j8.j7.j6.j5.j4.j3.j2.j1.j0");
14
-
15
- })
16
- .add('Parser#deeply_nested_50_index', function() {
17
- jmespath.compile("[49][48][47][46][45][44][43][42][41][40][39][38][37][36][35][34][33][32][31][30][29][28][27][26][25][24][23][22][21][20][19][18][17][16][15][14][13][12][11][10][9][8][7][6][5][4][3][2][1][0]");
18
- })
19
- .add('Parser#basic_list_projection', function() {
20
- jmespath.compile("foo[*].bar");
21
- })
22
- .on('cycle', function(event) {
23
- var bench = event.target;
24
- var mean = bench.stats.mean * 1000;
25
- var variance = bench.stats.variance * 1000000;
26
- var result = 'Mean time: ' + mean.toFixed(6) + 'msec ';
27
- result += event.target.toString();
28
- console.log(result);
29
- })
30
- .on('complete', function() {
31
- })
32
- // run async
33
- .run({ 'async': false });
@@ -1,4 +0,0 @@
1
- {
2
- "vars": [ "define", "require", "exports"],
3
- "props": ["compile", "search", "tokenize", "jmespath", "parse", "stringify", "prototype", "length"]
4
- }
@@ -1,96 +0,0 @@
1
- [{
2
- "given":
3
- {"foo": {"bar": {"baz": "correct"}}},
4
- "cases": [
5
- {
6
- "expression": "foo",
7
- "result": {"bar": {"baz": "correct"}}
8
- },
9
- {
10
- "expression": "foo.bar",
11
- "result": {"baz": "correct"}
12
- },
13
- {
14
- "expression": "foo.bar.baz",
15
- "result": "correct"
16
- },
17
- {
18
- "expression": "foo\n.\nbar\n.baz",
19
- "result": "correct"
20
- },
21
- {
22
- "expression": "foo.bar.baz.bad",
23
- "result": null
24
- },
25
- {
26
- "expression": "foo.bar.bad",
27
- "result": null
28
- },
29
- {
30
- "expression": "foo.bad",
31
- "result": null
32
- },
33
- {
34
- "expression": "bad",
35
- "result": null
36
- },
37
- {
38
- "expression": "bad.morebad.morebad",
39
- "result": null
40
- }
41
- ]
42
- },
43
- {
44
- "given":
45
- {"foo": {"bar": ["one", "two", "three"]}},
46
- "cases": [
47
- {
48
- "expression": "foo",
49
- "result": {"bar": ["one", "two", "three"]}
50
- },
51
- {
52
- "expression": "foo.bar",
53
- "result": ["one", "two", "three"]
54
- }
55
- ]
56
- },
57
- {
58
- "given": ["one", "two", "three"],
59
- "cases": [
60
- {
61
- "expression": "one",
62
- "result": null
63
- },
64
- {
65
- "expression": "two",
66
- "result": null
67
- },
68
- {
69
- "expression": "three",
70
- "result": null
71
- },
72
- {
73
- "expression": "one.two",
74
- "result": null
75
- }
76
- ]
77
- },
78
- {
79
- "given":
80
- {"foo": {"1": ["one", "two", "three"], "-1": "bar"}},
81
- "cases": [
82
- {
83
- "expression": "foo.\"1\"",
84
- "result": ["one", "two", "three"]
85
- },
86
- {
87
- "expression": "foo.\"1\"[0]",
88
- "result": "one"
89
- },
90
- {
91
- "expression": "foo.\"-1\"",
92
- "result": "bar"
93
- }
94
- ]
95
- }
96
- ]
@@ -1,257 +0,0 @@
1
- [
2
- {
3
- "given": {
4
- "outer": {
5
- "foo": "foo",
6
- "bar": "bar",
7
- "baz": "baz"
8
- }
9
- },
10
- "cases": [
11
- {
12
- "expression": "outer.foo || outer.bar",
13
- "result": "foo"
14
- },
15
- {
16
- "expression": "outer.foo||outer.bar",
17
- "result": "foo"
18
- },
19
- {
20
- "expression": "outer.bar || outer.baz",
21
- "result": "bar"
22
- },
23
- {
24
- "expression": "outer.bar||outer.baz",
25
- "result": "bar"
26
- },
27
- {
28
- "expression": "outer.bad || outer.foo",
29
- "result": "foo"
30
- },
31
- {
32
- "expression": "outer.bad||outer.foo",
33
- "result": "foo"
34
- },
35
- {
36
- "expression": "outer.foo || outer.bad",
37
- "result": "foo"
38
- },
39
- {
40
- "expression": "outer.foo||outer.bad",
41
- "result": "foo"
42
- },
43
- {
44
- "expression": "outer.bad || outer.alsobad",
45
- "result": null
46
- },
47
- {
48
- "expression": "outer.bad||outer.alsobad",
49
- "result": null
50
- }
51
- ]
52
- },
53
- {
54
- "given": {
55
- "outer": {
56
- "foo": "foo",
57
- "bool": false,
58
- "empty_list": [],
59
- "empty_string": ""
60
- }
61
- },
62
- "cases": [
63
- {
64
- "expression": "outer.empty_string || outer.foo",
65
- "result": "foo"
66
- },
67
- {
68
- "expression": "outer.nokey || outer.bool || outer.empty_list || outer.empty_string || outer.foo",
69
- "result": "foo"
70
- }
71
- ]
72
- },
73
- {
74
- "given": {
75
- "True": true,
76
- "False": false,
77
- "Number": 5,
78
- "EmptyList": [],
79
- "Zero": 0
80
- },
81
- "cases": [
82
- {
83
- "expression": "True && False",
84
- "result": false
85
- },
86
- {
87
- "expression": "False && True",
88
- "result": false
89
- },
90
- {
91
- "expression": "True && True",
92
- "result": true
93
- },
94
- {
95
- "expression": "False && False",
96
- "result": false
97
- },
98
- {
99
- "expression": "True && Number",
100
- "result": 5
101
- },
102
- {
103
- "expression": "Number && True",
104
- "result": true
105
- },
106
- {
107
- "expression": "Number && False",
108
- "result": false
109
- },
110
- {
111
- "expression": "Number && EmptyList",
112
- "result": []
113
- },
114
- {
115
- "expression": "Number && True",
116
- "result": true
117
- },
118
- {
119
- "expression": "EmptyList && True",
120
- "result": []
121
- },
122
- {
123
- "expression": "EmptyList && False",
124
- "result": []
125
- },
126
- {
127
- "expression": "True || False",
128
- "result": true
129
- },
130
- {
131
- "expression": "True || True",
132
- "result": true
133
- },
134
- {
135
- "expression": "False || True",
136
- "result": true
137
- },
138
- {
139
- "expression": "False || False",
140
- "result": false
141
- },
142
- {
143
- "expression": "Number || EmptyList",
144
- "result": 5
145
- },
146
- {
147
- "expression": "Number || True",
148
- "result": 5
149
- },
150
- {
151
- "expression": "Number || True && False",
152
- "result": 5
153
- },
154
- {
155
- "expression": "(Number || True) && False",
156
- "result": false
157
- },
158
- {
159
- "expression": "Number || (True && False)",
160
- "result": 5
161
- },
162
- {
163
- "expression": "!True",
164
- "result": false
165
- },
166
- {
167
- "expression": "!False",
168
- "result": true
169
- },
170
- {
171
- "expression": "!Number",
172
- "result": false
173
- },
174
- {
175
- "expression": "!EmptyList",
176
- "result": true
177
- },
178
- {
179
- "expression": "True && !False",
180
- "result": true
181
- },
182
- {
183
- "expression": "True && !EmptyList",
184
- "result": true
185
- },
186
- {
187
- "expression": "!False && !EmptyList",
188
- "result": true
189
- },
190
- {
191
- "expression": "!(True && False)",
192
- "result": true
193
- },
194
- {
195
- "expression": "!Zero",
196
- "result": false
197
- },
198
- {
199
- "expression": "!!Zero",
200
- "result": true
201
- }
202
- ]
203
- },
204
- {
205
- "given": {
206
- "one": 1,
207
- "two": 2,
208
- "three": 3
209
- },
210
- "cases": [
211
- {
212
- "expression": "one < two",
213
- "result": true
214
- },
215
- {
216
- "expression": "one <= two",
217
- "result": true
218
- },
219
- {
220
- "expression": "one == one",
221
- "result": true
222
- },
223
- {
224
- "expression": "one == two",
225
- "result": false
226
- },
227
- {
228
- "expression": "one > two",
229
- "result": false
230
- },
231
- {
232
- "expression": "one >= two",
233
- "result": false
234
- },
235
- {
236
- "expression": "one != two",
237
- "result": true
238
- },
239
- {
240
- "expression": "one < two && three > one",
241
- "result": true
242
- },
243
- {
244
- "expression": "one < two || three > one",
245
- "result": true
246
- },
247
- {
248
- "expression": "one < two || three < one",
249
- "result": true
250
- },
251
- {
252
- "expression": "two < one || three < one",
253
- "result": false
254
- }
255
- ]
256
- }
257
- ]