@alanszp/express-common-fn 12.0.2 → 13.0.0

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 (954) hide show
  1. package/dist/commonErrorsHandler.d.ts +3 -0
  2. package/dist/commonErrorsHandler.js +3 -0
  3. package/dist/commonErrorsHandler.js.map +1 -1
  4. package/package.json +6 -9
  5. package/.gitignore +0 -3
  6. package/.npmignore +0 -3
  7. package/node_modules/@alanszp/audit/.gitignore +0 -3
  8. package/node_modules/@alanszp/audit/.npmignore +0 -3
  9. package/node_modules/@alanszp/audit/LICENSE +0 -21
  10. package/node_modules/@alanszp/audit/dist/audit.d.ts +0 -9
  11. package/node_modules/@alanszp/audit/dist/audit.js +0 -25
  12. package/node_modules/@alanszp/audit/dist/audit.js.map +0 -1
  13. package/node_modules/@alanszp/audit/dist/auditWithState.d.ts +0 -10
  14. package/node_modules/@alanszp/audit/dist/auditWithState.js +0 -22
  15. package/node_modules/@alanszp/audit/dist/auditWithState.js.map +0 -1
  16. package/node_modules/@alanszp/audit/dist/errors/AuditError.d.ts +0 -3
  17. package/node_modules/@alanszp/audit/dist/errors/AuditError.js +0 -8
  18. package/node_modules/@alanszp/audit/dist/errors/AuditError.js.map +0 -1
  19. package/node_modules/@alanszp/audit/dist/errors/MissingAuditFieldsError.d.ts +0 -9
  20. package/node_modules/@alanszp/audit/dist/errors/MissingAuditFieldsError.js +0 -23
  21. package/node_modules/@alanszp/audit/dist/errors/MissingAuditFieldsError.js.map +0 -1
  22. package/node_modules/@alanszp/audit/dist/errors/index.d.ts +0 -2
  23. package/node_modules/@alanszp/audit/dist/errors/index.js +0 -19
  24. package/node_modules/@alanszp/audit/dist/errors/index.js.map +0 -1
  25. package/node_modules/@alanszp/audit/dist/factory.d.ts +0 -4
  26. package/node_modules/@alanszp/audit/dist/factory.js +0 -16
  27. package/node_modules/@alanszp/audit/dist/factory.js.map +0 -1
  28. package/node_modules/@alanszp/audit/dist/index.d.ts +0 -5
  29. package/node_modules/@alanszp/audit/dist/index.js +0 -22
  30. package/node_modules/@alanszp/audit/dist/index.js.map +0 -1
  31. package/node_modules/@alanszp/audit/dist/interfaces.d.ts +0 -22
  32. package/node_modules/@alanszp/audit/dist/interfaces.js +0 -18
  33. package/node_modules/@alanszp/audit/dist/interfaces.js.map +0 -1
  34. package/node_modules/@alanszp/audit/node_modules/@types/node/LICENSE +0 -21
  35. package/node_modules/@alanszp/audit/node_modules/@types/node/README.md +0 -15
  36. package/node_modules/@alanszp/audit/node_modules/@types/node/assert/strict.d.ts +0 -8
  37. package/node_modules/@alanszp/audit/node_modules/@types/node/assert.d.ts +0 -996
  38. package/node_modules/@alanszp/audit/node_modules/@types/node/async_hooks.d.ts +0 -539
  39. package/node_modules/@alanszp/audit/node_modules/@types/node/buffer.d.ts +0 -2362
  40. package/node_modules/@alanszp/audit/node_modules/@types/node/child_process.d.ts +0 -1540
  41. package/node_modules/@alanszp/audit/node_modules/@types/node/cluster.d.ts +0 -432
  42. package/node_modules/@alanszp/audit/node_modules/@types/node/console.d.ts +0 -415
  43. package/node_modules/@alanszp/audit/node_modules/@types/node/constants.d.ts +0 -19
  44. package/node_modules/@alanszp/audit/node_modules/@types/node/crypto.d.ts +0 -4487
  45. package/node_modules/@alanszp/audit/node_modules/@types/node/dgram.d.ts +0 -596
  46. package/node_modules/@alanszp/audit/node_modules/@types/node/diagnostics_channel.d.ts +0 -545
  47. package/node_modules/@alanszp/audit/node_modules/@types/node/dns/promises.d.ts +0 -425
  48. package/node_modules/@alanszp/audit/node_modules/@types/node/dns.d.ts +0 -809
  49. package/node_modules/@alanszp/audit/node_modules/@types/node/dom-events.d.ts +0 -122
  50. package/node_modules/@alanszp/audit/node_modules/@types/node/domain.d.ts +0 -170
  51. package/node_modules/@alanszp/audit/node_modules/@types/node/events.d.ts +0 -879
  52. package/node_modules/@alanszp/audit/node_modules/@types/node/fs/promises.d.ts +0 -1239
  53. package/node_modules/@alanszp/audit/node_modules/@types/node/fs.d.ts +0 -4311
  54. package/node_modules/@alanszp/audit/node_modules/@types/node/globals.d.ts +0 -411
  55. package/node_modules/@alanszp/audit/node_modules/@types/node/globals.global.d.ts +0 -1
  56. package/node_modules/@alanszp/audit/node_modules/@types/node/http.d.ts +0 -1887
  57. package/node_modules/@alanszp/audit/node_modules/@types/node/http2.d.ts +0 -2382
  58. package/node_modules/@alanszp/audit/node_modules/@types/node/https.d.ts +0 -550
  59. package/node_modules/@alanszp/audit/node_modules/@types/node/index.d.ts +0 -88
  60. package/node_modules/@alanszp/audit/node_modules/@types/node/inspector.d.ts +0 -2747
  61. package/node_modules/@alanszp/audit/node_modules/@types/node/module.d.ts +0 -315
  62. package/node_modules/@alanszp/audit/node_modules/@types/node/net.d.ts +0 -949
  63. package/node_modules/@alanszp/audit/node_modules/@types/node/os.d.ts +0 -478
  64. package/node_modules/@alanszp/audit/node_modules/@types/node/package.json +0 -229
  65. package/node_modules/@alanszp/audit/node_modules/@types/node/path.d.ts +0 -191
  66. package/node_modules/@alanszp/audit/node_modules/@types/node/perf_hooks.d.ts +0 -645
  67. package/node_modules/@alanszp/audit/node_modules/@types/node/process.d.ts +0 -1561
  68. package/node_modules/@alanszp/audit/node_modules/@types/node/punycode.d.ts +0 -117
  69. package/node_modules/@alanszp/audit/node_modules/@types/node/querystring.d.ts +0 -141
  70. package/node_modules/@alanszp/audit/node_modules/@types/node/readline/promises.d.ts +0 -150
  71. package/node_modules/@alanszp/audit/node_modules/@types/node/readline.d.ts +0 -539
  72. package/node_modules/@alanszp/audit/node_modules/@types/node/repl.d.ts +0 -430
  73. package/node_modules/@alanszp/audit/node_modules/@types/node/stream/consumers.d.ts +0 -12
  74. package/node_modules/@alanszp/audit/node_modules/@types/node/stream/promises.d.ts +0 -83
  75. package/node_modules/@alanszp/audit/node_modules/@types/node/stream/web.d.ts +0 -366
  76. package/node_modules/@alanszp/audit/node_modules/@types/node/stream.d.ts +0 -1701
  77. package/node_modules/@alanszp/audit/node_modules/@types/node/string_decoder.d.ts +0 -67
  78. package/node_modules/@alanszp/audit/node_modules/@types/node/test.d.ts +0 -1465
  79. package/node_modules/@alanszp/audit/node_modules/@types/node/timers/promises.d.ts +0 -93
  80. package/node_modules/@alanszp/audit/node_modules/@types/node/timers.d.ts +0 -240
  81. package/node_modules/@alanszp/audit/node_modules/@types/node/tls.d.ts +0 -1210
  82. package/node_modules/@alanszp/audit/node_modules/@types/node/trace_events.d.ts +0 -182
  83. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  84. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  85. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  86. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  87. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  88. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  89. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  90. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  91. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4487
  92. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/dgram.d.ts +0 -596
  93. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -545
  94. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  95. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  96. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  97. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  98. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/events.d.ts +0 -879
  99. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
  100. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/fs.d.ts +0 -4311
  101. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/globals.d.ts +0 -411
  102. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  103. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/http.d.ts +0 -1887
  104. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  105. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  106. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  107. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  108. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/module.d.ts +0 -315
  109. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  110. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/os.d.ts +0 -478
  111. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  112. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -645
  113. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/process.d.ts +0 -1561
  114. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  115. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  116. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  117. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  118. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  119. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  120. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  121. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -366
  122. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  123. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  124. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/test.d.ts +0 -1465
  125. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  126. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  127. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  128. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  129. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  130. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  131. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  132. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/v8.d.ts +0 -764
  133. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
  134. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/wasi.d.ts +0 -179
  135. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  136. package/node_modules/@alanszp/audit/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  137. package/node_modules/@alanszp/audit/node_modules/@types/node/tty.d.ts +0 -208
  138. package/node_modules/@alanszp/audit/node_modules/@types/node/url.d.ts +0 -927
  139. package/node_modules/@alanszp/audit/node_modules/@types/node/util.d.ts +0 -2183
  140. package/node_modules/@alanszp/audit/node_modules/@types/node/v8.d.ts +0 -764
  141. package/node_modules/@alanszp/audit/node_modules/@types/node/vm.d.ts +0 -903
  142. package/node_modules/@alanszp/audit/node_modules/@types/node/wasi.d.ts +0 -179
  143. package/node_modules/@alanszp/audit/node_modules/@types/node/worker_threads.d.ts +0 -691
  144. package/node_modules/@alanszp/audit/node_modules/@types/node/zlib.d.ts +0 -517
  145. package/node_modules/@alanszp/audit/package.json +0 -32
  146. package/node_modules/@alanszp/audit/src/audit.ts +0 -31
  147. package/node_modules/@alanszp/audit/src/auditWithState.ts +0 -27
  148. package/node_modules/@alanszp/audit/src/errors/AuditError.ts +0 -3
  149. package/node_modules/@alanszp/audit/src/errors/MissingAuditFieldsError.ts +0 -25
  150. package/node_modules/@alanszp/audit/src/errors/index.ts +0 -2
  151. package/node_modules/@alanszp/audit/src/factory.ts +0 -16
  152. package/node_modules/@alanszp/audit/src/index.ts +0 -5
  153. package/node_modules/@alanszp/audit/src/interfaces.ts +0 -38
  154. package/node_modules/@alanszp/audit/tsconfig.json +0 -15
  155. package/node_modules/@alanszp/errors/.gitignore +0 -3
  156. package/node_modules/@alanszp/errors/.npmignore +0 -3
  157. package/node_modules/@alanszp/errors/LICENSE +0 -21
  158. package/node_modules/@alanszp/errors/dist/BaseError.d.ts +0 -3
  159. package/node_modules/@alanszp/errors/dist/BaseError.js +0 -18
  160. package/node_modules/@alanszp/errors/dist/BaseError.js.map +0 -1
  161. package/node_modules/@alanszp/errors/dist/HttpRenderableError.d.ts +0 -4
  162. package/node_modules/@alanszp/errors/dist/HttpRenderableError.js +0 -8
  163. package/node_modules/@alanszp/errors/dist/HttpRenderableError.js.map +0 -1
  164. package/node_modules/@alanszp/errors/dist/InternalServerError.d.ts +0 -8
  165. package/node_modules/@alanszp/errors/dist/InternalServerError.js +0 -24
  166. package/node_modules/@alanszp/errors/dist/InternalServerError.js.map +0 -1
  167. package/node_modules/@alanszp/errors/dist/RenderableError.d.ts +0 -15
  168. package/node_modules/@alanszp/errors/dist/RenderableError.js +0 -27
  169. package/node_modules/@alanszp/errors/dist/RenderableError.js.map +0 -1
  170. package/node_modules/@alanszp/errors/dist/index.d.ts +0 -4
  171. package/node_modules/@alanszp/errors/dist/index.js +0 -17
  172. package/node_modules/@alanszp/errors/dist/index.js.map +0 -1
  173. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/.gitignore +0 -3
  174. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/.npmignore +0 -3
  175. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/LICENSE +0 -21
  176. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/app/appIdentifier.d.ts +0 -1
  177. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/app/appIdentifier.js +0 -10
  178. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/app/appIdentifier.js.map +0 -1
  179. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/app/index.d.ts +0 -1
  180. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/app/index.js +0 -18
  181. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/app/index.js.map +0 -1
  182. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/assignKey.d.ts +0 -2
  183. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/assignKey.js +0 -20
  184. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/assignKey.js.map +0 -1
  185. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/editable/index.d.ts +0 -2
  186. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/editable/index.js +0 -19
  187. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/editable/index.js.map +0 -1
  188. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/editable/keepOrUpdate.d.ts +0 -3
  189. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/editable/keepOrUpdate.js +0 -26
  190. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/editable/keepOrUpdate.js.map +0 -1
  191. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/editable/types.d.ts +0 -6
  192. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/editable/types.js +0 -3
  193. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/editable/types.js.map +0 -1
  194. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/index.d.ts +0 -4
  195. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/index.js +0 -21
  196. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/index.js.map +0 -1
  197. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/lists/ListResult.d.ts +0 -7
  198. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/lists/ListResult.js +0 -8
  199. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/lists/ListResult.js.map +0 -1
  200. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/lists/Orderable.d.ts +0 -11
  201. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/lists/Orderable.js +0 -13
  202. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/lists/Orderable.js.map +0 -1
  203. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/lists/Paginable.d.ts +0 -14
  204. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/lists/Paginable.js +0 -22
  205. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/lists/Paginable.js.map +0 -1
  206. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/lists/index.d.ts +0 -3
  207. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/lists/index.js +0 -20
  208. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/dist/lists/index.js.map +0 -1
  209. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/package.json +0 -25
  210. package/node_modules/@alanszp/errors/node_modules/@alanszp/core/tsconfig.json +0 -15
  211. package/node_modules/@alanszp/errors/node_modules/@types/node/LICENSE +0 -21
  212. package/node_modules/@alanszp/errors/node_modules/@types/node/README.md +0 -15
  213. package/node_modules/@alanszp/errors/node_modules/@types/node/assert/strict.d.ts +0 -8
  214. package/node_modules/@alanszp/errors/node_modules/@types/node/assert.d.ts +0 -996
  215. package/node_modules/@alanszp/errors/node_modules/@types/node/async_hooks.d.ts +0 -539
  216. package/node_modules/@alanszp/errors/node_modules/@types/node/buffer.d.ts +0 -2362
  217. package/node_modules/@alanszp/errors/node_modules/@types/node/child_process.d.ts +0 -1540
  218. package/node_modules/@alanszp/errors/node_modules/@types/node/cluster.d.ts +0 -432
  219. package/node_modules/@alanszp/errors/node_modules/@types/node/console.d.ts +0 -415
  220. package/node_modules/@alanszp/errors/node_modules/@types/node/constants.d.ts +0 -19
  221. package/node_modules/@alanszp/errors/node_modules/@types/node/crypto.d.ts +0 -4487
  222. package/node_modules/@alanszp/errors/node_modules/@types/node/dgram.d.ts +0 -596
  223. package/node_modules/@alanszp/errors/node_modules/@types/node/diagnostics_channel.d.ts +0 -545
  224. package/node_modules/@alanszp/errors/node_modules/@types/node/dns/promises.d.ts +0 -425
  225. package/node_modules/@alanszp/errors/node_modules/@types/node/dns.d.ts +0 -809
  226. package/node_modules/@alanszp/errors/node_modules/@types/node/dom-events.d.ts +0 -122
  227. package/node_modules/@alanszp/errors/node_modules/@types/node/domain.d.ts +0 -170
  228. package/node_modules/@alanszp/errors/node_modules/@types/node/events.d.ts +0 -879
  229. package/node_modules/@alanszp/errors/node_modules/@types/node/fs/promises.d.ts +0 -1239
  230. package/node_modules/@alanszp/errors/node_modules/@types/node/fs.d.ts +0 -4311
  231. package/node_modules/@alanszp/errors/node_modules/@types/node/globals.d.ts +0 -411
  232. package/node_modules/@alanszp/errors/node_modules/@types/node/globals.global.d.ts +0 -1
  233. package/node_modules/@alanszp/errors/node_modules/@types/node/http.d.ts +0 -1887
  234. package/node_modules/@alanszp/errors/node_modules/@types/node/http2.d.ts +0 -2382
  235. package/node_modules/@alanszp/errors/node_modules/@types/node/https.d.ts +0 -550
  236. package/node_modules/@alanszp/errors/node_modules/@types/node/index.d.ts +0 -88
  237. package/node_modules/@alanszp/errors/node_modules/@types/node/inspector.d.ts +0 -2747
  238. package/node_modules/@alanszp/errors/node_modules/@types/node/module.d.ts +0 -315
  239. package/node_modules/@alanszp/errors/node_modules/@types/node/net.d.ts +0 -949
  240. package/node_modules/@alanszp/errors/node_modules/@types/node/os.d.ts +0 -478
  241. package/node_modules/@alanszp/errors/node_modules/@types/node/package.json +0 -229
  242. package/node_modules/@alanszp/errors/node_modules/@types/node/path.d.ts +0 -191
  243. package/node_modules/@alanszp/errors/node_modules/@types/node/perf_hooks.d.ts +0 -645
  244. package/node_modules/@alanszp/errors/node_modules/@types/node/process.d.ts +0 -1561
  245. package/node_modules/@alanszp/errors/node_modules/@types/node/punycode.d.ts +0 -117
  246. package/node_modules/@alanszp/errors/node_modules/@types/node/querystring.d.ts +0 -141
  247. package/node_modules/@alanszp/errors/node_modules/@types/node/readline/promises.d.ts +0 -150
  248. package/node_modules/@alanszp/errors/node_modules/@types/node/readline.d.ts +0 -539
  249. package/node_modules/@alanszp/errors/node_modules/@types/node/repl.d.ts +0 -430
  250. package/node_modules/@alanszp/errors/node_modules/@types/node/stream/consumers.d.ts +0 -12
  251. package/node_modules/@alanszp/errors/node_modules/@types/node/stream/promises.d.ts +0 -83
  252. package/node_modules/@alanszp/errors/node_modules/@types/node/stream/web.d.ts +0 -366
  253. package/node_modules/@alanszp/errors/node_modules/@types/node/stream.d.ts +0 -1701
  254. package/node_modules/@alanszp/errors/node_modules/@types/node/string_decoder.d.ts +0 -67
  255. package/node_modules/@alanszp/errors/node_modules/@types/node/test.d.ts +0 -1465
  256. package/node_modules/@alanszp/errors/node_modules/@types/node/timers/promises.d.ts +0 -93
  257. package/node_modules/@alanszp/errors/node_modules/@types/node/timers.d.ts +0 -240
  258. package/node_modules/@alanszp/errors/node_modules/@types/node/tls.d.ts +0 -1210
  259. package/node_modules/@alanszp/errors/node_modules/@types/node/trace_events.d.ts +0 -182
  260. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  261. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  262. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  263. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  264. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  265. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  266. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  267. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  268. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4487
  269. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/dgram.d.ts +0 -596
  270. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -545
  271. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  272. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  273. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  274. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  275. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/events.d.ts +0 -879
  276. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
  277. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/fs.d.ts +0 -4311
  278. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/globals.d.ts +0 -411
  279. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  280. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/http.d.ts +0 -1887
  281. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  282. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  283. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  284. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  285. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/module.d.ts +0 -315
  286. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  287. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/os.d.ts +0 -478
  288. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  289. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -645
  290. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/process.d.ts +0 -1561
  291. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  292. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  293. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  294. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  295. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  296. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  297. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  298. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -366
  299. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  300. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  301. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/test.d.ts +0 -1465
  302. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  303. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  304. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  305. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  306. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  307. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  308. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  309. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/v8.d.ts +0 -764
  310. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
  311. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/wasi.d.ts +0 -179
  312. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  313. package/node_modules/@alanszp/errors/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  314. package/node_modules/@alanszp/errors/node_modules/@types/node/tty.d.ts +0 -208
  315. package/node_modules/@alanszp/errors/node_modules/@types/node/url.d.ts +0 -927
  316. package/node_modules/@alanszp/errors/node_modules/@types/node/util.d.ts +0 -2183
  317. package/node_modules/@alanszp/errors/node_modules/@types/node/v8.d.ts +0 -764
  318. package/node_modules/@alanszp/errors/node_modules/@types/node/vm.d.ts +0 -903
  319. package/node_modules/@alanszp/errors/node_modules/@types/node/wasi.d.ts +0 -179
  320. package/node_modules/@alanszp/errors/node_modules/@types/node/worker_threads.d.ts +0 -691
  321. package/node_modules/@alanszp/errors/node_modules/@types/node/zlib.d.ts +0 -517
  322. package/node_modules/@alanszp/errors/package.json +0 -33
  323. package/node_modules/@alanszp/errors/src/BaseError.ts +0 -14
  324. package/node_modules/@alanszp/errors/src/HttpRenderableError.ts +0 -5
  325. package/node_modules/@alanszp/errors/src/InternalServerError.ts +0 -32
  326. package/node_modules/@alanszp/errors/src/RenderableError.ts +0 -37
  327. package/node_modules/@alanszp/errors/src/index.ts +0 -4
  328. package/node_modules/@alanszp/errors/tsconfig.json +0 -15
  329. package/node_modules/@alanszp/express/.gitignore +0 -3
  330. package/node_modules/@alanszp/express/.npmignore +0 -3
  331. package/node_modules/@alanszp/express/LICENSE +0 -21
  332. package/node_modules/@alanszp/express/babel.config.js +0 -7
  333. package/node_modules/@alanszp/express/dist/helpers/getIp.d.ts +0 -2
  334. package/node_modules/@alanszp/express/dist/helpers/getIp.js +0 -9
  335. package/node_modules/@alanszp/express/dist/helpers/getIp.js.map +0 -1
  336. package/node_modules/@alanszp/express/dist/helpers/getRequestLogger.d.ts +0 -2
  337. package/node_modules/@alanszp/express/dist/helpers/getRequestLogger.js +0 -10
  338. package/node_modules/@alanszp/express/dist/helpers/getRequestLogger.js.map +0 -1
  339. package/node_modules/@alanszp/express/dist/helpers/now.d.ts +0 -1
  340. package/node_modules/@alanszp/express/dist/helpers/now.js +0 -8
  341. package/node_modules/@alanszp/express/dist/helpers/now.js.map +0 -1
  342. package/node_modules/@alanszp/express/dist/helpers/renderErrorJson.d.ts +0 -4
  343. package/node_modules/@alanszp/express/dist/helpers/renderErrorJson.js +0 -32
  344. package/node_modules/@alanszp/express/dist/helpers/renderErrorJson.js.map +0 -1
  345. package/node_modules/@alanszp/express/dist/index.d.ts +0 -10
  346. package/node_modules/@alanszp/express/dist/index.js +0 -23
  347. package/node_modules/@alanszp/express/dist/index.js.map +0 -1
  348. package/node_modules/@alanszp/express/dist/middlewares/accessLogger.d.ts +0 -3
  349. package/node_modules/@alanszp/express/dist/middlewares/accessLogger.js +0 -30
  350. package/node_modules/@alanszp/express/dist/middlewares/accessLogger.js.map +0 -1
  351. package/node_modules/@alanszp/express/dist/middlewares/auditLog.d.ts +0 -8
  352. package/node_modules/@alanszp/express/dist/middlewares/auditLog.js +0 -44
  353. package/node_modules/@alanszp/express/dist/middlewares/auditLog.js.map +0 -1
  354. package/node_modules/@alanszp/express/dist/middlewares/authedForOrg.d.ts +0 -3
  355. package/node_modules/@alanszp/express/dist/middlewares/authedForOrg.js +0 -45
  356. package/node_modules/@alanszp/express/dist/middlewares/authedForOrg.js.map +0 -1
  357. package/node_modules/@alanszp/express/dist/middlewares/authenticateUser.d.ts +0 -25
  358. package/node_modules/@alanszp/express/dist/middlewares/authenticateUser.js +0 -115
  359. package/node_modules/@alanszp/express/dist/middlewares/authenticateUser.js.map +0 -1
  360. package/node_modules/@alanszp/express/dist/middlewares/authenticateUser.test.d.ts +0 -1
  361. package/node_modules/@alanszp/express/dist/middlewares/authenticateUser.test.js +0 -308
  362. package/node_modules/@alanszp/express/dist/middlewares/authenticateUser.test.js.map +0 -1
  363. package/node_modules/@alanszp/express/dist/middlewares/createContext.d.ts +0 -6
  364. package/node_modules/@alanszp/express/dist/middlewares/createContext.js +0 -35
  365. package/node_modules/@alanszp/express/dist/middlewares/createContext.js.map +0 -1
  366. package/node_modules/@alanszp/express/dist/middlewares/createContext.test.d.ts +0 -1
  367. package/node_modules/@alanszp/express/dist/middlewares/createContext.test.js +0 -50
  368. package/node_modules/@alanszp/express/dist/middlewares/createContext.test.js.map +0 -1
  369. package/node_modules/@alanszp/express/dist/middlewares/hasRoles.d.ts +0 -3
  370. package/node_modules/@alanszp/express/dist/middlewares/hasRoles.js +0 -21
  371. package/node_modules/@alanszp/express/dist/middlewares/hasRoles.js.map +0 -1
  372. package/node_modules/@alanszp/express/dist/middlewares/jsonBodyParser.d.ts +0 -4
  373. package/node_modules/@alanszp/express/dist/middlewares/jsonBodyParser.js +0 -22
  374. package/node_modules/@alanszp/express/dist/middlewares/jsonBodyParser.js.map +0 -1
  375. package/node_modules/@alanszp/express/dist/middlewares/returnInternalServerError.d.ts +0 -4
  376. package/node_modules/@alanszp/express/dist/middlewares/returnInternalServerError.js +0 -10
  377. package/node_modules/@alanszp/express/dist/middlewares/returnInternalServerError.js.map +0 -1
  378. package/node_modules/@alanszp/express/dist/middlewares/returnNotFound.d.ts +0 -3
  379. package/node_modules/@alanszp/express/dist/middlewares/returnNotFound.js +0 -9
  380. package/node_modules/@alanszp/express/dist/middlewares/returnNotFound.js.map +0 -1
  381. package/node_modules/@alanszp/express/dist/test/mocks/authOptionsMocks.d.ts +0 -8
  382. package/node_modules/@alanszp/express/dist/test/mocks/authOptionsMocks.js +0 -30
  383. package/node_modules/@alanszp/express/dist/test/mocks/authOptionsMocks.js.map +0 -1
  384. package/node_modules/@alanszp/express/dist/test/mocks/expressMocks.d.ts +0 -6
  385. package/node_modules/@alanszp/express/dist/test/mocks/expressMocks.js +0 -26
  386. package/node_modules/@alanszp/express/dist/test/mocks/expressMocks.js.map +0 -1
  387. package/node_modules/@alanszp/express/dist/test/mocks/jwtUserMocks.d.ts +0 -3
  388. package/node_modules/@alanszp/express/dist/test/mocks/jwtUserMocks.js +0 -21
  389. package/node_modules/@alanszp/express/dist/test/mocks/jwtUserMocks.js.map +0 -1
  390. package/node_modules/@alanszp/express/dist/test/setup.d.ts +0 -1
  391. package/node_modules/@alanszp/express/dist/test/setup.js +0 -5
  392. package/node_modules/@alanszp/express/dist/test/setup.js.map +0 -1
  393. package/node_modules/@alanszp/express/dist/test/setup.test.d.ts +0 -1
  394. package/node_modules/@alanszp/express/dist/test/setup.test.js +0 -14
  395. package/node_modules/@alanszp/express/dist/test/setup.test.js.map +0 -1
  396. package/node_modules/@alanszp/express/dist/types/AuthMethod.d.ts +0 -10
  397. package/node_modules/@alanszp/express/dist/types/AuthMethod.js +0 -3
  398. package/node_modules/@alanszp/express/dist/types/AuthMethod.js.map +0 -1
  399. package/node_modules/@alanszp/express/dist/types/GenericRequest.d.ts +0 -2
  400. package/node_modules/@alanszp/express/dist/types/GenericRequest.js +0 -3
  401. package/node_modules/@alanszp/express/dist/types/GenericRequest.js.map +0 -1
  402. package/node_modules/@alanszp/express/jest.config.js +0 -10
  403. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/LICENSE +0 -21
  404. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/README.md +0 -5
  405. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/build/index.d.ts +0 -93
  406. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/build/index.js +0 -37
  407. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/build/jasmineUtils.js +0 -282
  408. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/build/types.js +0 -1
  409. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/build/utils.js +0 -457
  410. package/node_modules/@alanszp/express/node_modules/@jest/expect-utils/package.json +0 -33
  411. package/node_modules/@alanszp/express/node_modules/@jest/types/LICENSE +0 -21
  412. package/node_modules/@alanszp/express/node_modules/@jest/types/README.md +0 -30
  413. package/node_modules/@alanszp/express/node_modules/@jest/types/build/Circus.js +0 -1
  414. package/node_modules/@alanszp/express/node_modules/@jest/types/build/Config.js +0 -1
  415. package/node_modules/@alanszp/express/node_modules/@jest/types/build/Global.js +0 -1
  416. package/node_modules/@alanszp/express/node_modules/@jest/types/build/TestResult.js +0 -1
  417. package/node_modules/@alanszp/express/node_modules/@jest/types/build/Transform.js +0 -1
  418. package/node_modules/@alanszp/express/node_modules/@jest/types/build/index.d.ts +0 -1166
  419. package/node_modules/@alanszp/express/node_modules/@jest/types/build/index.js +0 -1
  420. package/node_modules/@alanszp/express/node_modules/@jest/types/package.json +0 -38
  421. package/node_modules/@alanszp/express/node_modules/@types/jest/LICENSE +0 -21
  422. package/node_modules/@alanszp/express/node_modules/@types/jest/README.md +0 -17
  423. package/node_modules/@alanszp/express/node_modules/@types/jest/index.d.ts +0 -1608
  424. package/node_modules/@alanszp/express/node_modules/@types/jest/package.json +0 -159
  425. package/node_modules/@alanszp/express/node_modules/@types/node/LICENSE +0 -21
  426. package/node_modules/@alanszp/express/node_modules/@types/node/README.md +0 -15
  427. package/node_modules/@alanszp/express/node_modules/@types/node/assert/strict.d.ts +0 -8
  428. package/node_modules/@alanszp/express/node_modules/@types/node/assert.d.ts +0 -996
  429. package/node_modules/@alanszp/express/node_modules/@types/node/async_hooks.d.ts +0 -539
  430. package/node_modules/@alanszp/express/node_modules/@types/node/buffer.d.ts +0 -2362
  431. package/node_modules/@alanszp/express/node_modules/@types/node/child_process.d.ts +0 -1540
  432. package/node_modules/@alanszp/express/node_modules/@types/node/cluster.d.ts +0 -432
  433. package/node_modules/@alanszp/express/node_modules/@types/node/console.d.ts +0 -415
  434. package/node_modules/@alanszp/express/node_modules/@types/node/constants.d.ts +0 -19
  435. package/node_modules/@alanszp/express/node_modules/@types/node/crypto.d.ts +0 -4487
  436. package/node_modules/@alanszp/express/node_modules/@types/node/dgram.d.ts +0 -596
  437. package/node_modules/@alanszp/express/node_modules/@types/node/diagnostics_channel.d.ts +0 -545
  438. package/node_modules/@alanszp/express/node_modules/@types/node/dns/promises.d.ts +0 -425
  439. package/node_modules/@alanszp/express/node_modules/@types/node/dns.d.ts +0 -809
  440. package/node_modules/@alanszp/express/node_modules/@types/node/dom-events.d.ts +0 -122
  441. package/node_modules/@alanszp/express/node_modules/@types/node/domain.d.ts +0 -170
  442. package/node_modules/@alanszp/express/node_modules/@types/node/events.d.ts +0 -879
  443. package/node_modules/@alanszp/express/node_modules/@types/node/fs/promises.d.ts +0 -1239
  444. package/node_modules/@alanszp/express/node_modules/@types/node/fs.d.ts +0 -4311
  445. package/node_modules/@alanszp/express/node_modules/@types/node/globals.d.ts +0 -411
  446. package/node_modules/@alanszp/express/node_modules/@types/node/globals.global.d.ts +0 -1
  447. package/node_modules/@alanszp/express/node_modules/@types/node/http.d.ts +0 -1887
  448. package/node_modules/@alanszp/express/node_modules/@types/node/http2.d.ts +0 -2382
  449. package/node_modules/@alanszp/express/node_modules/@types/node/https.d.ts +0 -550
  450. package/node_modules/@alanszp/express/node_modules/@types/node/index.d.ts +0 -88
  451. package/node_modules/@alanszp/express/node_modules/@types/node/inspector.d.ts +0 -2747
  452. package/node_modules/@alanszp/express/node_modules/@types/node/module.d.ts +0 -315
  453. package/node_modules/@alanszp/express/node_modules/@types/node/net.d.ts +0 -949
  454. package/node_modules/@alanszp/express/node_modules/@types/node/os.d.ts +0 -478
  455. package/node_modules/@alanszp/express/node_modules/@types/node/package.json +0 -229
  456. package/node_modules/@alanszp/express/node_modules/@types/node/path.d.ts +0 -191
  457. package/node_modules/@alanszp/express/node_modules/@types/node/perf_hooks.d.ts +0 -645
  458. package/node_modules/@alanszp/express/node_modules/@types/node/process.d.ts +0 -1561
  459. package/node_modules/@alanszp/express/node_modules/@types/node/punycode.d.ts +0 -117
  460. package/node_modules/@alanszp/express/node_modules/@types/node/querystring.d.ts +0 -141
  461. package/node_modules/@alanszp/express/node_modules/@types/node/readline/promises.d.ts +0 -150
  462. package/node_modules/@alanszp/express/node_modules/@types/node/readline.d.ts +0 -539
  463. package/node_modules/@alanszp/express/node_modules/@types/node/repl.d.ts +0 -430
  464. package/node_modules/@alanszp/express/node_modules/@types/node/stream/consumers.d.ts +0 -12
  465. package/node_modules/@alanszp/express/node_modules/@types/node/stream/promises.d.ts +0 -83
  466. package/node_modules/@alanszp/express/node_modules/@types/node/stream/web.d.ts +0 -366
  467. package/node_modules/@alanszp/express/node_modules/@types/node/stream.d.ts +0 -1701
  468. package/node_modules/@alanszp/express/node_modules/@types/node/string_decoder.d.ts +0 -67
  469. package/node_modules/@alanszp/express/node_modules/@types/node/test.d.ts +0 -1465
  470. package/node_modules/@alanszp/express/node_modules/@types/node/timers/promises.d.ts +0 -93
  471. package/node_modules/@alanszp/express/node_modules/@types/node/timers.d.ts +0 -240
  472. package/node_modules/@alanszp/express/node_modules/@types/node/tls.d.ts +0 -1210
  473. package/node_modules/@alanszp/express/node_modules/@types/node/trace_events.d.ts +0 -182
  474. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  475. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  476. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  477. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  478. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  479. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  480. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  481. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  482. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4487
  483. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/dgram.d.ts +0 -596
  484. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -545
  485. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  486. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  487. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  488. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  489. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/events.d.ts +0 -879
  490. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
  491. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/fs.d.ts +0 -4311
  492. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/globals.d.ts +0 -411
  493. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  494. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/http.d.ts +0 -1887
  495. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  496. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  497. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  498. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  499. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/module.d.ts +0 -315
  500. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  501. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/os.d.ts +0 -478
  502. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  503. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -645
  504. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/process.d.ts +0 -1561
  505. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  506. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  507. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  508. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  509. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  510. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  511. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  512. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -366
  513. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  514. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  515. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/test.d.ts +0 -1465
  516. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  517. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  518. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  519. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  520. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  521. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  522. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  523. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/v8.d.ts +0 -764
  524. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
  525. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/wasi.d.ts +0 -179
  526. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  527. package/node_modules/@alanszp/express/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  528. package/node_modules/@alanszp/express/node_modules/@types/node/tty.d.ts +0 -208
  529. package/node_modules/@alanszp/express/node_modules/@types/node/url.d.ts +0 -927
  530. package/node_modules/@alanszp/express/node_modules/@types/node/util.d.ts +0 -2183
  531. package/node_modules/@alanszp/express/node_modules/@types/node/v8.d.ts +0 -764
  532. package/node_modules/@alanszp/express/node_modules/@types/node/vm.d.ts +0 -903
  533. package/node_modules/@alanszp/express/node_modules/@types/node/wasi.d.ts +0 -179
  534. package/node_modules/@alanszp/express/node_modules/@types/node/worker_threads.d.ts +0 -691
  535. package/node_modules/@alanszp/express/node_modules/@types/node/zlib.d.ts +0 -517
  536. package/node_modules/@alanszp/express/package.json +0 -49
  537. package/node_modules/@alanszp/express/src/helpers/getIp.ts +0 -5
  538. package/node_modules/@alanszp/express/src/helpers/getRequestLogger.ts +0 -6
  539. package/node_modules/@alanszp/express/src/helpers/now.ts +0 -3
  540. package/node_modules/@alanszp/express/src/helpers/renderErrorJson.ts +0 -29
  541. package/node_modules/@alanszp/express/src/index.ts +0 -10
  542. package/node_modules/@alanszp/express/src/middlewares/accessLogger.ts +0 -34
  543. package/node_modules/@alanszp/express/src/middlewares/auditLog.ts +0 -52
  544. package/node_modules/@alanszp/express/src/middlewares/authedForOrg.ts +0 -50
  545. package/node_modules/@alanszp/express/src/middlewares/authenticateUser.test.ts +0 -403
  546. package/node_modules/@alanszp/express/src/middlewares/authenticateUser.ts +0 -171
  547. package/node_modules/@alanszp/express/src/middlewares/createContext.test.ts +0 -85
  548. package/node_modules/@alanszp/express/src/middlewares/createContext.ts +0 -49
  549. package/node_modules/@alanszp/express/src/middlewares/hasRoles.ts +0 -24
  550. package/node_modules/@alanszp/express/src/middlewares/jsonBodyParser.ts +0 -22
  551. package/node_modules/@alanszp/express/src/middlewares/returnInternalServerError.ts +0 -15
  552. package/node_modules/@alanszp/express/src/middlewares/returnNotFound.ts +0 -11
  553. package/node_modules/@alanszp/express/src/test/mocks/authOptionsMocks.ts +0 -35
  554. package/node_modules/@alanszp/express/src/test/mocks/expressMocks.ts +0 -33
  555. package/node_modules/@alanszp/express/src/test/mocks/jwtUserMocks.ts +0 -19
  556. package/node_modules/@alanszp/express/src/test/setup.test.ts +0 -15
  557. package/node_modules/@alanszp/express/src/test/setup.ts +0 -3
  558. package/node_modules/@alanszp/express/src/types/AuthMethod.ts +0 -27
  559. package/node_modules/@alanszp/express/src/types/GenericRequest.ts +0 -3
  560. package/node_modules/@alanszp/express/src/types/custom.d.ts +0 -20
  561. package/node_modules/@alanszp/express/tsconfig.json +0 -18
  562. package/node_modules/@alanszp/jwt/.gitignore +0 -3
  563. package/node_modules/@alanszp/jwt/.npmignore +0 -3
  564. package/node_modules/@alanszp/jwt/LICENSE +0 -21
  565. package/node_modules/@alanszp/jwt/dist/JWTUser.d.ts +0 -31
  566. package/node_modules/@alanszp/jwt/dist/JWTUser.js +0 -62
  567. package/node_modules/@alanszp/jwt/dist/JWTUser.js.map +0 -1
  568. package/node_modules/@alanszp/jwt/dist/index.d.ts +0 -3
  569. package/node_modules/@alanszp/jwt/dist/index.js +0 -16
  570. package/node_modules/@alanszp/jwt/dist/index.js.map +0 -1
  571. package/node_modules/@alanszp/jwt/dist/jwt.d.ts +0 -11
  572. package/node_modules/@alanszp/jwt/dist/jwt.js +0 -67
  573. package/node_modules/@alanszp/jwt/dist/jwt.js.map +0 -1
  574. package/node_modules/@alanszp/jwt/dist/types.d.ts +0 -26
  575. package/node_modules/@alanszp/jwt/dist/types.js +0 -3
  576. package/node_modules/@alanszp/jwt/dist/types.js.map +0 -1
  577. package/node_modules/@alanszp/jwt/node_modules/@types/node/LICENSE +0 -21
  578. package/node_modules/@alanszp/jwt/node_modules/@types/node/README.md +0 -15
  579. package/node_modules/@alanszp/jwt/node_modules/@types/node/assert/strict.d.ts +0 -8
  580. package/node_modules/@alanszp/jwt/node_modules/@types/node/assert.d.ts +0 -996
  581. package/node_modules/@alanszp/jwt/node_modules/@types/node/async_hooks.d.ts +0 -539
  582. package/node_modules/@alanszp/jwt/node_modules/@types/node/buffer.d.ts +0 -2362
  583. package/node_modules/@alanszp/jwt/node_modules/@types/node/child_process.d.ts +0 -1540
  584. package/node_modules/@alanszp/jwt/node_modules/@types/node/cluster.d.ts +0 -432
  585. package/node_modules/@alanszp/jwt/node_modules/@types/node/console.d.ts +0 -415
  586. package/node_modules/@alanszp/jwt/node_modules/@types/node/constants.d.ts +0 -19
  587. package/node_modules/@alanszp/jwt/node_modules/@types/node/crypto.d.ts +0 -4487
  588. package/node_modules/@alanszp/jwt/node_modules/@types/node/dgram.d.ts +0 -596
  589. package/node_modules/@alanszp/jwt/node_modules/@types/node/diagnostics_channel.d.ts +0 -545
  590. package/node_modules/@alanszp/jwt/node_modules/@types/node/dns/promises.d.ts +0 -425
  591. package/node_modules/@alanszp/jwt/node_modules/@types/node/dns.d.ts +0 -809
  592. package/node_modules/@alanszp/jwt/node_modules/@types/node/dom-events.d.ts +0 -122
  593. package/node_modules/@alanszp/jwt/node_modules/@types/node/domain.d.ts +0 -170
  594. package/node_modules/@alanszp/jwt/node_modules/@types/node/events.d.ts +0 -879
  595. package/node_modules/@alanszp/jwt/node_modules/@types/node/fs/promises.d.ts +0 -1239
  596. package/node_modules/@alanszp/jwt/node_modules/@types/node/fs.d.ts +0 -4311
  597. package/node_modules/@alanszp/jwt/node_modules/@types/node/globals.d.ts +0 -411
  598. package/node_modules/@alanszp/jwt/node_modules/@types/node/globals.global.d.ts +0 -1
  599. package/node_modules/@alanszp/jwt/node_modules/@types/node/http.d.ts +0 -1887
  600. package/node_modules/@alanszp/jwt/node_modules/@types/node/http2.d.ts +0 -2382
  601. package/node_modules/@alanszp/jwt/node_modules/@types/node/https.d.ts +0 -550
  602. package/node_modules/@alanszp/jwt/node_modules/@types/node/index.d.ts +0 -88
  603. package/node_modules/@alanszp/jwt/node_modules/@types/node/inspector.d.ts +0 -2747
  604. package/node_modules/@alanszp/jwt/node_modules/@types/node/module.d.ts +0 -315
  605. package/node_modules/@alanszp/jwt/node_modules/@types/node/net.d.ts +0 -949
  606. package/node_modules/@alanszp/jwt/node_modules/@types/node/os.d.ts +0 -478
  607. package/node_modules/@alanszp/jwt/node_modules/@types/node/package.json +0 -229
  608. package/node_modules/@alanszp/jwt/node_modules/@types/node/path.d.ts +0 -191
  609. package/node_modules/@alanszp/jwt/node_modules/@types/node/perf_hooks.d.ts +0 -645
  610. package/node_modules/@alanszp/jwt/node_modules/@types/node/process.d.ts +0 -1561
  611. package/node_modules/@alanszp/jwt/node_modules/@types/node/punycode.d.ts +0 -117
  612. package/node_modules/@alanszp/jwt/node_modules/@types/node/querystring.d.ts +0 -141
  613. package/node_modules/@alanszp/jwt/node_modules/@types/node/readline/promises.d.ts +0 -150
  614. package/node_modules/@alanszp/jwt/node_modules/@types/node/readline.d.ts +0 -539
  615. package/node_modules/@alanszp/jwt/node_modules/@types/node/repl.d.ts +0 -430
  616. package/node_modules/@alanszp/jwt/node_modules/@types/node/stream/consumers.d.ts +0 -12
  617. package/node_modules/@alanszp/jwt/node_modules/@types/node/stream/promises.d.ts +0 -83
  618. package/node_modules/@alanszp/jwt/node_modules/@types/node/stream/web.d.ts +0 -366
  619. package/node_modules/@alanszp/jwt/node_modules/@types/node/stream.d.ts +0 -1701
  620. package/node_modules/@alanszp/jwt/node_modules/@types/node/string_decoder.d.ts +0 -67
  621. package/node_modules/@alanszp/jwt/node_modules/@types/node/test.d.ts +0 -1465
  622. package/node_modules/@alanszp/jwt/node_modules/@types/node/timers/promises.d.ts +0 -93
  623. package/node_modules/@alanszp/jwt/node_modules/@types/node/timers.d.ts +0 -240
  624. package/node_modules/@alanszp/jwt/node_modules/@types/node/tls.d.ts +0 -1210
  625. package/node_modules/@alanszp/jwt/node_modules/@types/node/trace_events.d.ts +0 -182
  626. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  627. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  628. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  629. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  630. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  631. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  632. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  633. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  634. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4487
  635. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/dgram.d.ts +0 -596
  636. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -545
  637. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  638. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  639. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  640. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  641. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/events.d.ts +0 -879
  642. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
  643. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/fs.d.ts +0 -4311
  644. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/globals.d.ts +0 -411
  645. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  646. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/http.d.ts +0 -1887
  647. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  648. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  649. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  650. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  651. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/module.d.ts +0 -315
  652. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  653. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/os.d.ts +0 -478
  654. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  655. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -645
  656. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/process.d.ts +0 -1561
  657. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  658. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  659. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  660. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  661. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  662. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  663. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  664. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -366
  665. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  666. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  667. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/test.d.ts +0 -1465
  668. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  669. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  670. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  671. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  672. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  673. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  674. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  675. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/v8.d.ts +0 -764
  676. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
  677. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/wasi.d.ts +0 -179
  678. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  679. package/node_modules/@alanszp/jwt/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  680. package/node_modules/@alanszp/jwt/node_modules/@types/node/tty.d.ts +0 -208
  681. package/node_modules/@alanszp/jwt/node_modules/@types/node/url.d.ts +0 -927
  682. package/node_modules/@alanszp/jwt/node_modules/@types/node/util.d.ts +0 -2183
  683. package/node_modules/@alanszp/jwt/node_modules/@types/node/v8.d.ts +0 -764
  684. package/node_modules/@alanszp/jwt/node_modules/@types/node/vm.d.ts +0 -903
  685. package/node_modules/@alanszp/jwt/node_modules/@types/node/wasi.d.ts +0 -179
  686. package/node_modules/@alanszp/jwt/node_modules/@types/node/worker_threads.d.ts +0 -691
  687. package/node_modules/@alanszp/jwt/node_modules/@types/node/zlib.d.ts +0 -517
  688. package/node_modules/@alanszp/jwt/package.json +0 -29
  689. package/node_modules/@alanszp/jwt/src/JWTUser.ts +0 -85
  690. package/node_modules/@alanszp/jwt/src/index.ts +0 -3
  691. package/node_modules/@alanszp/jwt/src/jwt.ts +0 -81
  692. package/node_modules/@alanszp/jwt/src/types.ts +0 -31
  693. package/node_modules/@alanszp/jwt/tsconfig.json +0 -15
  694. package/node_modules/@alanszp/logger/.gitignore +0 -3
  695. package/node_modules/@alanszp/logger/.npmignore +0 -3
  696. package/node_modules/@alanszp/logger/LICENSE +0 -21
  697. package/node_modules/@alanszp/logger/dist/config.d.ts +0 -28
  698. package/node_modules/@alanszp/logger/dist/config.js +0 -3
  699. package/node_modules/@alanszp/logger/dist/config.js.map +0 -1
  700. package/node_modules/@alanszp/logger/dist/factory.d.ts +0 -5
  701. package/node_modules/@alanszp/logger/dist/factory.js +0 -55
  702. package/node_modules/@alanszp/logger/dist/factory.js.map +0 -1
  703. package/node_modules/@alanszp/logger/dist/index.d.ts +0 -5
  704. package/node_modules/@alanszp/logger/dist/index.js +0 -20
  705. package/node_modules/@alanszp/logger/dist/index.js.map +0 -1
  706. package/node_modules/@alanszp/logger/dist/interfaces.d.ts +0 -23
  707. package/node_modules/@alanszp/logger/dist/interfaces.js +0 -18
  708. package/node_modules/@alanszp/logger/dist/interfaces.js.map +0 -1
  709. package/node_modules/@alanszp/logger/dist/logger.d.ts +0 -14
  710. package/node_modules/@alanszp/logger/dist/logger.js +0 -45
  711. package/node_modules/@alanszp/logger/dist/logger.js.map +0 -1
  712. package/node_modules/@alanszp/logger/dist/mock.d.ts +0 -11
  713. package/node_modules/@alanszp/logger/dist/mock.js +0 -32
  714. package/node_modules/@alanszp/logger/dist/mock.js.map +0 -1
  715. package/node_modules/@alanszp/logger/dist/serializer.d.ts +0 -5
  716. package/node_modules/@alanszp/logger/dist/serializer.js +0 -67
  717. package/node_modules/@alanszp/logger/dist/serializer.js.map +0 -1
  718. package/node_modules/@alanszp/logger/dist/slackBunyan.d.ts +0 -16
  719. package/node_modules/@alanszp/logger/dist/slackBunyan.js +0 -108
  720. package/node_modules/@alanszp/logger/dist/slackBunyan.js.map +0 -1
  721. package/node_modules/@alanszp/logger/node_modules/@types/node/LICENSE +0 -21
  722. package/node_modules/@alanszp/logger/node_modules/@types/node/README.md +0 -15
  723. package/node_modules/@alanszp/logger/node_modules/@types/node/assert/strict.d.ts +0 -8
  724. package/node_modules/@alanszp/logger/node_modules/@types/node/assert.d.ts +0 -996
  725. package/node_modules/@alanszp/logger/node_modules/@types/node/async_hooks.d.ts +0 -539
  726. package/node_modules/@alanszp/logger/node_modules/@types/node/buffer.d.ts +0 -2362
  727. package/node_modules/@alanszp/logger/node_modules/@types/node/child_process.d.ts +0 -1540
  728. package/node_modules/@alanszp/logger/node_modules/@types/node/cluster.d.ts +0 -432
  729. package/node_modules/@alanszp/logger/node_modules/@types/node/console.d.ts +0 -415
  730. package/node_modules/@alanszp/logger/node_modules/@types/node/constants.d.ts +0 -19
  731. package/node_modules/@alanszp/logger/node_modules/@types/node/crypto.d.ts +0 -4487
  732. package/node_modules/@alanszp/logger/node_modules/@types/node/dgram.d.ts +0 -596
  733. package/node_modules/@alanszp/logger/node_modules/@types/node/diagnostics_channel.d.ts +0 -545
  734. package/node_modules/@alanszp/logger/node_modules/@types/node/dns/promises.d.ts +0 -425
  735. package/node_modules/@alanszp/logger/node_modules/@types/node/dns.d.ts +0 -809
  736. package/node_modules/@alanszp/logger/node_modules/@types/node/dom-events.d.ts +0 -122
  737. package/node_modules/@alanszp/logger/node_modules/@types/node/domain.d.ts +0 -170
  738. package/node_modules/@alanszp/logger/node_modules/@types/node/events.d.ts +0 -879
  739. package/node_modules/@alanszp/logger/node_modules/@types/node/fs/promises.d.ts +0 -1239
  740. package/node_modules/@alanszp/logger/node_modules/@types/node/fs.d.ts +0 -4311
  741. package/node_modules/@alanszp/logger/node_modules/@types/node/globals.d.ts +0 -411
  742. package/node_modules/@alanszp/logger/node_modules/@types/node/globals.global.d.ts +0 -1
  743. package/node_modules/@alanszp/logger/node_modules/@types/node/http.d.ts +0 -1887
  744. package/node_modules/@alanszp/logger/node_modules/@types/node/http2.d.ts +0 -2382
  745. package/node_modules/@alanszp/logger/node_modules/@types/node/https.d.ts +0 -550
  746. package/node_modules/@alanszp/logger/node_modules/@types/node/index.d.ts +0 -88
  747. package/node_modules/@alanszp/logger/node_modules/@types/node/inspector.d.ts +0 -2747
  748. package/node_modules/@alanszp/logger/node_modules/@types/node/module.d.ts +0 -315
  749. package/node_modules/@alanszp/logger/node_modules/@types/node/net.d.ts +0 -949
  750. package/node_modules/@alanszp/logger/node_modules/@types/node/os.d.ts +0 -478
  751. package/node_modules/@alanszp/logger/node_modules/@types/node/package.json +0 -229
  752. package/node_modules/@alanszp/logger/node_modules/@types/node/path.d.ts +0 -191
  753. package/node_modules/@alanszp/logger/node_modules/@types/node/perf_hooks.d.ts +0 -645
  754. package/node_modules/@alanszp/logger/node_modules/@types/node/process.d.ts +0 -1561
  755. package/node_modules/@alanszp/logger/node_modules/@types/node/punycode.d.ts +0 -117
  756. package/node_modules/@alanszp/logger/node_modules/@types/node/querystring.d.ts +0 -141
  757. package/node_modules/@alanszp/logger/node_modules/@types/node/readline/promises.d.ts +0 -150
  758. package/node_modules/@alanszp/logger/node_modules/@types/node/readline.d.ts +0 -539
  759. package/node_modules/@alanszp/logger/node_modules/@types/node/repl.d.ts +0 -430
  760. package/node_modules/@alanszp/logger/node_modules/@types/node/stream/consumers.d.ts +0 -12
  761. package/node_modules/@alanszp/logger/node_modules/@types/node/stream/promises.d.ts +0 -83
  762. package/node_modules/@alanszp/logger/node_modules/@types/node/stream/web.d.ts +0 -366
  763. package/node_modules/@alanszp/logger/node_modules/@types/node/stream.d.ts +0 -1701
  764. package/node_modules/@alanszp/logger/node_modules/@types/node/string_decoder.d.ts +0 -67
  765. package/node_modules/@alanszp/logger/node_modules/@types/node/test.d.ts +0 -1465
  766. package/node_modules/@alanszp/logger/node_modules/@types/node/timers/promises.d.ts +0 -93
  767. package/node_modules/@alanszp/logger/node_modules/@types/node/timers.d.ts +0 -240
  768. package/node_modules/@alanszp/logger/node_modules/@types/node/tls.d.ts +0 -1210
  769. package/node_modules/@alanszp/logger/node_modules/@types/node/trace_events.d.ts +0 -182
  770. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  771. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  772. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  773. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  774. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  775. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  776. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  777. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  778. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4487
  779. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/dgram.d.ts +0 -596
  780. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -545
  781. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  782. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  783. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  784. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  785. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/events.d.ts +0 -879
  786. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
  787. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/fs.d.ts +0 -4311
  788. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/globals.d.ts +0 -411
  789. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  790. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/http.d.ts +0 -1887
  791. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  792. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  793. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  794. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  795. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/module.d.ts +0 -315
  796. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  797. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/os.d.ts +0 -478
  798. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  799. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -645
  800. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/process.d.ts +0 -1561
  801. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  802. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  803. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  804. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  805. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  806. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  807. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  808. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -366
  809. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  810. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  811. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/test.d.ts +0 -1465
  812. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  813. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  814. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  815. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  816. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  817. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  818. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  819. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/v8.d.ts +0 -764
  820. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
  821. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/wasi.d.ts +0 -179
  822. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  823. package/node_modules/@alanszp/logger/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  824. package/node_modules/@alanszp/logger/node_modules/@types/node/tty.d.ts +0 -208
  825. package/node_modules/@alanszp/logger/node_modules/@types/node/url.d.ts +0 -927
  826. package/node_modules/@alanszp/logger/node_modules/@types/node/util.d.ts +0 -2183
  827. package/node_modules/@alanszp/logger/node_modules/@types/node/v8.d.ts +0 -764
  828. package/node_modules/@alanszp/logger/node_modules/@types/node/vm.d.ts +0 -903
  829. package/node_modules/@alanszp/logger/node_modules/@types/node/wasi.d.ts +0 -179
  830. package/node_modules/@alanszp/logger/node_modules/@types/node/worker_threads.d.ts +0 -691
  831. package/node_modules/@alanszp/logger/node_modules/@types/node/zlib.d.ts +0 -517
  832. package/node_modules/@alanszp/logger/package.json +0 -35
  833. package/node_modules/@alanszp/logger/src/config.ts +0 -34
  834. package/node_modules/@alanszp/logger/src/factory.ts +0 -68
  835. package/node_modules/@alanszp/logger/src/index.ts +0 -5
  836. package/node_modules/@alanszp/logger/src/interfaces.ts +0 -26
  837. package/node_modules/@alanszp/logger/src/logger.ts +0 -54
  838. package/node_modules/@alanszp/logger/src/mock.ts +0 -35
  839. package/node_modules/@alanszp/logger/src/serializer.ts +0 -65
  840. package/node_modules/@alanszp/logger/src/slackBunyan.ts +0 -133
  841. package/node_modules/@alanszp/logger/tsconfig.json +0 -15
  842. package/node_modules/@types/node/LICENSE +0 -21
  843. package/node_modules/@types/node/README.md +0 -15
  844. package/node_modules/@types/node/assert/strict.d.ts +0 -8
  845. package/node_modules/@types/node/assert.d.ts +0 -996
  846. package/node_modules/@types/node/async_hooks.d.ts +0 -539
  847. package/node_modules/@types/node/buffer.d.ts +0 -2362
  848. package/node_modules/@types/node/child_process.d.ts +0 -1540
  849. package/node_modules/@types/node/cluster.d.ts +0 -432
  850. package/node_modules/@types/node/console.d.ts +0 -415
  851. package/node_modules/@types/node/constants.d.ts +0 -19
  852. package/node_modules/@types/node/crypto.d.ts +0 -4487
  853. package/node_modules/@types/node/dgram.d.ts +0 -596
  854. package/node_modules/@types/node/diagnostics_channel.d.ts +0 -545
  855. package/node_modules/@types/node/dns/promises.d.ts +0 -425
  856. package/node_modules/@types/node/dns.d.ts +0 -809
  857. package/node_modules/@types/node/dom-events.d.ts +0 -122
  858. package/node_modules/@types/node/domain.d.ts +0 -170
  859. package/node_modules/@types/node/events.d.ts +0 -879
  860. package/node_modules/@types/node/fs/promises.d.ts +0 -1239
  861. package/node_modules/@types/node/fs.d.ts +0 -4311
  862. package/node_modules/@types/node/globals.d.ts +0 -411
  863. package/node_modules/@types/node/globals.global.d.ts +0 -1
  864. package/node_modules/@types/node/http.d.ts +0 -1887
  865. package/node_modules/@types/node/http2.d.ts +0 -2382
  866. package/node_modules/@types/node/https.d.ts +0 -550
  867. package/node_modules/@types/node/index.d.ts +0 -88
  868. package/node_modules/@types/node/inspector.d.ts +0 -2747
  869. package/node_modules/@types/node/module.d.ts +0 -315
  870. package/node_modules/@types/node/net.d.ts +0 -949
  871. package/node_modules/@types/node/os.d.ts +0 -478
  872. package/node_modules/@types/node/package.json +0 -229
  873. package/node_modules/@types/node/path.d.ts +0 -191
  874. package/node_modules/@types/node/perf_hooks.d.ts +0 -645
  875. package/node_modules/@types/node/process.d.ts +0 -1561
  876. package/node_modules/@types/node/punycode.d.ts +0 -117
  877. package/node_modules/@types/node/querystring.d.ts +0 -141
  878. package/node_modules/@types/node/readline/promises.d.ts +0 -150
  879. package/node_modules/@types/node/readline.d.ts +0 -539
  880. package/node_modules/@types/node/repl.d.ts +0 -430
  881. package/node_modules/@types/node/stream/consumers.d.ts +0 -12
  882. package/node_modules/@types/node/stream/promises.d.ts +0 -83
  883. package/node_modules/@types/node/stream/web.d.ts +0 -366
  884. package/node_modules/@types/node/stream.d.ts +0 -1701
  885. package/node_modules/@types/node/string_decoder.d.ts +0 -67
  886. package/node_modules/@types/node/test.d.ts +0 -1465
  887. package/node_modules/@types/node/timers/promises.d.ts +0 -93
  888. package/node_modules/@types/node/timers.d.ts +0 -240
  889. package/node_modules/@types/node/tls.d.ts +0 -1210
  890. package/node_modules/@types/node/trace_events.d.ts +0 -182
  891. package/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  892. package/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  893. package/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  894. package/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  895. package/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  896. package/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  897. package/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  898. package/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  899. package/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4487
  900. package/node_modules/@types/node/ts4.8/dgram.d.ts +0 -596
  901. package/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -545
  902. package/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  903. package/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  904. package/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  905. package/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  906. package/node_modules/@types/node/ts4.8/events.d.ts +0 -879
  907. package/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
  908. package/node_modules/@types/node/ts4.8/fs.d.ts +0 -4311
  909. package/node_modules/@types/node/ts4.8/globals.d.ts +0 -411
  910. package/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  911. package/node_modules/@types/node/ts4.8/http.d.ts +0 -1887
  912. package/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  913. package/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  914. package/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  915. package/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  916. package/node_modules/@types/node/ts4.8/module.d.ts +0 -315
  917. package/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  918. package/node_modules/@types/node/ts4.8/os.d.ts +0 -478
  919. package/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  920. package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -645
  921. package/node_modules/@types/node/ts4.8/process.d.ts +0 -1561
  922. package/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  923. package/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  924. package/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  925. package/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  926. package/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  927. package/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  928. package/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  929. package/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -366
  930. package/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  931. package/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  932. package/node_modules/@types/node/ts4.8/test.d.ts +0 -1465
  933. package/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  934. package/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  935. package/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  936. package/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  937. package/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  938. package/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  939. package/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  940. package/node_modules/@types/node/ts4.8/v8.d.ts +0 -764
  941. package/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
  942. package/node_modules/@types/node/ts4.8/wasi.d.ts +0 -179
  943. package/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  944. package/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  945. package/node_modules/@types/node/tty.d.ts +0 -208
  946. package/node_modules/@types/node/url.d.ts +0 -927
  947. package/node_modules/@types/node/util.d.ts +0 -2183
  948. package/node_modules/@types/node/v8.d.ts +0 -764
  949. package/node_modules/@types/node/vm.d.ts +0 -903
  950. package/node_modules/@types/node/wasi.d.ts +0 -179
  951. package/node_modules/@types/node/worker_threads.d.ts +0 -691
  952. package/node_modules/@types/node/zlib.d.ts +0 -517
  953. package/src/commonErrorsHandler.ts +0 -105
  954. package/src/index.ts +0 -1
@@ -1,2747 +0,0 @@
1
- // Type definitions for inspector
2
-
3
- // These definitions are auto-generated.
4
- // Please see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19330
5
- // for more information.
6
-
7
-
8
- /**
9
- * The `node:inspector` module provides an API for interacting with the V8
10
- * inspector.
11
- *
12
- * It can be accessed using:
13
- *
14
- * ```js
15
- * import * as inspector from 'node:inspector/promises';
16
- * ```
17
- *
18
- * or
19
- *
20
- * ```js
21
- * import * as inspector from 'node:inspector';
22
- * ```
23
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/inspector.js)
24
- */
25
- declare module 'inspector' {
26
- import EventEmitter = require('node:events');
27
- interface InspectorNotification<T> {
28
- method: string;
29
- params: T;
30
- }
31
- namespace Schema {
32
- /**
33
- * Description of the protocol domain.
34
- */
35
- interface Domain {
36
- /**
37
- * Domain name.
38
- */
39
- name: string;
40
- /**
41
- * Domain version.
42
- */
43
- version: string;
44
- }
45
- interface GetDomainsReturnType {
46
- /**
47
- * List of supported domains.
48
- */
49
- domains: Domain[];
50
- }
51
- }
52
- namespace Runtime {
53
- /**
54
- * Unique script identifier.
55
- */
56
- type ScriptId = string;
57
- /**
58
- * Unique object identifier.
59
- */
60
- type RemoteObjectId = string;
61
- /**
62
- * Primitive value which cannot be JSON-stringified.
63
- */
64
- type UnserializableValue = string;
65
- /**
66
- * Mirror object referencing original JavaScript object.
67
- */
68
- interface RemoteObject {
69
- /**
70
- * Object type.
71
- */
72
- type: string;
73
- /**
74
- * Object subtype hint. Specified for <code>object</code> type values only.
75
- */
76
- subtype?: string | undefined;
77
- /**
78
- * Object class (constructor) name. Specified for <code>object</code> type values only.
79
- */
80
- className?: string | undefined;
81
- /**
82
- * Remote object value in case of primitive values or JSON values (if it was requested).
83
- */
84
- value?: any;
85
- /**
86
- * Primitive value which can not be JSON-stringified does not have <code>value</code>, but gets this property.
87
- */
88
- unserializableValue?: UnserializableValue | undefined;
89
- /**
90
- * String representation of the object.
91
- */
92
- description?: string | undefined;
93
- /**
94
- * Unique object identifier (for non-primitive values).
95
- */
96
- objectId?: RemoteObjectId | undefined;
97
- /**
98
- * Preview containing abbreviated property values. Specified for <code>object</code> type values only.
99
- * @experimental
100
- */
101
- preview?: ObjectPreview | undefined;
102
- /**
103
- * @experimental
104
- */
105
- customPreview?: CustomPreview | undefined;
106
- }
107
- /**
108
- * @experimental
109
- */
110
- interface CustomPreview {
111
- header: string;
112
- hasBody: boolean;
113
- formatterObjectId: RemoteObjectId;
114
- bindRemoteObjectFunctionId: RemoteObjectId;
115
- configObjectId?: RemoteObjectId | undefined;
116
- }
117
- /**
118
- * Object containing abbreviated remote object value.
119
- * @experimental
120
- */
121
- interface ObjectPreview {
122
- /**
123
- * Object type.
124
- */
125
- type: string;
126
- /**
127
- * Object subtype hint. Specified for <code>object</code> type values only.
128
- */
129
- subtype?: string | undefined;
130
- /**
131
- * String representation of the object.
132
- */
133
- description?: string | undefined;
134
- /**
135
- * True iff some of the properties or entries of the original object did not fit.
136
- */
137
- overflow: boolean;
138
- /**
139
- * List of the properties.
140
- */
141
- properties: PropertyPreview[];
142
- /**
143
- * List of the entries. Specified for <code>map</code> and <code>set</code> subtype values only.
144
- */
145
- entries?: EntryPreview[] | undefined;
146
- }
147
- /**
148
- * @experimental
149
- */
150
- interface PropertyPreview {
151
- /**
152
- * Property name.
153
- */
154
- name: string;
155
- /**
156
- * Object type. Accessor means that the property itself is an accessor property.
157
- */
158
- type: string;
159
- /**
160
- * User-friendly property value string.
161
- */
162
- value?: string | undefined;
163
- /**
164
- * Nested value preview.
165
- */
166
- valuePreview?: ObjectPreview | undefined;
167
- /**
168
- * Object subtype hint. Specified for <code>object</code> type values only.
169
- */
170
- subtype?: string | undefined;
171
- }
172
- /**
173
- * @experimental
174
- */
175
- interface EntryPreview {
176
- /**
177
- * Preview of the key. Specified for map-like collection entries.
178
- */
179
- key?: ObjectPreview | undefined;
180
- /**
181
- * Preview of the value.
182
- */
183
- value: ObjectPreview;
184
- }
185
- /**
186
- * Object property descriptor.
187
- */
188
- interface PropertyDescriptor {
189
- /**
190
- * Property name or symbol description.
191
- */
192
- name: string;
193
- /**
194
- * The value associated with the property.
195
- */
196
- value?: RemoteObject | undefined;
197
- /**
198
- * True if the value associated with the property may be changed (data descriptors only).
199
- */
200
- writable?: boolean | undefined;
201
- /**
202
- * A function which serves as a getter for the property, or <code>undefined</code> if there is no getter (accessor descriptors only).
203
- */
204
- get?: RemoteObject | undefined;
205
- /**
206
- * A function which serves as a setter for the property, or <code>undefined</code> if there is no setter (accessor descriptors only).
207
- */
208
- set?: RemoteObject | undefined;
209
- /**
210
- * True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
211
- */
212
- configurable: boolean;
213
- /**
214
- * True if this property shows up during enumeration of the properties on the corresponding object.
215
- */
216
- enumerable: boolean;
217
- /**
218
- * True if the result was thrown during the evaluation.
219
- */
220
- wasThrown?: boolean | undefined;
221
- /**
222
- * True if the property is owned for the object.
223
- */
224
- isOwn?: boolean | undefined;
225
- /**
226
- * Property symbol object, if the property is of the <code>symbol</code> type.
227
- */
228
- symbol?: RemoteObject | undefined;
229
- }
230
- /**
231
- * Object internal property descriptor. This property isn't normally visible in JavaScript code.
232
- */
233
- interface InternalPropertyDescriptor {
234
- /**
235
- * Conventional property name.
236
- */
237
- name: string;
238
- /**
239
- * The value associated with the property.
240
- */
241
- value?: RemoteObject | undefined;
242
- }
243
- /**
244
- * Represents function call argument. Either remote object id <code>objectId</code>, primitive <code>value</code>, unserializable primitive value or neither of (for undefined) them should be specified.
245
- */
246
- interface CallArgument {
247
- /**
248
- * Primitive value or serializable javascript object.
249
- */
250
- value?: any;
251
- /**
252
- * Primitive value which can not be JSON-stringified.
253
- */
254
- unserializableValue?: UnserializableValue | undefined;
255
- /**
256
- * Remote object handle.
257
- */
258
- objectId?: RemoteObjectId | undefined;
259
- }
260
- /**
261
- * Id of an execution context.
262
- */
263
- type ExecutionContextId = number;
264
- /**
265
- * Description of an isolated world.
266
- */
267
- interface ExecutionContextDescription {
268
- /**
269
- * Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.
270
- */
271
- id: ExecutionContextId;
272
- /**
273
- * Execution context origin.
274
- */
275
- origin: string;
276
- /**
277
- * Human readable name describing given context.
278
- */
279
- name: string;
280
- /**
281
- * Embedder-specific auxiliary data.
282
- */
283
- auxData?: {} | undefined;
284
- }
285
- /**
286
- * Detailed information about exception (or error) that was thrown during script compilation or execution.
287
- */
288
- interface ExceptionDetails {
289
- /**
290
- * Exception id.
291
- */
292
- exceptionId: number;
293
- /**
294
- * Exception text, which should be used together with exception object when available.
295
- */
296
- text: string;
297
- /**
298
- * Line number of the exception location (0-based).
299
- */
300
- lineNumber: number;
301
- /**
302
- * Column number of the exception location (0-based).
303
- */
304
- columnNumber: number;
305
- /**
306
- * Script ID of the exception location.
307
- */
308
- scriptId?: ScriptId | undefined;
309
- /**
310
- * URL of the exception location, to be used when the script was not reported.
311
- */
312
- url?: string | undefined;
313
- /**
314
- * JavaScript stack trace if available.
315
- */
316
- stackTrace?: StackTrace | undefined;
317
- /**
318
- * Exception object if available.
319
- */
320
- exception?: RemoteObject | undefined;
321
- /**
322
- * Identifier of the context where exception happened.
323
- */
324
- executionContextId?: ExecutionContextId | undefined;
325
- }
326
- /**
327
- * Number of milliseconds since epoch.
328
- */
329
- type Timestamp = number;
330
- /**
331
- * Stack entry for runtime errors and assertions.
332
- */
333
- interface CallFrame {
334
- /**
335
- * JavaScript function name.
336
- */
337
- functionName: string;
338
- /**
339
- * JavaScript script id.
340
- */
341
- scriptId: ScriptId;
342
- /**
343
- * JavaScript script name or url.
344
- */
345
- url: string;
346
- /**
347
- * JavaScript script line number (0-based).
348
- */
349
- lineNumber: number;
350
- /**
351
- * JavaScript script column number (0-based).
352
- */
353
- columnNumber: number;
354
- }
355
- /**
356
- * Call frames for assertions or error messages.
357
- */
358
- interface StackTrace {
359
- /**
360
- * String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
361
- */
362
- description?: string | undefined;
363
- /**
364
- * JavaScript function name.
365
- */
366
- callFrames: CallFrame[];
367
- /**
368
- * Asynchronous JavaScript stack trace that preceded this stack, if available.
369
- */
370
- parent?: StackTrace | undefined;
371
- /**
372
- * Asynchronous JavaScript stack trace that preceded this stack, if available.
373
- * @experimental
374
- */
375
- parentId?: StackTraceId | undefined;
376
- }
377
- /**
378
- * Unique identifier of current debugger.
379
- * @experimental
380
- */
381
- type UniqueDebuggerId = string;
382
- /**
383
- * If <code>debuggerId</code> is set stack trace comes from another debugger and can be resolved there. This allows to track cross-debugger calls. See <code>Runtime.StackTrace</code> and <code>Debugger.paused</code> for usages.
384
- * @experimental
385
- */
386
- interface StackTraceId {
387
- id: string;
388
- debuggerId?: UniqueDebuggerId | undefined;
389
- }
390
- interface EvaluateParameterType {
391
- /**
392
- * Expression to evaluate.
393
- */
394
- expression: string;
395
- /**
396
- * Symbolic group name that can be used to release multiple objects.
397
- */
398
- objectGroup?: string | undefined;
399
- /**
400
- * Determines whether Command Line API should be available during the evaluation.
401
- */
402
- includeCommandLineAPI?: boolean | undefined;
403
- /**
404
- * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.
405
- */
406
- silent?: boolean | undefined;
407
- /**
408
- * Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
409
- */
410
- contextId?: ExecutionContextId | undefined;
411
- /**
412
- * Whether the result is expected to be a JSON object that should be sent by value.
413
- */
414
- returnByValue?: boolean | undefined;
415
- /**
416
- * Whether preview should be generated for the result.
417
- * @experimental
418
- */
419
- generatePreview?: boolean | undefined;
420
- /**
421
- * Whether execution should be treated as initiated by user in the UI.
422
- */
423
- userGesture?: boolean | undefined;
424
- /**
425
- * Whether execution should <code>await</code> for resulting value and return once awaited promise is resolved.
426
- */
427
- awaitPromise?: boolean | undefined;
428
- }
429
- interface AwaitPromiseParameterType {
430
- /**
431
- * Identifier of the promise.
432
- */
433
- promiseObjectId: RemoteObjectId;
434
- /**
435
- * Whether the result is expected to be a JSON object that should be sent by value.
436
- */
437
- returnByValue?: boolean | undefined;
438
- /**
439
- * Whether preview should be generated for the result.
440
- */
441
- generatePreview?: boolean | undefined;
442
- }
443
- interface CallFunctionOnParameterType {
444
- /**
445
- * Declaration of the function to call.
446
- */
447
- functionDeclaration: string;
448
- /**
449
- * Identifier of the object to call function on. Either objectId or executionContextId should be specified.
450
- */
451
- objectId?: RemoteObjectId | undefined;
452
- /**
453
- * Call arguments. All call arguments must belong to the same JavaScript world as the target object.
454
- */
455
- arguments?: CallArgument[] | undefined;
456
- /**
457
- * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.
458
- */
459
- silent?: boolean | undefined;
460
- /**
461
- * Whether the result is expected to be a JSON object which should be sent by value.
462
- */
463
- returnByValue?: boolean | undefined;
464
- /**
465
- * Whether preview should be generated for the result.
466
- * @experimental
467
- */
468
- generatePreview?: boolean | undefined;
469
- /**
470
- * Whether execution should be treated as initiated by user in the UI.
471
- */
472
- userGesture?: boolean | undefined;
473
- /**
474
- * Whether execution should <code>await</code> for resulting value and return once awaited promise is resolved.
475
- */
476
- awaitPromise?: boolean | undefined;
477
- /**
478
- * Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified.
479
- */
480
- executionContextId?: ExecutionContextId | undefined;
481
- /**
482
- * Symbolic group name that can be used to release multiple objects. If objectGroup is not specified and objectId is, objectGroup will be inherited from object.
483
- */
484
- objectGroup?: string | undefined;
485
- }
486
- interface GetPropertiesParameterType {
487
- /**
488
- * Identifier of the object to return properties for.
489
- */
490
- objectId: RemoteObjectId;
491
- /**
492
- * If true, returns properties belonging only to the element itself, not to its prototype chain.
493
- */
494
- ownProperties?: boolean | undefined;
495
- /**
496
- * If true, returns accessor properties (with getter/setter) only; internal properties are not returned either.
497
- * @experimental
498
- */
499
- accessorPropertiesOnly?: boolean | undefined;
500
- /**
501
- * Whether preview should be generated for the results.
502
- * @experimental
503
- */
504
- generatePreview?: boolean | undefined;
505
- }
506
- interface ReleaseObjectParameterType {
507
- /**
508
- * Identifier of the object to release.
509
- */
510
- objectId: RemoteObjectId;
511
- }
512
- interface ReleaseObjectGroupParameterType {
513
- /**
514
- * Symbolic object group name.
515
- */
516
- objectGroup: string;
517
- }
518
- interface SetCustomObjectFormatterEnabledParameterType {
519
- enabled: boolean;
520
- }
521
- interface CompileScriptParameterType {
522
- /**
523
- * Expression to compile.
524
- */
525
- expression: string;
526
- /**
527
- * Source url to be set for the script.
528
- */
529
- sourceURL: string;
530
- /**
531
- * Specifies whether the compiled script should be persisted.
532
- */
533
- persistScript: boolean;
534
- /**
535
- * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
536
- */
537
- executionContextId?: ExecutionContextId | undefined;
538
- }
539
- interface RunScriptParameterType {
540
- /**
541
- * Id of the script to run.
542
- */
543
- scriptId: ScriptId;
544
- /**
545
- * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
546
- */
547
- executionContextId?: ExecutionContextId | undefined;
548
- /**
549
- * Symbolic group name that can be used to release multiple objects.
550
- */
551
- objectGroup?: string | undefined;
552
- /**
553
- * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.
554
- */
555
- silent?: boolean | undefined;
556
- /**
557
- * Determines whether Command Line API should be available during the evaluation.
558
- */
559
- includeCommandLineAPI?: boolean | undefined;
560
- /**
561
- * Whether the result is expected to be a JSON object which should be sent by value.
562
- */
563
- returnByValue?: boolean | undefined;
564
- /**
565
- * Whether preview should be generated for the result.
566
- */
567
- generatePreview?: boolean | undefined;
568
- /**
569
- * Whether execution should <code>await</code> for resulting value and return once awaited promise is resolved.
570
- */
571
- awaitPromise?: boolean | undefined;
572
- }
573
- interface QueryObjectsParameterType {
574
- /**
575
- * Identifier of the prototype to return objects for.
576
- */
577
- prototypeObjectId: RemoteObjectId;
578
- }
579
- interface GlobalLexicalScopeNamesParameterType {
580
- /**
581
- * Specifies in which execution context to lookup global scope variables.
582
- */
583
- executionContextId?: ExecutionContextId | undefined;
584
- }
585
- interface EvaluateReturnType {
586
- /**
587
- * Evaluation result.
588
- */
589
- result: RemoteObject;
590
- /**
591
- * Exception details.
592
- */
593
- exceptionDetails?: ExceptionDetails | undefined;
594
- }
595
- interface AwaitPromiseReturnType {
596
- /**
597
- * Promise result. Will contain rejected value if promise was rejected.
598
- */
599
- result: RemoteObject;
600
- /**
601
- * Exception details if stack strace is available.
602
- */
603
- exceptionDetails?: ExceptionDetails | undefined;
604
- }
605
- interface CallFunctionOnReturnType {
606
- /**
607
- * Call result.
608
- */
609
- result: RemoteObject;
610
- /**
611
- * Exception details.
612
- */
613
- exceptionDetails?: ExceptionDetails | undefined;
614
- }
615
- interface GetPropertiesReturnType {
616
- /**
617
- * Object properties.
618
- */
619
- result: PropertyDescriptor[];
620
- /**
621
- * Internal object properties (only of the element itself).
622
- */
623
- internalProperties?: InternalPropertyDescriptor[] | undefined;
624
- /**
625
- * Exception details.
626
- */
627
- exceptionDetails?: ExceptionDetails | undefined;
628
- }
629
- interface CompileScriptReturnType {
630
- /**
631
- * Id of the script.
632
- */
633
- scriptId?: ScriptId | undefined;
634
- /**
635
- * Exception details.
636
- */
637
- exceptionDetails?: ExceptionDetails | undefined;
638
- }
639
- interface RunScriptReturnType {
640
- /**
641
- * Run result.
642
- */
643
- result: RemoteObject;
644
- /**
645
- * Exception details.
646
- */
647
- exceptionDetails?: ExceptionDetails | undefined;
648
- }
649
- interface QueryObjectsReturnType {
650
- /**
651
- * Array with objects.
652
- */
653
- objects: RemoteObject;
654
- }
655
- interface GlobalLexicalScopeNamesReturnType {
656
- names: string[];
657
- }
658
- interface ExecutionContextCreatedEventDataType {
659
- /**
660
- * A newly created execution context.
661
- */
662
- context: ExecutionContextDescription;
663
- }
664
- interface ExecutionContextDestroyedEventDataType {
665
- /**
666
- * Id of the destroyed context
667
- */
668
- executionContextId: ExecutionContextId;
669
- }
670
- interface ExceptionThrownEventDataType {
671
- /**
672
- * Timestamp of the exception.
673
- */
674
- timestamp: Timestamp;
675
- exceptionDetails: ExceptionDetails;
676
- }
677
- interface ExceptionRevokedEventDataType {
678
- /**
679
- * Reason describing why exception was revoked.
680
- */
681
- reason: string;
682
- /**
683
- * The id of revoked exception, as reported in <code>exceptionThrown</code>.
684
- */
685
- exceptionId: number;
686
- }
687
- interface ConsoleAPICalledEventDataType {
688
- /**
689
- * Type of the call.
690
- */
691
- type: string;
692
- /**
693
- * Call arguments.
694
- */
695
- args: RemoteObject[];
696
- /**
697
- * Identifier of the context where the call was made.
698
- */
699
- executionContextId: ExecutionContextId;
700
- /**
701
- * Call timestamp.
702
- */
703
- timestamp: Timestamp;
704
- /**
705
- * Stack trace captured when the call was made.
706
- */
707
- stackTrace?: StackTrace | undefined;
708
- /**
709
- * Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context.
710
- * @experimental
711
- */
712
- context?: string | undefined;
713
- }
714
- interface InspectRequestedEventDataType {
715
- object: RemoteObject;
716
- hints: {};
717
- }
718
- }
719
- namespace Debugger {
720
- /**
721
- * Breakpoint identifier.
722
- */
723
- type BreakpointId = string;
724
- /**
725
- * Call frame identifier.
726
- */
727
- type CallFrameId = string;
728
- /**
729
- * Location in the source code.
730
- */
731
- interface Location {
732
- /**
733
- * Script identifier as reported in the <code>Debugger.scriptParsed</code>.
734
- */
735
- scriptId: Runtime.ScriptId;
736
- /**
737
- * Line number in the script (0-based).
738
- */
739
- lineNumber: number;
740
- /**
741
- * Column number in the script (0-based).
742
- */
743
- columnNumber?: number | undefined;
744
- }
745
- /**
746
- * Location in the source code.
747
- * @experimental
748
- */
749
- interface ScriptPosition {
750
- lineNumber: number;
751
- columnNumber: number;
752
- }
753
- /**
754
- * JavaScript call frame. Array of call frames form the call stack.
755
- */
756
- interface CallFrame {
757
- /**
758
- * Call frame identifier. This identifier is only valid while the virtual machine is paused.
759
- */
760
- callFrameId: CallFrameId;
761
- /**
762
- * Name of the JavaScript function called on this call frame.
763
- */
764
- functionName: string;
765
- /**
766
- * Location in the source code.
767
- */
768
- functionLocation?: Location | undefined;
769
- /**
770
- * Location in the source code.
771
- */
772
- location: Location;
773
- /**
774
- * JavaScript script name or url.
775
- */
776
- url: string;
777
- /**
778
- * Scope chain for this call frame.
779
- */
780
- scopeChain: Scope[];
781
- /**
782
- * <code>this</code> object for this call frame.
783
- */
784
- this: Runtime.RemoteObject;
785
- /**
786
- * The value being returned, if the function is at return point.
787
- */
788
- returnValue?: Runtime.RemoteObject | undefined;
789
- }
790
- /**
791
- * Scope description.
792
- */
793
- interface Scope {
794
- /**
795
- * Scope type.
796
- */
797
- type: string;
798
- /**
799
- * Object representing the scope. For <code>global</code> and <code>with</code> scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties.
800
- */
801
- object: Runtime.RemoteObject;
802
- name?: string | undefined;
803
- /**
804
- * Location in the source code where scope starts
805
- */
806
- startLocation?: Location | undefined;
807
- /**
808
- * Location in the source code where scope ends
809
- */
810
- endLocation?: Location | undefined;
811
- }
812
- /**
813
- * Search match for resource.
814
- */
815
- interface SearchMatch {
816
- /**
817
- * Line number in resource content.
818
- */
819
- lineNumber: number;
820
- /**
821
- * Line with match content.
822
- */
823
- lineContent: string;
824
- }
825
- interface BreakLocation {
826
- /**
827
- * Script identifier as reported in the <code>Debugger.scriptParsed</code>.
828
- */
829
- scriptId: Runtime.ScriptId;
830
- /**
831
- * Line number in the script (0-based).
832
- */
833
- lineNumber: number;
834
- /**
835
- * Column number in the script (0-based).
836
- */
837
- columnNumber?: number | undefined;
838
- type?: string | undefined;
839
- }
840
- interface SetBreakpointsActiveParameterType {
841
- /**
842
- * New value for breakpoints active state.
843
- */
844
- active: boolean;
845
- }
846
- interface SetSkipAllPausesParameterType {
847
- /**
848
- * New value for skip pauses state.
849
- */
850
- skip: boolean;
851
- }
852
- interface SetBreakpointByUrlParameterType {
853
- /**
854
- * Line number to set breakpoint at.
855
- */
856
- lineNumber: number;
857
- /**
858
- * URL of the resources to set breakpoint on.
859
- */
860
- url?: string | undefined;
861
- /**
862
- * Regex pattern for the URLs of the resources to set breakpoints on. Either <code>url</code> or <code>urlRegex</code> must be specified.
863
- */
864
- urlRegex?: string | undefined;
865
- /**
866
- * Script hash of the resources to set breakpoint on.
867
- */
868
- scriptHash?: string | undefined;
869
- /**
870
- * Offset in the line to set breakpoint at.
871
- */
872
- columnNumber?: number | undefined;
873
- /**
874
- * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.
875
- */
876
- condition?: string | undefined;
877
- }
878
- interface SetBreakpointParameterType {
879
- /**
880
- * Location to set breakpoint in.
881
- */
882
- location: Location;
883
- /**
884
- * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.
885
- */
886
- condition?: string | undefined;
887
- }
888
- interface RemoveBreakpointParameterType {
889
- breakpointId: BreakpointId;
890
- }
891
- interface GetPossibleBreakpointsParameterType {
892
- /**
893
- * Start of range to search possible breakpoint locations in.
894
- */
895
- start: Location;
896
- /**
897
- * End of range to search possible breakpoint locations in (excluding). When not specified, end of scripts is used as end of range.
898
- */
899
- end?: Location | undefined;
900
- /**
901
- * Only consider locations which are in the same (non-nested) function as start.
902
- */
903
- restrictToFunction?: boolean | undefined;
904
- }
905
- interface ContinueToLocationParameterType {
906
- /**
907
- * Location to continue to.
908
- */
909
- location: Location;
910
- targetCallFrames?: string | undefined;
911
- }
912
- interface PauseOnAsyncCallParameterType {
913
- /**
914
- * Debugger will pause when async call with given stack trace is started.
915
- */
916
- parentStackTraceId: Runtime.StackTraceId;
917
- }
918
- interface StepIntoParameterType {
919
- /**
920
- * Debugger will issue additional Debugger.paused notification if any async task is scheduled before next pause.
921
- * @experimental
922
- */
923
- breakOnAsyncCall?: boolean | undefined;
924
- }
925
- interface GetStackTraceParameterType {
926
- stackTraceId: Runtime.StackTraceId;
927
- }
928
- interface SearchInContentParameterType {
929
- /**
930
- * Id of the script to search in.
931
- */
932
- scriptId: Runtime.ScriptId;
933
- /**
934
- * String to search for.
935
- */
936
- query: string;
937
- /**
938
- * If true, search is case sensitive.
939
- */
940
- caseSensitive?: boolean | undefined;
941
- /**
942
- * If true, treats string parameter as regex.
943
- */
944
- isRegex?: boolean | undefined;
945
- }
946
- interface SetScriptSourceParameterType {
947
- /**
948
- * Id of the script to edit.
949
- */
950
- scriptId: Runtime.ScriptId;
951
- /**
952
- * New content of the script.
953
- */
954
- scriptSource: string;
955
- /**
956
- * If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code.
957
- */
958
- dryRun?: boolean | undefined;
959
- }
960
- interface RestartFrameParameterType {
961
- /**
962
- * Call frame identifier to evaluate on.
963
- */
964
- callFrameId: CallFrameId;
965
- }
966
- interface GetScriptSourceParameterType {
967
- /**
968
- * Id of the script to get source for.
969
- */
970
- scriptId: Runtime.ScriptId;
971
- }
972
- interface SetPauseOnExceptionsParameterType {
973
- /**
974
- * Pause on exceptions mode.
975
- */
976
- state: string;
977
- }
978
- interface EvaluateOnCallFrameParameterType {
979
- /**
980
- * Call frame identifier to evaluate on.
981
- */
982
- callFrameId: CallFrameId;
983
- /**
984
- * Expression to evaluate.
985
- */
986
- expression: string;
987
- /**
988
- * String object group name to put result into (allows rapid releasing resulting object handles using <code>releaseObjectGroup</code>).
989
- */
990
- objectGroup?: string | undefined;
991
- /**
992
- * Specifies whether command line API should be available to the evaluated expression, defaults to false.
993
- */
994
- includeCommandLineAPI?: boolean | undefined;
995
- /**
996
- * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.
997
- */
998
- silent?: boolean | undefined;
999
- /**
1000
- * Whether the result is expected to be a JSON object that should be sent by value.
1001
- */
1002
- returnByValue?: boolean | undefined;
1003
- /**
1004
- * Whether preview should be generated for the result.
1005
- * @experimental
1006
- */
1007
- generatePreview?: boolean | undefined;
1008
- /**
1009
- * Whether to throw an exception if side effect cannot be ruled out during evaluation.
1010
- */
1011
- throwOnSideEffect?: boolean | undefined;
1012
- }
1013
- interface SetVariableValueParameterType {
1014
- /**
1015
- * 0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch' scope types are allowed. Other scopes could be manipulated manually.
1016
- */
1017
- scopeNumber: number;
1018
- /**
1019
- * Variable name.
1020
- */
1021
- variableName: string;
1022
- /**
1023
- * New variable value.
1024
- */
1025
- newValue: Runtime.CallArgument;
1026
- /**
1027
- * Id of callframe that holds variable.
1028
- */
1029
- callFrameId: CallFrameId;
1030
- }
1031
- interface SetReturnValueParameterType {
1032
- /**
1033
- * New return value.
1034
- */
1035
- newValue: Runtime.CallArgument;
1036
- }
1037
- interface SetAsyncCallStackDepthParameterType {
1038
- /**
1039
- * Maximum depth of async call stacks. Setting to <code>0</code> will effectively disable collecting async call stacks (default).
1040
- */
1041
- maxDepth: number;
1042
- }
1043
- interface SetBlackboxPatternsParameterType {
1044
- /**
1045
- * Array of regexps that will be used to check script url for blackbox state.
1046
- */
1047
- patterns: string[];
1048
- }
1049
- interface SetBlackboxedRangesParameterType {
1050
- /**
1051
- * Id of the script.
1052
- */
1053
- scriptId: Runtime.ScriptId;
1054
- positions: ScriptPosition[];
1055
- }
1056
- interface EnableReturnType {
1057
- /**
1058
- * Unique identifier of the debugger.
1059
- * @experimental
1060
- */
1061
- debuggerId: Runtime.UniqueDebuggerId;
1062
- }
1063
- interface SetBreakpointByUrlReturnType {
1064
- /**
1065
- * Id of the created breakpoint for further reference.
1066
- */
1067
- breakpointId: BreakpointId;
1068
- /**
1069
- * List of the locations this breakpoint resolved into upon addition.
1070
- */
1071
- locations: Location[];
1072
- }
1073
- interface SetBreakpointReturnType {
1074
- /**
1075
- * Id of the created breakpoint for further reference.
1076
- */
1077
- breakpointId: BreakpointId;
1078
- /**
1079
- * Location this breakpoint resolved into.
1080
- */
1081
- actualLocation: Location;
1082
- }
1083
- interface GetPossibleBreakpointsReturnType {
1084
- /**
1085
- * List of the possible breakpoint locations.
1086
- */
1087
- locations: BreakLocation[];
1088
- }
1089
- interface GetStackTraceReturnType {
1090
- stackTrace: Runtime.StackTrace;
1091
- }
1092
- interface SearchInContentReturnType {
1093
- /**
1094
- * List of search matches.
1095
- */
1096
- result: SearchMatch[];
1097
- }
1098
- interface SetScriptSourceReturnType {
1099
- /**
1100
- * New stack trace in case editing has happened while VM was stopped.
1101
- */
1102
- callFrames?: CallFrame[] | undefined;
1103
- /**
1104
- * Whether current call stack was modified after applying the changes.
1105
- */
1106
- stackChanged?: boolean | undefined;
1107
- /**
1108
- * Async stack trace, if any.
1109
- */
1110
- asyncStackTrace?: Runtime.StackTrace | undefined;
1111
- /**
1112
- * Async stack trace, if any.
1113
- * @experimental
1114
- */
1115
- asyncStackTraceId?: Runtime.StackTraceId | undefined;
1116
- /**
1117
- * Exception details if any.
1118
- */
1119
- exceptionDetails?: Runtime.ExceptionDetails | undefined;
1120
- }
1121
- interface RestartFrameReturnType {
1122
- /**
1123
- * New stack trace.
1124
- */
1125
- callFrames: CallFrame[];
1126
- /**
1127
- * Async stack trace, if any.
1128
- */
1129
- asyncStackTrace?: Runtime.StackTrace | undefined;
1130
- /**
1131
- * Async stack trace, if any.
1132
- * @experimental
1133
- */
1134
- asyncStackTraceId?: Runtime.StackTraceId | undefined;
1135
- }
1136
- interface GetScriptSourceReturnType {
1137
- /**
1138
- * Script source.
1139
- */
1140
- scriptSource: string;
1141
- }
1142
- interface EvaluateOnCallFrameReturnType {
1143
- /**
1144
- * Object wrapper for the evaluation result.
1145
- */
1146
- result: Runtime.RemoteObject;
1147
- /**
1148
- * Exception details.
1149
- */
1150
- exceptionDetails?: Runtime.ExceptionDetails | undefined;
1151
- }
1152
- interface ScriptParsedEventDataType {
1153
- /**
1154
- * Identifier of the script parsed.
1155
- */
1156
- scriptId: Runtime.ScriptId;
1157
- /**
1158
- * URL or name of the script parsed (if any).
1159
- */
1160
- url: string;
1161
- /**
1162
- * Line offset of the script within the resource with given URL (for script tags).
1163
- */
1164
- startLine: number;
1165
- /**
1166
- * Column offset of the script within the resource with given URL.
1167
- */
1168
- startColumn: number;
1169
- /**
1170
- * Last line of the script.
1171
- */
1172
- endLine: number;
1173
- /**
1174
- * Length of the last line of the script.
1175
- */
1176
- endColumn: number;
1177
- /**
1178
- * Specifies script creation context.
1179
- */
1180
- executionContextId: Runtime.ExecutionContextId;
1181
- /**
1182
- * Content hash of the script.
1183
- */
1184
- hash: string;
1185
- /**
1186
- * Embedder-specific auxiliary data.
1187
- */
1188
- executionContextAuxData?: {} | undefined;
1189
- /**
1190
- * True, if this script is generated as a result of the live edit operation.
1191
- * @experimental
1192
- */
1193
- isLiveEdit?: boolean | undefined;
1194
- /**
1195
- * URL of source map associated with script (if any).
1196
- */
1197
- sourceMapURL?: string | undefined;
1198
- /**
1199
- * True, if this script has sourceURL.
1200
- */
1201
- hasSourceURL?: boolean | undefined;
1202
- /**
1203
- * True, if this script is ES6 module.
1204
- */
1205
- isModule?: boolean | undefined;
1206
- /**
1207
- * This script length.
1208
- */
1209
- length?: number | undefined;
1210
- /**
1211
- * JavaScript top stack frame of where the script parsed event was triggered if available.
1212
- * @experimental
1213
- */
1214
- stackTrace?: Runtime.StackTrace | undefined;
1215
- }
1216
- interface ScriptFailedToParseEventDataType {
1217
- /**
1218
- * Identifier of the script parsed.
1219
- */
1220
- scriptId: Runtime.ScriptId;
1221
- /**
1222
- * URL or name of the script parsed (if any).
1223
- */
1224
- url: string;
1225
- /**
1226
- * Line offset of the script within the resource with given URL (for script tags).
1227
- */
1228
- startLine: number;
1229
- /**
1230
- * Column offset of the script within the resource with given URL.
1231
- */
1232
- startColumn: number;
1233
- /**
1234
- * Last line of the script.
1235
- */
1236
- endLine: number;
1237
- /**
1238
- * Length of the last line of the script.
1239
- */
1240
- endColumn: number;
1241
- /**
1242
- * Specifies script creation context.
1243
- */
1244
- executionContextId: Runtime.ExecutionContextId;
1245
- /**
1246
- * Content hash of the script.
1247
- */
1248
- hash: string;
1249
- /**
1250
- * Embedder-specific auxiliary data.
1251
- */
1252
- executionContextAuxData?: {} | undefined;
1253
- /**
1254
- * URL of source map associated with script (if any).
1255
- */
1256
- sourceMapURL?: string | undefined;
1257
- /**
1258
- * True, if this script has sourceURL.
1259
- */
1260
- hasSourceURL?: boolean | undefined;
1261
- /**
1262
- * True, if this script is ES6 module.
1263
- */
1264
- isModule?: boolean | undefined;
1265
- /**
1266
- * This script length.
1267
- */
1268
- length?: number | undefined;
1269
- /**
1270
- * JavaScript top stack frame of where the script parsed event was triggered if available.
1271
- * @experimental
1272
- */
1273
- stackTrace?: Runtime.StackTrace | undefined;
1274
- }
1275
- interface BreakpointResolvedEventDataType {
1276
- /**
1277
- * Breakpoint unique identifier.
1278
- */
1279
- breakpointId: BreakpointId;
1280
- /**
1281
- * Actual breakpoint location.
1282
- */
1283
- location: Location;
1284
- }
1285
- interface PausedEventDataType {
1286
- /**
1287
- * Call stack the virtual machine stopped on.
1288
- */
1289
- callFrames: CallFrame[];
1290
- /**
1291
- * Pause reason.
1292
- */
1293
- reason: string;
1294
- /**
1295
- * Object containing break-specific auxiliary properties.
1296
- */
1297
- data?: {} | undefined;
1298
- /**
1299
- * Hit breakpoints IDs
1300
- */
1301
- hitBreakpoints?: string[] | undefined;
1302
- /**
1303
- * Async stack trace, if any.
1304
- */
1305
- asyncStackTrace?: Runtime.StackTrace | undefined;
1306
- /**
1307
- * Async stack trace, if any.
1308
- * @experimental
1309
- */
1310
- asyncStackTraceId?: Runtime.StackTraceId | undefined;
1311
- /**
1312
- * Just scheduled async call will have this stack trace as parent stack during async execution. This field is available only after <code>Debugger.stepInto</code> call with <code>breakOnAsynCall</code> flag.
1313
- * @experimental
1314
- */
1315
- asyncCallStackTraceId?: Runtime.StackTraceId | undefined;
1316
- }
1317
- }
1318
- namespace Console {
1319
- /**
1320
- * Console message.
1321
- */
1322
- interface ConsoleMessage {
1323
- /**
1324
- * Message source.
1325
- */
1326
- source: string;
1327
- /**
1328
- * Message severity.
1329
- */
1330
- level: string;
1331
- /**
1332
- * Message text.
1333
- */
1334
- text: string;
1335
- /**
1336
- * URL of the message origin.
1337
- */
1338
- url?: string | undefined;
1339
- /**
1340
- * Line number in the resource that generated this message (1-based).
1341
- */
1342
- line?: number | undefined;
1343
- /**
1344
- * Column number in the resource that generated this message (1-based).
1345
- */
1346
- column?: number | undefined;
1347
- }
1348
- interface MessageAddedEventDataType {
1349
- /**
1350
- * Console message that has been added.
1351
- */
1352
- message: ConsoleMessage;
1353
- }
1354
- }
1355
- namespace Profiler {
1356
- /**
1357
- * Profile node. Holds callsite information, execution statistics and child nodes.
1358
- */
1359
- interface ProfileNode {
1360
- /**
1361
- * Unique id of the node.
1362
- */
1363
- id: number;
1364
- /**
1365
- * Function location.
1366
- */
1367
- callFrame: Runtime.CallFrame;
1368
- /**
1369
- * Number of samples where this node was on top of the call stack.
1370
- */
1371
- hitCount?: number | undefined;
1372
- /**
1373
- * Child node ids.
1374
- */
1375
- children?: number[] | undefined;
1376
- /**
1377
- * The reason of being not optimized. The function may be deoptimized or marked as don't optimize.
1378
- */
1379
- deoptReason?: string | undefined;
1380
- /**
1381
- * An array of source position ticks.
1382
- */
1383
- positionTicks?: PositionTickInfo[] | undefined;
1384
- }
1385
- /**
1386
- * Profile.
1387
- */
1388
- interface Profile {
1389
- /**
1390
- * The list of profile nodes. First item is the root node.
1391
- */
1392
- nodes: ProfileNode[];
1393
- /**
1394
- * Profiling start timestamp in microseconds.
1395
- */
1396
- startTime: number;
1397
- /**
1398
- * Profiling end timestamp in microseconds.
1399
- */
1400
- endTime: number;
1401
- /**
1402
- * Ids of samples top nodes.
1403
- */
1404
- samples?: number[] | undefined;
1405
- /**
1406
- * Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime.
1407
- */
1408
- timeDeltas?: number[] | undefined;
1409
- }
1410
- /**
1411
- * Specifies a number of samples attributed to a certain source position.
1412
- */
1413
- interface PositionTickInfo {
1414
- /**
1415
- * Source line number (1-based).
1416
- */
1417
- line: number;
1418
- /**
1419
- * Number of samples attributed to the source line.
1420
- */
1421
- ticks: number;
1422
- }
1423
- /**
1424
- * Coverage data for a source range.
1425
- */
1426
- interface CoverageRange {
1427
- /**
1428
- * JavaScript script source offset for the range start.
1429
- */
1430
- startOffset: number;
1431
- /**
1432
- * JavaScript script source offset for the range end.
1433
- */
1434
- endOffset: number;
1435
- /**
1436
- * Collected execution count of the source range.
1437
- */
1438
- count: number;
1439
- }
1440
- /**
1441
- * Coverage data for a JavaScript function.
1442
- */
1443
- interface FunctionCoverage {
1444
- /**
1445
- * JavaScript function name.
1446
- */
1447
- functionName: string;
1448
- /**
1449
- * Source ranges inside the function with coverage data.
1450
- */
1451
- ranges: CoverageRange[];
1452
- /**
1453
- * Whether coverage data for this function has block granularity.
1454
- */
1455
- isBlockCoverage: boolean;
1456
- }
1457
- /**
1458
- * Coverage data for a JavaScript script.
1459
- */
1460
- interface ScriptCoverage {
1461
- /**
1462
- * JavaScript script id.
1463
- */
1464
- scriptId: Runtime.ScriptId;
1465
- /**
1466
- * JavaScript script name or url.
1467
- */
1468
- url: string;
1469
- /**
1470
- * Functions contained in the script that has coverage data.
1471
- */
1472
- functions: FunctionCoverage[];
1473
- }
1474
- /**
1475
- * Describes a type collected during runtime.
1476
- * @experimental
1477
- */
1478
- interface TypeObject {
1479
- /**
1480
- * Name of a type collected with type profiling.
1481
- */
1482
- name: string;
1483
- }
1484
- /**
1485
- * Source offset and types for a parameter or return value.
1486
- * @experimental
1487
- */
1488
- interface TypeProfileEntry {
1489
- /**
1490
- * Source offset of the parameter or end of function for return values.
1491
- */
1492
- offset: number;
1493
- /**
1494
- * The types for this parameter or return value.
1495
- */
1496
- types: TypeObject[];
1497
- }
1498
- /**
1499
- * Type profile data collected during runtime for a JavaScript script.
1500
- * @experimental
1501
- */
1502
- interface ScriptTypeProfile {
1503
- /**
1504
- * JavaScript script id.
1505
- */
1506
- scriptId: Runtime.ScriptId;
1507
- /**
1508
- * JavaScript script name or url.
1509
- */
1510
- url: string;
1511
- /**
1512
- * Type profile entries for parameters and return values of the functions in the script.
1513
- */
1514
- entries: TypeProfileEntry[];
1515
- }
1516
- interface SetSamplingIntervalParameterType {
1517
- /**
1518
- * New sampling interval in microseconds.
1519
- */
1520
- interval: number;
1521
- }
1522
- interface StartPreciseCoverageParameterType {
1523
- /**
1524
- * Collect accurate call counts beyond simple 'covered' or 'not covered'.
1525
- */
1526
- callCount?: boolean | undefined;
1527
- /**
1528
- * Collect block-based coverage.
1529
- */
1530
- detailed?: boolean | undefined;
1531
- }
1532
- interface StopReturnType {
1533
- /**
1534
- * Recorded profile.
1535
- */
1536
- profile: Profile;
1537
- }
1538
- interface TakePreciseCoverageReturnType {
1539
- /**
1540
- * Coverage data for the current isolate.
1541
- */
1542
- result: ScriptCoverage[];
1543
- }
1544
- interface GetBestEffortCoverageReturnType {
1545
- /**
1546
- * Coverage data for the current isolate.
1547
- */
1548
- result: ScriptCoverage[];
1549
- }
1550
- interface TakeTypeProfileReturnType {
1551
- /**
1552
- * Type profile for all scripts since startTypeProfile() was turned on.
1553
- */
1554
- result: ScriptTypeProfile[];
1555
- }
1556
- interface ConsoleProfileStartedEventDataType {
1557
- id: string;
1558
- /**
1559
- * Location of console.profile().
1560
- */
1561
- location: Debugger.Location;
1562
- /**
1563
- * Profile title passed as an argument to console.profile().
1564
- */
1565
- title?: string | undefined;
1566
- }
1567
- interface ConsoleProfileFinishedEventDataType {
1568
- id: string;
1569
- /**
1570
- * Location of console.profileEnd().
1571
- */
1572
- location: Debugger.Location;
1573
- profile: Profile;
1574
- /**
1575
- * Profile title passed as an argument to console.profile().
1576
- */
1577
- title?: string | undefined;
1578
- }
1579
- }
1580
- namespace HeapProfiler {
1581
- /**
1582
- * Heap snapshot object id.
1583
- */
1584
- type HeapSnapshotObjectId = string;
1585
- /**
1586
- * Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.
1587
- */
1588
- interface SamplingHeapProfileNode {
1589
- /**
1590
- * Function location.
1591
- */
1592
- callFrame: Runtime.CallFrame;
1593
- /**
1594
- * Allocations size in bytes for the node excluding children.
1595
- */
1596
- selfSize: number;
1597
- /**
1598
- * Child nodes.
1599
- */
1600
- children: SamplingHeapProfileNode[];
1601
- }
1602
- /**
1603
- * Profile.
1604
- */
1605
- interface SamplingHeapProfile {
1606
- head: SamplingHeapProfileNode;
1607
- }
1608
- interface StartTrackingHeapObjectsParameterType {
1609
- trackAllocations?: boolean | undefined;
1610
- }
1611
- interface StopTrackingHeapObjectsParameterType {
1612
- /**
1613
- * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped.
1614
- */
1615
- reportProgress?: boolean | undefined;
1616
- }
1617
- interface TakeHeapSnapshotParameterType {
1618
- /**
1619
- * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken.
1620
- */
1621
- reportProgress?: boolean | undefined;
1622
- }
1623
- interface GetObjectByHeapObjectIdParameterType {
1624
- objectId: HeapSnapshotObjectId;
1625
- /**
1626
- * Symbolic group name that can be used to release multiple objects.
1627
- */
1628
- objectGroup?: string | undefined;
1629
- }
1630
- interface AddInspectedHeapObjectParameterType {
1631
- /**
1632
- * Heap snapshot object id to be accessible by means of $x command line API.
1633
- */
1634
- heapObjectId: HeapSnapshotObjectId;
1635
- }
1636
- interface GetHeapObjectIdParameterType {
1637
- /**
1638
- * Identifier of the object to get heap object id for.
1639
- */
1640
- objectId: Runtime.RemoteObjectId;
1641
- }
1642
- interface StartSamplingParameterType {
1643
- /**
1644
- * Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes.
1645
- */
1646
- samplingInterval?: number | undefined;
1647
- }
1648
- interface GetObjectByHeapObjectIdReturnType {
1649
- /**
1650
- * Evaluation result.
1651
- */
1652
- result: Runtime.RemoteObject;
1653
- }
1654
- interface GetHeapObjectIdReturnType {
1655
- /**
1656
- * Id of the heap snapshot object corresponding to the passed remote object id.
1657
- */
1658
- heapSnapshotObjectId: HeapSnapshotObjectId;
1659
- }
1660
- interface StopSamplingReturnType {
1661
- /**
1662
- * Recorded sampling heap profile.
1663
- */
1664
- profile: SamplingHeapProfile;
1665
- }
1666
- interface GetSamplingProfileReturnType {
1667
- /**
1668
- * Return the sampling profile being collected.
1669
- */
1670
- profile: SamplingHeapProfile;
1671
- }
1672
- interface AddHeapSnapshotChunkEventDataType {
1673
- chunk: string;
1674
- }
1675
- interface ReportHeapSnapshotProgressEventDataType {
1676
- done: number;
1677
- total: number;
1678
- finished?: boolean | undefined;
1679
- }
1680
- interface LastSeenObjectIdEventDataType {
1681
- lastSeenObjectId: number;
1682
- timestamp: number;
1683
- }
1684
- interface HeapStatsUpdateEventDataType {
1685
- /**
1686
- * An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment.
1687
- */
1688
- statsUpdate: number[];
1689
- }
1690
- }
1691
- namespace NodeTracing {
1692
- interface TraceConfig {
1693
- /**
1694
- * Controls how the trace buffer stores data.
1695
- */
1696
- recordMode?: string | undefined;
1697
- /**
1698
- * Included category filters.
1699
- */
1700
- includedCategories: string[];
1701
- }
1702
- interface StartParameterType {
1703
- traceConfig: TraceConfig;
1704
- }
1705
- interface GetCategoriesReturnType {
1706
- /**
1707
- * A list of supported tracing categories.
1708
- */
1709
- categories: string[];
1710
- }
1711
- interface DataCollectedEventDataType {
1712
- value: Array<{}>;
1713
- }
1714
- }
1715
- namespace NodeWorker {
1716
- type WorkerID = string;
1717
- /**
1718
- * Unique identifier of attached debugging session.
1719
- */
1720
- type SessionID = string;
1721
- interface WorkerInfo {
1722
- workerId: WorkerID;
1723
- type: string;
1724
- title: string;
1725
- url: string;
1726
- }
1727
- interface SendMessageToWorkerParameterType {
1728
- message: string;
1729
- /**
1730
- * Identifier of the session.
1731
- */
1732
- sessionId: SessionID;
1733
- }
1734
- interface EnableParameterType {
1735
- /**
1736
- * Whether to new workers should be paused until the frontend sends `Runtime.runIfWaitingForDebugger`
1737
- * message to run them.
1738
- */
1739
- waitForDebuggerOnStart: boolean;
1740
- }
1741
- interface DetachParameterType {
1742
- sessionId: SessionID;
1743
- }
1744
- interface AttachedToWorkerEventDataType {
1745
- /**
1746
- * Identifier assigned to the session used to send/receive messages.
1747
- */
1748
- sessionId: SessionID;
1749
- workerInfo: WorkerInfo;
1750
- waitingForDebugger: boolean;
1751
- }
1752
- interface DetachedFromWorkerEventDataType {
1753
- /**
1754
- * Detached session identifier.
1755
- */
1756
- sessionId: SessionID;
1757
- }
1758
- interface ReceivedMessageFromWorkerEventDataType {
1759
- /**
1760
- * Identifier of a session which sends a message.
1761
- */
1762
- sessionId: SessionID;
1763
- message: string;
1764
- }
1765
- }
1766
- namespace NodeRuntime {
1767
- interface NotifyWhenWaitingForDisconnectParameterType {
1768
- enabled: boolean;
1769
- }
1770
- }
1771
- /**
1772
- * The `inspector.Session` is used for dispatching messages to the V8 inspector
1773
- * back-end and receiving message responses and notifications.
1774
- */
1775
- class Session extends EventEmitter {
1776
- /**
1777
- * Create a new instance of the inspector.Session class.
1778
- * The inspector session needs to be connected through session.connect() before the messages can be dispatched to the inspector backend.
1779
- */
1780
- constructor();
1781
- /**
1782
- * Connects a session to the inspector back-end.
1783
- * @since v8.0.0
1784
- */
1785
- connect(): void;
1786
- /**
1787
- * Immediately close the session. All pending message callbacks will be called
1788
- * with an error. `session.connect()` will need to be called to be able to send
1789
- * messages again. Reconnected session will lose all inspector state, such as
1790
- * enabled agents or configured breakpoints.
1791
- * @since v8.0.0
1792
- */
1793
- disconnect(): void;
1794
- /**
1795
- * Posts a message to the inspector back-end. `callback` will be notified when
1796
- * a response is received. `callback` is a function that accepts two optional
1797
- * arguments: error and message-specific result.
1798
- *
1799
- * ```js
1800
- * session.post('Runtime.evaluate', { expression: '2 + 2' },
1801
- * (error, { result }) => console.log(result));
1802
- * // Output: { type: 'number', value: 4, description: '4' }
1803
- * ```
1804
- *
1805
- * The latest version of the V8 inspector protocol is published on the [Chrome DevTools Protocol Viewer](https://chromedevtools.github.io/devtools-protocol/v8/).
1806
- *
1807
- * Node.js inspector supports all the Chrome DevTools Protocol domains declared
1808
- * by V8\. Chrome DevTools Protocol domain provides an interface for interacting
1809
- * with one of the runtime agents used to inspect the application state and listen
1810
- * to the run-time events.
1811
- *
1812
- * ## Example usage
1813
- *
1814
- * Apart from the debugger, various V8 Profilers are available through the DevTools
1815
- * protocol.
1816
- * @since v8.0.0
1817
- */
1818
- post(method: string, params?: {}, callback?: (err: Error | null, params?: {}) => void): void;
1819
- post(method: string, callback?: (err: Error | null, params?: {}) => void): void;
1820
- /**
1821
- * Returns supported domains.
1822
- */
1823
- post(method: 'Schema.getDomains', callback?: (err: Error | null, params: Schema.GetDomainsReturnType) => void): void;
1824
- /**
1825
- * Evaluates expression on global object.
1826
- */
1827
- post(method: 'Runtime.evaluate', params?: Runtime.EvaluateParameterType, callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void;
1828
- post(method: 'Runtime.evaluate', callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void;
1829
- /**
1830
- * Add handler to promise with given promise object id.
1831
- */
1832
- post(method: 'Runtime.awaitPromise', params?: Runtime.AwaitPromiseParameterType, callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void;
1833
- post(method: 'Runtime.awaitPromise', callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void;
1834
- /**
1835
- * Calls function with given declaration on the given object. Object group of the result is inherited from the target object.
1836
- */
1837
- post(method: 'Runtime.callFunctionOn', params?: Runtime.CallFunctionOnParameterType, callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void;
1838
- post(method: 'Runtime.callFunctionOn', callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void;
1839
- /**
1840
- * Returns properties of a given object. Object group of the result is inherited from the target object.
1841
- */
1842
- post(method: 'Runtime.getProperties', params?: Runtime.GetPropertiesParameterType, callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void;
1843
- post(method: 'Runtime.getProperties', callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void;
1844
- /**
1845
- * Releases remote object with given id.
1846
- */
1847
- post(method: 'Runtime.releaseObject', params?: Runtime.ReleaseObjectParameterType, callback?: (err: Error | null) => void): void;
1848
- post(method: 'Runtime.releaseObject', callback?: (err: Error | null) => void): void;
1849
- /**
1850
- * Releases all remote objects that belong to a given group.
1851
- */
1852
- post(method: 'Runtime.releaseObjectGroup', params?: Runtime.ReleaseObjectGroupParameterType, callback?: (err: Error | null) => void): void;
1853
- post(method: 'Runtime.releaseObjectGroup', callback?: (err: Error | null) => void): void;
1854
- /**
1855
- * Tells inspected instance to run if it was waiting for debugger to attach.
1856
- */
1857
- post(method: 'Runtime.runIfWaitingForDebugger', callback?: (err: Error | null) => void): void;
1858
- /**
1859
- * Enables reporting of execution contexts creation by means of <code>executionContextCreated</code> event. When the reporting gets enabled the event will be sent immediately for each existing execution context.
1860
- */
1861
- post(method: 'Runtime.enable', callback?: (err: Error | null) => void): void;
1862
- /**
1863
- * Disables reporting of execution contexts creation.
1864
- */
1865
- post(method: 'Runtime.disable', callback?: (err: Error | null) => void): void;
1866
- /**
1867
- * Discards collected exceptions and console API calls.
1868
- */
1869
- post(method: 'Runtime.discardConsoleEntries', callback?: (err: Error | null) => void): void;
1870
- /**
1871
- * @experimental
1872
- */
1873
- post(method: 'Runtime.setCustomObjectFormatterEnabled', params?: Runtime.SetCustomObjectFormatterEnabledParameterType, callback?: (err: Error | null) => void): void;
1874
- post(method: 'Runtime.setCustomObjectFormatterEnabled', callback?: (err: Error | null) => void): void;
1875
- /**
1876
- * Compiles expression.
1877
- */
1878
- post(method: 'Runtime.compileScript', params?: Runtime.CompileScriptParameterType, callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void;
1879
- post(method: 'Runtime.compileScript', callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void;
1880
- /**
1881
- * Runs script with given id in a given context.
1882
- */
1883
- post(method: 'Runtime.runScript', params?: Runtime.RunScriptParameterType, callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void;
1884
- post(method: 'Runtime.runScript', callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void;
1885
- post(method: 'Runtime.queryObjects', params?: Runtime.QueryObjectsParameterType, callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void;
1886
- post(method: 'Runtime.queryObjects', callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void;
1887
- /**
1888
- * Returns all let, const and class variables from global scope.
1889
- */
1890
- post(
1891
- method: 'Runtime.globalLexicalScopeNames',
1892
- params?: Runtime.GlobalLexicalScopeNamesParameterType,
1893
- callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void
1894
- ): void;
1895
- post(method: 'Runtime.globalLexicalScopeNames', callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void): void;
1896
- /**
1897
- * Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received.
1898
- */
1899
- post(method: 'Debugger.enable', callback?: (err: Error | null, params: Debugger.EnableReturnType) => void): void;
1900
- /**
1901
- * Disables debugger for given page.
1902
- */
1903
- post(method: 'Debugger.disable', callback?: (err: Error | null) => void): void;
1904
- /**
1905
- * Activates / deactivates all breakpoints on the page.
1906
- */
1907
- post(method: 'Debugger.setBreakpointsActive', params?: Debugger.SetBreakpointsActiveParameterType, callback?: (err: Error | null) => void): void;
1908
- post(method: 'Debugger.setBreakpointsActive', callback?: (err: Error | null) => void): void;
1909
- /**
1910
- * Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
1911
- */
1912
- post(method: 'Debugger.setSkipAllPauses', params?: Debugger.SetSkipAllPausesParameterType, callback?: (err: Error | null) => void): void;
1913
- post(method: 'Debugger.setSkipAllPauses', callback?: (err: Error | null) => void): void;
1914
- /**
1915
- * Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in <code>locations</code> property. Further matching script parsing will result in subsequent <code>breakpointResolved</code> events issued. This logical breakpoint will survive page reloads.
1916
- */
1917
- post(method: 'Debugger.setBreakpointByUrl', params?: Debugger.SetBreakpointByUrlParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void;
1918
- post(method: 'Debugger.setBreakpointByUrl', callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void;
1919
- /**
1920
- * Sets JavaScript breakpoint at a given location.
1921
- */
1922
- post(method: 'Debugger.setBreakpoint', params?: Debugger.SetBreakpointParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void;
1923
- post(method: 'Debugger.setBreakpoint', callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void;
1924
- /**
1925
- * Removes JavaScript breakpoint.
1926
- */
1927
- post(method: 'Debugger.removeBreakpoint', params?: Debugger.RemoveBreakpointParameterType, callback?: (err: Error | null) => void): void;
1928
- post(method: 'Debugger.removeBreakpoint', callback?: (err: Error | null) => void): void;
1929
- /**
1930
- * Returns possible locations for breakpoint. scriptId in start and end range locations should be the same.
1931
- */
1932
- post(
1933
- method: 'Debugger.getPossibleBreakpoints',
1934
- params?: Debugger.GetPossibleBreakpointsParameterType,
1935
- callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void
1936
- ): void;
1937
- post(method: 'Debugger.getPossibleBreakpoints', callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void): void;
1938
- /**
1939
- * Continues execution until specific location is reached.
1940
- */
1941
- post(method: 'Debugger.continueToLocation', params?: Debugger.ContinueToLocationParameterType, callback?: (err: Error | null) => void): void;
1942
- post(method: 'Debugger.continueToLocation', callback?: (err: Error | null) => void): void;
1943
- /**
1944
- * @experimental
1945
- */
1946
- post(method: 'Debugger.pauseOnAsyncCall', params?: Debugger.PauseOnAsyncCallParameterType, callback?: (err: Error | null) => void): void;
1947
- post(method: 'Debugger.pauseOnAsyncCall', callback?: (err: Error | null) => void): void;
1948
- /**
1949
- * Steps over the statement.
1950
- */
1951
- post(method: 'Debugger.stepOver', callback?: (err: Error | null) => void): void;
1952
- /**
1953
- * Steps into the function call.
1954
- */
1955
- post(method: 'Debugger.stepInto', params?: Debugger.StepIntoParameterType, callback?: (err: Error | null) => void): void;
1956
- post(method: 'Debugger.stepInto', callback?: (err: Error | null) => void): void;
1957
- /**
1958
- * Steps out of the function call.
1959
- */
1960
- post(method: 'Debugger.stepOut', callback?: (err: Error | null) => void): void;
1961
- /**
1962
- * Stops on the next JavaScript statement.
1963
- */
1964
- post(method: 'Debugger.pause', callback?: (err: Error | null) => void): void;
1965
- /**
1966
- * This method is deprecated - use Debugger.stepInto with breakOnAsyncCall and Debugger.pauseOnAsyncTask instead. Steps into next scheduled async task if any is scheduled before next pause. Returns success when async task is actually scheduled, returns error if no task were scheduled or another scheduleStepIntoAsync was called.
1967
- * @experimental
1968
- */
1969
- post(method: 'Debugger.scheduleStepIntoAsync', callback?: (err: Error | null) => void): void;
1970
- /**
1971
- * Resumes JavaScript execution.
1972
- */
1973
- post(method: 'Debugger.resume', callback?: (err: Error | null) => void): void;
1974
- /**
1975
- * Returns stack trace with given <code>stackTraceId</code>.
1976
- * @experimental
1977
- */
1978
- post(method: 'Debugger.getStackTrace', params?: Debugger.GetStackTraceParameterType, callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void;
1979
- post(method: 'Debugger.getStackTrace', callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void;
1980
- /**
1981
- * Searches for given string in script content.
1982
- */
1983
- post(method: 'Debugger.searchInContent', params?: Debugger.SearchInContentParameterType, callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void;
1984
- post(method: 'Debugger.searchInContent', callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void;
1985
- /**
1986
- * Edits JavaScript source live.
1987
- */
1988
- post(method: 'Debugger.setScriptSource', params?: Debugger.SetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void;
1989
- post(method: 'Debugger.setScriptSource', callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void;
1990
- /**
1991
- * Restarts particular call frame from the beginning.
1992
- */
1993
- post(method: 'Debugger.restartFrame', params?: Debugger.RestartFrameParameterType, callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void;
1994
- post(method: 'Debugger.restartFrame', callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void;
1995
- /**
1996
- * Returns source for the script with given id.
1997
- */
1998
- post(method: 'Debugger.getScriptSource', params?: Debugger.GetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void;
1999
- post(method: 'Debugger.getScriptSource', callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void;
2000
- /**
2001
- * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is <code>none</code>.
2002
- */
2003
- post(method: 'Debugger.setPauseOnExceptions', params?: Debugger.SetPauseOnExceptionsParameterType, callback?: (err: Error | null) => void): void;
2004
- post(method: 'Debugger.setPauseOnExceptions', callback?: (err: Error | null) => void): void;
2005
- /**
2006
- * Evaluates expression on a given call frame.
2007
- */
2008
- post(method: 'Debugger.evaluateOnCallFrame', params?: Debugger.EvaluateOnCallFrameParameterType, callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void;
2009
- post(method: 'Debugger.evaluateOnCallFrame', callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void;
2010
- /**
2011
- * Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually.
2012
- */
2013
- post(method: 'Debugger.setVariableValue', params?: Debugger.SetVariableValueParameterType, callback?: (err: Error | null) => void): void;
2014
- post(method: 'Debugger.setVariableValue', callback?: (err: Error | null) => void): void;
2015
- /**
2016
- * Changes return value in top frame. Available only at return break position.
2017
- * @experimental
2018
- */
2019
- post(method: 'Debugger.setReturnValue', params?: Debugger.SetReturnValueParameterType, callback?: (err: Error | null) => void): void;
2020
- post(method: 'Debugger.setReturnValue', callback?: (err: Error | null) => void): void;
2021
- /**
2022
- * Enables or disables async call stacks tracking.
2023
- */
2024
- post(method: 'Debugger.setAsyncCallStackDepth', params?: Debugger.SetAsyncCallStackDepthParameterType, callback?: (err: Error | null) => void): void;
2025
- post(method: 'Debugger.setAsyncCallStackDepth', callback?: (err: Error | null) => void): void;
2026
- /**
2027
- * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
2028
- * @experimental
2029
- */
2030
- post(method: 'Debugger.setBlackboxPatterns', params?: Debugger.SetBlackboxPatternsParameterType, callback?: (err: Error | null) => void): void;
2031
- post(method: 'Debugger.setBlackboxPatterns', callback?: (err: Error | null) => void): void;
2032
- /**
2033
- * Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted.
2034
- * @experimental
2035
- */
2036
- post(method: 'Debugger.setBlackboxedRanges', params?: Debugger.SetBlackboxedRangesParameterType, callback?: (err: Error | null) => void): void;
2037
- post(method: 'Debugger.setBlackboxedRanges', callback?: (err: Error | null) => void): void;
2038
- /**
2039
- * Enables console domain, sends the messages collected so far to the client by means of the <code>messageAdded</code> notification.
2040
- */
2041
- post(method: 'Console.enable', callback?: (err: Error | null) => void): void;
2042
- /**
2043
- * Disables console domain, prevents further console messages from being reported to the client.
2044
- */
2045
- post(method: 'Console.disable', callback?: (err: Error | null) => void): void;
2046
- /**
2047
- * Does nothing.
2048
- */
2049
- post(method: 'Console.clearMessages', callback?: (err: Error | null) => void): void;
2050
- post(method: 'Profiler.enable', callback?: (err: Error | null) => void): void;
2051
- post(method: 'Profiler.disable', callback?: (err: Error | null) => void): void;
2052
- /**
2053
- * Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
2054
- */
2055
- post(method: 'Profiler.setSamplingInterval', params?: Profiler.SetSamplingIntervalParameterType, callback?: (err: Error | null) => void): void;
2056
- post(method: 'Profiler.setSamplingInterval', callback?: (err: Error | null) => void): void;
2057
- post(method: 'Profiler.start', callback?: (err: Error | null) => void): void;
2058
- post(method: 'Profiler.stop', callback?: (err: Error | null, params: Profiler.StopReturnType) => void): void;
2059
- /**
2060
- * Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters.
2061
- */
2062
- post(method: 'Profiler.startPreciseCoverage', params?: Profiler.StartPreciseCoverageParameterType, callback?: (err: Error | null) => void): void;
2063
- post(method: 'Profiler.startPreciseCoverage', callback?: (err: Error | null) => void): void;
2064
- /**
2065
- * Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code.
2066
- */
2067
- post(method: 'Profiler.stopPreciseCoverage', callback?: (err: Error | null) => void): void;
2068
- /**
2069
- * Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started.
2070
- */
2071
- post(method: 'Profiler.takePreciseCoverage', callback?: (err: Error | null, params: Profiler.TakePreciseCoverageReturnType) => void): void;
2072
- /**
2073
- * Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.
2074
- */
2075
- post(method: 'Profiler.getBestEffortCoverage', callback?: (err: Error | null, params: Profiler.GetBestEffortCoverageReturnType) => void): void;
2076
- /**
2077
- * Enable type profile.
2078
- * @experimental
2079
- */
2080
- post(method: 'Profiler.startTypeProfile', callback?: (err: Error | null) => void): void;
2081
- /**
2082
- * Disable type profile. Disabling releases type profile data collected so far.
2083
- * @experimental
2084
- */
2085
- post(method: 'Profiler.stopTypeProfile', callback?: (err: Error | null) => void): void;
2086
- /**
2087
- * Collect type profile.
2088
- * @experimental
2089
- */
2090
- post(method: 'Profiler.takeTypeProfile', callback?: (err: Error | null, params: Profiler.TakeTypeProfileReturnType) => void): void;
2091
- post(method: 'HeapProfiler.enable', callback?: (err: Error | null) => void): void;
2092
- post(method: 'HeapProfiler.disable', callback?: (err: Error | null) => void): void;
2093
- post(method: 'HeapProfiler.startTrackingHeapObjects', params?: HeapProfiler.StartTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void;
2094
- post(method: 'HeapProfiler.startTrackingHeapObjects', callback?: (err: Error | null) => void): void;
2095
- post(method: 'HeapProfiler.stopTrackingHeapObjects', params?: HeapProfiler.StopTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void;
2096
- post(method: 'HeapProfiler.stopTrackingHeapObjects', callback?: (err: Error | null) => void): void;
2097
- post(method: 'HeapProfiler.takeHeapSnapshot', params?: HeapProfiler.TakeHeapSnapshotParameterType, callback?: (err: Error | null) => void): void;
2098
- post(method: 'HeapProfiler.takeHeapSnapshot', callback?: (err: Error | null) => void): void;
2099
- post(method: 'HeapProfiler.collectGarbage', callback?: (err: Error | null) => void): void;
2100
- post(
2101
- method: 'HeapProfiler.getObjectByHeapObjectId',
2102
- params?: HeapProfiler.GetObjectByHeapObjectIdParameterType,
2103
- callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void
2104
- ): void;
2105
- post(method: 'HeapProfiler.getObjectByHeapObjectId', callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void): void;
2106
- /**
2107
- * Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).
2108
- */
2109
- post(method: 'HeapProfiler.addInspectedHeapObject', params?: HeapProfiler.AddInspectedHeapObjectParameterType, callback?: (err: Error | null) => void): void;
2110
- post(method: 'HeapProfiler.addInspectedHeapObject', callback?: (err: Error | null) => void): void;
2111
- post(method: 'HeapProfiler.getHeapObjectId', params?: HeapProfiler.GetHeapObjectIdParameterType, callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void;
2112
- post(method: 'HeapProfiler.getHeapObjectId', callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void;
2113
- post(method: 'HeapProfiler.startSampling', params?: HeapProfiler.StartSamplingParameterType, callback?: (err: Error | null) => void): void;
2114
- post(method: 'HeapProfiler.startSampling', callback?: (err: Error | null) => void): void;
2115
- post(method: 'HeapProfiler.stopSampling', callback?: (err: Error | null, params: HeapProfiler.StopSamplingReturnType) => void): void;
2116
- post(method: 'HeapProfiler.getSamplingProfile', callback?: (err: Error | null, params: HeapProfiler.GetSamplingProfileReturnType) => void): void;
2117
- /**
2118
- * Gets supported tracing categories.
2119
- */
2120
- post(method: 'NodeTracing.getCategories', callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void;
2121
- /**
2122
- * Start trace events collection.
2123
- */
2124
- post(method: 'NodeTracing.start', params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void;
2125
- post(method: 'NodeTracing.start', callback?: (err: Error | null) => void): void;
2126
- /**
2127
- * Stop trace events collection. Remaining collected events will be sent as a sequence of
2128
- * dataCollected events followed by tracingComplete event.
2129
- */
2130
- post(method: 'NodeTracing.stop', callback?: (err: Error | null) => void): void;
2131
- /**
2132
- * Sends protocol message over session with given id.
2133
- */
2134
- post(method: 'NodeWorker.sendMessageToWorker', params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void;
2135
- post(method: 'NodeWorker.sendMessageToWorker', callback?: (err: Error | null) => void): void;
2136
- /**
2137
- * Instructs the inspector to attach to running workers. Will also attach to new workers
2138
- * as they start
2139
- */
2140
- post(method: 'NodeWorker.enable', params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void;
2141
- post(method: 'NodeWorker.enable', callback?: (err: Error | null) => void): void;
2142
- /**
2143
- * Detaches from all running workers and disables attaching to new workers as they are started.
2144
- */
2145
- post(method: 'NodeWorker.disable', callback?: (err: Error | null) => void): void;
2146
- /**
2147
- * Detached from the worker with given sessionId.
2148
- */
2149
- post(method: 'NodeWorker.detach', params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void;
2150
- post(method: 'NodeWorker.detach', callback?: (err: Error | null) => void): void;
2151
- /**
2152
- * Enable the `NodeRuntime.waitingForDisconnect`.
2153
- */
2154
- post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void;
2155
- post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', callback?: (err: Error | null) => void): void;
2156
- // Events
2157
- addListener(event: string, listener: (...args: any[]) => void): this;
2158
- /**
2159
- * Emitted when any notification from the V8 Inspector is received.
2160
- */
2161
- addListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this;
2162
- /**
2163
- * Issued when new execution context is created.
2164
- */
2165
- addListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2166
- /**
2167
- * Issued when execution context is destroyed.
2168
- */
2169
- addListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2170
- /**
2171
- * Issued when all executionContexts were cleared in browser
2172
- */
2173
- addListener(event: 'Runtime.executionContextsCleared', listener: () => void): this;
2174
- /**
2175
- * Issued when exception was thrown and unhandled.
2176
- */
2177
- addListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2178
- /**
2179
- * Issued when unhandled exception was revoked.
2180
- */
2181
- addListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2182
- /**
2183
- * Issued when console API was called.
2184
- */
2185
- addListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2186
- /**
2187
- * Issued when object should be inspected (for example, as a result of inspect() command line API call).
2188
- */
2189
- addListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2190
- /**
2191
- * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
2192
- */
2193
- addListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2194
- /**
2195
- * Fired when virtual machine fails to parse the script.
2196
- */
2197
- addListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2198
- /**
2199
- * Fired when breakpoint is resolved to an actual script and location.
2200
- */
2201
- addListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2202
- /**
2203
- * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
2204
- */
2205
- addListener(event: 'Debugger.paused', listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2206
- /**
2207
- * Fired when the virtual machine resumed execution.
2208
- */
2209
- addListener(event: 'Debugger.resumed', listener: () => void): this;
2210
- /**
2211
- * Issued when new console message is added.
2212
- */
2213
- addListener(event: 'Console.messageAdded', listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2214
- /**
2215
- * Sent when new profile recording is started using console.profile() call.
2216
- */
2217
- addListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
2218
- addListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
2219
- addListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this;
2220
- addListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this;
2221
- addListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this;
2222
- /**
2223
- * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
2224
- */
2225
- addListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2226
- /**
2227
- * If heap objects tracking has been started then backend may send update for one or more fragments
2228
- */
2229
- addListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2230
- /**
2231
- * Contains an bucket of collected trace events.
2232
- */
2233
- addListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2234
- /**
2235
- * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2236
- * delivered via dataCollected events.
2237
- */
2238
- addListener(event: 'NodeTracing.tracingComplete', listener: () => void): this;
2239
- /**
2240
- * Issued when attached to a worker.
2241
- */
2242
- addListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2243
- /**
2244
- * Issued when detached from the worker.
2245
- */
2246
- addListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2247
- /**
2248
- * Notifies about a new protocol message received from the session
2249
- * (session ID is provided in attachedToWorker notification).
2250
- */
2251
- addListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2252
- /**
2253
- * This event is fired instead of `Runtime.executionContextDestroyed` when
2254
- * enabled.
2255
- * It is fired when the Node process finished all code execution and is
2256
- * waiting for all frontends to disconnect.
2257
- */
2258
- addListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this;
2259
- emit(event: string | symbol, ...args: any[]): boolean;
2260
- emit(event: 'inspectorNotification', message: InspectorNotification<{}>): boolean;
2261
- emit(event: 'Runtime.executionContextCreated', message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>): boolean;
2262
- emit(event: 'Runtime.executionContextDestroyed', message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>): boolean;
2263
- emit(event: 'Runtime.executionContextsCleared'): boolean;
2264
- emit(event: 'Runtime.exceptionThrown', message: InspectorNotification<Runtime.ExceptionThrownEventDataType>): boolean;
2265
- emit(event: 'Runtime.exceptionRevoked', message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>): boolean;
2266
- emit(event: 'Runtime.consoleAPICalled', message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>): boolean;
2267
- emit(event: 'Runtime.inspectRequested', message: InspectorNotification<Runtime.InspectRequestedEventDataType>): boolean;
2268
- emit(event: 'Debugger.scriptParsed', message: InspectorNotification<Debugger.ScriptParsedEventDataType>): boolean;
2269
- emit(event: 'Debugger.scriptFailedToParse', message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>): boolean;
2270
- emit(event: 'Debugger.breakpointResolved', message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>): boolean;
2271
- emit(event: 'Debugger.paused', message: InspectorNotification<Debugger.PausedEventDataType>): boolean;
2272
- emit(event: 'Debugger.resumed'): boolean;
2273
- emit(event: 'Console.messageAdded', message: InspectorNotification<Console.MessageAddedEventDataType>): boolean;
2274
- emit(event: 'Profiler.consoleProfileStarted', message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>): boolean;
2275
- emit(event: 'Profiler.consoleProfileFinished', message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>): boolean;
2276
- emit(event: 'HeapProfiler.addHeapSnapshotChunk', message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>): boolean;
2277
- emit(event: 'HeapProfiler.resetProfiles'): boolean;
2278
- emit(event: 'HeapProfiler.reportHeapSnapshotProgress', message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>): boolean;
2279
- emit(event: 'HeapProfiler.lastSeenObjectId', message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>): boolean;
2280
- emit(event: 'HeapProfiler.heapStatsUpdate', message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>): boolean;
2281
- emit(event: 'NodeTracing.dataCollected', message: InspectorNotification<NodeTracing.DataCollectedEventDataType>): boolean;
2282
- emit(event: 'NodeTracing.tracingComplete'): boolean;
2283
- emit(event: 'NodeWorker.attachedToWorker', message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>): boolean;
2284
- emit(event: 'NodeWorker.detachedFromWorker', message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>): boolean;
2285
- emit(event: 'NodeWorker.receivedMessageFromWorker', message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>): boolean;
2286
- emit(event: 'NodeRuntime.waitingForDisconnect'): boolean;
2287
- on(event: string, listener: (...args: any[]) => void): this;
2288
- /**
2289
- * Emitted when any notification from the V8 Inspector is received.
2290
- */
2291
- on(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this;
2292
- /**
2293
- * Issued when new execution context is created.
2294
- */
2295
- on(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2296
- /**
2297
- * Issued when execution context is destroyed.
2298
- */
2299
- on(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2300
- /**
2301
- * Issued when all executionContexts were cleared in browser
2302
- */
2303
- on(event: 'Runtime.executionContextsCleared', listener: () => void): this;
2304
- /**
2305
- * Issued when exception was thrown and unhandled.
2306
- */
2307
- on(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2308
- /**
2309
- * Issued when unhandled exception was revoked.
2310
- */
2311
- on(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2312
- /**
2313
- * Issued when console API was called.
2314
- */
2315
- on(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2316
- /**
2317
- * Issued when object should be inspected (for example, as a result of inspect() command line API call).
2318
- */
2319
- on(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2320
- /**
2321
- * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
2322
- */
2323
- on(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2324
- /**
2325
- * Fired when virtual machine fails to parse the script.
2326
- */
2327
- on(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2328
- /**
2329
- * Fired when breakpoint is resolved to an actual script and location.
2330
- */
2331
- on(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2332
- /**
2333
- * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
2334
- */
2335
- on(event: 'Debugger.paused', listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2336
- /**
2337
- * Fired when the virtual machine resumed execution.
2338
- */
2339
- on(event: 'Debugger.resumed', listener: () => void): this;
2340
- /**
2341
- * Issued when new console message is added.
2342
- */
2343
- on(event: 'Console.messageAdded', listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2344
- /**
2345
- * Sent when new profile recording is started using console.profile() call.
2346
- */
2347
- on(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
2348
- on(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
2349
- on(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this;
2350
- on(event: 'HeapProfiler.resetProfiles', listener: () => void): this;
2351
- on(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this;
2352
- /**
2353
- * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
2354
- */
2355
- on(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2356
- /**
2357
- * If heap objects tracking has been started then backend may send update for one or more fragments
2358
- */
2359
- on(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2360
- /**
2361
- * Contains an bucket of collected trace events.
2362
- */
2363
- on(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2364
- /**
2365
- * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2366
- * delivered via dataCollected events.
2367
- */
2368
- on(event: 'NodeTracing.tracingComplete', listener: () => void): this;
2369
- /**
2370
- * Issued when attached to a worker.
2371
- */
2372
- on(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2373
- /**
2374
- * Issued when detached from the worker.
2375
- */
2376
- on(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2377
- /**
2378
- * Notifies about a new protocol message received from the session
2379
- * (session ID is provided in attachedToWorker notification).
2380
- */
2381
- on(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2382
- /**
2383
- * This event is fired instead of `Runtime.executionContextDestroyed` when
2384
- * enabled.
2385
- * It is fired when the Node process finished all code execution and is
2386
- * waiting for all frontends to disconnect.
2387
- */
2388
- on(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this;
2389
- once(event: string, listener: (...args: any[]) => void): this;
2390
- /**
2391
- * Emitted when any notification from the V8 Inspector is received.
2392
- */
2393
- once(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this;
2394
- /**
2395
- * Issued when new execution context is created.
2396
- */
2397
- once(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2398
- /**
2399
- * Issued when execution context is destroyed.
2400
- */
2401
- once(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2402
- /**
2403
- * Issued when all executionContexts were cleared in browser
2404
- */
2405
- once(event: 'Runtime.executionContextsCleared', listener: () => void): this;
2406
- /**
2407
- * Issued when exception was thrown and unhandled.
2408
- */
2409
- once(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2410
- /**
2411
- * Issued when unhandled exception was revoked.
2412
- */
2413
- once(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2414
- /**
2415
- * Issued when console API was called.
2416
- */
2417
- once(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2418
- /**
2419
- * Issued when object should be inspected (for example, as a result of inspect() command line API call).
2420
- */
2421
- once(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2422
- /**
2423
- * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
2424
- */
2425
- once(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2426
- /**
2427
- * Fired when virtual machine fails to parse the script.
2428
- */
2429
- once(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2430
- /**
2431
- * Fired when breakpoint is resolved to an actual script and location.
2432
- */
2433
- once(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2434
- /**
2435
- * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
2436
- */
2437
- once(event: 'Debugger.paused', listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2438
- /**
2439
- * Fired when the virtual machine resumed execution.
2440
- */
2441
- once(event: 'Debugger.resumed', listener: () => void): this;
2442
- /**
2443
- * Issued when new console message is added.
2444
- */
2445
- once(event: 'Console.messageAdded', listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2446
- /**
2447
- * Sent when new profile recording is started using console.profile() call.
2448
- */
2449
- once(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
2450
- once(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
2451
- once(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this;
2452
- once(event: 'HeapProfiler.resetProfiles', listener: () => void): this;
2453
- once(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this;
2454
- /**
2455
- * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
2456
- */
2457
- once(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2458
- /**
2459
- * If heap objects tracking has been started then backend may send update for one or more fragments
2460
- */
2461
- once(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2462
- /**
2463
- * Contains an bucket of collected trace events.
2464
- */
2465
- once(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2466
- /**
2467
- * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2468
- * delivered via dataCollected events.
2469
- */
2470
- once(event: 'NodeTracing.tracingComplete', listener: () => void): this;
2471
- /**
2472
- * Issued when attached to a worker.
2473
- */
2474
- once(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2475
- /**
2476
- * Issued when detached from the worker.
2477
- */
2478
- once(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2479
- /**
2480
- * Notifies about a new protocol message received from the session
2481
- * (session ID is provided in attachedToWorker notification).
2482
- */
2483
- once(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2484
- /**
2485
- * This event is fired instead of `Runtime.executionContextDestroyed` when
2486
- * enabled.
2487
- * It is fired when the Node process finished all code execution and is
2488
- * waiting for all frontends to disconnect.
2489
- */
2490
- once(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this;
2491
- prependListener(event: string, listener: (...args: any[]) => void): this;
2492
- /**
2493
- * Emitted when any notification from the V8 Inspector is received.
2494
- */
2495
- prependListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this;
2496
- /**
2497
- * Issued when new execution context is created.
2498
- */
2499
- prependListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2500
- /**
2501
- * Issued when execution context is destroyed.
2502
- */
2503
- prependListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2504
- /**
2505
- * Issued when all executionContexts were cleared in browser
2506
- */
2507
- prependListener(event: 'Runtime.executionContextsCleared', listener: () => void): this;
2508
- /**
2509
- * Issued when exception was thrown and unhandled.
2510
- */
2511
- prependListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2512
- /**
2513
- * Issued when unhandled exception was revoked.
2514
- */
2515
- prependListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2516
- /**
2517
- * Issued when console API was called.
2518
- */
2519
- prependListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2520
- /**
2521
- * Issued when object should be inspected (for example, as a result of inspect() command line API call).
2522
- */
2523
- prependListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2524
- /**
2525
- * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
2526
- */
2527
- prependListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2528
- /**
2529
- * Fired when virtual machine fails to parse the script.
2530
- */
2531
- prependListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2532
- /**
2533
- * Fired when breakpoint is resolved to an actual script and location.
2534
- */
2535
- prependListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2536
- /**
2537
- * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
2538
- */
2539
- prependListener(event: 'Debugger.paused', listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2540
- /**
2541
- * Fired when the virtual machine resumed execution.
2542
- */
2543
- prependListener(event: 'Debugger.resumed', listener: () => void): this;
2544
- /**
2545
- * Issued when new console message is added.
2546
- */
2547
- prependListener(event: 'Console.messageAdded', listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2548
- /**
2549
- * Sent when new profile recording is started using console.profile() call.
2550
- */
2551
- prependListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
2552
- prependListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
2553
- prependListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this;
2554
- prependListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this;
2555
- prependListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this;
2556
- /**
2557
- * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
2558
- */
2559
- prependListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2560
- /**
2561
- * If heap objects tracking has been started then backend may send update for one or more fragments
2562
- */
2563
- prependListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2564
- /**
2565
- * Contains an bucket of collected trace events.
2566
- */
2567
- prependListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2568
- /**
2569
- * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2570
- * delivered via dataCollected events.
2571
- */
2572
- prependListener(event: 'NodeTracing.tracingComplete', listener: () => void): this;
2573
- /**
2574
- * Issued when attached to a worker.
2575
- */
2576
- prependListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2577
- /**
2578
- * Issued when detached from the worker.
2579
- */
2580
- prependListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2581
- /**
2582
- * Notifies about a new protocol message received from the session
2583
- * (session ID is provided in attachedToWorker notification).
2584
- */
2585
- prependListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2586
- /**
2587
- * This event is fired instead of `Runtime.executionContextDestroyed` when
2588
- * enabled.
2589
- * It is fired when the Node process finished all code execution and is
2590
- * waiting for all frontends to disconnect.
2591
- */
2592
- prependListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this;
2593
- prependOnceListener(event: string, listener: (...args: any[]) => void): this;
2594
- /**
2595
- * Emitted when any notification from the V8 Inspector is received.
2596
- */
2597
- prependOnceListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this;
2598
- /**
2599
- * Issued when new execution context is created.
2600
- */
2601
- prependOnceListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2602
- /**
2603
- * Issued when execution context is destroyed.
2604
- */
2605
- prependOnceListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2606
- /**
2607
- * Issued when all executionContexts were cleared in browser
2608
- */
2609
- prependOnceListener(event: 'Runtime.executionContextsCleared', listener: () => void): this;
2610
- /**
2611
- * Issued when exception was thrown and unhandled.
2612
- */
2613
- prependOnceListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2614
- /**
2615
- * Issued when unhandled exception was revoked.
2616
- */
2617
- prependOnceListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2618
- /**
2619
- * Issued when console API was called.
2620
- */
2621
- prependOnceListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2622
- /**
2623
- * Issued when object should be inspected (for example, as a result of inspect() command line API call).
2624
- */
2625
- prependOnceListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2626
- /**
2627
- * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
2628
- */
2629
- prependOnceListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2630
- /**
2631
- * Fired when virtual machine fails to parse the script.
2632
- */
2633
- prependOnceListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2634
- /**
2635
- * Fired when breakpoint is resolved to an actual script and location.
2636
- */
2637
- prependOnceListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2638
- /**
2639
- * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
2640
- */
2641
- prependOnceListener(event: 'Debugger.paused', listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2642
- /**
2643
- * Fired when the virtual machine resumed execution.
2644
- */
2645
- prependOnceListener(event: 'Debugger.resumed', listener: () => void): this;
2646
- /**
2647
- * Issued when new console message is added.
2648
- */
2649
- prependOnceListener(event: 'Console.messageAdded', listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2650
- /**
2651
- * Sent when new profile recording is started using console.profile() call.
2652
- */
2653
- prependOnceListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
2654
- prependOnceListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
2655
- prependOnceListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this;
2656
- prependOnceListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this;
2657
- prependOnceListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this;
2658
- /**
2659
- * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
2660
- */
2661
- prependOnceListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2662
- /**
2663
- * If heap objects tracking has been started then backend may send update for one or more fragments
2664
- */
2665
- prependOnceListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2666
- /**
2667
- * Contains an bucket of collected trace events.
2668
- */
2669
- prependOnceListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2670
- /**
2671
- * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2672
- * delivered via dataCollected events.
2673
- */
2674
- prependOnceListener(event: 'NodeTracing.tracingComplete', listener: () => void): this;
2675
- /**
2676
- * Issued when attached to a worker.
2677
- */
2678
- prependOnceListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2679
- /**
2680
- * Issued when detached from the worker.
2681
- */
2682
- prependOnceListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2683
- /**
2684
- * Notifies about a new protocol message received from the session
2685
- * (session ID is provided in attachedToWorker notification).
2686
- */
2687
- prependOnceListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2688
- /**
2689
- * This event is fired instead of `Runtime.executionContextDestroyed` when
2690
- * enabled.
2691
- * It is fired when the Node process finished all code execution and is
2692
- * waiting for all frontends to disconnect.
2693
- */
2694
- prependOnceListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this;
2695
- }
2696
- /**
2697
- * Activate inspector on host and port. Equivalent to`node --inspect=[[host:]port]`, but can be done programmatically after node has
2698
- * started.
2699
- *
2700
- * If wait is `true`, will block until a client has connected to the inspect port
2701
- * and flow control has been passed to the debugger client.
2702
- *
2703
- * See the `security warning` regarding the `host`parameter usage.
2704
- * @param [port='what was specified on the CLI'] Port to listen on for inspector connections. Optional.
2705
- * @param [host='what was specified on the CLI'] Host to listen on for inspector connections. Optional.
2706
- * @param [wait=false] Block until a client has connected. Optional.
2707
- * @returns Disposable that calls `inspector.close()`.
2708
- */
2709
- function open(port?: number, host?: string, wait?: boolean): Disposable;
2710
- /**
2711
- * Deactivate the inspector. Blocks until there are no active connections.
2712
- */
2713
- function close(): void;
2714
- /**
2715
- * Return the URL of the active inspector, or `undefined` if there is none.
2716
- *
2717
- * ```console
2718
- * $ node --inspect -p 'inspector.url()'
2719
- * Debugger listening on ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34
2720
- * For help, see: https://nodejs.org/en/docs/inspector
2721
- * ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34
2722
- *
2723
- * $ node --inspect=localhost:3000 -p 'inspector.url()'
2724
- * Debugger listening on ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a
2725
- * For help, see: https://nodejs.org/en/docs/inspector
2726
- * ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a
2727
- *
2728
- * $ node -p 'inspector.url()'
2729
- * undefined
2730
- * ```
2731
- */
2732
- function url(): string | undefined;
2733
- /**
2734
- * Blocks until a client (existing or connected later) has sent`Runtime.runIfWaitingForDebugger` command.
2735
- *
2736
- * An exception will be thrown if there is no active inspector.
2737
- * @since v12.7.0
2738
- */
2739
- function waitForDebugger(): void;
2740
- }
2741
- /**
2742
- * The inspector module provides an API for interacting with the V8 inspector.
2743
- */
2744
- declare module 'node:inspector' {
2745
- import inspector = require('inspector');
2746
- export = inspector;
2747
- }