diff --git a/node_modules/@eslint/config-array/dist/cjs/std__path/posix.cjs b/node_modules/@eslint/config-array/dist/cjs/std__path/posix.cjs
index 5f1344d..13cc0d3 100644
--- a/node_modules/@eslint/config-array/dist/cjs/std__path/posix.cjs
+++ b/node_modules/@eslint/config-array/dist/cjs/std__path/posix.cjs
@@ -951,7 +951,7 @@ caseInsensitive = false } = {}) {
let endsWithSep = false;
let i = j;
// Terminates with `i` at the non-inclusive end of the current segment.
- for(; i < glob.length && !c.seps.includes(glob[i]); i++){
+ for(; i < glob.length && !(c.seps.includes(glob[i]) && groupStack.length === 0); i++){
if (inEscape) {
inEscape = false;
const escapeChars = inRange ? RANGE_ESCAPE_CHARS : REG_EXP_ESCAPE_CHARS;
@@ -1224,7 +1224,7 @@ const constants = {
"(": ")",
"[": "]"
};
- const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;
+ const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\)|@\([^)]+\))/;
if (str === "") {
return false;
}
diff --git a/node_modules/@eslint/config-array/dist/cjs/std__path/windows.cjs b/node_modules/@eslint/config-array/dist/cjs/std__path/windows.cjs
index 47d94de..1501f94 100644
--- a/node_modules/@eslint/config-array/dist/cjs/std__path/windows.cjs
+++ b/node_modules/@eslint/config-array/dist/cjs/std__path/windows.cjs
@@ -1001,7 +1001,7 @@ function assertArgs(from, to) {
/**
* Return the relative path from `from` to `to` based on current working directory.
*
- * An example in windws, for instance:
+ * An example in windows, for instance:
* from = 'C:\\orandea\\test\\aaa'
* to = 'C:\\orandea\\impl\\bbb'
* The output of the function should be: '..\\..\\impl\\bbb'
@@ -1291,7 +1291,7 @@ caseInsensitive = false } = {}) {
let endsWithSep = false;
let i = j;
// Terminates with `i` at the non-inclusive end of the current segment.
- for(; i < glob.length && !c.seps.includes(glob[i]); i++){
+ for(; i < glob.length && !(c.seps.includes(glob[i]) && groupStack.length === 0); i++){
if (inEscape) {
inEscape = false;
const escapeChars = inRange ? RANGE_ESCAPE_CHARS : REG_EXP_ESCAPE_CHARS;
@@ -1565,7 +1565,7 @@ const constants = {
"(": ")",
"[": "]"
};
- const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;
+ const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\)|@\([^)]+\))/;
if (str === "") {
return false;
}
diff --git a/node_modules/@eslint/config-array/dist/esm/std__path/posix.js b/node_modules/@eslint/config-array/dist/esm/std__path/posix.js
index 8af576a..05cf4a9 100644
--- a/node_modules/@eslint/config-array/dist/esm/std__path/posix.js
+++ b/node_modules/@eslint/config-array/dist/esm/std__path/posix.js
@@ -949,7 +949,7 @@ caseInsensitive = false } = {}) {
let endsWithSep = false;
let i = j;
// Terminates with `i` at the non-inclusive end of the current segment.
- for(; i < glob.length && !c.seps.includes(glob[i]); i++){
+ for(; i < glob.length && !(c.seps.includes(glob[i]) && groupStack.length === 0); i++){
if (inEscape) {
inEscape = false;
const escapeChars = inRange ? RANGE_ESCAPE_CHARS : REG_EXP_ESCAPE_CHARS;
@@ -1222,7 +1222,7 @@ const constants = {
"(": ")",
"[": "]"
};
- const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;
+ const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\)|@\([^)]+\))/;
if (str === "") {
return false;
}
diff --git a/node_modules/@eslint/config-array/dist/esm/std__path/windows.js b/node_modules/@eslint/config-array/dist/esm/std__path/windows.js
index 229987c..725e361 100644
--- a/node_modules/@eslint/config-array/dist/esm/std__path/windows.js
+++ b/node_modules/@eslint/config-array/dist/esm/std__path/windows.js
@@ -999,7 +999,7 @@ function assertArgs(from, to) {
/**
* Return the relative path from `from` to `to` based on current working directory.
*
- * An example in windws, for instance:
+ * An example in windows, for instance:
* from = 'C:\\orandea\\test\\aaa'
* to = 'C:\\orandea\\impl\\bbb'
* The output of the function should be: '..\\..\\impl\\bbb'
@@ -1289,7 +1289,7 @@ caseInsensitive = false } = {}) {
let endsWithSep = false;
let i = j;
// Terminates with `i` at the non-inclusive end of the current segment.
- for(; i < glob.length && !c.seps.includes(glob[i]); i++){
+ for(; i < glob.length && !(c.seps.includes(glob[i]) && groupStack.length === 0); i++){
if (inEscape) {
inEscape = false;
const escapeChars = inRange ? RANGE_ESCAPE_CHARS : REG_EXP_ESCAPE_CHARS;
@@ -1563,7 +1563,7 @@ const constants = {
"(": ")",
"[": "]"
};
- const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\))/;
+ const regex = /\\(.)|(^!|\*|\?|[\].+)]\?|\[[^[\\\]]+\]|\{[^{\\}]+\}|\(\?[:!=][^\\)]+\)|\([^(|]+\|[^\\)]+\)|@\([^)]+\))/;
if (str === "") {
return false;
}
diff --git a/node_modules/@eslint/config-array/package.json b/node_modules/@eslint/config-array/package.json
index af492d8..191de92 100644
--- a/node_modules/@eslint/config-array/package.json
+++ b/node_modules/@eslint/config-array/package.json
@@ -1,6 +1,6 @@
{
"name": "@eslint/config-array",
- "version": "0.21.1",
+ "version": "0.21.2",
"description": "General purpose glob-based configuration matching.",
"author": "Nicholas C. Zakas",
"type": "module",
@@ -51,7 +51,7 @@
"dependencies": {
"@eslint/object-schema": "^2.1.7",
"debug": "^4.3.1",
- "minimatch": "^3.1.2"
+ "minimatch": "^3.1.5"
},
"devDependencies": {
"@jsr/std__path": "^1.0.4",
diff --git a/node_modules/@eslint/eslintrc/README.md b/node_modules/@eslint/eslintrc/README.md
index 846cd12..e7301ae 100644
--- a/node_modules/@eslint/eslintrc/README.md
+++ b/node_modules/@eslint/eslintrc/README.md
@@ -135,10 +135,10 @@ The following companies, organizations, and individuals support ESLint's ongoing
to get your logo on our READMEs and [website](https://eslint.org/sponsors).
Platinum Sponsors
-

Gold Sponsors
-

Silver Sponsors
-

Bronze Sponsors
-

+
Gold Sponsors
+
Silver Sponsors
+

Bronze Sponsors
+

Technology Sponsors
Technology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work.

diff --git a/node_modules/@eslint/eslintrc/package.json b/node_modules/@eslint/eslintrc/package.json
index 030d3fc..8c75a44 100644
--- a/node_modules/@eslint/eslintrc/package.json
+++ b/node_modules/@eslint/eslintrc/package.json
@@ -1,6 +1,6 @@
{
"name": "@eslint/eslintrc",
- "version": "3.3.3",
+ "version": "3.3.5",
"description": "The legacy ESLintRC config file format for ESLint",
"type": "module",
"main": "./dist/eslintrc.cjs",
@@ -62,14 +62,14 @@
"typescript": "^5.7.3"
},
"dependencies": {
- "ajv": "^6.12.4",
+ "ajv": "^6.14.0",
"debug": "^4.3.2",
"espree": "^10.0.1",
"globals": "^14.0.0",
"ignore": "^5.2.0",
"import-fresh": "^3.2.1",
"js-yaml": "^4.1.1",
- "minimatch": "^3.1.2",
+ "minimatch": "^3.1.5",
"strip-json-comments": "^3.1.1"
},
"engines": {
diff --git a/node_modules/@eslint/js/package.json b/node_modules/@eslint/js/package.json
index 3d7b130..243f06f 100644
--- a/node_modules/@eslint/js/package.json
+++ b/node_modules/@eslint/js/package.json
@@ -1,6 +1,6 @@
{
"name": "@eslint/js",
- "version": "9.39.2",
+ "version": "9.39.4",
"description": "ESLint JavaScript language implementation",
"funding": "https://eslint.org/donate",
"main": "./src/index.js",
diff --git a/node_modules/@types/node/README.md b/node_modules/@types/node/README.md
index d44ce28..6fd6ea8 100644
--- a/node_modules/@types/node/README.md
+++ b/node_modules/@types/node/README.md
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
### Additional Details
- * Last updated: Sun, 08 Feb 2026 00:09:19 GMT
+ * Last updated: Thu, 12 Mar 2026 15:47:58 GMT
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
# Credits
diff --git a/node_modules/@types/node/assert.d.ts b/node_modules/@types/node/assert.d.ts
index ef4d852..9b7144e 100644
--- a/node_modules/@types/node/assert.d.ts
+++ b/node_modules/@types/node/assert.d.ts
@@ -253,10 +253,10 @@ declare module "node:assert" {
* import assert from 'node:assert/strict';
*
* // Using `assert()` works the same:
- * assert(0);
+ * assert(2 + 2 > 5);;
* // AssertionError: The expression evaluated to a falsy value:
* //
- * // assert(0)
+ * // assert(2 + 2 > 5)
* ```
* @since v0.1.21
*/
diff --git a/node_modules/@types/node/child_process.d.ts b/node_modules/@types/node/child_process.d.ts
index f081809..d71fed1 100644
--- a/node_modules/@types/node/child_process.d.ts
+++ b/node_modules/@types/node/child_process.d.ts
@@ -228,6 +228,11 @@ declare module "node:child_process" {
/**
* The `subprocess.exitCode` property indicates the exit code of the child process.
* If the child process is still running, the field will be `null`.
+ *
+ * When the child process is terminated by a signal, `subprocess.exitCode` will be
+ * `null` and `subprocess.signalCode` will be set. To get the corresponding
+ * POSIX exit code, use
+ * `util.convertProcessSignalToExitCode(subprocess.signalCode)`.
*/
readonly exitCode: number | null;
/**
diff --git a/node_modules/@types/node/events.d.ts b/node_modules/@types/node/events.d.ts
index 4ed0f65..6870cf5 100644
--- a/node_modules/@types/node/events.d.ts
+++ b/node_modules/@types/node/events.d.ts
@@ -638,24 +638,17 @@ declare module "node:events" {
*/
function getMaxListeners(emitter: EventEmitter | EventTarget): number;
/**
- * A class method that returns the number of listeners for the given `eventName`
- * registered on the given `emitter`.
+ * Returns the number of registered listeners for the event named `eventName`.
*
- * ```js
- * import { EventEmitter, listenerCount } from 'node:events';
+ * For `EventEmitter`s this behaves exactly the same as calling `.listenerCount`
+ * on the emitter.
*
- * const myEmitter = new EventEmitter();
- * myEmitter.on('event', () => {});
- * myEmitter.on('event', () => {});
- * console.log(listenerCount(myEmitter, 'event'));
- * // Prints: 2
- * ```
+ * For `EventTarget`s this is the only way to obtain the listener count. This can
+ * be useful for debugging and diagnostic purposes.
* @since v0.9.12
- * @deprecated Use `emitter.listenerCount()` instead.
- * @param emitter The emitter to query
- * @param eventName The event name
*/
function listenerCount(emitter: EventEmitter, eventName: string | symbol): number;
+ function listenerCount(emitter: EventTarget, eventName: string): number;
interface OnOptions extends Abortable {
/**
* Names of events that will end the iteration.
diff --git a/node_modules/@types/node/fs.d.ts b/node_modules/@types/node/fs.d.ts
index 63af06d..4e16bbc 100644
--- a/node_modules/@types/node/fs.d.ts
+++ b/node_modules/@types/node/fs.d.ts
@@ -3553,10 +3553,12 @@ declare module "node:fs" {
*/
function unwatchFile(filename: PathLike, listener?: StatsListener): void;
function unwatchFile(filename: PathLike, listener?: BigIntStatsListener): void;
+ type WatchIgnorePredicate = string | RegExp | ((filename: string) => boolean);
interface WatchOptions extends Abortable {
encoding?: BufferEncoding | "buffer" | undefined;
persistent?: boolean | undefined;
recursive?: boolean | undefined;
+ ignore?: WatchIgnorePredicate | readonly WatchIgnorePredicate[] | undefined;
}
interface WatchOptionsWithBufferEncoding extends WatchOptions {
encoding: "buffer";
diff --git a/node_modules/@types/node/http.d.ts b/node_modules/@types/node/http.d.ts
index 4ba1922..f88f49f 100644
--- a/node_modules/@types/node/http.d.ts
+++ b/node_modules/@types/node/http.d.ts
@@ -954,7 +954,7 @@ declare module "node:http" {
* been transmitted are equal or not.
*
* Attempting to set a header field name or value that contains invalid characters
- * will result in a \[`Error`\]\[\] being thrown.
+ * will result in a `Error` being thrown.
* @since v0.1.30
*/
writeHead(
@@ -2136,6 +2136,27 @@ declare module "node:http" {
* @param [max=1000]
*/
function setMaxIdleHTTPParsers(max: number): void;
+ /**
+ * Dynamically resets the global configurations to enable built-in proxy support for
+ * `fetch()` and `http.request()`/`https.request()` at runtime, as an alternative
+ * to using the `--use-env-proxy` flag or `NODE_USE_ENV_PROXY` environment variable.
+ * It can also be used to override settings configured from the environment variables.
+ *
+ * As this function resets the global configurations, any previously configured
+ * `http.globalAgent`, `https.globalAgent` or undici global dispatcher would be
+ * overridden after this function is invoked. It's recommended to invoke it before any
+ * requests are made and avoid invoking it in the middle of any requests.
+ *
+ * See [Built-in Proxy Support](https://nodejs.org/docs/latest-v25.x/api/http.html#built-in-proxy-support) for details on proxy URL formats and `NO_PROXY`
+ * syntax.
+ * @since v25.4.0
+ * @param proxyEnv An object containing proxy configuration. This accepts the
+ * same options as the `proxyEnv` option accepted by {@link Agent}. **Default:**
+ * `process.env`.
+ * @returns A function that restores the original agent and dispatcher
+ * settings to the state before this `http.setGlobalProxyFromEnv()` is invoked.
+ */
+ function setGlobalProxyFromEnv(proxyEnv?: ProxyEnv): () => void;
/**
* Global instance of `Agent` which is used as the default for all HTTP client
* requests. Diverges from a default `Agent` configuration by having `keepAlive`
diff --git a/node_modules/@types/node/inspector.d.ts b/node_modules/@types/node/inspector.d.ts
index c3a7785..34140df 100644
--- a/node_modules/@types/node/inspector.d.ts
+++ b/node_modules/@types/node/inspector.d.ts
@@ -218,6 +218,51 @@ declare module "node:inspector" {
*/
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";
diff --git a/node_modules/@types/node/inspector.generated.d.ts b/node_modules/@types/node/inspector.generated.d.ts
index 84c482d..93ae271 100644
--- a/node_modules/@types/node/inspector.generated.d.ts
+++ b/node_modules/@types/node/inspector.generated.d.ts
@@ -1620,79 +1620,38 @@ declare module "node:inspector" {
statsUpdate: number[];
}
}
- namespace NodeTracing {
- interface TraceConfig {
+ namespace IO {
+ type StreamHandle = string;
+ interface ReadParameterType {
/**
- * Controls how the trace buffer stores data.
+ * Handle of the stream to read.
*/
- recordMode?: string | undefined;
+ handle: StreamHandle;
/**
- * Included category filters.
+ * Seek to the specified offset before reading (if not specified, proceed with offset
+ * following the last read). Some types of streams may only support sequential reads.
*/
- includedCategories: string[];
- }
- interface StartParameterType {
- traceConfig: TraceConfig;
- }
- interface GetCategoriesReturnType {
+ offset?: number | undefined;
/**
- * A list of supported tracing categories.
+ * Maximum number of bytes to read (left upon the agent discretion if not specified).
*/
- categories: string[];
+ size?: number | undefined;
}
- interface DataCollectedEventDataType {
- value: object[];
- }
- }
- namespace NodeWorker {
- type WorkerID = string;
- /**
- * Unique identifier of attached debugging session.
- */
- type SessionID = string;
- interface WorkerInfo {
- workerId: WorkerID;
- type: string;
- title: string;
- url: string;
- }
- interface SendMessageToWorkerParameterType {
- message: string;
+ interface CloseParameterType {
/**
- * Identifier of the session.
+ * Handle of the stream to close.
*/
- sessionId: SessionID;
+ handle: StreamHandle;
}
- interface EnableParameterType {
+ interface ReadReturnType {
/**
- * Whether to new workers should be paused until the frontend sends `Runtime.runIfWaitingForDebugger`
- * message to run them.
+ * Data that were read.
*/
- waitForDebuggerOnStart: boolean;
- }
- interface DetachParameterType {
- sessionId: SessionID;
- }
- interface AttachedToWorkerEventDataType {
+ data: string;
/**
- * Identifier assigned to the session used to send/receive messages.
+ * Set if the end-of-file condition occurred while reading.
*/
- sessionId: SessionID;
- workerInfo: WorkerInfo;
- waitingForDebugger: boolean;
- }
- interface DetachedFromWorkerEventDataType {
- /**
- * Detached session identifier.
- */
- sessionId: SessionID;
- }
- interface ReceivedMessageFromWorkerEventDataType {
- /**
- * Identifier of a session which sends a message.
- */
- sessionId: SessionID;
- message: string;
+ eof: boolean;
}
}
namespace Network {
@@ -1790,6 +1749,18 @@ declare module "node:inspector" {
*/
headers: Headers;
}
+ interface EnableParameterType {
+ /**
+ * Buffer size in bytes to use when preserving network payloads (XHRs, etc).
+ * @experimental
+ */
+ maxTotalBufferSize?: number | undefined;
+ /**
+ * Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
+ * @experimental
+ */
+ maxResourceBufferSize?: number | undefined;
+ }
interface GetRequestPostDataParameterType {
/**
* Identifier of the network request to get content for.
@@ -1974,6 +1945,81 @@ declare module "node:inspector" {
enabled: boolean;
}
}
+ namespace NodeTracing {
+ interface TraceConfig {
+ /**
+ * Controls how the trace buffer stores data.
+ */
+ recordMode?: string | undefined;
+ /**
+ * Included category filters.
+ */
+ includedCategories: string[];
+ }
+ interface StartParameterType {
+ traceConfig: TraceConfig;
+ }
+ interface GetCategoriesReturnType {
+ /**
+ * A list of supported tracing categories.
+ */
+ categories: string[];
+ }
+ interface DataCollectedEventDataType {
+ value: object[];
+ }
+ }
+ namespace NodeWorker {
+ type WorkerID = string;
+ /**
+ * Unique identifier of attached debugging session.
+ */
+ type SessionID = string;
+ interface WorkerInfo {
+ workerId: WorkerID;
+ type: string;
+ title: string;
+ url: string;
+ }
+ interface SendMessageToWorkerParameterType {
+ message: string;
+ /**
+ * Identifier of the session.
+ */
+ sessionId: SessionID;
+ }
+ interface EnableParameterType {
+ /**
+ * Whether to new workers should be paused until the frontend sends `Runtime.runIfWaitingForDebugger`
+ * message to run them.
+ */
+ waitForDebuggerOnStart: boolean;
+ }
+ interface DetachParameterType {
+ sessionId: SessionID;
+ }
+ interface AttachedToWorkerEventDataType {
+ /**
+ * Identifier assigned to the session used to send/receive messages.
+ */
+ sessionId: SessionID;
+ workerInfo: WorkerInfo;
+ waitingForDebugger: boolean;
+ }
+ interface DetachedFromWorkerEventDataType {
+ /**
+ * Detached session identifier.
+ */
+ sessionId: SessionID;
+ }
+ interface ReceivedMessageFromWorkerEventDataType {
+ /**
+ * Identifier of a session which sends a message.
+ */
+ sessionId: SessionID;
+ message: string;
+ }
+ }
namespace Target {
type SessionID = string;
type TargetID = string;
@@ -1998,38 +2044,73 @@ declare module "node:inspector" {
waitingForDebugger: boolean;
}
}
- namespace IO {
- type StreamHandle = string;
- interface ReadParameterType {
+ namespace DOMStorage {
+ type SerializedStorageKey = string;
+ /**
+ * DOM Storage identifier.
+ */
+ interface StorageId {
/**
- * Handle of the stream to read.
+ * Security origin for the storage.
*/
- handle: StreamHandle;
+ securityOrigin?: string | undefined;
/**
- * Seek to the specified offset before reading (if not specified, proceed with offset
- * following the last read). Some types of streams may only support sequential reads.
+ * Represents a key by which DOM Storage keys its CachedStorageAreas
*/
- offset?: number | undefined;
+ storageKey?: SerializedStorageKey | undefined;
/**
- * Maximum number of bytes to read (left upon the agent discretion if not specified).
+ * Whether the storage is local storage (not session storage).
*/
- size?: number | undefined;
+ isLocalStorage: boolean;
}
- interface CloseParameterType {
- /**
- * Handle of the stream to close.
- */
- handle: StreamHandle;
+ /**
+ * DOM Storage item.
+ */
+ type Item = string[];
+ interface ClearParameterType {
+ storageId: StorageId;
}
- interface ReadReturnType {
- /**
- * Data that were read.
- */
- data: string;
- /**
- * Set if the end-of-file condition occurred while reading.
- */
- eof: boolean;
+ interface GetDOMStorageItemsParameterType {
+ storageId: StorageId;
+ }
+ interface RemoveDOMStorageItemParameterType {
+ storageId: StorageId;
+ key: string;
+ }
+ interface SetDOMStorageItemParameterType {
+ storageId: StorageId;
+ key: string;
+ value: string;
+ }
+ interface GetDOMStorageItemsReturnType {
+ entries: Item[];
+ }
+ interface DomStorageItemAddedEventDataType {
+ storageId: StorageId;
+ key: string;
+ newValue: string;
+ }
+ interface DomStorageItemRemovedEventDataType {
+ storageId: StorageId;
+ key: string;
+ }
+ interface DomStorageItemUpdatedEventDataType {
+ storageId: StorageId;
+ key: string;
+ oldValue: string;
+ newValue: string;
+ }
+ interface DomStorageItemsClearedEventDataType {
+ storageId: StorageId;
+ }
+ }
+ namespace Storage {
+ type SerializedStorageKey = string;
+ interface GetStorageKeyParameterType {
+ frameId?: string | undefined;
+ }
+ interface GetStorageKeyReturnType {
+ storageKey: SerializedStorageKey;
}
}
interface Session {
@@ -2337,39 +2418,12 @@ declare module "node:inspector" {
post(method: "HeapProfiler.stopSampling", callback?: (err: Error | null, params: HeapProfiler.StopSamplingReturnType) => void): void;
post(method: "HeapProfiler.getSamplingProfile", callback?: (err: Error | null, params: HeapProfiler.GetSamplingProfileReturnType) => void): void;
/**
- * Gets supported tracing categories.
+ * Read a chunk of the stream
*/
- post(method: "NodeTracing.getCategories", callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void;
- /**
- * Start trace events collection.
- */
- post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void;
- post(method: "NodeTracing.start", callback?: (err: Error | null) => void): void;
- /**
- * Stop trace events collection. Remaining collected events will be sent as a sequence of
- * dataCollected events followed by tracingComplete event.
- */
- post(method: "NodeTracing.stop", callback?: (err: Error | null) => void): void;
- /**
- * Sends protocol message over session with given id.
- */
- post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void;
- post(method: "NodeWorker.sendMessageToWorker", callback?: (err: Error | null) => void): void;
- /**
- * Instructs the inspector to attach to running workers. Will also attach to new workers
- * as they start
- */
- post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void;
- post(method: "NodeWorker.enable", callback?: (err: Error | null) => void): void;
- /**
- * Detaches from all running workers and disables attaching to new workers as they are started.
- */
- post(method: "NodeWorker.disable", callback?: (err: Error | null) => void): void;
- /**
- * Detached from the worker with given sessionId.
- */
- post(method: "NodeWorker.detach", params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void;
- post(method: "NodeWorker.detach", callback?: (err: Error | null) => void): void;
+ post(method: "IO.read", params?: IO.ReadParameterType, callback?: (err: Error | null, params: IO.ReadReturnType) => void): void;
+ post(method: "IO.read", callback?: (err: Error | null, params: IO.ReadReturnType) => void): void;
+ post(method: "IO.close", params?: IO.CloseParameterType, callback?: (err: Error | null) => void): void;
+ post(method: "IO.close", callback?: (err: Error | null) => void): void;
/**
* Disables network tracking, prevents network events from being sent to the client.
*/
@@ -2377,6 +2431,7 @@ declare module "node:inspector" {
/**
* Enables network tracking, network events will now be delivered to the client.
*/
+ post(method: "Network.enable", params?: Network.EnableParameterType, callback?: (err: Error | null) => void): void;
post(method: "Network.enable", callback?: (err: Error | null) => void): void;
/**
* Returns post data sent with the request. Returns an error when no data was sent with the request.
@@ -2417,15 +2472,67 @@ declare module "node:inspector" {
*/
post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void;
post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", callback?: (err: Error | null) => void): void;
+ /**
+ * Gets supported tracing categories.
+ */
+ post(method: "NodeTracing.getCategories", callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void;
+ /**
+ * Start trace events collection.
+ */
+ post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void;
+ post(method: "NodeTracing.start", callback?: (err: Error | null) => void): void;
+ /**
+ * Stop trace events collection. Remaining collected events will be sent as a sequence of
+ * dataCollected events followed by tracingComplete event.
+ */
+ post(method: "NodeTracing.stop", callback?: (err: Error | null) => void): void;
+ /**
+ * Sends protocol message over session with given id.
+ */
+ post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void;
+ post(method: "NodeWorker.sendMessageToWorker", callback?: (err: Error | null) => void): void;
+ /**
+ * Instructs the inspector to attach to running workers. Will also attach to new workers
+ * as they start
+ */
+ post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void;
+ post(method: "NodeWorker.enable", callback?: (err: Error | null) => void): void;
+ /**
+ * Detaches from all running workers and disables attaching to new workers as they are started.
+ */
+ post(method: "NodeWorker.disable", callback?: (err: Error | null) => void): void;
+ /**
+ * Detached from the worker with given sessionId.
+ */
+ post(method: "NodeWorker.detach", params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void;
+ post(method: "NodeWorker.detach", callback?: (err: Error | null) => void): void;
post(method: "Target.setAutoAttach", params?: Target.SetAutoAttachParameterType, callback?: (err: Error | null) => void): void;
post(method: "Target.setAutoAttach", callback?: (err: Error | null) => void): void;
+ post(method: "DOMStorage.clear", params?: DOMStorage.ClearParameterType, callback?: (err: Error | null) => void): void;
+ post(method: "DOMStorage.clear", callback?: (err: Error | null) => void): void;
/**
- * Read a chunk of the stream
+ * Disables storage tracking, prevents storage events from being sent to the client.
*/
- post(method: "IO.read", params?: IO.ReadParameterType, callback?: (err: Error | null, params: IO.ReadReturnType) => void): void;
- post(method: "IO.read", callback?: (err: Error | null, params: IO.ReadReturnType) => void): void;
- post(method: "IO.close", params?: IO.CloseParameterType, callback?: (err: Error | null) => void): void;
- post(method: "IO.close", callback?: (err: Error | null) => void): void;
+ post(method: "DOMStorage.disable", callback?: (err: Error | null) => void): void;
+ /**
+ * Enables storage tracking, storage events will now be delivered to the client.
+ */
+ post(method: "DOMStorage.enable", callback?: (err: Error | null) => void): void;
+ post(
+ method: "DOMStorage.getDOMStorageItems",
+ params?: DOMStorage.GetDOMStorageItemsParameterType,
+ callback?: (err: Error | null, params: DOMStorage.GetDOMStorageItemsReturnType) => void
+ ): void;
+ post(method: "DOMStorage.getDOMStorageItems", callback?: (err: Error | null, params: DOMStorage.GetDOMStorageItemsReturnType) => void): void;
+ post(method: "DOMStorage.removeDOMStorageItem", params?: DOMStorage.RemoveDOMStorageItemParameterType, callback?: (err: Error | null) => void): void;
+ post(method: "DOMStorage.removeDOMStorageItem", callback?: (err: Error | null) => void): void;
+ post(method: "DOMStorage.setDOMStorageItem", params?: DOMStorage.SetDOMStorageItemParameterType, callback?: (err: Error | null) => void): void;
+ post(method: "DOMStorage.setDOMStorageItem", callback?: (err: Error | null) => void): void;
+ /**
+ * @experimental
+ */
+ post(method: "Storage.getStorageKey", params?: Storage.GetStorageKeyParameterType, callback?: (err: Error | null, params: Storage.GetStorageKeyReturnType) => void): void;
+ post(method: "Storage.getStorageKey", callback?: (err: Error | null, params: Storage.GetStorageKeyReturnType) => void): void;
addListener(event: string, listener: (...args: any[]) => void): this;
/**
* Emitted when any notification from the V8 Inspector is received.
@@ -2499,28 +2606,6 @@ declare module "node:inspector" {
* If heap objects tracking has been started then backend may send update for one or more fragments
*/
addListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification) => void): this;
- /**
- * Contains an bucket of collected trace events.
- */
- addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification) => void): this;
- /**
- * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
- * delivered via dataCollected events.
- */
- addListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
- /**
- * Issued when attached to a worker.
- */
- addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification) => void): this;
- /**
- * Issued when detached from the worker.
- */
- addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification) => void): this;
- /**
- * Notifies about a new protocol message received from the session
- * (session ID is provided in attachedToWorker notification).
- */
- addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification) => void): this;
/**
* Fired when page is about to send HTTP request.
*/
@@ -2559,8 +2644,34 @@ declare module "node:inspector" {
* example, when inspector.waitingForDebugger is called
*/
addListener(event: "NodeRuntime.waitingForDebugger", listener: () => void): this;
+ /**
+ * Contains an bucket of collected trace events.
+ */
+ addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification) => void): this;
+ /**
+ * Signals that tracing is stopped and there is no trace buffers pending flush, all data were
+ * delivered via dataCollected events.
+ */
+ addListener(event: "NodeTracing.tracingComplete", listener: () => void): this;
+ /**
+ * Issued when attached to a worker.
+ */
+ addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification) => void): this;
+ /**
+ * Issued when detached from the worker.
+ */
+ addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification) => void): this;
+ /**
+ * Notifies about a new protocol message received from the session
+ * (session ID is provided in attachedToWorker notification).
+ */
+ addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification) => void): this;
addListener(event: "Target.targetCreated", listener: (message: InspectorNotification) => void): this;
addListener(event: "Target.attachedToTarget", listener: (message: InspectorNotification) => void): this;
+ addListener(event: "DOMStorage.domStorageItemAdded", listener: (message: InspectorNotification) => void): this;
+ addListener(event: "DOMStorage.domStorageItemRemoved", listener: (message: InspectorNotification) => void): this;
+ addListener(event: "DOMStorage.domStorageItemUpdated", listener: (message: InspectorNotification) => void): this;
+ addListener(event: "DOMStorage.domStorageItemsCleared", listener: (message: InspectorNotification) => void): this;
emit(event: string | symbol, ...args: any[]): boolean;
emit(event: "inspectorNotification", message: InspectorNotification