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