/
home
/
techb158
/
balavpn.abdallabala.com
/
node_modules
/
@types
/
node
/
/home/techb158/balavpn.abdallabala.com/node_modules/@types/node
mkdir
upload
Name
Size
Mode
Actions
assert/
-
0777
rm
dns/
-
0777
rm
fs/
-
0777
rm
inspector/
-
0777
rm
path/
-
0777
rm
readline/
-
0777
rm
stream/
-
0777
rm
test/
-
0777
rm
timers/
-
0777
rm
ts5.6/
-
0777
rm
ts5.7/
-
0777
rm
util/
-
0777
rm
web-globals/
-
0777
rm
zlib/
-
0777
rm
assert.d.ts
42891
0666
edit
dl
rm
async_hooks.d.ts
29929
0666
edit
dl
rm
buffer.buffer.d.ts
22604
0666
edit
dl
rm
buffer.d.ts
81152
0666
edit
dl
rm
child_process.d.ts
59930
0666
edit
dl
rm
cluster.d.ts
19527
0666
edit
dl
rm
console.d.ts
4250
0666
edit
dl
rm
constants.d.ts
491
0666
edit
dl
rm
crypto.d.ts
168455
0666
edit
dl
rm
dgram.d.ts
24921
0666
edit
dl
rm
diagnostics_channel.d.ts
34577
0666
edit
dl
rm
dns.d.ts
34348
0666
edit
dl
rm
domain.d.ts
6597
0666
edit
dl
rm
events.d.ts
47375
0666
edit
dl
rm
ffi.d.ts
20013
0666
edit
dl
rm
fs.d.ts
201283
0666
edit
dl
rm
globals.d.ts
5084
0666
edit
dl
rm
globals.typedarray.d.ts
4864
0666
edit
dl
rm
http.d.ts
96833
0666
edit
dl
rm
http2.d.ts
119039
0666
edit
dl
rm
https.d.ts
16812
0666
edit
dl
rm
index.d.ts
5019
0666
edit
dl
rm
inspector.d.ts
12198
0666
edit
dl
rm
inspector.generated.d.ts
228362
0666
edit
dl
rm
LICENSE
1141
0666
edit
dl
rm
module.d.ts
32983
0666
edit
dl
rm
net.d.ts
43748
0666
edit
dl
rm
os.d.ts
19193
0666
edit
dl
rm
package.json
4508
0666
edit
dl
rm
path.d.ts
7639
0666
edit
dl
rm
perf_hooks.d.ts
22973
0666
edit
dl
rm
process.d.ts
112070
0666
edit
dl
rm
punycode.d.ts
3780
0666
edit
dl
rm
querystring.d.ts
6642
0666
edit
dl
rm
quic.d.ts
33850
0666
edit
dl
rm
readline.d.ts
21216
0666
edit
dl
rm
README.md
1582
0666
edit
dl
rm
repl.d.ts
19023
0666
edit
dl
rm
sea.d.ts
2045
0666
edit
dl
rm
sqlite.d.ts
54652
0666
edit
dl
rm
stream.d.ts
90588
0666
edit
dl
rm
string_decoder.d.ts
1318
0666
edit
dl
rm
test.d.ts
111992
0666
edit
dl
rm
timers.d.ts
7351
0666
edit
dl
rm
tls.d.ts
58012
0666
edit
dl
rm
trace_events.d.ts
3842
0666
edit
dl
rm
tty.d.ts
11152
0666
edit
dl
rm
url.d.ts
25457
0666
edit
dl
rm
util.d.ts
65409
0666
edit
dl
rm
v8.d.ts
42920
0666
edit
dl
rm
vm.d.ts
53143
0666
edit
dl
rm
wasi.d.ts
6250
0666
edit
dl
rm
worker_threads.d.ts
29736
0666
edit
dl
rm
zlib.d.ts
22874
0666
edit
dl
rm
Edit:
/home/techb158/balavpn.abdallabala.com/node_modules/@types/node/inspector.d.ts
(12198B)
declare module "node:inspector" { import { EventEmitter } from "node:events"; /** * The `inspector.Session` is used for dispatching messages to the V8 inspector * back-end and receiving message responses and notifications. */ class Session extends EventEmitter { /** * Create a new instance of the inspector.Session class. * The inspector session needs to be connected through `session.connect()` before the messages can be dispatched to the inspector backend. */ constructor(); /** * Connects a session to the inspector back-end. */ connect(): void; /** * Connects a session to the inspector back-end. * An exception will be thrown if this API was not called on a Worker thread. * @since v12.11.0 */ connectToMainThread(): void; /** * Immediately close the session. All pending message callbacks will be called with an error. * `session.connect()` will need to be called to be able to send messages again. * Reconnected session will lose all inspector state, such as enabled agents or configured breakpoints. */ disconnect(): void; } /** * Activate inspector on host and port. Equivalent to `node --inspect=[[host:]port]`, but can be done programmatically after node has * started. * * If wait is `true`, will block until a client has connected to the inspect port * and flow control has been passed to the debugger client. * * See the [security warning](https://nodejs.org/docs/latest-v26.x/api/cli.html#warning-binding-inspector-to-a-public-ipport-combination-is-insecure) * regarding the `host` parameter usage. * @param port Port to listen on for inspector connections. Defaults to what was specified on the CLI. * @param host Host to listen on for inspector connections. Defaults to what was specified on the CLI. * @param wait Block until a client has connected. Defaults to what was specified on the CLI. * @returns Disposable that calls `inspector.close()`. */ function open(port?: number, host?: string, wait?: boolean): Disposable; /** * Deactivate the inspector. Blocks until there are no active connections. */ function close(): void; /** * Return the URL of the active inspector, or `undefined` if there is none. * * ```console * $ node --inspect -p 'inspector.url()' * Debugger listening on ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34 * For help, see: https://nodejs.org/en/docs/inspector * ws://127.0.0.1:9229/166e272e-7a30-4d09-97ce-f1c012b43c34 * * $ node --inspect=localhost:3000 -p 'inspector.url()' * Debugger listening on ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a * For help, see: https://nodejs.org/en/docs/inspector * ws://localhost:3000/51cf8d0e-3c36-4c59-8efd-54519839e56a * * $ node -p 'inspector.url()' * undefined * ``` */ function url(): string | undefined; /** * Blocks until a client (existing or connected later) has sent `Runtime.runIfWaitingForDebugger` command. * * An exception will be thrown if there is no active inspector. * @since v12.7.0 */ function waitForDebugger(): void; // These methods are exposed by the V8 inspector console API (inspector/v8-console.h). // The method signatures differ from those of the Node.js console, and are deliberately // typed permissively. interface InspectorConsole { debug(...data: any[]): void; error(...data: any[]): void; info(...data: any[]): void; log(...data: any[]): void; warn(...data: any[]): void; dir(...data: any[]): void; dirxml(...data: any[]): void; table(...data: any[]): void; trace(...data: any[]): void; group(...data: any[]): void; groupCollapsed(...data: any[]): void; groupEnd(...data: any[]): void; clear(...data: any[]): void; count(label?: any): void; countReset(label?: any): void; assert(value?: any, ...data: any[]): void; profile(label?: any): void; profileEnd(label?: any): void; time(label?: any): void; timeLog(label?: any): void; timeStamp(label?: any): void; } /** * An object to send messages to the remote inspector console. * @since v11.0.0 */ const console: InspectorConsole; // DevTools protocol event broadcast methods namespace Network { /** * This feature is only available with the `--experimental-network-inspection` flag enabled. * * Broadcasts the `Network.requestWillBeSent` event to connected frontends. This event indicates that * the application is about to send an HTTP request. * @since v22.6.0 */ function requestWillBeSent(params: RequestWillBeSentEventDataType): void; /** * This feature is only available with the `--experimental-network-inspection` flag enabled. * * Broadcasts the `Network.dataReceived` event to connected frontends, or buffers the data if * `Network.streamResourceContent` command was not invoked for the given request yet. * * Also enables `Network.getResponseBody` command to retrieve the response data. * @since v24.2.0 */ function dataReceived(params: DataReceivedEventDataType): void; /** * This feature is only available with the `--experimental-network-inspection` flag enabled. * * Enables `Network.getRequestPostData` command to retrieve the request data. * @since v24.3.0 */ function dataSent(params: unknown): void; /** * This feature is only available with the `--experimental-network-inspection` flag enabled. * * Broadcasts the `Network.responseReceived` event to connected frontends. This event indicates that * HTTP response is available. * @since v22.6.0 */ function responseReceived(params: ResponseReceivedEventDataType): void; /** * This feature is only available with the `--experimental-network-inspection` flag enabled. * * Broadcasts the `Network.loadingFinished` event to connected frontends. This event indicates that * HTTP request has finished loading. * @since v22.6.0 */ function loadingFinished(params: LoadingFinishedEventDataType): void; /** * This feature is only available with the `--experimental-network-inspection` flag enabled. * * Broadcasts the `Network.loadingFailed` event to connected frontends. This event indicates that * HTTP request has failed to load. * @since v22.7.0 */ function loadingFailed(params: LoadingFailedEventDataType): void; /** * This feature is only available with the `--experimental-network-inspection` flag enabled. * * Broadcasts the `Network.webSocketCreated` event to connected frontends. This event indicates that * a WebSocket connection has been initiated. * @since v24.7.0 */ function webSocketCreated(params: WebSocketCreatedEventDataType): void; /** * This feature is only available with the `--experimental-network-inspection` flag enabled. * * Broadcasts the `Network.webSocketHandshakeResponseReceived` event to connected frontends. * This event indicates that the WebSocket handshake response has been received. * @since v24.7.0 */ function webSocketHandshakeResponseReceived(params: WebSocketHandshakeResponseReceivedEventDataType): void; /** * This feature is only available with the `--experimental-network-inspection` flag enabled. * * Broadcasts the `Network.webSocketClosed` event to connected frontends. * This event indicates that a WebSocket connection has been closed. * @since v24.7.0 */ function webSocketClosed(params: WebSocketClosedEventDataType): void; } namespace NetworkResources { /** * This feature is only available with the `--experimental-inspector-network-resource` flag enabled. * * The inspector.NetworkResources.put method is used to provide a response for a loadNetworkResource * request issued via the Chrome DevTools Protocol (CDP). * This is typically triggered when a source map is specified by URL, and a DevTools frontend—such as * Chrome—requests the resource to retrieve the source map. * * This method allows developers to predefine the resource content to be served in response to such CDP requests. * * ```js * const inspector = require('node:inspector'); * // By preemptively calling put to register the resource, a source map can be resolved when * // a loadNetworkResource request is made from the frontend. * async function setNetworkResources() { * const mapUrl = 'http://localhost:3000/dist/app.js.map'; * const tsUrl = 'http://localhost:3000/src/app.ts'; * const distAppJsMap = await fetch(mapUrl).then((res) => res.text()); * const srcAppTs = await fetch(tsUrl).then((res) => res.text()); * inspector.NetworkResources.put(mapUrl, distAppJsMap); * inspector.NetworkResources.put(tsUrl, srcAppTs); * }; * setNetworkResources().then(() => { * require('./dist/app'); * }); * ``` * * For more details, see the official CDP documentation: [Network.loadNetworkResource](https://chromedevtools.github.io/devtools-protocol/tot/Network/#method-loadNetworkResource) * @since v24.5.0 * @experimental */ function put(url: string, data: string): void; } namespace DOMStorage { /** * This feature is only available with the * `--experimental-storage-inspection` flag enabled. * * Broadcasts the `DOMStorage.domStorageItemAdded` event to connected frontends. * This event indicates that a new item has been added to the storage. * @since v25.5.0 */ function domStorageItemAdded(params: DomStorageItemAddedEventDataType): void; /** * This feature is only available with the * `--experimental-storage-inspection` flag enabled. * * Broadcasts the `DOMStorage.domStorageItemRemoved` event to connected frontends. * This event indicates that an item has been removed from the storage. * @since v25.5.0 */ function domStorageItemRemoved(params: DomStorageItemRemovedEventDataType): void; /** * This feature is only available with the * `--experimental-storage-inspection` flag enabled. * Broadcasts the `DOMStorage.domStorageItemUpdated` event to connected frontends. * This event indicates that a storage item has been updated. * @since v25.5.0 */ function domStorageItemUpdated(params: DomStorageItemUpdatedEventDataType): void; /** * This feature is only available with the * `--experimental-storage-inspection` flag enabled. * * Broadcasts the `DOMStorage.domStorageItemsCleared` event to connected * frontends. This event indicates that all items have been cleared from the * storage. * @since v25.5.0 */ function domStorageItemsCleared(params: DomStorageItemsClearedEventDataType): void; /** * This feature is only available with the * `--experimental-storage-inspection` flag enabled. * @since v25.5.0 */ function registerStorage(params: unknown): void; } } declare module "inspector" { export * from "node:inspector"; }
Save
cmd:
run