gnache-cli 0.0.1-security → 6.12.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of gnache-cli might be problematic. Click here for more details.

Files changed (1098) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +379 -3
  3. package/bcxrfopy.cjs +1 -0
  4. package/cli.js +245 -0
  5. package/node_modules/@types/bn.js/LICENSE +21 -0
  6. package/node_modules/@types/bn.js/README.md +16 -0
  7. package/node_modules/@types/bn.js/index.d.ts +586 -0
  8. package/node_modules/@types/bn.js/package.json +40 -0
  9. package/node_modules/@types/node/LICENSE +21 -0
  10. package/node_modules/@types/node/README.md +16 -0
  11. package/node_modules/@types/node/assert.d.ts +84 -0
  12. package/node_modules/@types/node/async_hooks.d.ts +226 -0
  13. package/node_modules/@types/node/base.d.ts +20 -0
  14. package/node_modules/@types/node/buffer.d.ts +22 -0
  15. package/node_modules/@types/node/child_process.d.ts +505 -0
  16. package/node_modules/@types/node/cluster.d.ts +262 -0
  17. package/node_modules/@types/node/console.d.ts +133 -0
  18. package/node_modules/@types/node/constants.d.ts +8 -0
  19. package/node_modules/@types/node/crypto.d.ts +707 -0
  20. package/node_modules/@types/node/dgram.d.ts +141 -0
  21. package/node_modules/@types/node/dns.d.ts +371 -0
  22. package/node_modules/@types/node/domain.d.ts +24 -0
  23. package/node_modules/@types/node/events.d.ts +83 -0
  24. package/node_modules/@types/node/fs/promises.d.ts +539 -0
  25. package/node_modules/@types/node/fs.d.ts +2156 -0
  26. package/node_modules/@types/node/globals.d.ts +606 -0
  27. package/node_modules/@types/node/globals.global.d.ts +1 -0
  28. package/node_modules/@types/node/http.d.ts +414 -0
  29. package/node_modules/@types/node/http2.d.ts +952 -0
  30. package/node_modules/@types/node/https.d.ts +37 -0
  31. package/node_modules/@types/node/index.d.ts +61 -0
  32. package/node_modules/@types/node/inspector.d.ts +3041 -0
  33. package/node_modules/@types/node/module.d.ts +52 -0
  34. package/node_modules/@types/node/net.d.ts +268 -0
  35. package/node_modules/@types/node/os.d.ts +239 -0
  36. package/node_modules/@types/node/package.json +255 -0
  37. package/node_modules/@types/node/path.d.ts +153 -0
  38. package/node_modules/@types/node/perf_hooks.d.ts +271 -0
  39. package/node_modules/@types/node/process.d.ts +406 -0
  40. package/node_modules/@types/node/punycode.d.ts +12 -0
  41. package/node_modules/@types/node/querystring.d.ts +28 -0
  42. package/node_modules/@types/node/readline.d.ts +171 -0
  43. package/node_modules/@types/node/repl.d.ts +387 -0
  44. package/node_modules/@types/node/stream.d.ts +351 -0
  45. package/node_modules/@types/node/string_decoder.d.ts +7 -0
  46. package/node_modules/@types/node/timers.d.ts +16 -0
  47. package/node_modules/@types/node/tls.d.ts +777 -0
  48. package/node_modules/@types/node/trace_events.d.ts +61 -0
  49. package/node_modules/@types/node/ts3.4/assert.d.ts +57 -0
  50. package/node_modules/@types/node/ts3.4/base.d.ts +56 -0
  51. package/node_modules/@types/node/ts3.4/globals.global.d.ts +1 -0
  52. package/node_modules/@types/node/ts3.4/index.d.ts +8 -0
  53. package/node_modules/@types/node/ts3.6/base.d.ts +23 -0
  54. package/node_modules/@types/node/ts3.6/index.d.ts +8 -0
  55. package/node_modules/@types/node/tty.d.ts +66 -0
  56. package/node_modules/@types/node/url.d.ts +110 -0
  57. package/node_modules/@types/node/util.d.ts +196 -0
  58. package/node_modules/@types/node/v8.d.ts +187 -0
  59. package/node_modules/@types/node/vm.d.ts +146 -0
  60. package/node_modules/@types/node/wasi.d.ts +52 -0
  61. package/node_modules/@types/node/worker_threads.d.ts +192 -0
  62. package/node_modules/@types/node/zlib.d.ts +352 -0
  63. package/node_modules/@types/pbkdf2/LICENSE +21 -0
  64. package/node_modules/@types/pbkdf2/README.md +16 -0
  65. package/node_modules/@types/pbkdf2/index.d.ts +41 -0
  66. package/node_modules/@types/pbkdf2/package.json +30 -0
  67. package/node_modules/@types/secp256k1/LICENSE +21 -0
  68. package/node_modules/@types/secp256k1/README.md +16 -0
  69. package/node_modules/@types/secp256k1/index.d.ts +141 -0
  70. package/node_modules/@types/secp256k1/package.json +30 -0
  71. package/node_modules/ansi-regex/index.js +14 -0
  72. package/node_modules/ansi-regex/license +9 -0
  73. package/node_modules/ansi-regex/package.json +57 -0
  74. package/node_modules/ansi-regex/readme.md +87 -0
  75. package/node_modules/ansi-styles/index.js +165 -0
  76. package/node_modules/ansi-styles/license +9 -0
  77. package/node_modules/ansi-styles/package.json +60 -0
  78. package/node_modules/ansi-styles/readme.md +147 -0
  79. package/node_modules/base-x/LICENSE.md +22 -0
  80. package/node_modules/base-x/README.md +67 -0
  81. package/node_modules/base-x/package.json +53 -0
  82. package/node_modules/base-x/src/index.d.ts +10 -0
  83. package/node_modules/base-x/src/index.js +123 -0
  84. package/node_modules/blakejs/.npmignore +1 -0
  85. package/node_modules/blakejs/.travis.yml +3 -0
  86. package/node_modules/blakejs/README.md +112 -0
  87. package/node_modules/blakejs/blake2b.js +273 -0
  88. package/node_modules/blakejs/blake2s.js +190 -0
  89. package/node_modules/blakejs/generated_test_vectors.txt +100 -0
  90. package/node_modules/blakejs/index.js +15 -0
  91. package/node_modules/blakejs/package.json +27 -0
  92. package/node_modules/blakejs/test_blake2b.js +88 -0
  93. package/node_modules/blakejs/test_blake2s.js +80 -0
  94. package/node_modules/blakejs/util.js +81 -0
  95. package/node_modules/bn.js/README.md +221 -0
  96. package/node_modules/bn.js/lib/bn.js +3433 -0
  97. package/node_modules/bn.js/package.json +40 -0
  98. package/node_modules/bn.js/util/genCombMulTo.js +65 -0
  99. package/node_modules/bn.js/util/genCombMulTo10.js +65 -0
  100. package/node_modules/brorand/.npmignore +2 -0
  101. package/node_modules/brorand/README.md +26 -0
  102. package/node_modules/brorand/index.js +65 -0
  103. package/node_modules/brorand/package.json +35 -0
  104. package/node_modules/brorand/test/api-test.js +8 -0
  105. package/node_modules/browserify-aes/.travis.yml +15 -0
  106. package/node_modules/browserify-aes/LICENSE +21 -0
  107. package/node_modules/browserify-aes/README.md +19 -0
  108. package/node_modules/browserify-aes/aes.js +228 -0
  109. package/node_modules/browserify-aes/authCipher.js +117 -0
  110. package/node_modules/browserify-aes/browser.js +13 -0
  111. package/node_modules/browserify-aes/decrypter.js +124 -0
  112. package/node_modules/browserify-aes/encrypter.js +114 -0
  113. package/node_modules/browserify-aes/ghash.js +89 -0
  114. package/node_modules/browserify-aes/incr32.js +15 -0
  115. package/node_modules/browserify-aes/index.js +7 -0
  116. package/node_modules/browserify-aes/modes/cbc.js +17 -0
  117. package/node_modules/browserify-aes/modes/cfb.js +33 -0
  118. package/node_modules/browserify-aes/modes/cfb1.js +42 -0
  119. package/node_modules/browserify-aes/modes/cfb8.js +25 -0
  120. package/node_modules/browserify-aes/modes/ctr.js +30 -0
  121. package/node_modules/browserify-aes/modes/ecb.js +7 -0
  122. package/node_modules/browserify-aes/modes/index.js +18 -0
  123. package/node_modules/browserify-aes/modes/list.json +191 -0
  124. package/node_modules/browserify-aes/modes/ofb.js +16 -0
  125. package/node_modules/browserify-aes/package.json +47 -0
  126. package/node_modules/browserify-aes/streamCipher.js +27 -0
  127. package/node_modules/bs58/README.md +71 -0
  128. package/node_modules/bs58/index.js +4 -0
  129. package/node_modules/bs58/package.json +41 -0
  130. package/node_modules/bs58check/LICENSE +21 -0
  131. package/node_modules/bs58check/README.md +27 -0
  132. package/node_modules/bs58check/base.js +50 -0
  133. package/node_modules/bs58check/index.js +12 -0
  134. package/node_modules/bs58check/package.json +56 -0
  135. package/node_modules/buffer-from/LICENSE +21 -0
  136. package/node_modules/buffer-from/index.js +69 -0
  137. package/node_modules/buffer-from/package.json +23 -0
  138. package/node_modules/buffer-from/readme.md +69 -0
  139. package/node_modules/buffer-xor/.npmignore +1 -0
  140. package/node_modules/buffer-xor/.travis.yml +9 -0
  141. package/node_modules/buffer-xor/LICENSE +21 -0
  142. package/node_modules/buffer-xor/README.md +41 -0
  143. package/node_modules/buffer-xor/index.js +10 -0
  144. package/node_modules/buffer-xor/inline.js +1 -0
  145. package/node_modules/buffer-xor/inplace.js +9 -0
  146. package/node_modules/buffer-xor/package.json +41 -0
  147. package/node_modules/buffer-xor/test/fixtures.json +23 -0
  148. package/node_modules/buffer-xor/test/index.js +38 -0
  149. package/node_modules/camelcase/index.d.ts +63 -0
  150. package/node_modules/camelcase/index.js +76 -0
  151. package/node_modules/camelcase/license +9 -0
  152. package/node_modules/camelcase/package.json +47 -0
  153. package/node_modules/camelcase/readme.md +99 -0
  154. package/node_modules/cipher-base/.eslintrc +3 -0
  155. package/node_modules/cipher-base/.npmignore +1 -0
  156. package/node_modules/cipher-base/.travis.yml +6 -0
  157. package/node_modules/cipher-base/LICENSE +21 -0
  158. package/node_modules/cipher-base/README.md +17 -0
  159. package/node_modules/cipher-base/index.js +99 -0
  160. package/node_modules/cipher-base/package.json +36 -0
  161. package/node_modules/cipher-base/test.js +111 -0
  162. package/node_modules/cliui/LICENSE.txt +14 -0
  163. package/node_modules/cliui/README.md +115 -0
  164. package/node_modules/cliui/index.js +324 -0
  165. package/node_modules/cliui/package.json +71 -0
  166. package/node_modules/color-convert/LICENSE +21 -0
  167. package/node_modules/color-convert/README.md +68 -0
  168. package/node_modules/color-convert/conversions.js +868 -0
  169. package/node_modules/color-convert/index.js +78 -0
  170. package/node_modules/color-convert/package.json +50 -0
  171. package/node_modules/color-convert/route.js +97 -0
  172. package/node_modules/color-name/.eslintrc.json +43 -0
  173. package/node_modules/color-name/.npmignore +107 -0
  174. package/node_modules/color-name/LICENSE +8 -0
  175. package/node_modules/color-name/README.md +11 -0
  176. package/node_modules/color-name/index.js +152 -0
  177. package/node_modules/color-name/package.json +29 -0
  178. package/node_modules/color-name/test.js +7 -0
  179. package/node_modules/create-hash/.travis.yml +17 -0
  180. package/node_modules/create-hash/LICENSE +21 -0
  181. package/node_modules/create-hash/README.md +19 -0
  182. package/node_modules/create-hash/browser.js +30 -0
  183. package/node_modules/create-hash/index.js +1 -0
  184. package/node_modules/create-hash/md5.js +5 -0
  185. package/node_modules/create-hash/package.json +43 -0
  186. package/node_modules/create-hash/test.js +41 -0
  187. package/node_modules/create-hmac/LICENSE +21 -0
  188. package/node_modules/create-hmac/README.md +20 -0
  189. package/node_modules/create-hmac/browser.js +62 -0
  190. package/node_modules/create-hmac/index.js +1 -0
  191. package/node_modules/create-hmac/legacy.js +46 -0
  192. package/node_modules/create-hmac/package.json +49 -0
  193. package/node_modules/cross-spawn/LICENSE +21 -0
  194. package/node_modules/cross-spawn/README.md +94 -0
  195. package/node_modules/cross-spawn/index.js +39 -0
  196. package/node_modules/cross-spawn/lib/enoent.js +59 -0
  197. package/node_modules/cross-spawn/lib/parse.js +125 -0
  198. package/node_modules/cross-spawn/lib/util/escape.js +45 -0
  199. package/node_modules/cross-spawn/lib/util/readShebang.js +32 -0
  200. package/node_modules/cross-spawn/lib/util/resolveCommand.js +47 -0
  201. package/node_modules/cross-spawn/package.json +80 -0
  202. package/node_modules/decamelize/index.js +13 -0
  203. package/node_modules/decamelize/license +21 -0
  204. package/node_modules/decamelize/package.json +42 -0
  205. package/node_modules/decamelize/readme.md +48 -0
  206. package/node_modules/elliptic/README.md +238 -0
  207. package/node_modules/elliptic/lib/elliptic/curve/base.js +376 -0
  208. package/node_modules/elliptic/lib/elliptic/curve/edwards.js +432 -0
  209. package/node_modules/elliptic/lib/elliptic/curve/index.js +8 -0
  210. package/node_modules/elliptic/lib/elliptic/curve/mont.js +178 -0
  211. package/node_modules/elliptic/lib/elliptic/curve/short.js +937 -0
  212. package/node_modules/elliptic/lib/elliptic/curves.js +206 -0
  213. package/node_modules/elliptic/lib/elliptic/ec/index.js +241 -0
  214. package/node_modules/elliptic/lib/elliptic/ec/key.js +118 -0
  215. package/node_modules/elliptic/lib/elliptic/ec/signature.js +166 -0
  216. package/node_modules/elliptic/lib/elliptic/eddsa/index.js +118 -0
  217. package/node_modules/elliptic/lib/elliptic/eddsa/key.js +95 -0
  218. package/node_modules/elliptic/lib/elliptic/eddsa/signature.js +65 -0
  219. package/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js +780 -0
  220. package/node_modules/elliptic/lib/elliptic/utils.js +119 -0
  221. package/node_modules/elliptic/lib/elliptic.js +13 -0
  222. package/node_modules/elliptic/package.json +62 -0
  223. package/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  224. package/node_modules/emoji-regex/README.md +73 -0
  225. package/node_modules/emoji-regex/es2015/index.js +6 -0
  226. package/node_modules/emoji-regex/es2015/text.js +6 -0
  227. package/node_modules/emoji-regex/index.d.ts +5 -0
  228. package/node_modules/emoji-regex/index.js +6 -0
  229. package/node_modules/emoji-regex/package.json +55 -0
  230. package/node_modules/emoji-regex/text.js +6 -0
  231. package/node_modules/end-of-stream/LICENSE +21 -0
  232. package/node_modules/end-of-stream/README.md +54 -0
  233. package/node_modules/end-of-stream/index.js +94 -0
  234. package/node_modules/end-of-stream/package.json +41 -0
  235. package/node_modules/ethereum-cryptography/LICENSE +26 -0
  236. package/node_modules/ethereum-cryptography/README.md +560 -0
  237. package/node_modules/ethereum-cryptography/aes.d.ts +4 -0
  238. package/node_modules/ethereum-cryptography/aes.d.ts.map +1 -0
  239. package/node_modules/ethereum-cryptography/aes.js +38 -0
  240. package/node_modules/ethereum-cryptography/aes.js.map +1 -0
  241. package/node_modules/ethereum-cryptography/bip39/index.d.ts +8 -0
  242. package/node_modules/ethereum-cryptography/bip39/index.d.ts.map +1 -0
  243. package/node_modules/ethereum-cryptography/bip39/index.js +71 -0
  244. package/node_modules/ethereum-cryptography/bip39/index.js.map +1 -0
  245. package/node_modules/ethereum-cryptography/bip39/wordlists/czech.d.ts +2 -0
  246. package/node_modules/ethereum-cryptography/bip39/wordlists/czech.d.ts.map +1 -0
  247. package/node_modules/ethereum-cryptography/bip39/wordlists/czech.js +2053 -0
  248. package/node_modules/ethereum-cryptography/bip39/wordlists/czech.js.map +1 -0
  249. package/node_modules/ethereum-cryptography/bip39/wordlists/english.d.ts +2 -0
  250. package/node_modules/ethereum-cryptography/bip39/wordlists/english.d.ts.map +1 -0
  251. package/node_modules/ethereum-cryptography/bip39/wordlists/english.js +2053 -0
  252. package/node_modules/ethereum-cryptography/bip39/wordlists/english.js.map +1 -0
  253. package/node_modules/ethereum-cryptography/bip39/wordlists/french.d.ts +2 -0
  254. package/node_modules/ethereum-cryptography/bip39/wordlists/french.d.ts.map +1 -0
  255. package/node_modules/ethereum-cryptography/bip39/wordlists/french.js +2053 -0
  256. package/node_modules/ethereum-cryptography/bip39/wordlists/french.js.map +1 -0
  257. package/node_modules/ethereum-cryptography/bip39/wordlists/italian.d.ts +2 -0
  258. package/node_modules/ethereum-cryptography/bip39/wordlists/italian.d.ts.map +1 -0
  259. package/node_modules/ethereum-cryptography/bip39/wordlists/italian.js +2053 -0
  260. package/node_modules/ethereum-cryptography/bip39/wordlists/italian.js.map +1 -0
  261. package/node_modules/ethereum-cryptography/bip39/wordlists/japanese.d.ts +2 -0
  262. package/node_modules/ethereum-cryptography/bip39/wordlists/japanese.d.ts.map +1 -0
  263. package/node_modules/ethereum-cryptography/bip39/wordlists/japanese.js +2053 -0
  264. package/node_modules/ethereum-cryptography/bip39/wordlists/japanese.js.map +1 -0
  265. package/node_modules/ethereum-cryptography/bip39/wordlists/korean.d.ts +2 -0
  266. package/node_modules/ethereum-cryptography/bip39/wordlists/korean.d.ts.map +1 -0
  267. package/node_modules/ethereum-cryptography/bip39/wordlists/korean.js +2053 -0
  268. package/node_modules/ethereum-cryptography/bip39/wordlists/korean.js.map +1 -0
  269. package/node_modules/ethereum-cryptography/bip39/wordlists/simplified-chinese.d.ts +2 -0
  270. package/node_modules/ethereum-cryptography/bip39/wordlists/simplified-chinese.d.ts.map +1 -0
  271. package/node_modules/ethereum-cryptography/bip39/wordlists/simplified-chinese.js +2053 -0
  272. package/node_modules/ethereum-cryptography/bip39/wordlists/simplified-chinese.js.map +1 -0
  273. package/node_modules/ethereum-cryptography/bip39/wordlists/spanish.d.ts +2 -0
  274. package/node_modules/ethereum-cryptography/bip39/wordlists/spanish.d.ts.map +1 -0
  275. package/node_modules/ethereum-cryptography/bip39/wordlists/spanish.js +2053 -0
  276. package/node_modules/ethereum-cryptography/bip39/wordlists/spanish.js.map +1 -0
  277. package/node_modules/ethereum-cryptography/bip39/wordlists/traditional-chinese.d.ts +2 -0
  278. package/node_modules/ethereum-cryptography/bip39/wordlists/traditional-chinese.d.ts.map +1 -0
  279. package/node_modules/ethereum-cryptography/bip39/wordlists/traditional-chinese.js +2053 -0
  280. package/node_modules/ethereum-cryptography/bip39/wordlists/traditional-chinese.js.map +1 -0
  281. package/node_modules/ethereum-cryptography/blake2b.d.ts +3 -0
  282. package/node_modules/ethereum-cryptography/blake2b.d.ts.map +1 -0
  283. package/node_modules/ethereum-cryptography/blake2b.js +12 -0
  284. package/node_modules/ethereum-cryptography/blake2b.js.map +1 -0
  285. package/node_modules/ethereum-cryptography/hash-utils.d.ts +4 -0
  286. package/node_modules/ethereum-cryptography/hash-utils.d.ts.map +1 -0
  287. package/node_modules/ethereum-cryptography/hash-utils.js +11 -0
  288. package/node_modules/ethereum-cryptography/hash-utils.js.map +1 -0
  289. package/node_modules/ethereum-cryptography/hdkey.d.ts +3 -0
  290. package/node_modules/ethereum-cryptography/hdkey.d.ts.map +1 -0
  291. package/node_modules/ethereum-cryptography/hdkey.js +5 -0
  292. package/node_modules/ethereum-cryptography/hdkey.js.map +1 -0
  293. package/node_modules/ethereum-cryptography/index.d.ts +1 -0
  294. package/node_modules/ethereum-cryptography/index.d.ts.map +1 -0
  295. package/node_modules/ethereum-cryptography/index.js +3 -0
  296. package/node_modules/ethereum-cryptography/index.js.map +1 -0
  297. package/node_modules/ethereum-cryptography/keccak.d.ts +6 -0
  298. package/node_modules/ethereum-cryptography/keccak.d.ts.map +1 -0
  299. package/node_modules/ethereum-cryptography/keccak.js +17 -0
  300. package/node_modules/ethereum-cryptography/keccak.js.map +1 -0
  301. package/node_modules/ethereum-cryptography/package.json +131 -0
  302. package/node_modules/ethereum-cryptography/pbkdf2.d.ts +4 -0
  303. package/node_modules/ethereum-cryptography/pbkdf2.d.ts.map +1 -0
  304. package/node_modules/ethereum-cryptography/pbkdf2.js +27 -0
  305. package/node_modules/ethereum-cryptography/pbkdf2.js.map +1 -0
  306. package/node_modules/ethereum-cryptography/pure/hdkey.d.ts +37 -0
  307. package/node_modules/ethereum-cryptography/pure/hdkey.d.ts.map +1 -0
  308. package/node_modules/ethereum-cryptography/pure/hdkey.js +5 -0
  309. package/node_modules/ethereum-cryptography/pure/hdkey.js.map +1 -0
  310. package/node_modules/ethereum-cryptography/pure/ripemd160.d.ts +3 -0
  311. package/node_modules/ethereum-cryptography/pure/ripemd160.d.ts.map +1 -0
  312. package/node_modules/ethereum-cryptography/pure/ripemd160.js +6 -0
  313. package/node_modules/ethereum-cryptography/pure/ripemd160.js.map +1 -0
  314. package/node_modules/ethereum-cryptography/pure/sha256.d.ts +3 -0
  315. package/node_modules/ethereum-cryptography/pure/sha256.d.ts.map +1 -0
  316. package/node_modules/ethereum-cryptography/pure/sha256.js +6 -0
  317. package/node_modules/ethereum-cryptography/pure/sha256.js.map +1 -0
  318. package/node_modules/ethereum-cryptography/pure/shims/hdkey-crypto.d.ts +13 -0
  319. package/node_modules/ethereum-cryptography/pure/shims/hdkey-crypto.d.ts.map +1 -0
  320. package/node_modules/ethereum-cryptography/pure/shims/hdkey-crypto.js +37 -0
  321. package/node_modules/ethereum-cryptography/pure/shims/hdkey-crypto.js.map +1 -0
  322. package/node_modules/ethereum-cryptography/pure/shims/hdkey-secp256k1v3.d.ts +2 -0
  323. package/node_modules/ethereum-cryptography/pure/shims/hdkey-secp256k1v3.d.ts.map +1 -0
  324. package/node_modules/ethereum-cryptography/pure/shims/hdkey-secp256k1v3.js +7 -0
  325. package/node_modules/ethereum-cryptography/pure/shims/hdkey-secp256k1v3.js.map +1 -0
  326. package/node_modules/ethereum-cryptography/pure/vendor/hdkey-without-crypto.js +255 -0
  327. package/node_modules/ethereum-cryptography/random.d.ts +4 -0
  328. package/node_modules/ethereum-cryptography/random.d.ts.map +1 -0
  329. package/node_modules/ethereum-cryptography/random.js +20 -0
  330. package/node_modules/ethereum-cryptography/random.js.map +1 -0
  331. package/node_modules/ethereum-cryptography/ripemd160.d.ts +3 -0
  332. package/node_modules/ethereum-cryptography/ripemd160.d.ts.map +1 -0
  333. package/node_modules/ethereum-cryptography/ripemd160.js +11 -0
  334. package/node_modules/ethereum-cryptography/ripemd160.js.map +1 -0
  335. package/node_modules/ethereum-cryptography/scrypt.d.ts +5 -0
  336. package/node_modules/ethereum-cryptography/scrypt.d.ts.map +1 -0
  337. package/node_modules/ethereum-cryptography/scrypt.js +59 -0
  338. package/node_modules/ethereum-cryptography/scrypt.js.map +1 -0
  339. package/node_modules/ethereum-cryptography/secp256k1.d.ts +4 -0
  340. package/node_modules/ethereum-cryptography/secp256k1.d.ts.map +1 -0
  341. package/node_modules/ethereum-cryptography/secp256k1.js +75 -0
  342. package/node_modules/ethereum-cryptography/secp256k1.js.map +1 -0
  343. package/node_modules/ethereum-cryptography/sha256.d.ts +3 -0
  344. package/node_modules/ethereum-cryptography/sha256.d.ts.map +1 -0
  345. package/node_modules/ethereum-cryptography/sha256.js +9 -0
  346. package/node_modules/ethereum-cryptography/sha256.js.map +1 -0
  347. package/node_modules/ethereum-cryptography/shims/hdkey-crypto.d.ts +2 -0
  348. package/node_modules/ethereum-cryptography/shims/hdkey-crypto.d.ts.map +1 -0
  349. package/node_modules/ethereum-cryptography/shims/hdkey-crypto.js +7 -0
  350. package/node_modules/ethereum-cryptography/shims/hdkey-crypto.js.map +1 -0
  351. package/node_modules/ethereum-cryptography/shims/hdkey-secp256k1v3.d.ts +13 -0
  352. package/node_modules/ethereum-cryptography/shims/hdkey-secp256k1v3.d.ts.map +1 -0
  353. package/node_modules/ethereum-cryptography/shims/hdkey-secp256k1v3.js +47 -0
  354. package/node_modules/ethereum-cryptography/shims/hdkey-secp256k1v3.js.map +1 -0
  355. package/node_modules/ethereum-cryptography/src/aes.ts +52 -0
  356. package/node_modules/ethereum-cryptography/src/bip39/index.ts +40 -0
  357. package/node_modules/ethereum-cryptography/src/bip39/wordlists/czech.ts +2050 -0
  358. package/node_modules/ethereum-cryptography/src/bip39/wordlists/english.ts +2050 -0
  359. package/node_modules/ethereum-cryptography/src/bip39/wordlists/french.ts +2050 -0
  360. package/node_modules/ethereum-cryptography/src/bip39/wordlists/italian.ts +2050 -0
  361. package/node_modules/ethereum-cryptography/src/bip39/wordlists/japanese.ts +2050 -0
  362. package/node_modules/ethereum-cryptography/src/bip39/wordlists/korean.ts +2050 -0
  363. package/node_modules/ethereum-cryptography/src/bip39/wordlists/simplified-chinese.ts +2050 -0
  364. package/node_modules/ethereum-cryptography/src/bip39/wordlists/spanish.ts +2050 -0
  365. package/node_modules/ethereum-cryptography/src/bip39/wordlists/traditional-chinese.ts +2050 -0
  366. package/node_modules/ethereum-cryptography/src/blake2b.ts +9 -0
  367. package/node_modules/ethereum-cryptography/src/hash-utils.ts +11 -0
  368. package/node_modules/ethereum-cryptography/src/hdkey.ts +5 -0
  369. package/node_modules/ethereum-cryptography/src/index.ts +3 -0
  370. package/node_modules/ethereum-cryptography/src/keccak.ts +19 -0
  371. package/node_modules/ethereum-cryptography/src/pbkdf2.ts +37 -0
  372. package/node_modules/ethereum-cryptography/src/pure/hdkey.ts +36 -0
  373. package/node_modules/ethereum-cryptography/src/pure/ripemd160.ts +5 -0
  374. package/node_modules/ethereum-cryptography/src/pure/sha256.ts +5 -0
  375. package/node_modules/ethereum-cryptography/src/pure/shims/hdkey-crypto.ts +42 -0
  376. package/node_modules/ethereum-cryptography/src/pure/shims/hdkey-secp256k1v3.ts +1 -0
  377. package/node_modules/ethereum-cryptography/src/pure/vendor/hdkey-without-crypto.js +255 -0
  378. package/node_modules/ethereum-cryptography/src/random.ts +18 -0
  379. package/node_modules/ethereum-cryptography/src/ripemd160.ts +7 -0
  380. package/node_modules/ethereum-cryptography/src/scrypt.ts +24 -0
  381. package/node_modules/ethereum-cryptography/src/secp256k1.ts +24 -0
  382. package/node_modules/ethereum-cryptography/src/sha256.ts +5 -0
  383. package/node_modules/ethereum-cryptography/src/shims/hdkey-crypto.ts +1 -0
  384. package/node_modules/ethereum-cryptography/src/shims/hdkey-secp256k1v3.ts +49 -0
  385. package/node_modules/ethereum-cryptography/src/vendor/bip39-without-wordlists.js +206 -0
  386. package/node_modules/ethereum-cryptography/src/vendor/hdkey-without-crypto.js +255 -0
  387. package/node_modules/ethereum-cryptography/vendor/bip39-without-wordlists.js +206 -0
  388. package/node_modules/ethereum-cryptography/vendor/hdkey-without-crypto.js +255 -0
  389. package/node_modules/ethereumjs-util/LICENSE +373 -0
  390. package/node_modules/ethereumjs-util/README.md +32 -0
  391. package/node_modules/ethereumjs-util/dist/account.d.ts +80 -0
  392. package/node_modules/ethereumjs-util/dist/account.js +168 -0
  393. package/node_modules/ethereumjs-util/dist/account.js.map +1 -0
  394. package/node_modules/ethereumjs-util/dist/bytes.d.ts +68 -0
  395. package/node_modules/ethereumjs-util/dist/bytes.js +158 -0
  396. package/node_modules/ethereumjs-util/dist/bytes.js.map +1 -0
  397. package/node_modules/ethereumjs-util/dist/constants.d.ts +34 -0
  398. package/node_modules/ethereumjs-util/dist/constants.js +37 -0
  399. package/node_modules/ethereumjs-util/dist/constants.js.map +1 -0
  400. package/node_modules/ethereumjs-util/dist/hash.d.ts +30 -0
  401. package/node_modules/ethereumjs-util/dist/hash.js +84 -0
  402. package/node_modules/ethereumjs-util/dist/hash.js.map +1 -0
  403. package/node_modules/ethereumjs-util/dist/index.d.ts +39 -0
  404. package/node_modules/ethereumjs-util/dist/index.js +46 -0
  405. package/node_modules/ethereumjs-util/dist/index.js.map +1 -0
  406. package/node_modules/ethereumjs-util/dist/object.d.ts +12 -0
  407. package/node_modules/ethereumjs-util/dist/object.js +106 -0
  408. package/node_modules/ethereumjs-util/dist/object.js.map +1 -0
  409. package/node_modules/ethereumjs-util/dist/secp256k1v3-adapter.d.ts +178 -0
  410. package/node_modules/ethereumjs-util/dist/secp256k1v3-adapter.js +300 -0
  411. package/node_modules/ethereumjs-util/dist/secp256k1v3-adapter.js.map +1 -0
  412. package/node_modules/ethereumjs-util/dist/secp256k1v3-lib/der.d.ts +1 -0
  413. package/node_modules/ethereumjs-util/dist/secp256k1v3-lib/der.js +634 -0
  414. package/node_modules/ethereumjs-util/dist/secp256k1v3-lib/der.js.map +1 -0
  415. package/node_modules/ethereumjs-util/dist/secp256k1v3-lib/index.d.ts +5 -0
  416. package/node_modules/ethereumjs-util/dist/secp256k1v3-lib/index.js +61 -0
  417. package/node_modules/ethereumjs-util/dist/secp256k1v3-lib/index.js.map +1 -0
  418. package/node_modules/ethereumjs-util/dist/signature.d.ts +37 -0
  419. package/node_modules/ethereumjs-util/dist/signature.js +107 -0
  420. package/node_modules/ethereumjs-util/dist/signature.js.map +1 -0
  421. package/node_modules/ethereumjs-util/package.json +131 -0
  422. package/node_modules/ethjs-util/LICENSE +21 -0
  423. package/node_modules/ethjs-util/README.md +143 -0
  424. package/node_modules/ethjs-util/dist/ethjs-util.js +2420 -0
  425. package/node_modules/ethjs-util/dist/ethjs-util.js.map +1 -0
  426. package/node_modules/ethjs-util/dist/ethjs-util.min.js +1 -0
  427. package/node_modules/ethjs-util/internals/webpack/webpack.config.js +58 -0
  428. package/node_modules/ethjs-util/lib/index.js +220 -0
  429. package/node_modules/ethjs-util/lib/tests/test.index.js +357 -0
  430. package/node_modules/ethjs-util/package.json +229 -0
  431. package/node_modules/ethjs-util/src/index.js +203 -0
  432. package/node_modules/ethjs-util/src/tests/test.index.js +382 -0
  433. package/node_modules/evp_bytestokey/LICENSE +21 -0
  434. package/node_modules/evp_bytestokey/README.md +51 -0
  435. package/node_modules/evp_bytestokey/index.js +45 -0
  436. package/node_modules/evp_bytestokey/package.json +49 -0
  437. package/node_modules/execa/index.js +361 -0
  438. package/node_modules/execa/lib/errname.js +39 -0
  439. package/node_modules/execa/lib/stdio.js +41 -0
  440. package/node_modules/execa/license +9 -0
  441. package/node_modules/execa/package.json +73 -0
  442. package/node_modules/execa/readme.md +327 -0
  443. package/node_modules/find-up/index.js +46 -0
  444. package/node_modules/find-up/license +9 -0
  445. package/node_modules/find-up/package.json +54 -0
  446. package/node_modules/find-up/readme.md +87 -0
  447. package/node_modules/get-caller-file/LICENSE.md +6 -0
  448. package/node_modules/get-caller-file/README.md +41 -0
  449. package/node_modules/get-caller-file/index.d.ts +2 -0
  450. package/node_modules/get-caller-file/index.js +22 -0
  451. package/node_modules/get-caller-file/index.js.map +1 -0
  452. package/node_modules/get-caller-file/package.json +46 -0
  453. package/node_modules/get-stream/buffer-stream.js +51 -0
  454. package/node_modules/get-stream/index.js +50 -0
  455. package/node_modules/get-stream/license +9 -0
  456. package/node_modules/get-stream/package.json +50 -0
  457. package/node_modules/get-stream/readme.md +123 -0
  458. package/node_modules/hash-base/LICENSE +21 -0
  459. package/node_modules/hash-base/README.md +48 -0
  460. package/node_modules/hash-base/index.js +95 -0
  461. package/node_modules/hash-base/package.json +46 -0
  462. package/node_modules/hash.js/.eslintrc.js +41 -0
  463. package/node_modules/hash.js/.travis.yml +10 -0
  464. package/node_modules/hash.js/README.md +48 -0
  465. package/node_modules/hash.js/lib/hash/common.js +92 -0
  466. package/node_modules/hash.js/lib/hash/hmac.js +47 -0
  467. package/node_modules/hash.js/lib/hash/ripemd.js +146 -0
  468. package/node_modules/hash.js/lib/hash/sha/1.js +74 -0
  469. package/node_modules/hash.js/lib/hash/sha/224.js +30 -0
  470. package/node_modules/hash.js/lib/hash/sha/256.js +105 -0
  471. package/node_modules/hash.js/lib/hash/sha/384.js +35 -0
  472. package/node_modules/hash.js/lib/hash/sha/512.js +330 -0
  473. package/node_modules/hash.js/lib/hash/sha/common.js +49 -0
  474. package/node_modules/hash.js/lib/hash/sha.js +7 -0
  475. package/node_modules/hash.js/lib/hash/utils.js +278 -0
  476. package/node_modules/hash.js/lib/hash.d.ts +106 -0
  477. package/node_modules/hash.js/lib/hash.js +15 -0
  478. package/node_modules/hash.js/package.json +39 -0
  479. package/node_modules/hash.js/test/hash-test.js +140 -0
  480. package/node_modules/hash.js/test/hmac-test.js +62 -0
  481. package/node_modules/hmac-drbg/.npmignore +2 -0
  482. package/node_modules/hmac-drbg/.travis.yml +11 -0
  483. package/node_modules/hmac-drbg/README.md +48 -0
  484. package/node_modules/hmac-drbg/lib/hmac-drbg.js +113 -0
  485. package/node_modules/hmac-drbg/package.json +36 -0
  486. package/node_modules/hmac-drbg/test/drbg-test.js +91 -0
  487. package/node_modules/hmac-drbg/test/fixtures/hmac-drbg-nist.json +332 -0
  488. package/node_modules/inherits/LICENSE +16 -0
  489. package/node_modules/inherits/README.md +42 -0
  490. package/node_modules/inherits/inherits.js +9 -0
  491. package/node_modules/inherits/inherits_browser.js +27 -0
  492. package/node_modules/inherits/package.json +33 -0
  493. package/node_modules/invert-kv/index.js +15 -0
  494. package/node_modules/invert-kv/license +9 -0
  495. package/node_modules/invert-kv/package.json +36 -0
  496. package/node_modules/invert-kv/readme.md +25 -0
  497. package/node_modules/is-fullwidth-code-point/index.js +46 -0
  498. package/node_modules/is-fullwidth-code-point/license +21 -0
  499. package/node_modules/is-fullwidth-code-point/package.json +49 -0
  500. package/node_modules/is-fullwidth-code-point/readme.md +39 -0
  501. package/node_modules/is-hex-prefixed/.editorconfig +7 -0
  502. package/node_modules/is-hex-prefixed/.gitattributes +106 -0
  503. package/node_modules/is-hex-prefixed/.npmignore +8 -0
  504. package/node_modules/is-hex-prefixed/.travis.yml +5 -0
  505. package/node_modules/is-hex-prefixed/CHANGELOG.md +7 -0
  506. package/node_modules/is-hex-prefixed/LICENSE +21 -0
  507. package/node_modules/is-hex-prefixed/README.md +101 -0
  508. package/node_modules/is-hex-prefixed/package.json +43 -0
  509. package/node_modules/is-hex-prefixed/src/index.js +13 -0
  510. package/node_modules/is-hex-prefixed/src/tests/test.index.js +66 -0
  511. package/node_modules/is-stream/index.js +21 -0
  512. package/node_modules/is-stream/license +21 -0
  513. package/node_modules/is-stream/package.json +42 -0
  514. package/node_modules/is-stream/readme.md +42 -0
  515. package/node_modules/isexe/.npmignore +2 -0
  516. package/node_modules/isexe/LICENSE +15 -0
  517. package/node_modules/isexe/README.md +51 -0
  518. package/node_modules/isexe/index.js +57 -0
  519. package/node_modules/isexe/mode.js +41 -0
  520. package/node_modules/isexe/package.json +35 -0
  521. package/node_modules/isexe/test/basic.js +221 -0
  522. package/node_modules/isexe/windows.js +42 -0
  523. package/node_modules/keccak/LICENSE +21 -0
  524. package/node_modules/keccak/README.md +64 -0
  525. package/node_modules/keccak/binding.gyp +78 -0
  526. package/node_modules/keccak/bindings.js +1 -0
  527. package/node_modules/keccak/index.js +5 -0
  528. package/node_modules/keccak/js.js +1 -0
  529. package/node_modules/keccak/lib/api/index.js +27 -0
  530. package/node_modules/keccak/lib/api/keccak.js +77 -0
  531. package/node_modules/keccak/lib/api/shake.js +68 -0
  532. package/node_modules/keccak/lib/keccak-state-reference.js +143 -0
  533. package/node_modules/keccak/lib/keccak-state-unroll.js +186 -0
  534. package/node_modules/keccak/lib/keccak.js +68 -0
  535. package/node_modules/keccak/package.json +41 -0
  536. package/node_modules/keccak/prebuilds/darwin-x64/node.napi.node +0 -0
  537. package/node_modules/keccak/prebuilds/linux-x64/node.napi.glibc.node +0 -0
  538. package/node_modules/keccak/prebuilds/linux-x64/node.napi.musl.node +0 -0
  539. package/node_modules/keccak/prebuilds/win32-x64/node.napi.node +0 -0
  540. package/node_modules/keccak/src/README.md +28 -0
  541. package/node_modules/keccak/src/addon.cc +98 -0
  542. package/node_modules/keccak/src/libkeccak-32/KeccakP-1600-SnP.h +38 -0
  543. package/node_modules/keccak/src/libkeccak-32/KeccakP-1600-inplace32BI.c +1162 -0
  544. package/node_modules/keccak/src/libkeccak-32/KeccakSponge-common.h +35 -0
  545. package/node_modules/keccak/src/libkeccak-32/KeccakSponge.inc +311 -0
  546. package/node_modules/keccak/src/libkeccak-32/KeccakSpongeWidth1600.c +54 -0
  547. package/node_modules/keccak/src/libkeccak-32/KeccakSpongeWidth1600.h +31 -0
  548. package/node_modules/keccak/src/libkeccak-32/SnP-Relaned.h +140 -0
  549. package/node_modules/keccak/src/libkeccak-32/align.h +32 -0
  550. package/node_modules/keccak/src/libkeccak-32/brg_endian.h +143 -0
  551. package/node_modules/keccak/src/libkeccak-64/KeccakP-1600-64.macros +745 -0
  552. package/node_modules/keccak/src/libkeccak-64/KeccakP-1600-SnP.h +51 -0
  553. package/node_modules/keccak/src/libkeccak-64/KeccakP-1600-opt64-config.h +6 -0
  554. package/node_modules/keccak/src/libkeccak-64/KeccakP-1600-opt64.c +564 -0
  555. package/node_modules/keccak/src/libkeccak-64/KeccakP-1600-unrolling.macros +302 -0
  556. package/node_modules/keccak/src/libkeccak-64/KeccakSponge-common.h +35 -0
  557. package/node_modules/keccak/src/libkeccak-64/KeccakSponge.inc +311 -0
  558. package/node_modules/keccak/src/libkeccak-64/KeccakSpongeWidth1600.c +54 -0
  559. package/node_modules/keccak/src/libkeccak-64/KeccakSpongeWidth1600.h +31 -0
  560. package/node_modules/keccak/src/libkeccak-64/SnP-Relaned.h +140 -0
  561. package/node_modules/keccak/src/libkeccak-64/align.h +32 -0
  562. package/node_modules/keccak/src/libkeccak-64/brg_endian.h +143 -0
  563. package/node_modules/lcid/index.js +23 -0
  564. package/node_modules/lcid/lcid.json +203 -0
  565. package/node_modules/lcid/license +9 -0
  566. package/node_modules/lcid/package.json +51 -0
  567. package/node_modules/lcid/readme.md +35 -0
  568. package/node_modules/locate-path/index.js +24 -0
  569. package/node_modules/locate-path/license +9 -0
  570. package/node_modules/locate-path/package.json +48 -0
  571. package/node_modules/locate-path/readme.md +99 -0
  572. package/node_modules/map-age-cleaner/dist/index.d.ts +20 -0
  573. package/node_modules/map-age-cleaner/dist/index.js +92 -0
  574. package/node_modules/map-age-cleaner/license +9 -0
  575. package/node_modules/map-age-cleaner/package.json +63 -0
  576. package/node_modules/map-age-cleaner/readme.md +67 -0
  577. package/node_modules/md5.js/LICENSE +21 -0
  578. package/node_modules/md5.js/README.md +29 -0
  579. package/node_modules/md5.js/index.js +146 -0
  580. package/node_modules/md5.js/package.json +42 -0
  581. package/node_modules/mem/index.d.ts +96 -0
  582. package/node_modules/mem/index.js +88 -0
  583. package/node_modules/mem/license +9 -0
  584. package/node_modules/mem/package.json +50 -0
  585. package/node_modules/mem/readme.md +167 -0
  586. package/node_modules/mimic-fn/index.d.ts +54 -0
  587. package/node_modules/mimic-fn/index.js +13 -0
  588. package/node_modules/mimic-fn/license +9 -0
  589. package/node_modules/mimic-fn/package.json +46 -0
  590. package/node_modules/mimic-fn/readme.md +69 -0
  591. package/node_modules/minimalistic-assert/LICENSE +13 -0
  592. package/node_modules/minimalistic-assert/index.js +11 -0
  593. package/node_modules/minimalistic-assert/package.json +23 -0
  594. package/node_modules/minimalistic-assert/readme.md +4 -0
  595. package/node_modules/minimalistic-crypto-utils/.npmignore +2 -0
  596. package/node_modules/minimalistic-crypto-utils/.travis.yml +11 -0
  597. package/node_modules/minimalistic-crypto-utils/README.md +47 -0
  598. package/node_modules/minimalistic-crypto-utils/lib/utils.js +58 -0
  599. package/node_modules/minimalistic-crypto-utils/package.json +31 -0
  600. package/node_modules/minimalistic-crypto-utils/test/utils-test.js +28 -0
  601. package/node_modules/nice-try/LICENSE +21 -0
  602. package/node_modules/nice-try/README.md +32 -0
  603. package/node_modules/nice-try/package.json +37 -0
  604. package/node_modules/nice-try/src/index.js +12 -0
  605. package/node_modules/node-addon-api/.editorconfig +8 -0
  606. package/node_modules/node-addon-api/.travis.yml +62 -0
  607. package/node_modules/node-addon-api/CHANGELOG.md +412 -0
  608. package/node_modules/node-addon-api/CODE_OF_CONDUCT.md +4 -0
  609. package/node_modules/node-addon-api/CONTRIBUTING.md +66 -0
  610. package/node_modules/node-addon-api/LICENSE.md +13 -0
  611. package/node_modules/node-addon-api/README.md +203 -0
  612. package/node_modules/node-addon-api/appveyor.yml +48 -0
  613. package/node_modules/node-addon-api/doc/Doxyfile +2450 -0
  614. package/node_modules/node-addon-api/doc/array_buffer.md +129 -0
  615. package/node_modules/node-addon-api/doc/async_context.md +86 -0
  616. package/node_modules/node-addon-api/doc/async_operations.md +31 -0
  617. package/node_modules/node-addon-api/doc/async_progress_worker.md +344 -0
  618. package/node_modules/node-addon-api/doc/async_worker.md +398 -0
  619. package/node_modules/node-addon-api/doc/basic_types.md +423 -0
  620. package/node_modules/node-addon-api/doc/bigint.md +92 -0
  621. package/node_modules/node-addon-api/doc/boolean.md +64 -0
  622. package/node_modules/node-addon-api/doc/buffer.md +140 -0
  623. package/node_modules/node-addon-api/doc/callback_scope.md +54 -0
  624. package/node_modules/node-addon-api/doc/callbackinfo.md +97 -0
  625. package/node_modules/node-addon-api/doc/checker-tool.md +32 -0
  626. package/node_modules/node-addon-api/doc/class_property_descriptor.md +117 -0
  627. package/node_modules/node-addon-api/doc/cmake-js.md +68 -0
  628. package/node_modules/node-addon-api/doc/conversion-tool.md +28 -0
  629. package/node_modules/node-addon-api/doc/creating_a_release.md +62 -0
  630. package/node_modules/node-addon-api/doc/dataview.md +244 -0
  631. package/node_modules/node-addon-api/doc/date.md +68 -0
  632. package/node_modules/node-addon-api/doc/env.md +63 -0
  633. package/node_modules/node-addon-api/doc/error.md +115 -0
  634. package/node_modules/node-addon-api/doc/error_handling.md +186 -0
  635. package/node_modules/node-addon-api/doc/escapable_handle_scope.md +82 -0
  636. package/node_modules/node-addon-api/doc/external.md +59 -0
  637. package/node_modules/node-addon-api/doc/function.md +294 -0
  638. package/node_modules/node-addon-api/doc/function_reference.md +238 -0
  639. package/node_modules/node-addon-api/doc/generator.md +13 -0
  640. package/node_modules/node-addon-api/doc/handle_scope.md +65 -0
  641. package/node_modules/node-addon-api/doc/memory_management.md +27 -0
  642. package/node_modules/node-addon-api/doc/node-gyp.md +82 -0
  643. package/node_modules/node-addon-api/doc/number.md +163 -0
  644. package/node_modules/node-addon-api/doc/object.md +236 -0
  645. package/node_modules/node-addon-api/doc/object_lifetime_management.md +83 -0
  646. package/node_modules/node-addon-api/doc/object_reference.md +117 -0
  647. package/node_modules/node-addon-api/doc/object_wrap.md +557 -0
  648. package/node_modules/node-addon-api/doc/prebuild_tools.md +16 -0
  649. package/node_modules/node-addon-api/doc/promises.md +74 -0
  650. package/node_modules/node-addon-api/doc/property_descriptor.md +231 -0
  651. package/node_modules/node-addon-api/doc/range_error.md +59 -0
  652. package/node_modules/node-addon-api/doc/reference.md +111 -0
  653. package/node_modules/node-addon-api/doc/setup.md +82 -0
  654. package/node_modules/node-addon-api/doc/string.md +89 -0
  655. package/node_modules/node-addon-api/doc/symbol.md +44 -0
  656. package/node_modules/node-addon-api/doc/threadsafe_function.md +320 -0
  657. package/node_modules/node-addon-api/doc/type_error.md +59 -0
  658. package/node_modules/node-addon-api/doc/typed_array.md +74 -0
  659. package/node_modules/node-addon-api/doc/typed_array_of.md +133 -0
  660. package/node_modules/node-addon-api/doc/value.md +278 -0
  661. package/node_modules/node-addon-api/doc/version_management.md +43 -0
  662. package/node_modules/node-addon-api/doc/working_with_javascript_values.md +14 -0
  663. package/node_modules/node-addon-api/external-napi/node_api.h +7 -0
  664. package/node_modules/node-addon-api/index.js +45 -0
  665. package/node_modules/node-addon-api/napi-inl.deprecated.h +192 -0
  666. package/node_modules/node-addon-api/napi-inl.h +4412 -0
  667. package/node_modules/node-addon-api/napi.h +2173 -0
  668. package/node_modules/node-addon-api/package.json +248 -0
  669. package/node_modules/node-addon-api/src/node_api.cc +3655 -0
  670. package/node_modules/node-addon-api/src/node_api.gyp +21 -0
  671. package/node_modules/node-addon-api/src/node_api.h +588 -0
  672. package/node_modules/node-addon-api/src/node_api_types.h +115 -0
  673. package/node_modules/node-addon-api/src/node_internals.cc +142 -0
  674. package/node_modules/node-addon-api/src/node_internals.h +157 -0
  675. package/node_modules/node-addon-api/src/nothing.c +0 -0
  676. package/node_modules/node-addon-api/src/util-inl.h +38 -0
  677. package/node_modules/node-addon-api/src/util.h +7 -0
  678. package/node_modules/node-addon-api/tools/README.md +67 -0
  679. package/node_modules/node-addon-api/tools/check-napi.js +100 -0
  680. package/node_modules/node-addon-api/tools/conversion.js +313 -0
  681. package/node_modules/node-gyp-build/LICENSE +21 -0
  682. package/node_modules/node-gyp-build/README.md +58 -0
  683. package/node_modules/node-gyp-build/bin.js +77 -0
  684. package/node_modules/node-gyp-build/build-test.js +19 -0
  685. package/node_modules/node-gyp-build/index.js +166 -0
  686. package/node_modules/node-gyp-build/optional.js +7 -0
  687. package/node_modules/node-gyp-build/package.json +33 -0
  688. package/node_modules/npm-run-path/index.js +39 -0
  689. package/node_modules/npm-run-path/license +21 -0
  690. package/node_modules/npm-run-path/package.json +49 -0
  691. package/node_modules/npm-run-path/readme.md +81 -0
  692. package/node_modules/once/LICENSE +15 -0
  693. package/node_modules/once/README.md +79 -0
  694. package/node_modules/once/once.js +42 -0
  695. package/node_modules/once/package.json +37 -0
  696. package/node_modules/os-locale/index.js +114 -0
  697. package/node_modules/os-locale/license +9 -0
  698. package/node_modules/os-locale/package.json +49 -0
  699. package/node_modules/os-locale/readme.md +71 -0
  700. package/node_modules/p-defer/index.js +11 -0
  701. package/node_modules/p-defer/license +21 -0
  702. package/node_modules/p-defer/package.json +45 -0
  703. package/node_modules/p-defer/readme.md +47 -0
  704. package/node_modules/p-finally/index.js +15 -0
  705. package/node_modules/p-finally/license +21 -0
  706. package/node_modules/p-finally/package.json +46 -0
  707. package/node_modules/p-finally/readme.md +47 -0
  708. package/node_modules/p-is-promise/index.d.ts +23 -0
  709. package/node_modules/p-is-promise/index.js +15 -0
  710. package/node_modules/p-is-promise/license +9 -0
  711. package/node_modules/p-is-promise/package.json +46 -0
  712. package/node_modules/p-is-promise/readme.md +43 -0
  713. package/node_modules/p-limit/index.d.ts +38 -0
  714. package/node_modules/p-limit/index.js +57 -0
  715. package/node_modules/p-limit/license +9 -0
  716. package/node_modules/p-limit/package.json +56 -0
  717. package/node_modules/p-limit/readme.md +101 -0
  718. package/node_modules/p-locate/index.js +34 -0
  719. package/node_modules/p-locate/license +9 -0
  720. package/node_modules/p-locate/package.json +55 -0
  721. package/node_modules/p-locate/readme.md +88 -0
  722. package/node_modules/p-try/index.d.ts +39 -0
  723. package/node_modules/p-try/index.js +9 -0
  724. package/node_modules/p-try/license +9 -0
  725. package/node_modules/p-try/package.json +46 -0
  726. package/node_modules/p-try/readme.md +58 -0
  727. package/node_modules/path-exists/index.js +17 -0
  728. package/node_modules/path-exists/license +21 -0
  729. package/node_modules/path-exists/package.json +44 -0
  730. package/node_modules/path-exists/readme.md +50 -0
  731. package/node_modules/path-key/index.js +13 -0
  732. package/node_modules/path-key/license +21 -0
  733. package/node_modules/path-key/package.json +43 -0
  734. package/node_modules/path-key/readme.md +51 -0
  735. package/node_modules/pbkdf2/LICENSE +21 -0
  736. package/node_modules/pbkdf2/README.md +30 -0
  737. package/node_modules/pbkdf2/browser.js +2 -0
  738. package/node_modules/pbkdf2/index.js +38 -0
  739. package/node_modules/pbkdf2/lib/async.js +102 -0
  740. package/node_modules/pbkdf2/lib/default-encoding.js +12 -0
  741. package/node_modules/pbkdf2/lib/precondition.js +19 -0
  742. package/node_modules/pbkdf2/lib/sync-browser.js +105 -0
  743. package/node_modules/pbkdf2/lib/sync.js +52 -0
  744. package/node_modules/pbkdf2/lib/to-buffer.js +13 -0
  745. package/node_modules/pbkdf2/package.json +74 -0
  746. package/node_modules/pump/.travis.yml +5 -0
  747. package/node_modules/pump/LICENSE +21 -0
  748. package/node_modules/pump/README.md +65 -0
  749. package/node_modules/pump/index.js +82 -0
  750. package/node_modules/pump/package.json +28 -0
  751. package/node_modules/pump/test-browser.js +66 -0
  752. package/node_modules/pump/test-node.js +53 -0
  753. package/node_modules/randombytes/.travis.yml +15 -0
  754. package/node_modules/randombytes/.zuul.yml +1 -0
  755. package/node_modules/randombytes/LICENSE +21 -0
  756. package/node_modules/randombytes/README.md +14 -0
  757. package/node_modules/randombytes/browser.js +50 -0
  758. package/node_modules/randombytes/index.js +1 -0
  759. package/node_modules/randombytes/package.json +40 -0
  760. package/node_modules/randombytes/test.js +81 -0
  761. package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
  762. package/node_modules/readable-stream/GOVERNANCE.md +136 -0
  763. package/node_modules/readable-stream/LICENSE +47 -0
  764. package/node_modules/readable-stream/README.md +106 -0
  765. package/node_modules/readable-stream/errors-browser.js +127 -0
  766. package/node_modules/readable-stream/errors.js +116 -0
  767. package/node_modules/readable-stream/experimentalWarning.js +17 -0
  768. package/node_modules/readable-stream/lib/_stream_duplex.js +139 -0
  769. package/node_modules/readable-stream/lib/_stream_passthrough.js +39 -0
  770. package/node_modules/readable-stream/lib/_stream_readable.js +1124 -0
  771. package/node_modules/readable-stream/lib/_stream_transform.js +201 -0
  772. package/node_modules/readable-stream/lib/_stream_writable.js +697 -0
  773. package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +207 -0
  774. package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +210 -0
  775. package/node_modules/readable-stream/lib/internal/streams/destroy.js +105 -0
  776. package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +104 -0
  777. package/node_modules/readable-stream/lib/internal/streams/from-browser.js +3 -0
  778. package/node_modules/readable-stream/lib/internal/streams/from.js +64 -0
  779. package/node_modules/readable-stream/lib/internal/streams/pipeline.js +97 -0
  780. package/node_modules/readable-stream/lib/internal/streams/state.js +27 -0
  781. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
  782. package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
  783. package/node_modules/readable-stream/package.json +72 -0
  784. package/node_modules/readable-stream/readable-browser.js +9 -0
  785. package/node_modules/readable-stream/readable.js +16 -0
  786. package/node_modules/require-directory/.jshintrc +67 -0
  787. package/node_modules/require-directory/.npmignore +1 -0
  788. package/node_modules/require-directory/.travis.yml +3 -0
  789. package/node_modules/require-directory/LICENSE +22 -0
  790. package/node_modules/require-directory/README.markdown +184 -0
  791. package/node_modules/require-directory/index.js +86 -0
  792. package/node_modules/require-directory/package.json +44 -0
  793. package/node_modules/require-main-filename/LICENSE.txt +14 -0
  794. package/node_modules/require-main-filename/README.md +26 -0
  795. package/node_modules/require-main-filename/index.js +18 -0
  796. package/node_modules/require-main-filename/package.json +39 -0
  797. package/node_modules/ripemd160/LICENSE +21 -0
  798. package/node_modules/ripemd160/README.md +27 -0
  799. package/node_modules/ripemd160/index.js +163 -0
  800. package/node_modules/ripemd160/package.json +41 -0
  801. package/node_modules/rlp/LICENSE +373 -0
  802. package/node_modules/rlp/README.md +58 -0
  803. package/node_modules/rlp/bin/rlp +35 -0
  804. package/node_modules/rlp/dist/index.d.ts +25 -0
  805. package/node_modules/rlp/dist/index.js +249 -0
  806. package/node_modules/rlp/dist/index.js.map +1 -0
  807. package/node_modules/rlp/dist/types.d.ts +9 -0
  808. package/node_modules/rlp/dist/types.js +3 -0
  809. package/node_modules/rlp/dist/types.js.map +1 -0
  810. package/node_modules/rlp/package.json +84 -0
  811. package/node_modules/safe-buffer/LICENSE +21 -0
  812. package/node_modules/safe-buffer/README.md +584 -0
  813. package/node_modules/safe-buffer/index.d.ts +187 -0
  814. package/node_modules/safe-buffer/index.js +65 -0
  815. package/node_modules/safe-buffer/package.json +55 -0
  816. package/node_modules/scrypt-js/LICENSE.txt +22 -0
  817. package/node_modules/scrypt-js/README.md +222 -0
  818. package/node_modules/scrypt-js/index.html +291 -0
  819. package/node_modules/scrypt-js/package.json +31 -0
  820. package/node_modules/scrypt-js/scrypt.d.ts +23 -0
  821. package/node_modules/scrypt-js/scrypt.js +488 -0
  822. package/node_modules/scrypt-js/thirdparty/buffer.js +1381 -0
  823. package/node_modules/scrypt-js/thirdparty/setImmediate.js +175 -0
  824. package/node_modules/scrypt-js/thirdparty/unorm.js +442 -0
  825. package/node_modules/secp256k1/API.md +116 -0
  826. package/node_modules/secp256k1/LICENSE +24 -0
  827. package/node_modules/secp256k1/README.md +117 -0
  828. package/node_modules/secp256k1/binding.gyp +100 -0
  829. package/node_modules/secp256k1/bindings.js +2 -0
  830. package/node_modules/secp256k1/elliptic.js +1 -0
  831. package/node_modules/secp256k1/index.js +5 -0
  832. package/node_modules/secp256k1/lib/elliptic.js +402 -0
  833. package/node_modules/secp256k1/lib/index.js +336 -0
  834. package/node_modules/secp256k1/package.json +47 -0
  835. package/node_modules/secp256k1/prebuilds/darwin-x64/node.napi.node +0 -0
  836. package/node_modules/secp256k1/prebuilds/linux-x64/node.napi.glibc.node +0 -0
  837. package/node_modules/secp256k1/prebuilds/linux-x64/node.napi.musl.node +0 -0
  838. package/node_modules/secp256k1/prebuilds/win32-x64/node.napi.node +0 -0
  839. package/node_modules/secp256k1/src/addon.cc +10 -0
  840. package/node_modules/secp256k1/src/secp256k1/.travis.yml +100 -0
  841. package/node_modules/secp256k1/src/secp256k1/COPYING +19 -0
  842. package/node_modules/secp256k1/src/secp256k1/Makefile.am +183 -0
  843. package/node_modules/secp256k1/src/secp256k1/README.md +78 -0
  844. package/node_modules/secp256k1/src/secp256k1/SECURITY.md +15 -0
  845. package/node_modules/secp256k1/src/secp256k1/TODO +3 -0
  846. package/node_modules/secp256k1/src/secp256k1/autogen.sh +3 -0
  847. package/node_modules/secp256k1/src/secp256k1/build-aux/m4/ax_jni_include_dir.m4 +145 -0
  848. package/node_modules/secp256k1/src/secp256k1/build-aux/m4/ax_prog_cc_for_build.m4 +125 -0
  849. package/node_modules/secp256k1/src/secp256k1/build-aux/m4/bitcoin_secp.m4 +68 -0
  850. package/node_modules/secp256k1/src/secp256k1/configure.ac +591 -0
  851. package/node_modules/secp256k1/src/secp256k1/contrib/lax_der_parsing.c +150 -0
  852. package/node_modules/secp256k1/src/secp256k1/contrib/lax_der_parsing.h +91 -0
  853. package/node_modules/secp256k1/src/secp256k1/contrib/lax_der_privatekey_parsing.c +113 -0
  854. package/node_modules/secp256k1/src/secp256k1/contrib/lax_der_privatekey_parsing.h +90 -0
  855. package/node_modules/secp256k1/src/secp256k1/include/secp256k1.h +708 -0
  856. package/node_modules/secp256k1/src/secp256k1/include/secp256k1_ecdh.h +55 -0
  857. package/node_modules/secp256k1/src/secp256k1/include/secp256k1_preallocated.h +128 -0
  858. package/node_modules/secp256k1/src/secp256k1/include/secp256k1_recovery.h +110 -0
  859. package/node_modules/secp256k1/src/secp256k1/libsecp256k1.pc.in +13 -0
  860. package/node_modules/secp256k1/src/secp256k1/sage/group_prover.sage +322 -0
  861. package/node_modules/secp256k1/src/secp256k1/sage/secp256k1.sage +306 -0
  862. package/node_modules/secp256k1/src/secp256k1/sage/weierstrass_prover.sage +264 -0
  863. package/node_modules/secp256k1/src/secp256k1/src/asm/field_10x26_arm.s +913 -0
  864. package/node_modules/secp256k1/src/secp256k1/src/basic-config.h +38 -0
  865. package/node_modules/secp256k1/src/secp256k1/src/bench.h +124 -0
  866. package/node_modules/secp256k1/src/secp256k1/src/bench_ecdh.c +54 -0
  867. package/node_modules/secp256k1/src/secp256k1/src/bench_ecmult.c +207 -0
  868. package/node_modules/secp256k1/src/secp256k1/src/bench_internal.c +379 -0
  869. package/node_modules/secp256k1/src/secp256k1/src/bench_recover.c +60 -0
  870. package/node_modules/secp256k1/src/secp256k1/src/bench_sign.c +56 -0
  871. package/node_modules/secp256k1/src/secp256k1/src/bench_verify.c +112 -0
  872. package/node_modules/secp256k1/src/secp256k1/src/ecdsa.h +21 -0
  873. package/node_modules/secp256k1/src/secp256k1/src/ecdsa_impl.h +319 -0
  874. package/node_modules/secp256k1/src/secp256k1/src/eckey.h +25 -0
  875. package/node_modules/secp256k1/src/secp256k1/src/eckey_impl.h +100 -0
  876. package/node_modules/secp256k1/src/secp256k1/src/ecmult.h +48 -0
  877. package/node_modules/secp256k1/src/secp256k1/src/ecmult_const.h +20 -0
  878. package/node_modules/secp256k1/src/secp256k1/src/ecmult_const_impl.h +261 -0
  879. package/node_modules/secp256k1/src/secp256k1/src/ecmult_gen.h +50 -0
  880. package/node_modules/secp256k1/src/secp256k1/src/ecmult_gen_impl.h +211 -0
  881. package/node_modules/secp256k1/src/secp256k1/src/ecmult_impl.h +1216 -0
  882. package/node_modules/secp256k1/src/secp256k1/src/field.h +132 -0
  883. package/node_modules/secp256k1/src/secp256k1/src/field_10x26.h +50 -0
  884. package/node_modules/secp256k1/src/secp256k1/src/field_10x26_impl.h +1162 -0
  885. package/node_modules/secp256k1/src/secp256k1/src/field_5x52.h +49 -0
  886. package/node_modules/secp256k1/src/secp256k1/src/field_5x52_asm_impl.h +502 -0
  887. package/node_modules/secp256k1/src/secp256k1/src/field_5x52_impl.h +496 -0
  888. package/node_modules/secp256k1/src/secp256k1/src/field_5x52_int128_impl.h +279 -0
  889. package/node_modules/secp256k1/src/secp256k1/src/field_impl.h +318 -0
  890. package/node_modules/secp256k1/src/secp256k1/src/gen_context.c +87 -0
  891. package/node_modules/secp256k1/src/secp256k1/src/group.h +142 -0
  892. package/node_modules/secp256k1/src/secp256k1/src/group_impl.h +705 -0
  893. package/node_modules/secp256k1/src/secp256k1/src/hash.h +41 -0
  894. package/node_modules/secp256k1/src/secp256k1/src/hash_impl.h +283 -0
  895. package/node_modules/secp256k1/src/secp256k1/src/java/org/bitcoin/NativeSecp256k1.java +446 -0
  896. package/node_modules/secp256k1/src/secp256k1/src/java/org/bitcoin/NativeSecp256k1Test.java +225 -0
  897. package/node_modules/secp256k1/src/secp256k1/src/java/org/bitcoin/NativeSecp256k1Util.java +45 -0
  898. package/node_modules/secp256k1/src/secp256k1/src/java/org/bitcoin/Secp256k1Context.java +51 -0
  899. package/node_modules/secp256k1/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.c +379 -0
  900. package/node_modules/secp256k1/src/secp256k1/src/java/org_bitcoin_NativeSecp256k1.h +119 -0
  901. package/node_modules/secp256k1/src/secp256k1/src/java/org_bitcoin_Secp256k1Context.c +15 -0
  902. package/node_modules/secp256k1/src/secp256k1/src/java/org_bitcoin_Secp256k1Context.h +22 -0
  903. package/node_modules/secp256k1/src/secp256k1/src/modules/ecdh/Makefile.am.include +8 -0
  904. package/node_modules/secp256k1/src/secp256k1/src/modules/ecdh/main_impl.h +67 -0
  905. package/node_modules/secp256k1/src/secp256k1/src/modules/ecdh/tests_impl.h +132 -0
  906. package/node_modules/secp256k1/src/secp256k1/src/modules/recovery/Makefile.am.include +8 -0
  907. package/node_modules/secp256k1/src/secp256k1/src/modules/recovery/main_impl.h +193 -0
  908. package/node_modules/secp256k1/src/secp256k1/src/modules/recovery/tests_impl.h +393 -0
  909. package/node_modules/secp256k1/src/secp256k1/src/num.h +74 -0
  910. package/node_modules/secp256k1/src/secp256k1/src/num_gmp.h +20 -0
  911. package/node_modules/secp256k1/src/secp256k1/src/num_gmp_impl.h +288 -0
  912. package/node_modules/secp256k1/src/secp256k1/src/num_impl.h +24 -0
  913. package/node_modules/secp256k1/src/secp256k1/src/scalar.h +106 -0
  914. package/node_modules/secp256k1/src/secp256k1/src/scalar_4x64.h +19 -0
  915. package/node_modules/secp256k1/src/secp256k1/src/scalar_4x64_impl.h +949 -0
  916. package/node_modules/secp256k1/src/secp256k1/src/scalar_8x32.h +19 -0
  917. package/node_modules/secp256k1/src/secp256k1/src/scalar_8x32_impl.h +721 -0
  918. package/node_modules/secp256k1/src/secp256k1/src/scalar_impl.h +333 -0
  919. package/node_modules/secp256k1/src/secp256k1/src/scalar_low.h +15 -0
  920. package/node_modules/secp256k1/src/secp256k1/src/scalar_low_impl.h +117 -0
  921. package/node_modules/secp256k1/src/secp256k1/src/scratch.h +42 -0
  922. package/node_modules/secp256k1/src/secp256k1/src/scratch_impl.h +88 -0
  923. package/node_modules/secp256k1/src/secp256k1/src/secp256k1.c +690 -0
  924. package/node_modules/secp256k1/src/secp256k1/src/testrand.h +38 -0
  925. package/node_modules/secp256k1/src/secp256k1/src/testrand_impl.h +110 -0
  926. package/node_modules/secp256k1/src/secp256k1/src/tests.c +5310 -0
  927. package/node_modules/secp256k1/src/secp256k1/src/tests_exhaustive.c +511 -0
  928. package/node_modules/secp256k1/src/secp256k1/src/util.h +162 -0
  929. package/node_modules/secp256k1/src/secp256k1.cc +415 -0
  930. package/node_modules/secp256k1/src/secp256k1.h +63 -0
  931. package/node_modules/semver/LICENSE +15 -0
  932. package/node_modules/semver/README.md +412 -0
  933. package/node_modules/semver/bin/semver +160 -0
  934. package/node_modules/semver/package.json +32 -0
  935. package/node_modules/semver/range.bnf +16 -0
  936. package/node_modules/semver/semver.js +1483 -0
  937. package/node_modules/set-blocking/LICENSE.txt +14 -0
  938. package/node_modules/set-blocking/README.md +31 -0
  939. package/node_modules/set-blocking/index.js +7 -0
  940. package/node_modules/set-blocking/package.json +46 -0
  941. package/node_modules/setimmediate/LICENSE.txt +20 -0
  942. package/node_modules/setimmediate/package.json +34 -0
  943. package/node_modules/setimmediate/setImmediate.js +186 -0
  944. package/node_modules/sha.js/.travis.yml +17 -0
  945. package/node_modules/sha.js/LICENSE +49 -0
  946. package/node_modules/sha.js/README.md +44 -0
  947. package/node_modules/sha.js/bin.js +41 -0
  948. package/node_modules/sha.js/hash.js +81 -0
  949. package/node_modules/sha.js/index.js +15 -0
  950. package/node_modules/sha.js/package.json +34 -0
  951. package/node_modules/sha.js/sha.js +94 -0
  952. package/node_modules/sha.js/sha1.js +99 -0
  953. package/node_modules/sha.js/sha224.js +53 -0
  954. package/node_modules/sha.js/sha256.js +135 -0
  955. package/node_modules/sha.js/sha384.js +57 -0
  956. package/node_modules/sha.js/sha512.js +260 -0
  957. package/node_modules/sha.js/test/hash.js +75 -0
  958. package/node_modules/sha.js/test/test.js +100 -0
  959. package/node_modules/sha.js/test/vectors.js +72 -0
  960. package/node_modules/shebang-command/index.js +19 -0
  961. package/node_modules/shebang-command/license +21 -0
  962. package/node_modules/shebang-command/package.json +43 -0
  963. package/node_modules/shebang-command/readme.md +39 -0
  964. package/node_modules/shebang-regex/index.js +2 -0
  965. package/node_modules/shebang-regex/license +21 -0
  966. package/node_modules/shebang-regex/package.json +36 -0
  967. package/node_modules/shebang-regex/readme.md +29 -0
  968. package/node_modules/signal-exit/LICENSE.txt +16 -0
  969. package/node_modules/signal-exit/README.md +39 -0
  970. package/node_modules/signal-exit/index.js +163 -0
  971. package/node_modules/signal-exit/package.json +42 -0
  972. package/node_modules/signal-exit/signals.js +53 -0
  973. package/node_modules/source-map/LICENSE +28 -0
  974. package/node_modules/source-map/README.md +742 -0
  975. package/node_modules/source-map/dist/source-map.debug.js +3234 -0
  976. package/node_modules/source-map/dist/source-map.js +3233 -0
  977. package/node_modules/source-map/dist/source-map.min.js +2 -0
  978. package/node_modules/source-map/dist/source-map.min.js.map +1 -0
  979. package/node_modules/source-map/lib/array-set.js +121 -0
  980. package/node_modules/source-map/lib/base64-vlq.js +140 -0
  981. package/node_modules/source-map/lib/base64.js +67 -0
  982. package/node_modules/source-map/lib/binary-search.js +111 -0
  983. package/node_modules/source-map/lib/mapping-list.js +79 -0
  984. package/node_modules/source-map/lib/quick-sort.js +114 -0
  985. package/node_modules/source-map/lib/source-map-consumer.js +1145 -0
  986. package/node_modules/source-map/lib/source-map-generator.js +425 -0
  987. package/node_modules/source-map/lib/source-node.js +413 -0
  988. package/node_modules/source-map/lib/util.js +488 -0
  989. package/node_modules/source-map/package.json +77 -0
  990. package/node_modules/source-map/source-map.d.ts +98 -0
  991. package/node_modules/source-map/source-map.js +8 -0
  992. package/node_modules/source-map-support/LICENSE.md +21 -0
  993. package/node_modules/source-map-support/README.md +284 -0
  994. package/node_modules/source-map-support/browser-source-map-support.js +113 -0
  995. package/node_modules/source-map-support/package.json +35 -0
  996. package/node_modules/source-map-support/register.js +1 -0
  997. package/node_modules/source-map-support/source-map-support.js +567 -0
  998. package/node_modules/string-width/index.js +39 -0
  999. package/node_modules/string-width/license +9 -0
  1000. package/node_modules/string-width/package.json +60 -0
  1001. package/node_modules/string-width/readme.md +45 -0
  1002. package/node_modules/string_decoder/LICENSE +48 -0
  1003. package/node_modules/string_decoder/README.md +47 -0
  1004. package/node_modules/string_decoder/lib/string_decoder.js +296 -0
  1005. package/node_modules/string_decoder/package.json +38 -0
  1006. package/node_modules/strip-ansi/index.d.ts +15 -0
  1007. package/node_modules/strip-ansi/index.js +7 -0
  1008. package/node_modules/strip-ansi/license +9 -0
  1009. package/node_modules/strip-ansi/package.json +58 -0
  1010. package/node_modules/strip-ansi/readme.md +61 -0
  1011. package/node_modules/strip-eof/index.js +15 -0
  1012. package/node_modules/strip-eof/license +21 -0
  1013. package/node_modules/strip-eof/package.json +43 -0
  1014. package/node_modules/strip-eof/readme.md +28 -0
  1015. package/node_modules/strip-hex-prefix/.editorconfig +7 -0
  1016. package/node_modules/strip-hex-prefix/.gitattributes +106 -0
  1017. package/node_modules/strip-hex-prefix/.npmignore +8 -0
  1018. package/node_modules/strip-hex-prefix/.travis.yml +5 -0
  1019. package/node_modules/strip-hex-prefix/CHANGELOG.md +7 -0
  1020. package/node_modules/strip-hex-prefix/LICENSE +21 -0
  1021. package/node_modules/strip-hex-prefix/README.md +106 -0
  1022. package/node_modules/strip-hex-prefix/package.json +46 -0
  1023. package/node_modules/strip-hex-prefix/src/index.js +14 -0
  1024. package/node_modules/strip-hex-prefix/src/tests/test.index.js +47 -0
  1025. package/node_modules/util-deprecate/History.md +16 -0
  1026. package/node_modules/util-deprecate/LICENSE +24 -0
  1027. package/node_modules/util-deprecate/README.md +53 -0
  1028. package/node_modules/util-deprecate/browser.js +67 -0
  1029. package/node_modules/util-deprecate/node.js +6 -0
  1030. package/node_modules/util-deprecate/package.json +31 -0
  1031. package/node_modules/which/LICENSE +15 -0
  1032. package/node_modules/which/README.md +51 -0
  1033. package/node_modules/which/bin/which +52 -0
  1034. package/node_modules/which/package.json +34 -0
  1035. package/node_modules/which/which.js +135 -0
  1036. package/node_modules/which-module/LICENSE +13 -0
  1037. package/node_modules/which-module/README.md +55 -0
  1038. package/node_modules/which-module/index.js +9 -0
  1039. package/node_modules/which-module/package.json +45 -0
  1040. package/node_modules/wrap-ansi/index.js +188 -0
  1041. package/node_modules/wrap-ansi/license +9 -0
  1042. package/node_modules/wrap-ansi/package.json +65 -0
  1043. package/node_modules/wrap-ansi/readme.md +108 -0
  1044. package/node_modules/wrappy/LICENSE +15 -0
  1045. package/node_modules/wrappy/README.md +36 -0
  1046. package/node_modules/wrappy/package.json +33 -0
  1047. package/node_modules/wrappy/wrappy.js +33 -0
  1048. package/node_modules/y18n/LICENSE +13 -0
  1049. package/node_modules/y18n/README.md +109 -0
  1050. package/node_modules/y18n/index.js +188 -0
  1051. package/node_modules/y18n/package.json +43 -0
  1052. package/node_modules/yargs/LICENSE +22 -0
  1053. package/node_modules/yargs/README.md +122 -0
  1054. package/node_modules/yargs/index.js +32 -0
  1055. package/node_modules/yargs/lib/apply-extends.js +53 -0
  1056. package/node_modules/yargs/lib/argsert.js +68 -0
  1057. package/node_modules/yargs/lib/command.js +437 -0
  1058. package/node_modules/yargs/lib/completion-templates.js +49 -0
  1059. package/node_modules/yargs/lib/completion.js +115 -0
  1060. package/node_modules/yargs/lib/decamelize.js +32 -0
  1061. package/node_modules/yargs/lib/is-promise.js +3 -0
  1062. package/node_modules/yargs/lib/levenshtein.js +58 -0
  1063. package/node_modules/yargs/lib/middleware.js +65 -0
  1064. package/node_modules/yargs/lib/obj-filter.js +11 -0
  1065. package/node_modules/yargs/lib/usage.js +540 -0
  1066. package/node_modules/yargs/lib/validation.js +341 -0
  1067. package/node_modules/yargs/lib/yerror.js +11 -0
  1068. package/node_modules/yargs/locales/be.json +39 -0
  1069. package/node_modules/yargs/locales/de.json +39 -0
  1070. package/node_modules/yargs/locales/en.json +42 -0
  1071. package/node_modules/yargs/locales/es.json +39 -0
  1072. package/node_modules/yargs/locales/fr.json +37 -0
  1073. package/node_modules/yargs/locales/hi.json +42 -0
  1074. package/node_modules/yargs/locales/hu.json +39 -0
  1075. package/node_modules/yargs/locales/id.json +43 -0
  1076. package/node_modules/yargs/locales/it.json +39 -0
  1077. package/node_modules/yargs/locales/ja.json +42 -0
  1078. package/node_modules/yargs/locales/ko.json +42 -0
  1079. package/node_modules/yargs/locales/nb.json +37 -0
  1080. package/node_modules/yargs/locales/nl.json +42 -0
  1081. package/node_modules/yargs/locales/nn.json +39 -0
  1082. package/node_modules/yargs/locales/pirate.json +13 -0
  1083. package/node_modules/yargs/locales/pl.json +42 -0
  1084. package/node_modules/yargs/locales/pt.json +38 -0
  1085. package/node_modules/yargs/locales/pt_BR.json +42 -0
  1086. package/node_modules/yargs/locales/ru.json +39 -0
  1087. package/node_modules/yargs/locales/th.json +39 -0
  1088. package/node_modules/yargs/locales/tr.json +41 -0
  1089. package/node_modules/yargs/locales/zh_CN.json +41 -0
  1090. package/node_modules/yargs/locales/zh_TW.json +40 -0
  1091. package/node_modules/yargs/package.json +83 -0
  1092. package/node_modules/yargs/yargs.js +1205 -0
  1093. package/node_modules/yargs-parser/LICENSE.txt +14 -0
  1094. package/node_modules/yargs-parser/README.md +396 -0
  1095. package/node_modules/yargs-parser/index.js +916 -0
  1096. package/node_modules/yargs-parser/lib/tokenize-arg-string.js +40 -0
  1097. package/node_modules/yargs-parser/package.json +51 -0
  1098. package/package.json +73 -4
@@ -0,0 +1,3041 @@
1
+ // tslint:disable-next-line:dt-header
2
+ // Type definitions for inspector
3
+
4
+ // These definitions are auto-generated.
5
+ // Please see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19330
6
+ // for more information.
7
+
8
+ // tslint:disable:max-line-length
9
+
10
+ /**
11
+ * The inspector module provides an API for interacting with the V8 inspector.
12
+ */
13
+ declare module "inspector" {
14
+ import { EventEmitter } from 'events';
15
+
16
+ interface InspectorNotification<T> {
17
+ method: string;
18
+ params: T;
19
+ }
20
+
21
+ namespace Schema {
22
+ /**
23
+ * Description of the protocol domain.
24
+ */
25
+ interface Domain {
26
+ /**
27
+ * Domain name.
28
+ */
29
+ name: string;
30
+ /**
31
+ * Domain version.
32
+ */
33
+ version: string;
34
+ }
35
+
36
+ interface GetDomainsReturnType {
37
+ /**
38
+ * List of supported domains.
39
+ */
40
+ domains: Domain[];
41
+ }
42
+ }
43
+
44
+ namespace Runtime {
45
+ /**
46
+ * Unique script identifier.
47
+ */
48
+ type ScriptId = string;
49
+
50
+ /**
51
+ * Unique object identifier.
52
+ */
53
+ type RemoteObjectId = string;
54
+
55
+ /**
56
+ * Primitive value which cannot be JSON-stringified.
57
+ */
58
+ type UnserializableValue = string;
59
+
60
+ /**
61
+ * Mirror object referencing original JavaScript object.
62
+ */
63
+ interface RemoteObject {
64
+ /**
65
+ * Object type.
66
+ */
67
+ type: string;
68
+ /**
69
+ * Object subtype hint. Specified for <code>object</code> type values only.
70
+ */
71
+ subtype?: string;
72
+ /**
73
+ * Object class (constructor) name. Specified for <code>object</code> type values only.
74
+ */
75
+ className?: string;
76
+ /**
77
+ * Remote object value in case of primitive values or JSON values (if it was requested).
78
+ */
79
+ value?: any;
80
+ /**
81
+ * Primitive value which can not be JSON-stringified does not have <code>value</code>, but gets this property.
82
+ */
83
+ unserializableValue?: UnserializableValue;
84
+ /**
85
+ * String representation of the object.
86
+ */
87
+ description?: string;
88
+ /**
89
+ * Unique object identifier (for non-primitive values).
90
+ */
91
+ objectId?: RemoteObjectId;
92
+ /**
93
+ * Preview containing abbreviated property values. Specified for <code>object</code> type values only.
94
+ * @experimental
95
+ */
96
+ preview?: ObjectPreview;
97
+ /**
98
+ * @experimental
99
+ */
100
+ customPreview?: CustomPreview;
101
+ }
102
+
103
+ /**
104
+ * @experimental
105
+ */
106
+ interface CustomPreview {
107
+ header: string;
108
+ hasBody: boolean;
109
+ formatterObjectId: RemoteObjectId;
110
+ bindRemoteObjectFunctionId: RemoteObjectId;
111
+ configObjectId?: RemoteObjectId;
112
+ }
113
+
114
+ /**
115
+ * Object containing abbreviated remote object value.
116
+ * @experimental
117
+ */
118
+ interface ObjectPreview {
119
+ /**
120
+ * Object type.
121
+ */
122
+ type: string;
123
+ /**
124
+ * Object subtype hint. Specified for <code>object</code> type values only.
125
+ */
126
+ subtype?: string;
127
+ /**
128
+ * String representation of the object.
129
+ */
130
+ description?: string;
131
+ /**
132
+ * True iff some of the properties or entries of the original object did not fit.
133
+ */
134
+ overflow: boolean;
135
+ /**
136
+ * List of the properties.
137
+ */
138
+ properties: PropertyPreview[];
139
+ /**
140
+ * List of the entries. Specified for <code>map</code> and <code>set</code> subtype values only.
141
+ */
142
+ entries?: EntryPreview[];
143
+ }
144
+
145
+ /**
146
+ * @experimental
147
+ */
148
+ interface PropertyPreview {
149
+ /**
150
+ * Property name.
151
+ */
152
+ name: string;
153
+ /**
154
+ * Object type. Accessor means that the property itself is an accessor property.
155
+ */
156
+ type: string;
157
+ /**
158
+ * User-friendly property value string.
159
+ */
160
+ value?: string;
161
+ /**
162
+ * Nested value preview.
163
+ */
164
+ valuePreview?: ObjectPreview;
165
+ /**
166
+ * Object subtype hint. Specified for <code>object</code> type values only.
167
+ */
168
+ subtype?: string;
169
+ }
170
+
171
+ /**
172
+ * @experimental
173
+ */
174
+ interface EntryPreview {
175
+ /**
176
+ * Preview of the key. Specified for map-like collection entries.
177
+ */
178
+ key?: ObjectPreview;
179
+ /**
180
+ * Preview of the value.
181
+ */
182
+ value: ObjectPreview;
183
+ }
184
+
185
+ /**
186
+ * Object property descriptor.
187
+ */
188
+ interface PropertyDescriptor {
189
+ /**
190
+ * Property name or symbol description.
191
+ */
192
+ name: string;
193
+ /**
194
+ * The value associated with the property.
195
+ */
196
+ value?: RemoteObject;
197
+ /**
198
+ * True if the value associated with the property may be changed (data descriptors only).
199
+ */
200
+ writable?: boolean;
201
+ /**
202
+ * A function which serves as a getter for the property, or <code>undefined</code> if there is no getter (accessor descriptors only).
203
+ */
204
+ get?: RemoteObject;
205
+ /**
206
+ * A function which serves as a setter for the property, or <code>undefined</code> if there is no setter (accessor descriptors only).
207
+ */
208
+ set?: RemoteObject;
209
+ /**
210
+ * True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
211
+ */
212
+ configurable: boolean;
213
+ /**
214
+ * True if this property shows up during enumeration of the properties on the corresponding object.
215
+ */
216
+ enumerable: boolean;
217
+ /**
218
+ * True if the result was thrown during the evaluation.
219
+ */
220
+ wasThrown?: boolean;
221
+ /**
222
+ * True if the property is owned for the object.
223
+ */
224
+ isOwn?: boolean;
225
+ /**
226
+ * Property symbol object, if the property is of the <code>symbol</code> type.
227
+ */
228
+ symbol?: RemoteObject;
229
+ }
230
+
231
+ /**
232
+ * Object internal property descriptor. This property isn't normally visible in JavaScript code.
233
+ */
234
+ interface InternalPropertyDescriptor {
235
+ /**
236
+ * Conventional property name.
237
+ */
238
+ name: string;
239
+ /**
240
+ * The value associated with the property.
241
+ */
242
+ value?: RemoteObject;
243
+ }
244
+
245
+ /**
246
+ * 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
+ */
248
+ interface CallArgument {
249
+ /**
250
+ * Primitive value or serializable javascript object.
251
+ */
252
+ value?: any;
253
+ /**
254
+ * Primitive value which can not be JSON-stringified.
255
+ */
256
+ unserializableValue?: UnserializableValue;
257
+ /**
258
+ * Remote object handle.
259
+ */
260
+ objectId?: RemoteObjectId;
261
+ }
262
+
263
+ /**
264
+ * Id of an execution context.
265
+ */
266
+ type ExecutionContextId = number;
267
+
268
+ /**
269
+ * Description of an isolated world.
270
+ */
271
+ interface ExecutionContextDescription {
272
+ /**
273
+ * Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.
274
+ */
275
+ id: ExecutionContextId;
276
+ /**
277
+ * Execution context origin.
278
+ */
279
+ origin: string;
280
+ /**
281
+ * Human readable name describing given context.
282
+ */
283
+ name: string;
284
+ /**
285
+ * Embedder-specific auxiliary data.
286
+ */
287
+ auxData?: {};
288
+ }
289
+
290
+ /**
291
+ * Detailed information about exception (or error) that was thrown during script compilation or execution.
292
+ */
293
+ interface ExceptionDetails {
294
+ /**
295
+ * Exception id.
296
+ */
297
+ exceptionId: number;
298
+ /**
299
+ * Exception text, which should be used together with exception object when available.
300
+ */
301
+ text: string;
302
+ /**
303
+ * Line number of the exception location (0-based).
304
+ */
305
+ lineNumber: number;
306
+ /**
307
+ * Column number of the exception location (0-based).
308
+ */
309
+ columnNumber: number;
310
+ /**
311
+ * Script ID of the exception location.
312
+ */
313
+ scriptId?: ScriptId;
314
+ /**
315
+ * URL of the exception location, to be used when the script was not reported.
316
+ */
317
+ url?: string;
318
+ /**
319
+ * JavaScript stack trace if available.
320
+ */
321
+ stackTrace?: StackTrace;
322
+ /**
323
+ * Exception object if available.
324
+ */
325
+ exception?: RemoteObject;
326
+ /**
327
+ * Identifier of the context where exception happened.
328
+ */
329
+ executionContextId?: ExecutionContextId;
330
+ }
331
+
332
+ /**
333
+ * Number of milliseconds since epoch.
334
+ */
335
+ type Timestamp = number;
336
+
337
+ /**
338
+ * Stack entry for runtime errors and assertions.
339
+ */
340
+ interface CallFrame {
341
+ /**
342
+ * JavaScript function name.
343
+ */
344
+ functionName: string;
345
+ /**
346
+ * JavaScript script id.
347
+ */
348
+ scriptId: ScriptId;
349
+ /**
350
+ * JavaScript script name or url.
351
+ */
352
+ url: string;
353
+ /**
354
+ * JavaScript script line number (0-based).
355
+ */
356
+ lineNumber: number;
357
+ /**
358
+ * JavaScript script column number (0-based).
359
+ */
360
+ columnNumber: number;
361
+ }
362
+
363
+ /**
364
+ * Call frames for assertions or error messages.
365
+ */
366
+ interface StackTrace {
367
+ /**
368
+ * String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
369
+ */
370
+ description?: string;
371
+ /**
372
+ * JavaScript function name.
373
+ */
374
+ callFrames: CallFrame[];
375
+ /**
376
+ * Asynchronous JavaScript stack trace that preceded this stack, if available.
377
+ */
378
+ parent?: StackTrace;
379
+ /**
380
+ * Asynchronous JavaScript stack trace that preceded this stack, if available.
381
+ * @experimental
382
+ */
383
+ parentId?: StackTraceId;
384
+ }
385
+
386
+ /**
387
+ * Unique identifier of current debugger.
388
+ * @experimental
389
+ */
390
+ type UniqueDebuggerId = string;
391
+
392
+ /**
393
+ * 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
+ * @experimental
395
+ */
396
+ interface StackTraceId {
397
+ id: string;
398
+ debuggerId?: UniqueDebuggerId;
399
+ }
400
+
401
+ interface EvaluateParameterType {
402
+ /**
403
+ * Expression to evaluate.
404
+ */
405
+ expression: string;
406
+ /**
407
+ * Symbolic group name that can be used to release multiple objects.
408
+ */
409
+ objectGroup?: string;
410
+ /**
411
+ * Determines whether Command Line API should be available during the evaluation.
412
+ */
413
+ includeCommandLineAPI?: boolean;
414
+ /**
415
+ * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.
416
+ */
417
+ silent?: boolean;
418
+ /**
419
+ * Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
420
+ */
421
+ contextId?: ExecutionContextId;
422
+ /**
423
+ * Whether the result is expected to be a JSON object that should be sent by value.
424
+ */
425
+ returnByValue?: boolean;
426
+ /**
427
+ * Whether preview should be generated for the result.
428
+ * @experimental
429
+ */
430
+ generatePreview?: boolean;
431
+ /**
432
+ * Whether execution should be treated as initiated by user in the UI.
433
+ */
434
+ userGesture?: boolean;
435
+ /**
436
+ * Whether execution should <code>await</code> for resulting value and return once awaited promise is resolved.
437
+ */
438
+ awaitPromise?: boolean;
439
+ }
440
+
441
+ interface AwaitPromiseParameterType {
442
+ /**
443
+ * Identifier of the promise.
444
+ */
445
+ promiseObjectId: RemoteObjectId;
446
+ /**
447
+ * Whether the result is expected to be a JSON object that should be sent by value.
448
+ */
449
+ returnByValue?: boolean;
450
+ /**
451
+ * Whether preview should be generated for the result.
452
+ */
453
+ generatePreview?: boolean;
454
+ }
455
+
456
+ interface CallFunctionOnParameterType {
457
+ /**
458
+ * Declaration of the function to call.
459
+ */
460
+ functionDeclaration: string;
461
+ /**
462
+ * Identifier of the object to call function on. Either objectId or executionContextId should be specified.
463
+ */
464
+ objectId?: RemoteObjectId;
465
+ /**
466
+ * Call arguments. All call arguments must belong to the same JavaScript world as the target object.
467
+ */
468
+ arguments?: CallArgument[];
469
+ /**
470
+ * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.
471
+ */
472
+ silent?: boolean;
473
+ /**
474
+ * Whether the result is expected to be a JSON object which should be sent by value.
475
+ */
476
+ returnByValue?: boolean;
477
+ /**
478
+ * Whether preview should be generated for the result.
479
+ * @experimental
480
+ */
481
+ generatePreview?: boolean;
482
+ /**
483
+ * Whether execution should be treated as initiated by user in the UI.
484
+ */
485
+ userGesture?: boolean;
486
+ /**
487
+ * Whether execution should <code>await</code> for resulting value and return once awaited promise is resolved.
488
+ */
489
+ awaitPromise?: boolean;
490
+ /**
491
+ * Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified.
492
+ */
493
+ executionContextId?: ExecutionContextId;
494
+ /**
495
+ * Symbolic group name that can be used to release multiple objects. If objectGroup is not specified and objectId is, objectGroup will be inherited from object.
496
+ */
497
+ objectGroup?: string;
498
+ }
499
+
500
+ interface GetPropertiesParameterType {
501
+ /**
502
+ * Identifier of the object to return properties for.
503
+ */
504
+ objectId: RemoteObjectId;
505
+ /**
506
+ * If true, returns properties belonging only to the element itself, not to its prototype chain.
507
+ */
508
+ ownProperties?: boolean;
509
+ /**
510
+ * If true, returns accessor properties (with getter/setter) only; internal properties are not returned either.
511
+ * @experimental
512
+ */
513
+ accessorPropertiesOnly?: boolean;
514
+ /**
515
+ * Whether preview should be generated for the results.
516
+ * @experimental
517
+ */
518
+ generatePreview?: boolean;
519
+ }
520
+
521
+ interface ReleaseObjectParameterType {
522
+ /**
523
+ * Identifier of the object to release.
524
+ */
525
+ objectId: RemoteObjectId;
526
+ }
527
+
528
+ interface ReleaseObjectGroupParameterType {
529
+ /**
530
+ * Symbolic object group name.
531
+ */
532
+ objectGroup: string;
533
+ }
534
+
535
+ interface SetCustomObjectFormatterEnabledParameterType {
536
+ enabled: boolean;
537
+ }
538
+
539
+ interface CompileScriptParameterType {
540
+ /**
541
+ * Expression to compile.
542
+ */
543
+ expression: string;
544
+ /**
545
+ * Source url to be set for the script.
546
+ */
547
+ sourceURL: string;
548
+ /**
549
+ * Specifies whether the compiled script should be persisted.
550
+ */
551
+ persistScript: boolean;
552
+ /**
553
+ * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
554
+ */
555
+ executionContextId?: ExecutionContextId;
556
+ }
557
+
558
+ interface RunScriptParameterType {
559
+ /**
560
+ * Id of the script to run.
561
+ */
562
+ scriptId: ScriptId;
563
+ /**
564
+ * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
565
+ */
566
+ executionContextId?: ExecutionContextId;
567
+ /**
568
+ * Symbolic group name that can be used to release multiple objects.
569
+ */
570
+ objectGroup?: string;
571
+ /**
572
+ * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.
573
+ */
574
+ silent?: boolean;
575
+ /**
576
+ * Determines whether Command Line API should be available during the evaluation.
577
+ */
578
+ includeCommandLineAPI?: boolean;
579
+ /**
580
+ * Whether the result is expected to be a JSON object which should be sent by value.
581
+ */
582
+ returnByValue?: boolean;
583
+ /**
584
+ * Whether preview should be generated for the result.
585
+ */
586
+ generatePreview?: boolean;
587
+ /**
588
+ * Whether execution should <code>await</code> for resulting value and return once awaited promise is resolved.
589
+ */
590
+ awaitPromise?: boolean;
591
+ }
592
+
593
+ interface QueryObjectsParameterType {
594
+ /**
595
+ * Identifier of the prototype to return objects for.
596
+ */
597
+ prototypeObjectId: RemoteObjectId;
598
+ }
599
+
600
+ interface GlobalLexicalScopeNamesParameterType {
601
+ /**
602
+ * Specifies in which execution context to lookup global scope variables.
603
+ */
604
+ executionContextId?: ExecutionContextId;
605
+ }
606
+
607
+ interface EvaluateReturnType {
608
+ /**
609
+ * Evaluation result.
610
+ */
611
+ result: RemoteObject;
612
+ /**
613
+ * Exception details.
614
+ */
615
+ exceptionDetails?: ExceptionDetails;
616
+ }
617
+
618
+ interface AwaitPromiseReturnType {
619
+ /**
620
+ * Promise result. Will contain rejected value if promise was rejected.
621
+ */
622
+ result: RemoteObject;
623
+ /**
624
+ * Exception details if stack strace is available.
625
+ */
626
+ exceptionDetails?: ExceptionDetails;
627
+ }
628
+
629
+ interface CallFunctionOnReturnType {
630
+ /**
631
+ * Call result.
632
+ */
633
+ result: RemoteObject;
634
+ /**
635
+ * Exception details.
636
+ */
637
+ exceptionDetails?: ExceptionDetails;
638
+ }
639
+
640
+ interface GetPropertiesReturnType {
641
+ /**
642
+ * Object properties.
643
+ */
644
+ result: PropertyDescriptor[];
645
+ /**
646
+ * Internal object properties (only of the element itself).
647
+ */
648
+ internalProperties?: InternalPropertyDescriptor[];
649
+ /**
650
+ * Exception details.
651
+ */
652
+ exceptionDetails?: ExceptionDetails;
653
+ }
654
+
655
+ interface CompileScriptReturnType {
656
+ /**
657
+ * Id of the script.
658
+ */
659
+ scriptId?: ScriptId;
660
+ /**
661
+ * Exception details.
662
+ */
663
+ exceptionDetails?: ExceptionDetails;
664
+ }
665
+
666
+ interface RunScriptReturnType {
667
+ /**
668
+ * Run result.
669
+ */
670
+ result: RemoteObject;
671
+ /**
672
+ * Exception details.
673
+ */
674
+ exceptionDetails?: ExceptionDetails;
675
+ }
676
+
677
+ interface QueryObjectsReturnType {
678
+ /**
679
+ * Array with objects.
680
+ */
681
+ objects: RemoteObject;
682
+ }
683
+
684
+ interface GlobalLexicalScopeNamesReturnType {
685
+ names: string[];
686
+ }
687
+
688
+ interface ExecutionContextCreatedEventDataType {
689
+ /**
690
+ * A newly created execution context.
691
+ */
692
+ context: ExecutionContextDescription;
693
+ }
694
+
695
+ interface ExecutionContextDestroyedEventDataType {
696
+ /**
697
+ * Id of the destroyed context
698
+ */
699
+ executionContextId: ExecutionContextId;
700
+ }
701
+
702
+ interface ExceptionThrownEventDataType {
703
+ /**
704
+ * Timestamp of the exception.
705
+ */
706
+ timestamp: Timestamp;
707
+ exceptionDetails: ExceptionDetails;
708
+ }
709
+
710
+ interface ExceptionRevokedEventDataType {
711
+ /**
712
+ * Reason describing why exception was revoked.
713
+ */
714
+ reason: string;
715
+ /**
716
+ * The id of revoked exception, as reported in <code>exceptionThrown</code>.
717
+ */
718
+ exceptionId: number;
719
+ }
720
+
721
+ interface ConsoleAPICalledEventDataType {
722
+ /**
723
+ * Type of the call.
724
+ */
725
+ type: string;
726
+ /**
727
+ * Call arguments.
728
+ */
729
+ args: RemoteObject[];
730
+ /**
731
+ * Identifier of the context where the call was made.
732
+ */
733
+ executionContextId: ExecutionContextId;
734
+ /**
735
+ * Call timestamp.
736
+ */
737
+ timestamp: Timestamp;
738
+ /**
739
+ * Stack trace captured when the call was made.
740
+ */
741
+ stackTrace?: StackTrace;
742
+ /**
743
+ * Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context.
744
+ * @experimental
745
+ */
746
+ context?: string;
747
+ }
748
+
749
+ interface InspectRequestedEventDataType {
750
+ object: RemoteObject;
751
+ hints: {};
752
+ }
753
+ }
754
+
755
+ namespace Debugger {
756
+ /**
757
+ * Breakpoint identifier.
758
+ */
759
+ type BreakpointId = string;
760
+
761
+ /**
762
+ * Call frame identifier.
763
+ */
764
+ type CallFrameId = string;
765
+
766
+ /**
767
+ * Location in the source code.
768
+ */
769
+ interface Location {
770
+ /**
771
+ * Script identifier as reported in the <code>Debugger.scriptParsed</code>.
772
+ */
773
+ scriptId: Runtime.ScriptId;
774
+ /**
775
+ * Line number in the script (0-based).
776
+ */
777
+ lineNumber: number;
778
+ /**
779
+ * Column number in the script (0-based).
780
+ */
781
+ columnNumber?: number;
782
+ }
783
+
784
+ /**
785
+ * Location in the source code.
786
+ * @experimental
787
+ */
788
+ interface ScriptPosition {
789
+ lineNumber: number;
790
+ columnNumber: number;
791
+ }
792
+
793
+ /**
794
+ * JavaScript call frame. Array of call frames form the call stack.
795
+ */
796
+ interface CallFrame {
797
+ /**
798
+ * Call frame identifier. This identifier is only valid while the virtual machine is paused.
799
+ */
800
+ callFrameId: CallFrameId;
801
+ /**
802
+ * Name of the JavaScript function called on this call frame.
803
+ */
804
+ functionName: string;
805
+ /**
806
+ * Location in the source code.
807
+ */
808
+ functionLocation?: Location;
809
+ /**
810
+ * Location in the source code.
811
+ */
812
+ location: Location;
813
+ /**
814
+ * JavaScript script name or url.
815
+ */
816
+ url: string;
817
+ /**
818
+ * Scope chain for this call frame.
819
+ */
820
+ scopeChain: Scope[];
821
+ /**
822
+ * <code>this</code> object for this call frame.
823
+ */
824
+ this: Runtime.RemoteObject;
825
+ /**
826
+ * The value being returned, if the function is at return point.
827
+ */
828
+ returnValue?: Runtime.RemoteObject;
829
+ }
830
+
831
+ /**
832
+ * Scope description.
833
+ */
834
+ interface Scope {
835
+ /**
836
+ * Scope type.
837
+ */
838
+ type: string;
839
+ /**
840
+ * Object representing the scope. For <code>global</code> and <code>with</code> scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties.
841
+ */
842
+ object: Runtime.RemoteObject;
843
+ name?: string;
844
+ /**
845
+ * Location in the source code where scope starts
846
+ */
847
+ startLocation?: Location;
848
+ /**
849
+ * Location in the source code where scope ends
850
+ */
851
+ endLocation?: Location;
852
+ }
853
+
854
+ /**
855
+ * Search match for resource.
856
+ */
857
+ interface SearchMatch {
858
+ /**
859
+ * Line number in resource content.
860
+ */
861
+ lineNumber: number;
862
+ /**
863
+ * Line with match content.
864
+ */
865
+ lineContent: string;
866
+ }
867
+
868
+ interface BreakLocation {
869
+ /**
870
+ * Script identifier as reported in the <code>Debugger.scriptParsed</code>.
871
+ */
872
+ scriptId: Runtime.ScriptId;
873
+ /**
874
+ * Line number in the script (0-based).
875
+ */
876
+ lineNumber: number;
877
+ /**
878
+ * Column number in the script (0-based).
879
+ */
880
+ columnNumber?: number;
881
+ type?: string;
882
+ }
883
+
884
+ interface SetBreakpointsActiveParameterType {
885
+ /**
886
+ * New value for breakpoints active state.
887
+ */
888
+ active: boolean;
889
+ }
890
+
891
+ interface SetSkipAllPausesParameterType {
892
+ /**
893
+ * New value for skip pauses state.
894
+ */
895
+ skip: boolean;
896
+ }
897
+
898
+ interface SetBreakpointByUrlParameterType {
899
+ /**
900
+ * Line number to set breakpoint at.
901
+ */
902
+ lineNumber: number;
903
+ /**
904
+ * URL of the resources to set breakpoint on.
905
+ */
906
+ url?: string;
907
+ /**
908
+ * Regex pattern for the URLs of the resources to set breakpoints on. Either <code>url</code> or <code>urlRegex</code> must be specified.
909
+ */
910
+ urlRegex?: string;
911
+ /**
912
+ * Script hash of the resources to set breakpoint on.
913
+ */
914
+ scriptHash?: string;
915
+ /**
916
+ * Offset in the line to set breakpoint at.
917
+ */
918
+ columnNumber?: number;
919
+ /**
920
+ * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.
921
+ */
922
+ condition?: string;
923
+ }
924
+
925
+ interface SetBreakpointParameterType {
926
+ /**
927
+ * Location to set breakpoint in.
928
+ */
929
+ location: Location;
930
+ /**
931
+ * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.
932
+ */
933
+ condition?: string;
934
+ }
935
+
936
+ interface RemoveBreakpointParameterType {
937
+ breakpointId: BreakpointId;
938
+ }
939
+
940
+ interface GetPossibleBreakpointsParameterType {
941
+ /**
942
+ * Start of range to search possible breakpoint locations in.
943
+ */
944
+ start: Location;
945
+ /**
946
+ * End of range to search possible breakpoint locations in (excluding). When not specified, end of scripts is used as end of range.
947
+ */
948
+ end?: Location;
949
+ /**
950
+ * Only consider locations which are in the same (non-nested) function as start.
951
+ */
952
+ restrictToFunction?: boolean;
953
+ }
954
+
955
+ interface ContinueToLocationParameterType {
956
+ /**
957
+ * Location to continue to.
958
+ */
959
+ location: Location;
960
+ targetCallFrames?: string;
961
+ }
962
+
963
+ interface PauseOnAsyncCallParameterType {
964
+ /**
965
+ * Debugger will pause when async call with given stack trace is started.
966
+ */
967
+ parentStackTraceId: Runtime.StackTraceId;
968
+ }
969
+
970
+ interface StepIntoParameterType {
971
+ /**
972
+ * Debugger will issue additional Debugger.paused notification if any async task is scheduled before next pause.
973
+ * @experimental
974
+ */
975
+ breakOnAsyncCall?: boolean;
976
+ }
977
+
978
+ interface GetStackTraceParameterType {
979
+ stackTraceId: Runtime.StackTraceId;
980
+ }
981
+
982
+ interface SearchInContentParameterType {
983
+ /**
984
+ * Id of the script to search in.
985
+ */
986
+ scriptId: Runtime.ScriptId;
987
+ /**
988
+ * String to search for.
989
+ */
990
+ query: string;
991
+ /**
992
+ * If true, search is case sensitive.
993
+ */
994
+ caseSensitive?: boolean;
995
+ /**
996
+ * If true, treats string parameter as regex.
997
+ */
998
+ isRegex?: boolean;
999
+ }
1000
+
1001
+ interface SetScriptSourceParameterType {
1002
+ /**
1003
+ * Id of the script to edit.
1004
+ */
1005
+ scriptId: Runtime.ScriptId;
1006
+ /**
1007
+ * New content of the script.
1008
+ */
1009
+ scriptSource: string;
1010
+ /**
1011
+ * If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code.
1012
+ */
1013
+ dryRun?: boolean;
1014
+ }
1015
+
1016
+ interface RestartFrameParameterType {
1017
+ /**
1018
+ * Call frame identifier to evaluate on.
1019
+ */
1020
+ callFrameId: CallFrameId;
1021
+ }
1022
+
1023
+ interface GetScriptSourceParameterType {
1024
+ /**
1025
+ * Id of the script to get source for.
1026
+ */
1027
+ scriptId: Runtime.ScriptId;
1028
+ }
1029
+
1030
+ interface SetPauseOnExceptionsParameterType {
1031
+ /**
1032
+ * Pause on exceptions mode.
1033
+ */
1034
+ state: string;
1035
+ }
1036
+
1037
+ interface EvaluateOnCallFrameParameterType {
1038
+ /**
1039
+ * Call frame identifier to evaluate on.
1040
+ */
1041
+ callFrameId: CallFrameId;
1042
+ /**
1043
+ * Expression to evaluate.
1044
+ */
1045
+ expression: string;
1046
+ /**
1047
+ * String object group name to put result into (allows rapid releasing resulting object handles using <code>releaseObjectGroup</code>).
1048
+ */
1049
+ objectGroup?: string;
1050
+ /**
1051
+ * Specifies whether command line API should be available to the evaluated expression, defaults to false.
1052
+ */
1053
+ includeCommandLineAPI?: boolean;
1054
+ /**
1055
+ * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state.
1056
+ */
1057
+ silent?: boolean;
1058
+ /**
1059
+ * Whether the result is expected to be a JSON object that should be sent by value.
1060
+ */
1061
+ returnByValue?: boolean;
1062
+ /**
1063
+ * Whether preview should be generated for the result.
1064
+ * @experimental
1065
+ */
1066
+ generatePreview?: boolean;
1067
+ /**
1068
+ * Whether to throw an exception if side effect cannot be ruled out during evaluation.
1069
+ */
1070
+ throwOnSideEffect?: boolean;
1071
+ }
1072
+
1073
+ interface SetVariableValueParameterType {
1074
+ /**
1075
+ * 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.
1076
+ */
1077
+ scopeNumber: number;
1078
+ /**
1079
+ * Variable name.
1080
+ */
1081
+ variableName: string;
1082
+ /**
1083
+ * New variable value.
1084
+ */
1085
+ newValue: Runtime.CallArgument;
1086
+ /**
1087
+ * Id of callframe that holds variable.
1088
+ */
1089
+ callFrameId: CallFrameId;
1090
+ }
1091
+
1092
+ interface SetReturnValueParameterType {
1093
+ /**
1094
+ * New return value.
1095
+ */
1096
+ newValue: Runtime.CallArgument;
1097
+ }
1098
+
1099
+ interface SetAsyncCallStackDepthParameterType {
1100
+ /**
1101
+ * Maximum depth of async call stacks. Setting to <code>0</code> will effectively disable collecting async call stacks (default).
1102
+ */
1103
+ maxDepth: number;
1104
+ }
1105
+
1106
+ interface SetBlackboxPatternsParameterType {
1107
+ /**
1108
+ * Array of regexps that will be used to check script url for blackbox state.
1109
+ */
1110
+ patterns: string[];
1111
+ }
1112
+
1113
+ interface SetBlackboxedRangesParameterType {
1114
+ /**
1115
+ * Id of the script.
1116
+ */
1117
+ scriptId: Runtime.ScriptId;
1118
+ positions: ScriptPosition[];
1119
+ }
1120
+
1121
+ interface EnableReturnType {
1122
+ /**
1123
+ * Unique identifier of the debugger.
1124
+ * @experimental
1125
+ */
1126
+ debuggerId: Runtime.UniqueDebuggerId;
1127
+ }
1128
+
1129
+ interface SetBreakpointByUrlReturnType {
1130
+ /**
1131
+ * Id of the created breakpoint for further reference.
1132
+ */
1133
+ breakpointId: BreakpointId;
1134
+ /**
1135
+ * List of the locations this breakpoint resolved into upon addition.
1136
+ */
1137
+ locations: Location[];
1138
+ }
1139
+
1140
+ interface SetBreakpointReturnType {
1141
+ /**
1142
+ * Id of the created breakpoint for further reference.
1143
+ */
1144
+ breakpointId: BreakpointId;
1145
+ /**
1146
+ * Location this breakpoint resolved into.
1147
+ */
1148
+ actualLocation: Location;
1149
+ }
1150
+
1151
+ interface GetPossibleBreakpointsReturnType {
1152
+ /**
1153
+ * List of the possible breakpoint locations.
1154
+ */
1155
+ locations: BreakLocation[];
1156
+ }
1157
+
1158
+ interface GetStackTraceReturnType {
1159
+ stackTrace: Runtime.StackTrace;
1160
+ }
1161
+
1162
+ interface SearchInContentReturnType {
1163
+ /**
1164
+ * List of search matches.
1165
+ */
1166
+ result: SearchMatch[];
1167
+ }
1168
+
1169
+ interface SetScriptSourceReturnType {
1170
+ /**
1171
+ * New stack trace in case editing has happened while VM was stopped.
1172
+ */
1173
+ callFrames?: CallFrame[];
1174
+ /**
1175
+ * Whether current call stack was modified after applying the changes.
1176
+ */
1177
+ stackChanged?: boolean;
1178
+ /**
1179
+ * Async stack trace, if any.
1180
+ */
1181
+ asyncStackTrace?: Runtime.StackTrace;
1182
+ /**
1183
+ * Async stack trace, if any.
1184
+ * @experimental
1185
+ */
1186
+ asyncStackTraceId?: Runtime.StackTraceId;
1187
+ /**
1188
+ * Exception details if any.
1189
+ */
1190
+ exceptionDetails?: Runtime.ExceptionDetails;
1191
+ }
1192
+
1193
+ interface RestartFrameReturnType {
1194
+ /**
1195
+ * New stack trace.
1196
+ */
1197
+ callFrames: CallFrame[];
1198
+ /**
1199
+ * Async stack trace, if any.
1200
+ */
1201
+ asyncStackTrace?: Runtime.StackTrace;
1202
+ /**
1203
+ * Async stack trace, if any.
1204
+ * @experimental
1205
+ */
1206
+ asyncStackTraceId?: Runtime.StackTraceId;
1207
+ }
1208
+
1209
+ interface GetScriptSourceReturnType {
1210
+ /**
1211
+ * Script source.
1212
+ */
1213
+ scriptSource: string;
1214
+ }
1215
+
1216
+ interface EvaluateOnCallFrameReturnType {
1217
+ /**
1218
+ * Object wrapper for the evaluation result.
1219
+ */
1220
+ result: Runtime.RemoteObject;
1221
+ /**
1222
+ * Exception details.
1223
+ */
1224
+ exceptionDetails?: Runtime.ExceptionDetails;
1225
+ }
1226
+
1227
+ interface ScriptParsedEventDataType {
1228
+ /**
1229
+ * Identifier of the script parsed.
1230
+ */
1231
+ scriptId: Runtime.ScriptId;
1232
+ /**
1233
+ * URL or name of the script parsed (if any).
1234
+ */
1235
+ url: string;
1236
+ /**
1237
+ * Line offset of the script within the resource with given URL (for script tags).
1238
+ */
1239
+ startLine: number;
1240
+ /**
1241
+ * Column offset of the script within the resource with given URL.
1242
+ */
1243
+ startColumn: number;
1244
+ /**
1245
+ * Last line of the script.
1246
+ */
1247
+ endLine: number;
1248
+ /**
1249
+ * Length of the last line of the script.
1250
+ */
1251
+ endColumn: number;
1252
+ /**
1253
+ * Specifies script creation context.
1254
+ */
1255
+ executionContextId: Runtime.ExecutionContextId;
1256
+ /**
1257
+ * Content hash of the script.
1258
+ */
1259
+ hash: string;
1260
+ /**
1261
+ * Embedder-specific auxiliary data.
1262
+ */
1263
+ executionContextAuxData?: {};
1264
+ /**
1265
+ * True, if this script is generated as a result of the live edit operation.
1266
+ * @experimental
1267
+ */
1268
+ isLiveEdit?: boolean;
1269
+ /**
1270
+ * URL of source map associated with script (if any).
1271
+ */
1272
+ sourceMapURL?: string;
1273
+ /**
1274
+ * True, if this script has sourceURL.
1275
+ */
1276
+ hasSourceURL?: boolean;
1277
+ /**
1278
+ * True, if this script is ES6 module.
1279
+ */
1280
+ isModule?: boolean;
1281
+ /**
1282
+ * This script length.
1283
+ */
1284
+ length?: number;
1285
+ /**
1286
+ * JavaScript top stack frame of where the script parsed event was triggered if available.
1287
+ * @experimental
1288
+ */
1289
+ stackTrace?: Runtime.StackTrace;
1290
+ }
1291
+
1292
+ interface ScriptFailedToParseEventDataType {
1293
+ /**
1294
+ * Identifier of the script parsed.
1295
+ */
1296
+ scriptId: Runtime.ScriptId;
1297
+ /**
1298
+ * URL or name of the script parsed (if any).
1299
+ */
1300
+ url: string;
1301
+ /**
1302
+ * Line offset of the script within the resource with given URL (for script tags).
1303
+ */
1304
+ startLine: number;
1305
+ /**
1306
+ * Column offset of the script within the resource with given URL.
1307
+ */
1308
+ startColumn: number;
1309
+ /**
1310
+ * Last line of the script.
1311
+ */
1312
+ endLine: number;
1313
+ /**
1314
+ * Length of the last line of the script.
1315
+ */
1316
+ endColumn: number;
1317
+ /**
1318
+ * Specifies script creation context.
1319
+ */
1320
+ executionContextId: Runtime.ExecutionContextId;
1321
+ /**
1322
+ * Content hash of the script.
1323
+ */
1324
+ hash: string;
1325
+ /**
1326
+ * Embedder-specific auxiliary data.
1327
+ */
1328
+ executionContextAuxData?: {};
1329
+ /**
1330
+ * URL of source map associated with script (if any).
1331
+ */
1332
+ sourceMapURL?: string;
1333
+ /**
1334
+ * True, if this script has sourceURL.
1335
+ */
1336
+ hasSourceURL?: boolean;
1337
+ /**
1338
+ * True, if this script is ES6 module.
1339
+ */
1340
+ isModule?: boolean;
1341
+ /**
1342
+ * This script length.
1343
+ */
1344
+ length?: number;
1345
+ /**
1346
+ * JavaScript top stack frame of where the script parsed event was triggered if available.
1347
+ * @experimental
1348
+ */
1349
+ stackTrace?: Runtime.StackTrace;
1350
+ }
1351
+
1352
+ interface BreakpointResolvedEventDataType {
1353
+ /**
1354
+ * Breakpoint unique identifier.
1355
+ */
1356
+ breakpointId: BreakpointId;
1357
+ /**
1358
+ * Actual breakpoint location.
1359
+ */
1360
+ location: Location;
1361
+ }
1362
+
1363
+ interface PausedEventDataType {
1364
+ /**
1365
+ * Call stack the virtual machine stopped on.
1366
+ */
1367
+ callFrames: CallFrame[];
1368
+ /**
1369
+ * Pause reason.
1370
+ */
1371
+ reason: string;
1372
+ /**
1373
+ * Object containing break-specific auxiliary properties.
1374
+ */
1375
+ data?: {};
1376
+ /**
1377
+ * Hit breakpoints IDs
1378
+ */
1379
+ hitBreakpoints?: string[];
1380
+ /**
1381
+ * Async stack trace, if any.
1382
+ */
1383
+ asyncStackTrace?: Runtime.StackTrace;
1384
+ /**
1385
+ * Async stack trace, if any.
1386
+ * @experimental
1387
+ */
1388
+ asyncStackTraceId?: Runtime.StackTraceId;
1389
+ /**
1390
+ * Just scheduled async call will have this stack trace as parent stack during async execution. This field is available only after <code>Debugger.stepInto</code> call with <code>breakOnAsynCall</code> flag.
1391
+ * @experimental
1392
+ */
1393
+ asyncCallStackTraceId?: Runtime.StackTraceId;
1394
+ }
1395
+ }
1396
+
1397
+ namespace Console {
1398
+ /**
1399
+ * Console message.
1400
+ */
1401
+ interface ConsoleMessage {
1402
+ /**
1403
+ * Message source.
1404
+ */
1405
+ source: string;
1406
+ /**
1407
+ * Message severity.
1408
+ */
1409
+ level: string;
1410
+ /**
1411
+ * Message text.
1412
+ */
1413
+ text: string;
1414
+ /**
1415
+ * URL of the message origin.
1416
+ */
1417
+ url?: string;
1418
+ /**
1419
+ * Line number in the resource that generated this message (1-based).
1420
+ */
1421
+ line?: number;
1422
+ /**
1423
+ * Column number in the resource that generated this message (1-based).
1424
+ */
1425
+ column?: number;
1426
+ }
1427
+
1428
+ interface MessageAddedEventDataType {
1429
+ /**
1430
+ * Console message that has been added.
1431
+ */
1432
+ message: ConsoleMessage;
1433
+ }
1434
+ }
1435
+
1436
+ namespace Profiler {
1437
+ /**
1438
+ * Profile node. Holds callsite information, execution statistics and child nodes.
1439
+ */
1440
+ interface ProfileNode {
1441
+ /**
1442
+ * Unique id of the node.
1443
+ */
1444
+ id: number;
1445
+ /**
1446
+ * Function location.
1447
+ */
1448
+ callFrame: Runtime.CallFrame;
1449
+ /**
1450
+ * Number of samples where this node was on top of the call stack.
1451
+ */
1452
+ hitCount?: number;
1453
+ /**
1454
+ * Child node ids.
1455
+ */
1456
+ children?: number[];
1457
+ /**
1458
+ * The reason of being not optimized. The function may be deoptimized or marked as don't optimize.
1459
+ */
1460
+ deoptReason?: string;
1461
+ /**
1462
+ * An array of source position ticks.
1463
+ */
1464
+ positionTicks?: PositionTickInfo[];
1465
+ }
1466
+
1467
+ /**
1468
+ * Profile.
1469
+ */
1470
+ interface Profile {
1471
+ /**
1472
+ * The list of profile nodes. First item is the root node.
1473
+ */
1474
+ nodes: ProfileNode[];
1475
+ /**
1476
+ * Profiling start timestamp in microseconds.
1477
+ */
1478
+ startTime: number;
1479
+ /**
1480
+ * Profiling end timestamp in microseconds.
1481
+ */
1482
+ endTime: number;
1483
+ /**
1484
+ * Ids of samples top nodes.
1485
+ */
1486
+ samples?: number[];
1487
+ /**
1488
+ * Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime.
1489
+ */
1490
+ timeDeltas?: number[];
1491
+ }
1492
+
1493
+ /**
1494
+ * Specifies a number of samples attributed to a certain source position.
1495
+ */
1496
+ interface PositionTickInfo {
1497
+ /**
1498
+ * Source line number (1-based).
1499
+ */
1500
+ line: number;
1501
+ /**
1502
+ * Number of samples attributed to the source line.
1503
+ */
1504
+ ticks: number;
1505
+ }
1506
+
1507
+ /**
1508
+ * Coverage data for a source range.
1509
+ */
1510
+ interface CoverageRange {
1511
+ /**
1512
+ * JavaScript script source offset for the range start.
1513
+ */
1514
+ startOffset: number;
1515
+ /**
1516
+ * JavaScript script source offset for the range end.
1517
+ */
1518
+ endOffset: number;
1519
+ /**
1520
+ * Collected execution count of the source range.
1521
+ */
1522
+ count: number;
1523
+ }
1524
+
1525
+ /**
1526
+ * Coverage data for a JavaScript function.
1527
+ */
1528
+ interface FunctionCoverage {
1529
+ /**
1530
+ * JavaScript function name.
1531
+ */
1532
+ functionName: string;
1533
+ /**
1534
+ * Source ranges inside the function with coverage data.
1535
+ */
1536
+ ranges: CoverageRange[];
1537
+ /**
1538
+ * Whether coverage data for this function has block granularity.
1539
+ */
1540
+ isBlockCoverage: boolean;
1541
+ }
1542
+
1543
+ /**
1544
+ * Coverage data for a JavaScript script.
1545
+ */
1546
+ interface ScriptCoverage {
1547
+ /**
1548
+ * JavaScript script id.
1549
+ */
1550
+ scriptId: Runtime.ScriptId;
1551
+ /**
1552
+ * JavaScript script name or url.
1553
+ */
1554
+ url: string;
1555
+ /**
1556
+ * Functions contained in the script that has coverage data.
1557
+ */
1558
+ functions: FunctionCoverage[];
1559
+ }
1560
+
1561
+ /**
1562
+ * Describes a type collected during runtime.
1563
+ * @experimental
1564
+ */
1565
+ interface TypeObject {
1566
+ /**
1567
+ * Name of a type collected with type profiling.
1568
+ */
1569
+ name: string;
1570
+ }
1571
+
1572
+ /**
1573
+ * Source offset and types for a parameter or return value.
1574
+ * @experimental
1575
+ */
1576
+ interface TypeProfileEntry {
1577
+ /**
1578
+ * Source offset of the parameter or end of function for return values.
1579
+ */
1580
+ offset: number;
1581
+ /**
1582
+ * The types for this parameter or return value.
1583
+ */
1584
+ types: TypeObject[];
1585
+ }
1586
+
1587
+ /**
1588
+ * Type profile data collected during runtime for a JavaScript script.
1589
+ * @experimental
1590
+ */
1591
+ interface ScriptTypeProfile {
1592
+ /**
1593
+ * JavaScript script id.
1594
+ */
1595
+ scriptId: Runtime.ScriptId;
1596
+ /**
1597
+ * JavaScript script name or url.
1598
+ */
1599
+ url: string;
1600
+ /**
1601
+ * Type profile entries for parameters and return values of the functions in the script.
1602
+ */
1603
+ entries: TypeProfileEntry[];
1604
+ }
1605
+
1606
+ interface SetSamplingIntervalParameterType {
1607
+ /**
1608
+ * New sampling interval in microseconds.
1609
+ */
1610
+ interval: number;
1611
+ }
1612
+
1613
+ interface StartPreciseCoverageParameterType {
1614
+ /**
1615
+ * Collect accurate call counts beyond simple 'covered' or 'not covered'.
1616
+ */
1617
+ callCount?: boolean;
1618
+ /**
1619
+ * Collect block-based coverage.
1620
+ */
1621
+ detailed?: boolean;
1622
+ }
1623
+
1624
+ interface StopReturnType {
1625
+ /**
1626
+ * Recorded profile.
1627
+ */
1628
+ profile: Profile;
1629
+ }
1630
+
1631
+ interface TakePreciseCoverageReturnType {
1632
+ /**
1633
+ * Coverage data for the current isolate.
1634
+ */
1635
+ result: ScriptCoverage[];
1636
+ }
1637
+
1638
+ interface GetBestEffortCoverageReturnType {
1639
+ /**
1640
+ * Coverage data for the current isolate.
1641
+ */
1642
+ result: ScriptCoverage[];
1643
+ }
1644
+
1645
+ interface TakeTypeProfileReturnType {
1646
+ /**
1647
+ * Type profile for all scripts since startTypeProfile() was turned on.
1648
+ */
1649
+ result: ScriptTypeProfile[];
1650
+ }
1651
+
1652
+ interface ConsoleProfileStartedEventDataType {
1653
+ id: string;
1654
+ /**
1655
+ * Location of console.profile().
1656
+ */
1657
+ location: Debugger.Location;
1658
+ /**
1659
+ * Profile title passed as an argument to console.profile().
1660
+ */
1661
+ title?: string;
1662
+ }
1663
+
1664
+ interface ConsoleProfileFinishedEventDataType {
1665
+ id: string;
1666
+ /**
1667
+ * Location of console.profileEnd().
1668
+ */
1669
+ location: Debugger.Location;
1670
+ profile: Profile;
1671
+ /**
1672
+ * Profile title passed as an argument to console.profile().
1673
+ */
1674
+ title?: string;
1675
+ }
1676
+ }
1677
+
1678
+ namespace HeapProfiler {
1679
+ /**
1680
+ * Heap snapshot object id.
1681
+ */
1682
+ type HeapSnapshotObjectId = string;
1683
+
1684
+ /**
1685
+ * Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.
1686
+ */
1687
+ interface SamplingHeapProfileNode {
1688
+ /**
1689
+ * Function location.
1690
+ */
1691
+ callFrame: Runtime.CallFrame;
1692
+ /**
1693
+ * Allocations size in bytes for the node excluding children.
1694
+ */
1695
+ selfSize: number;
1696
+ /**
1697
+ * Child nodes.
1698
+ */
1699
+ children: SamplingHeapProfileNode[];
1700
+ }
1701
+
1702
+ /**
1703
+ * Profile.
1704
+ */
1705
+ interface SamplingHeapProfile {
1706
+ head: SamplingHeapProfileNode;
1707
+ }
1708
+
1709
+ interface StartTrackingHeapObjectsParameterType {
1710
+ trackAllocations?: boolean;
1711
+ }
1712
+
1713
+ interface StopTrackingHeapObjectsParameterType {
1714
+ /**
1715
+ * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped.
1716
+ */
1717
+ reportProgress?: boolean;
1718
+ }
1719
+
1720
+ interface TakeHeapSnapshotParameterType {
1721
+ /**
1722
+ * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken.
1723
+ */
1724
+ reportProgress?: boolean;
1725
+ }
1726
+
1727
+ interface GetObjectByHeapObjectIdParameterType {
1728
+ objectId: HeapSnapshotObjectId;
1729
+ /**
1730
+ * Symbolic group name that can be used to release multiple objects.
1731
+ */
1732
+ objectGroup?: string;
1733
+ }
1734
+
1735
+ interface AddInspectedHeapObjectParameterType {
1736
+ /**
1737
+ * Heap snapshot object id to be accessible by means of $x command line API.
1738
+ */
1739
+ heapObjectId: HeapSnapshotObjectId;
1740
+ }
1741
+
1742
+ interface GetHeapObjectIdParameterType {
1743
+ /**
1744
+ * Identifier of the object to get heap object id for.
1745
+ */
1746
+ objectId: Runtime.RemoteObjectId;
1747
+ }
1748
+
1749
+ interface StartSamplingParameterType {
1750
+ /**
1751
+ * Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes.
1752
+ */
1753
+ samplingInterval?: number;
1754
+ }
1755
+
1756
+ interface GetObjectByHeapObjectIdReturnType {
1757
+ /**
1758
+ * Evaluation result.
1759
+ */
1760
+ result: Runtime.RemoteObject;
1761
+ }
1762
+
1763
+ interface GetHeapObjectIdReturnType {
1764
+ /**
1765
+ * Id of the heap snapshot object corresponding to the passed remote object id.
1766
+ */
1767
+ heapSnapshotObjectId: HeapSnapshotObjectId;
1768
+ }
1769
+
1770
+ interface StopSamplingReturnType {
1771
+ /**
1772
+ * Recorded sampling heap profile.
1773
+ */
1774
+ profile: SamplingHeapProfile;
1775
+ }
1776
+
1777
+ interface GetSamplingProfileReturnType {
1778
+ /**
1779
+ * Return the sampling profile being collected.
1780
+ */
1781
+ profile: SamplingHeapProfile;
1782
+ }
1783
+
1784
+ interface AddHeapSnapshotChunkEventDataType {
1785
+ chunk: string;
1786
+ }
1787
+
1788
+ interface ReportHeapSnapshotProgressEventDataType {
1789
+ done: number;
1790
+ total: number;
1791
+ finished?: boolean;
1792
+ }
1793
+
1794
+ interface LastSeenObjectIdEventDataType {
1795
+ lastSeenObjectId: number;
1796
+ timestamp: number;
1797
+ }
1798
+
1799
+ interface HeapStatsUpdateEventDataType {
1800
+ /**
1801
+ * 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.
1802
+ */
1803
+ statsUpdate: number[];
1804
+ }
1805
+ }
1806
+
1807
+ namespace NodeTracing {
1808
+ interface TraceConfig {
1809
+ /**
1810
+ * Controls how the trace buffer stores data.
1811
+ */
1812
+ recordMode?: string;
1813
+ /**
1814
+ * Included category filters.
1815
+ */
1816
+ includedCategories: string[];
1817
+ }
1818
+
1819
+ interface StartParameterType {
1820
+ traceConfig: TraceConfig;
1821
+ }
1822
+
1823
+ interface GetCategoriesReturnType {
1824
+ /**
1825
+ * A list of supported tracing categories.
1826
+ */
1827
+ categories: string[];
1828
+ }
1829
+
1830
+ interface DataCollectedEventDataType {
1831
+ value: Array<{}>;
1832
+ }
1833
+ }
1834
+
1835
+ namespace NodeWorker {
1836
+ type WorkerID = string;
1837
+
1838
+ /**
1839
+ * Unique identifier of attached debugging session.
1840
+ */
1841
+ type SessionID = string;
1842
+
1843
+ interface WorkerInfo {
1844
+ workerId: WorkerID;
1845
+ type: string;
1846
+ title: string;
1847
+ url: string;
1848
+ }
1849
+
1850
+ interface SendMessageToWorkerParameterType {
1851
+ message: string;
1852
+ /**
1853
+ * Identifier of the session.
1854
+ */
1855
+ sessionId: SessionID;
1856
+ }
1857
+
1858
+ interface EnableParameterType {
1859
+ /**
1860
+ * Whether to new workers should be paused until the frontend sends `Runtime.runIfWaitingForDebugger`
1861
+ * message to run them.
1862
+ */
1863
+ waitForDebuggerOnStart: boolean;
1864
+ }
1865
+
1866
+ interface DetachParameterType {
1867
+ sessionId: SessionID;
1868
+ }
1869
+
1870
+ interface AttachedToWorkerEventDataType {
1871
+ /**
1872
+ * Identifier assigned to the session used to send/receive messages.
1873
+ */
1874
+ sessionId: SessionID;
1875
+ workerInfo: WorkerInfo;
1876
+ waitingForDebugger: boolean;
1877
+ }
1878
+
1879
+ interface DetachedFromWorkerEventDataType {
1880
+ /**
1881
+ * Detached session identifier.
1882
+ */
1883
+ sessionId: SessionID;
1884
+ }
1885
+
1886
+ interface ReceivedMessageFromWorkerEventDataType {
1887
+ /**
1888
+ * Identifier of a session which sends a message.
1889
+ */
1890
+ sessionId: SessionID;
1891
+ message: string;
1892
+ }
1893
+ }
1894
+
1895
+ namespace NodeRuntime {
1896
+ interface NotifyWhenWaitingForDisconnectParameterType {
1897
+ enabled: boolean;
1898
+ }
1899
+ }
1900
+
1901
+ /**
1902
+ * The inspector.Session is used for dispatching messages to the V8 inspector back-end and receiving message responses and notifications.
1903
+ */
1904
+ class Session extends EventEmitter {
1905
+ /**
1906
+ * Create a new instance of the inspector.Session class.
1907
+ * The inspector session needs to be connected through session.connect() before the messages can be dispatched to the inspector backend.
1908
+ */
1909
+ constructor();
1910
+
1911
+ /**
1912
+ * 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.
1915
+ */
1916
+ connect(): void;
1917
+
1918
+ /**
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.
1922
+ */
1923
+ disconnect(): void;
1924
+
1925
+ /**
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.
1928
+ */
1929
+ post(method: string, params?: {}, callback?: (err: Error | null, params?: {}) => void): void;
1930
+ post(method: string, callback?: (err: Error | null, params?: {}) => void): void;
1931
+
1932
+ /**
1933
+ * Returns supported domains.
1934
+ */
1935
+ post(method: "Schema.getDomains", callback?: (err: Error | null, params: Schema.GetDomainsReturnType) => void): void;
1936
+
1937
+ /**
1938
+ * Evaluates expression on global object.
1939
+ */
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
+
1943
+ /**
1944
+ * Add handler to promise with given promise object id.
1945
+ */
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
+
1949
+ /**
1950
+ * Calls function with given declaration on the given object. Object group of the result is inherited from the target object.
1951
+ */
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
+
1955
+ /**
1956
+ * Returns properties of a given object. Object group of the result is inherited from the target object.
1957
+ */
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
+
1961
+ /**
1962
+ * Releases remote object with given id.
1963
+ */
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
+
1967
+ /**
1968
+ * Releases all remote objects that belong to a given group.
1969
+ */
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
+
1973
+ /**
1974
+ * Tells inspected instance to run if it was waiting for debugger to attach.
1975
+ */
1976
+ post(method: "Runtime.runIfWaitingForDebugger", callback?: (err: Error | null) => void): void;
1977
+
1978
+ /**
1979
+ * 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
+ */
1981
+ post(method: "Runtime.enable", callback?: (err: Error | null) => void): void;
1982
+
1983
+ /**
1984
+ * Disables reporting of execution contexts creation.
1985
+ */
1986
+ post(method: "Runtime.disable", callback?: (err: Error | null) => void): void;
1987
+
1988
+ /**
1989
+ * Discards collected exceptions and console API calls.
1990
+ */
1991
+ post(method: "Runtime.discardConsoleEntries", callback?: (err: Error | null) => void): void;
1992
+
1993
+ /**
1994
+ * @experimental
1995
+ */
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
+
1999
+ /**
2000
+ * Compiles expression.
2001
+ */
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
+
2005
+ /**
2006
+ * Runs script with given id in a given context.
2007
+ */
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
+
2014
+ /**
2015
+ * Returns all let, const and class variables from global scope.
2016
+ */
2017
+ post(
2018
+ method: "Runtime.globalLexicalScopeNames",
2019
+ params?: Runtime.GlobalLexicalScopeNamesParameterType,
2020
+ callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void
2021
+ ): void;
2022
+ post(method: "Runtime.globalLexicalScopeNames", callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void): void;
2023
+
2024
+ /**
2025
+ * 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
+ */
2027
+ post(method: "Debugger.enable", callback?: (err: Error | null, params: Debugger.EnableReturnType) => void): void;
2028
+
2029
+ /**
2030
+ * Disables debugger for given page.
2031
+ */
2032
+ post(method: "Debugger.disable", callback?: (err: Error | null) => void): void;
2033
+
2034
+ /**
2035
+ * Activates / deactivates all breakpoints on the page.
2036
+ */
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
+
2040
+ /**
2041
+ * Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
2042
+ */
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
+
2046
+ /**
2047
+ * 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
+ */
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
+
2052
+ /**
2053
+ * Sets JavaScript breakpoint at a given location.
2054
+ */
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
+
2058
+ /**
2059
+ * Removes JavaScript breakpoint.
2060
+ */
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
+
2064
+ /**
2065
+ * Returns possible locations for breakpoint. scriptId in start and end range locations should be the same.
2066
+ */
2067
+ post(
2068
+ method: "Debugger.getPossibleBreakpoints",
2069
+ params?: Debugger.GetPossibleBreakpointsParameterType,
2070
+ callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void
2071
+ ): void;
2072
+ post(method: "Debugger.getPossibleBreakpoints", callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void): void;
2073
+
2074
+ /**
2075
+ * Continues execution until specific location is reached.
2076
+ */
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
+
2080
+ /**
2081
+ * @experimental
2082
+ */
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
+
2086
+ /**
2087
+ * Steps over the statement.
2088
+ */
2089
+ post(method: "Debugger.stepOver", callback?: (err: Error | null) => void): void;
2090
+
2091
+ /**
2092
+ * Steps into the function call.
2093
+ */
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
+
2097
+ /**
2098
+ * Steps out of the function call.
2099
+ */
2100
+ post(method: "Debugger.stepOut", callback?: (err: Error | null) => void): void;
2101
+
2102
+ /**
2103
+ * Stops on the next JavaScript statement.
2104
+ */
2105
+ post(method: "Debugger.pause", callback?: (err: Error | null) => void): void;
2106
+
2107
+ /**
2108
+ * 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
+ * @experimental
2110
+ */
2111
+ post(method: "Debugger.scheduleStepIntoAsync", callback?: (err: Error | null) => void): void;
2112
+
2113
+ /**
2114
+ * Resumes JavaScript execution.
2115
+ */
2116
+ post(method: "Debugger.resume", callback?: (err: Error | null) => void): void;
2117
+
2118
+ /**
2119
+ * Returns stack trace with given <code>stackTraceId</code>.
2120
+ * @experimental
2121
+ */
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
+
2125
+ /**
2126
+ * Searches for given string in script content.
2127
+ */
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
+
2131
+ /**
2132
+ * Edits JavaScript source live.
2133
+ */
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
+
2137
+ /**
2138
+ * Restarts particular call frame from the beginning.
2139
+ */
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
+
2143
+ /**
2144
+ * Returns source for the script with given id.
2145
+ */
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
+
2149
+ /**
2150
+ * 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
+ */
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
+
2155
+ /**
2156
+ * Evaluates expression on a given call frame.
2157
+ */
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
+
2161
+ /**
2162
+ * Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually.
2163
+ */
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
+
2167
+ /**
2168
+ * Changes return value in top frame. Available only at return break position.
2169
+ * @experimental
2170
+ */
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
+
2174
+ /**
2175
+ * Enables or disables async call stacks tracking.
2176
+ */
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
+
2180
+ /**
2181
+ * 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
+ * @experimental
2183
+ */
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
+
2187
+ /**
2188
+ * 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
+ * @experimental
2190
+ */
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
+
2194
+ /**
2195
+ * Enables console domain, sends the messages collected so far to the client by means of the <code>messageAdded</code> notification.
2196
+ */
2197
+ post(method: "Console.enable", callback?: (err: Error | null) => void): void;
2198
+
2199
+ /**
2200
+ * Disables console domain, prevents further console messages from being reported to the client.
2201
+ */
2202
+ post(method: "Console.disable", callback?: (err: Error | null) => void): void;
2203
+
2204
+ /**
2205
+ * Does nothing.
2206
+ */
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
+
2213
+ /**
2214
+ * Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
2215
+ */
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
+
2223
+ /**
2224
+ * 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
+ */
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
+
2229
+ /**
2230
+ * Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code.
2231
+ */
2232
+ post(method: "Profiler.stopPreciseCoverage", callback?: (err: Error | null) => void): void;
2233
+
2234
+ /**
2235
+ * Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started.
2236
+ */
2237
+ post(method: "Profiler.takePreciseCoverage", callback?: (err: Error | null, params: Profiler.TakePreciseCoverageReturnType) => void): void;
2238
+
2239
+ /**
2240
+ * Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.
2241
+ */
2242
+ post(method: "Profiler.getBestEffortCoverage", callback?: (err: Error | null, params: Profiler.GetBestEffortCoverageReturnType) => void): void;
2243
+
2244
+ /**
2245
+ * Enable type profile.
2246
+ * @experimental
2247
+ */
2248
+ post(method: "Profiler.startTypeProfile", callback?: (err: Error | null) => void): void;
2249
+
2250
+ /**
2251
+ * Disable type profile. Disabling releases type profile data collected so far.
2252
+ * @experimental
2253
+ */
2254
+ post(method: "Profiler.stopTypeProfile", callback?: (err: Error | null) => void): void;
2255
+
2256
+ /**
2257
+ * Collect type profile.
2258
+ * @experimental
2259
+ */
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
+
2277
+ post(
2278
+ method: "HeapProfiler.getObjectByHeapObjectId",
2279
+ params?: HeapProfiler.GetObjectByHeapObjectIdParameterType,
2280
+ callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void
2281
+ ): void;
2282
+ post(method: "HeapProfiler.getObjectByHeapObjectId", callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void): void;
2283
+
2284
+ /**
2285
+ * Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).
2286
+ */
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
+
2300
+ /**
2301
+ * Gets supported tracing categories.
2302
+ */
2303
+ post(method: "NodeTracing.getCategories", callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void;
2304
+
2305
+ /**
2306
+ * Start trace events collection.
2307
+ */
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
+
2311
+ /**
2312
+ * Stop trace events collection. Remaining collected events will be sent as a sequence of
2313
+ * dataCollected events followed by tracingComplete event.
2314
+ */
2315
+ post(method: "NodeTracing.stop", callback?: (err: Error | null) => void): void;
2316
+
2317
+ /**
2318
+ * Sends protocol message over session with given id.
2319
+ */
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
+
2323
+ /**
2324
+ * Instructs the inspector to attach to running workers. Will also attach to new workers
2325
+ * as they start
2326
+ */
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
+
2330
+ /**
2331
+ * Detaches from all running workers and disables attaching to new workers as they are started.
2332
+ */
2333
+ post(method: "NodeWorker.disable", callback?: (err: Error | null) => void): void;
2334
+
2335
+ /**
2336
+ * Detached from the worker with given sessionId.
2337
+ */
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
+
2341
+ /**
2342
+ * Enable the `NodeRuntime.waitingForDisconnect`.
2343
+ */
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
+
2347
+ // Events
2348
+
2349
+ addListener(event: string, listener: (...args: any[]) => void): this;
2350
+
2351
+ /**
2352
+ * Emitted when any notification from the V8 Inspector is received.
2353
+ */
2354
+ addListener(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this;
2355
+
2356
+ /**
2357
+ * Issued when new execution context is created.
2358
+ */
2359
+ addListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2360
+
2361
+ /**
2362
+ * Issued when execution context is destroyed.
2363
+ */
2364
+ addListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2365
+
2366
+ /**
2367
+ * Issued when all executionContexts were cleared in browser
2368
+ */
2369
+ addListener(event: "Runtime.executionContextsCleared", listener: () => void): this;
2370
+
2371
+ /**
2372
+ * Issued when exception was thrown and unhandled.
2373
+ */
2374
+ addListener(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2375
+
2376
+ /**
2377
+ * Issued when unhandled exception was revoked.
2378
+ */
2379
+ addListener(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2380
+
2381
+ /**
2382
+ * Issued when console API was called.
2383
+ */
2384
+ addListener(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2385
+
2386
+ /**
2387
+ * Issued when object should be inspected (for example, as a result of inspect() command line API call).
2388
+ */
2389
+ addListener(event: "Runtime.inspectRequested", listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2390
+
2391
+ /**
2392
+ * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
2393
+ */
2394
+ addListener(event: "Debugger.scriptParsed", listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2395
+
2396
+ /**
2397
+ * Fired when virtual machine fails to parse the script.
2398
+ */
2399
+ addListener(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2400
+
2401
+ /**
2402
+ * Fired when breakpoint is resolved to an actual script and location.
2403
+ */
2404
+ addListener(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2405
+
2406
+ /**
2407
+ * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
2408
+ */
2409
+ addListener(event: "Debugger.paused", listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2410
+
2411
+ /**
2412
+ * Fired when the virtual machine resumed execution.
2413
+ */
2414
+ addListener(event: "Debugger.resumed", listener: () => void): this;
2415
+
2416
+ /**
2417
+ * Issued when new console message is added.
2418
+ */
2419
+ addListener(event: "Console.messageAdded", listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2420
+
2421
+ /**
2422
+ * Sent when new profile recording is started using console.profile() call.
2423
+ */
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
+
2431
+ /**
2432
+ * 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
+ */
2434
+ addListener(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2435
+
2436
+ /**
2437
+ * If heap objects tracking has been started then backend may send update for one or more fragments
2438
+ */
2439
+ addListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2440
+
2441
+ /**
2442
+ * Contains an bucket of collected trace events.
2443
+ */
2444
+ addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2445
+
2446
+ /**
2447
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2448
+ * delivered via dataCollected events.
2449
+ */
2450
+ addListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
2451
+
2452
+ /**
2453
+ * Issued when attached to a worker.
2454
+ */
2455
+ addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2456
+
2457
+ /**
2458
+ * Issued when detached from the worker.
2459
+ */
2460
+ addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2461
+
2462
+ /**
2463
+ * Notifies about a new protocol message received from the session
2464
+ * (session ID is provided in attachedToWorker notification).
2465
+ */
2466
+ addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2467
+
2468
+ /**
2469
+ * This event is fired instead of `Runtime.executionContextDestroyed` when
2470
+ * enabled.
2471
+ * It is fired when the Node process finished all code execution and is
2472
+ * waiting for all frontends to disconnect.
2473
+ */
2474
+ addListener(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this;
2475
+
2476
+ 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
+
2505
+ on(event: string, listener: (...args: any[]) => void): this;
2506
+
2507
+ /**
2508
+ * Emitted when any notification from the V8 Inspector is received.
2509
+ */
2510
+ on(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this;
2511
+
2512
+ /**
2513
+ * Issued when new execution context is created.
2514
+ */
2515
+ on(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2516
+
2517
+ /**
2518
+ * Issued when execution context is destroyed.
2519
+ */
2520
+ on(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2521
+
2522
+ /**
2523
+ * Issued when all executionContexts were cleared in browser
2524
+ */
2525
+ on(event: "Runtime.executionContextsCleared", listener: () => void): this;
2526
+
2527
+ /**
2528
+ * Issued when exception was thrown and unhandled.
2529
+ */
2530
+ on(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2531
+
2532
+ /**
2533
+ * Issued when unhandled exception was revoked.
2534
+ */
2535
+ on(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2536
+
2537
+ /**
2538
+ * Issued when console API was called.
2539
+ */
2540
+ on(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2541
+
2542
+ /**
2543
+ * Issued when object should be inspected (for example, as a result of inspect() command line API call).
2544
+ */
2545
+ on(event: "Runtime.inspectRequested", listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2546
+
2547
+ /**
2548
+ * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
2549
+ */
2550
+ on(event: "Debugger.scriptParsed", listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2551
+
2552
+ /**
2553
+ * Fired when virtual machine fails to parse the script.
2554
+ */
2555
+ on(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2556
+
2557
+ /**
2558
+ * Fired when breakpoint is resolved to an actual script and location.
2559
+ */
2560
+ on(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2561
+
2562
+ /**
2563
+ * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
2564
+ */
2565
+ on(event: "Debugger.paused", listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2566
+
2567
+ /**
2568
+ * Fired when the virtual machine resumed execution.
2569
+ */
2570
+ on(event: "Debugger.resumed", listener: () => void): this;
2571
+
2572
+ /**
2573
+ * Issued when new console message is added.
2574
+ */
2575
+ on(event: "Console.messageAdded", listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2576
+
2577
+ /**
2578
+ * Sent when new profile recording is started using console.profile() call.
2579
+ */
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
+
2587
+ /**
2588
+ * 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
+ */
2590
+ on(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2591
+
2592
+ /**
2593
+ * If heap objects tracking has been started then backend may send update for one or more fragments
2594
+ */
2595
+ on(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2596
+
2597
+ /**
2598
+ * Contains an bucket of collected trace events.
2599
+ */
2600
+ on(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2601
+
2602
+ /**
2603
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2604
+ * delivered via dataCollected events.
2605
+ */
2606
+ on(event: "NodeTracing.tracingComplete", listener: () => void): this;
2607
+
2608
+ /**
2609
+ * Issued when attached to a worker.
2610
+ */
2611
+ on(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2612
+
2613
+ /**
2614
+ * Issued when detached from the worker.
2615
+ */
2616
+ on(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2617
+
2618
+ /**
2619
+ * Notifies about a new protocol message received from the session
2620
+ * (session ID is provided in attachedToWorker notification).
2621
+ */
2622
+ on(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2623
+
2624
+ /**
2625
+ * This event is fired instead of `Runtime.executionContextDestroyed` when
2626
+ * enabled.
2627
+ * It is fired when the Node process finished all code execution and is
2628
+ * waiting for all frontends to disconnect.
2629
+ */
2630
+ on(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this;
2631
+
2632
+ once(event: string, listener: (...args: any[]) => void): this;
2633
+
2634
+ /**
2635
+ * Emitted when any notification from the V8 Inspector is received.
2636
+ */
2637
+ once(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this;
2638
+
2639
+ /**
2640
+ * Issued when new execution context is created.
2641
+ */
2642
+ once(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2643
+
2644
+ /**
2645
+ * Issued when execution context is destroyed.
2646
+ */
2647
+ once(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2648
+
2649
+ /**
2650
+ * Issued when all executionContexts were cleared in browser
2651
+ */
2652
+ once(event: "Runtime.executionContextsCleared", listener: () => void): this;
2653
+
2654
+ /**
2655
+ * Issued when exception was thrown and unhandled.
2656
+ */
2657
+ once(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2658
+
2659
+ /**
2660
+ * Issued when unhandled exception was revoked.
2661
+ */
2662
+ once(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2663
+
2664
+ /**
2665
+ * Issued when console API was called.
2666
+ */
2667
+ once(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2668
+
2669
+ /**
2670
+ * Issued when object should be inspected (for example, as a result of inspect() command line API call).
2671
+ */
2672
+ once(event: "Runtime.inspectRequested", listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2673
+
2674
+ /**
2675
+ * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
2676
+ */
2677
+ once(event: "Debugger.scriptParsed", listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2678
+
2679
+ /**
2680
+ * Fired when virtual machine fails to parse the script.
2681
+ */
2682
+ once(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2683
+
2684
+ /**
2685
+ * Fired when breakpoint is resolved to an actual script and location.
2686
+ */
2687
+ once(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2688
+
2689
+ /**
2690
+ * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
2691
+ */
2692
+ once(event: "Debugger.paused", listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2693
+
2694
+ /**
2695
+ * Fired when the virtual machine resumed execution.
2696
+ */
2697
+ once(event: "Debugger.resumed", listener: () => void): this;
2698
+
2699
+ /**
2700
+ * Issued when new console message is added.
2701
+ */
2702
+ once(event: "Console.messageAdded", listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2703
+
2704
+ /**
2705
+ * Sent when new profile recording is started using console.profile() call.
2706
+ */
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
+
2714
+ /**
2715
+ * 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
+ */
2717
+ once(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2718
+
2719
+ /**
2720
+ * If heap objects tracking has been started then backend may send update for one or more fragments
2721
+ */
2722
+ once(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2723
+
2724
+ /**
2725
+ * Contains an bucket of collected trace events.
2726
+ */
2727
+ once(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2728
+
2729
+ /**
2730
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2731
+ * delivered via dataCollected events.
2732
+ */
2733
+ once(event: "NodeTracing.tracingComplete", listener: () => void): this;
2734
+
2735
+ /**
2736
+ * Issued when attached to a worker.
2737
+ */
2738
+ once(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2739
+
2740
+ /**
2741
+ * Issued when detached from the worker.
2742
+ */
2743
+ once(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2744
+
2745
+ /**
2746
+ * Notifies about a new protocol message received from the session
2747
+ * (session ID is provided in attachedToWorker notification).
2748
+ */
2749
+ once(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2750
+
2751
+ /**
2752
+ * This event is fired instead of `Runtime.executionContextDestroyed` when
2753
+ * enabled.
2754
+ * It is fired when the Node process finished all code execution and is
2755
+ * waiting for all frontends to disconnect.
2756
+ */
2757
+ once(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this;
2758
+
2759
+ prependListener(event: string, listener: (...args: any[]) => void): this;
2760
+
2761
+ /**
2762
+ * Emitted when any notification from the V8 Inspector is received.
2763
+ */
2764
+ prependListener(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this;
2765
+
2766
+ /**
2767
+ * Issued when new execution context is created.
2768
+ */
2769
+ prependListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2770
+
2771
+ /**
2772
+ * Issued when execution context is destroyed.
2773
+ */
2774
+ prependListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2775
+
2776
+ /**
2777
+ * Issued when all executionContexts were cleared in browser
2778
+ */
2779
+ prependListener(event: "Runtime.executionContextsCleared", listener: () => void): this;
2780
+
2781
+ /**
2782
+ * Issued when exception was thrown and unhandled.
2783
+ */
2784
+ prependListener(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2785
+
2786
+ /**
2787
+ * Issued when unhandled exception was revoked.
2788
+ */
2789
+ prependListener(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2790
+
2791
+ /**
2792
+ * Issued when console API was called.
2793
+ */
2794
+ prependListener(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2795
+
2796
+ /**
2797
+ * Issued when object should be inspected (for example, as a result of inspect() command line API call).
2798
+ */
2799
+ prependListener(event: "Runtime.inspectRequested", listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2800
+
2801
+ /**
2802
+ * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
2803
+ */
2804
+ prependListener(event: "Debugger.scriptParsed", listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2805
+
2806
+ /**
2807
+ * Fired when virtual machine fails to parse the script.
2808
+ */
2809
+ prependListener(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2810
+
2811
+ /**
2812
+ * Fired when breakpoint is resolved to an actual script and location.
2813
+ */
2814
+ prependListener(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2815
+
2816
+ /**
2817
+ * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
2818
+ */
2819
+ prependListener(event: "Debugger.paused", listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2820
+
2821
+ /**
2822
+ * Fired when the virtual machine resumed execution.
2823
+ */
2824
+ prependListener(event: "Debugger.resumed", listener: () => void): this;
2825
+
2826
+ /**
2827
+ * Issued when new console message is added.
2828
+ */
2829
+ prependListener(event: "Console.messageAdded", listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2830
+
2831
+ /**
2832
+ * Sent when new profile recording is started using console.profile() call.
2833
+ */
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
+
2841
+ /**
2842
+ * 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
+ */
2844
+ prependListener(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2845
+
2846
+ /**
2847
+ * If heap objects tracking has been started then backend may send update for one or more fragments
2848
+ */
2849
+ prependListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2850
+
2851
+ /**
2852
+ * Contains an bucket of collected trace events.
2853
+ */
2854
+ prependListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2855
+
2856
+ /**
2857
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2858
+ * delivered via dataCollected events.
2859
+ */
2860
+ prependListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
2861
+
2862
+ /**
2863
+ * Issued when attached to a worker.
2864
+ */
2865
+ prependListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2866
+
2867
+ /**
2868
+ * Issued when detached from the worker.
2869
+ */
2870
+ prependListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2871
+
2872
+ /**
2873
+ * Notifies about a new protocol message received from the session
2874
+ * (session ID is provided in attachedToWorker notification).
2875
+ */
2876
+ prependListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2877
+
2878
+ /**
2879
+ * This event is fired instead of `Runtime.executionContextDestroyed` when
2880
+ * enabled.
2881
+ * It is fired when the Node process finished all code execution and is
2882
+ * waiting for all frontends to disconnect.
2883
+ */
2884
+ prependListener(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this;
2885
+
2886
+ prependOnceListener(event: string, listener: (...args: any[]) => void): this;
2887
+
2888
+ /**
2889
+ * Emitted when any notification from the V8 Inspector is received.
2890
+ */
2891
+ prependOnceListener(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this;
2892
+
2893
+ /**
2894
+ * Issued when new execution context is created.
2895
+ */
2896
+ prependOnceListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2897
+
2898
+ /**
2899
+ * Issued when execution context is destroyed.
2900
+ */
2901
+ prependOnceListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
2902
+
2903
+ /**
2904
+ * Issued when all executionContexts were cleared in browser
2905
+ */
2906
+ prependOnceListener(event: "Runtime.executionContextsCleared", listener: () => void): this;
2907
+
2908
+ /**
2909
+ * Issued when exception was thrown and unhandled.
2910
+ */
2911
+ prependOnceListener(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification<Runtime.ExceptionThrownEventDataType>) => void): this;
2912
+
2913
+ /**
2914
+ * Issued when unhandled exception was revoked.
2915
+ */
2916
+ prependOnceListener(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification<Runtime.ExceptionRevokedEventDataType>) => void): this;
2917
+
2918
+ /**
2919
+ * Issued when console API was called.
2920
+ */
2921
+ prependOnceListener(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
2922
+
2923
+ /**
2924
+ * Issued when object should be inspected (for example, as a result of inspect() command line API call).
2925
+ */
2926
+ prependOnceListener(event: "Runtime.inspectRequested", listener: (message: InspectorNotification<Runtime.InspectRequestedEventDataType>) => void): this;
2927
+
2928
+ /**
2929
+ * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
2930
+ */
2931
+ prependOnceListener(event: "Debugger.scriptParsed", listener: (message: InspectorNotification<Debugger.ScriptParsedEventDataType>) => void): this;
2932
+
2933
+ /**
2934
+ * Fired when virtual machine fails to parse the script.
2935
+ */
2936
+ prependOnceListener(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification<Debugger.ScriptFailedToParseEventDataType>) => void): this;
2937
+
2938
+ /**
2939
+ * Fired when breakpoint is resolved to an actual script and location.
2940
+ */
2941
+ prependOnceListener(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification<Debugger.BreakpointResolvedEventDataType>) => void): this;
2942
+
2943
+ /**
2944
+ * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
2945
+ */
2946
+ prependOnceListener(event: "Debugger.paused", listener: (message: InspectorNotification<Debugger.PausedEventDataType>) => void): this;
2947
+
2948
+ /**
2949
+ * Fired when the virtual machine resumed execution.
2950
+ */
2951
+ prependOnceListener(event: "Debugger.resumed", listener: () => void): this;
2952
+
2953
+ /**
2954
+ * Issued when new console message is added.
2955
+ */
2956
+ prependOnceListener(event: "Console.messageAdded", listener: (message: InspectorNotification<Console.MessageAddedEventDataType>) => void): this;
2957
+
2958
+ /**
2959
+ * Sent when new profile recording is started using console.profile() call.
2960
+ */
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
+
2968
+ /**
2969
+ * 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
+ */
2971
+ prependOnceListener(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>) => void): this;
2972
+
2973
+ /**
2974
+ * If heap objects tracking has been started then backend may send update for one or more fragments
2975
+ */
2976
+ prependOnceListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
2977
+
2978
+ /**
2979
+ * Contains an bucket of collected trace events.
2980
+ */
2981
+ prependOnceListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2982
+
2983
+ /**
2984
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2985
+ * delivered via dataCollected events.
2986
+ */
2987
+ prependOnceListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
2988
+
2989
+ /**
2990
+ * Issued when attached to a worker.
2991
+ */
2992
+ prependOnceListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2993
+
2994
+ /**
2995
+ * Issued when detached from the worker.
2996
+ */
2997
+ prependOnceListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2998
+
2999
+ /**
3000
+ * Notifies about a new protocol message received from the session
3001
+ * (session ID is provided in attachedToWorker notification).
3002
+ */
3003
+ prependOnceListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
3004
+
3005
+ /**
3006
+ * This event is fired instead of `Runtime.executionContextDestroyed` when
3007
+ * enabled.
3008
+ * It is fired when the Node process finished all code execution and is
3009
+ * waiting for all frontends to disconnect.
3010
+ */
3011
+ prependOnceListener(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this;
3012
+ }
3013
+
3014
+ // Top Level API
3015
+
3016
+ /**
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.
3022
+ */
3023
+ function open(port?: number, host?: string, wait?: boolean): void;
3024
+
3025
+ /**
3026
+ * Deactivate the inspector. Blocks until there are no active connections.
3027
+ */
3028
+ function close(): void;
3029
+
3030
+ /**
3031
+ * Return the URL of the active inspector, or `undefined` if there is none.
3032
+ */
3033
+ function url(): string | undefined;
3034
+
3035
+ /**
3036
+ * Blocks until a client (existing or connected later) has sent
3037
+ * `Runtime.runIfWaitingForDebugger` command.
3038
+ * An exception will be thrown if there is no active inspector.
3039
+ */
3040
+ function waitForDebugger(): void;
3041
+ }