aws-delivlib 14.4.2 → 14.4.3

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 (599) hide show
  1. package/lib/publishing/github/node_modules/.yarn-integrity +42 -36
  2. package/lib/publishing/github/node_modules/@octokit/app/dist-node/index.js +146 -106
  3. package/lib/publishing/github/node_modules/@octokit/app/dist-node/index.js.map +7 -1
  4. package/lib/publishing/github/node_modules/@octokit/app/dist-src/each-installation.js +34 -23
  5. package/lib/publishing/github/node_modules/@octokit/app/dist-src/each-repository.js +46 -38
  6. package/lib/publishing/github/node_modules/@octokit/app/dist-src/get-installation-octokit.js +16 -13
  7. package/lib/publishing/github/node_modules/@octokit/app/dist-src/index.js +76 -63
  8. package/lib/publishing/github/node_modules/@octokit/app/dist-src/middleware/node/index.js +48 -41
  9. package/lib/publishing/github/node_modules/@octokit/app/dist-src/middleware/node/on-unhandled-request-default.js +12 -7
  10. package/lib/publishing/github/node_modules/@octokit/app/dist-src/version.js +4 -1
  11. package/lib/publishing/github/node_modules/@octokit/app/dist-src/webhooks.js +44 -51
  12. package/lib/publishing/github/node_modules/@octokit/app/dist-types/each-installation.d.ts +6 -3
  13. package/lib/publishing/github/node_modules/@octokit/app/dist-types/each-repository.d.ts +1 -0
  14. package/lib/publishing/github/node_modules/@octokit/app/dist-types/version.d.ts +1 -1
  15. package/lib/publishing/github/node_modules/@octokit/app/dist-web/index.js +306 -0
  16. package/lib/publishing/github/node_modules/@octokit/app/dist-web/index.js.map +7 -0
  17. package/lib/publishing/github/node_modules/@octokit/app/package.json +22 -21
  18. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-node/index.js +239 -180
  19. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-node/index.js.map +7 -1
  20. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/auth.js +27 -24
  21. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/cache.js +73 -66
  22. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/get-app-authentication.js +28 -21
  23. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/get-installation-authentication.js +96 -74
  24. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/hook.js +79 -75
  25. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/index.js +51 -39
  26. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/requires-app-auth.js +30 -47
  27. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/to-token-authentication.js +29 -11
  28. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/version.js +4 -1
  29. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/auth.d.ts +1 -1
  30. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/cache.d.ts +3 -3
  31. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/get-app-authentication.d.ts +1 -1
  32. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/get-installation-authentication.d.ts +1 -1
  33. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/hook.d.ts +1 -1
  34. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/index.d.ts +2 -2
  35. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/to-token-authentication.d.ts +1 -1
  36. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/types.d.ts +1 -1
  37. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-types/version.d.ts +1 -1
  38. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-web/index.js +405 -360
  39. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-web/index.js.map +7 -1
  40. package/lib/publishing/github/node_modules/@octokit/auth-app/package.json +24 -25
  41. package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/dist-node/index.js +15 -17
  42. package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/dist-node/index.js.map +1 -1
  43. package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/dist-src/version.js +1 -1
  44. package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/dist-types/types.d.ts +17 -17
  45. package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/dist-types/version.d.ts +1 -1
  46. package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/dist-web/index.js +1 -1
  47. package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/dist-web/index.js.map +1 -1
  48. package/lib/publishing/github/node_modules/@octokit/auth-oauth-app/package.json +3 -3
  49. package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/dist-node/index.js +23 -31
  50. package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/dist-node/index.js.map +1 -1
  51. package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/dist-src/version.js +1 -1
  52. package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/dist-types/types.d.ts +12 -12
  53. package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/dist-types/version.d.ts +1 -1
  54. package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/dist-web/index.js +1 -1
  55. package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/dist-web/index.js.map +1 -1
  56. package/lib/publishing/github/node_modules/@octokit/auth-oauth-device/package.json +5 -5
  57. package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/README.md +23 -1
  58. package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-node/index.js +40 -39
  59. package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-node/index.js.map +1 -1
  60. package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-src/auth.js +8 -0
  61. package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-src/get-authentication.js +3 -0
  62. package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-src/index.js +2 -1
  63. package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-src/version.js +1 -1
  64. package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-types/hook.d.ts +1 -1
  65. package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-types/types.d.ts +38 -34
  66. package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-types/version.d.ts +1 -1
  67. package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-web/index.js +14 -2
  68. package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/dist-web/index.js.map +1 -1
  69. package/lib/publishing/github/node_modules/@octokit/auth-oauth-user/package.json +5 -5
  70. package/lib/publishing/github/node_modules/@octokit/auth-token/README.md +5 -10
  71. package/lib/publishing/github/node_modules/@octokit/auth-token/dist-node/index.js +44 -20
  72. package/lib/publishing/github/node_modules/@octokit/auth-token/dist-node/index.js.map +7 -1
  73. package/lib/publishing/github/node_modules/@octokit/auth-token/dist-src/auth.js +13 -17
  74. package/lib/publishing/github/node_modules/@octokit/auth-token/dist-src/hook.js +10 -4
  75. package/lib/publishing/github/node_modules/@octokit/auth-token/dist-src/index.js +16 -11
  76. package/lib/publishing/github/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js +8 -10
  77. package/lib/publishing/github/node_modules/@octokit/auth-token/dist-types/auth.d.ts +1 -1
  78. package/lib/publishing/github/node_modules/@octokit/auth-token/dist-types/hook.d.ts +1 -1
  79. package/lib/publishing/github/node_modules/@octokit/auth-token/dist-types/index.d.ts +2 -2
  80. package/lib/publishing/github/node_modules/@octokit/auth-token/dist-types/types.d.ts +13 -13
  81. package/lib/publishing/github/node_modules/@octokit/auth-token/dist-web/index.js +42 -45
  82. package/lib/publishing/github/node_modules/@octokit/auth-token/dist-web/index.js.map +7 -1
  83. package/lib/publishing/github/node_modules/@octokit/auth-token/package.json +23 -27
  84. package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-node/index.js +47 -22
  85. package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-node/index.js.map +7 -1
  86. package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-src/auth.js +8 -5
  87. package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-src/hook.js +33 -24
  88. package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-src/index.js +12 -7
  89. package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-src/is-abuse-limit-error.js +8 -5
  90. package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-src/is-rate-limit-error.js +11 -9
  91. package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-types/index.d.ts +1 -1
  92. package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-types/types.d.ts +9 -9
  93. package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-web/index.js +62 -50
  94. package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-web/index.js.map +7 -1
  95. package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/package.json +22 -23
  96. package/lib/publishing/github/node_modules/@octokit/core/README.md +4 -4
  97. package/lib/publishing/github/node_modules/@octokit/core/dist-node/index.js +119 -100
  98. package/lib/publishing/github/node_modules/@octokit/core/dist-node/index.js.map +7 -1
  99. package/lib/publishing/github/node_modules/@octokit/core/dist-src/index.js +114 -112
  100. package/lib/publishing/github/node_modules/@octokit/core/dist-src/version.js +4 -1
  101. package/lib/publishing/github/node_modules/@octokit/core/dist-types/types.d.ts +7 -7
  102. package/lib/publishing/github/node_modules/@octokit/core/dist-types/version.d.ts +1 -1
  103. package/lib/publishing/github/node_modules/@octokit/core/dist-web/index.js +124 -122
  104. package/lib/publishing/github/node_modules/@octokit/core/dist-web/index.js.map +7 -1
  105. package/lib/publishing/github/node_modules/@octokit/core/package.json +26 -27
  106. package/lib/publishing/github/node_modules/@octokit/endpoint/README.md +3 -3
  107. package/lib/publishing/github/node_modules/@octokit/endpoint/dist-node/index.js +22 -62
  108. package/lib/publishing/github/node_modules/@octokit/endpoint/dist-node/index.js.map +1 -1
  109. package/lib/publishing/github/node_modules/@octokit/endpoint/dist-src/version.js +1 -1
  110. package/lib/publishing/github/node_modules/@octokit/endpoint/dist-types/version.d.ts +1 -1
  111. package/lib/publishing/github/node_modules/@octokit/endpoint/dist-web/index.js +1 -1
  112. package/lib/publishing/github/node_modules/@octokit/endpoint/dist-web/index.js.map +1 -1
  113. package/lib/publishing/github/node_modules/@octokit/endpoint/package.json +4 -4
  114. package/lib/publishing/github/node_modules/@octokit/graphql/README.md +1 -1
  115. package/lib/publishing/github/node_modules/@octokit/graphql/dist-node/index.js +81 -39
  116. package/lib/publishing/github/node_modules/@octokit/graphql/dist-node/index.js.map +7 -1
  117. package/lib/publishing/github/node_modules/@octokit/graphql/dist-src/error.js +17 -17
  118. package/lib/publishing/github/node_modules/@octokit/graphql/dist-src/graphql.js +55 -44
  119. package/lib/publishing/github/node_modules/@octokit/graphql/dist-src/index.js +17 -12
  120. package/lib/publishing/github/node_modules/@octokit/graphql/dist-src/version.js +4 -1
  121. package/lib/publishing/github/node_modules/@octokit/graphql/dist-src/with-defaults.js +12 -9
  122. package/lib/publishing/github/node_modules/@octokit/graphql/dist-types/error.d.ts +3 -3
  123. package/lib/publishing/github/node_modules/@octokit/graphql/dist-types/graphql.d.ts +1 -1
  124. package/lib/publishing/github/node_modules/@octokit/graphql/dist-types/index.d.ts +1 -1
  125. package/lib/publishing/github/node_modules/@octokit/graphql/dist-types/types.d.ts +7 -7
  126. package/lib/publishing/github/node_modules/@octokit/graphql/dist-types/version.d.ts +1 -1
  127. package/lib/publishing/github/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts +1 -1
  128. package/lib/publishing/github/node_modules/@octokit/graphql/dist-web/index.js +103 -90
  129. package/lib/publishing/github/node_modules/@octokit/graphql/dist-web/index.js.map +7 -1
  130. package/lib/publishing/github/node_modules/@octokit/graphql/package.json +23 -24
  131. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-node/index.js +290 -263
  132. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-node/index.js.map +7 -1
  133. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/add-event-handler.js +13 -10
  134. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/emit-event.js +13 -10
  135. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/index.js +108 -64
  136. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/check-token.js +14 -11
  137. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/create-token.js +27 -24
  138. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/delete-authorization.js +43 -40
  139. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/delete-token.js +32 -29
  140. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/get-oauth-client-code.js +5 -2
  141. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/get-user-octokit.js +29 -24
  142. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/get-web-flow-authorization-url.js +16 -28
  143. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/refresh-token.js +34 -29
  144. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/reset-token.js +58 -55
  145. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/methods/scope-token.js +34 -29
  146. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/aws-lambda/api-gateway-v2-parse-request.js +14 -11
  147. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/aws-lambda/api-gateway-v2-send-response.js +9 -6
  148. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/aws-lambda/api-gateway-v2.js +21 -13
  149. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/handle-request.js +217 -210
  150. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/node/index.js +30 -20
  151. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/node/parse-request.js +13 -13
  152. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/node/send-response.js +6 -3
  153. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/on-unhandled-request-default.js +11 -8
  154. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/web-worker/index.js +31 -19
  155. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/web-worker/parse-request.js +11 -9
  156. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/web-worker/send-response.js +8 -5
  157. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/oauth-app-octokit.js +5 -2
  158. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/version.js +4 -1
  159. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-types/middleware/web-worker/index.d.ts +1 -1
  160. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-types/version.d.ts +1 -1
  161. package/lib/publishing/github/node_modules/@octokit/oauth-app/package.json +20 -20
  162. package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-node/index.js +1 -1
  163. package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-node/index.js.map +1 -1
  164. package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-src/version.js +1 -1
  165. package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/check-token.d.ts +4 -4
  166. package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/create-device-code.d.ts +3 -3
  167. package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/delete-authorization.d.ts +3 -3
  168. package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/delete-token.d.ts +3 -3
  169. package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/exchange-device-code.d.ts +11 -11
  170. package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/exchange-web-flow-code.d.ts +4 -4
  171. package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/get-web-flow-authorization-url.d.ts +4 -4
  172. package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/refresh-token.d.ts +2 -2
  173. package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/reset-token.d.ts +4 -4
  174. package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/scope-token.d.ts +8 -8
  175. package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/types.d.ts +9 -9
  176. package/lib/publishing/github/node_modules/@octokit/oauth-methods/dist-types/version.d.ts +1 -1
  177. package/lib/publishing/github/node_modules/@octokit/oauth-methods/package.json +7 -7
  178. package/lib/publishing/github/node_modules/@octokit/openapi-types/package.json +2 -2
  179. package/lib/publishing/github/node_modules/@octokit/openapi-types/types.d.ts +77450 -13127
  180. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js +292 -57
  181. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js.map +7 -1
  182. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/compose-paginate.js +5 -2
  183. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/generated/paginating-endpoints.js +226 -213
  184. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js +17 -12
  185. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/iterator.js +36 -37
  186. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/normalize-paginated-list-response.js +29 -45
  187. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js +31 -21
  188. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/paginating-endpoints.js +14 -9
  189. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js +4 -1
  190. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/compose-paginate.d.ts +1 -1
  191. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/generated/paginating-endpoints.d.ts +183 -111
  192. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts +3 -4
  193. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts +3 -3
  194. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/normalize-paginated-list-response.d.ts +1 -1
  195. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts +3 -3
  196. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/types.d.ts +29 -29
  197. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts +1 -1
  198. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js +334 -334
  199. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-web/index.js.map +7 -1
  200. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/package.json +24 -26
  201. package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js +99 -39
  202. package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js.map +1 -1
  203. package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/endpoints.js +197 -77
  204. package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js +1 -1
  205. package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types.d.ts +1419 -661
  206. package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.d.ts +359 -119
  207. package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts +3 -3
  208. package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts +1 -1
  209. package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js +198 -78
  210. package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-web/index.js.map +1 -1
  211. package/lib/publishing/github/node_modules/@octokit/plugin-rest-endpoint-methods/package.json +9 -9
  212. package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-node/index.js +80 -35
  213. package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-node/index.js.map +7 -1
  214. package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-src/error-request.js +12 -13
  215. package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-src/index.js +29 -22
  216. package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-src/version.js +4 -1
  217. package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-src/wrap-request.js +31 -15
  218. package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-types/error-request.d.ts +1 -1
  219. package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-types/version.d.ts +1 -1
  220. package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-types/wrap-request.d.ts +1 -1
  221. package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-web/index.js +68 -54
  222. package/lib/publishing/github/node_modules/@octokit/plugin-retry/dist-web/index.js.map +7 -1
  223. package/lib/publishing/github/node_modules/@octokit/plugin-retry/package.json +21 -22
  224. package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-node/index.js +18 -11
  225. package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-node/index.js.map +1 -1
  226. package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-src/index.js +21 -14
  227. package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-src/version.js +1 -1
  228. package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-types/index.d.ts +6 -0
  229. package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-types/types.d.ts +13 -12
  230. package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-types/version.d.ts +1 -1
  231. package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-web/index.js +22 -15
  232. package/lib/publishing/github/node_modules/@octokit/plugin-throttling/dist-web/index.js.map +1 -1
  233. package/lib/publishing/github/node_modules/@octokit/plugin-throttling/package.json +7 -7
  234. package/lib/publishing/github/node_modules/@octokit/request/README.md +3 -3
  235. package/lib/publishing/github/node_modules/@octokit/request/dist-node/index.js +105 -77
  236. package/lib/publishing/github/node_modules/@octokit/request/dist-node/index.js.map +7 -1
  237. package/lib/publishing/github/node_modules/@octokit/request/dist-src/fetch-wrapper.js +111 -108
  238. package/lib/publishing/github/node_modules/@octokit/request/dist-src/get-buffer-response.js +5 -2
  239. package/lib/publishing/github/node_modules/@octokit/request/dist-src/index.js +7 -4
  240. package/lib/publishing/github/node_modules/@octokit/request/dist-src/version.js +4 -1
  241. package/lib/publishing/github/node_modules/@octokit/request/dist-src/with-defaults.js +23 -18
  242. package/lib/publishing/github/node_modules/@octokit/request/dist-types/version.d.ts +1 -1
  243. package/lib/publishing/github/node_modules/@octokit/request/dist-web/index.js +148 -138
  244. package/lib/publishing/github/node_modules/@octokit/request/dist-web/index.js.map +7 -1
  245. package/lib/publishing/github/node_modules/@octokit/request/package.json +23 -24
  246. package/lib/publishing/github/node_modules/@octokit/request-error/dist-node/index.js +10 -19
  247. package/lib/publishing/github/node_modules/@octokit/request-error/dist-node/index.js.map +1 -1
  248. package/lib/publishing/github/node_modules/@octokit/request-error/dist-types/types.d.ts +1 -1
  249. package/lib/publishing/github/node_modules/@octokit/request-error/package.json +4 -4
  250. package/lib/publishing/github/node_modules/@octokit/tsconfig/LICENSE +7 -0
  251. package/lib/publishing/github/node_modules/@octokit/tsconfig/README.md +31 -0
  252. package/lib/publishing/github/node_modules/@octokit/tsconfig/package.json +28 -0
  253. package/lib/publishing/github/node_modules/@octokit/types/dist-node/index.js +1 -1
  254. package/lib/publishing/github/node_modules/@octokit/types/dist-src/VERSION.js +1 -1
  255. package/lib/publishing/github/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts +1 -1
  256. package/lib/publishing/github/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts +1 -1
  257. package/lib/publishing/github/node_modules/@octokit/types/dist-types/Fetch.d.ts +1 -1
  258. package/lib/publishing/github/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts +4 -4
  259. package/lib/publishing/github/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts +1 -1
  260. package/lib/publishing/github/node_modules/@octokit/types/dist-types/RequestError.d.ts +1 -1
  261. package/lib/publishing/github/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts +1 -1
  262. package/lib/publishing/github/node_modules/@octokit/types/dist-types/RequestMethod.d.ts +1 -1
  263. package/lib/publishing/github/node_modules/@octokit/types/dist-types/RequestOptions.d.ts +1 -1
  264. package/lib/publishing/github/node_modules/@octokit/types/dist-types/RequestParameters.d.ts +1 -1
  265. package/lib/publishing/github/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts +1 -1
  266. package/lib/publishing/github/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts +1 -1
  267. package/lib/publishing/github/node_modules/@octokit/types/dist-types/Route.d.ts +1 -1
  268. package/lib/publishing/github/node_modules/@octokit/types/dist-types/Signal.d.ts +1 -1
  269. package/lib/publishing/github/node_modules/@octokit/types/dist-types/Url.d.ts +1 -1
  270. package/lib/publishing/github/node_modules/@octokit/types/dist-types/VERSION.d.ts +1 -1
  271. package/lib/publishing/github/node_modules/@octokit/types/dist-types/generated/Endpoints.d.ts +464 -332
  272. package/lib/publishing/github/node_modules/@octokit/types/dist-web/index.js +1 -1
  273. package/lib/publishing/github/node_modules/@octokit/types/package.json +10 -10
  274. package/lib/publishing/github/node_modules/@octokit/webhooks/README.md +68 -64
  275. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-node/index.js +467 -97
  276. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-node/index.js.map +7 -1
  277. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/createLogger.js +11 -6
  278. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/event-handler/index.js +23 -16
  279. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/event-handler/on.js +31 -22
  280. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/event-handler/receive.js +51 -49
  281. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/event-handler/remove-listener.js +18 -15
  282. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/event-handler/wrap-error-handler.js +17 -18
  283. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/generated/webhook-names.js +262 -254
  284. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/index.js +40 -22
  285. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/middleware/node/get-missing-headers.js +8 -6
  286. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/middleware/node/get-payload.js +27 -22
  287. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/middleware/node/index.js +19 -6
  288. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/middleware/node/middleware.js +86 -72
  289. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/middleware/node/on-unhandled-request-default.js +12 -7
  290. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/sign.js +8 -2
  291. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/to-normalized-json-string.js +8 -8
  292. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/verify-and-receive.js +22 -16
  293. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/verify.js +9 -2
  294. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/event-handler/on.d.ts +1 -1
  295. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/event-handler/remove-listener.d.ts +1 -1
  296. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/generated/webhook-names.d.ts +1 -1
  297. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/index.d.ts +14 -4
  298. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/middleware/node/get-missing-headers.d.ts +1 -1
  299. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/middleware/node/get-payload.d.ts +3 -3
  300. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/middleware/node/index.d.ts +2 -2
  301. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/middleware/node/middleware.d.ts +4 -4
  302. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/middleware/node/on-unhandled-request-default.d.ts +2 -2
  303. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/middleware/node/types.d.ts +5 -4
  304. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/to-normalized-json-string.d.ts +1 -1
  305. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/types.d.ts +12 -11
  306. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-types/verify-and-receive.d.ts +1 -1
  307. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-web/index.js +609 -533
  308. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-web/index.js.map +7 -1
  309. package/lib/publishing/github/node_modules/@octokit/webhooks/package.json +20 -22
  310. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/README.md +84 -3
  311. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-node/index.js +89 -48
  312. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-node/index.js.map +7 -1
  313. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-src/index.js +22 -2
  314. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-src/node/sign.js +19 -16
  315. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-src/node/verify.js +18 -14
  316. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-src/types.js +8 -5
  317. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-src/utils.js +5 -2
  318. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-src/version.js +4 -1
  319. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-src/web.js +62 -44
  320. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-types/index.d.ts +3 -1
  321. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-types/node/sign.d.ts +1 -1
  322. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-types/types.d.ts +2 -2
  323. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-types/version.d.ts +1 -1
  324. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-types/web.d.ts +1 -1
  325. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-web/index.js +71 -53
  326. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/dist-web/index.js.map +7 -1
  327. package/lib/publishing/github/node_modules/@octokit/webhooks-methods/package.json +36 -25
  328. package/lib/publishing/github/node_modules/@octokit/webhooks-types/package.json +1 -1
  329. package/lib/publishing/github/node_modules/@octokit/webhooks-types/schema.d.ts +670 -35
  330. package/lib/publishing/github/node_modules/@types/aws-lambda/README.md +2 -2
  331. package/lib/publishing/github/node_modules/@types/aws-lambda/index.d.ts +3 -2
  332. package/lib/publishing/github/node_modules/@types/aws-lambda/package.json +3 -8
  333. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/amplify-resolver.d.ts +38 -0
  334. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +75 -1
  335. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/appsync-resolver.d.ts +4 -0
  336. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/codecommit.d.ts +36 -0
  337. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-message.d.ts +8 -4
  338. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-sms-sender.d.ts +49 -0
  339. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.ts +1 -0
  340. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/dynamodb-stream.d.ts +11 -1
  341. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/kinesis-stream.d.ts +26 -1
  342. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/msk.d.ts +7 -0
  343. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/self-managed-kafka.d.ts +27 -0
  344. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/sns.d.ts +2 -2
  345. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/sqs.d.ts +1 -0
  346. package/lib/publishing/github/node_modules/@types/jsonwebtoken/README.md +1 -1
  347. package/lib/publishing/github/node_modules/@types/jsonwebtoken/index.d.ts +14 -0
  348. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/README.md +2 -2
  349. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/assert.d.ts +135 -75
  350. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/async_hooks.d.ts +67 -38
  351. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.d.ts +220 -101
  352. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/child_process.d.ts +87 -58
  353. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/cluster.d.ts +25 -29
  354. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/console.d.ts +5 -5
  355. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/crypto.d.ts +873 -249
  356. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/dgram.d.ts +16 -16
  357. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/diagnostics_channel.d.ts +60 -21
  358. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/dns/promises.d.ts +52 -8
  359. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/dns.d.ts +27 -18
  360. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/dom-events.d.ts +126 -0
  361. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/domain.d.ts +6 -5
  362. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/events.d.ts +166 -93
  363. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs/promises.d.ts +149 -74
  364. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs.d.ts +288 -121
  365. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/globals.d.ts +22 -13
  366. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/http.d.ts +453 -125
  367. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/http2.d.ts +74 -46
  368. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/https.d.ts +103 -53
  369. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/index.d.ts +6 -2
  370. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector.d.ts +20 -16
  371. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/module.d.ts +6 -4
  372. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/net.d.ts +106 -16
  373. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/os.d.ts +36 -14
  374. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/package.json +15 -3
  375. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/path.d.ts +37 -26
  376. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/perf_hooks.d.ts +96 -15
  377. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/process.d.ts +53 -50
  378. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/punycode.d.ts +1 -1
  379. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/querystring.d.ts +6 -6
  380. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/readline/promises.d.ts +145 -0
  381. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/readline.d.ts +51 -175
  382. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/repl.d.ts +21 -21
  383. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/consumers.d.ts +2 -14
  384. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream.d.ts +983 -824
  385. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/string_decoder.d.ts +6 -6
  386. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/test.d.ts +1052 -0
  387. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/timers/promises.d.ts +26 -1
  388. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/timers.d.ts +125 -4
  389. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/tls.d.ts +149 -50
  390. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/trace_events.d.ts +30 -9
  391. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
  392. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/assert.d.ts +972 -0
  393. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/async_hooks.d.ts +530 -0
  394. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/buffer.d.ts +2351 -0
  395. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/child_process.d.ts +1395 -0
  396. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/cluster.d.ts +410 -0
  397. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/console.d.ts +412 -0
  398. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
  399. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/crypto.d.ts +3961 -0
  400. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/dgram.d.ts +545 -0
  401. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +191 -0
  402. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/dns/promises.d.ts +414 -0
  403. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/dns.d.ts +668 -0
  404. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/dom-events.d.ts +126 -0
  405. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
  406. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/events.d.ts +724 -0
  407. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/fs/promises.d.ts +1189 -0
  408. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/fs.d.ts +4043 -0
  409. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/globals.d.ts +303 -0
  410. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  411. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/http.d.ts +1724 -0
  412. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/http2.d.ts +2129 -0
  413. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/https.d.ts +441 -0
  414. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/index.d.ts +88 -0
  415. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/inspector.d.ts +2748 -0
  416. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/module.d.ts +116 -0
  417. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/net.d.ts +886 -0
  418. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/os.d.ts +477 -0
  419. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/path.d.ts +191 -0
  420. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/perf_hooks.d.ts +638 -0
  421. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/process.d.ts +1485 -0
  422. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
  423. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/querystring.d.ts +131 -0
  424. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/readline/promises.d.ts +145 -0
  425. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/readline.d.ts +526 -0
  426. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/repl.d.ts +424 -0
  427. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
  428. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/stream/promises.d.ts +42 -0
  429. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/stream/web.d.ts +330 -0
  430. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/stream.d.ts +1392 -0
  431. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
  432. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/test.d.ts +1052 -0
  433. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
  434. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/timers.d.ts +215 -0
  435. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/tls.d.ts +1119 -0
  436. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
  437. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/tty.d.ts +205 -0
  438. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/url.d.ts +901 -0
  439. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/util.d.ts +2052 -0
  440. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/v8.d.ts +635 -0
  441. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/vm.d.ts +894 -0
  442. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/wasi.d.ts +152 -0
  443. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/worker_threads.d.ts +693 -0
  444. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
  445. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/tty.d.ts +7 -6
  446. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/url.d.ts +66 -56
  447. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/util.d.ts +528 -70
  448. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/v8.d.ts +271 -14
  449. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/vm.d.ts +421 -34
  450. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/wasi.d.ts +13 -19
  451. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/worker_threads.d.ts +81 -37
  452. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/zlib.d.ts +11 -11
  453. package/lib/publishing/github/node_modules/@types/jsonwebtoken/package.json +3 -3
  454. package/lib/publishing/github/node_modules/@types/node/README.md +1 -1
  455. package/lib/publishing/github/node_modules/@types/node/child_process.d.ts +41 -2
  456. package/lib/publishing/github/node_modules/@types/node/crypto.d.ts +77 -7
  457. package/lib/publishing/github/node_modules/@types/node/fs/promises.d.ts +15 -12
  458. package/lib/publishing/github/node_modules/@types/node/globals.d.ts +5 -3
  459. package/lib/publishing/github/node_modules/@types/node/http.d.ts +142 -53
  460. package/lib/publishing/github/node_modules/@types/node/http2.d.ts +1 -2
  461. package/lib/publishing/github/node_modules/@types/node/https.d.ts +192 -62
  462. package/lib/publishing/github/node_modules/@types/node/index.d.ts +1 -1
  463. package/lib/publishing/github/node_modules/@types/node/inspector.d.ts +1 -1
  464. package/lib/publishing/github/node_modules/@types/node/net.d.ts +1 -0
  465. package/lib/publishing/github/node_modules/@types/node/os.d.ts +1 -0
  466. package/lib/publishing/github/node_modules/@types/node/package.json +10 -3
  467. package/lib/publishing/github/node_modules/@types/node/path.d.ts +32 -21
  468. package/lib/publishing/github/node_modules/@types/node/stream.d.ts +99 -0
  469. package/lib/publishing/github/node_modules/@types/node/tls.d.ts +13 -13
  470. package/lib/publishing/github/node_modules/@types/node/ts4.8/assert.d.ts +128 -0
  471. package/lib/publishing/github/node_modules/@types/node/ts4.8/async_hooks.d.ts +229 -0
  472. package/lib/publishing/github/node_modules/@types/node/ts4.8/buffer.d.ts +89 -0
  473. package/lib/publishing/github/node_modules/@types/node/ts4.8/child_process.d.ts +553 -0
  474. package/lib/publishing/github/node_modules/@types/node/ts4.8/cluster.d.ts +265 -0
  475. package/lib/publishing/github/node_modules/@types/node/ts4.8/console.d.ts +142 -0
  476. package/lib/publishing/github/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
  477. package/lib/publishing/github/node_modules/@types/node/ts4.8/crypto.d.ts +1283 -0
  478. package/lib/publishing/github/node_modules/@types/node/ts4.8/dgram.d.ts +144 -0
  479. package/lib/publishing/github/node_modules/@types/node/ts4.8/dns.d.ts +387 -0
  480. package/lib/publishing/github/node_modules/@types/node/ts4.8/domain.d.ts +27 -0
  481. package/lib/publishing/github/node_modules/@types/node/ts4.8/events.d.ts +82 -0
  482. package/lib/publishing/github/node_modules/@types/node/ts4.8/fs/promises.d.ts +572 -0
  483. package/lib/publishing/github/node_modules/@types/node/ts4.8/fs.d.ts +2281 -0
  484. package/lib/publishing/github/node_modules/@types/node/ts4.8/globals.d.ts +746 -0
  485. package/lib/publishing/github/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
  486. package/lib/publishing/github/node_modules/@types/node/ts4.8/http.d.ts +580 -0
  487. package/lib/publishing/github/node_modules/@types/node/ts4.8/http2.d.ts +961 -0
  488. package/lib/publishing/github/node_modules/@types/node/ts4.8/https.d.ts +272 -0
  489. package/lib/publishing/github/node_modules/@types/node/ts4.8/index.d.ts +53 -0
  490. package/lib/publishing/github/node_modules/@types/node/ts4.8/inspector.d.ts +3051 -0
  491. package/lib/publishing/github/node_modules/@types/node/ts4.8/module.d.ts +56 -0
  492. package/lib/publishing/github/node_modules/@types/node/ts4.8/net.d.ts +309 -0
  493. package/lib/publishing/github/node_modules/@types/node/ts4.8/os.d.ts +243 -0
  494. package/lib/publishing/github/node_modules/@types/node/ts4.8/path.d.ts +168 -0
  495. package/lib/publishing/github/node_modules/@types/node/ts4.8/perf_hooks.d.ts +274 -0
  496. package/lib/publishing/github/node_modules/@types/node/ts4.8/process.d.ts +413 -0
  497. package/lib/publishing/github/node_modules/@types/node/ts4.8/punycode.d.ts +78 -0
  498. package/lib/publishing/github/node_modules/@types/node/ts4.8/querystring.d.ts +31 -0
  499. package/lib/publishing/github/node_modules/@types/node/ts4.8/readline.d.ts +174 -0
  500. package/lib/publishing/github/node_modules/@types/node/ts4.8/repl.d.ts +398 -0
  501. package/lib/publishing/github/node_modules/@types/node/ts4.8/stream.d.ts +458 -0
  502. package/lib/publishing/github/node_modules/@types/node/ts4.8/string_decoder.d.ts +10 -0
  503. package/lib/publishing/github/node_modules/@types/node/ts4.8/timers.d.ts +19 -0
  504. package/lib/publishing/github/node_modules/@types/node/ts4.8/tls.d.ts +784 -0
  505. package/lib/publishing/github/node_modules/@types/node/ts4.8/trace_events.d.ts +64 -0
  506. package/lib/publishing/github/node_modules/@types/node/ts4.8/tty.d.ts +69 -0
  507. package/lib/publishing/github/node_modules/@types/node/ts4.8/url.d.ts +177 -0
  508. package/lib/publishing/github/node_modules/@types/node/ts4.8/util.d.ts +216 -0
  509. package/lib/publishing/github/node_modules/@types/node/ts4.8/v8.d.ts +190 -0
  510. package/lib/publishing/github/node_modules/@types/node/ts4.8/vm.d.ts +155 -0
  511. package/lib/publishing/github/node_modules/@types/node/ts4.8/wasi.d.ts +89 -0
  512. package/lib/publishing/github/node_modules/@types/node/ts4.8/worker_threads.d.ts +241 -0
  513. package/lib/publishing/github/node_modules/@types/node/ts4.8/zlib.d.ts +364 -0
  514. package/lib/publishing/github/node_modules/@types/node/url.d.ts +28 -0
  515. package/lib/publishing/github/node_modules/before-after-hook/README.md +1 -3
  516. package/lib/publishing/github/node_modules/before-after-hook/index.d.ts +48 -48
  517. package/lib/publishing/github/node_modules/before-after-hook/index.js +43 -39
  518. package/lib/publishing/github/node_modules/before-after-hook/package.json +15 -10
  519. package/lib/publishing/github/node_modules/lru-cache/LICENSE +1 -1
  520. package/lib/publishing/github/node_modules/lru-cache/README.md +1127 -104
  521. package/lib/publishing/github/node_modules/lru-cache/dist/cjs/index.d.ts +834 -0
  522. package/lib/publishing/github/node_modules/lru-cache/dist/cjs/index.d.ts.map +1 -0
  523. package/lib/publishing/github/node_modules/lru-cache/dist/cjs/index.js +1395 -0
  524. package/lib/publishing/github/node_modules/lru-cache/dist/cjs/index.js.map +1 -0
  525. package/lib/publishing/github/node_modules/lru-cache/dist/cjs/index.min.js +2 -0
  526. package/lib/publishing/github/node_modules/lru-cache/dist/cjs/index.min.js.map +7 -0
  527. package/lib/publishing/github/node_modules/lru-cache/dist/cjs/package.json +3 -0
  528. package/lib/publishing/github/node_modules/lru-cache/dist/mjs/index.d.ts +834 -0
  529. package/lib/publishing/github/node_modules/lru-cache/dist/mjs/index.d.ts.map +1 -0
  530. package/lib/publishing/github/node_modules/lru-cache/dist/mjs/index.js +1391 -0
  531. package/lib/publishing/github/node_modules/lru-cache/dist/mjs/index.js.map +1 -0
  532. package/lib/publishing/github/node_modules/lru-cache/dist/mjs/index.min.js +2 -0
  533. package/lib/publishing/github/node_modules/lru-cache/dist/mjs/index.min.js.map +7 -0
  534. package/lib/publishing/github/node_modules/lru-cache/dist/mjs/package.json +3 -0
  535. package/lib/publishing/github/node_modules/lru-cache/package.json +86 -12
  536. package/lib/publishing/github/node_modules/node-fetch/README.md +43 -0
  537. package/lib/publishing/github/node_modules/node-fetch/browser.js +7 -7
  538. package/lib/publishing/github/node_modules/node-fetch/lib/index.es.js +92 -2
  539. package/lib/publishing/github/node_modules/node-fetch/lib/index.js +92 -2
  540. package/lib/publishing/github/node_modules/node-fetch/lib/index.mjs +92 -2
  541. package/lib/publishing/github/node_modules/node-fetch/package.json +16 -3
  542. package/lib/publishing/github/node_modules/octokit/README.md +4 -4
  543. package/lib/publishing/github/node_modules/octokit/dist-node/index.js +60 -33
  544. package/lib/publishing/github/node_modules/octokit/dist-node/index.js.map +7 -1
  545. package/lib/publishing/github/node_modules/octokit/dist-src/app.js +8 -3
  546. package/lib/publishing/github/node_modules/octokit/dist-src/index.js +8 -2
  547. package/lib/publishing/github/node_modules/octokit/dist-src/octokit.js +28 -20
  548. package/lib/publishing/github/node_modules/octokit/dist-src/version.js +4 -1
  549. package/lib/publishing/github/node_modules/octokit/dist-types/app.d.ts +2 -2
  550. package/lib/publishing/github/node_modules/octokit/dist-types/octokit.d.ts +1 -1
  551. package/lib/publishing/github/node_modules/octokit/dist-types/version.d.ts +1 -1
  552. package/lib/publishing/github/node_modules/octokit/dist-web/index.js +46 -34
  553. package/lib/publishing/github/node_modules/octokit/dist-web/index.js.map +7 -1
  554. package/lib/publishing/github/node_modules/octokit/package.json +26 -28
  555. package/lib/publishing/github/node_modules/semver/README.md +67 -0
  556. package/lib/publishing/github/node_modules/semver/bin/semver.js +16 -2
  557. package/lib/publishing/github/node_modules/semver/classes/comparator.js +37 -33
  558. package/lib/publishing/github/node_modules/semver/classes/range.js +6 -2
  559. package/lib/publishing/github/node_modules/semver/classes/semver.js +27 -14
  560. package/lib/publishing/github/node_modules/semver/functions/diff.js +48 -17
  561. package/lib/publishing/github/node_modules/semver/functions/inc.js +3 -2
  562. package/lib/publishing/github/node_modules/semver/functions/parse.js +5 -22
  563. package/lib/publishing/github/node_modules/semver/index.js +1 -0
  564. package/lib/publishing/github/node_modules/semver/internal/constants.js +15 -2
  565. package/lib/publishing/github/node_modules/semver/internal/parse-options.js +14 -10
  566. package/lib/publishing/github/node_modules/semver/node_modules/lru-cache/LICENSE +15 -0
  567. package/lib/publishing/github/node_modules/semver/node_modules/lru-cache/README.md +166 -0
  568. package/lib/publishing/github/node_modules/semver/node_modules/lru-cache/package.json +34 -0
  569. package/lib/publishing/github/node_modules/semver/package.json +7 -6
  570. package/lib/publishing/github/node_modules/semver/ranges/intersects.js +1 -1
  571. package/lib/publishing/github/node_modules/semver/ranges/subset.js +6 -3
  572. package/lib/publishing/github/node_modules/typescript/lib/tsc.js +8 -3
  573. package/lib/publishing/github/node_modules/typescript/lib/tsserver.js +13 -3
  574. package/lib/publishing/github/node_modules/typescript/lib/tsserverlibrary.js +13 -3
  575. package/lib/publishing/github/node_modules/typescript/lib/typescript.js +13 -3
  576. package/lib/publishing/github/node_modules/typescript/lib/typescriptServices.js +13 -3
  577. package/lib/publishing/github/node_modules/typescript/lib/typingsInstaller.js +13 -3
  578. package/lib/publishing/github/node_modules/typescript/package.json +1 -1
  579. package/lib/publishing/github/package-lock.json +675 -0
  580. package/lib/publishing/github/package.json +1 -1
  581. package/lib/publishing/github/publish.sh +3 -1
  582. package/package.json +1 -1
  583. package/lib/publishing/github/node_modules/@octokit/app/dist-src/types.js +0 -1
  584. package/lib/publishing/github/node_modules/@octokit/auth-app/dist-src/types.js +0 -1
  585. package/lib/publishing/github/node_modules/@octokit/auth-token/dist-src/types.js +0 -1
  586. package/lib/publishing/github/node_modules/@octokit/auth-unauthenticated/dist-src/types.js +0 -1
  587. package/lib/publishing/github/node_modules/@octokit/core/dist-src/types.js +0 -1
  588. package/lib/publishing/github/node_modules/@octokit/graphql/dist-src/types.js +0 -1
  589. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/middleware/types.js +0 -1
  590. package/lib/publishing/github/node_modules/@octokit/oauth-app/dist-src/types.js +0 -1
  591. package/lib/publishing/github/node_modules/@octokit/plugin-paginate-rest/dist-src/types.js +0 -1
  592. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/middleware/node/types.js +0 -1
  593. package/lib/publishing/github/node_modules/@octokit/webhooks/dist-src/types.js +0 -1
  594. package/lib/publishing/github/node_modules/@types/lru-cache/LICENSE +0 -21
  595. package/lib/publishing/github/node_modules/@types/lru-cache/README.md +0 -16
  596. package/lib/publishing/github/node_modules/@types/lru-cache/index.d.ts +0 -193
  597. package/lib/publishing/github/node_modules/@types/lru-cache/package.json +0 -30
  598. package/lib/publishing/github/yarn.lock +0 -473
  599. /package/lib/publishing/github/node_modules/{lru-cache → semver/node_modules/lru-cache}/index.js +0 -0
@@ -1,27 +1,37 @@
1
- 'use strict';
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
2
19
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
20
+ // pkg/dist-src/index.js
21
+ var dist_src_exports = {};
22
+ __export(dist_src_exports, {
23
+ composePaginateRest: () => composePaginateRest,
24
+ isPaginatingEndpoint: () => isPaginatingEndpoint,
25
+ paginateRest: () => paginateRest,
26
+ paginatingEndpoints: () => paginatingEndpoints
27
+ });
28
+ module.exports = __toCommonJS(dist_src_exports);
4
29
 
5
- const VERSION = "5.0.1";
30
+ // pkg/dist-src/version.js
31
+ var VERSION = "6.1.2";
6
32
 
7
- /**
8
- * Some “list” response that can be paginated have a different response structure
9
- *
10
- * They have a `total_count` key in the response (search also has `incomplete_results`,
11
- * /installation/repositories also has `repository_selection`), as well as a key with
12
- * the list of the items which name varies from endpoint to endpoint.
13
- *
14
- * Octokit normalizes these responses so that paginated results are always returned following
15
- * the same structure. One challenge is that if the list response has only one page, no Link
16
- * header is provided, so this header alone is not sufficient to check wether a response is
17
- * paginated or not.
18
- *
19
- * We check if a "total_count" key is present in the response data, but also make sure that
20
- * a "url" property is not, as the "Get the combined status for a specific ref" endpoint would
21
- * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref
22
- */
33
+ // pkg/dist-src/normalize-paginated-list-response.js
23
34
  function normalizePaginatedListResponse(response) {
24
- // endpoints can respond with 204 if repository is empty
25
35
  if (!response.data) {
26
36
  return {
27
37
  ...response,
@@ -29,9 +39,8 @@ function normalizePaginatedListResponse(response) {
29
39
  };
30
40
  }
31
41
  const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data);
32
- if (!responseNeedsNormalization) return response;
33
- // keep the additional properties intact as there is currently no other way
34
- // to retrieve the same information.
42
+ if (!responseNeedsNormalization)
43
+ return response;
35
44
  const incompleteResults = response.data.incomplete_results;
36
45
  const repositorySelection = response.data.repository_selection;
37
46
  const totalCount = response.data.total_count;
@@ -51,6 +60,7 @@ function normalizePaginatedListResponse(response) {
51
60
  return response;
52
61
  }
53
62
 
63
+ // pkg/dist-src/iterator.js
54
64
  function iterator(octokit, route, parameters) {
55
65
  const options = typeof route === "function" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters);
56
66
  const requestMethod = typeof route === "function" ? route : octokit.request;
@@ -60,25 +70,18 @@ function iterator(octokit, route, parameters) {
60
70
  return {
61
71
  [Symbol.asyncIterator]: () => ({
62
72
  async next() {
63
- if (!url) return {
64
- done: true
65
- };
73
+ if (!url)
74
+ return { done: true };
66
75
  try {
67
- const response = await requestMethod({
68
- method,
69
- url,
70
- headers
71
- });
76
+ const response = await requestMethod({ method, url, headers });
72
77
  const normalizedResponse = normalizePaginatedListResponse(response);
73
- // `response.headers.link` format:
74
- // '<https://api.github.com/users/aseemk/followers?page=2>; rel="next", <https://api.github.com/users/aseemk/followers?page=2>; rel="last"'
75
- // sets `url` to undefined if "next" URL is not present or `link` header is not set
76
- url = ((normalizedResponse.headers.link || "").match(/<([^>]+)>;\s*rel="next"/) || [])[1];
77
- return {
78
- value: normalizedResponse
79
- };
78
+ url = ((normalizedResponse.headers.link || "").match(
79
+ /<([^>]+)>;\s*rel="next"/
80
+ ) || [])[1];
81
+ return { value: normalizedResponse };
80
82
  } catch (error) {
81
- if (error.status !== 409) throw error;
83
+ if (error.status !== 409)
84
+ throw error;
82
85
  url = "";
83
86
  return {
84
87
  value: {
@@ -93,15 +96,21 @@ function iterator(octokit, route, parameters) {
93
96
  };
94
97
  }
95
98
 
99
+ // pkg/dist-src/paginate.js
96
100
  function paginate(octokit, route, parameters, mapFn) {
97
101
  if (typeof parameters === "function") {
98
102
  mapFn = parameters;
99
- parameters = undefined;
103
+ parameters = void 0;
100
104
  }
101
- return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn);
105
+ return gather(
106
+ octokit,
107
+ [],
108
+ iterator(octokit, route, parameters)[Symbol.asyncIterator](),
109
+ mapFn
110
+ );
102
111
  }
103
- function gather(octokit, results, iterator, mapFn) {
104
- return iterator.next().then(result => {
112
+ function gather(octokit, results, iterator2, mapFn) {
113
+ return iterator2.next().then((result) => {
105
114
  if (result.done) {
106
115
  return results;
107
116
  }
@@ -109,20 +118,248 @@ function gather(octokit, results, iterator, mapFn) {
109
118
  function done() {
110
119
  earlyExit = true;
111
120
  }
112
- results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data);
121
+ results = results.concat(
122
+ mapFn ? mapFn(result.value, done) : result.value.data
123
+ );
113
124
  if (earlyExit) {
114
125
  return results;
115
126
  }
116
- return gather(octokit, results, iterator, mapFn);
127
+ return gather(octokit, results, iterator2, mapFn);
117
128
  });
118
129
  }
119
130
 
120
- const composePaginateRest = Object.assign(paginate, {
131
+ // pkg/dist-src/compose-paginate.js
132
+ var composePaginateRest = Object.assign(paginate, {
121
133
  iterator
122
134
  });
123
135
 
124
- const paginatingEndpoints = ["GET /app/hook/deliveries", "GET /app/installations", "GET /enterprises/{enterprise}/actions/permissions/organizations", "GET /enterprises/{enterprise}/actions/runner-groups", "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", "GET /enterprises/{enterprise}/actions/runners", "GET /enterprises/{enterprise}/code-scanning/alerts", "GET /enterprises/{enterprise}/secret-scanning/alerts", "GET /enterprises/{enterprise}/settings/billing/advanced-security", "GET /events", "GET /gists", "GET /gists/public", "GET /gists/starred", "GET /gists/{gist_id}/comments", "GET /gists/{gist_id}/commits", "GET /gists/{gist_id}/forks", "GET /installation/repositories", "GET /issues", "GET /licenses", "GET /marketplace_listing/plans", "GET /marketplace_listing/plans/{plan_id}/accounts", "GET /marketplace_listing/stubbed/plans", "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", "GET /networks/{owner}/{repo}/events", "GET /notifications", "GET /organizations", "GET /organizations/{org}/codespaces/secrets", "GET /organizations/{org}/codespaces/secrets/{secret_name}/repositories", "GET /orgs/{org}/actions/cache/usage-by-repository", "GET /orgs/{org}/actions/permissions/repositories", "GET /orgs/{org}/actions/runner-groups", "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners", "GET /orgs/{org}/actions/runners", "GET /orgs/{org}/actions/secrets", "GET /orgs/{org}/actions/secrets/{secret_name}/repositories", "GET /orgs/{org}/blocks", "GET /orgs/{org}/code-scanning/alerts", "GET /orgs/{org}/codespaces", "GET /orgs/{org}/dependabot/secrets", "GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories", "GET /orgs/{org}/events", "GET /orgs/{org}/failed_invitations", "GET /orgs/{org}/hooks", "GET /orgs/{org}/hooks/{hook_id}/deliveries", "GET /orgs/{org}/installations", "GET /orgs/{org}/invitations", "GET /orgs/{org}/invitations/{invitation_id}/teams", "GET /orgs/{org}/issues", "GET /orgs/{org}/members", "GET /orgs/{org}/migrations", "GET /orgs/{org}/migrations/{migration_id}/repositories", "GET /orgs/{org}/outside_collaborators", "GET /orgs/{org}/packages", "GET /orgs/{org}/packages/{package_type}/{package_name}/versions", "GET /orgs/{org}/projects", "GET /orgs/{org}/public_members", "GET /orgs/{org}/repos", "GET /orgs/{org}/secret-scanning/alerts", "GET /orgs/{org}/settings/billing/advanced-security", "GET /orgs/{org}/teams", "GET /orgs/{org}/teams/{team_slug}/discussions", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "GET /orgs/{org}/teams/{team_slug}/invitations", "GET /orgs/{org}/teams/{team_slug}/members", "GET /orgs/{org}/teams/{team_slug}/projects", "GET /orgs/{org}/teams/{team_slug}/repos", "GET /orgs/{org}/teams/{team_slug}/teams", "GET /projects/columns/{column_id}/cards", "GET /projects/{project_id}/collaborators", "GET /projects/{project_id}/columns", "GET /repos/{owner}/{repo}/actions/artifacts", "GET /repos/{owner}/{repo}/actions/caches", "GET /repos/{owner}/{repo}/actions/runners", "GET /repos/{owner}/{repo}/actions/runs", "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", "GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs", "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs", "GET /repos/{owner}/{repo}/actions/secrets", "GET /repos/{owner}/{repo}/actions/workflows", "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", "GET /repos/{owner}/{repo}/assignees", "GET /repos/{owner}/{repo}/branches", "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", "GET /repos/{owner}/{repo}/code-scanning/alerts", "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", "GET /repos/{owner}/{repo}/code-scanning/analyses", "GET /repos/{owner}/{repo}/codespaces", "GET /repos/{owner}/{repo}/codespaces/devcontainers", "GET /repos/{owner}/{repo}/codespaces/secrets", "GET /repos/{owner}/{repo}/collaborators", "GET /repos/{owner}/{repo}/comments", "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/commits", "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments", "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", "GET /repos/{owner}/{repo}/commits/{ref}/check-runs", "GET /repos/{owner}/{repo}/commits/{ref}/check-suites", "GET /repos/{owner}/{repo}/commits/{ref}/status", "GET /repos/{owner}/{repo}/commits/{ref}/statuses", "GET /repos/{owner}/{repo}/contributors", "GET /repos/{owner}/{repo}/dependabot/alerts", "GET /repos/{owner}/{repo}/dependabot/secrets", "GET /repos/{owner}/{repo}/deployments", "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", "GET /repos/{owner}/{repo}/environments", "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies", "GET /repos/{owner}/{repo}/events", "GET /repos/{owner}/{repo}/forks", "GET /repos/{owner}/{repo}/hooks", "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries", "GET /repos/{owner}/{repo}/invitations", "GET /repos/{owner}/{repo}/issues", "GET /repos/{owner}/{repo}/issues/comments", "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/issues/events", "GET /repos/{owner}/{repo}/issues/{issue_number}/comments", "GET /repos/{owner}/{repo}/issues/{issue_number}/events", "GET /repos/{owner}/{repo}/issues/{issue_number}/labels", "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", "GET /repos/{owner}/{repo}/keys", "GET /repos/{owner}/{repo}/labels", "GET /repos/{owner}/{repo}/milestones", "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels", "GET /repos/{owner}/{repo}/notifications", "GET /repos/{owner}/{repo}/pages/builds", "GET /repos/{owner}/{repo}/projects", "GET /repos/{owner}/{repo}/pulls", "GET /repos/{owner}/{repo}/pulls/comments", "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits", "GET /repos/{owner}/{repo}/pulls/{pull_number}/files", "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews", "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", "GET /repos/{owner}/{repo}/releases", "GET /repos/{owner}/{repo}/releases/{release_id}/assets", "GET /repos/{owner}/{repo}/releases/{release_id}/reactions", "GET /repos/{owner}/{repo}/secret-scanning/alerts", "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations", "GET /repos/{owner}/{repo}/stargazers", "GET /repos/{owner}/{repo}/subscribers", "GET /repos/{owner}/{repo}/tags", "GET /repos/{owner}/{repo}/teams", "GET /repos/{owner}/{repo}/topics", "GET /repositories", "GET /repositories/{repository_id}/environments/{environment_name}/secrets", "GET /search/code", "GET /search/commits", "GET /search/issues", "GET /search/labels", "GET /search/repositories", "GET /search/topics", "GET /search/users", "GET /teams/{team_id}/discussions", "GET /teams/{team_id}/discussions/{discussion_number}/comments", "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", "GET /teams/{team_id}/discussions/{discussion_number}/reactions", "GET /teams/{team_id}/invitations", "GET /teams/{team_id}/members", "GET /teams/{team_id}/projects", "GET /teams/{team_id}/repos", "GET /teams/{team_id}/teams", "GET /user/blocks", "GET /user/codespaces", "GET /user/codespaces/secrets", "GET /user/emails", "GET /user/followers", "GET /user/following", "GET /user/gpg_keys", "GET /user/installations", "GET /user/installations/{installation_id}/repositories", "GET /user/issues", "GET /user/keys", "GET /user/marketplace_purchases", "GET /user/marketplace_purchases/stubbed", "GET /user/memberships/orgs", "GET /user/migrations", "GET /user/migrations/{migration_id}/repositories", "GET /user/orgs", "GET /user/packages", "GET /user/packages/{package_type}/{package_name}/versions", "GET /user/public_emails", "GET /user/repos", "GET /user/repository_invitations", "GET /user/ssh_signing_keys", "GET /user/starred", "GET /user/subscriptions", "GET /user/teams", "GET /users", "GET /users/{username}/events", "GET /users/{username}/events/orgs/{org}", "GET /users/{username}/events/public", "GET /users/{username}/followers", "GET /users/{username}/following", "GET /users/{username}/gists", "GET /users/{username}/gpg_keys", "GET /users/{username}/keys", "GET /users/{username}/orgs", "GET /users/{username}/packages", "GET /users/{username}/projects", "GET /users/{username}/received_events", "GET /users/{username}/received_events/public", "GET /users/{username}/repos", "GET /users/{username}/ssh_signing_keys", "GET /users/{username}/starred", "GET /users/{username}/subscriptions"];
136
+ // pkg/dist-src/generated/paginating-endpoints.js
137
+ var paginatingEndpoints = [
138
+ "GET /app/hook/deliveries",
139
+ "GET /app/installation-requests",
140
+ "GET /app/installations",
141
+ "GET /enterprises/{enterprise}/dependabot/alerts",
142
+ "GET /enterprises/{enterprise}/secret-scanning/alerts",
143
+ "GET /events",
144
+ "GET /gists",
145
+ "GET /gists/public",
146
+ "GET /gists/starred",
147
+ "GET /gists/{gist_id}/comments",
148
+ "GET /gists/{gist_id}/commits",
149
+ "GET /gists/{gist_id}/forks",
150
+ "GET /installation/repositories",
151
+ "GET /issues",
152
+ "GET /licenses",
153
+ "GET /marketplace_listing/plans",
154
+ "GET /marketplace_listing/plans/{plan_id}/accounts",
155
+ "GET /marketplace_listing/stubbed/plans",
156
+ "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts",
157
+ "GET /networks/{owner}/{repo}/events",
158
+ "GET /notifications",
159
+ "GET /organizations",
160
+ "GET /organizations/{org}/personal-access-token-requests",
161
+ "GET /organizations/{org}/personal-access-token-requests/{pat_request_id}/repositories",
162
+ "GET /organizations/{org}/personal-access-tokens",
163
+ "GET /organizations/{org}/personal-access-tokens/{pat_id}/repositories",
164
+ "GET /orgs/{org}/actions/cache/usage-by-repository",
165
+ "GET /orgs/{org}/actions/permissions/repositories",
166
+ "GET /orgs/{org}/actions/required_workflows",
167
+ "GET /orgs/{org}/actions/runners",
168
+ "GET /orgs/{org}/actions/secrets",
169
+ "GET /orgs/{org}/actions/secrets/{secret_name}/repositories",
170
+ "GET /orgs/{org}/actions/variables",
171
+ "GET /orgs/{org}/actions/variables/{name}/repositories",
172
+ "GET /orgs/{org}/blocks",
173
+ "GET /orgs/{org}/code-scanning/alerts",
174
+ "GET /orgs/{org}/codespaces",
175
+ "GET /orgs/{org}/codespaces/secrets",
176
+ "GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories",
177
+ "GET /orgs/{org}/dependabot/alerts",
178
+ "GET /orgs/{org}/dependabot/secrets",
179
+ "GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories",
180
+ "GET /orgs/{org}/events",
181
+ "GET /orgs/{org}/failed_invitations",
182
+ "GET /orgs/{org}/hooks",
183
+ "GET /orgs/{org}/hooks/{hook_id}/deliveries",
184
+ "GET /orgs/{org}/installations",
185
+ "GET /orgs/{org}/invitations",
186
+ "GET /orgs/{org}/invitations/{invitation_id}/teams",
187
+ "GET /orgs/{org}/issues",
188
+ "GET /orgs/{org}/members",
189
+ "GET /orgs/{org}/members/{username}/codespaces",
190
+ "GET /orgs/{org}/migrations",
191
+ "GET /orgs/{org}/migrations/{migration_id}/repositories",
192
+ "GET /orgs/{org}/outside_collaborators",
193
+ "GET /orgs/{org}/packages",
194
+ "GET /orgs/{org}/packages/{package_type}/{package_name}/versions",
195
+ "GET /orgs/{org}/projects",
196
+ "GET /orgs/{org}/public_members",
197
+ "GET /orgs/{org}/repos",
198
+ "GET /orgs/{org}/secret-scanning/alerts",
199
+ "GET /orgs/{org}/teams",
200
+ "GET /orgs/{org}/teams/{team_slug}/discussions",
201
+ "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments",
202
+ "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions",
203
+ "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions",
204
+ "GET /orgs/{org}/teams/{team_slug}/invitations",
205
+ "GET /orgs/{org}/teams/{team_slug}/members",
206
+ "GET /orgs/{org}/teams/{team_slug}/projects",
207
+ "GET /orgs/{org}/teams/{team_slug}/repos",
208
+ "GET /orgs/{org}/teams/{team_slug}/teams",
209
+ "GET /projects/columns/{column_id}/cards",
210
+ "GET /projects/{project_id}/collaborators",
211
+ "GET /projects/{project_id}/columns",
212
+ "GET /repos/{org}/{repo}/actions/required_workflows",
213
+ "GET /repos/{owner}/{repo}/actions/artifacts",
214
+ "GET /repos/{owner}/{repo}/actions/caches",
215
+ "GET /repos/{owner}/{repo}/actions/organization-secrets",
216
+ "GET /repos/{owner}/{repo}/actions/organization-variables",
217
+ "GET /repos/{owner}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/runs",
218
+ "GET /repos/{owner}/{repo}/actions/runners",
219
+ "GET /repos/{owner}/{repo}/actions/runs",
220
+ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",
221
+ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs",
222
+ "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs",
223
+ "GET /repos/{owner}/{repo}/actions/secrets",
224
+ "GET /repos/{owner}/{repo}/actions/variables",
225
+ "GET /repos/{owner}/{repo}/actions/workflows",
226
+ "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs",
227
+ "GET /repos/{owner}/{repo}/assignees",
228
+ "GET /repos/{owner}/{repo}/branches",
229
+ "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations",
230
+ "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs",
231
+ "GET /repos/{owner}/{repo}/code-scanning/alerts",
232
+ "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",
233
+ "GET /repos/{owner}/{repo}/code-scanning/analyses",
234
+ "GET /repos/{owner}/{repo}/codespaces",
235
+ "GET /repos/{owner}/{repo}/codespaces/devcontainers",
236
+ "GET /repos/{owner}/{repo}/codespaces/secrets",
237
+ "GET /repos/{owner}/{repo}/collaborators",
238
+ "GET /repos/{owner}/{repo}/comments",
239
+ "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions",
240
+ "GET /repos/{owner}/{repo}/commits",
241
+ "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments",
242
+ "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls",
243
+ "GET /repos/{owner}/{repo}/commits/{ref}/check-runs",
244
+ "GET /repos/{owner}/{repo}/commits/{ref}/check-suites",
245
+ "GET /repos/{owner}/{repo}/commits/{ref}/status",
246
+ "GET /repos/{owner}/{repo}/commits/{ref}/statuses",
247
+ "GET /repos/{owner}/{repo}/contributors",
248
+ "GET /repos/{owner}/{repo}/dependabot/alerts",
249
+ "GET /repos/{owner}/{repo}/dependabot/secrets",
250
+ "GET /repos/{owner}/{repo}/deployments",
251
+ "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses",
252
+ "GET /repos/{owner}/{repo}/environments",
253
+ "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies",
254
+ "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps",
255
+ "GET /repos/{owner}/{repo}/events",
256
+ "GET /repos/{owner}/{repo}/forks",
257
+ "GET /repos/{owner}/{repo}/hooks",
258
+ "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries",
259
+ "GET /repos/{owner}/{repo}/invitations",
260
+ "GET /repos/{owner}/{repo}/issues",
261
+ "GET /repos/{owner}/{repo}/issues/comments",
262
+ "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions",
263
+ "GET /repos/{owner}/{repo}/issues/events",
264
+ "GET /repos/{owner}/{repo}/issues/{issue_number}/comments",
265
+ "GET /repos/{owner}/{repo}/issues/{issue_number}/events",
266
+ "GET /repos/{owner}/{repo}/issues/{issue_number}/labels",
267
+ "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions",
268
+ "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline",
269
+ "GET /repos/{owner}/{repo}/keys",
270
+ "GET /repos/{owner}/{repo}/labels",
271
+ "GET /repos/{owner}/{repo}/milestones",
272
+ "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels",
273
+ "GET /repos/{owner}/{repo}/notifications",
274
+ "GET /repos/{owner}/{repo}/pages/builds",
275
+ "GET /repos/{owner}/{repo}/projects",
276
+ "GET /repos/{owner}/{repo}/pulls",
277
+ "GET /repos/{owner}/{repo}/pulls/comments",
278
+ "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions",
279
+ "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments",
280
+ "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits",
281
+ "GET /repos/{owner}/{repo}/pulls/{pull_number}/files",
282
+ "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews",
283
+ "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments",
284
+ "GET /repos/{owner}/{repo}/releases",
285
+ "GET /repos/{owner}/{repo}/releases/{release_id}/assets",
286
+ "GET /repos/{owner}/{repo}/releases/{release_id}/reactions",
287
+ "GET /repos/{owner}/{repo}/secret-scanning/alerts",
288
+ "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations",
289
+ "GET /repos/{owner}/{repo}/security-advisories",
290
+ "GET /repos/{owner}/{repo}/stargazers",
291
+ "GET /repos/{owner}/{repo}/subscribers",
292
+ "GET /repos/{owner}/{repo}/tags",
293
+ "GET /repos/{owner}/{repo}/teams",
294
+ "GET /repos/{owner}/{repo}/topics",
295
+ "GET /repositories",
296
+ "GET /repositories/{repository_id}/environments/{environment_name}/secrets",
297
+ "GET /repositories/{repository_id}/environments/{environment_name}/variables",
298
+ "GET /search/code",
299
+ "GET /search/commits",
300
+ "GET /search/issues",
301
+ "GET /search/labels",
302
+ "GET /search/repositories",
303
+ "GET /search/topics",
304
+ "GET /search/users",
305
+ "GET /teams/{team_id}/discussions",
306
+ "GET /teams/{team_id}/discussions/{discussion_number}/comments",
307
+ "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions",
308
+ "GET /teams/{team_id}/discussions/{discussion_number}/reactions",
309
+ "GET /teams/{team_id}/invitations",
310
+ "GET /teams/{team_id}/members",
311
+ "GET /teams/{team_id}/projects",
312
+ "GET /teams/{team_id}/repos",
313
+ "GET /teams/{team_id}/teams",
314
+ "GET /user/blocks",
315
+ "GET /user/codespaces",
316
+ "GET /user/codespaces/secrets",
317
+ "GET /user/emails",
318
+ "GET /user/followers",
319
+ "GET /user/following",
320
+ "GET /user/gpg_keys",
321
+ "GET /user/installations",
322
+ "GET /user/installations/{installation_id}/repositories",
323
+ "GET /user/issues",
324
+ "GET /user/keys",
325
+ "GET /user/marketplace_purchases",
326
+ "GET /user/marketplace_purchases/stubbed",
327
+ "GET /user/memberships/orgs",
328
+ "GET /user/migrations",
329
+ "GET /user/migrations/{migration_id}/repositories",
330
+ "GET /user/orgs",
331
+ "GET /user/packages",
332
+ "GET /user/packages/{package_type}/{package_name}/versions",
333
+ "GET /user/public_emails",
334
+ "GET /user/repos",
335
+ "GET /user/repository_invitations",
336
+ "GET /user/social_accounts",
337
+ "GET /user/ssh_signing_keys",
338
+ "GET /user/starred",
339
+ "GET /user/subscriptions",
340
+ "GET /user/teams",
341
+ "GET /users",
342
+ "GET /users/{username}/events",
343
+ "GET /users/{username}/events/orgs/{org}",
344
+ "GET /users/{username}/events/public",
345
+ "GET /users/{username}/followers",
346
+ "GET /users/{username}/following",
347
+ "GET /users/{username}/gists",
348
+ "GET /users/{username}/gpg_keys",
349
+ "GET /users/{username}/keys",
350
+ "GET /users/{username}/orgs",
351
+ "GET /users/{username}/packages",
352
+ "GET /users/{username}/projects",
353
+ "GET /users/{username}/received_events",
354
+ "GET /users/{username}/received_events/public",
355
+ "GET /users/{username}/repos",
356
+ "GET /users/{username}/social_accounts",
357
+ "GET /users/{username}/ssh_signing_keys",
358
+ "GET /users/{username}/starred",
359
+ "GET /users/{username}/subscriptions"
360
+ ];
125
361
 
362
+ // pkg/dist-src/paginating-endpoints.js
126
363
  function isPaginatingEndpoint(arg) {
127
364
  if (typeof arg === "string") {
128
365
  return paginatingEndpoints.includes(arg);
@@ -131,10 +368,7 @@ function isPaginatingEndpoint(arg) {
131
368
  }
132
369
  }
133
370
 
134
- /**
135
- * @param octokit Octokit instance
136
- * @param options Options passed to Octokit constructor
137
- */
371
+ // pkg/dist-src/index.js
138
372
  function paginateRest(octokit) {
139
373
  return {
140
374
  paginate: Object.assign(paginate.bind(null, octokit), {
@@ -143,9 +377,10 @@ function paginateRest(octokit) {
143
377
  };
144
378
  }
145
379
  paginateRest.VERSION = VERSION;
146
-
147
- exports.composePaginateRest = composePaginateRest;
148
- exports.isPaginatingEndpoint = isPaginatingEndpoint;
149
- exports.paginateRest = paginateRest;
150
- exports.paginatingEndpoints = paginatingEndpoints;
151
- //# sourceMappingURL=index.js.map
380
+ // Annotate the CommonJS export names for ESM import in node:
381
+ 0 && (module.exports = {
382
+ composePaginateRest,
383
+ isPaginatingEndpoint,
384
+ paginateRest,
385
+ paginatingEndpoints
386
+ });
@@ -1 +1,7 @@
1
- {"version":3,"file":"index.js","sources":["../dist-src/version.js","../dist-src/normalize-paginated-list-response.js","../dist-src/iterator.js","../dist-src/paginate.js","../dist-src/compose-paginate.js","../dist-src/generated/paginating-endpoints.js","../dist-src/paginating-endpoints.js","../dist-src/index.js"],"sourcesContent":["export const VERSION = \"5.0.1\";\n","/**\n * Some “list” response that can be paginated have a different response structure\n *\n * They have a `total_count` key in the response (search also has `incomplete_results`,\n * /installation/repositories also has `repository_selection`), as well as a key with\n * the list of the items which name varies from endpoint to endpoint.\n *\n * Octokit normalizes these responses so that paginated results are always returned following\n * the same structure. One challenge is that if the list response has only one page, no Link\n * header is provided, so this header alone is not sufficient to check wether a response is\n * paginated or not.\n *\n * We check if a \"total_count\" key is present in the response data, but also make sure that\n * a \"url\" property is not, as the \"Get the combined status for a specific ref\" endpoint would\n * otherwise match: https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref\n */\nexport function normalizePaginatedListResponse(response) {\n // endpoints can respond with 204 if repository is empty\n if (!response.data) {\n return {\n ...response,\n data: [],\n };\n }\n const responseNeedsNormalization = \"total_count\" in response.data && !(\"url\" in response.data);\n if (!responseNeedsNormalization)\n return response;\n // keep the additional properties intact as there is currently no other way\n // to retrieve the same information.\n const incompleteResults = response.data.incomplete_results;\n const repositorySelection = response.data.repository_selection;\n const totalCount = response.data.total_count;\n delete response.data.incomplete_results;\n delete response.data.repository_selection;\n delete response.data.total_count;\n const namespaceKey = Object.keys(response.data)[0];\n const data = response.data[namespaceKey];\n response.data = data;\n if (typeof incompleteResults !== \"undefined\") {\n response.data.incomplete_results = incompleteResults;\n }\n if (typeof repositorySelection !== \"undefined\") {\n response.data.repository_selection = repositorySelection;\n }\n response.data.total_count = totalCount;\n return response;\n}\n","import { normalizePaginatedListResponse } from \"./normalize-paginated-list-response\";\nexport function iterator(octokit, route, parameters) {\n const options = typeof route === \"function\"\n ? route.endpoint(parameters)\n : octokit.request.endpoint(route, parameters);\n const requestMethod = typeof route === \"function\" ? route : octokit.request;\n const method = options.method;\n const headers = options.headers;\n let url = options.url;\n return {\n [Symbol.asyncIterator]: () => ({\n async next() {\n if (!url)\n return { done: true };\n try {\n const response = await requestMethod({ method, url, headers });\n const normalizedResponse = normalizePaginatedListResponse(response);\n // `response.headers.link` format:\n // '<https://api.github.com/users/aseemk/followers?page=2>; rel=\"next\", <https://api.github.com/users/aseemk/followers?page=2>; rel=\"last\"'\n // sets `url` to undefined if \"next\" URL is not present or `link` header is not set\n url = ((normalizedResponse.headers.link || \"\").match(/<([^>]+)>;\\s*rel=\"next\"/) || [])[1];\n return { value: normalizedResponse };\n }\n catch (error) {\n if (error.status !== 409)\n throw error;\n url = \"\";\n return {\n value: {\n status: 200,\n headers: {},\n data: [],\n },\n };\n }\n },\n }),\n };\n}\n","import { iterator } from \"./iterator\";\nexport function paginate(octokit, route, parameters, mapFn) {\n if (typeof parameters === \"function\") {\n mapFn = parameters;\n parameters = undefined;\n }\n return gather(octokit, [], iterator(octokit, route, parameters)[Symbol.asyncIterator](), mapFn);\n}\nfunction gather(octokit, results, iterator, mapFn) {\n return iterator.next().then((result) => {\n if (result.done) {\n return results;\n }\n let earlyExit = false;\n function done() {\n earlyExit = true;\n }\n results = results.concat(mapFn ? mapFn(result.value, done) : result.value.data);\n if (earlyExit) {\n return results;\n }\n return gather(octokit, results, iterator, mapFn);\n });\n}\n","import { paginate } from \"./paginate\";\nimport { iterator } from \"./iterator\";\nexport const composePaginateRest = Object.assign(paginate, {\n iterator,\n});\n","export const paginatingEndpoints = [\n \"GET /app/hook/deliveries\",\n \"GET /app/installations\",\n \"GET /enterprises/{enterprise}/actions/permissions/organizations\",\n \"GET /enterprises/{enterprise}/actions/runner-groups\",\n \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations\",\n \"GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners\",\n \"GET /enterprises/{enterprise}/actions/runners\",\n \"GET /enterprises/{enterprise}/code-scanning/alerts\",\n \"GET /enterprises/{enterprise}/secret-scanning/alerts\",\n \"GET /enterprises/{enterprise}/settings/billing/advanced-security\",\n \"GET /events\",\n \"GET /gists\",\n \"GET /gists/public\",\n \"GET /gists/starred\",\n \"GET /gists/{gist_id}/comments\",\n \"GET /gists/{gist_id}/commits\",\n \"GET /gists/{gist_id}/forks\",\n \"GET /installation/repositories\",\n \"GET /issues\",\n \"GET /licenses\",\n \"GET /marketplace_listing/plans\",\n \"GET /marketplace_listing/plans/{plan_id}/accounts\",\n \"GET /marketplace_listing/stubbed/plans\",\n \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\",\n \"GET /networks/{owner}/{repo}/events\",\n \"GET /notifications\",\n \"GET /organizations\",\n \"GET /organizations/{org}/codespaces/secrets\",\n \"GET /organizations/{org}/codespaces/secrets/{secret_name}/repositories\",\n \"GET /orgs/{org}/actions/cache/usage-by-repository\",\n \"GET /orgs/{org}/actions/permissions/repositories\",\n \"GET /orgs/{org}/actions/runner-groups\",\n \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories\",\n \"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners\",\n \"GET /orgs/{org}/actions/runners\",\n \"GET /orgs/{org}/actions/secrets\",\n \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\",\n \"GET /orgs/{org}/blocks\",\n \"GET /orgs/{org}/code-scanning/alerts\",\n \"GET /orgs/{org}/codespaces\",\n \"GET /orgs/{org}/dependabot/secrets\",\n \"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories\",\n \"GET /orgs/{org}/events\",\n \"GET /orgs/{org}/failed_invitations\",\n \"GET /orgs/{org}/hooks\",\n \"GET /orgs/{org}/hooks/{hook_id}/deliveries\",\n \"GET /orgs/{org}/installations\",\n \"GET /orgs/{org}/invitations\",\n \"GET /orgs/{org}/invitations/{invitation_id}/teams\",\n \"GET /orgs/{org}/issues\",\n \"GET /orgs/{org}/members\",\n \"GET /orgs/{org}/migrations\",\n \"GET /orgs/{org}/migrations/{migration_id}/repositories\",\n \"GET /orgs/{org}/outside_collaborators\",\n \"GET /orgs/{org}/packages\",\n \"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\",\n \"GET /orgs/{org}/projects\",\n \"GET /orgs/{org}/public_members\",\n \"GET /orgs/{org}/repos\",\n \"GET /orgs/{org}/secret-scanning/alerts\",\n \"GET /orgs/{org}/settings/billing/advanced-security\",\n \"GET /orgs/{org}/teams\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\",\n \"GET /orgs/{org}/teams/{team_slug}/invitations\",\n \"GET /orgs/{org}/teams/{team_slug}/members\",\n \"GET /orgs/{org}/teams/{team_slug}/projects\",\n \"GET /orgs/{org}/teams/{team_slug}/repos\",\n \"GET /orgs/{org}/teams/{team_slug}/teams\",\n \"GET /projects/columns/{column_id}/cards\",\n \"GET /projects/{project_id}/collaborators\",\n \"GET /projects/{project_id}/columns\",\n \"GET /repos/{owner}/{repo}/actions/artifacts\",\n \"GET /repos/{owner}/{repo}/actions/caches\",\n \"GET /repos/{owner}/{repo}/actions/runners\",\n \"GET /repos/{owner}/{repo}/actions/runs\",\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\",\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs\",\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\",\n \"GET /repos/{owner}/{repo}/actions/secrets\",\n \"GET /repos/{owner}/{repo}/actions/workflows\",\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\",\n \"GET /repos/{owner}/{repo}/assignees\",\n \"GET /repos/{owner}/{repo}/branches\",\n \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\",\n \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\",\n \"GET /repos/{owner}/{repo}/code-scanning/alerts\",\n \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\",\n \"GET /repos/{owner}/{repo}/code-scanning/analyses\",\n \"GET /repos/{owner}/{repo}/codespaces\",\n \"GET /repos/{owner}/{repo}/codespaces/devcontainers\",\n \"GET /repos/{owner}/{repo}/codespaces/secrets\",\n \"GET /repos/{owner}/{repo}/collaborators\",\n \"GET /repos/{owner}/{repo}/comments\",\n \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\",\n \"GET /repos/{owner}/{repo}/commits\",\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\",\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/status\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\",\n \"GET /repos/{owner}/{repo}/contributors\",\n \"GET /repos/{owner}/{repo}/dependabot/alerts\",\n \"GET /repos/{owner}/{repo}/dependabot/secrets\",\n \"GET /repos/{owner}/{repo}/deployments\",\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\",\n \"GET /repos/{owner}/{repo}/environments\",\n \"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies\",\n \"GET /repos/{owner}/{repo}/events\",\n \"GET /repos/{owner}/{repo}/forks\",\n \"GET /repos/{owner}/{repo}/hooks\",\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\",\n \"GET /repos/{owner}/{repo}/invitations\",\n \"GET /repos/{owner}/{repo}/issues\",\n \"GET /repos/{owner}/{repo}/issues/comments\",\n \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\",\n \"GET /repos/{owner}/{repo}/issues/events\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/events\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\",\n \"GET /repos/{owner}/{repo}/keys\",\n \"GET /repos/{owner}/{repo}/labels\",\n \"GET /repos/{owner}/{repo}/milestones\",\n \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\",\n \"GET /repos/{owner}/{repo}/notifications\",\n \"GET /repos/{owner}/{repo}/pages/builds\",\n \"GET /repos/{owner}/{repo}/projects\",\n \"GET /repos/{owner}/{repo}/pulls\",\n \"GET /repos/{owner}/{repo}/pulls/comments\",\n \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\",\n \"GET /repos/{owner}/{repo}/releases\",\n \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\",\n \"GET /repos/{owner}/{repo}/releases/{release_id}/reactions\",\n \"GET /repos/{owner}/{repo}/secret-scanning/alerts\",\n \"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations\",\n \"GET /repos/{owner}/{repo}/stargazers\",\n \"GET /repos/{owner}/{repo}/subscribers\",\n \"GET /repos/{owner}/{repo}/tags\",\n \"GET /repos/{owner}/{repo}/teams\",\n \"GET /repos/{owner}/{repo}/topics\",\n \"GET /repositories\",\n \"GET /repositories/{repository_id}/environments/{environment_name}/secrets\",\n \"GET /search/code\",\n \"GET /search/commits\",\n \"GET /search/issues\",\n \"GET /search/labels\",\n \"GET /search/repositories\",\n \"GET /search/topics\",\n \"GET /search/users\",\n \"GET /teams/{team_id}/discussions\",\n \"GET /teams/{team_id}/discussions/{discussion_number}/comments\",\n \"GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n \"GET /teams/{team_id}/discussions/{discussion_number}/reactions\",\n \"GET /teams/{team_id}/invitations\",\n \"GET /teams/{team_id}/members\",\n \"GET /teams/{team_id}/projects\",\n \"GET /teams/{team_id}/repos\",\n \"GET /teams/{team_id}/teams\",\n \"GET /user/blocks\",\n \"GET /user/codespaces\",\n \"GET /user/codespaces/secrets\",\n \"GET /user/emails\",\n \"GET /user/followers\",\n \"GET /user/following\",\n \"GET /user/gpg_keys\",\n \"GET /user/installations\",\n \"GET /user/installations/{installation_id}/repositories\",\n \"GET /user/issues\",\n \"GET /user/keys\",\n \"GET /user/marketplace_purchases\",\n \"GET /user/marketplace_purchases/stubbed\",\n \"GET /user/memberships/orgs\",\n \"GET /user/migrations\",\n \"GET /user/migrations/{migration_id}/repositories\",\n \"GET /user/orgs\",\n \"GET /user/packages\",\n \"GET /user/packages/{package_type}/{package_name}/versions\",\n \"GET /user/public_emails\",\n \"GET /user/repos\",\n \"GET /user/repository_invitations\",\n \"GET /user/ssh_signing_keys\",\n \"GET /user/starred\",\n \"GET /user/subscriptions\",\n \"GET /user/teams\",\n \"GET /users\",\n \"GET /users/{username}/events\",\n \"GET /users/{username}/events/orgs/{org}\",\n \"GET /users/{username}/events/public\",\n \"GET /users/{username}/followers\",\n \"GET /users/{username}/following\",\n \"GET /users/{username}/gists\",\n \"GET /users/{username}/gpg_keys\",\n \"GET /users/{username}/keys\",\n \"GET /users/{username}/orgs\",\n \"GET /users/{username}/packages\",\n \"GET /users/{username}/projects\",\n \"GET /users/{username}/received_events\",\n \"GET /users/{username}/received_events/public\",\n \"GET /users/{username}/repos\",\n \"GET /users/{username}/ssh_signing_keys\",\n \"GET /users/{username}/starred\",\n \"GET /users/{username}/subscriptions\",\n];\n","import { paginatingEndpoints, } from \"./generated/paginating-endpoints\";\nexport { paginatingEndpoints } from \"./generated/paginating-endpoints\";\nexport function isPaginatingEndpoint(arg) {\n if (typeof arg === \"string\") {\n return paginatingEndpoints.includes(arg);\n }\n else {\n return false;\n }\n}\n","import { VERSION } from \"./version\";\nimport { paginate } from \"./paginate\";\nimport { iterator } from \"./iterator\";\nexport { composePaginateRest } from \"./compose-paginate\";\nexport { isPaginatingEndpoint, paginatingEndpoints, } from \"./paginating-endpoints\";\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\nexport function paginateRest(octokit) {\n return {\n paginate: Object.assign(paginate.bind(null, octokit), {\n iterator: iterator.bind(null, octokit),\n }),\n };\n}\npaginateRest.VERSION = VERSION;\n"],"names":["VERSION","normalizePaginatedListResponse","response","data","responseNeedsNormalization","incompleteResults","incomplete_results","repositorySelection","repository_selection","totalCount","total_count","namespaceKey","Object","keys","iterator","octokit","route","parameters","options","endpoint","request","requestMethod","method","headers","url","Symbol","asyncIterator","next","done","normalizedResponse","link","match","value","error","status","paginate","mapFn","undefined","gather","results","then","result","earlyExit","concat","composePaginateRest","assign","paginatingEndpoints","isPaginatingEndpoint","arg","includes","paginateRest","bind"],"mappings":";;;;AAAO,MAAMA,OAAO,GAAG,mBAAmB;;ACA1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,SAASC,8BAA8B,CAACC,QAAQ,EAAE;;EAErD,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AAiB,EACjB,YAAY,EACZ,8BAA8B,EAC9B,yCAAyC,EACzC,qCAAqC,EACrC,iCAAiC,EACjC,iCAAiC,EACjC,6BAA6B,EAC7B,gCAAgC,EAChC,4BAA4B,EAC5B,4BAA4B,EAC5B,gCAAgC,EAChC,gCAAgC,EAChC,uCAAuC,EACvC,8CAA8C,EAC9C,6BAA6B,EAC7B,wCAAwC,EACxC,+BAA+B,EAC/B,qCAAqC,CACxC;;ACnNM,SAASC,oBAAoB,CAACC,GAAG,EAAE;EACtC,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;IACzB,OAAOF,mBAAmB,CAACG,QAAQ,CAACD,GAAG,CAAC;GAC3C,MACI;IACD,OAAO,KAAK;;AAEpB;;ACJA;AACA;AACA;AACA;AACA,AAAO,SAASE,YAAY,CAACnC,OAAO,EAAE;EAClC,OAAO;IACHoB,QAAQ,EAAEvB,MAAM,CAACiC,MAAM,CAACV,QAAQ,CAACgB,IAAI,CAAC,IAAI,EAAEpC,OAAO,CAAC,EAAE;MAClDD,QAAQ,EAAEA,QAAQ,CAACqC,IAAI,CAAC,IAAI,EAAEpC,OAAO;KACxC;GACJ;AACL;AACAmC,YAAY,CAAClD,OAAO,GAAGA,OAAO;;;;;;;"}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../dist-src/index.js", "../dist-src/version.js", "../dist-src/normalize-paginated-list-response.js", "../dist-src/iterator.js", "../dist-src/paginate.js", "../dist-src/compose-paginate.js", "../dist-src/generated/paginating-endpoints.js", "../dist-src/paginating-endpoints.js"],
4
+ "sourcesContent": ["import { VERSION } from \"./version\";\nimport { paginate } from \"./paginate\";\nimport { iterator } from \"./iterator\";\nimport { composePaginateRest } from \"./compose-paginate\";\nimport {\n isPaginatingEndpoint,\n paginatingEndpoints\n} from \"./paginating-endpoints\";\nfunction paginateRest(octokit) {\n return {\n paginate: Object.assign(paginate.bind(null, octokit), {\n iterator: iterator.bind(null, octokit)\n })\n };\n}\npaginateRest.VERSION = VERSION;\nexport {\n composePaginateRest,\n isPaginatingEndpoint,\n paginateRest,\n paginatingEndpoints\n};\n", "const VERSION = \"6.1.2\";\nexport {\n VERSION\n};\n", "function normalizePaginatedListResponse(response) {\n if (!response.data) {\n return {\n ...response,\n data: []\n };\n }\n const responseNeedsNormalization = \"total_count\" in response.data && !(\"url\" in response.data);\n if (!responseNeedsNormalization)\n return response;\n const incompleteResults = response.data.incomplete_results;\n const repositorySelection = response.data.repository_selection;\n const totalCount = response.data.total_count;\n delete response.data.incomplete_results;\n delete response.data.repository_selection;\n delete response.data.total_count;\n const namespaceKey = Object.keys(response.data)[0];\n const data = response.data[namespaceKey];\n response.data = data;\n if (typeof incompleteResults !== \"undefined\") {\n response.data.incomplete_results = incompleteResults;\n }\n if (typeof repositorySelection !== \"undefined\") {\n response.data.repository_selection = repositorySelection;\n }\n response.data.total_count = totalCount;\n return response;\n}\nexport {\n normalizePaginatedListResponse\n};\n", "import { normalizePaginatedListResponse } from \"./normalize-paginated-list-response\";\nfunction iterator(octokit, route, parameters) {\n const options = typeof route === \"function\" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters);\n const requestMethod = typeof route === \"function\" ? route : octokit.request;\n const method = options.method;\n const headers = options.headers;\n let url = options.url;\n return {\n [Symbol.asyncIterator]: () => ({\n async next() {\n if (!url)\n return { done: true };\n try {\n const response = await requestMethod({ method, url, headers });\n const normalizedResponse = normalizePaginatedListResponse(response);\n url = ((normalizedResponse.headers.link || \"\").match(\n /<([^>]+)>;\\s*rel=\"next\"/\n ) || [])[1];\n return { value: normalizedResponse };\n } catch (error) {\n if (error.status !== 409)\n throw error;\n url = \"\";\n return {\n value: {\n status: 200,\n headers: {},\n data: []\n }\n };\n }\n }\n })\n };\n}\nexport {\n iterator\n};\n", "import { iterator } from \"./iterator\";\nfunction paginate(octokit, route, parameters, mapFn) {\n if (typeof parameters === \"function\") {\n mapFn = parameters;\n parameters = void 0;\n }\n return gather(\n octokit,\n [],\n iterator(octokit, route, parameters)[Symbol.asyncIterator](),\n mapFn\n );\n}\nfunction gather(octokit, results, iterator2, mapFn) {\n return iterator2.next().then((result) => {\n if (result.done) {\n return results;\n }\n let earlyExit = false;\n function done() {\n earlyExit = true;\n }\n results = results.concat(\n mapFn ? mapFn(result.value, done) : result.value.data\n );\n if (earlyExit) {\n return results;\n }\n return gather(octokit, results, iterator2, mapFn);\n });\n}\nexport {\n paginate\n};\n", "import { paginate } from \"./paginate\";\nimport { iterator } from \"./iterator\";\nconst composePaginateRest = Object.assign(paginate, {\n iterator\n});\nexport {\n composePaginateRest\n};\n", "const paginatingEndpoints = [\n \"GET /app/hook/deliveries\",\n \"GET /app/installation-requests\",\n \"GET /app/installations\",\n \"GET /enterprises/{enterprise}/dependabot/alerts\",\n \"GET /enterprises/{enterprise}/secret-scanning/alerts\",\n \"GET /events\",\n \"GET /gists\",\n \"GET /gists/public\",\n \"GET /gists/starred\",\n \"GET /gists/{gist_id}/comments\",\n \"GET /gists/{gist_id}/commits\",\n \"GET /gists/{gist_id}/forks\",\n \"GET /installation/repositories\",\n \"GET /issues\",\n \"GET /licenses\",\n \"GET /marketplace_listing/plans\",\n \"GET /marketplace_listing/plans/{plan_id}/accounts\",\n \"GET /marketplace_listing/stubbed/plans\",\n \"GET /marketplace_listing/stubbed/plans/{plan_id}/accounts\",\n \"GET /networks/{owner}/{repo}/events\",\n \"GET /notifications\",\n \"GET /organizations\",\n \"GET /organizations/{org}/personal-access-token-requests\",\n \"GET /organizations/{org}/personal-access-token-requests/{pat_request_id}/repositories\",\n \"GET /organizations/{org}/personal-access-tokens\",\n \"GET /organizations/{org}/personal-access-tokens/{pat_id}/repositories\",\n \"GET /orgs/{org}/actions/cache/usage-by-repository\",\n \"GET /orgs/{org}/actions/permissions/repositories\",\n \"GET /orgs/{org}/actions/required_workflows\",\n \"GET /orgs/{org}/actions/runners\",\n \"GET /orgs/{org}/actions/secrets\",\n \"GET /orgs/{org}/actions/secrets/{secret_name}/repositories\",\n \"GET /orgs/{org}/actions/variables\",\n \"GET /orgs/{org}/actions/variables/{name}/repositories\",\n \"GET /orgs/{org}/blocks\",\n \"GET /orgs/{org}/code-scanning/alerts\",\n \"GET /orgs/{org}/codespaces\",\n \"GET /orgs/{org}/codespaces/secrets\",\n \"GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories\",\n \"GET /orgs/{org}/dependabot/alerts\",\n \"GET /orgs/{org}/dependabot/secrets\",\n \"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories\",\n \"GET /orgs/{org}/events\",\n \"GET /orgs/{org}/failed_invitations\",\n \"GET /orgs/{org}/hooks\",\n \"GET /orgs/{org}/hooks/{hook_id}/deliveries\",\n \"GET /orgs/{org}/installations\",\n \"GET /orgs/{org}/invitations\",\n \"GET /orgs/{org}/invitations/{invitation_id}/teams\",\n \"GET /orgs/{org}/issues\",\n \"GET /orgs/{org}/members\",\n \"GET /orgs/{org}/members/{username}/codespaces\",\n \"GET /orgs/{org}/migrations\",\n \"GET /orgs/{org}/migrations/{migration_id}/repositories\",\n \"GET /orgs/{org}/outside_collaborators\",\n \"GET /orgs/{org}/packages\",\n \"GET /orgs/{org}/packages/{package_type}/{package_name}/versions\",\n \"GET /orgs/{org}/projects\",\n \"GET /orgs/{org}/public_members\",\n \"GET /orgs/{org}/repos\",\n \"GET /orgs/{org}/secret-scanning/alerts\",\n \"GET /orgs/{org}/teams\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n \"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions\",\n \"GET /orgs/{org}/teams/{team_slug}/invitations\",\n \"GET /orgs/{org}/teams/{team_slug}/members\",\n \"GET /orgs/{org}/teams/{team_slug}/projects\",\n \"GET /orgs/{org}/teams/{team_slug}/repos\",\n \"GET /orgs/{org}/teams/{team_slug}/teams\",\n \"GET /projects/columns/{column_id}/cards\",\n \"GET /projects/{project_id}/collaborators\",\n \"GET /projects/{project_id}/columns\",\n \"GET /repos/{org}/{repo}/actions/required_workflows\",\n \"GET /repos/{owner}/{repo}/actions/artifacts\",\n \"GET /repos/{owner}/{repo}/actions/caches\",\n \"GET /repos/{owner}/{repo}/actions/organization-secrets\",\n \"GET /repos/{owner}/{repo}/actions/organization-variables\",\n \"GET /repos/{owner}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/runs\",\n \"GET /repos/{owner}/{repo}/actions/runners\",\n \"GET /repos/{owner}/{repo}/actions/runs\",\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts\",\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs\",\n \"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs\",\n \"GET /repos/{owner}/{repo}/actions/secrets\",\n \"GET /repos/{owner}/{repo}/actions/variables\",\n \"GET /repos/{owner}/{repo}/actions/workflows\",\n \"GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs\",\n \"GET /repos/{owner}/{repo}/assignees\",\n \"GET /repos/{owner}/{repo}/branches\",\n \"GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations\",\n \"GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs\",\n \"GET /repos/{owner}/{repo}/code-scanning/alerts\",\n \"GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances\",\n \"GET /repos/{owner}/{repo}/code-scanning/analyses\",\n \"GET /repos/{owner}/{repo}/codespaces\",\n \"GET /repos/{owner}/{repo}/codespaces/devcontainers\",\n \"GET /repos/{owner}/{repo}/codespaces/secrets\",\n \"GET /repos/{owner}/{repo}/collaborators\",\n \"GET /repos/{owner}/{repo}/comments\",\n \"GET /repos/{owner}/{repo}/comments/{comment_id}/reactions\",\n \"GET /repos/{owner}/{repo}/commits\",\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/comments\",\n \"GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-runs\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/check-suites\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/status\",\n \"GET /repos/{owner}/{repo}/commits/{ref}/statuses\",\n \"GET /repos/{owner}/{repo}/contributors\",\n \"GET /repos/{owner}/{repo}/dependabot/alerts\",\n \"GET /repos/{owner}/{repo}/dependabot/secrets\",\n \"GET /repos/{owner}/{repo}/deployments\",\n \"GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses\",\n \"GET /repos/{owner}/{repo}/environments\",\n \"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies\",\n \"GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps\",\n \"GET /repos/{owner}/{repo}/events\",\n \"GET /repos/{owner}/{repo}/forks\",\n \"GET /repos/{owner}/{repo}/hooks\",\n \"GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries\",\n \"GET /repos/{owner}/{repo}/invitations\",\n \"GET /repos/{owner}/{repo}/issues\",\n \"GET /repos/{owner}/{repo}/issues/comments\",\n \"GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions\",\n \"GET /repos/{owner}/{repo}/issues/events\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/comments\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/events\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/labels\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/reactions\",\n \"GET /repos/{owner}/{repo}/issues/{issue_number}/timeline\",\n \"GET /repos/{owner}/{repo}/keys\",\n \"GET /repos/{owner}/{repo}/labels\",\n \"GET /repos/{owner}/{repo}/milestones\",\n \"GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels\",\n \"GET /repos/{owner}/{repo}/notifications\",\n \"GET /repos/{owner}/{repo}/pages/builds\",\n \"GET /repos/{owner}/{repo}/projects\",\n \"GET /repos/{owner}/{repo}/pulls\",\n \"GET /repos/{owner}/{repo}/pulls/comments\",\n \"GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/comments\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/commits\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/files\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews\",\n \"GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments\",\n \"GET /repos/{owner}/{repo}/releases\",\n \"GET /repos/{owner}/{repo}/releases/{release_id}/assets\",\n \"GET /repos/{owner}/{repo}/releases/{release_id}/reactions\",\n \"GET /repos/{owner}/{repo}/secret-scanning/alerts\",\n \"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations\",\n \"GET /repos/{owner}/{repo}/security-advisories\",\n \"GET /repos/{owner}/{repo}/stargazers\",\n \"GET /repos/{owner}/{repo}/subscribers\",\n \"GET /repos/{owner}/{repo}/tags\",\n \"GET /repos/{owner}/{repo}/teams\",\n \"GET /repos/{owner}/{repo}/topics\",\n \"GET /repositories\",\n \"GET /repositories/{repository_id}/environments/{environment_name}/secrets\",\n \"GET /repositories/{repository_id}/environments/{environment_name}/variables\",\n \"GET /search/code\",\n \"GET /search/commits\",\n \"GET /search/issues\",\n \"GET /search/labels\",\n \"GET /search/repositories\",\n \"GET /search/topics\",\n \"GET /search/users\",\n \"GET /teams/{team_id}/discussions\",\n \"GET /teams/{team_id}/discussions/{discussion_number}/comments\",\n \"GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions\",\n \"GET /teams/{team_id}/discussions/{discussion_number}/reactions\",\n \"GET /teams/{team_id}/invitations\",\n \"GET /teams/{team_id}/members\",\n \"GET /teams/{team_id}/projects\",\n \"GET /teams/{team_id}/repos\",\n \"GET /teams/{team_id}/teams\",\n \"GET /user/blocks\",\n \"GET /user/codespaces\",\n \"GET /user/codespaces/secrets\",\n \"GET /user/emails\",\n \"GET /user/followers\",\n \"GET /user/following\",\n \"GET /user/gpg_keys\",\n \"GET /user/installations\",\n \"GET /user/installations/{installation_id}/repositories\",\n \"GET /user/issues\",\n \"GET /user/keys\",\n \"GET /user/marketplace_purchases\",\n \"GET /user/marketplace_purchases/stubbed\",\n \"GET /user/memberships/orgs\",\n \"GET /user/migrations\",\n \"GET /user/migrations/{migration_id}/repositories\",\n \"GET /user/orgs\",\n \"GET /user/packages\",\n \"GET /user/packages/{package_type}/{package_name}/versions\",\n \"GET /user/public_emails\",\n \"GET /user/repos\",\n \"GET /user/repository_invitations\",\n \"GET /user/social_accounts\",\n \"GET /user/ssh_signing_keys\",\n \"GET /user/starred\",\n \"GET /user/subscriptions\",\n \"GET /user/teams\",\n \"GET /users\",\n \"GET /users/{username}/events\",\n \"GET /users/{username}/events/orgs/{org}\",\n \"GET /users/{username}/events/public\",\n \"GET /users/{username}/followers\",\n \"GET /users/{username}/following\",\n \"GET /users/{username}/gists\",\n \"GET /users/{username}/gpg_keys\",\n \"GET /users/{username}/keys\",\n \"GET /users/{username}/orgs\",\n \"GET /users/{username}/packages\",\n \"GET /users/{username}/projects\",\n \"GET /users/{username}/received_events\",\n \"GET /users/{username}/received_events/public\",\n \"GET /users/{username}/repos\",\n \"GET /users/{username}/social_accounts\",\n \"GET /users/{username}/ssh_signing_keys\",\n \"GET /users/{username}/starred\",\n \"GET /users/{username}/subscriptions\"\n];\nexport {\n paginatingEndpoints\n};\n", "import {\n paginatingEndpoints\n} from \"./generated/paginating-endpoints\";\nimport { paginatingEndpoints as paginatingEndpoints2 } from \"./generated/paginating-endpoints\";\nfunction isPaginatingEndpoint(arg) {\n if (typeof arg === \"string\") {\n return paginatingEndpoints.includes(arg);\n } else {\n return false;\n }\n}\nexport {\n isPaginatingEndpoint,\n paginatingEndpoints2 as paginatingEndpoints\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA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ACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA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OAAO,GAAG;AAAA,MACpD,UAAU,SAAS,KAAK,MAAM,OAAO;AAAA,IACvC,CAAC;AAAA,EACH;AACF;AACA,aAAa,UAAU;",
6
+ "names": []
7
+ }
@@ -1,5 +1,8 @@
1
1
  import { paginate } from "./paginate";
2
2
  import { iterator } from "./iterator";
3
- export const composePaginateRest = Object.assign(paginate, {
4
- iterator,
3
+ const composePaginateRest = Object.assign(paginate, {
4
+ iterator
5
5
  });
6
+ export {
7
+ composePaginateRest
8
+ };