@pgarbe/cdk-ecr-sync 0.5.26 → 0.5.29

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 (411) hide show
  1. package/.gitattributes +0 -1
  2. package/.jsii +5 -5
  3. package/.projenrc.ts +5 -3
  4. package/CHANGELOG.md +1 -1
  5. package/lib/ecr-sync.d.ts +1 -0
  6. package/lib/ecr-sync.d.ts.map +1 -0
  7. package/lib/ecr-sync.js +1 -1
  8. package/lib/image.d.ts +1 -0
  9. package/lib/image.d.ts.map +1 -0
  10. package/lib/index.d.ts +1 -0
  11. package/lib/index.d.ts.map +1 -0
  12. package/lib/lambda/docker-adapter.d.ts +1 -0
  13. package/lib/lambda/docker-adapter.d.ts.map +1 -0
  14. package/lib/lambda/ecr-adapter.d.ts +1 -0
  15. package/lib/lambda/ecr-adapter.d.ts.map +1 -0
  16. package/lib/lambda/get-image-tags-handler.d.ts +1 -0
  17. package/lib/lambda/get-image-tags-handler.d.ts.map +1 -0
  18. package/node_modules/aws-sdk/CHANGELOG.md +384 -1
  19. package/node_modules/aws-sdk/README.md +1 -1
  20. package/node_modules/aws-sdk/apis/acm-pca-2017-08-22.min.json +56 -25
  21. package/node_modules/aws-sdk/apis/amplify-2017-07-25.min.json +68 -50
  22. package/node_modules/aws-sdk/apis/amplifybackend-2020-08-11.min.json +47 -7
  23. package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.min.json +144 -65
  24. package/node_modules/aws-sdk/apis/amplifyuibuilder-2021-08-11.paginators.json +10 -0
  25. package/node_modules/aws-sdk/apis/apigateway-2015-07-09.paginators.json +5 -0
  26. package/node_modules/aws-sdk/apis/appflow-2020-08-23.min.json +177 -113
  27. package/node_modules/aws-sdk/apis/appmesh-2019-01-25.min.json +129 -121
  28. package/node_modules/aws-sdk/apis/apprunner-2020-05-15.min.json +206 -44
  29. package/node_modules/aws-sdk/apis/apprunner-2020-05-15.paginators.json +5 -0
  30. package/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json +9 -0
  31. package/node_modules/aws-sdk/apis/athena-2017-05-18.min.json +79 -33
  32. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.examples.json +31 -46
  33. package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +113 -90
  34. package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +30 -0
  35. package/node_modules/aws-sdk/apis/backup-2018-11-15.paginators.json +22 -11
  36. package/node_modules/aws-sdk/apis/batch-2016-08-10.min.json +143 -94
  37. package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.examples.json +5 -0
  38. package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.min.json +1374 -0
  39. package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.paginators.json +62 -0
  40. package/node_modules/aws-sdk/apis/billingconductor-2021-07-30.waiters2.json +4 -0
  41. package/node_modules/aws-sdk/apis/braket-2019-09-01.min.json +30 -27
  42. package/node_modules/aws-sdk/apis/budgets-2016-10-20.min.json +107 -45
  43. package/node_modules/aws-sdk/apis/budgets-2016-10-20.paginators.json +6 -0
  44. package/node_modules/aws-sdk/apis/ce-2017-10-25.min.json +206 -125
  45. package/node_modules/aws-sdk/apis/chime-2018-05-01.min.json +3 -0
  46. package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.examples.json +5 -0
  47. package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.min.json +330 -0
  48. package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.paginators.json +9 -0
  49. package/node_modules/aws-sdk/apis/chime-sdk-meetings-2021-07-15.min.json +16 -11
  50. package/node_modules/aws-sdk/apis/cloudcontrol-2021-09-30.paginators.json +4 -2
  51. package/node_modules/aws-sdk/apis/cloudcontrol-2021-09-30.waiters2.json +23 -27
  52. package/node_modules/aws-sdk/apis/cloudfront-2020-05-31.min.json +42 -28
  53. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +25 -2
  54. package/node_modules/aws-sdk/apis/codeguru-reviewer-2019-09-19.min.json +15 -8
  55. package/node_modules/aws-sdk/apis/cognito-idp-2016-04-18.min.json +119 -118
  56. package/node_modules/aws-sdk/apis/comprehend-2017-11-27.min.json +143 -2
  57. package/node_modules/aws-sdk/apis/comprehend-2017-11-27.paginators.json +5 -0
  58. package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +217 -113
  59. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +552 -134
  60. package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +21 -0
  61. package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +537 -200
  62. package/node_modules/aws-sdk/apis/databrew-2017-07-25.min.json +41 -38
  63. package/node_modules/aws-sdk/apis/dataexchange-2017-07-25.min.json +83 -4
  64. package/node_modules/aws-sdk/apis/datasync-2018-11-09.min.json +144 -74
  65. package/node_modules/aws-sdk/apis/devops-guru-2020-12-01.min.json +213 -119
  66. package/node_modules/aws-sdk/apis/discovery-2015-11-01.min.json +67 -32
  67. package/node_modules/aws-sdk/apis/docdb-2014-10-31.min.json +10 -2
  68. package/node_modules/aws-sdk/apis/dynamodb-2012-08-10.min.json +10 -4
  69. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1098 -848
  70. package/node_modules/aws-sdk/apis/ec2-2016-11-15.waiters2.json +18 -0
  71. package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +14 -11
  72. package/node_modules/aws-sdk/apis/ecr-2015-09-21.paginators.json +4 -1
  73. package/node_modules/aws-sdk/apis/ecs-2014-11-13.min.json +10 -0
  74. package/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json +3 -0
  75. package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +47 -35
  76. package/node_modules/aws-sdk/apis/eventbridge-2015-10-07.min.json +262 -19
  77. package/node_modules/aws-sdk/apis/evidently-2021-02-01.min.json +14 -0
  78. package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.min.json +454 -7
  79. package/node_modules/aws-sdk/apis/finspace-data-2020-07-13.paginators.json +12 -0
  80. package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +107 -15
  81. package/node_modules/aws-sdk/apis/fms-2018-01-01.min.json +265 -82
  82. package/node_modules/aws-sdk/apis/fms-2018-01-01.paginators.json +6 -0
  83. package/node_modules/aws-sdk/apis/forecast-2018-06-26.min.json +297 -61
  84. package/node_modules/aws-sdk/apis/forecast-2018-06-26.paginators.json +24 -0
  85. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +120 -98
  86. package/node_modules/aws-sdk/apis/fsx-2018-03-01.paginators.json +4 -2
  87. package/node_modules/aws-sdk/apis/gamesparks-2021-08-17.examples.json +5 -0
  88. package/node_modules/aws-sdk/apis/gamesparks-2021-08-17.min.json +1376 -0
  89. package/node_modules/aws-sdk/apis/gamesparks-2021-08-17.paginators.json +46 -0
  90. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +2257 -440
  91. package/node_modules/aws-sdk/apis/glue-2017-03-31.paginators.json +10 -0
  92. package/node_modules/aws-sdk/apis/grafana-2020-08-18.min.json +194 -19
  93. package/node_modules/aws-sdk/apis/greengrassv2-2020-11-30.min.json +37 -18
  94. package/node_modules/aws-sdk/apis/imagebuilder-2019-12-02.min.json +107 -73
  95. package/node_modules/aws-sdk/apis/iot-2015-05-28.min.json +280 -202
  96. package/node_modules/aws-sdk/apis/iot-2015-05-28.paginators.json +6 -0
  97. package/node_modules/aws-sdk/apis/iot-data-2015-05-28.min.json +1 -1
  98. package/node_modules/aws-sdk/apis/iotevents-data-2018-10-23.min.json +45 -0
  99. package/node_modules/aws-sdk/apis/iotsecuretunneling-2018-10-05.min.json +28 -0
  100. package/node_modules/aws-sdk/apis/iotsitewise-2019-12-02.min.json +516 -168
  101. package/node_modules/aws-sdk/apis/iotsitewise-2019-12-02.paginators.json +14 -0
  102. package/node_modules/aws-sdk/apis/iottwinmaker-2021-11-29.min.json +75 -68
  103. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.min.json +401 -80
  104. package/node_modules/aws-sdk/apis/iotwireless-2020-11-22.paginators.json +5 -0
  105. package/node_modules/aws-sdk/apis/ivschat-2020-07-14.examples.json +5 -0
  106. package/node_modules/aws-sdk/apis/ivschat-2020-07-14.min.json +443 -0
  107. package/node_modules/aws-sdk/apis/ivschat-2020-07-14.paginators.json +9 -0
  108. package/node_modules/aws-sdk/apis/kafkaconnect-2021-09-14.min.json +95 -48
  109. package/node_modules/aws-sdk/apis/kendra-2019-02-03.min.json +324 -83
  110. package/node_modules/aws-sdk/apis/kendra-2019-02-03.paginators.json +20 -0
  111. package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.examples.json +5 -0
  112. package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.min.json +562 -0
  113. package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.paginators.json +22 -0
  114. package/node_modules/aws-sdk/apis/keyspaces-2022-02-10.waiters2.json +5 -0
  115. package/node_modules/aws-sdk/apis/kinesis-video-archived-media-2017-09-30.min.json +64 -0
  116. package/node_modules/aws-sdk/apis/kinesis-video-archived-media-2017-09-30.paginators.json +6 -0
  117. package/node_modules/aws-sdk/apis/kinesisvideo-2017-09-30.min.json +145 -8
  118. package/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +239 -9
  119. package/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +80 -12
  120. package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +418 -149
  121. package/node_modules/aws-sdk/apis/lambda-2015-03-31.paginators.json +6 -0
  122. package/node_modules/aws-sdk/apis/lambda-2015-03-31.waiters2.json +54 -2
  123. package/node_modules/aws-sdk/apis/lightsail-2016-11-28.min.json +117 -56
  124. package/node_modules/aws-sdk/apis/location-2020-11-19.min.json +20 -12
  125. package/node_modules/aws-sdk/apis/location-2020-11-19.paginators.json +2 -0
  126. package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.min.json +274 -12
  127. package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.paginators.json +5 -0
  128. package/node_modules/aws-sdk/apis/lookoutmetrics-2017-07-25.min.json +165 -41
  129. package/node_modules/aws-sdk/apis/lookoutvision-2020-11-20.min.json +0 -1
  130. package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +31 -28
  131. package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +83 -27
  132. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +151 -120
  133. package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +222 -154
  134. package/node_modules/aws-sdk/apis/mediapackage-vod-2018-11-07.min.json +16 -13
  135. package/node_modules/aws-sdk/apis/mediatailor-2018-04-23.min.json +402 -153
  136. package/node_modules/aws-sdk/apis/mediatailor-2018-04-23.paginators.json +6 -0
  137. package/node_modules/aws-sdk/apis/metadata.json +20 -0
  138. package/node_modules/aws-sdk/apis/mgn-2020-02-26.min.json +15 -19
  139. package/node_modules/aws-sdk/apis/models.lex.v2-2020-08-07.min.json +0 -2
  140. package/node_modules/aws-sdk/apis/monitoring-2010-08-01.min.json +47 -11
  141. package/node_modules/aws-sdk/apis/mq-2017-11-27.min.json +22 -7
  142. package/node_modules/aws-sdk/apis/network-firewall-2020-11-12.min.json +139 -53
  143. package/node_modules/aws-sdk/apis/organizations-2016-11-28.min.json +77 -62
  144. package/node_modules/aws-sdk/apis/outposts-2019-12-03.min.json +74 -0
  145. package/node_modules/aws-sdk/apis/outposts-2019-12-03.paginators.json +10 -0
  146. package/node_modules/aws-sdk/apis/panorama-2019-07-24.min.json +414 -346
  147. package/node_modules/aws-sdk/apis/personalize-2018-05-22.min.json +197 -47
  148. package/node_modules/aws-sdk/apis/pinpoint-2016-12-01.min.json +2 -1
  149. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.examples.json +5 -0
  150. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.min.json +1681 -0
  151. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.paginators.json +70 -0
  152. package/node_modules/aws-sdk/apis/pinpoint-sms-voice-v2-2022-03-31.waiters2.json +5 -0
  153. package/node_modules/aws-sdk/apis/proton-2020-07-20.min.json +4 -1
  154. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +186 -44
  155. package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +289 -413
  156. package/node_modules/aws-sdk/apis/rds-2014-10-31.paginators.json +0 -12
  157. package/node_modules/aws-sdk/apis/rds-data-2018-08-01.min.json +4 -1
  158. package/node_modules/aws-sdk/apis/redshift-2012-12-01.min.json +41 -23
  159. package/node_modules/aws-sdk/apis/rekognition-2016-06-27.min.json +247 -111
  160. package/node_modules/aws-sdk/apis/resiliencehub-2020-04-30.min.json +125 -74
  161. package/node_modules/aws-sdk/apis/robomaker-2018-06-29.min.json +13 -3
  162. package/node_modules/aws-sdk/apis/route53-recovery-cluster-2019-12-02.min.json +49 -3
  163. package/node_modules/aws-sdk/apis/route53-recovery-cluster-2019-12-02.paginators.json +6 -0
  164. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +97 -97
  165. package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +772 -239
  166. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +52 -51
  167. package/node_modules/aws-sdk/apis/s3outposts-2017-07-25.min.json +64 -24
  168. package/node_modules/aws-sdk/apis/s3outposts-2017-07-25.paginators.json +6 -0
  169. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +722 -689
  170. package/node_modules/aws-sdk/apis/secretsmanager-2017-10-17.examples.json +15 -13
  171. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +378 -304
  172. package/node_modules/aws-sdk/apis/servicecatalog-2015-12-10.min.json +16 -8
  173. package/node_modules/aws-sdk/apis/servicecatalog-appregistry-2020-06-24.min.json +8 -2
  174. package/node_modules/aws-sdk/apis/ssm-2014-11-06.min.json +333 -294
  175. package/node_modules/aws-sdk/apis/ssm-contacts-2021-05-03.examples.json +1 -1
  176. package/node_modules/aws-sdk/apis/ssm-incidents-2018-05-10.min.json +48 -37
  177. package/node_modules/aws-sdk/apis/synthetics-2017-10-11.min.json +41 -36
  178. package/node_modules/aws-sdk/apis/textract-2018-06-27.min.json +82 -45
  179. package/node_modules/aws-sdk/apis/transcribe-2017-10-26.min.json +31 -25
  180. package/node_modules/aws-sdk/apis/transfer-2018-11-05.min.json +59 -48
  181. package/node_modules/aws-sdk/apis/transfer-2018-11-05.paginators.json +27 -8
  182. package/node_modules/aws-sdk/apis/transfer-2018-11-05.waiters2.json +45 -0
  183. package/node_modules/aws-sdk/apis/translate-2017-07-01.min.json +19 -18
  184. package/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +313 -131
  185. package/node_modules/aws-sdk/apis/wisdom-2020-10-19.min.json +60 -19
  186. package/node_modules/aws-sdk/apis/worklink-2018-09-25.min.json +99 -33
  187. package/node_modules/aws-sdk/apis/workspaces-2015-04-08.min.json +195 -27
  188. package/node_modules/aws-sdk/apis/workspaces-web-2020-07-08.min.json +107 -36
  189. package/node_modules/aws-sdk/clients/acmpca.d.ts +72 -36
  190. package/node_modules/aws-sdk/clients/all.d.ts +6 -0
  191. package/node_modules/aws-sdk/clients/all.js +7 -1
  192. package/node_modules/aws-sdk/clients/amplify.d.ts +12 -7
  193. package/node_modules/aws-sdk/clients/amplifybackend.d.ts +48 -12
  194. package/node_modules/aws-sdk/clients/amplifyuibuilder.d.ts +142 -18
  195. package/node_modules/aws-sdk/clients/appflow.d.ts +80 -1
  196. package/node_modules/aws-sdk/clients/appmesh.d.ts +70 -51
  197. package/node_modules/aws-sdk/clients/apprunner.d.ts +195 -11
  198. package/node_modules/aws-sdk/clients/appstream.d.ts +13 -1
  199. package/node_modules/aws-sdk/clients/athena.d.ts +70 -9
  200. package/node_modules/aws-sdk/clients/auditmanager.d.ts +8 -8
  201. package/node_modules/aws-sdk/clients/autoscaling.d.ts +62 -34
  202. package/node_modules/aws-sdk/clients/backup.d.ts +49 -25
  203. package/node_modules/aws-sdk/clients/batch.d.ts +120 -52
  204. package/node_modules/aws-sdk/clients/billingconductor.d.ts +1554 -0
  205. package/node_modules/aws-sdk/clients/billingconductor.js +19 -0
  206. package/node_modules/aws-sdk/clients/braket.d.ts +7 -2
  207. package/node_modules/aws-sdk/clients/budgets.d.ts +107 -48
  208. package/node_modules/aws-sdk/clients/chime.d.ts +10 -6
  209. package/node_modules/aws-sdk/clients/chimesdkmediapipelines.d.ts +348 -0
  210. package/node_modules/aws-sdk/clients/chimesdkmediapipelines.js +18 -0
  211. package/node_modules/aws-sdk/clients/chimesdkmeetings.d.ts +31 -5
  212. package/node_modules/aws-sdk/clients/cloudcontrol.d.ts +24 -24
  213. package/node_modules/aws-sdk/clients/cloudformation.d.ts +1 -1
  214. package/node_modules/aws-sdk/clients/cloudfront.d.ts +15 -0
  215. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +34 -26
  216. package/node_modules/aws-sdk/clients/cloudwatch.d.ts +44 -12
  217. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +4 -4
  218. package/node_modules/aws-sdk/clients/codegurureviewer.d.ts +18 -5
  219. package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +78 -73
  220. package/node_modules/aws-sdk/clients/comprehend.d.ts +218 -24
  221. package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +3 -3
  222. package/node_modules/aws-sdk/clients/configservice.d.ts +220 -49
  223. package/node_modules/aws-sdk/clients/connect.d.ts +539 -9
  224. package/node_modules/aws-sdk/clients/costexplorer.d.ts +91 -5
  225. package/node_modules/aws-sdk/clients/customerprofiles.d.ts +365 -2
  226. package/node_modules/aws-sdk/clients/databrew.d.ts +8 -3
  227. package/node_modules/aws-sdk/clients/dataexchange.d.ts +117 -0
  228. package/node_modules/aws-sdk/clients/datasync.d.ts +103 -16
  229. package/node_modules/aws-sdk/clients/devopsguru.d.ts +109 -3
  230. package/node_modules/aws-sdk/clients/discovery.d.ts +63 -26
  231. package/node_modules/aws-sdk/clients/docdb.d.ts +56 -40
  232. package/node_modules/aws-sdk/clients/dynamodb.d.ts +10 -2
  233. package/node_modules/aws-sdk/clients/ebs.d.ts +7 -7
  234. package/node_modules/aws-sdk/clients/ec2.d.ts +450 -138
  235. package/node_modules/aws-sdk/clients/ecr.d.ts +10 -5
  236. package/node_modules/aws-sdk/clients/ecs.d.ts +51 -35
  237. package/node_modules/aws-sdk/clients/efs.d.ts +40 -40
  238. package/node_modules/aws-sdk/clients/eks.d.ts +14 -14
  239. package/node_modules/aws-sdk/clients/elasticache.d.ts +14 -10
  240. package/node_modules/aws-sdk/clients/emr.d.ts +24 -0
  241. package/node_modules/aws-sdk/clients/eventbridge.d.ts +380 -7
  242. package/node_modules/aws-sdk/clients/eventbridge.js +1 -0
  243. package/node_modules/aws-sdk/clients/evidently.d.ts +19 -7
  244. package/node_modules/aws-sdk/clients/finspacedata.d.ts +520 -46
  245. package/node_modules/aws-sdk/clients/fis.d.ts +124 -0
  246. package/node_modules/aws-sdk/clients/fms.d.ts +333 -3
  247. package/node_modules/aws-sdk/clients/forecastservice.d.ts +355 -18
  248. package/node_modules/aws-sdk/clients/fsx.d.ts +95 -63
  249. package/node_modules/aws-sdk/clients/gamelift.d.ts +186 -186
  250. package/node_modules/aws-sdk/clients/gamesparks.d.ts +1344 -0
  251. package/node_modules/aws-sdk/clients/gamesparks.js +18 -0
  252. package/node_modules/aws-sdk/clients/glue.d.ts +2581 -181
  253. package/node_modules/aws-sdk/clients/grafana.d.ts +153 -6
  254. package/node_modules/aws-sdk/clients/greengrassv2.d.ts +55 -24
  255. package/node_modules/aws-sdk/clients/guardduty.d.ts +6 -3
  256. package/node_modules/aws-sdk/clients/iam.d.ts +10 -10
  257. package/node_modules/aws-sdk/clients/imagebuilder.d.ts +55 -6
  258. package/node_modules/aws-sdk/clients/iot.d.ts +87 -21
  259. package/node_modules/aws-sdk/clients/iotdata.d.ts +7 -7
  260. package/node_modules/aws-sdk/clients/ioteventsdata.d.ts +50 -0
  261. package/node_modules/aws-sdk/clients/iotsecuretunneling.d.ts +52 -18
  262. package/node_modules/aws-sdk/clients/iotsitewise.d.ts +369 -0
  263. package/node_modules/aws-sdk/clients/iottwinmaker.d.ts +25 -8
  264. package/node_modules/aws-sdk/clients/iotwireless.d.ts +356 -25
  265. package/node_modules/aws-sdk/clients/ivschat.d.ts +523 -0
  266. package/node_modules/aws-sdk/clients/ivschat.js +18 -0
  267. package/node_modules/aws-sdk/clients/kafkaconnect.d.ts +50 -5
  268. package/node_modules/aws-sdk/clients/kendra.d.ts +408 -93
  269. package/node_modules/aws-sdk/clients/keyspaces.d.ts +652 -0
  270. package/node_modules/aws-sdk/clients/keyspaces.js +19 -0
  271. package/node_modules/aws-sdk/clients/kinesisvideo.d.ts +177 -10
  272. package/node_modules/aws-sdk/clients/kinesisvideoarchivedmedia.d.ts +94 -0
  273. package/node_modules/aws-sdk/clients/kms.d.ts +209 -119
  274. package/node_modules/aws-sdk/clients/lakeformation.d.ts +1 -1
  275. package/node_modules/aws-sdk/clients/lambda.d.ts +319 -16
  276. package/node_modules/aws-sdk/clients/lexmodelsv2.d.ts +2 -2
  277. package/node_modules/aws-sdk/clients/lightsail.d.ts +175 -64
  278. package/node_modules/aws-sdk/clients/location.d.ts +28 -19
  279. package/node_modules/aws-sdk/clients/lookoutequipment.d.ts +295 -9
  280. package/node_modules/aws-sdk/clients/lookoutmetrics.d.ts +165 -0
  281. package/node_modules/aws-sdk/clients/lookoutvision.d.ts +4 -4
  282. package/node_modules/aws-sdk/clients/macie.d.ts +50 -50
  283. package/node_modules/aws-sdk/clients/macie2.d.ts +7 -2
  284. package/node_modules/aws-sdk/clients/mediaconnect.d.ts +47 -0
  285. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +63 -17
  286. package/node_modules/aws-sdk/clients/medialive.d.ts +79 -3
  287. package/node_modules/aws-sdk/clients/mediapackage.d.ts +4 -4
  288. package/node_modules/aws-sdk/clients/mediapackagevod.d.ts +5 -0
  289. package/node_modules/aws-sdk/clients/mediatailor.d.ts +316 -12
  290. package/node_modules/aws-sdk/clients/mgn.d.ts +63 -50
  291. package/node_modules/aws-sdk/clients/migrationhubrefactorspaces.d.ts +17 -17
  292. package/node_modules/aws-sdk/clients/mq.d.ts +16 -1
  293. package/node_modules/aws-sdk/clients/networkfirewall.d.ts +151 -21
  294. package/node_modules/aws-sdk/clients/organizations.d.ts +146 -131
  295. package/node_modules/aws-sdk/clients/outposts.d.ts +94 -22
  296. package/node_modules/aws-sdk/clients/panorama.d.ts +467 -406
  297. package/node_modules/aws-sdk/clients/personalize.d.ts +196 -30
  298. package/node_modules/aws-sdk/clients/pi.d.ts +26 -26
  299. package/node_modules/aws-sdk/clients/pinpoint.d.ts +4 -0
  300. package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.d.ts +2367 -0
  301. package/node_modules/aws-sdk/clients/pinpointsmsvoicev2.js +19 -0
  302. package/node_modules/aws-sdk/clients/polly.d.ts +3 -3
  303. package/node_modules/aws-sdk/clients/pricing.d.ts +3 -3
  304. package/node_modules/aws-sdk/clients/proton.d.ts +105 -101
  305. package/node_modules/aws-sdk/clients/quicksight.d.ts +151 -17
  306. package/node_modules/aws-sdk/clients/ram.d.ts +5 -5
  307. package/node_modules/aws-sdk/clients/rds.d.ts +587 -766
  308. package/node_modules/aws-sdk/clients/rdsdataservice.d.ts +22 -7
  309. package/node_modules/aws-sdk/clients/redshift.d.ts +68 -30
  310. package/node_modules/aws-sdk/clients/rekognition.d.ts +209 -53
  311. package/node_modules/aws-sdk/clients/resiliencehub.d.ts +138 -58
  312. package/node_modules/aws-sdk/clients/robomaker.d.ts +7 -6
  313. package/node_modules/aws-sdk/clients/route53.d.ts +12 -12
  314. package/node_modules/aws-sdk/clients/route53recoverycluster.d.ts +82 -10
  315. package/node_modules/aws-sdk/clients/s3.d.ts +735 -204
  316. package/node_modules/aws-sdk/clients/s3control.d.ts +8 -3
  317. package/node_modules/aws-sdk/clients/s3outposts.d.ts +50 -18
  318. package/node_modules/aws-sdk/clients/sagemaker.d.ts +225 -175
  319. package/node_modules/aws-sdk/clients/secretsmanager.d.ts +27 -27
  320. package/node_modules/aws-sdk/clients/securityhub.d.ts +151 -7
  321. package/node_modules/aws-sdk/clients/servicecatalog.d.ts +8 -4
  322. package/node_modules/aws-sdk/clients/sns.d.ts +2 -2
  323. package/node_modules/aws-sdk/clients/ssm.d.ts +90 -37
  324. package/node_modules/aws-sdk/clients/ssmcontacts.d.ts +2 -2
  325. package/node_modules/aws-sdk/clients/ssmincidents.d.ts +21 -7
  326. package/node_modules/aws-sdk/clients/storagegateway.d.ts +24 -24
  327. package/node_modules/aws-sdk/clients/sts.d.ts +5 -5
  328. package/node_modules/aws-sdk/clients/synthetics.d.ts +10 -5
  329. package/node_modules/aws-sdk/clients/textract.d.ts +47 -14
  330. package/node_modules/aws-sdk/clients/timestreamquery.d.ts +1 -1
  331. package/node_modules/aws-sdk/clients/transcribeservice.d.ts +113 -103
  332. package/node_modules/aws-sdk/clients/transfer.d.ts +82 -14
  333. package/node_modules/aws-sdk/clients/transfer.js +1 -0
  334. package/node_modules/aws-sdk/clients/translate.d.ts +2 -0
  335. package/node_modules/aws-sdk/clients/wafv2.d.ts +274 -34
  336. package/node_modules/aws-sdk/clients/wisdom.d.ts +77 -32
  337. package/node_modules/aws-sdk/clients/workspaces.d.ts +243 -4
  338. package/node_modules/aws-sdk/clients/workspacesweb.d.ts +38 -4
  339. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +11 -6
  340. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +1322 -1034
  341. package/node_modules/aws-sdk/dist/aws-sdk.js +6144 -3175
  342. package/node_modules/aws-sdk/dist/aws-sdk.min.js +94 -92
  343. package/node_modules/aws-sdk/lib/config-base.d.ts +1 -0
  344. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +12 -0
  345. package/node_modules/aws-sdk/lib/core.d.ts +1 -0
  346. package/node_modules/aws-sdk/lib/core.js +1 -1
  347. package/node_modules/aws-sdk/lib/credentials/credential_provider_chain.js +1 -0
  348. package/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.d.ts +28 -18
  349. package/node_modules/aws-sdk/lib/credentials/ec2_metadata_credentials.js +75 -18
  350. package/node_modules/aws-sdk/lib/credentials/sso_credentials.d.ts +14 -0
  351. package/node_modules/aws-sdk/lib/credentials/sso_credentials.js +179 -0
  352. package/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts +8 -0
  353. package/node_modules/aws-sdk/lib/model/operation.js +6 -1
  354. package/node_modules/aws-sdk/lib/node_loader.js +2 -0
  355. package/node_modules/aws-sdk/lib/param_validator.js +1 -2
  356. package/node_modules/aws-sdk/lib/region_config_data.json +10 -0
  357. package/node_modules/aws-sdk/lib/services/eventbridge.js +19 -0
  358. package/node_modules/aws-sdk/lib/services/s3.js +2 -1
  359. package/node_modules/aws-sdk/lib/services/s3util.js +6 -1
  360. package/node_modules/aws-sdk/package.json +1 -1
  361. package/node_modules/aws-sdk/scripts/region-checker/allowlist.js +8 -5
  362. package/node_modules/jszip/.github/workflows/pr.yaml +41 -0
  363. package/node_modules/jszip/CHANGES.md +20 -1
  364. package/node_modules/jszip/LICENSE.markdown +1 -1
  365. package/node_modules/jszip/README.markdown +1 -3
  366. package/node_modules/jszip/dist/jszip.js +229 -16
  367. package/node_modules/jszip/dist/jszip.min.js +4 -4
  368. package/node_modules/jszip/index.d.ts +80 -15
  369. package/node_modules/jszip/lib/index.js +1 -1
  370. package/node_modules/jszip/lib/license_header.js +2 -2
  371. package/node_modules/jszip/lib/load.js +8 -1
  372. package/node_modules/jszip/lib/utils.js +28 -3
  373. package/node_modules/jszip/package.json +10 -9
  374. package/node_modules/jszip/tsconfig.json +101 -0
  375. package/node_modules/jszip/vendor/FileSaver.js +1 -1
  376. package/node_modules/setimmediate/LICENSE.txt +20 -0
  377. package/node_modules/setimmediate/package.json +30 -0
  378. package/node_modules/setimmediate/setImmediate.js +186 -0
  379. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/.npmignore +0 -0
  380. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/CHANGELOG.md +0 -0
  381. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/LICENSE +0 -0
  382. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/README.md +0 -0
  383. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/Utility.js +0 -0
  384. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLAttribute.js +0 -0
  385. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLCData.js +0 -0
  386. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLComment.js +0 -0
  387. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDAttList.js +0 -0
  388. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDElement.js +0 -0
  389. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDEntity.js +0 -0
  390. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDTDNotation.js +0 -0
  391. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDeclaration.js +0 -0
  392. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDocType.js +0 -0
  393. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDocument.js +0 -0
  394. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLDocumentCB.js +0 -0
  395. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLElement.js +0 -0
  396. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLNode.js +0 -0
  397. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLProcessingInstruction.js +0 -0
  398. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLRaw.js +0 -0
  399. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLStreamWriter.js +0 -0
  400. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLStringWriter.js +0 -0
  401. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLStringifier.js +0 -0
  402. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLText.js +0 -0
  403. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/XMLWriterBase.js +0 -0
  404. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/lib/index.js +0 -0
  405. package/node_modules/{xmlbuilder → xml2js/node_modules/xmlbuilder}/package.json +0 -0
  406. package/package.json +18 -13
  407. package/releasetag.txt +1 -1
  408. package/version.txt +1 -1
  409. package/node_modules/set-immediate-shim/index.js +0 -7
  410. package/node_modules/set-immediate-shim/package.json +0 -34
  411. package/node_modules/set-immediate-shim/readme.md +0 -31
@@ -15,9 +15,17 @@ interface JSZipSupport {
15
15
 
16
16
  type Compression = 'STORE' | 'DEFLATE';
17
17
 
18
+ /**
19
+ * Depends on the compression type. With `STORE` (no compression), these options are ignored. With
20
+ * `DEFLATE`, you can give the compression level between 1 (best speed) and 9 (best compression).
21
+ */
22
+ interface CompressionOptions {
23
+ level: number;
24
+ }
25
+
18
26
  interface Metadata {
19
27
  percent: number;
20
- currentFile: string;
28
+ currentFile: string | null;
21
29
  }
22
30
 
23
31
  type OnUpdateCallback = (metadata: Metadata) => void;
@@ -56,7 +64,7 @@ interface OutputByType {
56
64
  // compressedContent: string|ArrayBuffer|Uint8Array|Buffer;
57
65
  // }
58
66
 
59
- type InputFileFormat = InputByType[keyof InputByType];
67
+ type InputFileFormat = InputByType[keyof InputByType] | Promise<InputByType[keyof InputByType]>;
60
68
 
61
69
  declare namespace JSZip {
62
70
  type InputType = keyof InputByType;
@@ -65,6 +73,11 @@ declare namespace JSZip {
65
73
 
66
74
  interface JSZipObject {
67
75
  name: string;
76
+ /**
77
+ * Present for files loadded with `loadAsync`. May contain ".." path components that could
78
+ * result in a zip-slip attack. See https://snyk.io/research/zip-slip-vulnerability
79
+ */
80
+ unsafeOriginalName?: string;
68
81
  dir: boolean;
69
82
  date: Date;
70
83
  comment: string;
@@ -96,7 +109,14 @@ declare namespace JSZip {
96
109
  * The last modification date, defaults to the current date.
97
110
  */
98
111
  date?: Date;
99
- compression?: string;
112
+ /**
113
+ * Sets per file compression. The `compressionOptions` parameter depends on the compression type.
114
+ */
115
+ compression?: Compression;
116
+ /**
117
+ * Sets per file compression level for `DEFLATE` compression.
118
+ */
119
+ compressionOptions?: null | CompressionOptions;
100
120
  comment?: string;
101
121
  /** Set to `true` if (and only if) the input is a "binary string" and has already been prepared with a `0xFF` mask. */
102
122
  optimizedBinaryString?: boolean;
@@ -119,10 +139,14 @@ declare namespace JSZip {
119
139
  }
120
140
 
121
141
  interface JSZipGeneratorOptions<T extends OutputType = OutputType> {
142
+ /**
143
+ * Sets compression option for all entries that have not specified their own `compression` option
144
+ */
122
145
  compression?: Compression;
123
- compressionOptions?: null | {
124
- level: number;
125
- };
146
+ /**
147
+ * Sets compression level for `DEFLATE` compression.
148
+ */
149
+ compressionOptions?: null | CompressionOptions;
126
150
  type?: T;
127
151
  comment?: string;
128
152
  /**
@@ -143,6 +167,47 @@ declare namespace JSZip {
143
167
  checkCRC32?: boolean;
144
168
  optimizedBinaryString?: boolean;
145
169
  createFolders?: boolean;
170
+ decodeFileName?: (bytes: string[] | Uint8Array | Buffer) => string;
171
+ }
172
+
173
+ interface JSZipMetadata {
174
+ percent: number;
175
+ currentFile: string;
176
+ }
177
+
178
+ type DataEventCallback<T> = (dataChunk: T, metadata: JSZipMetadata) => void
179
+ type EndEventCallback = () => void
180
+ type ErrorEventCallback = (error: Error) => void
181
+
182
+ interface JSZipStreamHelper<T> {
183
+ /**
184
+ * Register a listener on an event
185
+ */
186
+ on(event: 'data', callback: DataEventCallback<T>): this;
187
+ on(event: 'end', callback: EndEventCallback): this;
188
+ on(event: 'error', callback: ErrorEventCallback): this;
189
+
190
+ /**
191
+ * Read the whole stream and call a callback with the complete content
192
+ *
193
+ * @param updateCallback The function called every time the stream updates
194
+ * @return A Promise of the full content
195
+ */
196
+ accumulate(updateCallback?: (metadata: JSZipMetadata) => void): Promise<T>;
197
+
198
+ /**
199
+ * Resume the stream if the stream is paused. Once resumed, the stream starts sending data events again
200
+ *
201
+ * @return The current StreamHelper object, for chaining
202
+ */
203
+ resume(): this;
204
+
205
+ /**
206
+ * Pause the stream if the stream is running. Once paused, the stream stops sending data events
207
+ *
208
+ * @return The current StreamHelper object, for chaining
209
+ */
210
+ pause(): this;
146
211
  }
147
212
  }
148
213
 
@@ -233,6 +298,14 @@ interface JSZip {
233
298
  */
234
299
  generateNodeStream(options?: JSZip.JSZipGeneratorOptions<'nodebuffer'>, onUpdate?: OnUpdateCallback): NodeJS.ReadableStream;
235
300
 
301
+ /**
302
+ * Generates the complete zip file with the internal stream implementation
303
+ *
304
+ * @param options Optional options for the generator
305
+ * @return a StreamHelper
306
+ */
307
+ generateInternalStream<T extends JSZip.OutputType>(options?: JSZip.JSZipGeneratorOptions<T>): JSZip.JSZipStreamHelper<OutputByType[T]>;
308
+
236
309
  /**
237
310
  * Deserialize zip file asynchronously
238
311
  *
@@ -245,15 +318,7 @@ interface JSZip {
245
318
  /**
246
319
  * Create JSZip instance
247
320
  */
248
-
249
- /**
250
- * Create JSZip instance
251
- * If no parameters given an empty zip archive will be created
252
- *
253
- * @param data Serialized zip archive
254
- * @param options Description of the serialized zip archive
255
- */
256
- new (data?: InputFileFormat, options?: JSZip.JSZipLoadOptions): this;
321
+ new(): this;
257
322
 
258
323
  (): JSZip;
259
324
 
@@ -45,7 +45,7 @@ JSZip.defaults = require('./defaults');
45
45
 
46
46
  // TODO find a better way to handle this version,
47
47
  // a require('package.json').version doesn't work with webpack, see #327
48
- JSZip.version = "3.7.1";
48
+ JSZip.version = "3.10.0";
49
49
 
50
50
  JSZip.loadAsync = function (content, options) {
51
51
  return new JSZip().loadAsync(content, options);
@@ -4,8 +4,8 @@ JSZip v__VERSION__ - A JavaScript class for generating and reading zip files
4
4
  <http://stuartk.com/jszip>
5
5
 
6
6
  (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
7
- Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.
7
+ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
8
8
 
9
9
  JSZip uses the library pako released under the MIT license :
10
- https://github.com/nodeca/pako/blob/master/LICENSE
10
+ https://github.com/nodeca/pako/blob/main/LICENSE
11
11
  */
@@ -61,7 +61,11 @@ module.exports = function (data, options) {
61
61
  var files = zipEntries.files;
62
62
  for (var i = 0; i < files.length; i++) {
63
63
  var input = files[i];
64
- zip.file(input.fileNameStr, input.decompressed, {
64
+
65
+ var unsafeName = input.fileNameStr;
66
+ var safeName = utils.resolve(input.fileNameStr);
67
+
68
+ zip.file(safeName, input.decompressed, {
65
69
  binary: true,
66
70
  optimizedBinaryString: true,
67
71
  date: input.date,
@@ -71,6 +75,9 @@ module.exports = function (data, options) {
71
75
  dosPermissions: input.dosPermissions,
72
76
  createFolders: options.createFolders
73
77
  });
78
+ if (!input.dir) {
79
+ zip.file(safeName).unsafeOriginalName = unsafeName;
80
+ }
74
81
  }
75
82
  if (zipEntries.zipComment.length) {
76
83
  zip.comment = zipEntries.zipComment;
@@ -3,8 +3,8 @@
3
3
  var support = require('./support');
4
4
  var base64 = require('./base64');
5
5
  var nodejsUtils = require('./nodejsUtils');
6
- var setImmediate = require('set-immediate-shim');
7
6
  var external = require("./external");
7
+ require('setimmediate');
8
8
 
9
9
 
10
10
  /**
@@ -317,6 +317,31 @@ exports.transformTo = function(outputType, input) {
317
317
  return result;
318
318
  };
319
319
 
320
+ /**
321
+ * Resolve all relative path components, "." and "..", in a path. If these relative components
322
+ * traverse above the root then the resulting path will only contain the final path component.
323
+ *
324
+ * All empty components, e.g. "//", are removed.
325
+ * @param {string} path A path with / or \ separators
326
+ * @returns {string} The path with all relative path components resolved.
327
+ */
328
+ exports.resolve = function(path) {
329
+ var parts = path.split("/");
330
+ var result = [];
331
+ for (var index = 0; index < parts.length; index++) {
332
+ var part = parts[index];
333
+ // Allow the first and last component to be empty for trailing slashes.
334
+ if (part === "." || (part === "" && index !== 0 && index !== parts.length - 1)) {
335
+ continue;
336
+ } else if (part === "..") {
337
+ result.pop();
338
+ } else {
339
+ result.push(part);
340
+ }
341
+ }
342
+ return result.join("/");
343
+ };
344
+
320
345
  /**
321
346
  * Return the type of the input.
322
347
  * The type will be in a format valid for JSZip.utils.transformTo : string, array, uint8array, arraybuffer.
@@ -425,8 +450,8 @@ exports.prepareContent = function(name, inputData, isBinary, isOptimizedBinarySt
425
450
 
426
451
  // if inputData is already a promise, this flatten it.
427
452
  var promise = external.Promise.resolve(inputData).then(function(data) {
428
-
429
-
453
+
454
+
430
455
  var isBlob = support.blob && (data instanceof Blob || ['[object File]', '[object Blob]'].indexOf(Object.prototype.toString.call(data)) !== -1);
431
456
 
432
457
  if (isBlob && typeof FileReader !== "undefined") {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "jszip",
3
- "version": "3.7.1",
3
+ "version": "3.10.0",
4
4
  "author": "Stuart Knightley <stuart@stuartk.com>",
5
5
  "description": "Create, read and edit .zip files with JavaScript http://stuartk.com/jszip",
6
6
  "scripts": {
7
- "test": "npm run test-node && npm run test-browser",
7
+ "test": "npm run test-node && npm run test-browser && tsc",
8
8
  "test-node": "qunit --require ./test/helpers/test-utils.js --require ./test/helpers/node-test-utils.js test/asserts/",
9
- "test-browser": "grunt build && grunt test",
9
+ "test-browser": "grunt build && node test/run.js",
10
10
  "lint": "grunt jshint"
11
11
  },
12
12
  "contributors": [
@@ -25,8 +25,8 @@
25
25
  ],
26
26
  "main": "./lib/index",
27
27
  "browser": {
28
- "readable-stream": "./lib/readable-stream-browser.js",
29
- "./lib/index": "./dist/jszip.min.js"
28
+ "./lib/index": "./dist/jszip.min.js",
29
+ "readable-stream": "./lib/readable-stream-browser.js"
30
30
  },
31
31
  "types": "./index.d.ts",
32
32
  "repository": {
@@ -43,21 +43,22 @@
43
43
  "grunt": "~0.4.1",
44
44
  "grunt-browserify": "~5.0.0",
45
45
  "grunt-cli": "~1.1.0",
46
- "grunt-contrib-connect": "~2.0.0",
47
46
  "grunt-contrib-jshint": "~1.0.0",
48
47
  "grunt-contrib-uglify": "~4.0.1",
49
- "grunt-saucelabs": "Stuk/grunt-saucelabs#v10.0.0",
48
+ "http-server": "^13.0.2",
50
49
  "jshint": "~2.9.1",
51
50
  "jszip-utils": "~0.0.2",
52
51
  "package-json-versionify": "1.0.2",
52
+ "playwright": "^1.15.2",
53
53
  "qunit": "~2.9.2",
54
- "tmp": "0.0.28"
54
+ "tmp": "0.0.28",
55
+ "typescript": "^4.6.3"
55
56
  },
56
57
  "dependencies": {
57
58
  "lie": "~3.3.0",
58
59
  "pako": "~1.0.2",
59
60
  "readable-stream": "~2.3.6",
60
- "set-immediate-shim": "~1.0.1"
61
+ "setimmediate": "^1.0.5"
61
62
  },
62
63
  "license": "(MIT OR GPL-3.0-or-later)"
63
64
  }
@@ -0,0 +1,101 @@
1
+ {
2
+ "compilerOptions": {
3
+ /* Visit https://aka.ms/tsconfig.json to read more about this file */
4
+
5
+ /* Projects */
6
+ // "incremental": true, /* Enable incremental compilation */
7
+ // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
8
+ // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files. */
9
+ // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects */
10
+ // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
11
+ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
12
+
13
+ /* Language and Environment */
14
+ "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
15
+ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
16
+ // "jsx": "preserve", /* Specify what JSX code is generated. */
17
+ // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */
18
+ // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
19
+ // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h' */
20
+ // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
21
+ // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.` */
22
+ // "reactNamespace": "", /* Specify the object invoked for `createElement`. This only applies when targeting `react` JSX emit. */
23
+ // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
24
+ // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
25
+
26
+ /* Modules */
27
+ "module": "commonjs", /* Specify what module code is generated. */
28
+ // "rootDir": "./", /* Specify the root folder within your source files. */
29
+ // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
30
+ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
31
+ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
32
+ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
33
+ // "typeRoots": [], /* Specify multiple folders that act like `./node_modules/@types`. */
34
+ // "types": [], /* Specify type package names to be included without being referenced in a source file. */
35
+ // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
36
+ // "resolveJsonModule": true, /* Enable importing .json files */
37
+ // "noResolve": true, /* Disallow `import`s, `require`s or `<reference>`s from expanding the number of files TypeScript should add to a project. */
38
+
39
+ /* JavaScript Support */
40
+ // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */
41
+ // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
42
+ // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`. */
43
+
44
+ /* Emit */
45
+ // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
46
+ // "declarationMap": true, /* Create sourcemaps for d.ts files. */
47
+ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
48
+ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
49
+ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output. */
50
+ // "outDir": "./", /* Specify an output folder for all emitted files. */
51
+ // "removeComments": true, /* Disable emitting comments. */
52
+ "noEmit": true, /* Disable emitting files from a compilation. */
53
+ // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
54
+ // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types */
55
+ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
56
+ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
57
+ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
58
+ // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
59
+ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
60
+ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
61
+ // "newLine": "crlf", /* Set the newline character for emitting files. */
62
+ // "stripInternal": true, /* Disable emitting declarations that have `@internal` in their JSDoc comments. */
63
+ // "noEmitHelpers": true, /* Disable generating custom helper functions like `__extends` in compiled output. */
64
+ // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
65
+ // "preserveConstEnums": true, /* Disable erasing `const enum` declarations in generated code. */
66
+ // "declarationDir": "./", /* Specify the output directory for generated declaration files. */
67
+ // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
68
+
69
+ /* Interop Constraints */
70
+ // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
71
+ // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
72
+ "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
73
+ // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
74
+ "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
75
+
76
+ /* Type Checking */
77
+ "strict": true, /* Enable all strict type-checking options. */
78
+ // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied `any` type.. */
79
+ // "strictNullChecks": true, /* When type checking, take into account `null` and `undefined`. */
80
+ // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
81
+ // "strictBindCallApply": true, /* Check that the arguments for `bind`, `call`, and `apply` methods match the original function. */
82
+ // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
83
+ // "noImplicitThis": true, /* Enable error reporting when `this` is given the type `any`. */
84
+ // "useUnknownInCatchVariables": true, /* Type catch clause variables as 'unknown' instead of 'any'. */
85
+ // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
86
+ // "noUnusedLocals": true, /* Enable error reporting when a local variables aren't read. */
87
+ // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read */
88
+ // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
89
+ // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
90
+ // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
91
+ // "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
92
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
93
+ // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
94
+ // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
95
+ // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
96
+
97
+ /* Completeness */
98
+ // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
99
+ // "skipLibCheck": true /* Skip type checking all .d.ts files. */
100
+ }
101
+ }
@@ -10,7 +10,7 @@
10
10
  /*global self */
11
11
  /*jslint bitwise: true, indent: 4, laxbreak: true, laxcomma: true, smarttabs: true, plusplus: true */
12
12
 
13
- /*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
13
+ /*! @source http://purl.eligrey.com/github/FileSaver.js/blob/main/FileSaver.js */
14
14
 
15
15
  var saveAs = saveAs
16
16
  // IE 10+ (native saveAs)
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 Barnesandnoble.com, llc, Donavon West, and Domenic Denicola
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "setimmediate",
3
+ "description": "A shim for the setImmediate efficient script yielding API",
4
+ "version": "1.0.5",
5
+ "author": "YuzuJS",
6
+ "contributors": [
7
+ "Domenic Denicola <d@domenic.me> (https://domenic.me)",
8
+ "Donavon West <github@donavon.com> (http://donavon.com)",
9
+ "Yaffle"
10
+ ],
11
+ "license": "MIT",
12
+ "repository": "YuzuJS/setImmediate",
13
+ "main": "setImmediate.js",
14
+ "files": [
15
+ "setImmediate.js"
16
+ ],
17
+ "scripts": {
18
+ "lint": "jshint setImmediate.js",
19
+ "test": "mocha test/tests.js",
20
+ "test-browser": "opener http://localhost:9008/__zuul && zuul test/tests.js --ui mocha-bdd --local 9008",
21
+ "test-browser-only": "opener http://localhost:9007/test/browserOnly/index.html && http-server . -p 9007"
22
+ },
23
+ "devDependencies": {
24
+ "jshint": "^2.5.0",
25
+ "mocha": "~1.18.2",
26
+ "http-server": "~0.6.1",
27
+ "opener": "^1.3",
28
+ "zuul": "^1.6.4"
29
+ }
30
+ }
@@ -0,0 +1,186 @@
1
+ (function (global, undefined) {
2
+ "use strict";
3
+
4
+ if (global.setImmediate) {
5
+ return;
6
+ }
7
+
8
+ var nextHandle = 1; // Spec says greater than zero
9
+ var tasksByHandle = {};
10
+ var currentlyRunningATask = false;
11
+ var doc = global.document;
12
+ var registerImmediate;
13
+
14
+ function setImmediate(callback) {
15
+ // Callback can either be a function or a string
16
+ if (typeof callback !== "function") {
17
+ callback = new Function("" + callback);
18
+ }
19
+ // Copy function arguments
20
+ var args = new Array(arguments.length - 1);
21
+ for (var i = 0; i < args.length; i++) {
22
+ args[i] = arguments[i + 1];
23
+ }
24
+ // Store and register the task
25
+ var task = { callback: callback, args: args };
26
+ tasksByHandle[nextHandle] = task;
27
+ registerImmediate(nextHandle);
28
+ return nextHandle++;
29
+ }
30
+
31
+ function clearImmediate(handle) {
32
+ delete tasksByHandle[handle];
33
+ }
34
+
35
+ function run(task) {
36
+ var callback = task.callback;
37
+ var args = task.args;
38
+ switch (args.length) {
39
+ case 0:
40
+ callback();
41
+ break;
42
+ case 1:
43
+ callback(args[0]);
44
+ break;
45
+ case 2:
46
+ callback(args[0], args[1]);
47
+ break;
48
+ case 3:
49
+ callback(args[0], args[1], args[2]);
50
+ break;
51
+ default:
52
+ callback.apply(undefined, args);
53
+ break;
54
+ }
55
+ }
56
+
57
+ function runIfPresent(handle) {
58
+ // From the spec: "Wait until any invocations of this algorithm started before this one have completed."
59
+ // So if we're currently running a task, we'll need to delay this invocation.
60
+ if (currentlyRunningATask) {
61
+ // Delay by doing a setTimeout. setImmediate was tried instead, but in Firefox 7 it generated a
62
+ // "too much recursion" error.
63
+ setTimeout(runIfPresent, 0, handle);
64
+ } else {
65
+ var task = tasksByHandle[handle];
66
+ if (task) {
67
+ currentlyRunningATask = true;
68
+ try {
69
+ run(task);
70
+ } finally {
71
+ clearImmediate(handle);
72
+ currentlyRunningATask = false;
73
+ }
74
+ }
75
+ }
76
+ }
77
+
78
+ function installNextTickImplementation() {
79
+ registerImmediate = function(handle) {
80
+ process.nextTick(function () { runIfPresent(handle); });
81
+ };
82
+ }
83
+
84
+ function canUsePostMessage() {
85
+ // The test against `importScripts` prevents this implementation from being installed inside a web worker,
86
+ // where `global.postMessage` means something completely different and can't be used for this purpose.
87
+ if (global.postMessage && !global.importScripts) {
88
+ var postMessageIsAsynchronous = true;
89
+ var oldOnMessage = global.onmessage;
90
+ global.onmessage = function() {
91
+ postMessageIsAsynchronous = false;
92
+ };
93
+ global.postMessage("", "*");
94
+ global.onmessage = oldOnMessage;
95
+ return postMessageIsAsynchronous;
96
+ }
97
+ }
98
+
99
+ function installPostMessageImplementation() {
100
+ // Installs an event handler on `global` for the `message` event: see
101
+ // * https://developer.mozilla.org/en/DOM/window.postMessage
102
+ // * http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#crossDocumentMessages
103
+
104
+ var messagePrefix = "setImmediate$" + Math.random() + "$";
105
+ var onGlobalMessage = function(event) {
106
+ if (event.source === global &&
107
+ typeof event.data === "string" &&
108
+ event.data.indexOf(messagePrefix) === 0) {
109
+ runIfPresent(+event.data.slice(messagePrefix.length));
110
+ }
111
+ };
112
+
113
+ if (global.addEventListener) {
114
+ global.addEventListener("message", onGlobalMessage, false);
115
+ } else {
116
+ global.attachEvent("onmessage", onGlobalMessage);
117
+ }
118
+
119
+ registerImmediate = function(handle) {
120
+ global.postMessage(messagePrefix + handle, "*");
121
+ };
122
+ }
123
+
124
+ function installMessageChannelImplementation() {
125
+ var channel = new MessageChannel();
126
+ channel.port1.onmessage = function(event) {
127
+ var handle = event.data;
128
+ runIfPresent(handle);
129
+ };
130
+
131
+ registerImmediate = function(handle) {
132
+ channel.port2.postMessage(handle);
133
+ };
134
+ }
135
+
136
+ function installReadyStateChangeImplementation() {
137
+ var html = doc.documentElement;
138
+ registerImmediate = function(handle) {
139
+ // Create a <script> element; its readystatechange event will be fired asynchronously once it is inserted
140
+ // into the document. Do so, thus queuing up the task. Remember to clean up once it's been called.
141
+ var script = doc.createElement("script");
142
+ script.onreadystatechange = function () {
143
+ runIfPresent(handle);
144
+ script.onreadystatechange = null;
145
+ html.removeChild(script);
146
+ script = null;
147
+ };
148
+ html.appendChild(script);
149
+ };
150
+ }
151
+
152
+ function installSetTimeoutImplementation() {
153
+ registerImmediate = function(handle) {
154
+ setTimeout(runIfPresent, 0, handle);
155
+ };
156
+ }
157
+
158
+ // If supported, we should attach to the prototype of global, since that is where setTimeout et al. live.
159
+ var attachTo = Object.getPrototypeOf && Object.getPrototypeOf(global);
160
+ attachTo = attachTo && attachTo.setTimeout ? attachTo : global;
161
+
162
+ // Don't get fooled by e.g. browserify environments.
163
+ if ({}.toString.call(global.process) === "[object process]") {
164
+ // For Node.js before 0.9
165
+ installNextTickImplementation();
166
+
167
+ } else if (canUsePostMessage()) {
168
+ // For non-IE10 modern browsers
169
+ installPostMessageImplementation();
170
+
171
+ } else if (global.MessageChannel) {
172
+ // For web workers, where supported
173
+ installMessageChannelImplementation();
174
+
175
+ } else if (doc && "onreadystatechange" in doc.createElement("script")) {
176
+ // For IE 6–8
177
+ installReadyStateChangeImplementation();
178
+
179
+ } else {
180
+ // For older browsers
181
+ installSetTimeoutImplementation();
182
+ }
183
+
184
+ attachTo.setImmediate = setImmediate;
185
+ attachTo.clearImmediate = clearImmediate;
186
+ }(typeof self === "undefined" ? typeof global === "undefined" ? this : global : self));