cloudstructs 0.1.38 → 0.1.42

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 (396) hide show
  1. package/.gitattributes +19 -19
  2. package/.jsii +75 -31
  3. package/lib/codecommit-mirror/index.js +2 -2
  4. package/lib/ecs-service-roller/index.js +2 -2
  5. package/lib/email-receiver/receiver.js +1 -1
  6. package/lib/saml-identity-provider/index.js +2 -2
  7. package/lib/slack-events/index.js +1 -1
  8. package/lib/slack-textract/index.js +1 -1
  9. package/lib/state-machine-cr-provider/index.js +1 -1
  10. package/lib/static-website/index.js +1 -1
  11. package/lib/url-shortener/index.handler.js +2 -1
  12. package/lib/url-shortener/index.js +1 -1
  13. package/node_modules/@sindresorhus/is/dist/index.d.ts +9 -4
  14. package/node_modules/@sindresorhus/is/dist/index.js +9 -0
  15. package/node_modules/@sindresorhus/is/package.json +1 -1
  16. package/node_modules/@sindresorhus/is/readme.md +26 -0
  17. package/node_modules/@slack/logger/node_modules/@types/node/README.md +3 -3
  18. package/node_modules/@slack/logger/node_modules/@types/node/assert/strict.d.ts +0 -1
  19. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +823 -40
  20. package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +359 -90
  21. package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +1895 -113
  22. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +1080 -247
  23. package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +327 -101
  24. package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +310 -32
  25. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +2454 -742
  26. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +463 -63
  27. package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +109 -13
  28. package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +303 -36
  29. package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +425 -97
  30. package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +154 -10
  31. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +559 -34
  32. package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +812 -269
  33. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +2408 -874
  34. package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +24 -14
  35. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +1031 -98
  36. package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +1579 -459
  37. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +363 -12
  38. package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +88 -15
  39. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +360 -661
  40. package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +52 -11
  41. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +557 -142
  42. package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +236 -26
  43. package/node_modules/@slack/logger/node_modules/@types/node/package.json +23 -25
  44. package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +9 -5
  45. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +289 -91
  46. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +1173 -155
  47. package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +64 -26
  48. package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +107 -8
  49. package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +426 -79
  50. package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +135 -110
  51. package/node_modules/@slack/logger/node_modules/@types/node/stream/consumers.d.ts +24 -0
  52. package/node_modules/@slack/logger/node_modules/@types/node/stream/promises.d.ts +15 -44
  53. package/node_modules/@slack/logger/node_modules/@types/node/stream/web.d.ts +391 -0
  54. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +998 -225
  55. package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +57 -1
  56. package/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +52 -9
  57. package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +30 -11
  58. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +447 -225
  59. package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +107 -11
  60. package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +157 -23
  61. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +724 -30
  62. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +1399 -73
  63. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +254 -78
  64. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +384 -33
  65. package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +92 -24
  66. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +494 -131
  67. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +215 -63
  68. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +3 -3
  69. package/node_modules/@slack/web-api/node_modules/@types/node/assert/strict.d.ts +0 -1
  70. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +823 -40
  71. package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +359 -90
  72. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +1895 -113
  73. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +1080 -247
  74. package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +327 -101
  75. package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +310 -32
  76. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +2454 -742
  77. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +463 -63
  78. package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +109 -13
  79. package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +303 -36
  80. package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +425 -97
  81. package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +154 -10
  82. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +559 -34
  83. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +812 -269
  84. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +2408 -874
  85. package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +24 -14
  86. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +1031 -98
  87. package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +1579 -459
  88. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +363 -12
  89. package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +88 -15
  90. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +360 -661
  91. package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +52 -11
  92. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +557 -142
  93. package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +236 -26
  94. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +23 -25
  95. package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +9 -5
  96. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +289 -91
  97. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +1173 -155
  98. package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +64 -26
  99. package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +107 -8
  100. package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +426 -79
  101. package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +135 -110
  102. package/node_modules/@slack/web-api/node_modules/@types/node/stream/consumers.d.ts +24 -0
  103. package/node_modules/@slack/web-api/node_modules/@types/node/stream/promises.d.ts +15 -44
  104. package/node_modules/@slack/web-api/node_modules/@types/node/stream/web.d.ts +391 -0
  105. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +998 -225
  106. package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +57 -1
  107. package/node_modules/@slack/web-api/node_modules/@types/node/timers/promises.d.ts +52 -9
  108. package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +30 -11
  109. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +447 -225
  110. package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +107 -11
  111. package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +157 -23
  112. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +724 -30
  113. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +1399 -73
  114. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +254 -78
  115. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +384 -33
  116. package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +92 -24
  117. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +494 -131
  118. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +215 -63
  119. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +3 -3
  120. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert/strict.d.ts +0 -1
  121. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +823 -40
  122. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +359 -90
  123. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +1895 -113
  124. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +1080 -247
  125. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +327 -101
  126. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +310 -32
  127. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +2454 -742
  128. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +463 -63
  129. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +109 -13
  130. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +303 -36
  131. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +425 -97
  132. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +154 -10
  133. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +559 -34
  134. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +812 -269
  135. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +2408 -874
  136. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +24 -14
  137. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +1031 -98
  138. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +1579 -459
  139. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +363 -12
  140. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +88 -15
  141. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +360 -661
  142. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +52 -11
  143. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +557 -142
  144. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +236 -26
  145. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +23 -25
  146. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +9 -5
  147. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +289 -91
  148. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +1173 -155
  149. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +64 -26
  150. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +107 -8
  151. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +426 -79
  152. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +135 -110
  153. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +24 -0
  154. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/promises.d.ts +15 -44
  155. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +391 -0
  156. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +998 -225
  157. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +57 -1
  158. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +52 -9
  159. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +30 -11
  160. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +447 -225
  161. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +107 -11
  162. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +157 -23
  163. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +724 -30
  164. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +1399 -73
  165. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +254 -78
  166. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +384 -33
  167. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +92 -24
  168. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +494 -131
  169. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +215 -63
  170. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +3 -3
  171. package/node_modules/@types/is-stream/node_modules/@types/node/assert/strict.d.ts +0 -1
  172. package/node_modules/@types/is-stream/node_modules/@types/node/assert.d.ts +823 -40
  173. package/node_modules/@types/is-stream/node_modules/@types/node/async_hooks.d.ts +359 -90
  174. package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +1895 -113
  175. package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +1080 -247
  176. package/node_modules/@types/is-stream/node_modules/@types/node/cluster.d.ts +327 -101
  177. package/node_modules/@types/is-stream/node_modules/@types/node/console.d.ts +310 -32
  178. package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +2454 -742
  179. package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +463 -63
  180. package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +109 -13
  181. package/node_modules/@types/is-stream/node_modules/@types/node/dns/promises.d.ts +303 -36
  182. package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +425 -97
  183. package/node_modules/@types/is-stream/node_modules/@types/node/domain.d.ts +154 -10
  184. package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +559 -34
  185. package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +812 -269
  186. package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +2408 -874
  187. package/node_modules/@types/is-stream/node_modules/@types/node/globals.d.ts +24 -14
  188. package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +1031 -98
  189. package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +1579 -459
  190. package/node_modules/@types/is-stream/node_modules/@types/node/https.d.ts +363 -12
  191. package/node_modules/@types/is-stream/node_modules/@types/node/index.d.ts +88 -15
  192. package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +360 -661
  193. package/node_modules/@types/is-stream/node_modules/@types/node/module.d.ts +52 -11
  194. package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +557 -142
  195. package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +236 -26
  196. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +23 -25
  197. package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +9 -5
  198. package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +289 -91
  199. package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +1173 -155
  200. package/node_modules/@types/is-stream/node_modules/@types/node/punycode.d.ts +64 -26
  201. package/node_modules/@types/is-stream/node_modules/@types/node/querystring.d.ts +107 -8
  202. package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +426 -79
  203. package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +135 -110
  204. package/node_modules/@types/is-stream/node_modules/@types/node/stream/consumers.d.ts +24 -0
  205. package/node_modules/@types/is-stream/node_modules/@types/node/stream/promises.d.ts +15 -44
  206. package/node_modules/@types/is-stream/node_modules/@types/node/stream/web.d.ts +391 -0
  207. package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +998 -225
  208. package/node_modules/@types/is-stream/node_modules/@types/node/string_decoder.d.ts +57 -1
  209. package/node_modules/@types/is-stream/node_modules/@types/node/timers/promises.d.ts +52 -9
  210. package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +30 -11
  211. package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +447 -225
  212. package/node_modules/@types/is-stream/node_modules/@types/node/trace_events.d.ts +107 -11
  213. package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +157 -23
  214. package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +724 -30
  215. package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +1399 -73
  216. package/node_modules/@types/is-stream/node_modules/@types/node/v8.d.ts +254 -78
  217. package/node_modules/@types/is-stream/node_modules/@types/node/vm.d.ts +384 -33
  218. package/node_modules/@types/is-stream/node_modules/@types/node/wasi.d.ts +92 -24
  219. package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +494 -131
  220. package/node_modules/@types/is-stream/node_modules/@types/node/zlib.d.ts +215 -63
  221. package/node_modules/@types/keyv/README.md +1 -1
  222. package/node_modules/@types/keyv/index.d.ts +10 -3
  223. package/node_modules/@types/keyv/node_modules/@types/node/README.md +3 -3
  224. package/node_modules/@types/keyv/node_modules/@types/node/assert/strict.d.ts +0 -1
  225. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +823 -40
  226. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +359 -90
  227. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +1895 -113
  228. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +1080 -247
  229. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +327 -101
  230. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +310 -32
  231. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +2454 -742
  232. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +463 -63
  233. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +109 -13
  234. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +303 -36
  235. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +425 -97
  236. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +154 -10
  237. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +559 -34
  238. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +812 -269
  239. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +2408 -874
  240. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +24 -14
  241. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +1031 -98
  242. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +1579 -459
  243. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +363 -12
  244. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +88 -15
  245. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +360 -661
  246. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +52 -11
  247. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +557 -142
  248. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +236 -26
  249. package/node_modules/@types/keyv/node_modules/@types/node/package.json +23 -25
  250. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +9 -5
  251. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +289 -91
  252. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +1173 -155
  253. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +64 -26
  254. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +107 -8
  255. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +426 -79
  256. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +135 -110
  257. package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +24 -0
  258. package/node_modules/@types/keyv/node_modules/@types/node/stream/promises.d.ts +15 -44
  259. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +391 -0
  260. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +998 -225
  261. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +57 -1
  262. package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +52 -9
  263. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +30 -11
  264. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +447 -225
  265. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +107 -11
  266. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +157 -23
  267. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +724 -30
  268. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +1399 -73
  269. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +254 -78
  270. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +384 -33
  271. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +92 -24
  272. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +494 -131
  273. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +215 -63
  274. package/node_modules/@types/keyv/package.json +3 -3
  275. package/node_modules/@types/responselike/node_modules/@types/node/README.md +3 -3
  276. package/node_modules/@types/responselike/node_modules/@types/node/assert/strict.d.ts +0 -1
  277. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +823 -40
  278. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +359 -90
  279. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +1895 -113
  280. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +1080 -247
  281. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +327 -101
  282. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +310 -32
  283. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +2454 -742
  284. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +463 -63
  285. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +109 -13
  286. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +303 -36
  287. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +425 -97
  288. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +154 -10
  289. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +559 -34
  290. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +812 -269
  291. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +2408 -874
  292. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +24 -14
  293. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +1031 -98
  294. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +1579 -459
  295. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +363 -12
  296. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +88 -15
  297. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +360 -661
  298. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +52 -11
  299. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +557 -142
  300. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +236 -26
  301. package/node_modules/@types/responselike/node_modules/@types/node/package.json +23 -25
  302. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +9 -5
  303. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +289 -91
  304. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +1173 -155
  305. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +64 -26
  306. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +107 -8
  307. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +426 -79
  308. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +135 -110
  309. package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +24 -0
  310. package/node_modules/@types/responselike/node_modules/@types/node/stream/promises.d.ts +15 -44
  311. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +391 -0
  312. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +998 -225
  313. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +57 -1
  314. package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +52 -9
  315. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +30 -11
  316. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +447 -225
  317. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +107 -11
  318. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +157 -23
  319. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +724 -30
  320. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +1399 -73
  321. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +254 -78
  322. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +384 -33
  323. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +92 -24
  324. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +494 -131
  325. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +215 -63
  326. package/node_modules/axios/CHANGELOG.md +98 -8
  327. package/node_modules/axios/README.md +74 -6
  328. package/node_modules/axios/SECURITY.md +5 -0
  329. package/node_modules/axios/dist/axios.js +2028 -1591
  330. package/node_modules/axios/dist/axios.map +1 -1
  331. package/node_modules/axios/dist/axios.min.js +2 -2
  332. package/node_modules/axios/dist/axios.min.map +1 -1
  333. package/node_modules/axios/index.d.ts +8 -1
  334. package/node_modules/axios/lib/adapters/http.js +33 -5
  335. package/node_modules/axios/lib/adapters/xhr.js +35 -25
  336. package/node_modules/axios/lib/core/Axios.js +60 -7
  337. package/node_modules/axios/lib/core/InterceptorManager.js +4 -2
  338. package/node_modules/axios/lib/core/README.md +1 -0
  339. package/node_modules/axios/lib/core/dispatchRequest.js +6 -3
  340. package/node_modules/axios/lib/core/transformData.js +3 -1
  341. package/node_modules/axios/lib/defaults.js +43 -7
  342. package/node_modules/axios/lib/helpers/validator.js +105 -0
  343. package/node_modules/axios/lib/utils.js +1 -3
  344. package/node_modules/axios/package.json +19 -21
  345. package/node_modules/follow-redirects/debug.js +2 -1
  346. package/node_modules/follow-redirects/index.js +59 -21
  347. package/node_modules/follow-redirects/package.json +1 -1
  348. package/node_modules/got/dist/source/as-promise/parse-body.d.ts +1 -1
  349. package/node_modules/got/dist/source/as-promise/types.js +2 -0
  350. package/node_modules/got/dist/source/core/index.d.ts +1 -1
  351. package/node_modules/got/dist/source/core/index.js +9 -3
  352. package/node_modules/got/dist/source/types.d.ts +14 -12
  353. package/node_modules/got/package.json +2 -2
  354. package/node_modules/got/readme.md +11 -10
  355. package/node_modules/keyv/LICENSE +1 -1
  356. package/node_modules/keyv/README.md +12 -10
  357. package/node_modules/keyv/package.json +17 -12
  358. package/node_modules/keyv/src/index.js +14 -16
  359. package/node_modules/mime-db/HISTORY.md +19 -0
  360. package/node_modules/mime-db/db.json +93 -1
  361. package/node_modules/mime-db/package.json +7 -7
  362. package/node_modules/mime-types/HISTORY.md +20 -3
  363. package/node_modules/mime-types/package.json +7 -7
  364. package/node_modules/{http2-wrapper/node_modules/quick-lru → quick-lru}/index.d.ts +0 -0
  365. package/node_modules/{http2-wrapper/node_modules/quick-lru → quick-lru}/index.js +0 -0
  366. package/node_modules/{http2-wrapper/node_modules/quick-lru → quick-lru}/license +0 -0
  367. package/node_modules/{http2-wrapper/node_modules/quick-lru → quick-lru}/package.json +0 -0
  368. package/node_modules/{http2-wrapper/node_modules/quick-lru → quick-lru}/readme.md +0 -0
  369. package/node_modules/resolve-alpn/README.md +8 -1
  370. package/node_modules/resolve-alpn/index.js +14 -4
  371. package/node_modules/resolve-alpn/package.json +1 -1
  372. package/package.json +33 -34
  373. package/node_modules/@slack/logger/node_modules/@types/node/base.d.ts +0 -19
  374. package/node_modules/@slack/logger/node_modules/@types/node/ts3.6/assert.d.ts +0 -103
  375. package/node_modules/@slack/logger/node_modules/@types/node/ts3.6/base.d.ts +0 -67
  376. package/node_modules/@slack/logger/node_modules/@types/node/ts3.6/index.d.ts +0 -7
  377. package/node_modules/@slack/web-api/node_modules/@types/node/base.d.ts +0 -19
  378. package/node_modules/@slack/web-api/node_modules/@types/node/ts3.6/assert.d.ts +0 -103
  379. package/node_modules/@slack/web-api/node_modules/@types/node/ts3.6/base.d.ts +0 -67
  380. package/node_modules/@slack/web-api/node_modules/@types/node/ts3.6/index.d.ts +0 -7
  381. package/node_modules/@types/cacheable-request/node_modules/@types/node/base.d.ts +0 -19
  382. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts3.6/assert.d.ts +0 -103
  383. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts3.6/base.d.ts +0 -67
  384. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts3.6/index.d.ts +0 -7
  385. package/node_modules/@types/is-stream/node_modules/@types/node/base.d.ts +0 -19
  386. package/node_modules/@types/is-stream/node_modules/@types/node/ts3.6/assert.d.ts +0 -103
  387. package/node_modules/@types/is-stream/node_modules/@types/node/ts3.6/base.d.ts +0 -67
  388. package/node_modules/@types/is-stream/node_modules/@types/node/ts3.6/index.d.ts +0 -7
  389. package/node_modules/@types/keyv/node_modules/@types/node/base.d.ts +0 -19
  390. package/node_modules/@types/keyv/node_modules/@types/node/ts3.6/assert.d.ts +0 -103
  391. package/node_modules/@types/keyv/node_modules/@types/node/ts3.6/base.d.ts +0 -67
  392. package/node_modules/@types/keyv/node_modules/@types/node/ts3.6/index.d.ts +0 -7
  393. package/node_modules/@types/responselike/node_modules/@types/node/base.d.ts +0 -19
  394. package/node_modules/@types/responselike/node_modules/@types/node/ts3.6/assert.d.ts +0 -103
  395. package/node_modules/@types/responselike/node_modules/@types/node/ts3.6/base.d.ts +0 -67
  396. package/node_modules/@types/responselike/node_modules/@types/node/ts3.6/index.d.ts +0 -7
@@ -8,16 +8,21 @@
8
8
  // tslint:disable:max-line-length
9
9
 
10
10
  /**
11
- * The inspector module provides an API for interacting with the V8 inspector.
11
+ * The `inspector` module provides an API for interacting with the V8 inspector.
12
+ *
13
+ * It can be accessed using:
14
+ *
15
+ * ```js
16
+ * const inspector = require('inspector');
17
+ * ```
18
+ * @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/inspector.js)
12
19
  */
13
20
  declare module 'inspector' {
14
21
  import EventEmitter = require('node:events');
15
-
16
22
  interface InspectorNotification<T> {
17
23
  method: string;
18
24
  params: T;
19
25
  }
20
-
21
26
  namespace Schema {
22
27
  /**
23
28
  * Description of the protocol domain.
@@ -32,7 +37,6 @@ declare module 'inspector' {
32
37
  */
33
38
  version: string;
34
39
  }
35
-
36
40
  interface GetDomainsReturnType {
37
41
  /**
38
42
  * List of supported domains.
@@ -40,23 +44,19 @@ declare module 'inspector' {
40
44
  domains: Domain[];
41
45
  }
42
46
  }
43
-
44
47
  namespace Runtime {
45
48
  /**
46
49
  * Unique script identifier.
47
50
  */
48
51
  type ScriptId = string;
49
-
50
52
  /**
51
53
  * Unique object identifier.
52
54
  */
53
55
  type RemoteObjectId = string;
54
-
55
56
  /**
56
57
  * Primitive value which cannot be JSON-stringified.
57
58
  */
58
59
  type UnserializableValue = string;
59
-
60
60
  /**
61
61
  * Mirror object referencing original JavaScript object.
62
62
  */
@@ -99,7 +99,6 @@ declare module 'inspector' {
99
99
  */
100
100
  customPreview?: CustomPreview | undefined;
101
101
  }
102
-
103
102
  /**
104
103
  * @experimental
105
104
  */
@@ -110,7 +109,6 @@ declare module 'inspector' {
110
109
  bindRemoteObjectFunctionId: RemoteObjectId;
111
110
  configObjectId?: RemoteObjectId | undefined;
112
111
  }
113
-
114
112
  /**
115
113
  * Object containing abbreviated remote object value.
116
114
  * @experimental
@@ -141,7 +139,6 @@ declare module 'inspector' {
141
139
  */
142
140
  entries?: EntryPreview[] | undefined;
143
141
  }
144
-
145
142
  /**
146
143
  * @experimental
147
144
  */
@@ -167,7 +164,6 @@ declare module 'inspector' {
167
164
  */
168
165
  subtype?: string | undefined;
169
166
  }
170
-
171
167
  /**
172
168
  * @experimental
173
169
  */
@@ -181,7 +177,6 @@ declare module 'inspector' {
181
177
  */
182
178
  value: ObjectPreview;
183
179
  }
184
-
185
180
  /**
186
181
  * Object property descriptor.
187
182
  */
@@ -227,7 +222,6 @@ declare module 'inspector' {
227
222
  */
228
223
  symbol?: RemoteObject | undefined;
229
224
  }
230
-
231
225
  /**
232
226
  * Object internal property descriptor. This property isn't normally visible in JavaScript code.
233
227
  */
@@ -241,7 +235,6 @@ declare module 'inspector' {
241
235
  */
242
236
  value?: RemoteObject | undefined;
243
237
  }
244
-
245
238
  /**
246
239
  * 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.
247
240
  */
@@ -259,12 +252,10 @@ declare module 'inspector' {
259
252
  */
260
253
  objectId?: RemoteObjectId | undefined;
261
254
  }
262
-
263
255
  /**
264
256
  * Id of an execution context.
265
257
  */
266
258
  type ExecutionContextId = number;
267
-
268
259
  /**
269
260
  * Description of an isolated world.
270
261
  */
@@ -286,7 +277,6 @@ declare module 'inspector' {
286
277
  */
287
278
  auxData?: {} | undefined;
288
279
  }
289
-
290
280
  /**
291
281
  * Detailed information about exception (or error) that was thrown during script compilation or execution.
292
282
  */
@@ -328,12 +318,10 @@ declare module 'inspector' {
328
318
  */
329
319
  executionContextId?: ExecutionContextId | undefined;
330
320
  }
331
-
332
321
  /**
333
322
  * Number of milliseconds since epoch.
334
323
  */
335
324
  type Timestamp = number;
336
-
337
325
  /**
338
326
  * Stack entry for runtime errors and assertions.
339
327
  */
@@ -359,7 +347,6 @@ declare module 'inspector' {
359
347
  */
360
348
  columnNumber: number;
361
349
  }
362
-
363
350
  /**
364
351
  * Call frames for assertions or error messages.
365
352
  */
@@ -382,13 +369,11 @@ declare module 'inspector' {
382
369
  */
383
370
  parentId?: StackTraceId | undefined;
384
371
  }
385
-
386
372
  /**
387
373
  * Unique identifier of current debugger.
388
374
  * @experimental
389
375
  */
390
376
  type UniqueDebuggerId = string;
391
-
392
377
  /**
393
378
  * 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.
394
379
  * @experimental
@@ -397,7 +382,6 @@ declare module 'inspector' {
397
382
  id: string;
398
383
  debuggerId?: UniqueDebuggerId | undefined;
399
384
  }
400
-
401
385
  interface EvaluateParameterType {
402
386
  /**
403
387
  * Expression to evaluate.
@@ -437,7 +421,6 @@ declare module 'inspector' {
437
421
  */
438
422
  awaitPromise?: boolean | undefined;
439
423
  }
440
-
441
424
  interface AwaitPromiseParameterType {
442
425
  /**
443
426
  * Identifier of the promise.
@@ -452,7 +435,6 @@ declare module 'inspector' {
452
435
  */
453
436
  generatePreview?: boolean | undefined;
454
437
  }
455
-
456
438
  interface CallFunctionOnParameterType {
457
439
  /**
458
440
  * Declaration of the function to call.
@@ -496,7 +478,6 @@ declare module 'inspector' {
496
478
  */
497
479
  objectGroup?: string | undefined;
498
480
  }
499
-
500
481
  interface GetPropertiesParameterType {
501
482
  /**
502
483
  * Identifier of the object to return properties for.
@@ -517,25 +498,21 @@ declare module 'inspector' {
517
498
  */
518
499
  generatePreview?: boolean | undefined;
519
500
  }
520
-
521
501
  interface ReleaseObjectParameterType {
522
502
  /**
523
503
  * Identifier of the object to release.
524
504
  */
525
505
  objectId: RemoteObjectId;
526
506
  }
527
-
528
507
  interface ReleaseObjectGroupParameterType {
529
508
  /**
530
509
  * Symbolic object group name.
531
510
  */
532
511
  objectGroup: string;
533
512
  }
534
-
535
513
  interface SetCustomObjectFormatterEnabledParameterType {
536
514
  enabled: boolean;
537
515
  }
538
-
539
516
  interface CompileScriptParameterType {
540
517
  /**
541
518
  * Expression to compile.
@@ -554,7 +531,6 @@ declare module 'inspector' {
554
531
  */
555
532
  executionContextId?: ExecutionContextId | undefined;
556
533
  }
557
-
558
534
  interface RunScriptParameterType {
559
535
  /**
560
536
  * Id of the script to run.
@@ -589,21 +565,18 @@ declare module 'inspector' {
589
565
  */
590
566
  awaitPromise?: boolean | undefined;
591
567
  }
592
-
593
568
  interface QueryObjectsParameterType {
594
569
  /**
595
570
  * Identifier of the prototype to return objects for.
596
571
  */
597
572
  prototypeObjectId: RemoteObjectId;
598
573
  }
599
-
600
574
  interface GlobalLexicalScopeNamesParameterType {
601
575
  /**
602
576
  * Specifies in which execution context to lookup global scope variables.
603
577
  */
604
578
  executionContextId?: ExecutionContextId | undefined;
605
579
  }
606
-
607
580
  interface EvaluateReturnType {
608
581
  /**
609
582
  * Evaluation result.
@@ -614,7 +587,6 @@ declare module 'inspector' {
614
587
  */
615
588
  exceptionDetails?: ExceptionDetails | undefined;
616
589
  }
617
-
618
590
  interface AwaitPromiseReturnType {
619
591
  /**
620
592
  * Promise result. Will contain rejected value if promise was rejected.
@@ -625,7 +597,6 @@ declare module 'inspector' {
625
597
  */
626
598
  exceptionDetails?: ExceptionDetails | undefined;
627
599
  }
628
-
629
600
  interface CallFunctionOnReturnType {
630
601
  /**
631
602
  * Call result.
@@ -636,7 +607,6 @@ declare module 'inspector' {
636
607
  */
637
608
  exceptionDetails?: ExceptionDetails | undefined;
638
609
  }
639
-
640
610
  interface GetPropertiesReturnType {
641
611
  /**
642
612
  * Object properties.
@@ -651,7 +621,6 @@ declare module 'inspector' {
651
621
  */
652
622
  exceptionDetails?: ExceptionDetails | undefined;
653
623
  }
654
-
655
624
  interface CompileScriptReturnType {
656
625
  /**
657
626
  * Id of the script.
@@ -662,7 +631,6 @@ declare module 'inspector' {
662
631
  */
663
632
  exceptionDetails?: ExceptionDetails | undefined;
664
633
  }
665
-
666
634
  interface RunScriptReturnType {
667
635
  /**
668
636
  * Run result.
@@ -673,32 +641,27 @@ declare module 'inspector' {
673
641
  */
674
642
  exceptionDetails?: ExceptionDetails | undefined;
675
643
  }
676
-
677
644
  interface QueryObjectsReturnType {
678
645
  /**
679
646
  * Array with objects.
680
647
  */
681
648
  objects: RemoteObject;
682
649
  }
683
-
684
650
  interface GlobalLexicalScopeNamesReturnType {
685
651
  names: string[];
686
652
  }
687
-
688
653
  interface ExecutionContextCreatedEventDataType {
689
654
  /**
690
655
  * A newly created execution context.
691
656
  */
692
657
  context: ExecutionContextDescription;
693
658
  }
694
-
695
659
  interface ExecutionContextDestroyedEventDataType {
696
660
  /**
697
661
  * Id of the destroyed context
698
662
  */
699
663
  executionContextId: ExecutionContextId;
700
664
  }
701
-
702
665
  interface ExceptionThrownEventDataType {
703
666
  /**
704
667
  * Timestamp of the exception.
@@ -706,7 +669,6 @@ declare module 'inspector' {
706
669
  timestamp: Timestamp;
707
670
  exceptionDetails: ExceptionDetails;
708
671
  }
709
-
710
672
  interface ExceptionRevokedEventDataType {
711
673
  /**
712
674
  * Reason describing why exception was revoked.
@@ -717,7 +679,6 @@ declare module 'inspector' {
717
679
  */
718
680
  exceptionId: number;
719
681
  }
720
-
721
682
  interface ConsoleAPICalledEventDataType {
722
683
  /**
723
684
  * Type of the call.
@@ -745,24 +706,20 @@ declare module 'inspector' {
745
706
  */
746
707
  context?: string | undefined;
747
708
  }
748
-
749
709
  interface InspectRequestedEventDataType {
750
710
  object: RemoteObject;
751
711
  hints: {};
752
712
  }
753
713
  }
754
-
755
714
  namespace Debugger {
756
715
  /**
757
716
  * Breakpoint identifier.
758
717
  */
759
718
  type BreakpointId = string;
760
-
761
719
  /**
762
720
  * Call frame identifier.
763
721
  */
764
722
  type CallFrameId = string;
765
-
766
723
  /**
767
724
  * Location in the source code.
768
725
  */
@@ -780,7 +737,6 @@ declare module 'inspector' {
780
737
  */
781
738
  columnNumber?: number | undefined;
782
739
  }
783
-
784
740
  /**
785
741
  * Location in the source code.
786
742
  * @experimental
@@ -789,7 +745,6 @@ declare module 'inspector' {
789
745
  lineNumber: number;
790
746
  columnNumber: number;
791
747
  }
792
-
793
748
  /**
794
749
  * JavaScript call frame. Array of call frames form the call stack.
795
750
  */
@@ -827,7 +782,6 @@ declare module 'inspector' {
827
782
  */
828
783
  returnValue?: Runtime.RemoteObject | undefined;
829
784
  }
830
-
831
785
  /**
832
786
  * Scope description.
833
787
  */
@@ -850,7 +804,6 @@ declare module 'inspector' {
850
804
  */
851
805
  endLocation?: Location | undefined;
852
806
  }
853
-
854
807
  /**
855
808
  * Search match for resource.
856
809
  */
@@ -864,7 +817,6 @@ declare module 'inspector' {
864
817
  */
865
818
  lineContent: string;
866
819
  }
867
-
868
820
  interface BreakLocation {
869
821
  /**
870
822
  * Script identifier as reported in the <code>Debugger.scriptParsed</code>.
@@ -880,21 +832,18 @@ declare module 'inspector' {
880
832
  columnNumber?: number | undefined;
881
833
  type?: string | undefined;
882
834
  }
883
-
884
835
  interface SetBreakpointsActiveParameterType {
885
836
  /**
886
837
  * New value for breakpoints active state.
887
838
  */
888
839
  active: boolean;
889
840
  }
890
-
891
841
  interface SetSkipAllPausesParameterType {
892
842
  /**
893
843
  * New value for skip pauses state.
894
844
  */
895
845
  skip: boolean;
896
846
  }
897
-
898
847
  interface SetBreakpointByUrlParameterType {
899
848
  /**
900
849
  * Line number to set breakpoint at.
@@ -921,7 +870,6 @@ declare module 'inspector' {
921
870
  */
922
871
  condition?: string | undefined;
923
872
  }
924
-
925
873
  interface SetBreakpointParameterType {
926
874
  /**
927
875
  * Location to set breakpoint in.
@@ -932,11 +880,9 @@ declare module 'inspector' {
932
880
  */
933
881
  condition?: string | undefined;
934
882
  }
935
-
936
883
  interface RemoveBreakpointParameterType {
937
884
  breakpointId: BreakpointId;
938
885
  }
939
-
940
886
  interface GetPossibleBreakpointsParameterType {
941
887
  /**
942
888
  * Start of range to search possible breakpoint locations in.
@@ -951,7 +897,6 @@ declare module 'inspector' {
951
897
  */
952
898
  restrictToFunction?: boolean | undefined;
953
899
  }
954
-
955
900
  interface ContinueToLocationParameterType {
956
901
  /**
957
902
  * Location to continue to.
@@ -959,14 +904,12 @@ declare module 'inspector' {
959
904
  location: Location;
960
905
  targetCallFrames?: string | undefined;
961
906
  }
962
-
963
907
  interface PauseOnAsyncCallParameterType {
964
908
  /**
965
909
  * Debugger will pause when async call with given stack trace is started.
966
910
  */
967
911
  parentStackTraceId: Runtime.StackTraceId;
968
912
  }
969
-
970
913
  interface StepIntoParameterType {
971
914
  /**
972
915
  * Debugger will issue additional Debugger.paused notification if any async task is scheduled before next pause.
@@ -974,11 +917,9 @@ declare module 'inspector' {
974
917
  */
975
918
  breakOnAsyncCall?: boolean | undefined;
976
919
  }
977
-
978
920
  interface GetStackTraceParameterType {
979
921
  stackTraceId: Runtime.StackTraceId;
980
922
  }
981
-
982
923
  interface SearchInContentParameterType {
983
924
  /**
984
925
  * Id of the script to search in.
@@ -997,7 +938,6 @@ declare module 'inspector' {
997
938
  */
998
939
  isRegex?: boolean | undefined;
999
940
  }
1000
-
1001
941
  interface SetScriptSourceParameterType {
1002
942
  /**
1003
943
  * Id of the script to edit.
@@ -1012,28 +952,24 @@ declare module 'inspector' {
1012
952
  */
1013
953
  dryRun?: boolean | undefined;
1014
954
  }
1015
-
1016
955
  interface RestartFrameParameterType {
1017
956
  /**
1018
957
  * Call frame identifier to evaluate on.
1019
958
  */
1020
959
  callFrameId: CallFrameId;
1021
960
  }
1022
-
1023
961
  interface GetScriptSourceParameterType {
1024
962
  /**
1025
963
  * Id of the script to get source for.
1026
964
  */
1027
965
  scriptId: Runtime.ScriptId;
1028
966
  }
1029
-
1030
967
  interface SetPauseOnExceptionsParameterType {
1031
968
  /**
1032
969
  * Pause on exceptions mode.
1033
970
  */
1034
971
  state: string;
1035
972
  }
1036
-
1037
973
  interface EvaluateOnCallFrameParameterType {
1038
974
  /**
1039
975
  * Call frame identifier to evaluate on.
@@ -1069,7 +1005,6 @@ declare module 'inspector' {
1069
1005
  */
1070
1006
  throwOnSideEffect?: boolean | undefined;
1071
1007
  }
1072
-
1073
1008
  interface SetVariableValueParameterType {
1074
1009
  /**
1075
1010
  * 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.
@@ -1088,28 +1023,24 @@ declare module 'inspector' {
1088
1023
  */
1089
1024
  callFrameId: CallFrameId;
1090
1025
  }
1091
-
1092
1026
  interface SetReturnValueParameterType {
1093
1027
  /**
1094
1028
  * New return value.
1095
1029
  */
1096
1030
  newValue: Runtime.CallArgument;
1097
1031
  }
1098
-
1099
1032
  interface SetAsyncCallStackDepthParameterType {
1100
1033
  /**
1101
1034
  * Maximum depth of async call stacks. Setting to <code>0</code> will effectively disable collecting async call stacks (default).
1102
1035
  */
1103
1036
  maxDepth: number;
1104
1037
  }
1105
-
1106
1038
  interface SetBlackboxPatternsParameterType {
1107
1039
  /**
1108
1040
  * Array of regexps that will be used to check script url for blackbox state.
1109
1041
  */
1110
1042
  patterns: string[];
1111
1043
  }
1112
-
1113
1044
  interface SetBlackboxedRangesParameterType {
1114
1045
  /**
1115
1046
  * Id of the script.
@@ -1117,7 +1048,6 @@ declare module 'inspector' {
1117
1048
  scriptId: Runtime.ScriptId;
1118
1049
  positions: ScriptPosition[];
1119
1050
  }
1120
-
1121
1051
  interface EnableReturnType {
1122
1052
  /**
1123
1053
  * Unique identifier of the debugger.
@@ -1125,7 +1055,6 @@ declare module 'inspector' {
1125
1055
  */
1126
1056
  debuggerId: Runtime.UniqueDebuggerId;
1127
1057
  }
1128
-
1129
1058
  interface SetBreakpointByUrlReturnType {
1130
1059
  /**
1131
1060
  * Id of the created breakpoint for further reference.
@@ -1136,7 +1065,6 @@ declare module 'inspector' {
1136
1065
  */
1137
1066
  locations: Location[];
1138
1067
  }
1139
-
1140
1068
  interface SetBreakpointReturnType {
1141
1069
  /**
1142
1070
  * Id of the created breakpoint for further reference.
@@ -1147,25 +1075,21 @@ declare module 'inspector' {
1147
1075
  */
1148
1076
  actualLocation: Location;
1149
1077
  }
1150
-
1151
1078
  interface GetPossibleBreakpointsReturnType {
1152
1079
  /**
1153
1080
  * List of the possible breakpoint locations.
1154
1081
  */
1155
1082
  locations: BreakLocation[];
1156
1083
  }
1157
-
1158
1084
  interface GetStackTraceReturnType {
1159
1085
  stackTrace: Runtime.StackTrace;
1160
1086
  }
1161
-
1162
1087
  interface SearchInContentReturnType {
1163
1088
  /**
1164
1089
  * List of search matches.
1165
1090
  */
1166
1091
  result: SearchMatch[];
1167
1092
  }
1168
-
1169
1093
  interface SetScriptSourceReturnType {
1170
1094
  /**
1171
1095
  * New stack trace in case editing has happened while VM was stopped.
@@ -1189,7 +1113,6 @@ declare module 'inspector' {
1189
1113
  */
1190
1114
  exceptionDetails?: Runtime.ExceptionDetails | undefined;
1191
1115
  }
1192
-
1193
1116
  interface RestartFrameReturnType {
1194
1117
  /**
1195
1118
  * New stack trace.
@@ -1205,14 +1128,12 @@ declare module 'inspector' {
1205
1128
  */
1206
1129
  asyncStackTraceId?: Runtime.StackTraceId | undefined;
1207
1130
  }
1208
-
1209
1131
  interface GetScriptSourceReturnType {
1210
1132
  /**
1211
1133
  * Script source.
1212
1134
  */
1213
1135
  scriptSource: string;
1214
1136
  }
1215
-
1216
1137
  interface EvaluateOnCallFrameReturnType {
1217
1138
  /**
1218
1139
  * Object wrapper for the evaluation result.
@@ -1223,7 +1144,6 @@ declare module 'inspector' {
1223
1144
  */
1224
1145
  exceptionDetails?: Runtime.ExceptionDetails | undefined;
1225
1146
  }
1226
-
1227
1147
  interface ScriptParsedEventDataType {
1228
1148
  /**
1229
1149
  * Identifier of the script parsed.
@@ -1288,7 +1208,6 @@ declare module 'inspector' {
1288
1208
  */
1289
1209
  stackTrace?: Runtime.StackTrace | undefined;
1290
1210
  }
1291
-
1292
1211
  interface ScriptFailedToParseEventDataType {
1293
1212
  /**
1294
1213
  * Identifier of the script parsed.
@@ -1348,7 +1267,6 @@ declare module 'inspector' {
1348
1267
  */
1349
1268
  stackTrace?: Runtime.StackTrace | undefined;
1350
1269
  }
1351
-
1352
1270
  interface BreakpointResolvedEventDataType {
1353
1271
  /**
1354
1272
  * Breakpoint unique identifier.
@@ -1359,7 +1277,6 @@ declare module 'inspector' {
1359
1277
  */
1360
1278
  location: Location;
1361
1279
  }
1362
-
1363
1280
  interface PausedEventDataType {
1364
1281
  /**
1365
1282
  * Call stack the virtual machine stopped on.
@@ -1393,7 +1310,6 @@ declare module 'inspector' {
1393
1310
  asyncCallStackTraceId?: Runtime.StackTraceId | undefined;
1394
1311
  }
1395
1312
  }
1396
-
1397
1313
  namespace Console {
1398
1314
  /**
1399
1315
  * Console message.
@@ -1424,7 +1340,6 @@ declare module 'inspector' {
1424
1340
  */
1425
1341
  column?: number | undefined;
1426
1342
  }
1427
-
1428
1343
  interface MessageAddedEventDataType {
1429
1344
  /**
1430
1345
  * Console message that has been added.
@@ -1432,7 +1347,6 @@ declare module 'inspector' {
1432
1347
  message: ConsoleMessage;
1433
1348
  }
1434
1349
  }
1435
-
1436
1350
  namespace Profiler {
1437
1351
  /**
1438
1352
  * Profile node. Holds callsite information, execution statistics and child nodes.
@@ -1463,7 +1377,6 @@ declare module 'inspector' {
1463
1377
  */
1464
1378
  positionTicks?: PositionTickInfo[] | undefined;
1465
1379
  }
1466
-
1467
1380
  /**
1468
1381
  * Profile.
1469
1382
  */
@@ -1489,7 +1402,6 @@ declare module 'inspector' {
1489
1402
  */
1490
1403
  timeDeltas?: number[] | undefined;
1491
1404
  }
1492
-
1493
1405
  /**
1494
1406
  * Specifies a number of samples attributed to a certain source position.
1495
1407
  */
@@ -1503,7 +1415,6 @@ declare module 'inspector' {
1503
1415
  */
1504
1416
  ticks: number;
1505
1417
  }
1506
-
1507
1418
  /**
1508
1419
  * Coverage data for a source range.
1509
1420
  */
@@ -1521,7 +1432,6 @@ declare module 'inspector' {
1521
1432
  */
1522
1433
  count: number;
1523
1434
  }
1524
-
1525
1435
  /**
1526
1436
  * Coverage data for a JavaScript function.
1527
1437
  */
@@ -1539,7 +1449,6 @@ declare module 'inspector' {
1539
1449
  */
1540
1450
  isBlockCoverage: boolean;
1541
1451
  }
1542
-
1543
1452
  /**
1544
1453
  * Coverage data for a JavaScript script.
1545
1454
  */
@@ -1557,7 +1466,6 @@ declare module 'inspector' {
1557
1466
  */
1558
1467
  functions: FunctionCoverage[];
1559
1468
  }
1560
-
1561
1469
  /**
1562
1470
  * Describes a type collected during runtime.
1563
1471
  * @experimental
@@ -1568,7 +1476,6 @@ declare module 'inspector' {
1568
1476
  */
1569
1477
  name: string;
1570
1478
  }
1571
-
1572
1479
  /**
1573
1480
  * Source offset and types for a parameter or return value.
1574
1481
  * @experimental
@@ -1583,7 +1490,6 @@ declare module 'inspector' {
1583
1490
  */
1584
1491
  types: TypeObject[];
1585
1492
  }
1586
-
1587
1493
  /**
1588
1494
  * Type profile data collected during runtime for a JavaScript script.
1589
1495
  * @experimental
@@ -1602,14 +1508,12 @@ declare module 'inspector' {
1602
1508
  */
1603
1509
  entries: TypeProfileEntry[];
1604
1510
  }
1605
-
1606
1511
  interface SetSamplingIntervalParameterType {
1607
1512
  /**
1608
1513
  * New sampling interval in microseconds.
1609
1514
  */
1610
1515
  interval: number;
1611
1516
  }
1612
-
1613
1517
  interface StartPreciseCoverageParameterType {
1614
1518
  /**
1615
1519
  * Collect accurate call counts beyond simple 'covered' or 'not covered'.
@@ -1620,35 +1524,30 @@ declare module 'inspector' {
1620
1524
  */
1621
1525
  detailed?: boolean | undefined;
1622
1526
  }
1623
-
1624
1527
  interface StopReturnType {
1625
1528
  /**
1626
1529
  * Recorded profile.
1627
1530
  */
1628
1531
  profile: Profile;
1629
1532
  }
1630
-
1631
1533
  interface TakePreciseCoverageReturnType {
1632
1534
  /**
1633
1535
  * Coverage data for the current isolate.
1634
1536
  */
1635
1537
  result: ScriptCoverage[];
1636
1538
  }
1637
-
1638
1539
  interface GetBestEffortCoverageReturnType {
1639
1540
  /**
1640
1541
  * Coverage data for the current isolate.
1641
1542
  */
1642
1543
  result: ScriptCoverage[];
1643
1544
  }
1644
-
1645
1545
  interface TakeTypeProfileReturnType {
1646
1546
  /**
1647
1547
  * Type profile for all scripts since startTypeProfile() was turned on.
1648
1548
  */
1649
1549
  result: ScriptTypeProfile[];
1650
1550
  }
1651
-
1652
1551
  interface ConsoleProfileStartedEventDataType {
1653
1552
  id: string;
1654
1553
  /**
@@ -1660,7 +1559,6 @@ declare module 'inspector' {
1660
1559
  */
1661
1560
  title?: string | undefined;
1662
1561
  }
1663
-
1664
1562
  interface ConsoleProfileFinishedEventDataType {
1665
1563
  id: string;
1666
1564
  /**
@@ -1674,13 +1572,11 @@ declare module 'inspector' {
1674
1572
  title?: string | undefined;
1675
1573
  }
1676
1574
  }
1677
-
1678
1575
  namespace HeapProfiler {
1679
1576
  /**
1680
1577
  * Heap snapshot object id.
1681
1578
  */
1682
1579
  type HeapSnapshotObjectId = string;
1683
-
1684
1580
  /**
1685
1581
  * Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.
1686
1582
  */
@@ -1698,32 +1594,27 @@ declare module 'inspector' {
1698
1594
  */
1699
1595
  children: SamplingHeapProfileNode[];
1700
1596
  }
1701
-
1702
1597
  /**
1703
1598
  * Profile.
1704
1599
  */
1705
1600
  interface SamplingHeapProfile {
1706
1601
  head: SamplingHeapProfileNode;
1707
1602
  }
1708
-
1709
1603
  interface StartTrackingHeapObjectsParameterType {
1710
1604
  trackAllocations?: boolean | undefined;
1711
1605
  }
1712
-
1713
1606
  interface StopTrackingHeapObjectsParameterType {
1714
1607
  /**
1715
1608
  * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped.
1716
1609
  */
1717
1610
  reportProgress?: boolean | undefined;
1718
1611
  }
1719
-
1720
1612
  interface TakeHeapSnapshotParameterType {
1721
1613
  /**
1722
1614
  * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken.
1723
1615
  */
1724
1616
  reportProgress?: boolean | undefined;
1725
1617
  }
1726
-
1727
1618
  interface GetObjectByHeapObjectIdParameterType {
1728
1619
  objectId: HeapSnapshotObjectId;
1729
1620
  /**
@@ -1731,71 +1622,60 @@ declare module 'inspector' {
1731
1622
  */
1732
1623
  objectGroup?: string | undefined;
1733
1624
  }
1734
-
1735
1625
  interface AddInspectedHeapObjectParameterType {
1736
1626
  /**
1737
1627
  * Heap snapshot object id to be accessible by means of $x command line API.
1738
1628
  */
1739
1629
  heapObjectId: HeapSnapshotObjectId;
1740
1630
  }
1741
-
1742
1631
  interface GetHeapObjectIdParameterType {
1743
1632
  /**
1744
1633
  * Identifier of the object to get heap object id for.
1745
1634
  */
1746
1635
  objectId: Runtime.RemoteObjectId;
1747
1636
  }
1748
-
1749
1637
  interface StartSamplingParameterType {
1750
1638
  /**
1751
1639
  * Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes.
1752
1640
  */
1753
1641
  samplingInterval?: number | undefined;
1754
1642
  }
1755
-
1756
1643
  interface GetObjectByHeapObjectIdReturnType {
1757
1644
  /**
1758
1645
  * Evaluation result.
1759
1646
  */
1760
1647
  result: Runtime.RemoteObject;
1761
1648
  }
1762
-
1763
1649
  interface GetHeapObjectIdReturnType {
1764
1650
  /**
1765
1651
  * Id of the heap snapshot object corresponding to the passed remote object id.
1766
1652
  */
1767
1653
  heapSnapshotObjectId: HeapSnapshotObjectId;
1768
1654
  }
1769
-
1770
1655
  interface StopSamplingReturnType {
1771
1656
  /**
1772
1657
  * Recorded sampling heap profile.
1773
1658
  */
1774
1659
  profile: SamplingHeapProfile;
1775
1660
  }
1776
-
1777
1661
  interface GetSamplingProfileReturnType {
1778
1662
  /**
1779
1663
  * Return the sampling profile being collected.
1780
1664
  */
1781
1665
  profile: SamplingHeapProfile;
1782
1666
  }
1783
-
1784
1667
  interface AddHeapSnapshotChunkEventDataType {
1785
1668
  chunk: string;
1786
1669
  }
1787
-
1788
1670
  interface ReportHeapSnapshotProgressEventDataType {
1789
1671
  done: number;
1790
1672
  total: number;
1791
1673
  finished?: boolean | undefined;
1792
1674
  }
1793
-
1794
1675
  interface LastSeenObjectIdEventDataType {
1795
1676
  lastSeenObjectId: number;
1796
1677
  timestamp: number;
1797
1678
  }
1798
-
1799
1679
  interface HeapStatsUpdateEventDataType {
1800
1680
  /**
1801
1681
  * 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.
@@ -1803,7 +1683,6 @@ declare module 'inspector' {
1803
1683
  statsUpdate: number[];
1804
1684
  }
1805
1685
  }
1806
-
1807
1686
  namespace NodeTracing {
1808
1687
  interface TraceConfig {
1809
1688
  /**
@@ -1815,38 +1694,31 @@ declare module 'inspector' {
1815
1694
  */
1816
1695
  includedCategories: string[];
1817
1696
  }
1818
-
1819
1697
  interface StartParameterType {
1820
1698
  traceConfig: TraceConfig;
1821
1699
  }
1822
-
1823
1700
  interface GetCategoriesReturnType {
1824
1701
  /**
1825
1702
  * A list of supported tracing categories.
1826
1703
  */
1827
1704
  categories: string[];
1828
1705
  }
1829
-
1830
1706
  interface DataCollectedEventDataType {
1831
1707
  value: Array<{}>;
1832
1708
  }
1833
1709
  }
1834
-
1835
1710
  namespace NodeWorker {
1836
1711
  type WorkerID = string;
1837
-
1838
1712
  /**
1839
1713
  * Unique identifier of attached debugging session.
1840
1714
  */
1841
1715
  type SessionID = string;
1842
-
1843
1716
  interface WorkerInfo {
1844
1717
  workerId: WorkerID;
1845
1718
  type: string;
1846
1719
  title: string;
1847
1720
  url: string;
1848
1721
  }
1849
-
1850
1722
  interface SendMessageToWorkerParameterType {
1851
1723
  message: string;
1852
1724
  /**
@@ -1854,7 +1726,6 @@ declare module 'inspector' {
1854
1726
  */
1855
1727
  sessionId: SessionID;
1856
1728
  }
1857
-
1858
1729
  interface EnableParameterType {
1859
1730
  /**
1860
1731
  * Whether to new workers should be paused until the frontend sends `Runtime.runIfWaitingForDebugger`
@@ -1862,11 +1733,9 @@ declare module 'inspector' {
1862
1733
  */
1863
1734
  waitForDebuggerOnStart: boolean;
1864
1735
  }
1865
-
1866
1736
  interface DetachParameterType {
1867
1737
  sessionId: SessionID;
1868
1738
  }
1869
-
1870
1739
  interface AttachedToWorkerEventDataType {
1871
1740
  /**
1872
1741
  * Identifier assigned to the session used to send/receive messages.
@@ -1875,14 +1744,12 @@ declare module 'inspector' {
1875
1744
  workerInfo: WorkerInfo;
1876
1745
  waitingForDebugger: boolean;
1877
1746
  }
1878
-
1879
1747
  interface DetachedFromWorkerEventDataType {
1880
1748
  /**
1881
1749
  * Detached session identifier.
1882
1750
  */
1883
1751
  sessionId: SessionID;
1884
1752
  }
1885
-
1886
1753
  interface ReceivedMessageFromWorkerEventDataType {
1887
1754
  /**
1888
1755
  * Identifier of a session which sends a message.
@@ -1891,15 +1758,14 @@ declare module 'inspector' {
1891
1758
  message: string;
1892
1759
  }
1893
1760
  }
1894
-
1895
1761
  namespace NodeRuntime {
1896
1762
  interface NotifyWhenWaitingForDisconnectParameterType {
1897
1763
  enabled: boolean;
1898
1764
  }
1899
1765
  }
1900
-
1901
1766
  /**
1902
- * The inspector.Session is used for dispatching messages to the V8 inspector back-end and receiving message responses and notifications.
1767
+ * The `inspector.Session` is used for dispatching messages to the V8 inspector
1768
+ * back-end and receiving message responses and notifications.
1903
1769
  */
1904
1770
  class Session extends EventEmitter {
1905
1771
  /**
@@ -1907,1139 +1773,972 @@ declare module 'inspector' {
1907
1773
  * The inspector session needs to be connected through session.connect() before the messages can be dispatched to the inspector backend.
1908
1774
  */
1909
1775
  constructor();
1910
-
1911
1776
  /**
1912
1777
  * Connects a session to the inspector back-end.
1913
- * An exception will be thrown if there is already a connected session established either
1914
- * through the API or by a front-end connected to the Inspector WebSocket port.
1778
+ * @since v8.0.0
1915
1779
  */
1916
1780
  connect(): void;
1917
-
1918
1781
  /**
1919
- * Immediately close the session. All pending message callbacks will be called with an error.
1920
- * session.connect() will need to be called to be able to send messages again.
1921
- * Reconnected session will lose all inspector state, such as enabled agents or configured breakpoints.
1782
+ * Connects a session to the main thread inspector back-end.
1783
+ * An exception will be thrown if this API was not called on a Worker
1784
+ * thread.
1785
+ * @since 12.11.0
1786
+ */
1787
+ connectToMainThread(): void;
1788
+ /**
1789
+ * Immediately close the session. All pending message callbacks will be called
1790
+ * with an error. `session.connect()` will need to be called to be able to send
1791
+ * messages again. Reconnected session will lose all inspector state, such as
1792
+ * enabled agents or configured breakpoints.
1793
+ * @since v8.0.0
1922
1794
  */
1923
1795
  disconnect(): void;
1924
-
1925
1796
  /**
1926
- * Posts a message to the inspector back-end. callback will be notified when a response is received.
1927
- * callback is a function that accepts two optional arguments - error and message-specific result.
1797
+ * Posts a message to the inspector back-end. `callback` will be notified when
1798
+ * a response is received. `callback` is a function that accepts two optional
1799
+ * arguments: error and message-specific result.
1800
+ *
1801
+ * ```js
1802
+ * session.post('Runtime.evaluate', { expression: '2 + 2' },
1803
+ * (error, { result }) => console.log(result));
1804
+ * // Output: { type: 'number', value: 4, description: '4' }
1805
+ * ```
1806
+ *
1807
+ * The latest version of the V8 inspector protocol is published on the [Chrome DevTools Protocol Viewer](https://chromedevtools.github.io/devtools-protocol/v8/).
1808
+ *
1809
+ * Node.js inspector supports all the Chrome DevTools Protocol domains declared
1810
+ * by V8\. Chrome DevTools Protocol domain provides an interface for interacting
1811
+ * with one of the runtime agents used to inspect the application state and listen
1812
+ * to the run-time events.
1813
+ *
1814
+ * ## Example usage
1815
+ *
1816
+ * Apart from the debugger, various V8 Profilers are available through the DevTools
1817
+ * protocol.
1818
+ * @since v8.0.0
1928
1819
  */
1929
1820
  post(method: string, params?: {}, callback?: (err: Error | null, params?: {}) => void): void;
1930
1821
  post(method: string, callback?: (err: Error | null, params?: {}) => void): void;
1931
-
1932
1822
  /**
1933
1823
  * Returns supported domains.
1934
1824
  */
1935
- post(method: "Schema.getDomains", callback?: (err: Error | null, params: Schema.GetDomainsReturnType) => void): void;
1936
-
1825
+ post(method: 'Schema.getDomains', callback?: (err: Error | null, params: Schema.GetDomainsReturnType) => void): void;
1937
1826
  /**
1938
1827
  * Evaluates expression on global object.
1939
1828
  */
1940
- post(method: "Runtime.evaluate", params?: Runtime.EvaluateParameterType, callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void;
1941
- post(method: "Runtime.evaluate", callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void;
1942
-
1829
+ post(method: 'Runtime.evaluate', params?: Runtime.EvaluateParameterType, callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void;
1830
+ post(method: 'Runtime.evaluate', callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void;
1943
1831
  /**
1944
1832
  * Add handler to promise with given promise object id.
1945
1833
  */
1946
- post(method: "Runtime.awaitPromise", params?: Runtime.AwaitPromiseParameterType, callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void;
1947
- post(method: "Runtime.awaitPromise", callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void;
1948
-
1834
+ post(method: 'Runtime.awaitPromise', params?: Runtime.AwaitPromiseParameterType, callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void;
1835
+ post(method: 'Runtime.awaitPromise', callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void;
1949
1836
  /**
1950
1837
  * Calls function with given declaration on the given object. Object group of the result is inherited from the target object.
1951
1838
  */
1952
- post(method: "Runtime.callFunctionOn", params?: Runtime.CallFunctionOnParameterType, callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void;
1953
- post(method: "Runtime.callFunctionOn", callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void;
1954
-
1839
+ post(method: 'Runtime.callFunctionOn', params?: Runtime.CallFunctionOnParameterType, callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void;
1840
+ post(method: 'Runtime.callFunctionOn', callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void;
1955
1841
  /**
1956
1842
  * Returns properties of a given object. Object group of the result is inherited from the target object.
1957
1843
  */
1958
- post(method: "Runtime.getProperties", params?: Runtime.GetPropertiesParameterType, callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void;
1959
- post(method: "Runtime.getProperties", callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void;
1960
-
1844
+ post(method: 'Runtime.getProperties', params?: Runtime.GetPropertiesParameterType, callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void;
1845
+ post(method: 'Runtime.getProperties', callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void;
1961
1846
  /**
1962
1847
  * Releases remote object with given id.
1963
1848
  */
1964
- post(method: "Runtime.releaseObject", params?: Runtime.ReleaseObjectParameterType, callback?: (err: Error | null) => void): void;
1965
- post(method: "Runtime.releaseObject", callback?: (err: Error | null) => void): void;
1966
-
1849
+ post(method: 'Runtime.releaseObject', params?: Runtime.ReleaseObjectParameterType, callback?: (err: Error | null) => void): void;
1850
+ post(method: 'Runtime.releaseObject', callback?: (err: Error | null) => void): void;
1967
1851
  /**
1968
1852
  * Releases all remote objects that belong to a given group.
1969
1853
  */
1970
- post(method: "Runtime.releaseObjectGroup", params?: Runtime.ReleaseObjectGroupParameterType, callback?: (err: Error | null) => void): void;
1971
- post(method: "Runtime.releaseObjectGroup", callback?: (err: Error | null) => void): void;
1972
-
1854
+ post(method: 'Runtime.releaseObjectGroup', params?: Runtime.ReleaseObjectGroupParameterType, callback?: (err: Error | null) => void): void;
1855
+ post(method: 'Runtime.releaseObjectGroup', callback?: (err: Error | null) => void): void;
1973
1856
  /**
1974
1857
  * Tells inspected instance to run if it was waiting for debugger to attach.
1975
1858
  */
1976
- post(method: "Runtime.runIfWaitingForDebugger", callback?: (err: Error | null) => void): void;
1977
-
1859
+ post(method: 'Runtime.runIfWaitingForDebugger', callback?: (err: Error | null) => void): void;
1978
1860
  /**
1979
1861
  * 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.
1980
1862
  */
1981
- post(method: "Runtime.enable", callback?: (err: Error | null) => void): void;
1982
-
1863
+ post(method: 'Runtime.enable', callback?: (err: Error | null) => void): void;
1983
1864
  /**
1984
1865
  * Disables reporting of execution contexts creation.
1985
1866
  */
1986
- post(method: "Runtime.disable", callback?: (err: Error | null) => void): void;
1987
-
1867
+ post(method: 'Runtime.disable', callback?: (err: Error | null) => void): void;
1988
1868
  /**
1989
1869
  * Discards collected exceptions and console API calls.
1990
1870
  */
1991
- post(method: "Runtime.discardConsoleEntries", callback?: (err: Error | null) => void): void;
1992
-
1871
+ post(method: 'Runtime.discardConsoleEntries', callback?: (err: Error | null) => void): void;
1993
1872
  /**
1994
1873
  * @experimental
1995
1874
  */
1996
- post(method: "Runtime.setCustomObjectFormatterEnabled", params?: Runtime.SetCustomObjectFormatterEnabledParameterType, callback?: (err: Error | null) => void): void;
1997
- post(method: "Runtime.setCustomObjectFormatterEnabled", callback?: (err: Error | null) => void): void;
1998
-
1875
+ post(method: 'Runtime.setCustomObjectFormatterEnabled', params?: Runtime.SetCustomObjectFormatterEnabledParameterType, callback?: (err: Error | null) => void): void;
1876
+ post(method: 'Runtime.setCustomObjectFormatterEnabled', callback?: (err: Error | null) => void): void;
1999
1877
  /**
2000
1878
  * Compiles expression.
2001
1879
  */
2002
- post(method: "Runtime.compileScript", params?: Runtime.CompileScriptParameterType, callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void;
2003
- post(method: "Runtime.compileScript", callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void;
2004
-
1880
+ post(method: 'Runtime.compileScript', params?: Runtime.CompileScriptParameterType, callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void;
1881
+ post(method: 'Runtime.compileScript', callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void;
2005
1882
  /**
2006
1883
  * Runs script with given id in a given context.
2007
1884
  */
2008
- post(method: "Runtime.runScript", params?: Runtime.RunScriptParameterType, callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void;
2009
- post(method: "Runtime.runScript", callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void;
2010
-
2011
- post(method: "Runtime.queryObjects", params?: Runtime.QueryObjectsParameterType, callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void;
2012
- post(method: "Runtime.queryObjects", callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void;
2013
-
1885
+ post(method: 'Runtime.runScript', params?: Runtime.RunScriptParameterType, callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void;
1886
+ post(method: 'Runtime.runScript', callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void;
1887
+ post(method: 'Runtime.queryObjects', params?: Runtime.QueryObjectsParameterType, callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void;
1888
+ post(method: 'Runtime.queryObjects', callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void;
2014
1889
  /**
2015
1890
  * Returns all let, const and class variables from global scope.
2016
1891
  */
2017
1892
  post(
2018
- method: "Runtime.globalLexicalScopeNames",
1893
+ method: 'Runtime.globalLexicalScopeNames',
2019
1894
  params?: Runtime.GlobalLexicalScopeNamesParameterType,
2020
1895
  callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void
2021
1896
  ): void;
2022
- post(method: "Runtime.globalLexicalScopeNames", callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void): void;
2023
-
1897
+ post(method: 'Runtime.globalLexicalScopeNames', callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void): void;
2024
1898
  /**
2025
1899
  * Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received.
2026
1900
  */
2027
- post(method: "Debugger.enable", callback?: (err: Error | null, params: Debugger.EnableReturnType) => void): void;
2028
-
1901
+ post(method: 'Debugger.enable', callback?: (err: Error | null, params: Debugger.EnableReturnType) => void): void;
2029
1902
  /**
2030
1903
  * Disables debugger for given page.
2031
1904
  */
2032
- post(method: "Debugger.disable", callback?: (err: Error | null) => void): void;
2033
-
1905
+ post(method: 'Debugger.disable', callback?: (err: Error | null) => void): void;
2034
1906
  /**
2035
1907
  * Activates / deactivates all breakpoints on the page.
2036
1908
  */
2037
- post(method: "Debugger.setBreakpointsActive", params?: Debugger.SetBreakpointsActiveParameterType, callback?: (err: Error | null) => void): void;
2038
- post(method: "Debugger.setBreakpointsActive", callback?: (err: Error | null) => void): void;
2039
-
1909
+ post(method: 'Debugger.setBreakpointsActive', params?: Debugger.SetBreakpointsActiveParameterType, callback?: (err: Error | null) => void): void;
1910
+ post(method: 'Debugger.setBreakpointsActive', callback?: (err: Error | null) => void): void;
2040
1911
  /**
2041
1912
  * Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
2042
1913
  */
2043
- post(method: "Debugger.setSkipAllPauses", params?: Debugger.SetSkipAllPausesParameterType, callback?: (err: Error | null) => void): void;
2044
- post(method: "Debugger.setSkipAllPauses", callback?: (err: Error | null) => void): void;
2045
-
1914
+ post(method: 'Debugger.setSkipAllPauses', params?: Debugger.SetSkipAllPausesParameterType, callback?: (err: Error | null) => void): void;
1915
+ post(method: 'Debugger.setSkipAllPauses', callback?: (err: Error | null) => void): void;
2046
1916
  /**
2047
1917
  * 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.
2048
1918
  */
2049
- post(method: "Debugger.setBreakpointByUrl", params?: Debugger.SetBreakpointByUrlParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void;
2050
- post(method: "Debugger.setBreakpointByUrl", callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void;
2051
-
1919
+ post(method: 'Debugger.setBreakpointByUrl', params?: Debugger.SetBreakpointByUrlParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void;
1920
+ post(method: 'Debugger.setBreakpointByUrl', callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void;
2052
1921
  /**
2053
1922
  * Sets JavaScript breakpoint at a given location.
2054
1923
  */
2055
- post(method: "Debugger.setBreakpoint", params?: Debugger.SetBreakpointParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void;
2056
- post(method: "Debugger.setBreakpoint", callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void;
2057
-
1924
+ post(method: 'Debugger.setBreakpoint', params?: Debugger.SetBreakpointParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void;
1925
+ post(method: 'Debugger.setBreakpoint', callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void;
2058
1926
  /**
2059
1927
  * Removes JavaScript breakpoint.
2060
1928
  */
2061
- post(method: "Debugger.removeBreakpoint", params?: Debugger.RemoveBreakpointParameterType, callback?: (err: Error | null) => void): void;
2062
- post(method: "Debugger.removeBreakpoint", callback?: (err: Error | null) => void): void;
2063
-
1929
+ post(method: 'Debugger.removeBreakpoint', params?: Debugger.RemoveBreakpointParameterType, callback?: (err: Error | null) => void): void;
1930
+ post(method: 'Debugger.removeBreakpoint', callback?: (err: Error | null) => void): void;
2064
1931
  /**
2065
1932
  * Returns possible locations for breakpoint. scriptId in start and end range locations should be the same.
2066
1933
  */
2067
1934
  post(
2068
- method: "Debugger.getPossibleBreakpoints",
1935
+ method: 'Debugger.getPossibleBreakpoints',
2069
1936
  params?: Debugger.GetPossibleBreakpointsParameterType,
2070
1937
  callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void
2071
1938
  ): void;
2072
- post(method: "Debugger.getPossibleBreakpoints", callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void): void;
2073
-
1939
+ post(method: 'Debugger.getPossibleBreakpoints', callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void): void;
2074
1940
  /**
2075
1941
  * Continues execution until specific location is reached.
2076
1942
  */
2077
- post(method: "Debugger.continueToLocation", params?: Debugger.ContinueToLocationParameterType, callback?: (err: Error | null) => void): void;
2078
- post(method: "Debugger.continueToLocation", callback?: (err: Error | null) => void): void;
2079
-
1943
+ post(method: 'Debugger.continueToLocation', params?: Debugger.ContinueToLocationParameterType, callback?: (err: Error | null) => void): void;
1944
+ post(method: 'Debugger.continueToLocation', callback?: (err: Error | null) => void): void;
2080
1945
  /**
2081
1946
  * @experimental
2082
1947
  */
2083
- post(method: "Debugger.pauseOnAsyncCall", params?: Debugger.PauseOnAsyncCallParameterType, callback?: (err: Error | null) => void): void;
2084
- post(method: "Debugger.pauseOnAsyncCall", callback?: (err: Error | null) => void): void;
2085
-
1948
+ post(method: 'Debugger.pauseOnAsyncCall', params?: Debugger.PauseOnAsyncCallParameterType, callback?: (err: Error | null) => void): void;
1949
+ post(method: 'Debugger.pauseOnAsyncCall', callback?: (err: Error | null) => void): void;
2086
1950
  /**
2087
1951
  * Steps over the statement.
2088
1952
  */
2089
- post(method: "Debugger.stepOver", callback?: (err: Error | null) => void): void;
2090
-
1953
+ post(method: 'Debugger.stepOver', callback?: (err: Error | null) => void): void;
2091
1954
  /**
2092
1955
  * Steps into the function call.
2093
1956
  */
2094
- post(method: "Debugger.stepInto", params?: Debugger.StepIntoParameterType, callback?: (err: Error | null) => void): void;
2095
- post(method: "Debugger.stepInto", callback?: (err: Error | null) => void): void;
2096
-
1957
+ post(method: 'Debugger.stepInto', params?: Debugger.StepIntoParameterType, callback?: (err: Error | null) => void): void;
1958
+ post(method: 'Debugger.stepInto', callback?: (err: Error | null) => void): void;
2097
1959
  /**
2098
1960
  * Steps out of the function call.
2099
1961
  */
2100
- post(method: "Debugger.stepOut", callback?: (err: Error | null) => void): void;
2101
-
1962
+ post(method: 'Debugger.stepOut', callback?: (err: Error | null) => void): void;
2102
1963
  /**
2103
1964
  * Stops on the next JavaScript statement.
2104
1965
  */
2105
- post(method: "Debugger.pause", callback?: (err: Error | null) => void): void;
2106
-
1966
+ post(method: 'Debugger.pause', callback?: (err: Error | null) => void): void;
2107
1967
  /**
2108
1968
  * 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.
2109
1969
  * @experimental
2110
1970
  */
2111
- post(method: "Debugger.scheduleStepIntoAsync", callback?: (err: Error | null) => void): void;
2112
-
1971
+ post(method: 'Debugger.scheduleStepIntoAsync', callback?: (err: Error | null) => void): void;
2113
1972
  /**
2114
1973
  * Resumes JavaScript execution.
2115
1974
  */
2116
- post(method: "Debugger.resume", callback?: (err: Error | null) => void): void;
2117
-
1975
+ post(method: 'Debugger.resume', callback?: (err: Error | null) => void): void;
2118
1976
  /**
2119
1977
  * Returns stack trace with given <code>stackTraceId</code>.
2120
1978
  * @experimental
2121
1979
  */
2122
- post(method: "Debugger.getStackTrace", params?: Debugger.GetStackTraceParameterType, callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void;
2123
- post(method: "Debugger.getStackTrace", callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void;
2124
-
1980
+ post(method: 'Debugger.getStackTrace', params?: Debugger.GetStackTraceParameterType, callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void;
1981
+ post(method: 'Debugger.getStackTrace', callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void;
2125
1982
  /**
2126
1983
  * Searches for given string in script content.
2127
1984
  */
2128
- post(method: "Debugger.searchInContent", params?: Debugger.SearchInContentParameterType, callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void;
2129
- post(method: "Debugger.searchInContent", callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void;
2130
-
1985
+ post(method: 'Debugger.searchInContent', params?: Debugger.SearchInContentParameterType, callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void;
1986
+ post(method: 'Debugger.searchInContent', callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void;
2131
1987
  /**
2132
1988
  * Edits JavaScript source live.
2133
1989
  */
2134
- post(method: "Debugger.setScriptSource", params?: Debugger.SetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void;
2135
- post(method: "Debugger.setScriptSource", callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void;
2136
-
1990
+ post(method: 'Debugger.setScriptSource', params?: Debugger.SetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void;
1991
+ post(method: 'Debugger.setScriptSource', callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void;
2137
1992
  /**
2138
1993
  * Restarts particular call frame from the beginning.
2139
1994
  */
2140
- post(method: "Debugger.restartFrame", params?: Debugger.RestartFrameParameterType, callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void;
2141
- post(method: "Debugger.restartFrame", callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void;
2142
-
1995
+ post(method: 'Debugger.restartFrame', params?: Debugger.RestartFrameParameterType, callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void;
1996
+ post(method: 'Debugger.restartFrame', callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void;
2143
1997
  /**
2144
1998
  * Returns source for the script with given id.
2145
1999
  */
2146
- post(method: "Debugger.getScriptSource", params?: Debugger.GetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void;
2147
- post(method: "Debugger.getScriptSource", callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void;
2148
-
2000
+ post(method: 'Debugger.getScriptSource', params?: Debugger.GetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void;
2001
+ post(method: 'Debugger.getScriptSource', callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void;
2149
2002
  /**
2150
2003
  * 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>.
2151
2004
  */
2152
- post(method: "Debugger.setPauseOnExceptions", params?: Debugger.SetPauseOnExceptionsParameterType, callback?: (err: Error | null) => void): void;
2153
- post(method: "Debugger.setPauseOnExceptions", callback?: (err: Error | null) => void): void;
2154
-
2005
+ post(method: 'Debugger.setPauseOnExceptions', params?: Debugger.SetPauseOnExceptionsParameterType, callback?: (err: Error | null) => void): void;
2006
+ post(method: 'Debugger.setPauseOnExceptions', callback?: (err: Error | null) => void): void;
2155
2007
  /**
2156
2008
  * Evaluates expression on a given call frame.
2157
2009
  */
2158
- post(method: "Debugger.evaluateOnCallFrame", params?: Debugger.EvaluateOnCallFrameParameterType, callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void;
2159
- post(method: "Debugger.evaluateOnCallFrame", callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void;
2160
-
2010
+ post(method: 'Debugger.evaluateOnCallFrame', params?: Debugger.EvaluateOnCallFrameParameterType, callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void;
2011
+ post(method: 'Debugger.evaluateOnCallFrame', callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void;
2161
2012
  /**
2162
2013
  * Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually.
2163
2014
  */
2164
- post(method: "Debugger.setVariableValue", params?: Debugger.SetVariableValueParameterType, callback?: (err: Error | null) => void): void;
2165
- post(method: "Debugger.setVariableValue", callback?: (err: Error | null) => void): void;
2166
-
2015
+ post(method: 'Debugger.setVariableValue', params?: Debugger.SetVariableValueParameterType, callback?: (err: Error | null) => void): void;
2016
+ post(method: 'Debugger.setVariableValue', callback?: (err: Error | null) => void): void;
2167
2017
  /**
2168
2018
  * Changes return value in top frame. Available only at return break position.
2169
2019
  * @experimental
2170
2020
  */
2171
- post(method: "Debugger.setReturnValue", params?: Debugger.SetReturnValueParameterType, callback?: (err: Error | null) => void): void;
2172
- post(method: "Debugger.setReturnValue", callback?: (err: Error | null) => void): void;
2173
-
2021
+ post(method: 'Debugger.setReturnValue', params?: Debugger.SetReturnValueParameterType, callback?: (err: Error | null) => void): void;
2022
+ post(method: 'Debugger.setReturnValue', callback?: (err: Error | null) => void): void;
2174
2023
  /**
2175
2024
  * Enables or disables async call stacks tracking.
2176
2025
  */
2177
- post(method: "Debugger.setAsyncCallStackDepth", params?: Debugger.SetAsyncCallStackDepthParameterType, callback?: (err: Error | null) => void): void;
2178
- post(method: "Debugger.setAsyncCallStackDepth", callback?: (err: Error | null) => void): void;
2179
-
2026
+ post(method: 'Debugger.setAsyncCallStackDepth', params?: Debugger.SetAsyncCallStackDepthParameterType, callback?: (err: Error | null) => void): void;
2027
+ post(method: 'Debugger.setAsyncCallStackDepth', callback?: (err: Error | null) => void): void;
2180
2028
  /**
2181
2029
  * 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.
2182
2030
  * @experimental
2183
2031
  */
2184
- post(method: "Debugger.setBlackboxPatterns", params?: Debugger.SetBlackboxPatternsParameterType, callback?: (err: Error | null) => void): void;
2185
- post(method: "Debugger.setBlackboxPatterns", callback?: (err: Error | null) => void): void;
2186
-
2032
+ post(method: 'Debugger.setBlackboxPatterns', params?: Debugger.SetBlackboxPatternsParameterType, callback?: (err: Error | null) => void): void;
2033
+ post(method: 'Debugger.setBlackboxPatterns', callback?: (err: Error | null) => void): void;
2187
2034
  /**
2188
2035
  * 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.
2189
2036
  * @experimental
2190
2037
  */
2191
- post(method: "Debugger.setBlackboxedRanges", params?: Debugger.SetBlackboxedRangesParameterType, callback?: (err: Error | null) => void): void;
2192
- post(method: "Debugger.setBlackboxedRanges", callback?: (err: Error | null) => void): void;
2193
-
2038
+ post(method: 'Debugger.setBlackboxedRanges', params?: Debugger.SetBlackboxedRangesParameterType, callback?: (err: Error | null) => void): void;
2039
+ post(method: 'Debugger.setBlackboxedRanges', callback?: (err: Error | null) => void): void;
2194
2040
  /**
2195
2041
  * Enables console domain, sends the messages collected so far to the client by means of the <code>messageAdded</code> notification.
2196
2042
  */
2197
- post(method: "Console.enable", callback?: (err: Error | null) => void): void;
2198
-
2043
+ post(method: 'Console.enable', callback?: (err: Error | null) => void): void;
2199
2044
  /**
2200
2045
  * Disables console domain, prevents further console messages from being reported to the client.
2201
2046
  */
2202
- post(method: "Console.disable", callback?: (err: Error | null) => void): void;
2203
-
2047
+ post(method: 'Console.disable', callback?: (err: Error | null) => void): void;
2204
2048
  /**
2205
2049
  * Does nothing.
2206
2050
  */
2207
- post(method: "Console.clearMessages", callback?: (err: Error | null) => void): void;
2208
-
2209
- post(method: "Profiler.enable", callback?: (err: Error | null) => void): void;
2210
-
2211
- post(method: "Profiler.disable", callback?: (err: Error | null) => void): void;
2212
-
2051
+ post(method: 'Console.clearMessages', callback?: (err: Error | null) => void): void;
2052
+ post(method: 'Profiler.enable', callback?: (err: Error | null) => void): void;
2053
+ post(method: 'Profiler.disable', callback?: (err: Error | null) => void): void;
2213
2054
  /**
2214
2055
  * Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
2215
2056
  */
2216
- post(method: "Profiler.setSamplingInterval", params?: Profiler.SetSamplingIntervalParameterType, callback?: (err: Error | null) => void): void;
2217
- post(method: "Profiler.setSamplingInterval", callback?: (err: Error | null) => void): void;
2218
-
2219
- post(method: "Profiler.start", callback?: (err: Error | null) => void): void;
2220
-
2221
- post(method: "Profiler.stop", callback?: (err: Error | null, params: Profiler.StopReturnType) => void): void;
2222
-
2057
+ post(method: 'Profiler.setSamplingInterval', params?: Profiler.SetSamplingIntervalParameterType, callback?: (err: Error | null) => void): void;
2058
+ post(method: 'Profiler.setSamplingInterval', callback?: (err: Error | null) => void): void;
2059
+ post(method: 'Profiler.start', callback?: (err: Error | null) => void): void;
2060
+ post(method: 'Profiler.stop', callback?: (err: Error | null, params: Profiler.StopReturnType) => void): void;
2223
2061
  /**
2224
2062
  * 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.
2225
2063
  */
2226
- post(method: "Profiler.startPreciseCoverage", params?: Profiler.StartPreciseCoverageParameterType, callback?: (err: Error | null) => void): void;
2227
- post(method: "Profiler.startPreciseCoverage", callback?: (err: Error | null) => void): void;
2228
-
2064
+ post(method: 'Profiler.startPreciseCoverage', params?: Profiler.StartPreciseCoverageParameterType, callback?: (err: Error | null) => void): void;
2065
+ post(method: 'Profiler.startPreciseCoverage', callback?: (err: Error | null) => void): void;
2229
2066
  /**
2230
2067
  * Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code.
2231
2068
  */
2232
- post(method: "Profiler.stopPreciseCoverage", callback?: (err: Error | null) => void): void;
2233
-
2069
+ post(method: 'Profiler.stopPreciseCoverage', callback?: (err: Error | null) => void): void;
2234
2070
  /**
2235
2071
  * Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started.
2236
2072
  */
2237
- post(method: "Profiler.takePreciseCoverage", callback?: (err: Error | null, params: Profiler.TakePreciseCoverageReturnType) => void): void;
2238
-
2073
+ post(method: 'Profiler.takePreciseCoverage', callback?: (err: Error | null, params: Profiler.TakePreciseCoverageReturnType) => void): void;
2239
2074
  /**
2240
2075
  * Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.
2241
2076
  */
2242
- post(method: "Profiler.getBestEffortCoverage", callback?: (err: Error | null, params: Profiler.GetBestEffortCoverageReturnType) => void): void;
2243
-
2077
+ post(method: 'Profiler.getBestEffortCoverage', callback?: (err: Error | null, params: Profiler.GetBestEffortCoverageReturnType) => void): void;
2244
2078
  /**
2245
2079
  * Enable type profile.
2246
2080
  * @experimental
2247
2081
  */
2248
- post(method: "Profiler.startTypeProfile", callback?: (err: Error | null) => void): void;
2249
-
2082
+ post(method: 'Profiler.startTypeProfile', callback?: (err: Error | null) => void): void;
2250
2083
  /**
2251
2084
  * Disable type profile. Disabling releases type profile data collected so far.
2252
2085
  * @experimental
2253
2086
  */
2254
- post(method: "Profiler.stopTypeProfile", callback?: (err: Error | null) => void): void;
2255
-
2087
+ post(method: 'Profiler.stopTypeProfile', callback?: (err: Error | null) => void): void;
2256
2088
  /**
2257
2089
  * Collect type profile.
2258
2090
  * @experimental
2259
2091
  */
2260
- post(method: "Profiler.takeTypeProfile", callback?: (err: Error | null, params: Profiler.TakeTypeProfileReturnType) => void): void;
2261
-
2262
- post(method: "HeapProfiler.enable", callback?: (err: Error | null) => void): void;
2263
-
2264
- post(method: "HeapProfiler.disable", callback?: (err: Error | null) => void): void;
2265
-
2266
- post(method: "HeapProfiler.startTrackingHeapObjects", params?: HeapProfiler.StartTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void;
2267
- post(method: "HeapProfiler.startTrackingHeapObjects", callback?: (err: Error | null) => void): void;
2268
-
2269
- post(method: "HeapProfiler.stopTrackingHeapObjects", params?: HeapProfiler.StopTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void;
2270
- post(method: "HeapProfiler.stopTrackingHeapObjects", callback?: (err: Error | null) => void): void;
2271
-
2272
- post(method: "HeapProfiler.takeHeapSnapshot", params?: HeapProfiler.TakeHeapSnapshotParameterType, callback?: (err: Error | null) => void): void;
2273
- post(method: "HeapProfiler.takeHeapSnapshot", callback?: (err: Error | null) => void): void;
2274
-
2275
- post(method: "HeapProfiler.collectGarbage", callback?: (err: Error | null) => void): void;
2276
-
2092
+ post(method: 'Profiler.takeTypeProfile', callback?: (err: Error | null, params: Profiler.TakeTypeProfileReturnType) => void): void;
2093
+ post(method: 'HeapProfiler.enable', callback?: (err: Error | null) => void): void;
2094
+ post(method: 'HeapProfiler.disable', callback?: (err: Error | null) => void): void;
2095
+ post(method: 'HeapProfiler.startTrackingHeapObjects', params?: HeapProfiler.StartTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void;
2096
+ post(method: 'HeapProfiler.startTrackingHeapObjects', callback?: (err: Error | null) => void): void;
2097
+ post(method: 'HeapProfiler.stopTrackingHeapObjects', params?: HeapProfiler.StopTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void;
2098
+ post(method: 'HeapProfiler.stopTrackingHeapObjects', callback?: (err: Error | null) => void): void;
2099
+ post(method: 'HeapProfiler.takeHeapSnapshot', params?: HeapProfiler.TakeHeapSnapshotParameterType, callback?: (err: Error | null) => void): void;
2100
+ post(method: 'HeapProfiler.takeHeapSnapshot', callback?: (err: Error | null) => void): void;
2101
+ post(method: 'HeapProfiler.collectGarbage', callback?: (err: Error | null) => void): void;
2277
2102
  post(
2278
- method: "HeapProfiler.getObjectByHeapObjectId",
2103
+ method: 'HeapProfiler.getObjectByHeapObjectId',
2279
2104
  params?: HeapProfiler.GetObjectByHeapObjectIdParameterType,
2280
2105
  callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void
2281
2106
  ): void;
2282
- post(method: "HeapProfiler.getObjectByHeapObjectId", callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void): void;
2283
-
2107
+ post(method: 'HeapProfiler.getObjectByHeapObjectId', callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void): void;
2284
2108
  /**
2285
2109
  * Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).
2286
2110
  */
2287
- post(method: "HeapProfiler.addInspectedHeapObject", params?: HeapProfiler.AddInspectedHeapObjectParameterType, callback?: (err: Error | null) => void): void;
2288
- post(method: "HeapProfiler.addInspectedHeapObject", callback?: (err: Error | null) => void): void;
2289
-
2290
- post(method: "HeapProfiler.getHeapObjectId", params?: HeapProfiler.GetHeapObjectIdParameterType, callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void;
2291
- post(method: "HeapProfiler.getHeapObjectId", callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void;
2292
-
2293
- post(method: "HeapProfiler.startSampling", params?: HeapProfiler.StartSamplingParameterType, callback?: (err: Error | null) => void): void;
2294
- post(method: "HeapProfiler.startSampling", callback?: (err: Error | null) => void): void;
2295
-
2296
- post(method: "HeapProfiler.stopSampling", callback?: (err: Error | null, params: HeapProfiler.StopSamplingReturnType) => void): void;
2297
-
2298
- post(method: "HeapProfiler.getSamplingProfile", callback?: (err: Error | null, params: HeapProfiler.GetSamplingProfileReturnType) => void): void;
2299
-
2111
+ post(method: 'HeapProfiler.addInspectedHeapObject', params?: HeapProfiler.AddInspectedHeapObjectParameterType, callback?: (err: Error | null) => void): void;
2112
+ post(method: 'HeapProfiler.addInspectedHeapObject', callback?: (err: Error | null) => void): void;
2113
+ post(method: 'HeapProfiler.getHeapObjectId', params?: HeapProfiler.GetHeapObjectIdParameterType, callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void;
2114
+ post(method: 'HeapProfiler.getHeapObjectId', callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void;
2115
+ post(method: 'HeapProfiler.startSampling', params?: HeapProfiler.StartSamplingParameterType, callback?: (err: Error | null) => void): void;
2116
+ post(method: 'HeapProfiler.startSampling', callback?: (err: Error | null) => void): void;
2117
+ post(method: 'HeapProfiler.stopSampling', callback?: (err: Error | null, params: HeapProfiler.StopSamplingReturnType) => void): void;
2118
+ post(method: 'HeapProfiler.getSamplingProfile', callback?: (err: Error | null, params: HeapProfiler.GetSamplingProfileReturnType) => void): void;
2300
2119
  /**
2301
2120
  * Gets supported tracing categories.
2302
2121
  */
2303
- post(method: "NodeTracing.getCategories", callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void;
2304
-
2122
+ post(method: 'NodeTracing.getCategories', callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void;
2305
2123
  /**
2306
2124
  * Start trace events collection.
2307
2125
  */
2308
- post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void;
2309
- post(method: "NodeTracing.start", callback?: (err: Error | null) => void): void;
2310
-
2126
+ post(method: 'NodeTracing.start', params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void;
2127
+ post(method: 'NodeTracing.start', callback?: (err: Error | null) => void): void;
2311
2128
  /**
2312
2129
  * Stop trace events collection. Remaining collected events will be sent as a sequence of
2313
2130
  * dataCollected events followed by tracingComplete event.
2314
2131
  */
2315
- post(method: "NodeTracing.stop", callback?: (err: Error | null) => void): void;
2316
-
2132
+ post(method: 'NodeTracing.stop', callback?: (err: Error | null) => void): void;
2317
2133
  /**
2318
2134
  * Sends protocol message over session with given id.
2319
2135
  */
2320
- post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void;
2321
- post(method: "NodeWorker.sendMessageToWorker", callback?: (err: Error | null) => void): void;
2322
-
2136
+ post(method: 'NodeWorker.sendMessageToWorker', params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void;
2137
+ post(method: 'NodeWorker.sendMessageToWorker', callback?: (err: Error | null) => void): void;
2323
2138
  /**
2324
2139
  * Instructs the inspector to attach to running workers. Will also attach to new workers
2325
2140
  * as they start
2326
2141
  */
2327
- post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void;
2328
- post(method: "NodeWorker.enable", callback?: (err: Error | null) => void): void;
2329
-
2142
+ post(method: 'NodeWorker.enable', params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void;
2143
+ post(method: 'NodeWorker.enable', callback?: (err: Error | null) => void): void;
2330
2144
  /**
2331
2145
  * Detaches from all running workers and disables attaching to new workers as they are started.
2332
2146
  */
2333
- post(method: "NodeWorker.disable", callback?: (err: Error | null) => void): void;
2334
-
2147
+ post(method: 'NodeWorker.disable', callback?: (err: Error | null) => void): void;
2335
2148
  /**
2336
2149
  * Detached from the worker with given sessionId.
2337
2150
  */
2338
- post(method: "NodeWorker.detach", params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void;
2339
- post(method: "NodeWorker.detach", callback?: (err: Error | null) => void): void;
2340
-
2151
+ post(method: 'NodeWorker.detach', params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void;
2152
+ post(method: 'NodeWorker.detach', callback?: (err: Error | null) => void): void;
2341
2153
  /**
2342
2154
  * Enable the `NodeRuntime.waitingForDisconnect`.
2343
2155
  */
2344
- post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void;
2345
- post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", callback?: (err: Error | null) => void): void;
2346
-
2156
+ post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void;
2157
+ post(method: 'NodeRuntime.notifyWhenWaitingForDisconnect', callback?: (err: Error | null) => void): void;
2347
2158
  // Events
2348
-
2349
2159
  addListener(event: string, listener: (...args: any[]) => void): this;
2350
-
2351
2160
  /**
2352
2161
  * Emitted when any notification from the V8 Inspector is received.
2353
2162
  */
2354
- addListener(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this;
2355
-
2163
+ addListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this;
2356
2164
  /**
2357
2165
  * Issued when new execution context is created.
2358
2166
  */
2359
- addListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2360
-
2167
+ addListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2361
2168
  /**
2362
2169
  * Issued when execution context is destroyed.
2363
2170
  */
2364
- addListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2365
-
2171
+ addListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2366
2172
  /**
2367
2173
  * Issued when all executionContexts were cleared in browser
2368
2174
  */
2369
- addListener(event: "Runtime.executionContextsCleared", listener: () => void): this;
2370
-
2175
+ addListener(event: 'Runtime.executionContextsCleared', listener: () => void): this;
2371
2176
  /**
2372
2177
  * Issued when exception was thrown and unhandled.
2373
2178
  */
2374
- addListener(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2375
-
2179
+ addListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2376
2180
  /**
2377
2181
  * Issued when unhandled exception was revoked.
2378
2182
  */
2379
- addListener(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2380
-
2183
+ addListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2381
2184
  /**
2382
2185
  * Issued when console API was called.
2383
2186
  */
2384
- addListener(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2385
-
2187
+ addListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2386
2188
  /**
2387
2189
  * Issued when object should be inspected (for example, as a result of inspect() command line API call).
2388
2190
  */
2389
- addListener(event: "Runtime.inspectRequested", listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2390
-
2191
+ addListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2391
2192
  /**
2392
2193
  * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
2393
2194
  */
2394
- addListener(event: "Debugger.scriptParsed", listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2395
-
2195
+ addListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2396
2196
  /**
2397
2197
  * Fired when virtual machine fails to parse the script.
2398
2198
  */
2399
- addListener(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2400
-
2199
+ addListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2401
2200
  /**
2402
2201
  * Fired when breakpoint is resolved to an actual script and location.
2403
2202
  */
2404
- addListener(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2405
-
2203
+ addListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2406
2204
  /**
2407
2205
  * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
2408
2206
  */
2409
- addListener(event: "Debugger.paused", listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2410
-
2207
+ addListener(event: 'Debugger.paused', listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2411
2208
  /**
2412
2209
  * Fired when the virtual machine resumed execution.
2413
2210
  */
2414
- addListener(event: "Debugger.resumed", listener: () => void): this;
2415
-
2211
+ addListener(event: 'Debugger.resumed', listener: () => void): this;
2416
2212
  /**
2417
2213
  * Issued when new console message is added.
2418
2214
  */
2419
- addListener(event: "Console.messageAdded", listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2420
-
2215
+ addListener(event: 'Console.messageAdded', listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2421
2216
  /**
2422
2217
  * Sent when new profile recording is started using console.profile() call.
2423
2218
  */
2424
- addListener(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
2425
-
2426
- addListener(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
2427
- addListener(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this;
2428
- addListener(event: "HeapProfiler.resetProfiles", listener: () => void): this;
2429
- addListener(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this;
2430
-
2219
+ addListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
2220
+ addListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
2221
+ addListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this;
2222
+ addListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this;
2223
+ addListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this;
2431
2224
  /**
2432
2225
  * 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.
2433
2226
  */
2434
- addListener(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2435
-
2227
+ addListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2436
2228
  /**
2437
2229
  * If heap objects tracking has been started then backend may send update for one or more fragments
2438
2230
  */
2439
- addListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2440
-
2231
+ addListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2441
2232
  /**
2442
2233
  * Contains an bucket of collected trace events.
2443
2234
  */
2444
- addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2445
-
2235
+ addListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2446
2236
  /**
2447
2237
  * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2448
2238
  * delivered via dataCollected events.
2449
2239
  */
2450
- addListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
2451
-
2240
+ addListener(event: 'NodeTracing.tracingComplete', listener: () => void): this;
2452
2241
  /**
2453
2242
  * Issued when attached to a worker.
2454
2243
  */
2455
- addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2456
-
2244
+ addListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2457
2245
  /**
2458
2246
  * Issued when detached from the worker.
2459
2247
  */
2460
- addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2461
-
2248
+ addListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2462
2249
  /**
2463
2250
  * Notifies about a new protocol message received from the session
2464
2251
  * (session ID is provided in attachedToWorker notification).
2465
2252
  */
2466
- addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2467
-
2253
+ addListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2468
2254
  /**
2469
2255
  * This event is fired instead of `Runtime.executionContextDestroyed` when
2470
2256
  * enabled.
2471
2257
  * It is fired when the Node process finished all code execution and is
2472
2258
  * waiting for all frontends to disconnect.
2473
2259
  */
2474
- addListener(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this;
2475
-
2260
+ addListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this;
2476
2261
  emit(event: string | symbol, ...args: any[]): boolean;
2477
- emit(event: "inspectorNotification", message: InspectorNotification<{}>): boolean;
2478
- emit(event: "Runtime.executionContextCreated", message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>): boolean;
2479
- emit(event: "Runtime.executionContextDestroyed", message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>): boolean;
2480
- emit(event: "Runtime.executionContextsCleared"): boolean;
2481
- emit(event: "Runtime.exceptionThrown", message: InspectorNotification<Runtime.ExceptionThrownEventDataType>): boolean;
2482
- emit(event: "Runtime.exceptionRevoked", message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>): boolean;
2483
- emit(event: "Runtime.consoleAPICalled", message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>): boolean;
2484
- emit(event: "Runtime.inspectRequested", message: InspectorNotification<Runtime.InspectRequestedEventDataType>): boolean;
2485
- emit(event: "Debugger.scriptParsed", message: InspectorNotification<Debugger.ScriptParsedEventDataType>): boolean;
2486
- emit(event: "Debugger.scriptFailedToParse", message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>): boolean;
2487
- emit(event: "Debugger.breakpointResolved", message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>): boolean;
2488
- emit(event: "Debugger.paused", message: InspectorNotification<Debugger.PausedEventDataType>): boolean;
2489
- emit(event: "Debugger.resumed"): boolean;
2490
- emit(event: "Console.messageAdded", message: InspectorNotification<Console.MessageAddedEventDataType>): boolean;
2491
- emit(event: "Profiler.consoleProfileStarted", message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>): boolean;
2492
- emit(event: "Profiler.consoleProfileFinished", message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>): boolean;
2493
- emit(event: "HeapProfiler.addHeapSnapshotChunk", message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>): boolean;
2494
- emit(event: "HeapProfiler.resetProfiles"): boolean;
2495
- emit(event: "HeapProfiler.reportHeapSnapshotProgress", message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>): boolean;
2496
- emit(event: "HeapProfiler.lastSeenObjectId", message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>): boolean;
2497
- emit(event: "HeapProfiler.heapStatsUpdate", message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>): boolean;
2498
- emit(event: "NodeTracing.dataCollected", message: InspectorNotification<NodeTracing.DataCollectedEventDataType>): boolean;
2499
- emit(event: "NodeTracing.tracingComplete"): boolean;
2500
- emit(event: "NodeWorker.attachedToWorker", message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>): boolean;
2501
- emit(event: "NodeWorker.detachedFromWorker", message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>): boolean;
2502
- emit(event: "NodeWorker.receivedMessageFromWorker", message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>): boolean;
2503
- emit(event: "NodeRuntime.waitingForDisconnect"): boolean;
2504
-
2262
+ emit(event: 'inspectorNotification', message: InspectorNotification<{}>): boolean;
2263
+ emit(event: 'Runtime.executionContextCreated', message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>): boolean;
2264
+ emit(event: 'Runtime.executionContextDestroyed', message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>): boolean;
2265
+ emit(event: 'Runtime.executionContextsCleared'): boolean;
2266
+ emit(event: 'Runtime.exceptionThrown', message: InspectorNotification<Runtime.ExceptionThrownEventDataType>): boolean;
2267
+ emit(event: 'Runtime.exceptionRevoked', message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>): boolean;
2268
+ emit(event: 'Runtime.consoleAPICalled', message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>): boolean;
2269
+ emit(event: 'Runtime.inspectRequested', message: InspectorNotification<Runtime.InspectRequestedEventDataType>): boolean;
2270
+ emit(event: 'Debugger.scriptParsed', message: InspectorNotification<Debugger.ScriptParsedEventDataType>): boolean;
2271
+ emit(event: 'Debugger.scriptFailedToParse', message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>): boolean;
2272
+ emit(event: 'Debugger.breakpointResolved', message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>): boolean;
2273
+ emit(event: 'Debugger.paused', message: InspectorNotification<Debugger.PausedEventDataType>): boolean;
2274
+ emit(event: 'Debugger.resumed'): boolean;
2275
+ emit(event: 'Console.messageAdded', message: InspectorNotification<Console.MessageAddedEventDataType>): boolean;
2276
+ emit(event: 'Profiler.consoleProfileStarted', message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>): boolean;
2277
+ emit(event: 'Profiler.consoleProfileFinished', message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>): boolean;
2278
+ emit(event: 'HeapProfiler.addHeapSnapshotChunk', message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>): boolean;
2279
+ emit(event: 'HeapProfiler.resetProfiles'): boolean;
2280
+ emit(event: 'HeapProfiler.reportHeapSnapshotProgress', message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>): boolean;
2281
+ emit(event: 'HeapProfiler.lastSeenObjectId', message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>): boolean;
2282
+ emit(event: 'HeapProfiler.heapStatsUpdate', message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>): boolean;
2283
+ emit(event: 'NodeTracing.dataCollected', message: InspectorNotification<NodeTracing.DataCollectedEventDataType>): boolean;
2284
+ emit(event: 'NodeTracing.tracingComplete'): boolean;
2285
+ emit(event: 'NodeWorker.attachedToWorker', message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>): boolean;
2286
+ emit(event: 'NodeWorker.detachedFromWorker', message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>): boolean;
2287
+ emit(event: 'NodeWorker.receivedMessageFromWorker', message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>): boolean;
2288
+ emit(event: 'NodeRuntime.waitingForDisconnect'): boolean;
2505
2289
  on(event: string, listener: (...args: any[]) => void): this;
2506
-
2507
2290
  /**
2508
2291
  * Emitted when any notification from the V8 Inspector is received.
2509
2292
  */
2510
- on(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this;
2511
-
2293
+ on(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this;
2512
2294
  /**
2513
2295
  * Issued when new execution context is created.
2514
2296
  */
2515
- on(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2516
-
2297
+ on(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2517
2298
  /**
2518
2299
  * Issued when execution context is destroyed.
2519
2300
  */
2520
- on(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2521
-
2301
+ on(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2522
2302
  /**
2523
2303
  * Issued when all executionContexts were cleared in browser
2524
2304
  */
2525
- on(event: "Runtime.executionContextsCleared", listener: () => void): this;
2526
-
2305
+ on(event: 'Runtime.executionContextsCleared', listener: () => void): this;
2527
2306
  /**
2528
2307
  * Issued when exception was thrown and unhandled.
2529
2308
  */
2530
- on(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2531
-
2309
+ on(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2532
2310
  /**
2533
2311
  * Issued when unhandled exception was revoked.
2534
2312
  */
2535
- on(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2536
-
2313
+ on(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2537
2314
  /**
2538
2315
  * Issued when console API was called.
2539
2316
  */
2540
- on(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2541
-
2317
+ on(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2542
2318
  /**
2543
2319
  * Issued when object should be inspected (for example, as a result of inspect() command line API call).
2544
2320
  */
2545
- on(event: "Runtime.inspectRequested", listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2546
-
2321
+ on(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2547
2322
  /**
2548
2323
  * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
2549
2324
  */
2550
- on(event: "Debugger.scriptParsed", listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2551
-
2325
+ on(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2552
2326
  /**
2553
2327
  * Fired when virtual machine fails to parse the script.
2554
2328
  */
2555
- on(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2556
-
2329
+ on(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2557
2330
  /**
2558
2331
  * Fired when breakpoint is resolved to an actual script and location.
2559
2332
  */
2560
- on(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2561
-
2333
+ on(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2562
2334
  /**
2563
2335
  * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
2564
2336
  */
2565
- on(event: "Debugger.paused", listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2566
-
2337
+ on(event: 'Debugger.paused', listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2567
2338
  /**
2568
2339
  * Fired when the virtual machine resumed execution.
2569
2340
  */
2570
- on(event: "Debugger.resumed", listener: () => void): this;
2571
-
2341
+ on(event: 'Debugger.resumed', listener: () => void): this;
2572
2342
  /**
2573
2343
  * Issued when new console message is added.
2574
2344
  */
2575
- on(event: "Console.messageAdded", listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2576
-
2345
+ on(event: 'Console.messageAdded', listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2577
2346
  /**
2578
2347
  * Sent when new profile recording is started using console.profile() call.
2579
2348
  */
2580
- on(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
2581
-
2582
- on(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
2583
- on(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this;
2584
- on(event: "HeapProfiler.resetProfiles", listener: () => void): this;
2585
- on(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this;
2586
-
2349
+ on(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
2350
+ on(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
2351
+ on(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this;
2352
+ on(event: 'HeapProfiler.resetProfiles', listener: () => void): this;
2353
+ on(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this;
2587
2354
  /**
2588
2355
  * 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.
2589
2356
  */
2590
- on(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2591
-
2357
+ on(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2592
2358
  /**
2593
2359
  * If heap objects tracking has been started then backend may send update for one or more fragments
2594
2360
  */
2595
- on(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2596
-
2361
+ on(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2597
2362
  /**
2598
2363
  * Contains an bucket of collected trace events.
2599
2364
  */
2600
- on(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2601
-
2365
+ on(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2602
2366
  /**
2603
2367
  * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2604
2368
  * delivered via dataCollected events.
2605
2369
  */
2606
- on(event: "NodeTracing.tracingComplete", listener: () => void): this;
2607
-
2370
+ on(event: 'NodeTracing.tracingComplete', listener: () => void): this;
2608
2371
  /**
2609
2372
  * Issued when attached to a worker.
2610
2373
  */
2611
- on(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2612
-
2374
+ on(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2613
2375
  /**
2614
2376
  * Issued when detached from the worker.
2615
2377
  */
2616
- on(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2617
-
2378
+ on(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2618
2379
  /**
2619
2380
  * Notifies about a new protocol message received from the session
2620
2381
  * (session ID is provided in attachedToWorker notification).
2621
2382
  */
2622
- on(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2623
-
2383
+ on(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2624
2384
  /**
2625
2385
  * This event is fired instead of `Runtime.executionContextDestroyed` when
2626
2386
  * enabled.
2627
2387
  * It is fired when the Node process finished all code execution and is
2628
2388
  * waiting for all frontends to disconnect.
2629
2389
  */
2630
- on(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this;
2631
-
2390
+ on(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this;
2632
2391
  once(event: string, listener: (...args: any[]) => void): this;
2633
-
2634
2392
  /**
2635
2393
  * Emitted when any notification from the V8 Inspector is received.
2636
2394
  */
2637
- once(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this;
2638
-
2395
+ once(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this;
2639
2396
  /**
2640
2397
  * Issued when new execution context is created.
2641
2398
  */
2642
- once(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2643
-
2399
+ once(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2644
2400
  /**
2645
2401
  * Issued when execution context is destroyed.
2646
2402
  */
2647
- once(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2648
-
2403
+ once(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2649
2404
  /**
2650
2405
  * Issued when all executionContexts were cleared in browser
2651
2406
  */
2652
- once(event: "Runtime.executionContextsCleared", listener: () => void): this;
2653
-
2407
+ once(event: 'Runtime.executionContextsCleared', listener: () => void): this;
2654
2408
  /**
2655
2409
  * Issued when exception was thrown and unhandled.
2656
2410
  */
2657
- once(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2658
-
2411
+ once(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2659
2412
  /**
2660
2413
  * Issued when unhandled exception was revoked.
2661
2414
  */
2662
- once(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2663
-
2415
+ once(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2664
2416
  /**
2665
2417
  * Issued when console API was called.
2666
2418
  */
2667
- once(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2668
-
2419
+ once(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2669
2420
  /**
2670
2421
  * Issued when object should be inspected (for example, as a result of inspect() command line API call).
2671
2422
  */
2672
- once(event: "Runtime.inspectRequested", listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2673
-
2423
+ once(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2674
2424
  /**
2675
2425
  * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
2676
2426
  */
2677
- once(event: "Debugger.scriptParsed", listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2678
-
2427
+ once(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2679
2428
  /**
2680
2429
  * Fired when virtual machine fails to parse the script.
2681
2430
  */
2682
- once(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2683
-
2431
+ once(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2684
2432
  /**
2685
2433
  * Fired when breakpoint is resolved to an actual script and location.
2686
2434
  */
2687
- once(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2688
-
2435
+ once(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2689
2436
  /**
2690
2437
  * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
2691
2438
  */
2692
- once(event: "Debugger.paused", listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2693
-
2439
+ once(event: 'Debugger.paused', listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2694
2440
  /**
2695
2441
  * Fired when the virtual machine resumed execution.
2696
2442
  */
2697
- once(event: "Debugger.resumed", listener: () => void): this;
2698
-
2443
+ once(event: 'Debugger.resumed', listener: () => void): this;
2699
2444
  /**
2700
2445
  * Issued when new console message is added.
2701
2446
  */
2702
- once(event: "Console.messageAdded", listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2703
-
2447
+ once(event: 'Console.messageAdded', listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2704
2448
  /**
2705
2449
  * Sent when new profile recording is started using console.profile() call.
2706
2450
  */
2707
- once(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
2708
-
2709
- once(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
2710
- once(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this;
2711
- once(event: "HeapProfiler.resetProfiles", listener: () => void): this;
2712
- once(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this;
2713
-
2451
+ once(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
2452
+ once(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
2453
+ once(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this;
2454
+ once(event: 'HeapProfiler.resetProfiles', listener: () => void): this;
2455
+ once(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this;
2714
2456
  /**
2715
2457
  * 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.
2716
2458
  */
2717
- once(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2718
-
2459
+ once(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2719
2460
  /**
2720
2461
  * If heap objects tracking has been started then backend may send update for one or more fragments
2721
2462
  */
2722
- once(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2723
-
2463
+ once(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2724
2464
  /**
2725
2465
  * Contains an bucket of collected trace events.
2726
2466
  */
2727
- once(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2728
-
2467
+ once(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2729
2468
  /**
2730
2469
  * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2731
2470
  * delivered via dataCollected events.
2732
2471
  */
2733
- once(event: "NodeTracing.tracingComplete", listener: () => void): this;
2734
-
2472
+ once(event: 'NodeTracing.tracingComplete', listener: () => void): this;
2735
2473
  /**
2736
2474
  * Issued when attached to a worker.
2737
2475
  */
2738
- once(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2739
-
2476
+ once(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2740
2477
  /**
2741
2478
  * Issued when detached from the worker.
2742
2479
  */
2743
- once(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2744
-
2480
+ once(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2745
2481
  /**
2746
2482
  * Notifies about a new protocol message received from the session
2747
2483
  * (session ID is provided in attachedToWorker notification).
2748
2484
  */
2749
- once(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2750
-
2485
+ once(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2751
2486
  /**
2752
2487
  * This event is fired instead of `Runtime.executionContextDestroyed` when
2753
2488
  * enabled.
2754
2489
  * It is fired when the Node process finished all code execution and is
2755
2490
  * waiting for all frontends to disconnect.
2756
2491
  */
2757
- once(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this;
2758
-
2492
+ once(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this;
2759
2493
  prependListener(event: string, listener: (...args: any[]) => void): this;
2760
-
2761
2494
  /**
2762
2495
  * Emitted when any notification from the V8 Inspector is received.
2763
2496
  */
2764
- prependListener(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this;
2765
-
2497
+ prependListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this;
2766
2498
  /**
2767
2499
  * Issued when new execution context is created.
2768
2500
  */
2769
- prependListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2770
-
2501
+ prependListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2771
2502
  /**
2772
2503
  * Issued when execution context is destroyed.
2773
2504
  */
2774
- prependListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2775
-
2505
+ prependListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2776
2506
  /**
2777
2507
  * Issued when all executionContexts were cleared in browser
2778
2508
  */
2779
- prependListener(event: "Runtime.executionContextsCleared", listener: () => void): this;
2780
-
2509
+ prependListener(event: 'Runtime.executionContextsCleared', listener: () => void): this;
2781
2510
  /**
2782
2511
  * Issued when exception was thrown and unhandled.
2783
2512
  */
2784
- prependListener(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2785
-
2513
+ prependListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2786
2514
  /**
2787
2515
  * Issued when unhandled exception was revoked.
2788
2516
  */
2789
- prependListener(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2790
-
2517
+ prependListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2791
2518
  /**
2792
2519
  * Issued when console API was called.
2793
2520
  */
2794
- prependListener(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2795
-
2521
+ prependListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2796
2522
  /**
2797
2523
  * Issued when object should be inspected (for example, as a result of inspect() command line API call).
2798
2524
  */
2799
- prependListener(event: "Runtime.inspectRequested", listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2800
-
2525
+ prependListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2801
2526
  /**
2802
2527
  * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
2803
2528
  */
2804
- prependListener(event: "Debugger.scriptParsed", listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2805
-
2529
+ prependListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2806
2530
  /**
2807
2531
  * Fired when virtual machine fails to parse the script.
2808
2532
  */
2809
- prependListener(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2810
-
2533
+ prependListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2811
2534
  /**
2812
2535
  * Fired when breakpoint is resolved to an actual script and location.
2813
2536
  */
2814
- prependListener(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2815
-
2537
+ prependListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2816
2538
  /**
2817
2539
  * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
2818
2540
  */
2819
- prependListener(event: "Debugger.paused", listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2820
-
2541
+ prependListener(event: 'Debugger.paused', listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2821
2542
  /**
2822
2543
  * Fired when the virtual machine resumed execution.
2823
2544
  */
2824
- prependListener(event: "Debugger.resumed", listener: () => void): this;
2825
-
2545
+ prependListener(event: 'Debugger.resumed', listener: () => void): this;
2826
2546
  /**
2827
2547
  * Issued when new console message is added.
2828
2548
  */
2829
- prependListener(event: "Console.messageAdded", listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2830
-
2549
+ prependListener(event: 'Console.messageAdded', listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2831
2550
  /**
2832
2551
  * Sent when new profile recording is started using console.profile() call.
2833
2552
  */
2834
- prependListener(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
2835
-
2836
- prependListener(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
2837
- prependListener(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this;
2838
- prependListener(event: "HeapProfiler.resetProfiles", listener: () => void): this;
2839
- prependListener(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this;
2840
-
2553
+ prependListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
2554
+ prependListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
2555
+ prependListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this;
2556
+ prependListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this;
2557
+ prependListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this;
2841
2558
  /**
2842
2559
  * 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.
2843
2560
  */
2844
- prependListener(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2845
-
2561
+ prependListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2846
2562
  /**
2847
2563
  * If heap objects tracking has been started then backend may send update for one or more fragments
2848
2564
  */
2849
- prependListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2850
-
2565
+ prependListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2851
2566
  /**
2852
2567
  * Contains an bucket of collected trace events.
2853
2568
  */
2854
- prependListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2855
-
2569
+ prependListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2856
2570
  /**
2857
2571
  * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2858
2572
  * delivered via dataCollected events.
2859
2573
  */
2860
- prependListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
2861
-
2574
+ prependListener(event: 'NodeTracing.tracingComplete', listener: () => void): this;
2862
2575
  /**
2863
2576
  * Issued when attached to a worker.
2864
2577
  */
2865
- prependListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2866
-
2578
+ prependListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2867
2579
  /**
2868
2580
  * Issued when detached from the worker.
2869
2581
  */
2870
- prependListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2871
-
2582
+ prependListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2872
2583
  /**
2873
2584
  * Notifies about a new protocol message received from the session
2874
2585
  * (session ID is provided in attachedToWorker notification).
2875
2586
  */
2876
- prependListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2877
-
2587
+ prependListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2878
2588
  /**
2879
2589
  * This event is fired instead of `Runtime.executionContextDestroyed` when
2880
2590
  * enabled.
2881
2591
  * It is fired when the Node process finished all code execution and is
2882
2592
  * waiting for all frontends to disconnect.
2883
2593
  */
2884
- prependListener(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this;
2885
-
2594
+ prependListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this;
2886
2595
  prependOnceListener(event: string, listener: (...args: any[]) => void): this;
2887
-
2888
2596
  /**
2889
2597
  * Emitted when any notification from the V8 Inspector is received.
2890
2598
  */
2891
- prependOnceListener(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this;
2892
-
2599
+ prependOnceListener(event: 'inspectorNotification', listener: (message: InspectorNotification<{}>) => void): this;
2893
2600
  /**
2894
2601
  * Issued when new execution context is created.
2895
2602
  */
2896
- prependOnceListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2897
-
2603
+ prependOnceListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2898
2604
  /**
2899
2605
  * Issued when execution context is destroyed.
2900
2606
  */
2901
- prependOnceListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2902
-
2607
+ prependOnceListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2903
2608
  /**
2904
2609
  * Issued when all executionContexts were cleared in browser
2905
2610
  */
2906
- prependOnceListener(event: "Runtime.executionContextsCleared", listener: () => void): this;
2907
-
2611
+ prependOnceListener(event: 'Runtime.executionContextsCleared', listener: () => void): this;
2908
2612
  /**
2909
2613
  * Issued when exception was thrown and unhandled.
2910
2614
  */
2911
- prependOnceListener(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2912
-
2615
+ prependOnceListener(event: 'Runtime.exceptionThrown', listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2913
2616
  /**
2914
2617
  * Issued when unhandled exception was revoked.
2915
2618
  */
2916
- prependOnceListener(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2917
-
2619
+ prependOnceListener(event: 'Runtime.exceptionRevoked', listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2918
2620
  /**
2919
2621
  * Issued when console API was called.
2920
2622
  */
2921
- prependOnceListener(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2922
-
2623
+ prependOnceListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2923
2624
  /**
2924
2625
  * Issued when object should be inspected (for example, as a result of inspect() command line API call).
2925
2626
  */
2926
- prependOnceListener(event: "Runtime.inspectRequested", listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2927
-
2627
+ prependOnceListener(event: 'Runtime.inspectRequested', listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2928
2628
  /**
2929
2629
  * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
2930
2630
  */
2931
- prependOnceListener(event: "Debugger.scriptParsed", listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2932
-
2631
+ prependOnceListener(event: 'Debugger.scriptParsed', listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2933
2632
  /**
2934
2633
  * Fired when virtual machine fails to parse the script.
2935
2634
  */
2936
- prependOnceListener(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2937
-
2635
+ prependOnceListener(event: 'Debugger.scriptFailedToParse', listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2938
2636
  /**
2939
2637
  * Fired when breakpoint is resolved to an actual script and location.
2940
2638
  */
2941
- prependOnceListener(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2942
-
2639
+ prependOnceListener(event: 'Debugger.breakpointResolved', listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2943
2640
  /**
2944
2641
  * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
2945
2642
  */
2946
- prependOnceListener(event: "Debugger.paused", listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2947
-
2643
+ prependOnceListener(event: 'Debugger.paused', listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2948
2644
  /**
2949
2645
  * Fired when the virtual machine resumed execution.
2950
2646
  */
2951
- prependOnceListener(event: "Debugger.resumed", listener: () => void): this;
2952
-
2647
+ prependOnceListener(event: 'Debugger.resumed', listener: () => void): this;
2953
2648
  /**
2954
2649
  * Issued when new console message is added.
2955
2650
  */
2956
- prependOnceListener(event: "Console.messageAdded", listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2957
-
2651
+ prependOnceListener(event: 'Console.messageAdded', listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2958
2652
  /**
2959
2653
  * Sent when new profile recording is started using console.profile() call.
2960
2654
  */
2961
- prependOnceListener(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
2962
-
2963
- prependOnceListener(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
2964
- prependOnceListener(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this;
2965
- prependOnceListener(event: "HeapProfiler.resetProfiles", listener: () => void): this;
2966
- prependOnceListener(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this;
2967
-
2655
+ prependOnceListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
2656
+ prependOnceListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
2657
+ prependOnceListener(event: 'HeapProfiler.addHeapSnapshotChunk', listener: (message: InspectorNotification<HeapProfiler.AddHeapSnapshotChunkEventDataType>) => void): this;
2658
+ prependOnceListener(event: 'HeapProfiler.resetProfiles', listener: () => void): this;
2659
+ prependOnceListener(event: 'HeapProfiler.reportHeapSnapshotProgress', listener: (message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>) => void): this;
2968
2660
  /**
2969
2661
  * 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.
2970
2662
  */
2971
- prependOnceListener(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2972
-
2663
+ prependOnceListener(event: 'HeapProfiler.lastSeenObjectId', listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2973
2664
  /**
2974
2665
  * If heap objects tracking has been started then backend may send update for one or more fragments
2975
2666
  */
2976
- prependOnceListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2977
-
2667
+ prependOnceListener(event: 'HeapProfiler.heapStatsUpdate', listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2978
2668
  /**
2979
2669
  * Contains an bucket of collected trace events.
2980
2670
  */
2981
- prependOnceListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2982
-
2671
+ prependOnceListener(event: 'NodeTracing.dataCollected', listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2983
2672
  /**
2984
2673
  * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2985
2674
  * delivered via dataCollected events.
2986
2675
  */
2987
- prependOnceListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
2988
-
2676
+ prependOnceListener(event: 'NodeTracing.tracingComplete', listener: () => void): this;
2989
2677
  /**
2990
2678
  * Issued when attached to a worker.
2991
2679
  */
2992
- prependOnceListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2993
-
2680
+ prependOnceListener(event: 'NodeWorker.attachedToWorker', listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2994
2681
  /**
2995
2682
  * Issued when detached from the worker.
2996
2683
  */
2997
- prependOnceListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2998
-
2684
+ prependOnceListener(event: 'NodeWorker.detachedFromWorker', listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2999
2685
  /**
3000
2686
  * Notifies about a new protocol message received from the session
3001
2687
  * (session ID is provided in attachedToWorker notification).
3002
2688
  */
3003
- prependOnceListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
3004
-
2689
+ prependOnceListener(event: 'NodeWorker.receivedMessageFromWorker', listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
3005
2690
  /**
3006
2691
  * This event is fired instead of `Runtime.executionContextDestroyed` when
3007
2692
  * enabled.
3008
2693
  * It is fired when the Node process finished all code execution and is
3009
2694
  * waiting for all frontends to disconnect.
3010
2695
  */
3011
- prependOnceListener(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this;
2696
+ prependOnceListener(event: 'NodeRuntime.waitingForDisconnect', listener: () => void): this;
3012
2697
  }
3013
-
3014
- // Top Level API
3015
-
3016
2698
  /**
3017
- * Activate inspector on host and port. Equivalent to node --inspect=[[host:]port], but can be done programatically after node has started.
3018
- * If wait is true, will block until a client has connected to the inspect port and flow control has been passed to the debugger client.
3019
- * @param port Port to listen on for inspector connections. Optional, defaults to what was specified on the CLI.
3020
- * @param host Host to listen on for inspector connections. Optional, defaults to what was specified on the CLI.
3021
- * @param wait Block until a client has connected. Optional, defaults to false.
2699
+ * Activate inspector on host and port. Equivalent to `node --inspect=[[host:]port]`, but can be done programmatically after node has
2700
+ * started.
2701
+ *
2702
+ * If wait is `true`, will block until a client has connected to the inspect port
2703
+ * and flow control has been passed to the debugger client.
2704
+ *
2705
+ * See the `security warning` regarding the `host`parameter usage.
2706
+ * @param [port='what was specified on the CLI'] Port to listen on for inspector connections. Optional.
2707
+ * @param [host='what was specified on the CLI'] Host to listen on for inspector connections. Optional.
2708
+ * @param [wait=false] Block until a client has connected. Optional.
3022
2709
  */
3023
2710
  function open(port?: number, host?: string, wait?: boolean): void;
3024
-
3025
2711
  /**
3026
2712
  * Deactivate the inspector. Blocks until there are no active connections.
3027
2713
  */
3028
2714
  function close(): void;
3029
-
3030
2715
  /**
3031
2716
  * Return the URL of the active inspector, or `undefined` if there is none.
2717
+ *
2718
+ * ```console
2719
+ * $ node --inspect -p 'inspector.url()'
2720
+ * Debugger listening on ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34
2721
+ * For help see https://nodejs.org/en/docs/inspector
2722
+ * ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34
2723
+ *
2724
+ * $ node --inspect=localhost:3000 -p 'inspector.url()'
2725
+ * Debugger listening on ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a
2726
+ * For help see https://nodejs.org/en/docs/inspector
2727
+ * ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a
2728
+ *
2729
+ * $ node -p 'inspector.url()'
2730
+ * undefined
2731
+ * ```
3032
2732
  */
3033
2733
  function url(): string | undefined;
3034
-
3035
2734
  /**
3036
- * Blocks until a client (existing or connected later) has sent
3037
- * `Runtime.runIfWaitingForDebugger` command.
2735
+ * Blocks until a client (existing or connected later) has sent`Runtime.runIfWaitingForDebugger` command.
2736
+ *
3038
2737
  * An exception will be thrown if there is no active inspector.
2738
+ * @since v12.7.0
3039
2739
  */
3040
2740
  function waitForDebugger(): void;
3041
2741
  }
3042
-
3043
2742
  declare module 'node:inspector' {
3044
2743
  import EventEmitter = require('inspector');
3045
2744
  export = EventEmitter;