aws-delivlib 15.2.0 → 15.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/lib/auto-build.d.ts +7 -1
  2. package/lib/auto-build.js +2 -1
  3. package/lib/custom-resource-handlers/src/certificate-signing-request.tsbuildinfo +1 -1
  4. package/lib/custom-resource-handlers/src/pgp-secret.tsbuildinfo +1 -1
  5. package/lib/custom-resource-handlers/src/private-key.tsbuildinfo +1 -1
  6. package/lib/package-integrity/handler/validate.bundle.js +23640 -19373
  7. package/lib/publishing/github/node_modules/.yarn-integrity +4 -4
  8. package/lib/publishing/github/node_modules/@types/aws-lambda/README.md +1 -1
  9. package/lib/publishing/github/node_modules/@types/aws-lambda/package.json +2 -2
  10. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/inbound-federation.d.ts +40 -0
  11. package/lib/publishing/github/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.ts +3 -1
  12. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/README.md +1 -1
  13. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/assert/strict.d.ts +0 -46
  14. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/assert.d.ts +2 -7
  15. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/async_hooks.d.ts +126 -38
  16. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.buffer.d.ts +1 -1
  17. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.d.ts +0 -45
  18. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/child_process.d.ts +5 -67
  19. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/cluster.d.ts +0 -54
  20. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/console.d.ts +0 -58
  21. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/constants.d.ts +0 -6
  22. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/crypto.d.ts +14 -21
  23. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/dgram.d.ts +0 -27
  24. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/diagnostics_channel.d.ts +0 -24
  25. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/dns/promises.d.ts +0 -6
  26. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/dns.d.ts +0 -46
  27. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/domain.d.ts +0 -16
  28. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/events.d.ts +12 -58
  29. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs/promises.d.ts +150 -11
  30. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs.d.ts +132 -28
  31. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/http.d.ts +23 -43
  32. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/http2.d.ts +16 -11
  33. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/https.d.ts +0 -5
  34. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/index.d.ts +2 -0
  35. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector/promises.d.ts +0 -6
  36. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector.d.ts +45 -5
  37. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector.generated.d.ts +583 -403
  38. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/module.d.ts +1 -65
  39. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/net.d.ts +57 -20
  40. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/os.d.ts +0 -9
  41. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/package.json +4 -4
  42. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/path.d.ts +0 -9
  43. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/perf_hooks.d.ts +0 -31
  44. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/process.d.ts +75 -32
  45. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/punycode.d.ts +0 -28
  46. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/querystring.d.ts +0 -13
  47. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/quic.d.ts +2 -15
  48. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/readline/promises.d.ts +0 -3
  49. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/readline.d.ts +1 -35
  50. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/repl.d.ts +15 -10
  51. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/sea.d.ts +0 -115
  52. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/sqlite.d.ts +182 -69
  53. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/consumers.d.ts +81 -5
  54. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/iter.d.ts +301 -0
  55. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/web.d.ts +7 -3
  56. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream.d.ts +42 -28
  57. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/string_decoder.d.ts +0 -40
  58. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/test/reporters.d.ts +1 -38
  59. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/test.d.ts +153 -113
  60. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/timers/promises.d.ts +0 -15
  61. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/timers.d.ts +0 -10
  62. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/tls.d.ts +20 -25
  63. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/trace_events.d.ts +0 -94
  64. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +1 -1
  65. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/index.d.ts +2 -0
  66. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.7/index.d.ts +2 -0
  67. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/tty.d.ts +0 -25
  68. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/url.d.ts +49 -12
  69. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/util.d.ts +27 -12
  70. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/v8.d.ts +9 -12
  71. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/vm.d.ts +55 -127
  72. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/wasi.d.ts +0 -71
  73. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
  74. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/worker_threads.d.ts +15 -61
  75. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/zlib/iter.d.ts +131 -0
  76. package/lib/publishing/github/node_modules/@types/jsonwebtoken/node_modules/@types/node/zlib.d.ts +68 -97
  77. package/lib/publishing/github/node_modules/semver/README.md +22 -6
  78. package/lib/publishing/github/node_modules/semver/bin/semver.js +15 -11
  79. package/lib/publishing/github/node_modules/semver/classes/range.js +7 -0
  80. package/lib/publishing/github/node_modules/semver/functions/diff.js +1 -1
  81. package/lib/publishing/github/node_modules/semver/functions/truncate.js +48 -0
  82. package/lib/publishing/github/node_modules/semver/index.js +2 -0
  83. package/lib/publishing/github/node_modules/semver/internal/re.js +3 -3
  84. package/lib/publishing/github/node_modules/semver/package.json +4 -4
  85. package/lib/publishing/github/node_modules/semver/range.bnf +5 -4
  86. package/lib/publishing/github/node_modules/semver/ranges/subset.js +3 -3
  87. package/lib/publishing/github/node_modules/undici-types/agent.d.ts +1 -1
  88. package/lib/publishing/github/node_modules/undici-types/api.d.ts +2 -2
  89. package/lib/publishing/github/node_modules/undici-types/balanced-pool.d.ts +2 -1
  90. package/lib/publishing/github/node_modules/undici-types/cache-interceptor.d.ts +7 -0
  91. package/lib/publishing/github/node_modules/undici-types/client.d.ts +16 -1
  92. package/lib/publishing/github/node_modules/undici-types/connector.d.ts +4 -2
  93. package/lib/publishing/github/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
  94. package/lib/publishing/github/node_modules/undici-types/dispatcher.d.ts +20 -17
  95. package/lib/publishing/github/node_modules/undici-types/errors.d.ts +17 -1
  96. package/lib/publishing/github/node_modules/undici-types/fetch.d.ts +4 -4
  97. package/lib/publishing/github/node_modules/undici-types/formdata.d.ts +1 -1
  98. package/lib/publishing/github/node_modules/undici-types/h2c-client.d.ts +1 -1
  99. package/lib/publishing/github/node_modules/undici-types/index.d.ts +12 -1
  100. package/lib/publishing/github/node_modules/undici-types/interceptors.d.ts +43 -2
  101. package/lib/publishing/github/node_modules/undici-types/package.json +1 -1
  102. package/lib/publishing/github/node_modules/undici-types/pool.d.ts +1 -1
  103. package/lib/publishing/github/node_modules/undici-types/readable.d.ts +2 -2
  104. package/lib/publishing/github/node_modules/undici-types/round-robin-pool.d.ts +41 -0
  105. package/lib/publishing/github/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
  106. package/lib/publishing/github/node_modules/undici-types/webidl.d.ts +6 -0
  107. package/lib/publishing/github/node_modules/undici-types/websocket.d.ts +11 -9
  108. package/package.json +28 -14
@@ -1620,79 +1620,38 @@ declare module "node:inspector" {
1620
1620
  statsUpdate: number[];
1621
1621
  }
1622
1622
  }
1623
- namespace NodeTracing {
1624
- interface TraceConfig {
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
- * A list of supported tracing categories.
1627
+ * Handle of the stream to read.
1640
1628
  */
1641
- categories: string[];
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
- * Identifier of the session.
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
- sessionId: SessionID;
1665
- }
1666
- interface EnableParameterType {
1634
+ offset?: number | undefined;
1667
1635
  /**
1668
- * Whether to new workers should be paused until the frontend sends `Runtime.runIfWaitingForDebugger`
1669
- * message to run them.
1636
+ * Maximum number of bytes to read (left upon the agent discretion if not specified).
1670
1637
  */
1671
- waitForDebuggerOnStart: boolean;
1672
- }
1673
- interface DetachParameterType {
1674
- sessionId: SessionID;
1638
+ size?: number | undefined;
1675
1639
  }
1676
- interface AttachedToWorkerEventDataType {
1640
+ interface CloseParameterType {
1677
1641
  /**
1678
- * Identifier assigned to the session used to send/receive messages.
1642
+ * Handle of the stream to close.
1679
1643
  */
1680
- sessionId: SessionID;
1681
- workerInfo: WorkerInfo;
1682
- waitingForDebugger: boolean;
1644
+ handle: StreamHandle;
1683
1645
  }
1684
- interface DetachedFromWorkerEventDataType {
1646
+ interface ReadReturnType {
1685
1647
  /**
1686
- * Detached session identifier.
1648
+ * Data that were read.
1687
1649
  */
1688
- sessionId: SessionID;
1689
- }
1690
- interface ReceivedMessageFromWorkerEventDataType {
1650
+ data: string;
1691
1651
  /**
1692
- * Identifier of a session which sends a message.
1652
+ * Set if the end-of-file condition occurred while reading.
1693
1653
  */
1694
- sessionId: SessionID;
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;
@@ -1989,6 +2035,9 @@ declare module "node:inspector" {
1989
2035
  autoAttach: boolean;
1990
2036
  waitForDebuggerOnStart: boolean;
1991
2037
  }
2038
+ interface GetTargetsReturnType {
2039
+ targetInfos: TargetInfo[];
2040
+ }
1992
2041
  interface TargetCreatedEventDataType {
1993
2042
  targetInfo: TargetInfo;
1994
2043
  }
@@ -1998,38 +2047,73 @@ declare module "node:inspector" {
1998
2047
  waitingForDebugger: boolean;
1999
2048
  }
2000
2049
  }
2001
- namespace IO {
2002
- type StreamHandle = string;
2003
- interface ReadParameterType {
2050
+ namespace DOMStorage {
2051
+ type SerializedStorageKey = string;
2052
+ /**
2053
+ * DOM Storage identifier.
2054
+ */
2055
+ interface StorageId {
2004
2056
  /**
2005
- * Handle of the stream to read.
2057
+ * Security origin for the storage.
2006
2058
  */
2007
- handle: StreamHandle;
2059
+ securityOrigin?: string | undefined;
2008
2060
  /**
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.
2061
+ * Represents a key by which DOM Storage keys its CachedStorageAreas
2011
2062
  */
2012
- offset?: number | undefined;
2063
+ storageKey?: SerializedStorageKey | undefined;
2013
2064
  /**
2014
- * Maximum number of bytes to read (left upon the agent discretion if not specified).
2065
+ * Whether the storage is local storage (not session storage).
2015
2066
  */
2016
- size?: number | undefined;
2067
+ isLocalStorage: boolean;
2017
2068
  }
2018
- interface CloseParameterType {
2019
- /**
2020
- * Handle of the stream to close.
2021
- */
2022
- handle: StreamHandle;
2069
+ /**
2070
+ * DOM Storage item.
2071
+ */
2072
+ type Item = string[];
2073
+ interface ClearParameterType {
2074
+ storageId: StorageId;
2023
2075
  }
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;
2076
+ interface GetDOMStorageItemsParameterType {
2077
+ storageId: StorageId;
2078
+ }
2079
+ interface RemoveDOMStorageItemParameterType {
2080
+ storageId: StorageId;
2081
+ key: string;
2082
+ }
2083
+ interface SetDOMStorageItemParameterType {
2084
+ storageId: StorageId;
2085
+ key: string;
2086
+ value: string;
2087
+ }
2088
+ interface GetDOMStorageItemsReturnType {
2089
+ entries: Item[];
2090
+ }
2091
+ interface DomStorageItemAddedEventDataType {
2092
+ storageId: StorageId;
2093
+ key: string;
2094
+ newValue: string;
2095
+ }
2096
+ interface DomStorageItemRemovedEventDataType {
2097
+ storageId: StorageId;
2098
+ key: string;
2099
+ }
2100
+ interface DomStorageItemUpdatedEventDataType {
2101
+ storageId: StorageId;
2102
+ key: string;
2103
+ oldValue: string;
2104
+ newValue: string;
2105
+ }
2106
+ interface DomStorageItemsClearedEventDataType {
2107
+ storageId: StorageId;
2108
+ }
2109
+ }
2110
+ namespace Storage {
2111
+ type SerializedStorageKey = string;
2112
+ interface GetStorageKeyParameterType {
2113
+ frameId?: string | undefined;
2114
+ }
2115
+ interface GetStorageKeyReturnType {
2116
+ storageKey: SerializedStorageKey;
2033
2117
  }
2034
2118
  }
2035
2119
  interface Session {
@@ -2337,39 +2421,12 @@ declare module "node:inspector" {
2337
2421
  post(method: "HeapProfiler.stopSampling", callback?: (err: Error | null, params: HeapProfiler.StopSamplingReturnType) => void): void;
2338
2422
  post(method: "HeapProfiler.getSamplingProfile", callback?: (err: Error | null, params: HeapProfiler.GetSamplingProfileReturnType) => void): void;
2339
2423
  /**
2340
- * Gets supported tracing categories.
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.
2424
+ * Read a chunk of the stream
2370
2425
  */
2371
- post(method: "NodeWorker.detach", params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void;
2372
- post(method: "NodeWorker.detach", callback?: (err: Error | null) => void): void;
2426
+ post(method: "IO.read", params?: IO.ReadParameterType, callback?: (err: Error | null, params: IO.ReadReturnType) => void): void;
2427
+ post(method: "IO.read", callback?: (err: Error | null, params: IO.ReadReturnType) => void): void;
2428
+ post(method: "IO.close", params?: IO.CloseParameterType, callback?: (err: Error | null) => void): void;
2429
+ post(method: "IO.close", callback?: (err: Error | null) => void): void;
2373
2430
  /**
2374
2431
  * Disables network tracking, prevents network events from being sent to the client.
2375
2432
  */
@@ -2377,6 +2434,7 @@ declare module "node:inspector" {
2377
2434
  /**
2378
2435
  * Enables network tracking, network events will now be delivered to the client.
2379
2436
  */
2437
+ post(method: "Network.enable", params?: Network.EnableParameterType, callback?: (err: Error | null) => void): void;
2380
2438
  post(method: "Network.enable", callback?: (err: Error | null) => void): void;
2381
2439
  /**
2382
2440
  * Returns post data sent with the request. Returns an error when no data was sent with the request.
@@ -2417,24 +2475,77 @@ declare module "node:inspector" {
2417
2475
  */
2418
2476
  post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void;
2419
2477
  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
2478
  /**
2423
- * Read a chunk of the stream
2479
+ * Gets supported tracing categories.
2424
2480
  */
2425
- post(method: "IO.read", params?: IO.ReadParameterType, callback?: (err: Error | null, params: IO.ReadReturnType) => void): void;
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;
2481
+ post(method: "NodeTracing.getCategories", callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void;
2430
2482
  /**
2431
- * Emitted when any notification from the V8 Inspector is received.
2483
+ * Start trace events collection.
2432
2484
  */
2433
- addListener(event: "inspectorNotification", listener: (message: InspectorNotification<object>) => void): this;
2485
+ post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void;
2486
+ post(method: "NodeTracing.start", callback?: (err: Error | null) => void): void;
2434
2487
  /**
2435
- * Issued when new execution context is created.
2488
+ * Stop trace events collection. Remaining collected events will be sent as a sequence of
2489
+ * dataCollected events followed by tracingComplete event.
2436
2490
  */
2437
- addListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2491
+ post(method: "NodeTracing.stop", callback?: (err: Error | null) => void): void;
2492
+ /**
2493
+ * Sends protocol message over session with given id.
2494
+ */
2495
+ post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void;
2496
+ post(method: "NodeWorker.sendMessageToWorker", callback?: (err: Error | null) => void): void;
2497
+ /**
2498
+ * Instructs the inspector to attach to running workers. Will also attach to new workers
2499
+ * as they start
2500
+ */
2501
+ post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void;
2502
+ post(method: "NodeWorker.enable", callback?: (err: Error | null) => void): void;
2503
+ /**
2504
+ * Detaches from all running workers and disables attaching to new workers as they are started.
2505
+ */
2506
+ post(method: "NodeWorker.disable", callback?: (err: Error | null) => void): void;
2507
+ /**
2508
+ * Detached from the worker with given sessionId.
2509
+ */
2510
+ post(method: "NodeWorker.detach", params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void;
2511
+ post(method: "NodeWorker.detach", callback?: (err: Error | null) => void): void;
2512
+ post(method: "Target.getTargets", callback?: (err: Error | null, params: Target.GetTargetsReturnType) => void): void;
2513
+ post(method: "Target.setAutoAttach", params?: Target.SetAutoAttachParameterType, callback?: (err: Error | null) => void): void;
2514
+ post(method: "Target.setAutoAttach", callback?: (err: Error | null) => void): void;
2515
+ post(method: "DOMStorage.clear", params?: DOMStorage.ClearParameterType, callback?: (err: Error | null) => void): void;
2516
+ post(method: "DOMStorage.clear", callback?: (err: Error | null) => void): void;
2517
+ /**
2518
+ * Disables storage tracking, prevents storage events from being sent to the client.
2519
+ */
2520
+ post(method: "DOMStorage.disable", callback?: (err: Error | null) => void): void;
2521
+ /**
2522
+ * Enables storage tracking, storage events will now be delivered to the client.
2523
+ */
2524
+ post(method: "DOMStorage.enable", callback?: (err: Error | null) => void): void;
2525
+ post(
2526
+ method: "DOMStorage.getDOMStorageItems",
2527
+ params?: DOMStorage.GetDOMStorageItemsParameterType,
2528
+ callback?: (err: Error | null, params: DOMStorage.GetDOMStorageItemsReturnType) => void
2529
+ ): void;
2530
+ post(method: "DOMStorage.getDOMStorageItems", callback?: (err: Error | null, params: DOMStorage.GetDOMStorageItemsReturnType) => void): void;
2531
+ post(method: "DOMStorage.removeDOMStorageItem", params?: DOMStorage.RemoveDOMStorageItemParameterType, callback?: (err: Error | null) => void): void;
2532
+ post(method: "DOMStorage.removeDOMStorageItem", callback?: (err: Error | null) => void): void;
2533
+ post(method: "DOMStorage.setDOMStorageItem", params?: DOMStorage.SetDOMStorageItemParameterType, callback?: (err: Error | null) => void): void;
2534
+ post(method: "DOMStorage.setDOMStorageItem", callback?: (err: Error | null) => void): void;
2535
+ /**
2536
+ * @experimental
2537
+ */
2538
+ post(method: "Storage.getStorageKey", params?: Storage.GetStorageKeyParameterType, callback?: (err: Error | null, params: Storage.GetStorageKeyReturnType) => void): void;
2539
+ post(method: "Storage.getStorageKey", callback?: (err: Error | null, params: Storage.GetStorageKeyReturnType) => void): void;
2540
+ addListener(event: string, listener: (...args: any[]) => void): this;
2541
+ /**
2542
+ * Emitted when any notification from the V8 Inspector is received.
2543
+ */
2544
+ addListener(event: "inspectorNotification", listener: (message: InspectorNotification<object>) => void): this;
2545
+ /**
2546
+ * Issued when new execution context is created.
2547
+ */
2548
+ addListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
2438
2549
  /**
2439
2550
  * Issued when execution context is destroyed.
2440
2551
  */
@@ -2499,28 +2610,6 @@ declare module "node:inspector" {
2499
2610
  * If heap objects tracking has been started then backend may send update for one or more fragments
2500
2611
  */
2501
2612
  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
2613
  /**
2525
2614
  * Fired when page is about to send HTTP request.
2526
2615
  */
@@ -2559,8 +2648,34 @@ declare module "node:inspector" {
2559
2648
  * example, when inspector.waitingForDebugger is called
2560
2649
  */
2561
2650
  addListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
2651
+ /**
2652
+ * Contains an bucket of collected trace events.
2653
+ */
2654
+ addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2655
+ /**
2656
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2657
+ * delivered via dataCollected events.
2658
+ */
2659
+ addListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
2660
+ /**
2661
+ * Issued when attached to a worker.
2662
+ */
2663
+ addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2664
+ /**
2665
+ * Issued when detached from the worker.
2666
+ */
2667
+ addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2668
+ /**
2669
+ * Notifies about a new protocol message received from the session
2670
+ * (session ID is provided in attachedToWorker notification).
2671
+ */
2672
+ addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2562
2673
  addListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
2563
2674
  addListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
2675
+ addListener(event: "DOMStorage.domStorageItemAdded", listener: (message: InspectorNotification<DOMStorage.DomStorageItemAddedEventDataType>) => void): this;
2676
+ addListener(event: "DOMStorage.domStorageItemRemoved", listener: (message: InspectorNotification<DOMStorage.DomStorageItemRemovedEventDataType>) => void): this;
2677
+ addListener(event: "DOMStorage.domStorageItemUpdated", listener: (message: InspectorNotification<DOMStorage.DomStorageItemUpdatedEventDataType>) => void): this;
2678
+ addListener(event: "DOMStorage.domStorageItemsCleared", listener: (message: InspectorNotification<DOMStorage.DomStorageItemsClearedEventDataType>) => void): this;
2564
2679
  emit(event: string | symbol, ...args: any[]): boolean;
2565
2680
  emit(event: "inspectorNotification", message: InspectorNotification<object>): boolean;
2566
2681
  emit(event: "Runtime.executionContextCreated", message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>): boolean;
@@ -2583,11 +2698,6 @@ declare module "node:inspector" {
2583
2698
  emit(event: "HeapProfiler.reportHeapSnapshotProgress", message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>): boolean;
2584
2699
  emit(event: "HeapProfiler.lastSeenObjectId", message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>): boolean;
2585
2700
  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
2701
  emit(event: "Network.requestWillBeSent", message: InspectorNotification<Network.RequestWillBeSentEventDataType>): boolean;
2592
2702
  emit(event: "Network.responseReceived", message: InspectorNotification<Network.ResponseReceivedEventDataType>): boolean;
2593
2703
  emit(event: "Network.loadingFailed", message: InspectorNotification<Network.LoadingFailedEventDataType>): boolean;
@@ -2598,8 +2708,17 @@ declare module "node:inspector" {
2598
2708
  emit(event: "Network.webSocketHandshakeResponseReceived", message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>): boolean;
2599
2709
  emit(event: "NodeRuntime.waitingForDisconnect"): boolean;
2600
2710
  emit(event: "NodeRuntime.waitingForDebugger"): boolean;
2711
+ emit(event: "NodeTracing.dataCollected", message: InspectorNotification<NodeTracing.DataCollectedEventDataType>): boolean;
2712
+ emit(event: "NodeTracing.tracingComplete"): boolean;
2713
+ emit(event: "NodeWorker.attachedToWorker", message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>): boolean;
2714
+ emit(event: "NodeWorker.detachedFromWorker", message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>): boolean;
2715
+ emit(event: "NodeWorker.receivedMessageFromWorker", message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>): boolean;
2601
2716
  emit(event: "Target.targetCreated", message: InspectorNotification<Target.TargetCreatedEventDataType>): boolean;
2602
2717
  emit(event: "Target.attachedToTarget", message: InspectorNotification<Target.AttachedToTargetEventDataType>): boolean;
2718
+ emit(event: "DOMStorage.domStorageItemAdded", message: InspectorNotification<DOMStorage.DomStorageItemAddedEventDataType>): boolean;
2719
+ emit(event: "DOMStorage.domStorageItemRemoved", message: InspectorNotification<DOMStorage.DomStorageItemRemovedEventDataType>): boolean;
2720
+ emit(event: "DOMStorage.domStorageItemUpdated", message: InspectorNotification<DOMStorage.DomStorageItemUpdatedEventDataType>): boolean;
2721
+ emit(event: "DOMStorage.domStorageItemsCleared", message: InspectorNotification<DOMStorage.DomStorageItemsClearedEventDataType>): boolean;
2603
2722
  on(event: string, listener: (...args: any[]) => void): this;
2604
2723
  /**
2605
2724
  * Emitted when any notification from the V8 Inspector is received.
@@ -2673,28 +2792,6 @@ declare module "node:inspector" {
2673
2792
  * If heap objects tracking has been started then backend may send update for one or more fragments
2674
2793
  */
2675
2794
  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
2795
  /**
2699
2796
  * Fired when page is about to send HTTP request.
2700
2797
  */
@@ -2733,8 +2830,34 @@ declare module "node:inspector" {
2733
2830
  * example, when inspector.waitingForDebugger is called
2734
2831
  */
2735
2832
  on(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
2833
+ /**
2834
+ * Contains an bucket of collected trace events.
2835
+ */
2836
+ on(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2837
+ /**
2838
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2839
+ * delivered via dataCollected events.
2840
+ */
2841
+ on(event: "NodeTracing.tracingComplete", listener: () => void): this;
2842
+ /**
2843
+ * Issued when attached to a worker.
2844
+ */
2845
+ on(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2846
+ /**
2847
+ * Issued when detached from the worker.
2848
+ */
2849
+ on(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2850
+ /**
2851
+ * Notifies about a new protocol message received from the session
2852
+ * (session ID is provided in attachedToWorker notification).
2853
+ */
2854
+ on(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2736
2855
  on(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
2737
2856
  on(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
2857
+ on(event: "DOMStorage.domStorageItemAdded", listener: (message: InspectorNotification<DOMStorage.DomStorageItemAddedEventDataType>) => void): this;
2858
+ on(event: "DOMStorage.domStorageItemRemoved", listener: (message: InspectorNotification<DOMStorage.DomStorageItemRemovedEventDataType>) => void): this;
2859
+ on(event: "DOMStorage.domStorageItemUpdated", listener: (message: InspectorNotification<DOMStorage.DomStorageItemUpdatedEventDataType>) => void): this;
2860
+ on(event: "DOMStorage.domStorageItemsCleared", listener: (message: InspectorNotification<DOMStorage.DomStorageItemsClearedEventDataType>) => void): this;
2738
2861
  once(event: string, listener: (...args: any[]) => void): this;
2739
2862
  /**
2740
2863
  * Emitted when any notification from the V8 Inspector is received.
@@ -2808,28 +2931,6 @@ declare module "node:inspector" {
2808
2931
  * If heap objects tracking has been started then backend may send update for one or more fragments
2809
2932
  */
2810
2933
  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
2934
  /**
2834
2935
  * Fired when page is about to send HTTP request.
2835
2936
  */
@@ -2868,8 +2969,34 @@ declare module "node:inspector" {
2868
2969
  * example, when inspector.waitingForDebugger is called
2869
2970
  */
2870
2971
  once(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
2972
+ /**
2973
+ * Contains an bucket of collected trace events.
2974
+ */
2975
+ once(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
2976
+ /**
2977
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
2978
+ * delivered via dataCollected events.
2979
+ */
2980
+ once(event: "NodeTracing.tracingComplete", listener: () => void): this;
2981
+ /**
2982
+ * Issued when attached to a worker.
2983
+ */
2984
+ once(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
2985
+ /**
2986
+ * Issued when detached from the worker.
2987
+ */
2988
+ once(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
2989
+ /**
2990
+ * Notifies about a new protocol message received from the session
2991
+ * (session ID is provided in attachedToWorker notification).
2992
+ */
2993
+ once(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
2871
2994
  once(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
2872
2995
  once(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
2996
+ once(event: "DOMStorage.domStorageItemAdded", listener: (message: InspectorNotification<DOMStorage.DomStorageItemAddedEventDataType>) => void): this;
2997
+ once(event: "DOMStorage.domStorageItemRemoved", listener: (message: InspectorNotification<DOMStorage.DomStorageItemRemovedEventDataType>) => void): this;
2998
+ once(event: "DOMStorage.domStorageItemUpdated", listener: (message: InspectorNotification<DOMStorage.DomStorageItemUpdatedEventDataType>) => void): this;
2999
+ once(event: "DOMStorage.domStorageItemsCleared", listener: (message: InspectorNotification<DOMStorage.DomStorageItemsClearedEventDataType>) => void): this;
2873
3000
  prependListener(event: string, listener: (...args: any[]) => void): this;
2874
3001
  /**
2875
3002
  * Emitted when any notification from the V8 Inspector is received.
@@ -2943,28 +3070,6 @@ declare module "node:inspector" {
2943
3070
  * If heap objects tracking has been started then backend may send update for one or more fragments
2944
3071
  */
2945
3072
  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
3073
  /**
2969
3074
  * Fired when page is about to send HTTP request.
2970
3075
  */
@@ -3003,8 +3108,34 @@ declare module "node:inspector" {
3003
3108
  * example, when inspector.waitingForDebugger is called
3004
3109
  */
3005
3110
  prependListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
3111
+ /**
3112
+ * Contains an bucket of collected trace events.
3113
+ */
3114
+ prependListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
3115
+ /**
3116
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
3117
+ * delivered via dataCollected events.
3118
+ */
3119
+ prependListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
3120
+ /**
3121
+ * Issued when attached to a worker.
3122
+ */
3123
+ prependListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
3124
+ /**
3125
+ * Issued when detached from the worker.
3126
+ */
3127
+ prependListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
3128
+ /**
3129
+ * Notifies about a new protocol message received from the session
3130
+ * (session ID is provided in attachedToWorker notification).
3131
+ */
3132
+ prependListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
3006
3133
  prependListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
3007
3134
  prependListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
3135
+ prependListener(event: "DOMStorage.domStorageItemAdded", listener: (message: InspectorNotification<DOMStorage.DomStorageItemAddedEventDataType>) => void): this;
3136
+ prependListener(event: "DOMStorage.domStorageItemRemoved", listener: (message: InspectorNotification<DOMStorage.DomStorageItemRemovedEventDataType>) => void): this;
3137
+ prependListener(event: "DOMStorage.domStorageItemUpdated", listener: (message: InspectorNotification<DOMStorage.DomStorageItemUpdatedEventDataType>) => void): this;
3138
+ prependListener(event: "DOMStorage.domStorageItemsCleared", listener: (message: InspectorNotification<DOMStorage.DomStorageItemsClearedEventDataType>) => void): this;
3008
3139
  prependOnceListener(event: string, listener: (...args: any[]) => void): this;
3009
3140
  /**
3010
3141
  * Emitted when any notification from the V8 Inspector is received.
@@ -3078,28 +3209,6 @@ declare module "node:inspector" {
3078
3209
  * If heap objects tracking has been started then backend may send update for one or more fragments
3079
3210
  */
3080
3211
  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
3212
  /**
3104
3213
  * Fired when page is about to send HTTP request.
3105
3214
  */
@@ -3138,8 +3247,34 @@ declare module "node:inspector" {
3138
3247
  * example, when inspector.waitingForDebugger is called
3139
3248
  */
3140
3249
  prependOnceListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
3250
+ /**
3251
+ * Contains an bucket of collected trace events.
3252
+ */
3253
+ prependOnceListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
3254
+ /**
3255
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
3256
+ * delivered via dataCollected events.
3257
+ */
3258
+ prependOnceListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
3259
+ /**
3260
+ * Issued when attached to a worker.
3261
+ */
3262
+ prependOnceListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
3263
+ /**
3264
+ * Issued when detached from the worker.
3265
+ */
3266
+ prependOnceListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
3267
+ /**
3268
+ * Notifies about a new protocol message received from the session
3269
+ * (session ID is provided in attachedToWorker notification).
3270
+ */
3271
+ prependOnceListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
3141
3272
  prependOnceListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
3142
3273
  prependOnceListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
3274
+ prependOnceListener(event: "DOMStorage.domStorageItemAdded", listener: (message: InspectorNotification<DOMStorage.DomStorageItemAddedEventDataType>) => void): this;
3275
+ prependOnceListener(event: "DOMStorage.domStorageItemRemoved", listener: (message: InspectorNotification<DOMStorage.DomStorageItemRemovedEventDataType>) => void): this;
3276
+ prependOnceListener(event: "DOMStorage.domStorageItemUpdated", listener: (message: InspectorNotification<DOMStorage.DomStorageItemUpdatedEventDataType>) => void): this;
3277
+ prependOnceListener(event: "DOMStorage.domStorageItemsCleared", listener: (message: InspectorNotification<DOMStorage.DomStorageItemsClearedEventDataType>) => void): this;
3143
3278
  }
3144
3279
  }
3145
3280
  declare module "node:inspector/promises" {
@@ -3150,12 +3285,14 @@ declare module "node:inspector/promises" {
3150
3285
  Console,
3151
3286
  Profiler,
3152
3287
  HeapProfiler,
3153
- NodeTracing,
3154
- NodeWorker,
3288
+ IO,
3155
3289
  Network,
3156
3290
  NodeRuntime,
3291
+ NodeTracing,
3292
+ NodeWorker,
3157
3293
  Target,
3158
- IO,
3294
+ DOMStorage,
3295
+ Storage,
3159
3296
  } from 'inspector';
3160
3297
  }
3161
3298
  declare module "node:inspector/promises" {
@@ -3167,12 +3304,14 @@ declare module "node:inspector/promises" {
3167
3304
  Console,
3168
3305
  Profiler,
3169
3306
  HeapProfiler,
3170
- NodeTracing,
3171
- NodeWorker,
3307
+ IO,
3172
3308
  Network,
3173
3309
  NodeRuntime,
3310
+ NodeTracing,
3311
+ NodeWorker,
3174
3312
  Target,
3175
- IO,
3313
+ DOMStorage,
3314
+ Storage,
3176
3315
  } from "inspector";
3177
3316
  /**
3178
3317
  * The `inspector.Session` is used for dispatching messages to the V8 inspector
@@ -3435,79 +3574,96 @@ declare module "node:inspector/promises" {
3435
3574
  post(method: "HeapProfiler.stopSampling"): Promise<HeapProfiler.StopSamplingReturnType>;
3436
3575
  post(method: "HeapProfiler.getSamplingProfile"): Promise<HeapProfiler.GetSamplingProfileReturnType>;
3437
3576
  /**
3438
- * Gets supported tracing categories.
3577
+ * Read a chunk of the stream
3439
3578
  */
3440
- post(method: "NodeTracing.getCategories"): Promise<NodeTracing.GetCategoriesReturnType>;
3579
+ post(method: "IO.read", params?: IO.ReadParameterType): Promise<IO.ReadReturnType>;
3580
+ post(method: "IO.close", params?: IO.CloseParameterType): Promise<void>;
3441
3581
  /**
3442
- * Start trace events collection.
3582
+ * Disables network tracking, prevents network events from being sent to the client.
3443
3583
  */
3444
- post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType): Promise<void>;
3584
+ post(method: "Network.disable"): Promise<void>;
3445
3585
  /**
3446
- * Stop trace events collection. Remaining collected events will be sent as a sequence of
3447
- * dataCollected events followed by tracingComplete event.
3586
+ * Enables network tracking, network events will now be delivered to the client.
3448
3587
  */
3449
- post(method: "NodeTracing.stop"): Promise<void>;
3588
+ post(method: "Network.enable", params?: Network.EnableParameterType): Promise<void>;
3450
3589
  /**
3451
- * Sends protocol message over session with given id.
3590
+ * Returns post data sent with the request. Returns an error when no data was sent with the request.
3452
3591
  */
3453
- post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType): Promise<void>;
3592
+ post(method: "Network.getRequestPostData", params?: Network.GetRequestPostDataParameterType): Promise<Network.GetRequestPostDataReturnType>;
3454
3593
  /**
3455
- * Instructs the inspector to attach to running workers. Will also attach to new workers
3456
- * as they start
3594
+ * Returns content served for the given request.
3457
3595
  */
3458
- post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType): Promise<void>;
3596
+ post(method: "Network.getResponseBody", params?: Network.GetResponseBodyParameterType): Promise<Network.GetResponseBodyReturnType>;
3459
3597
  /**
3460
- * Detaches from all running workers and disables attaching to new workers as they are started.
3598
+ * Enables streaming of the response for the given requestId.
3599
+ * If enabled, the dataReceived event contains the data that was received during streaming.
3600
+ * @experimental
3461
3601
  */
3462
- post(method: "NodeWorker.disable"): Promise<void>;
3602
+ post(method: "Network.streamResourceContent", params?: Network.StreamResourceContentParameterType): Promise<Network.StreamResourceContentReturnType>;
3463
3603
  /**
3464
- * Detached from the worker with given sessionId.
3604
+ * Fetches the resource and returns the content.
3465
3605
  */
3466
- post(method: "NodeWorker.detach", params?: NodeWorker.DetachParameterType): Promise<void>;
3606
+ post(method: "Network.loadNetworkResource", params?: Network.LoadNetworkResourceParameterType): Promise<Network.LoadNetworkResourceReturnType>;
3467
3607
  /**
3468
- * Disables network tracking, prevents network events from being sent to the client.
3608
+ * Enable the NodeRuntime events except by `NodeRuntime.waitingForDisconnect`.
3469
3609
  */
3470
- post(method: "Network.disable"): Promise<void>;
3610
+ post(method: "NodeRuntime.enable"): Promise<void>;
3471
3611
  /**
3472
- * Enables network tracking, network events will now be delivered to the client.
3612
+ * Disable NodeRuntime events
3473
3613
  */
3474
- post(method: "Network.enable"): Promise<void>;
3614
+ post(method: "NodeRuntime.disable"): Promise<void>;
3475
3615
  /**
3476
- * Returns post data sent with the request. Returns an error when no data was sent with the request.
3616
+ * Enable the `NodeRuntime.waitingForDisconnect`.
3477
3617
  */
3478
- post(method: "Network.getRequestPostData", params?: Network.GetRequestPostDataParameterType): Promise<Network.GetRequestPostDataReturnType>;
3618
+ post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType): Promise<void>;
3479
3619
  /**
3480
- * Returns content served for the given request.
3620
+ * Gets supported tracing categories.
3481
3621
  */
3482
- post(method: "Network.getResponseBody", params?: Network.GetResponseBodyParameterType): Promise<Network.GetResponseBodyReturnType>;
3622
+ post(method: "NodeTracing.getCategories"): Promise<NodeTracing.GetCategoriesReturnType>;
3623
+ /**
3624
+ * Start trace events collection.
3625
+ */
3626
+ post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType): Promise<void>;
3627
+ /**
3628
+ * Stop trace events collection. Remaining collected events will be sent as a sequence of
3629
+ * dataCollected events followed by tracingComplete event.
3630
+ */
3631
+ post(method: "NodeTracing.stop"): Promise<void>;
3632
+ /**
3633
+ * Sends protocol message over session with given id.
3634
+ */
3635
+ post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType): Promise<void>;
3483
3636
  /**
3484
- * Enables streaming of the response for the given requestId.
3485
- * If enabled, the dataReceived event contains the data that was received during streaming.
3486
- * @experimental
3637
+ * Instructs the inspector to attach to running workers. Will also attach to new workers
3638
+ * as they start
3487
3639
  */
3488
- post(method: "Network.streamResourceContent", params?: Network.StreamResourceContentParameterType): Promise<Network.StreamResourceContentReturnType>;
3640
+ post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType): Promise<void>;
3489
3641
  /**
3490
- * Fetches the resource and returns the content.
3642
+ * Detaches from all running workers and disables attaching to new workers as they are started.
3491
3643
  */
3492
- post(method: "Network.loadNetworkResource", params?: Network.LoadNetworkResourceParameterType): Promise<Network.LoadNetworkResourceReturnType>;
3644
+ post(method: "NodeWorker.disable"): Promise<void>;
3493
3645
  /**
3494
- * Enable the NodeRuntime events except by `NodeRuntime.waitingForDisconnect`.
3646
+ * Detached from the worker with given sessionId.
3495
3647
  */
3496
- post(method: "NodeRuntime.enable"): Promise<void>;
3648
+ post(method: "NodeWorker.detach", params?: NodeWorker.DetachParameterType): Promise<void>;
3649
+ post(method: "Target.getTargets"): Promise<Target.GetTargetsReturnType>;
3650
+ post(method: "Target.setAutoAttach", params?: Target.SetAutoAttachParameterType): Promise<void>;
3651
+ post(method: "DOMStorage.clear", params?: DOMStorage.ClearParameterType): Promise<void>;
3497
3652
  /**
3498
- * Disable NodeRuntime events
3653
+ * Disables storage tracking, prevents storage events from being sent to the client.
3499
3654
  */
3500
- post(method: "NodeRuntime.disable"): Promise<void>;
3655
+ post(method: "DOMStorage.disable"): Promise<void>;
3501
3656
  /**
3502
- * Enable the `NodeRuntime.waitingForDisconnect`.
3657
+ * Enables storage tracking, storage events will now be delivered to the client.
3503
3658
  */
3504
- post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType): Promise<void>;
3505
- post(method: "Target.setAutoAttach", params?: Target.SetAutoAttachParameterType): Promise<void>;
3659
+ post(method: "DOMStorage.enable"): Promise<void>;
3660
+ post(method: "DOMStorage.getDOMStorageItems", params?: DOMStorage.GetDOMStorageItemsParameterType): Promise<DOMStorage.GetDOMStorageItemsReturnType>;
3661
+ post(method: "DOMStorage.removeDOMStorageItem", params?: DOMStorage.RemoveDOMStorageItemParameterType): Promise<void>;
3662
+ post(method: "DOMStorage.setDOMStorageItem", params?: DOMStorage.SetDOMStorageItemParameterType): Promise<void>;
3506
3663
  /**
3507
- * Read a chunk of the stream
3664
+ * @experimental
3508
3665
  */
3509
- post(method: "IO.read", params?: IO.ReadParameterType): Promise<IO.ReadReturnType>;
3510
- post(method: "IO.close", params?: IO.CloseParameterType): Promise<void>;
3666
+ post(method: "Storage.getStorageKey", params?: Storage.GetStorageKeyParameterType): Promise<Storage.GetStorageKeyReturnType>;
3511
3667
  addListener(event: string, listener: (...args: any[]) => void): this;
3512
3668
  /**
3513
3669
  * Emitted when any notification from the V8 Inspector is received.
@@ -3581,28 +3737,6 @@ declare module "node:inspector/promises" {
3581
3737
  * If heap objects tracking has been started then backend may send update for one or more fragments
3582
3738
  */
3583
3739
  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
3740
  /**
3607
3741
  * Fired when page is about to send HTTP request.
3608
3742
  */
@@ -3641,8 +3775,34 @@ declare module "node:inspector/promises" {
3641
3775
  * example, when inspector.waitingForDebugger is called
3642
3776
  */
3643
3777
  addListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
3778
+ /**
3779
+ * Contains an bucket of collected trace events.
3780
+ */
3781
+ addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
3782
+ /**
3783
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
3784
+ * delivered via dataCollected events.
3785
+ */
3786
+ addListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
3787
+ /**
3788
+ * Issued when attached to a worker.
3789
+ */
3790
+ addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
3791
+ /**
3792
+ * Issued when detached from the worker.
3793
+ */
3794
+ addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
3795
+ /**
3796
+ * Notifies about a new protocol message received from the session
3797
+ * (session ID is provided in attachedToWorker notification).
3798
+ */
3799
+ addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
3644
3800
  addListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
3645
3801
  addListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
3802
+ addListener(event: "DOMStorage.domStorageItemAdded", listener: (message: InspectorNotification<DOMStorage.DomStorageItemAddedEventDataType>) => void): this;
3803
+ addListener(event: "DOMStorage.domStorageItemRemoved", listener: (message: InspectorNotification<DOMStorage.DomStorageItemRemovedEventDataType>) => void): this;
3804
+ addListener(event: "DOMStorage.domStorageItemUpdated", listener: (message: InspectorNotification<DOMStorage.DomStorageItemUpdatedEventDataType>) => void): this;
3805
+ addListener(event: "DOMStorage.domStorageItemsCleared", listener: (message: InspectorNotification<DOMStorage.DomStorageItemsClearedEventDataType>) => void): this;
3646
3806
  emit(event: string | symbol, ...args: any[]): boolean;
3647
3807
  emit(event: "inspectorNotification", message: InspectorNotification<object>): boolean;
3648
3808
  emit(event: "Runtime.executionContextCreated", message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>): boolean;
@@ -3665,11 +3825,6 @@ declare module "node:inspector/promises" {
3665
3825
  emit(event: "HeapProfiler.reportHeapSnapshotProgress", message: InspectorNotification<HeapProfiler.ReportHeapSnapshotProgressEventDataType>): boolean;
3666
3826
  emit(event: "HeapProfiler.lastSeenObjectId", message: InspectorNotification<HeapProfiler.LastSeenObjectIdEventDataType>): boolean;
3667
3827
  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
3828
  emit(event: "Network.requestWillBeSent", message: InspectorNotification<Network.RequestWillBeSentEventDataType>): boolean;
3674
3829
  emit(event: "Network.responseReceived", message: InspectorNotification<Network.ResponseReceivedEventDataType>): boolean;
3675
3830
  emit(event: "Network.loadingFailed", message: InspectorNotification<Network.LoadingFailedEventDataType>): boolean;
@@ -3680,8 +3835,17 @@ declare module "node:inspector/promises" {
3680
3835
  emit(event: "Network.webSocketHandshakeResponseReceived", message: InspectorNotification<Network.WebSocketHandshakeResponseReceivedEventDataType>): boolean;
3681
3836
  emit(event: "NodeRuntime.waitingForDisconnect"): boolean;
3682
3837
  emit(event: "NodeRuntime.waitingForDebugger"): boolean;
3838
+ emit(event: "NodeTracing.dataCollected", message: InspectorNotification<NodeTracing.DataCollectedEventDataType>): boolean;
3839
+ emit(event: "NodeTracing.tracingComplete"): boolean;
3840
+ emit(event: "NodeWorker.attachedToWorker", message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>): boolean;
3841
+ emit(event: "NodeWorker.detachedFromWorker", message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>): boolean;
3842
+ emit(event: "NodeWorker.receivedMessageFromWorker", message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>): boolean;
3683
3843
  emit(event: "Target.targetCreated", message: InspectorNotification<Target.TargetCreatedEventDataType>): boolean;
3684
3844
  emit(event: "Target.attachedToTarget", message: InspectorNotification<Target.AttachedToTargetEventDataType>): boolean;
3845
+ emit(event: "DOMStorage.domStorageItemAdded", message: InspectorNotification<DOMStorage.DomStorageItemAddedEventDataType>): boolean;
3846
+ emit(event: "DOMStorage.domStorageItemRemoved", message: InspectorNotification<DOMStorage.DomStorageItemRemovedEventDataType>): boolean;
3847
+ emit(event: "DOMStorage.domStorageItemUpdated", message: InspectorNotification<DOMStorage.DomStorageItemUpdatedEventDataType>): boolean;
3848
+ emit(event: "DOMStorage.domStorageItemsCleared", message: InspectorNotification<DOMStorage.DomStorageItemsClearedEventDataType>): boolean;
3685
3849
  on(event: string, listener: (...args: any[]) => void): this;
3686
3850
  /**
3687
3851
  * Emitted when any notification from the V8 Inspector is received.
@@ -3755,28 +3919,6 @@ declare module "node:inspector/promises" {
3755
3919
  * If heap objects tracking has been started then backend may send update for one or more fragments
3756
3920
  */
3757
3921
  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
3922
  /**
3781
3923
  * Fired when page is about to send HTTP request.
3782
3924
  */
@@ -3815,8 +3957,34 @@ declare module "node:inspector/promises" {
3815
3957
  * example, when inspector.waitingForDebugger is called
3816
3958
  */
3817
3959
  on(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
3960
+ /**
3961
+ * Contains an bucket of collected trace events.
3962
+ */
3963
+ on(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
3964
+ /**
3965
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
3966
+ * delivered via dataCollected events.
3967
+ */
3968
+ on(event: "NodeTracing.tracingComplete", listener: () => void): this;
3969
+ /**
3970
+ * Issued when attached to a worker.
3971
+ */
3972
+ on(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
3973
+ /**
3974
+ * Issued when detached from the worker.
3975
+ */
3976
+ on(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
3977
+ /**
3978
+ * Notifies about a new protocol message received from the session
3979
+ * (session ID is provided in attachedToWorker notification).
3980
+ */
3981
+ on(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
3818
3982
  on(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
3819
3983
  on(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
3984
+ on(event: "DOMStorage.domStorageItemAdded", listener: (message: InspectorNotification<DOMStorage.DomStorageItemAddedEventDataType>) => void): this;
3985
+ on(event: "DOMStorage.domStorageItemRemoved", listener: (message: InspectorNotification<DOMStorage.DomStorageItemRemovedEventDataType>) => void): this;
3986
+ on(event: "DOMStorage.domStorageItemUpdated", listener: (message: InspectorNotification<DOMStorage.DomStorageItemUpdatedEventDataType>) => void): this;
3987
+ on(event: "DOMStorage.domStorageItemsCleared", listener: (message: InspectorNotification<DOMStorage.DomStorageItemsClearedEventDataType>) => void): this;
3820
3988
  once(event: string, listener: (...args: any[]) => void): this;
3821
3989
  /**
3822
3990
  * Emitted when any notification from the V8 Inspector is received.
@@ -3890,28 +4058,6 @@ declare module "node:inspector/promises" {
3890
4058
  * If heap objects tracking has been started then backend may send update for one or more fragments
3891
4059
  */
3892
4060
  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
4061
  /**
3916
4062
  * Fired when page is about to send HTTP request.
3917
4063
  */
@@ -3950,8 +4096,34 @@ declare module "node:inspector/promises" {
3950
4096
  * example, when inspector.waitingForDebugger is called
3951
4097
  */
3952
4098
  once(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
4099
+ /**
4100
+ * Contains an bucket of collected trace events.
4101
+ */
4102
+ once(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
4103
+ /**
4104
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
4105
+ * delivered via dataCollected events.
4106
+ */
4107
+ once(event: "NodeTracing.tracingComplete", listener: () => void): this;
4108
+ /**
4109
+ * Issued when attached to a worker.
4110
+ */
4111
+ once(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
4112
+ /**
4113
+ * Issued when detached from the worker.
4114
+ */
4115
+ once(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
4116
+ /**
4117
+ * Notifies about a new protocol message received from the session
4118
+ * (session ID is provided in attachedToWorker notification).
4119
+ */
4120
+ once(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
3953
4121
  once(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
3954
4122
  once(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
4123
+ once(event: "DOMStorage.domStorageItemAdded", listener: (message: InspectorNotification<DOMStorage.DomStorageItemAddedEventDataType>) => void): this;
4124
+ once(event: "DOMStorage.domStorageItemRemoved", listener: (message: InspectorNotification<DOMStorage.DomStorageItemRemovedEventDataType>) => void): this;
4125
+ once(event: "DOMStorage.domStorageItemUpdated", listener: (message: InspectorNotification<DOMStorage.DomStorageItemUpdatedEventDataType>) => void): this;
4126
+ once(event: "DOMStorage.domStorageItemsCleared", listener: (message: InspectorNotification<DOMStorage.DomStorageItemsClearedEventDataType>) => void): this;
3955
4127
  prependListener(event: string, listener: (...args: any[]) => void): this;
3956
4128
  /**
3957
4129
  * Emitted when any notification from the V8 Inspector is received.
@@ -4025,28 +4197,6 @@ declare module "node:inspector/promises" {
4025
4197
  * If heap objects tracking has been started then backend may send update for one or more fragments
4026
4198
  */
4027
4199
  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
4200
  /**
4051
4201
  * Fired when page is about to send HTTP request.
4052
4202
  */
@@ -4085,8 +4235,34 @@ declare module "node:inspector/promises" {
4085
4235
  * example, when inspector.waitingForDebugger is called
4086
4236
  */
4087
4237
  prependListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
4238
+ /**
4239
+ * Contains an bucket of collected trace events.
4240
+ */
4241
+ prependListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
4242
+ /**
4243
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
4244
+ * delivered via dataCollected events.
4245
+ */
4246
+ prependListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
4247
+ /**
4248
+ * Issued when attached to a worker.
4249
+ */
4250
+ prependListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
4251
+ /**
4252
+ * Issued when detached from the worker.
4253
+ */
4254
+ prependListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
4255
+ /**
4256
+ * Notifies about a new protocol message received from the session
4257
+ * (session ID is provided in attachedToWorker notification).
4258
+ */
4259
+ prependListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
4088
4260
  prependListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
4089
4261
  prependListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
4262
+ prependListener(event: "DOMStorage.domStorageItemAdded", listener: (message: InspectorNotification<DOMStorage.DomStorageItemAddedEventDataType>) => void): this;
4263
+ prependListener(event: "DOMStorage.domStorageItemRemoved", listener: (message: InspectorNotification<DOMStorage.DomStorageItemRemovedEventDataType>) => void): this;
4264
+ prependListener(event: "DOMStorage.domStorageItemUpdated", listener: (message: InspectorNotification<DOMStorage.DomStorageItemUpdatedEventDataType>) => void): this;
4265
+ prependListener(event: "DOMStorage.domStorageItemsCleared", listener: (message: InspectorNotification<DOMStorage.DomStorageItemsClearedEventDataType>) => void): this;
4090
4266
  prependOnceListener(event: string, listener: (...args: any[]) => void): this;
4091
4267
  /**
4092
4268
  * Emitted when any notification from the V8 Inspector is received.
@@ -4160,28 +4336,6 @@ declare module "node:inspector/promises" {
4160
4336
  * If heap objects tracking has been started then backend may send update for one or more fragments
4161
4337
  */
4162
4338
  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
4339
  /**
4186
4340
  * Fired when page is about to send HTTP request.
4187
4341
  */
@@ -4220,7 +4374,33 @@ declare module "node:inspector/promises" {
4220
4374
  * example, when inspector.waitingForDebugger is called
4221
4375
  */
4222
4376
  prependOnceListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
4377
+ /**
4378
+ * Contains an bucket of collected trace events.
4379
+ */
4380
+ prependOnceListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification<NodeTracing.DataCollectedEventDataType>) => void): this;
4381
+ /**
4382
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
4383
+ * delivered via dataCollected events.
4384
+ */
4385
+ prependOnceListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
4386
+ /**
4387
+ * Issued when attached to a worker.
4388
+ */
4389
+ prependOnceListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification<NodeWorker.AttachedToWorkerEventDataType>) => void): this;
4390
+ /**
4391
+ * Issued when detached from the worker.
4392
+ */
4393
+ prependOnceListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification<NodeWorker.DetachedFromWorkerEventDataType>) => void): this;
4394
+ /**
4395
+ * Notifies about a new protocol message received from the session
4396
+ * (session ID is provided in attachedToWorker notification).
4397
+ */
4398
+ prependOnceListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification<NodeWorker.ReceivedMessageFromWorkerEventDataType>) => void): this;
4223
4399
  prependOnceListener(event: "Target.targetCreated", listener: (message: InspectorNotification<Target.TargetCreatedEventDataType>) => void): this;
4224
4400
  prependOnceListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification<Target.AttachedToTargetEventDataType>) => void): this;
4401
+ prependOnceListener(event: "DOMStorage.domStorageItemAdded", listener: (message: InspectorNotification<DOMStorage.DomStorageItemAddedEventDataType>) => void): this;
4402
+ prependOnceListener(event: "DOMStorage.domStorageItemRemoved", listener: (message: InspectorNotification<DOMStorage.DomStorageItemRemovedEventDataType>) => void): this;
4403
+ prependOnceListener(event: "DOMStorage.domStorageItemUpdated", listener: (message: InspectorNotification<DOMStorage.DomStorageItemUpdatedEventDataType>) => void): this;
4404
+ prependOnceListener(event: "DOMStorage.domStorageItemsCleared", listener: (message: InspectorNotification<DOMStorage.DomStorageItemsClearedEventDataType>) => void): this;
4225
4405
  }
4226
4406
  }