@types/node 25.3.5 → 25.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- node/README.md +1 -1
- node/assert.d.ts +2 -2
- node/child_process.d.ts +5 -0
- node/events.d.ts +6 -13
- node/http.d.ts +21 -0
- node/inspector.generated.d.ts +428 -415
- node/module.d.ts +0 -62
- node/net.d.ts +4 -4
- node/package.json +2 -2
- node/process.d.ts +18 -0
- node/readline.d.ts +1 -0
- node/sqlite.d.ts +103 -16
- node/stream.d.ts +15 -5
- node/test.d.ts +42 -19
- node/tls.d.ts +6 -2
- node/url.d.ts +22 -0
- node/util.d.ts +27 -2
- node/v8.d.ts +0 -1
- node/worker_threads.d.ts +2 -2
node/inspector.generated.d.ts
CHANGED
|
@@ -1620,79 +1620,38 @@ declare module "node:inspector" {
|
|
|
1620
1620
|
statsUpdate: number[];
|
|
1621
1621
|
}
|
|
1622
1622
|
}
|
|
1623
|
-
namespace
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
* Controls how the trace buffer stores data.
|
|
1627
|
-
*/
|
|
1628
|
-
recordMode?: string | undefined;
|
|
1629
|
-
/**
|
|
1630
|
-
* Included category filters.
|
|
1631
|
-
*/
|
|
1632
|
-
includedCategories: string[];
|
|
1633
|
-
}
|
|
1634
|
-
interface StartParameterType {
|
|
1635
|
-
traceConfig: TraceConfig;
|
|
1636
|
-
}
|
|
1637
|
-
interface GetCategoriesReturnType {
|
|
1623
|
+
namespace IO {
|
|
1624
|
+
type StreamHandle = string;
|
|
1625
|
+
interface ReadParameterType {
|
|
1638
1626
|
/**
|
|
1639
|
-
*
|
|
1627
|
+
* Handle of the stream to read.
|
|
1640
1628
|
*/
|
|
1641
|
-
|
|
1642
|
-
}
|
|
1643
|
-
interface DataCollectedEventDataType {
|
|
1644
|
-
value: object[];
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
1647
|
-
namespace NodeWorker {
|
|
1648
|
-
type WorkerID = string;
|
|
1649
|
-
/**
|
|
1650
|
-
* Unique identifier of attached debugging session.
|
|
1651
|
-
*/
|
|
1652
|
-
type SessionID = string;
|
|
1653
|
-
interface WorkerInfo {
|
|
1654
|
-
workerId: WorkerID;
|
|
1655
|
-
type: string;
|
|
1656
|
-
title: string;
|
|
1657
|
-
url: string;
|
|
1658
|
-
}
|
|
1659
|
-
interface SendMessageToWorkerParameterType {
|
|
1660
|
-
message: string;
|
|
1629
|
+
handle: StreamHandle;
|
|
1661
1630
|
/**
|
|
1662
|
-
*
|
|
1631
|
+
* Seek to the specified offset before reading (if not specified, proceed with offset
|
|
1632
|
+
* following the last read). Some types of streams may only support sequential reads.
|
|
1663
1633
|
*/
|
|
1664
|
-
|
|
1665
|
-
}
|
|
1666
|
-
interface EnableParameterType {
|
|
1634
|
+
offset?: number | undefined;
|
|
1667
1635
|
/**
|
|
1668
|
-
*
|
|
1669
|
-
* message to run them.
|
|
1636
|
+
* Maximum number of bytes to read (left upon the agent discretion if not specified).
|
|
1670
1637
|
*/
|
|
1671
|
-
|
|
1672
|
-
}
|
|
1673
|
-
interface DetachParameterType {
|
|
1674
|
-
sessionId: SessionID;
|
|
1638
|
+
size?: number | undefined;
|
|
1675
1639
|
}
|
|
1676
|
-
interface
|
|
1640
|
+
interface CloseParameterType {
|
|
1677
1641
|
/**
|
|
1678
|
-
*
|
|
1642
|
+
* Handle of the stream to close.
|
|
1679
1643
|
*/
|
|
1680
|
-
|
|
1681
|
-
workerInfo: WorkerInfo;
|
|
1682
|
-
waitingForDebugger: boolean;
|
|
1644
|
+
handle: StreamHandle;
|
|
1683
1645
|
}
|
|
1684
|
-
interface
|
|
1646
|
+
interface ReadReturnType {
|
|
1685
1647
|
/**
|
|
1686
|
-
*
|
|
1648
|
+
* Data that were read.
|
|
1687
1649
|
*/
|
|
1688
|
-
|
|
1689
|
-
}
|
|
1690
|
-
interface ReceivedMessageFromWorkerEventDataType {
|
|
1650
|
+
data: string;
|
|
1691
1651
|
/**
|
|
1692
|
-
*
|
|
1652
|
+
* Set if the end-of-file condition occurred while reading.
|
|
1693
1653
|
*/
|
|
1694
|
-
|
|
1695
|
-
message: string;
|
|
1654
|
+
eof: boolean;
|
|
1696
1655
|
}
|
|
1697
1656
|
}
|
|
1698
1657
|
namespace Network {
|
|
@@ -1790,6 +1749,18 @@ declare module "node:inspector" {
|
|
|
1790
1749
|
*/
|
|
1791
1750
|
headers: Headers;
|
|
1792
1751
|
}
|
|
1752
|
+
interface EnableParameterType {
|
|
1753
|
+
/**
|
|
1754
|
+
* Buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
|
1755
|
+
* @experimental
|
|
1756
|
+
*/
|
|
1757
|
+
maxTotalBufferSize?: number | undefined;
|
|
1758
|
+
/**
|
|
1759
|
+
* Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
|
1760
|
+
* @experimental
|
|
1761
|
+
*/
|
|
1762
|
+
maxResourceBufferSize?: number | undefined;
|
|
1763
|
+
}
|
|
1793
1764
|
interface GetRequestPostDataParameterType {
|
|
1794
1765
|
/**
|
|
1795
1766
|
* Identifier of the network request to get content for.
|
|
@@ -1974,6 +1945,81 @@ declare module "node:inspector" {
|
|
|
1974
1945
|
enabled: boolean;
|
|
1975
1946
|
}
|
|
1976
1947
|
}
|
|
1948
|
+
namespace NodeTracing {
|
|
1949
|
+
interface TraceConfig {
|
|
1950
|
+
/**
|
|
1951
|
+
* Controls how the trace buffer stores data.
|
|
1952
|
+
*/
|
|
1953
|
+
recordMode?: string | undefined;
|
|
1954
|
+
/**
|
|
1955
|
+
* Included category filters.
|
|
1956
|
+
*/
|
|
1957
|
+
includedCategories: string[];
|
|
1958
|
+
}
|
|
1959
|
+
interface StartParameterType {
|
|
1960
|
+
traceConfig: TraceConfig;
|
|
1961
|
+
}
|
|
1962
|
+
interface GetCategoriesReturnType {
|
|
1963
|
+
/**
|
|
1964
|
+
* A list of supported tracing categories.
|
|
1965
|
+
*/
|
|
1966
|
+
categories: string[];
|
|
1967
|
+
}
|
|
1968
|
+
interface DataCollectedEventDataType {
|
|
1969
|
+
value: object[];
|
|
1970
|
+
}
|
|
1971
|
+
}
|
|
1972
|
+
namespace NodeWorker {
|
|
1973
|
+
type WorkerID = string;
|
|
1974
|
+
/**
|
|
1975
|
+
* Unique identifier of attached debugging session.
|
|
1976
|
+
*/
|
|
1977
|
+
type SessionID = string;
|
|
1978
|
+
interface WorkerInfo {
|
|
1979
|
+
workerId: WorkerID;
|
|
1980
|
+
type: string;
|
|
1981
|
+
title: string;
|
|
1982
|
+
url: string;
|
|
1983
|
+
}
|
|
1984
|
+
interface SendMessageToWorkerParameterType {
|
|
1985
|
+
message: string;
|
|
1986
|
+
/**
|
|
1987
|
+
* Identifier of the session.
|
|
1988
|
+
*/
|
|
1989
|
+
sessionId: SessionID;
|
|
1990
|
+
}
|
|
1991
|
+
interface EnableParameterType {
|
|
1992
|
+
/**
|
|
1993
|
+
* Whether to new workers should be paused until the frontend sends `Runtime.runIfWaitingForDebugger`
|
|
1994
|
+
* message to run them.
|
|
1995
|
+
*/
|
|
1996
|
+
waitForDebuggerOnStart: boolean;
|
|
1997
|
+
}
|
|
1998
|
+
interface DetachParameterType {
|
|
1999
|
+
sessionId: SessionID;
|
|
2000
|
+
}
|
|
2001
|
+
interface AttachedToWorkerEventDataType {
|
|
2002
|
+
/**
|
|
2003
|
+
* Identifier assigned to the session used to send/receive messages.
|
|
2004
|
+
*/
|
|
2005
|
+
sessionId: SessionID;
|
|
2006
|
+
workerInfo: WorkerInfo;
|
|
2007
|
+
waitingForDebugger: boolean;
|
|
2008
|
+
}
|
|
2009
|
+
interface DetachedFromWorkerEventDataType {
|
|
2010
|
+
/**
|
|
2011
|
+
* Detached session identifier.
|
|
2012
|
+
*/
|
|
2013
|
+
sessionId: SessionID;
|
|
2014
|
+
}
|
|
2015
|
+
interface ReceivedMessageFromWorkerEventDataType {
|
|
2016
|
+
/**
|
|
2017
|
+
* Identifier of a session which sends a message.
|
|
2018
|
+
*/
|
|
2019
|
+
sessionId: SessionID;
|
|
2020
|
+
message: string;
|
|
2021
|
+
}
|
|
2022
|
+
}
|
|
1977
2023
|
namespace Target {
|
|
1978
2024
|
type SessionID = string;
|
|
1979
2025
|
type TargetID = string;
|
|
@@ -1998,40 +2044,6 @@ declare module "node:inspector" {
|
|
|
1998
2044
|
waitingForDebugger: boolean;
|
|
1999
2045
|
}
|
|
2000
2046
|
}
|
|
2001
|
-
namespace IO {
|
|
2002
|
-
type StreamHandle = string;
|
|
2003
|
-
interface ReadParameterType {
|
|
2004
|
-
/**
|
|
2005
|
-
* Handle of the stream to read.
|
|
2006
|
-
*/
|
|
2007
|
-
handle: StreamHandle;
|
|
2008
|
-
/**
|
|
2009
|
-
* Seek to the specified offset before reading (if not specified, proceed with offset
|
|
2010
|
-
* following the last read). Some types of streams may only support sequential reads.
|
|
2011
|
-
*/
|
|
2012
|
-
offset?: number | undefined;
|
|
2013
|
-
/**
|
|
2014
|
-
* Maximum number of bytes to read (left upon the agent discretion if not specified).
|
|
2015
|
-
*/
|
|
2016
|
-
size?: number | undefined;
|
|
2017
|
-
}
|
|
2018
|
-
interface CloseParameterType {
|
|
2019
|
-
/**
|
|
2020
|
-
* Handle of the stream to close.
|
|
2021
|
-
*/
|
|
2022
|
-
handle: StreamHandle;
|
|
2023
|
-
}
|
|
2024
|
-
interface ReadReturnType {
|
|
2025
|
-
/**
|
|
2026
|
-
* Data that were read.
|
|
2027
|
-
*/
|
|
2028
|
-
data: string;
|
|
2029
|
-
/**
|
|
2030
|
-
* Set if the end-of-file condition occurred while reading.
|
|
2031
|
-
*/
|
|
2032
|
-
eof: boolean;
|
|
2033
|
-
}
|
|
2034
|
-
}
|
|
2035
2047
|
interface Session {
|
|
2036
2048
|
/**
|
|
2037
2049
|
* Posts a message to the inspector back-end. `callback` will be notified when
|
|
@@ -2337,39 +2349,12 @@ declare module "node:inspector" {
|
|
|
2337
2349
|
post(method: "HeapProfiler.stopSampling", callback?: (err: Error | null, params: HeapProfiler.StopSamplingReturnType) => void): void;
|
|
2338
2350
|
post(method: "HeapProfiler.getSamplingProfile", callback?: (err: Error | null, params: HeapProfiler.GetSamplingProfileReturnType) => void): void;
|
|
2339
2351
|
/**
|
|
2340
|
-
*
|
|
2341
|
-
*/
|
|
2342
|
-
post(method: "NodeTracing.getCategories", callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void;
|
|
2343
|
-
/**
|
|
2344
|
-
* Start trace events collection.
|
|
2345
|
-
*/
|
|
2346
|
-
post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void;
|
|
2347
|
-
post(method: "NodeTracing.start", callback?: (err: Error | null) => void): void;
|
|
2348
|
-
/**
|
|
2349
|
-
* Stop trace events collection. Remaining collected events will be sent as a sequence of
|
|
2350
|
-
* dataCollected events followed by tracingComplete event.
|
|
2351
|
-
*/
|
|
2352
|
-
post(method: "NodeTracing.stop", callback?: (err: Error | null) => void): void;
|
|
2353
|
-
/**
|
|
2354
|
-
* Sends protocol message over session with given id.
|
|
2355
|
-
*/
|
|
2356
|
-
post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void;
|
|
2357
|
-
post(method: "NodeWorker.sendMessageToWorker", callback?: (err: Error | null) => void): void;
|
|
2358
|
-
/**
|
|
2359
|
-
* Instructs the inspector to attach to running workers. Will also attach to new workers
|
|
2360
|
-
* as they start
|
|
2361
|
-
*/
|
|
2362
|
-
post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void;
|
|
2363
|
-
post(method: "NodeWorker.enable", callback?: (err: Error | null) => void): void;
|
|
2364
|
-
/**
|
|
2365
|
-
* Detaches from all running workers and disables attaching to new workers as they are started.
|
|
2366
|
-
*/
|
|
2367
|
-
post(method: "NodeWorker.disable", callback?: (err: Error | null) => void): void;
|
|
2368
|
-
/**
|
|
2369
|
-
* Detached from the worker with given sessionId.
|
|
2352
|
+
* Read a chunk of the stream
|
|
2370
2353
|
*/
|
|
2371
|
-
post(method: "
|
|
2372
|
-
post(method: "
|
|
2354
|
+
post(method: "IO.read", params?: IO.ReadParameterType, callback?: (err: Error | null, params: IO.ReadReturnType) => void): void;
|
|
2355
|
+
post(method: "IO.read", callback?: (err: Error | null, params: IO.ReadReturnType) => void): void;
|
|
2356
|
+
post(method: "IO.close", params?: IO.CloseParameterType, callback?: (err: Error | null) => void): void;
|
|
2357
|
+
post(method: "IO.close", callback?: (err: Error | null) => void): void;
|
|
2373
2358
|
/**
|
|
2374
2359
|
* Disables network tracking, prevents network events from being sent to the client.
|
|
2375
2360
|
*/
|
|
@@ -2377,6 +2362,7 @@ declare module "node:inspector" {
|
|
|
2377
2362
|
/**
|
|
2378
2363
|
* Enables network tracking, network events will now be delivered to the client.
|
|
2379
2364
|
*/
|
|
2365
|
+
post(method: "Network.enable", params?: Network.EnableParameterType, callback?: (err: Error | null) => void): void;
|
|
2380
2366
|
post(method: "Network.enable", callback?: (err: Error | null) => void): void;
|
|
2381
2367
|
/**
|
|
2382
2368
|
* Returns post data sent with the request. Returns an error when no data was sent with the request.
|
|
@@ -2417,28 +2403,55 @@ declare module "node:inspector" {
|
|
|
2417
2403
|
*/
|
|
2418
2404
|
post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void;
|
|
2419
2405
|
post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", callback?: (err: Error | null) => void): void;
|
|
2420
|
-
post(method: "Target.setAutoAttach", params?: Target.SetAutoAttachParameterType, callback?: (err: Error | null) => void): void;
|
|
2421
|
-
post(method: "Target.setAutoAttach", callback?: (err: Error | null) => void): void;
|
|
2422
2406
|
/**
|
|
2423
|
-
*
|
|
2407
|
+
* Gets supported tracing categories.
|
|
2424
2408
|
*/
|
|
2425
|
-
post(method: "
|
|
2426
|
-
post(method: "IO.read", callback?: (err: Error | null, params: IO.ReadReturnType) => void): void;
|
|
2427
|
-
post(method: "IO.close", params?: IO.CloseParameterType, callback?: (err: Error | null) => void): void;
|
|
2428
|
-
post(method: "IO.close", callback?: (err: Error | null) => void): void;
|
|
2429
|
-
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
2409
|
+
post(method: "NodeTracing.getCategories", callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void;
|
|
2430
2410
|
/**
|
|
2431
|
-
*
|
|
2411
|
+
* Start trace events collection.
|
|
2432
2412
|
*/
|
|
2433
|
-
|
|
2413
|
+
post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void;
|
|
2414
|
+
post(method: "NodeTracing.start", callback?: (err: Error | null) => void): void;
|
|
2434
2415
|
/**
|
|
2435
|
-
*
|
|
2416
|
+
* Stop trace events collection. Remaining collected events will be sent as a sequence of
|
|
2417
|
+
* dataCollected events followed by tracingComplete event.
|
|
2436
2418
|
*/
|
|
2437
|
-
|
|
2419
|
+
post(method: "NodeTracing.stop", callback?: (err: Error | null) => void): void;
|
|
2438
2420
|
/**
|
|
2439
|
-
*
|
|
2421
|
+
* Sends protocol message over session with given id.
|
|
2440
2422
|
*/
|
|
2441
|
-
|
|
2423
|
+
post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void;
|
|
2424
|
+
post(method: "NodeWorker.sendMessageToWorker", callback?: (err: Error | null) => void): void;
|
|
2425
|
+
/**
|
|
2426
|
+
* Instructs the inspector to attach to running workers. Will also attach to new workers
|
|
2427
|
+
* as they start
|
|
2428
|
+
*/
|
|
2429
|
+
post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void;
|
|
2430
|
+
post(method: "NodeWorker.enable", callback?: (err: Error | null) => void): void;
|
|
2431
|
+
/**
|
|
2432
|
+
* Detaches from all running workers and disables attaching to new workers as they are started.
|
|
2433
|
+
*/
|
|
2434
|
+
post(method: "NodeWorker.disable", callback?: (err: Error | null) => void): void;
|
|
2435
|
+
/**
|
|
2436
|
+
* Detached from the worker with given sessionId.
|
|
2437
|
+
*/
|
|
2438
|
+
post(method: "NodeWorker.detach", params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void;
|
|
2439
|
+
post(method: "NodeWorker.detach", callback?: (err: Error | null) => void): void;
|
|
2440
|
+
post(method: "Target.setAutoAttach", params?: Target.SetAutoAttachParameterType, callback?: (err: Error | null) => void): void;
|
|
2441
|
+
post(method: "Target.setAutoAttach", callback?: (err: Error | null) => void): void;
|
|
2442
|
+
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
2443
|
+
/**
|
|
2444
|
+
* Emitted when any notification from the V8 Inspector is received.
|
|
2445
|
+
*/
|
|
2446
|
+
addListener(event: "inspectorNotification", listener: (message: InspectorNotification<object>) => void): this;
|
|
2447
|
+
/**
|
|
2448
|
+
* Issued when new execution context is created.
|
|
2449
|
+
*/
|
|
2450
|
+
addListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
|
|
2451
|
+
/**
|
|
2452
|
+
* Issued when execution context is destroyed.
|
|
2453
|
+
*/
|
|
2454
|
+
addListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
|
|
2442
2455
|
/**
|
|
2443
2456
|
* Issued when all executionContexts were cleared in browser
|
|
2444
2457
|
*/
|
|
@@ -2499,28 +2512,6 @@ declare module "node:inspector" {
|
|
|
2499
2512
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
2500
2513
|
*/
|
|
2501
2514
|
addListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
2502
|
-
/**
|
|
2503
|
-
* Contains an bucket of collected trace events.
|
|
2504
|
-
*/
|
|
2505
|
-
addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
2506
|
-
/**
|
|
2507
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
2508
|
-
* delivered via dataCollected events.
|
|
2509
|
-
*/
|
|
2510
|
-
addListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
2511
|
-
/**
|
|
2512
|
-
* Issued when attached to a worker.
|
|
2513
|
-
*/
|
|
2514
|
-
addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
2515
|
-
/**
|
|
2516
|
-
* Issued when detached from the worker.
|
|
2517
|
-
*/
|
|
2518
|
-
addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
2519
|
-
/**
|
|
2520
|
-
* Notifies about a new protocol message received from the session
|
|
2521
|
-
* (session ID is provided in attachedToWorker notification).
|
|
2522
|
-
*/
|
|
2523
|
-
addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
2524
2515
|
/**
|
|
2525
2516
|
* Fired when page is about to send HTTP request.
|
|
2526
2517
|
*/
|
|
@@ -2559,6 +2550,28 @@ declare module "node:inspector" {
|
|
|
2559
2550
|
* example, when inspector.waitingForDebugger is called
|
|
2560
2551
|
*/
|
|
2561
2552
|
addListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
2553
|
+
/**
|
|
2554
|
+
* Contains an bucket of collected trace events.
|
|
2555
|
+
*/
|
|
2556
|
+
addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
2557
|
+
/**
|
|
2558
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
2559
|
+
* delivered via dataCollected events.
|
|
2560
|
+
*/
|
|
2561
|
+
addListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
2562
|
+
/**
|
|
2563
|
+
* Issued when attached to a worker.
|
|
2564
|
+
*/
|
|
2565
|
+
addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
2566
|
+
/**
|
|
2567
|
+
* Issued when detached from the worker.
|
|
2568
|
+
*/
|
|
2569
|
+
addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
2570
|
+
/**
|
|
2571
|
+
* Notifies about a new protocol message received from the session
|
|
2572
|
+
* (session ID is provided in attachedToWorker notification).
|
|
2573
|
+
*/
|
|
2574
|
+
addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
2562
2575
|
addListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2563
2576
|
addListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2564
2577
|
emit(event: string | symbol, ...args: any[]): boolean;
|
|
@@ -2583,11 +2596,6 @@ declare module "node:inspector" {
|
|
|
2583
2596
|
emit(event: "HeapProfiler.reportHeapSnapshotProgress", message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>): boolean;
|
|
2584
2597
|
emit(event: "HeapProfiler.lastSeenObjectId", message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>): boolean;
|
|
2585
2598
|
emit(event: "HeapProfiler.heapStatsUpdate", message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>): boolean;
|
|
2586
|
-
emit(event: "NodeTracing.dataCollected", message: InspectorNotification<NodeTracing.DataCollectedEventDataType>): boolean;
|
|
2587
|
-
emit(event: "NodeTracing.tracingComplete"): boolean;
|
|
2588
|
-
emit(event: "NodeWorker.attachedToWorker", message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>): boolean;
|
|
2589
|
-
emit(event: "NodeWorker.detachedFromWorker", message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>): boolean;
|
|
2590
|
-
emit(event: "NodeWorker.receivedMessageFromWorker", message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>): boolean;
|
|
2591
2599
|
emit(event: "Network.requestWillBeSent", message: InspectorNotification<Network.RequestWillBeSentEventDataType>): boolean;
|
|
2592
2600
|
emit(event: "Network.responseReceived", message: InspectorNotification<Network.ResponseReceivedEventDataType>): boolean;
|
|
2593
2601
|
emit(event: "Network.loadingFailed", message: InspectorNotification<Network.LoadingFailedEventDataType>): boolean;
|
|
@@ -2598,6 +2606,11 @@ declare module "node:inspector" {
|
|
|
2598
2606
|
emit(event: "Network.webSocketHandshakeResponseReceived", message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>): boolean;
|
|
2599
2607
|
emit(event: "NodeRuntime.waitingForDisconnect"): boolean;
|
|
2600
2608
|
emit(event: "NodeRuntime.waitingForDebugger"): boolean;
|
|
2609
|
+
emit(event: "NodeTracing.dataCollected", message: InspectorNotification<NodeTracing.DataCollectedEventDataType>): boolean;
|
|
2610
|
+
emit(event: "NodeTracing.tracingComplete"): boolean;
|
|
2611
|
+
emit(event: "NodeWorker.attachedToWorker", message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>): boolean;
|
|
2612
|
+
emit(event: "NodeWorker.detachedFromWorker", message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>): boolean;
|
|
2613
|
+
emit(event: "NodeWorker.receivedMessageFromWorker", message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>): boolean;
|
|
2601
2614
|
emit(event: "Target.targetCreated", message: InspectorNotification<Target.TargetCreatedEventDataType>): boolean;
|
|
2602
2615
|
emit(event: "Target.attachedToTarget", message: InspectorNotification<Target.AttachedToTargetEventDataType>): boolean;
|
|
2603
2616
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -2673,28 +2686,6 @@ declare module "node:inspector" {
|
|
|
2673
2686
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
2674
2687
|
*/
|
|
2675
2688
|
on(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
2676
|
-
/**
|
|
2677
|
-
* Contains an bucket of collected trace events.
|
|
2678
|
-
*/
|
|
2679
|
-
on(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
2680
|
-
/**
|
|
2681
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
2682
|
-
* delivered via dataCollected events.
|
|
2683
|
-
*/
|
|
2684
|
-
on(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
2685
|
-
/**
|
|
2686
|
-
* Issued when attached to a worker.
|
|
2687
|
-
*/
|
|
2688
|
-
on(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
2689
|
-
/**
|
|
2690
|
-
* Issued when detached from the worker.
|
|
2691
|
-
*/
|
|
2692
|
-
on(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
2693
|
-
/**
|
|
2694
|
-
* Notifies about a new protocol message received from the session
|
|
2695
|
-
* (session ID is provided in attachedToWorker notification).
|
|
2696
|
-
*/
|
|
2697
|
-
on(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
2698
2689
|
/**
|
|
2699
2690
|
* Fired when page is about to send HTTP request.
|
|
2700
2691
|
*/
|
|
@@ -2733,6 +2724,28 @@ declare module "node:inspector" {
|
|
|
2733
2724
|
* example, when inspector.waitingForDebugger is called
|
|
2734
2725
|
*/
|
|
2735
2726
|
on(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
2727
|
+
/**
|
|
2728
|
+
* Contains an bucket of collected trace events.
|
|
2729
|
+
*/
|
|
2730
|
+
on(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
2731
|
+
/**
|
|
2732
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
2733
|
+
* delivered via dataCollected events.
|
|
2734
|
+
*/
|
|
2735
|
+
on(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
2736
|
+
/**
|
|
2737
|
+
* Issued when attached to a worker.
|
|
2738
|
+
*/
|
|
2739
|
+
on(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
2740
|
+
/**
|
|
2741
|
+
* Issued when detached from the worker.
|
|
2742
|
+
*/
|
|
2743
|
+
on(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
2744
|
+
/**
|
|
2745
|
+
* Notifies about a new protocol message received from the session
|
|
2746
|
+
* (session ID is provided in attachedToWorker notification).
|
|
2747
|
+
*/
|
|
2748
|
+
on(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
2736
2749
|
on(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2737
2750
|
on(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2738
2751
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -2808,28 +2821,6 @@ declare module "node:inspector" {
|
|
|
2808
2821
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
2809
2822
|
*/
|
|
2810
2823
|
once(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
2811
|
-
/**
|
|
2812
|
-
* Contains an bucket of collected trace events.
|
|
2813
|
-
*/
|
|
2814
|
-
once(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
2815
|
-
/**
|
|
2816
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
2817
|
-
* delivered via dataCollected events.
|
|
2818
|
-
*/
|
|
2819
|
-
once(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
2820
|
-
/**
|
|
2821
|
-
* Issued when attached to a worker.
|
|
2822
|
-
*/
|
|
2823
|
-
once(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
2824
|
-
/**
|
|
2825
|
-
* Issued when detached from the worker.
|
|
2826
|
-
*/
|
|
2827
|
-
once(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
2828
|
-
/**
|
|
2829
|
-
* Notifies about a new protocol message received from the session
|
|
2830
|
-
* (session ID is provided in attachedToWorker notification).
|
|
2831
|
-
*/
|
|
2832
|
-
once(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
2833
2824
|
/**
|
|
2834
2825
|
* Fired when page is about to send HTTP request.
|
|
2835
2826
|
*/
|
|
@@ -2868,6 +2859,28 @@ declare module "node:inspector" {
|
|
|
2868
2859
|
* example, when inspector.waitingForDebugger is called
|
|
2869
2860
|
*/
|
|
2870
2861
|
once(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
2862
|
+
/**
|
|
2863
|
+
* Contains an bucket of collected trace events.
|
|
2864
|
+
*/
|
|
2865
|
+
once(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
2866
|
+
/**
|
|
2867
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
2868
|
+
* delivered via dataCollected events.
|
|
2869
|
+
*/
|
|
2870
|
+
once(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
2871
|
+
/**
|
|
2872
|
+
* Issued when attached to a worker.
|
|
2873
|
+
*/
|
|
2874
|
+
once(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
2875
|
+
/**
|
|
2876
|
+
* Issued when detached from the worker.
|
|
2877
|
+
*/
|
|
2878
|
+
once(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
2879
|
+
/**
|
|
2880
|
+
* Notifies about a new protocol message received from the session
|
|
2881
|
+
* (session ID is provided in attachedToWorker notification).
|
|
2882
|
+
*/
|
|
2883
|
+
once(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
2871
2884
|
once(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
2872
2885
|
once(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
2873
2886
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -2943,28 +2956,6 @@ declare module "node:inspector" {
|
|
|
2943
2956
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
2944
2957
|
*/
|
|
2945
2958
|
prependListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
2946
|
-
/**
|
|
2947
|
-
* Contains an bucket of collected trace events.
|
|
2948
|
-
*/
|
|
2949
|
-
prependListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
2950
|
-
/**
|
|
2951
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
2952
|
-
* delivered via dataCollected events.
|
|
2953
|
-
*/
|
|
2954
|
-
prependListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
2955
|
-
/**
|
|
2956
|
-
* Issued when attached to a worker.
|
|
2957
|
-
*/
|
|
2958
|
-
prependListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
2959
|
-
/**
|
|
2960
|
-
* Issued when detached from the worker.
|
|
2961
|
-
*/
|
|
2962
|
-
prependListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
2963
|
-
/**
|
|
2964
|
-
* Notifies about a new protocol message received from the session
|
|
2965
|
-
* (session ID is provided in attachedToWorker notification).
|
|
2966
|
-
*/
|
|
2967
|
-
prependListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
2968
2959
|
/**
|
|
2969
2960
|
* Fired when page is about to send HTTP request.
|
|
2970
2961
|
*/
|
|
@@ -3003,6 +2994,28 @@ declare module "node:inspector" {
|
|
|
3003
2994
|
* example, when inspector.waitingForDebugger is called
|
|
3004
2995
|
*/
|
|
3005
2996
|
prependListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
2997
|
+
/**
|
|
2998
|
+
* Contains an bucket of collected trace events.
|
|
2999
|
+
*/
|
|
3000
|
+
prependListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3001
|
+
/**
|
|
3002
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3003
|
+
* delivered via dataCollected events.
|
|
3004
|
+
*/
|
|
3005
|
+
prependListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3006
|
+
/**
|
|
3007
|
+
* Issued when attached to a worker.
|
|
3008
|
+
*/
|
|
3009
|
+
prependListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3010
|
+
/**
|
|
3011
|
+
* Issued when detached from the worker.
|
|
3012
|
+
*/
|
|
3013
|
+
prependListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3014
|
+
/**
|
|
3015
|
+
* Notifies about a new protocol message received from the session
|
|
3016
|
+
* (session ID is provided in attachedToWorker notification).
|
|
3017
|
+
*/
|
|
3018
|
+
prependListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3006
3019
|
prependListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3007
3020
|
prependListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3008
3021
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -3078,28 +3091,6 @@ declare module "node:inspector" {
|
|
|
3078
3091
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
3079
3092
|
*/
|
|
3080
3093
|
prependOnceListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
3081
|
-
/**
|
|
3082
|
-
* Contains an bucket of collected trace events.
|
|
3083
|
-
*/
|
|
3084
|
-
prependOnceListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3085
|
-
/**
|
|
3086
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3087
|
-
* delivered via dataCollected events.
|
|
3088
|
-
*/
|
|
3089
|
-
prependOnceListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3090
|
-
/**
|
|
3091
|
-
* Issued when attached to a worker.
|
|
3092
|
-
*/
|
|
3093
|
-
prependOnceListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3094
|
-
/**
|
|
3095
|
-
* Issued when detached from the worker.
|
|
3096
|
-
*/
|
|
3097
|
-
prependOnceListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3098
|
-
/**
|
|
3099
|
-
* Notifies about a new protocol message received from the session
|
|
3100
|
-
* (session ID is provided in attachedToWorker notification).
|
|
3101
|
-
*/
|
|
3102
|
-
prependOnceListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3103
3094
|
/**
|
|
3104
3095
|
* Fired when page is about to send HTTP request.
|
|
3105
3096
|
*/
|
|
@@ -3138,6 +3129,28 @@ declare module "node:inspector" {
|
|
|
3138
3129
|
* example, when inspector.waitingForDebugger is called
|
|
3139
3130
|
*/
|
|
3140
3131
|
prependOnceListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
3132
|
+
/**
|
|
3133
|
+
* Contains an bucket of collected trace events.
|
|
3134
|
+
*/
|
|
3135
|
+
prependOnceListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3136
|
+
/**
|
|
3137
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3138
|
+
* delivered via dataCollected events.
|
|
3139
|
+
*/
|
|
3140
|
+
prependOnceListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3141
|
+
/**
|
|
3142
|
+
* Issued when attached to a worker.
|
|
3143
|
+
*/
|
|
3144
|
+
prependOnceListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3145
|
+
/**
|
|
3146
|
+
* Issued when detached from the worker.
|
|
3147
|
+
*/
|
|
3148
|
+
prependOnceListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3149
|
+
/**
|
|
3150
|
+
* Notifies about a new protocol message received from the session
|
|
3151
|
+
* (session ID is provided in attachedToWorker notification).
|
|
3152
|
+
*/
|
|
3153
|
+
prependOnceListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3141
3154
|
prependOnceListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3142
3155
|
prependOnceListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3143
3156
|
}
|
|
@@ -3150,12 +3163,12 @@ declare module "node:inspector/promises" {
|
|
|
3150
3163
|
Console,
|
|
3151
3164
|
Profiler,
|
|
3152
3165
|
HeapProfiler,
|
|
3153
|
-
|
|
3154
|
-
NodeWorker,
|
|
3166
|
+
IO,
|
|
3155
3167
|
Network,
|
|
3156
3168
|
NodeRuntime,
|
|
3169
|
+
NodeTracing,
|
|
3170
|
+
NodeWorker,
|
|
3157
3171
|
Target,
|
|
3158
|
-
IO,
|
|
3159
3172
|
} from 'inspector';
|
|
3160
3173
|
}
|
|
3161
3174
|
declare module "node:inspector/promises" {
|
|
@@ -3167,12 +3180,12 @@ declare module "node:inspector/promises" {
|
|
|
3167
3180
|
Console,
|
|
3168
3181
|
Profiler,
|
|
3169
3182
|
HeapProfiler,
|
|
3170
|
-
|
|
3171
|
-
NodeWorker,
|
|
3183
|
+
IO,
|
|
3172
3184
|
Network,
|
|
3173
3185
|
NodeRuntime,
|
|
3186
|
+
NodeTracing,
|
|
3187
|
+
NodeWorker,
|
|
3174
3188
|
Target,
|
|
3175
|
-
IO,
|
|
3176
3189
|
} from "inspector";
|
|
3177
3190
|
/**
|
|
3178
3191
|
* The `inspector.Session` is used for dispatching messages to the V8 inspector
|
|
@@ -3435,79 +3448,79 @@ declare module "node:inspector/promises" {
|
|
|
3435
3448
|
post(method: "HeapProfiler.stopSampling"): Promise<HeapProfiler.StopSamplingReturnType>;
|
|
3436
3449
|
post(method: "HeapProfiler.getSamplingProfile"): Promise<HeapProfiler.GetSamplingProfileReturnType>;
|
|
3437
3450
|
/**
|
|
3438
|
-
*
|
|
3451
|
+
* Read a chunk of the stream
|
|
3439
3452
|
*/
|
|
3440
|
-
post(method: "
|
|
3453
|
+
post(method: "IO.read", params?: IO.ReadParameterType): Promise<IO.ReadReturnType>;
|
|
3454
|
+
post(method: "IO.close", params?: IO.CloseParameterType): Promise<void>;
|
|
3441
3455
|
/**
|
|
3442
|
-
*
|
|
3456
|
+
* Disables network tracking, prevents network events from being sent to the client.
|
|
3443
3457
|
*/
|
|
3444
|
-
post(method: "
|
|
3458
|
+
post(method: "Network.disable"): Promise<void>;
|
|
3445
3459
|
/**
|
|
3446
|
-
*
|
|
3447
|
-
* dataCollected events followed by tracingComplete event.
|
|
3460
|
+
* Enables network tracking, network events will now be delivered to the client.
|
|
3448
3461
|
*/
|
|
3449
|
-
post(method: "
|
|
3462
|
+
post(method: "Network.enable", params?: Network.EnableParameterType): Promise<void>;
|
|
3450
3463
|
/**
|
|
3451
|
-
*
|
|
3464
|
+
* Returns post data sent with the request. Returns an error when no data was sent with the request.
|
|
3452
3465
|
*/
|
|
3453
|
-
post(method: "
|
|
3466
|
+
post(method: "Network.getRequestPostData", params?: Network.GetRequestPostDataParameterType): Promise<Network.GetRequestPostDataReturnType>;
|
|
3454
3467
|
/**
|
|
3455
|
-
*
|
|
3456
|
-
* as they start
|
|
3468
|
+
* Returns content served for the given request.
|
|
3457
3469
|
*/
|
|
3458
|
-
post(method: "
|
|
3470
|
+
post(method: "Network.getResponseBody", params?: Network.GetResponseBodyParameterType): Promise<Network.GetResponseBodyReturnType>;
|
|
3459
3471
|
/**
|
|
3460
|
-
*
|
|
3472
|
+
* Enables streaming of the response for the given requestId.
|
|
3473
|
+
* If enabled, the dataReceived event contains the data that was received during streaming.
|
|
3474
|
+
* @experimental
|
|
3461
3475
|
*/
|
|
3462
|
-
post(method: "
|
|
3476
|
+
post(method: "Network.streamResourceContent", params?: Network.StreamResourceContentParameterType): Promise<Network.StreamResourceContentReturnType>;
|
|
3463
3477
|
/**
|
|
3464
|
-
*
|
|
3478
|
+
* Fetches the resource and returns the content.
|
|
3465
3479
|
*/
|
|
3466
|
-
post(method: "
|
|
3480
|
+
post(method: "Network.loadNetworkResource", params?: Network.LoadNetworkResourceParameterType): Promise<Network.LoadNetworkResourceReturnType>;
|
|
3467
3481
|
/**
|
|
3468
|
-
*
|
|
3482
|
+
* Enable the NodeRuntime events except by `NodeRuntime.waitingForDisconnect`.
|
|
3469
3483
|
*/
|
|
3470
|
-
post(method: "
|
|
3484
|
+
post(method: "NodeRuntime.enable"): Promise<void>;
|
|
3471
3485
|
/**
|
|
3472
|
-
*
|
|
3486
|
+
* Disable NodeRuntime events
|
|
3473
3487
|
*/
|
|
3474
|
-
post(method: "
|
|
3488
|
+
post(method: "NodeRuntime.disable"): Promise<void>;
|
|
3475
3489
|
/**
|
|
3476
|
-
*
|
|
3490
|
+
* Enable the `NodeRuntime.waitingForDisconnect`.
|
|
3477
3491
|
*/
|
|
3478
|
-
post(method: "
|
|
3492
|
+
post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType): Promise<void>;
|
|
3479
3493
|
/**
|
|
3480
|
-
*
|
|
3494
|
+
* Gets supported tracing categories.
|
|
3481
3495
|
*/
|
|
3482
|
-
post(method: "
|
|
3496
|
+
post(method: "NodeTracing.getCategories"): Promise<NodeTracing.GetCategoriesReturnType>;
|
|
3483
3497
|
/**
|
|
3484
|
-
*
|
|
3485
|
-
* If enabled, the dataReceived event contains the data that was received during streaming.
|
|
3486
|
-
* @experimental
|
|
3498
|
+
* Start trace events collection.
|
|
3487
3499
|
*/
|
|
3488
|
-
post(method: "
|
|
3500
|
+
post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType): Promise<void>;
|
|
3489
3501
|
/**
|
|
3490
|
-
*
|
|
3502
|
+
* Stop trace events collection. Remaining collected events will be sent as a sequence of
|
|
3503
|
+
* dataCollected events followed by tracingComplete event.
|
|
3491
3504
|
*/
|
|
3492
|
-
post(method: "
|
|
3505
|
+
post(method: "NodeTracing.stop"): Promise<void>;
|
|
3493
3506
|
/**
|
|
3494
|
-
*
|
|
3507
|
+
* Sends protocol message over session with given id.
|
|
3495
3508
|
*/
|
|
3496
|
-
post(method: "
|
|
3509
|
+
post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType): Promise<void>;
|
|
3497
3510
|
/**
|
|
3498
|
-
*
|
|
3511
|
+
* Instructs the inspector to attach to running workers. Will also attach to new workers
|
|
3512
|
+
* as they start
|
|
3499
3513
|
*/
|
|
3500
|
-
post(method: "
|
|
3514
|
+
post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType): Promise<void>;
|
|
3501
3515
|
/**
|
|
3502
|
-
*
|
|
3516
|
+
* Detaches from all running workers and disables attaching to new workers as they are started.
|
|
3503
3517
|
*/
|
|
3504
|
-
post(method: "
|
|
3505
|
-
post(method: "Target.setAutoAttach", params?: Target.SetAutoAttachParameterType): Promise<void>;
|
|
3518
|
+
post(method: "NodeWorker.disable"): Promise<void>;
|
|
3506
3519
|
/**
|
|
3507
|
-
*
|
|
3520
|
+
* Detached from the worker with given sessionId.
|
|
3508
3521
|
*/
|
|
3509
|
-
post(method: "
|
|
3510
|
-
post(method: "
|
|
3522
|
+
post(method: "NodeWorker.detach", params?: NodeWorker.DetachParameterType): Promise<void>;
|
|
3523
|
+
post(method: "Target.setAutoAttach", params?: Target.SetAutoAttachParameterType): Promise<void>;
|
|
3511
3524
|
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
3512
3525
|
/**
|
|
3513
3526
|
* Emitted when any notification from the V8 Inspector is received.
|
|
@@ -3581,28 +3594,6 @@ declare module "node:inspector/promises" {
|
|
|
3581
3594
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
3582
3595
|
*/
|
|
3583
3596
|
addListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
3584
|
-
/**
|
|
3585
|
-
* Contains an bucket of collected trace events.
|
|
3586
|
-
*/
|
|
3587
|
-
addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3588
|
-
/**
|
|
3589
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3590
|
-
* delivered via dataCollected events.
|
|
3591
|
-
*/
|
|
3592
|
-
addListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3593
|
-
/**
|
|
3594
|
-
* Issued when attached to a worker.
|
|
3595
|
-
*/
|
|
3596
|
-
addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3597
|
-
/**
|
|
3598
|
-
* Issued when detached from the worker.
|
|
3599
|
-
*/
|
|
3600
|
-
addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3601
|
-
/**
|
|
3602
|
-
* Notifies about a new protocol message received from the session
|
|
3603
|
-
* (session ID is provided in attachedToWorker notification).
|
|
3604
|
-
*/
|
|
3605
|
-
addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3606
3597
|
/**
|
|
3607
3598
|
* Fired when page is about to send HTTP request.
|
|
3608
3599
|
*/
|
|
@@ -3641,6 +3632,28 @@ declare module "node:inspector/promises" {
|
|
|
3641
3632
|
* example, when inspector.waitingForDebugger is called
|
|
3642
3633
|
*/
|
|
3643
3634
|
addListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
3635
|
+
/**
|
|
3636
|
+
* Contains an bucket of collected trace events.
|
|
3637
|
+
*/
|
|
3638
|
+
addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3639
|
+
/**
|
|
3640
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3641
|
+
* delivered via dataCollected events.
|
|
3642
|
+
*/
|
|
3643
|
+
addListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3644
|
+
/**
|
|
3645
|
+
* Issued when attached to a worker.
|
|
3646
|
+
*/
|
|
3647
|
+
addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3648
|
+
/**
|
|
3649
|
+
* Issued when detached from the worker.
|
|
3650
|
+
*/
|
|
3651
|
+
addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3652
|
+
/**
|
|
3653
|
+
* Notifies about a new protocol message received from the session
|
|
3654
|
+
* (session ID is provided in attachedToWorker notification).
|
|
3655
|
+
*/
|
|
3656
|
+
addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3644
3657
|
addListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3645
3658
|
addListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3646
3659
|
emit(event: string | symbol, ...args: any[]): boolean;
|
|
@@ -3665,11 +3678,6 @@ declare module "node:inspector/promises" {
|
|
|
3665
3678
|
emit(event: "HeapProfiler.reportHeapSnapshotProgress", message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>): boolean;
|
|
3666
3679
|
emit(event: "HeapProfiler.lastSeenObjectId", message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>): boolean;
|
|
3667
3680
|
emit(event: "HeapProfiler.heapStatsUpdate", message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>): boolean;
|
|
3668
|
-
emit(event: "NodeTracing.dataCollected", message: InspectorNotification<NodeTracing.DataCollectedEventDataType>): boolean;
|
|
3669
|
-
emit(event: "NodeTracing.tracingComplete"): boolean;
|
|
3670
|
-
emit(event: "NodeWorker.attachedToWorker", message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>): boolean;
|
|
3671
|
-
emit(event: "NodeWorker.detachedFromWorker", message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>): boolean;
|
|
3672
|
-
emit(event: "NodeWorker.receivedMessageFromWorker", message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>): boolean;
|
|
3673
3681
|
emit(event: "Network.requestWillBeSent", message: InspectorNotification<Network.RequestWillBeSentEventDataType>): boolean;
|
|
3674
3682
|
emit(event: "Network.responseReceived", message: InspectorNotification<Network.ResponseReceivedEventDataType>): boolean;
|
|
3675
3683
|
emit(event: "Network.loadingFailed", message: InspectorNotification<Network.LoadingFailedEventDataType>): boolean;
|
|
@@ -3680,6 +3688,11 @@ declare module "node:inspector/promises" {
|
|
|
3680
3688
|
emit(event: "Network.webSocketHandshakeResponseReceived", message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>): boolean;
|
|
3681
3689
|
emit(event: "NodeRuntime.waitingForDisconnect"): boolean;
|
|
3682
3690
|
emit(event: "NodeRuntime.waitingForDebugger"): boolean;
|
|
3691
|
+
emit(event: "NodeTracing.dataCollected", message: InspectorNotification<NodeTracing.DataCollectedEventDataType>): boolean;
|
|
3692
|
+
emit(event: "NodeTracing.tracingComplete"): boolean;
|
|
3693
|
+
emit(event: "NodeWorker.attachedToWorker", message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>): boolean;
|
|
3694
|
+
emit(event: "NodeWorker.detachedFromWorker", message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>): boolean;
|
|
3695
|
+
emit(event: "NodeWorker.receivedMessageFromWorker", message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>): boolean;
|
|
3683
3696
|
emit(event: "Target.targetCreated", message: InspectorNotification<Target.TargetCreatedEventDataType>): boolean;
|
|
3684
3697
|
emit(event: "Target.attachedToTarget", message: InspectorNotification<Target.AttachedToTargetEventDataType>): boolean;
|
|
3685
3698
|
on(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -3755,28 +3768,6 @@ declare module "node:inspector/promises" {
|
|
|
3755
3768
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
3756
3769
|
*/
|
|
3757
3770
|
on(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
3758
|
-
/**
|
|
3759
|
-
* Contains an bucket of collected trace events.
|
|
3760
|
-
*/
|
|
3761
|
-
on(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3762
|
-
/**
|
|
3763
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3764
|
-
* delivered via dataCollected events.
|
|
3765
|
-
*/
|
|
3766
|
-
on(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3767
|
-
/**
|
|
3768
|
-
* Issued when attached to a worker.
|
|
3769
|
-
*/
|
|
3770
|
-
on(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3771
|
-
/**
|
|
3772
|
-
* Issued when detached from the worker.
|
|
3773
|
-
*/
|
|
3774
|
-
on(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3775
|
-
/**
|
|
3776
|
-
* Notifies about a new protocol message received from the session
|
|
3777
|
-
* (session ID is provided in attachedToWorker notification).
|
|
3778
|
-
*/
|
|
3779
|
-
on(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3780
3771
|
/**
|
|
3781
3772
|
* Fired when page is about to send HTTP request.
|
|
3782
3773
|
*/
|
|
@@ -3815,6 +3806,28 @@ declare module "node:inspector/promises" {
|
|
|
3815
3806
|
* example, when inspector.waitingForDebugger is called
|
|
3816
3807
|
*/
|
|
3817
3808
|
on(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
3809
|
+
/**
|
|
3810
|
+
* Contains an bucket of collected trace events.
|
|
3811
|
+
*/
|
|
3812
|
+
on(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3813
|
+
/**
|
|
3814
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3815
|
+
* delivered via dataCollected events.
|
|
3816
|
+
*/
|
|
3817
|
+
on(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3818
|
+
/**
|
|
3819
|
+
* Issued when attached to a worker.
|
|
3820
|
+
*/
|
|
3821
|
+
on(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3822
|
+
/**
|
|
3823
|
+
* Issued when detached from the worker.
|
|
3824
|
+
*/
|
|
3825
|
+
on(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3826
|
+
/**
|
|
3827
|
+
* Notifies about a new protocol message received from the session
|
|
3828
|
+
* (session ID is provided in attachedToWorker notification).
|
|
3829
|
+
*/
|
|
3830
|
+
on(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3818
3831
|
on(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3819
3832
|
on(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3820
3833
|
once(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -3890,28 +3903,6 @@ declare module "node:inspector/promises" {
|
|
|
3890
3903
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
3891
3904
|
*/
|
|
3892
3905
|
once(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
3893
|
-
/**
|
|
3894
|
-
* Contains an bucket of collected trace events.
|
|
3895
|
-
*/
|
|
3896
|
-
once(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3897
|
-
/**
|
|
3898
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3899
|
-
* delivered via dataCollected events.
|
|
3900
|
-
*/
|
|
3901
|
-
once(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3902
|
-
/**
|
|
3903
|
-
* Issued when attached to a worker.
|
|
3904
|
-
*/
|
|
3905
|
-
once(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3906
|
-
/**
|
|
3907
|
-
* Issued when detached from the worker.
|
|
3908
|
-
*/
|
|
3909
|
-
once(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3910
|
-
/**
|
|
3911
|
-
* Notifies about a new protocol message received from the session
|
|
3912
|
-
* (session ID is provided in attachedToWorker notification).
|
|
3913
|
-
*/
|
|
3914
|
-
once(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3915
3906
|
/**
|
|
3916
3907
|
* Fired when page is about to send HTTP request.
|
|
3917
3908
|
*/
|
|
@@ -3950,6 +3941,28 @@ declare module "node:inspector/promises" {
|
|
|
3950
3941
|
* example, when inspector.waitingForDebugger is called
|
|
3951
3942
|
*/
|
|
3952
3943
|
once(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
3944
|
+
/**
|
|
3945
|
+
* Contains an bucket of collected trace events.
|
|
3946
|
+
*/
|
|
3947
|
+
once(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
3948
|
+
/**
|
|
3949
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
3950
|
+
* delivered via dataCollected events.
|
|
3951
|
+
*/
|
|
3952
|
+
once(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
3953
|
+
/**
|
|
3954
|
+
* Issued when attached to a worker.
|
|
3955
|
+
*/
|
|
3956
|
+
once(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
3957
|
+
/**
|
|
3958
|
+
* Issued when detached from the worker.
|
|
3959
|
+
*/
|
|
3960
|
+
once(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
3961
|
+
/**
|
|
3962
|
+
* Notifies about a new protocol message received from the session
|
|
3963
|
+
* (session ID is provided in attachedToWorker notification).
|
|
3964
|
+
*/
|
|
3965
|
+
once(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
3953
3966
|
once(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
3954
3967
|
once(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
3955
3968
|
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -4025,28 +4038,6 @@ declare module "node:inspector/promises" {
|
|
|
4025
4038
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
4026
4039
|
*/
|
|
4027
4040
|
prependListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
4028
|
-
/**
|
|
4029
|
-
* Contains an bucket of collected trace events.
|
|
4030
|
-
*/
|
|
4031
|
-
prependListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
4032
|
-
/**
|
|
4033
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
4034
|
-
* delivered via dataCollected events.
|
|
4035
|
-
*/
|
|
4036
|
-
prependListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
4037
|
-
/**
|
|
4038
|
-
* Issued when attached to a worker.
|
|
4039
|
-
*/
|
|
4040
|
-
prependListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
4041
|
-
/**
|
|
4042
|
-
* Issued when detached from the worker.
|
|
4043
|
-
*/
|
|
4044
|
-
prependListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
4045
|
-
/**
|
|
4046
|
-
* Notifies about a new protocol message received from the session
|
|
4047
|
-
* (session ID is provided in attachedToWorker notification).
|
|
4048
|
-
*/
|
|
4049
|
-
prependListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
4050
4041
|
/**
|
|
4051
4042
|
* Fired when page is about to send HTTP request.
|
|
4052
4043
|
*/
|
|
@@ -4085,6 +4076,28 @@ declare module "node:inspector/promises" {
|
|
|
4085
4076
|
* example, when inspector.waitingForDebugger is called
|
|
4086
4077
|
*/
|
|
4087
4078
|
prependListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
4079
|
+
/**
|
|
4080
|
+
* Contains an bucket of collected trace events.
|
|
4081
|
+
*/
|
|
4082
|
+
prependListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
4083
|
+
/**
|
|
4084
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
4085
|
+
* delivered via dataCollected events.
|
|
4086
|
+
*/
|
|
4087
|
+
prependListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
4088
|
+
/**
|
|
4089
|
+
* Issued when attached to a worker.
|
|
4090
|
+
*/
|
|
4091
|
+
prependListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
4092
|
+
/**
|
|
4093
|
+
* Issued when detached from the worker.
|
|
4094
|
+
*/
|
|
4095
|
+
prependListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
4096
|
+
/**
|
|
4097
|
+
* Notifies about a new protocol message received from the session
|
|
4098
|
+
* (session ID is provided in attachedToWorker notification).
|
|
4099
|
+
*/
|
|
4100
|
+
prependListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
4088
4101
|
prependListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
4089
4102
|
prependListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
4090
4103
|
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
@@ -4160,28 +4173,6 @@ declare module "node:inspector/promises" {
|
|
|
4160
4173
|
* If heap objects tracking has been started then backend may send update for one or more fragments
|
|
4161
4174
|
*/
|
|
4162
4175
|
prependOnceListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification<HeapProfiler.HeapStatsUpdateEventDataType>) => void): this;
|
|
4163
|
-
/**
|
|
4164
|
-
* Contains an bucket of collected trace events.
|
|
4165
|
-
*/
|
|
4166
|
-
prependOnceListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
4167
|
-
/**
|
|
4168
|
-
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
4169
|
-
* delivered via dataCollected events.
|
|
4170
|
-
*/
|
|
4171
|
-
prependOnceListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
4172
|
-
/**
|
|
4173
|
-
* Issued when attached to a worker.
|
|
4174
|
-
*/
|
|
4175
|
-
prependOnceListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
4176
|
-
/**
|
|
4177
|
-
* Issued when detached from the worker.
|
|
4178
|
-
*/
|
|
4179
|
-
prependOnceListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
4180
|
-
/**
|
|
4181
|
-
* Notifies about a new protocol message received from the session
|
|
4182
|
-
* (session ID is provided in attachedToWorker notification).
|
|
4183
|
-
*/
|
|
4184
|
-
prependOnceListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
4185
4176
|
/**
|
|
4186
4177
|
* Fired when page is about to send HTTP request.
|
|
4187
4178
|
*/
|
|
@@ -4220,6 +4211,28 @@ declare module "node:inspector/promises" {
|
|
|
4220
4211
|
* example, when inspector.waitingForDebugger is called
|
|
4221
4212
|
*/
|
|
4222
4213
|
prependOnceListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
|
|
4214
|
+
/**
|
|
4215
|
+
* Contains an bucket of collected trace events.
|
|
4216
|
+
*/
|
|
4217
|
+
prependOnceListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
|
|
4218
|
+
/**
|
|
4219
|
+
* Signals that tracing is stopped and there is no trace buffers pending flush, all data were
|
|
4220
|
+
* delivered via dataCollected events.
|
|
4221
|
+
*/
|
|
4222
|
+
prependOnceListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
|
|
4223
|
+
/**
|
|
4224
|
+
* Issued when attached to a worker.
|
|
4225
|
+
*/
|
|
4226
|
+
prependOnceListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
|
|
4227
|
+
/**
|
|
4228
|
+
* Issued when detached from the worker.
|
|
4229
|
+
*/
|
|
4230
|
+
prependOnceListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
|
|
4231
|
+
/**
|
|
4232
|
+
* Notifies about a new protocol message received from the session
|
|
4233
|
+
* (session ID is provided in attachedToWorker notification).
|
|
4234
|
+
*/
|
|
4235
|
+
prependOnceListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
|
|
4223
4236
|
prependOnceListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
|
|
4224
4237
|
prependOnceListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
|
|
4225
4238
|
}
|