@zuplo/cli 6.71.6 → 6.71.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/assert/strict.d.ts +10 -1
- package/node_modules/@types/node/assert.d.ts +144 -17
- package/node_modules/@types/node/async_hooks.d.ts +9 -9
- package/node_modules/@types/node/buffer.d.ts +0 -5
- package/node_modules/@types/node/child_process.d.ts +17 -21
- package/node_modules/@types/node/cluster.d.ts +13 -13
- package/node_modules/@types/node/console.d.ts +1 -1
- package/node_modules/@types/node/crypto.d.ts +454 -571
- package/node_modules/@types/node/diagnostics_channel.d.ts +20 -9
- package/node_modules/@types/node/dns.d.ts +14 -14
- package/node_modules/@types/node/events.d.ts +3 -3
- package/node_modules/@types/node/fs/promises.d.ts +4 -4
- package/node_modules/@types/node/fs.d.ts +3 -12
- package/node_modules/@types/node/globals.d.ts +4 -4
- package/node_modules/@types/node/http.d.ts +5 -5
- package/node_modules/@types/node/http2.d.ts +1 -1
- package/node_modules/@types/node/index.d.ts +0 -3
- package/node_modules/@types/node/inspector.d.ts +1 -1
- package/node_modules/@types/node/module.d.ts +16 -45
- package/node_modules/@types/node/net.d.ts +1 -1
- package/node_modules/@types/node/os.d.ts +2 -2
- package/node_modules/@types/node/package.json +4 -4
- package/node_modules/@types/node/perf_hooks.d.ts +1 -9
- package/node_modules/@types/node/process.d.ts +11 -11
- package/node_modules/@types/node/readline.d.ts +12 -11
- package/node_modules/@types/node/repl.d.ts +10 -10
- package/node_modules/@types/node/sqlite.d.ts +1 -1
- package/node_modules/@types/node/stream/promises.d.ts +2 -2
- package/node_modules/@types/node/stream/web.d.ts +1 -1
- package/node_modules/@types/node/stream.d.ts +5 -5
- package/node_modules/@types/node/test/reporters.d.ts +1 -1
- package/node_modules/@types/node/test.d.ts +8 -8
- package/node_modules/@types/node/tls.d.ts +1 -1
- package/node_modules/@types/node/ts5.6/index.d.ts +1 -4
- package/node_modules/@types/node/ts5.7/index.d.ts +0 -3
- package/node_modules/@types/node/url.d.ts +3 -3
- package/node_modules/@types/node/util/types.d.ts +1 -1
- package/node_modules/@types/node/util.d.ts +3 -20
- package/node_modules/@types/node/v8.d.ts +1 -1
- package/node_modules/@types/node/vm.d.ts +9 -9
- package/node_modules/@types/node/web-globals/domexception.d.ts +15 -0
- package/node_modules/@types/node/worker_threads.d.ts +2 -5
- package/node_modules/@types/node/zlib.d.ts +3 -3
- package/node_modules/@zuplo/core/package.json +1 -1
- package/node_modules/@zuplo/graphql/package.json +1 -1
- package/node_modules/@zuplo/openapi-tools/package.json +1 -1
- package/node_modules/@zuplo/otel/package.json +1 -1
- package/node_modules/@zuplo/runtime/package.json +1 -1
- package/node_modules/pg-protocol/dist/b.js.map +1 -1
- package/node_modules/pg-protocol/dist/buffer-reader.d.ts +0 -1
- package/node_modules/pg-protocol/dist/buffer-reader.js +1 -1
- package/node_modules/pg-protocol/dist/buffer-reader.js.map +1 -1
- package/node_modules/pg-protocol/dist/buffer-writer.d.ts +2 -1
- package/node_modules/pg-protocol/dist/buffer-writer.js +23 -0
- package/node_modules/pg-protocol/dist/buffer-writer.js.map +1 -1
- package/node_modules/pg-protocol/dist/inbound-parser.test.js +1 -1
- package/node_modules/pg-protocol/dist/inbound-parser.test.js.map +1 -1
- package/node_modules/pg-protocol/dist/index.d.ts +0 -1
- package/node_modules/pg-protocol/dist/index.js +2 -2
- package/node_modules/pg-protocol/dist/index.js.map +1 -1
- package/node_modules/pg-protocol/dist/messages.d.ts +2 -3
- package/node_modules/pg-protocol/dist/outbound-serializer.test.js +73 -0
- package/node_modules/pg-protocol/dist/outbound-serializer.test.js.map +1 -1
- package/node_modules/pg-protocol/dist/parser.d.ts +3 -5
- package/node_modules/pg-protocol/dist/parser.js +1 -1
- package/node_modules/pg-protocol/dist/parser.js.map +1 -1
- package/node_modules/pg-protocol/dist/serializer.d.ts +9 -10
- package/node_modules/pg-protocol/dist/serializer.js +11 -4
- package/node_modules/pg-protocol/dist/serializer.js.map +1 -1
- package/node_modules/pg-protocol/package.json +2 -2
- package/node_modules/pg-protocol/src/buffer-reader.ts +1 -1
- package/node_modules/pg-protocol/src/buffer-writer.ts +25 -0
- package/node_modules/pg-protocol/src/outbound-serializer.test.ts +80 -0
- package/node_modules/pg-protocol/src/parser.ts +1 -1
- package/node_modules/pg-protocol/src/serializer.ts +10 -4
- package/node_modules/undici-types/agent.d.ts +0 -2
- package/node_modules/undici-types/client.d.ts +25 -19
- package/node_modules/undici-types/dispatcher.d.ts +7 -33
- package/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
- package/node_modules/undici-types/fetch.d.ts +24 -4
- package/node_modules/undici-types/h2c-client.d.ts +6 -6
- package/node_modules/undici-types/handlers.d.ts +1 -2
- package/node_modules/undici-types/header.d.ts +5 -0
- package/node_modules/undici-types/index.d.ts +3 -1
- package/node_modules/undici-types/interceptors.d.ts +1 -1
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/pool.d.ts +0 -2
- package/node_modules/undici-types/proxy-agent.d.ts +2 -2
- package/node_modules/undici-types/round-robin-pool.d.ts +0 -2
- package/node_modules/undici-types/snapshot-agent.d.ts +4 -0
- package/node_modules/undici-types/socks5-proxy-agent.d.ts +2 -2
- package/node_modules/undici-types/webidl.d.ts +0 -1
- package/package.json +6 -6
- package/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
|
@@ -427,12 +427,20 @@ declare module "node:diagnostics_channel" {
|
|
|
427
427
|
...args: Args
|
|
428
428
|
): Result;
|
|
429
429
|
/**
|
|
430
|
-
* Trace
|
|
431
|
-
*
|
|
432
|
-
*
|
|
433
|
-
*
|
|
430
|
+
* Trace an asynchronous function call which returns a `Promise` or
|
|
431
|
+
* [thenable object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise#thenables). This will always produce a [`start` event](https://nodejs.org/docs/latest-v26.x/api/diagnostics_channel.html#startevent) and
|
|
432
|
+
* [`end` event](https://nodejs.org/docs/latest-v26.x/api/diagnostics_channel.html#endevent) around the synchronous portion of the function execution, and
|
|
433
|
+
* will produce an [`asyncStart` event](https://nodejs.org/docs/latest-v26.x/api/diagnostics_channel.html#asyncstartevent) and [`asyncEnd` event](https://nodejs.org/docs/latest-v26.x/api/diagnostics_channel.html#asyncendevent) when the
|
|
434
|
+
* returned promise is resolved or rejected. It may also produce an
|
|
435
|
+
* [`error` event](https://nodejs.org/docs/latest-v26.x/api/diagnostics_channel.html#errorevent) if the given function throws an error or the returned promise
|
|
436
|
+
* is rejected. This will run the given function using
|
|
437
|
+
* [`channel.runStores(context, ...)`](https://nodejs.org/docs/latest-v26.x/api/diagnostics_channel.html##channelrunstorescontext-fn-thisarg-args) on the `start` channel which ensures all
|
|
434
438
|
* events should have any bound stores set to match this trace context.
|
|
435
439
|
*
|
|
440
|
+
* If the value returned by `fn` is not a Promise or thenable, then it will be
|
|
441
|
+
* returned with a warning, and no `asyncStart` or `asyncEnd` events will be
|
|
442
|
+
* produced.
|
|
443
|
+
*
|
|
436
444
|
* To ensure only correct trace graphs are formed, events will only be published if subscribers are present prior to starting the trace. Subscriptions
|
|
437
445
|
* which are added after the trace begins will not receive future events from that trace, only future traces will be seen.
|
|
438
446
|
*
|
|
@@ -449,18 +457,21 @@ declare module "node:diagnostics_channel" {
|
|
|
449
457
|
* ```
|
|
450
458
|
* @since v19.9.0
|
|
451
459
|
* @experimental
|
|
452
|
-
* @param fn
|
|
460
|
+
* @param fn Function to wrap a trace around
|
|
453
461
|
* @param context Shared object to correlate trace events through
|
|
454
462
|
* @param thisArg The receiver to be used for the function call
|
|
455
463
|
* @param args Optional arguments to pass to the function
|
|
456
|
-
* @return
|
|
464
|
+
* @returns The return value of the given function, or the result of
|
|
465
|
+
* calling `.then(...)` on the return value if the tracing channel has active
|
|
466
|
+
* subscribers. If the return value is not a Promise or thenable, then
|
|
467
|
+
* it is returned as-is and a warning is emitted.
|
|
457
468
|
*/
|
|
458
|
-
tracePromise<ThisArg = any, Args extends any[] = any[], Result = any>(
|
|
459
|
-
fn: (this: ThisArg, ...args: Args) =>
|
|
469
|
+
tracePromise<ThisArg = any, Args extends any[] = any[], Result extends PromiseLike<unknown> = any>(
|
|
470
|
+
fn: (this: ThisArg, ...args: Args) => Result,
|
|
460
471
|
context?: ContextType,
|
|
461
472
|
thisArg?: ThisArg,
|
|
462
473
|
...args: Args
|
|
463
|
-
):
|
|
474
|
+
): Result;
|
|
464
475
|
/**
|
|
465
476
|
* Trace a callback-receiving function call. This will always produce a `start event` and `end event` around the synchronous portion of the
|
|
466
477
|
* function execution, and will produce a `asyncStart event` and `asyncEnd event` around the callback execution. It may also produce an `error event` if the given function throws an error or
|
|
@@ -24,7 +24,7 @@ declare module "node:dns" {
|
|
|
24
24
|
*/
|
|
25
25
|
family?: number | "IPv4" | "IPv6" | undefined;
|
|
26
26
|
/**
|
|
27
|
-
* One or more [supported `getaddrinfo`](https://nodejs.org/docs/latest-
|
|
27
|
+
* One or more [supported `getaddrinfo`](https://nodejs.org/docs/latest-v26.x/api/dns.html#supported-getaddrinfo-flags) flags. Multiple flags may be
|
|
28
28
|
* passed by bitwise `OR`ing their values.
|
|
29
29
|
*/
|
|
30
30
|
hints?: number | undefined;
|
|
@@ -37,7 +37,7 @@ declare module "node:dns" {
|
|
|
37
37
|
* When `verbatim`, the resolved addresses are return unsorted. When `ipv4first`, the resolved addresses are sorted
|
|
38
38
|
* by placing IPv4 addresses before IPv6 addresses. When `ipv6first`, the resolved addresses are sorted by placing IPv6
|
|
39
39
|
* addresses before IPv4 addresses. Default value is configurable using
|
|
40
|
-
* {@link setDefaultResultOrder} or [`--dns-result-order`](https://nodejs.org/docs/latest-
|
|
40
|
+
* {@link setDefaultResultOrder} or [`--dns-result-order`](https://nodejs.org/docs/latest-v26.x/api/cli.html#--dns-result-orderorder).
|
|
41
41
|
* @default `verbatim` (addresses are not reordered)
|
|
42
42
|
* @since v22.1.0
|
|
43
43
|
*/
|
|
@@ -86,7 +86,7 @@ declare module "node:dns" {
|
|
|
86
86
|
* The implementation uses an operating system facility that can associate names
|
|
87
87
|
* with addresses and vice versa. This implementation can have subtle but
|
|
88
88
|
* important consequences on the behavior of any Node.js program. Please take some
|
|
89
|
-
* time to consult the [Implementation considerations section](https://nodejs.org/docs/latest-
|
|
89
|
+
* time to consult the [Implementation considerations section](https://nodejs.org/docs/latest-v26.x/api/dns.html#implementation-considerations)
|
|
90
90
|
* before using `dns.lookup()`.
|
|
91
91
|
*
|
|
92
92
|
* Example usage:
|
|
@@ -108,7 +108,7 @@ declare module "node:dns" {
|
|
|
108
108
|
* // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}]
|
|
109
109
|
* ```
|
|
110
110
|
*
|
|
111
|
-
* If this method is invoked as its [util.promisify()](https://nodejs.org/docs/latest-
|
|
111
|
+
* If this method is invoked as its [util.promisify()](https://nodejs.org/docs/latest-v26.x/api/util.html#utilpromisifyoriginal) ed
|
|
112
112
|
* version, and `all` is not set to `true`, it returns a `Promise` for an `Object` with `address` and `family` properties.
|
|
113
113
|
* @since v0.1.90
|
|
114
114
|
*/
|
|
@@ -148,7 +148,7 @@ declare module "node:dns" {
|
|
|
148
148
|
* If `address` is not a valid IP address, a `TypeError` will be thrown.
|
|
149
149
|
* The `port` will be coerced to a number. If it is not a legal port, a `TypeError` will be thrown.
|
|
150
150
|
*
|
|
151
|
-
* On an error, `err` is an [`Error`](https://nodejs.org/docs/latest-
|
|
151
|
+
* On an error, `err` is an [`Error`](https://nodejs.org/docs/latest-v26.x/api/errors.html#class-error) object,
|
|
152
152
|
* where `err.code` is the error code.
|
|
153
153
|
*
|
|
154
154
|
* ```js
|
|
@@ -159,7 +159,7 @@ declare module "node:dns" {
|
|
|
159
159
|
* });
|
|
160
160
|
* ```
|
|
161
161
|
*
|
|
162
|
-
* If this method is invoked as its [util.promisify()](https://nodejs.org/docs/latest-
|
|
162
|
+
* If this method is invoked as its [util.promisify()](https://nodejs.org/docs/latest-v26.x/api/util.html#utilpromisifyoriginal) ed
|
|
163
163
|
* version, it returns a `Promise` for an `Object` with `hostname` and `service` properties.
|
|
164
164
|
* @since v0.11.14
|
|
165
165
|
*/
|
|
@@ -288,7 +288,7 @@ declare module "node:dns" {
|
|
|
288
288
|
*
|
|
289
289
|
* <omitted>
|
|
290
290
|
*
|
|
291
|
-
* On error, `err` is an [`Error`](https://nodejs.org/docs/latest-
|
|
291
|
+
* On error, `err` is an [`Error`](https://nodejs.org/docs/latest-v26.x/api/errors.html#class-error) object,
|
|
292
292
|
* where `err.code` is one of the `DNS error codes`.
|
|
293
293
|
* @since v0.1.27
|
|
294
294
|
* @param hostname Host name to resolve.
|
|
@@ -667,8 +667,8 @@ declare module "node:dns" {
|
|
|
667
667
|
* Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an
|
|
668
668
|
* array of host names.
|
|
669
669
|
*
|
|
670
|
-
* On error, `err` is an [`Error`](https://nodejs.org/docs/latest-
|
|
671
|
-
* one of the [DNS error codes](https://nodejs.org/docs/latest-
|
|
670
|
+
* On error, `err` is an [`Error`](https://nodejs.org/docs/latest-v26.x/api/errors.html#class-error) object, where `err.code` is
|
|
671
|
+
* one of the [DNS error codes](https://nodejs.org/docs/latest-v26.x/api/dns.html#error-codes).
|
|
672
672
|
* @since v0.1.16
|
|
673
673
|
*/
|
|
674
674
|
function reverse(
|
|
@@ -676,7 +676,7 @@ declare module "node:dns" {
|
|
|
676
676
|
callback: (err: NodeJS.ErrnoException | null, hostnames: string[]) => void,
|
|
677
677
|
): void;
|
|
678
678
|
/**
|
|
679
|
-
* Get the default value for `order` in {@link lookup} and [`dnsPromises.lookup()`](https://nodejs.org/docs/latest-
|
|
679
|
+
* Get the default value for `order` in {@link lookup} and [`dnsPromises.lookup()`](https://nodejs.org/docs/latest-v26.x/api/dns.html#dnspromiseslookuphostname-options).
|
|
680
680
|
* The value could be:
|
|
681
681
|
*
|
|
682
682
|
* * `ipv4first`: for `order` defaulting to `ipv4first`.
|
|
@@ -731,7 +731,7 @@ declare module "node:dns" {
|
|
|
731
731
|
*/
|
|
732
732
|
function getServers(): string[];
|
|
733
733
|
/**
|
|
734
|
-
* Set the default value of `order` in {@link lookup} and [`dnsPromises.lookup()`](https://nodejs.org/docs/latest-
|
|
734
|
+
* Set the default value of `order` in {@link lookup} and [`dnsPromises.lookup()`](https://nodejs.org/docs/latest-v26.x/api/dns.html#dnspromiseslookuphostname-options).
|
|
735
735
|
* The value could be:
|
|
736
736
|
*
|
|
737
737
|
* * `ipv4first`: sets default `order` to `ipv4first`.
|
|
@@ -739,8 +739,8 @@ declare module "node:dns" {
|
|
|
739
739
|
* * `verbatim`: sets default `order` to `verbatim`.
|
|
740
740
|
*
|
|
741
741
|
* The default is `verbatim` and {@link setDefaultResultOrder} have higher
|
|
742
|
-
* priority than [`--dns-result-order`](https://nodejs.org/docs/latest-
|
|
743
|
-
* [worker threads](https://nodejs.org/docs/latest-
|
|
742
|
+
* priority than [`--dns-result-order`](https://nodejs.org/docs/latest-v26.x/api/cli.html#--dns-result-orderorder). When using
|
|
743
|
+
* [worker threads](https://nodejs.org/docs/latest-v26.x/api/worker_threads.html), {@link setDefaultResultOrder} from the main
|
|
744
744
|
* thread won't affect the default dns orders in workers.
|
|
745
745
|
* @since v16.4.0, v14.18.0
|
|
746
746
|
* @param order must be `'ipv4first'`, `'ipv6first'` or `'verbatim'`.
|
|
@@ -791,7 +791,7 @@ declare module "node:dns" {
|
|
|
791
791
|
* An independent resolver for DNS requests.
|
|
792
792
|
*
|
|
793
793
|
* Creating a new resolver uses the default server settings. Setting
|
|
794
|
-
* the servers used for a resolver using [`resolver.setServers()`](https://nodejs.org/docs/latest-
|
|
794
|
+
* the servers used for a resolver using [`resolver.setServers()`](https://nodejs.org/docs/latest-v26.x/api/dns.html#dnssetserversservers) does not affect
|
|
795
795
|
* other resolvers:
|
|
796
796
|
*
|
|
797
797
|
* ```js
|
|
@@ -32,7 +32,7 @@ declare module "node:events" {
|
|
|
32
32
|
interface EventEmitterOptions {
|
|
33
33
|
/**
|
|
34
34
|
* It enables
|
|
35
|
-
* [automatic capturing of promise rejection](https://nodejs.org/docs/latest-
|
|
35
|
+
* [automatic capturing of promise rejection](https://nodejs.org/docs/latest-v26.x/api/events.html#capture-rejections-of-promises).
|
|
36
36
|
* @default false
|
|
37
37
|
*/
|
|
38
38
|
captureRejections?: boolean | undefined;
|
|
@@ -445,7 +445,7 @@ declare module "node:events" {
|
|
|
445
445
|
signal?: AbortSignal | undefined;
|
|
446
446
|
}
|
|
447
447
|
/**
|
|
448
|
-
* See how to write a custom [rejection handler](https://nodejs.org/docs/latest-
|
|
448
|
+
* See how to write a custom [rejection handler](https://nodejs.org/docs/latest-v26.x/api/events.html#emittersymbolfornodejsrejectionerr-eventname-args).
|
|
449
449
|
* @since v13.4.0, v12.16.0
|
|
450
450
|
*/
|
|
451
451
|
const captureRejectionSymbol: unique symbol;
|
|
@@ -857,7 +857,7 @@ declare module "node:events" {
|
|
|
857
857
|
/**
|
|
858
858
|
* Integrates `EventEmitter` with `AsyncResource` for `EventEmitter`s that
|
|
859
859
|
* require manual async tracking. Specifically, all events emitted by instances
|
|
860
|
-
* of `events.EventEmitterAsyncResource` will run within its [async context](https://nodejs.org/docs/latest-
|
|
860
|
+
* of `events.EventEmitterAsyncResource` will run within its [async context](https://nodejs.org/docs/latest-v26.x/api/async_context.html).
|
|
861
861
|
*
|
|
862
862
|
* ```js
|
|
863
863
|
* import { EventEmitterAsyncResource, EventEmitter } from 'node:events';
|
|
@@ -256,9 +256,9 @@ declare module "node:fs/promises" {
|
|
|
256
256
|
datasync(): Promise<void>;
|
|
257
257
|
/**
|
|
258
258
|
* Return the file contents as an async iterable using the
|
|
259
|
-
* [`node:stream/iter`](https://nodejs.org/docs/latest-
|
|
259
|
+
* [`node:stream/iter`](https://nodejs.org/docs/latest-v26.x/api/stream_iter.html) pull model. Reads are performed in `chunkSize`-byte
|
|
260
260
|
* chunks (default 128 KB). If transforms are provided, they are applied
|
|
261
|
-
* via [`stream/iter pull()`](https://nodejs.org/docs/latest-
|
|
261
|
+
* via [`stream/iter pull()`](https://nodejs.org/docs/latest-v26.x/api/stream_iter.html#pullsource-transforms-options).
|
|
262
262
|
*
|
|
263
263
|
* The file handle is locked while the iterable is being consumed and unlocked
|
|
264
264
|
* when iteration completes, an error occurs, or the consumer breaks.
|
|
@@ -538,7 +538,7 @@ declare module "node:fs/promises" {
|
|
|
538
538
|
position?: number,
|
|
539
539
|
): Promise<WriteVResult<TBuffers>>;
|
|
540
540
|
/**
|
|
541
|
-
* Return a [`node:stream/iter`](https://nodejs.org/docs/latest-
|
|
541
|
+
* Return a [`node:stream/iter`](https://nodejs.org/docs/latest-v26.x/api/stream_iter.html) writer backed by this file handle.
|
|
542
542
|
*
|
|
543
543
|
* The writer supports both `Symbol.asyncDispose` and `Symbol.dispose`:
|
|
544
544
|
*
|
|
@@ -548,7 +548,7 @@ declare module "node:fs/promises" {
|
|
|
548
548
|
* * `using w = fh.writer()` — calls `fail()` unconditionally.
|
|
549
549
|
*
|
|
550
550
|
* The `writeSync()` and `writevSync()` methods enable the try-sync fast path
|
|
551
|
-
* used by [`stream/iter pipeTo()`](https://nodejs.org/docs/latest-
|
|
551
|
+
* used by [`stream/iter pipeTo()`](https://nodejs.org/docs/latest-v26.x/api/stream_iter.html#pipetosource-transforms-writer). When the reader's chunk size matches the
|
|
552
552
|
* writer's `chunkSize`, all writes in a `pipeTo()` pipeline complete
|
|
553
553
|
* synchronously with zero promise overhead.
|
|
554
554
|
*
|
|
@@ -2916,12 +2916,6 @@ declare module "node:fs" {
|
|
|
2916
2916
|
interface ReadOptionsWithBuffer<T extends NodeJS.ArrayBufferView> extends ReadOptions {
|
|
2917
2917
|
buffer?: T | undefined;
|
|
2918
2918
|
}
|
|
2919
|
-
/** @deprecated Use `ReadOptions` instead. */
|
|
2920
|
-
// TODO: remove in future major
|
|
2921
|
-
interface ReadSyncOptions extends ReadOptions {}
|
|
2922
|
-
/** @deprecated Use `ReadOptionsWithBuffer` instead. */
|
|
2923
|
-
// TODO: remove in future major
|
|
2924
|
-
interface ReadAsyncOptions<T extends NodeJS.ArrayBufferView> extends ReadOptionsWithBuffer<T> {}
|
|
2925
2919
|
/**
|
|
2926
2920
|
* Read data from the file specified by `fd`.
|
|
2927
2921
|
*
|
|
@@ -4675,9 +4669,7 @@ declare module "node:fs" {
|
|
|
4675
4669
|
* @param dest destination path to copy to.
|
|
4676
4670
|
*/
|
|
4677
4671
|
function cpSync(source: string | URL, destination: string | URL, opts?: CopySyncOptions): void;
|
|
4678
|
-
|
|
4679
|
-
// TODO: collapse
|
|
4680
|
-
interface _GlobOptions<T extends Dirent | string> {
|
|
4672
|
+
interface GlobOptions<T extends Dirent | string = Dirent | string> {
|
|
4681
4673
|
/**
|
|
4682
4674
|
* Current working directory.
|
|
4683
4675
|
* @default process.cwd()
|
|
@@ -4700,11 +4692,10 @@ declare module "node:fs" {
|
|
|
4700
4692
|
*/
|
|
4701
4693
|
exclude?: ((fileName: T) => boolean) | readonly string[] | undefined;
|
|
4702
4694
|
}
|
|
4703
|
-
interface
|
|
4704
|
-
interface GlobOptionsWithFileTypes extends _GlobOptions<Dirent> {
|
|
4695
|
+
interface GlobOptionsWithFileTypes extends GlobOptions<Dirent> {
|
|
4705
4696
|
withFileTypes: true;
|
|
4706
4697
|
}
|
|
4707
|
-
interface GlobOptionsWithoutFileTypes extends
|
|
4698
|
+
interface GlobOptionsWithoutFileTypes extends GlobOptions<string> {
|
|
4708
4699
|
withFileTypes?: false | undefined;
|
|
4709
4700
|
}
|
|
4710
4701
|
|
|
@@ -98,10 +98,10 @@ declare namespace NodeJS {
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
interface ErrnoException extends Error {
|
|
101
|
-
errno?: number
|
|
102
|
-
code?: string
|
|
103
|
-
path?: string
|
|
104
|
-
syscall?: string
|
|
101
|
+
errno?: number;
|
|
102
|
+
code?: string;
|
|
103
|
+
path?: string;
|
|
104
|
+
syscall?: string;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
interface RefCounted {
|
|
@@ -341,7 +341,7 @@ declare module "node:http" {
|
|
|
341
341
|
"connection": [socket: net.Socket];
|
|
342
342
|
"dropRequest": [request: InstanceType<Request>, socket: stream.Duplex];
|
|
343
343
|
"request": Parameters<RequestListener<Request, Response>>;
|
|
344
|
-
"upgrade": [req: InstanceType<Request>,
|
|
344
|
+
"upgrade": [req: InstanceType<Request>, stream: stream.Duplex, head: NonSharedBuffer];
|
|
345
345
|
}
|
|
346
346
|
/**
|
|
347
347
|
* @since v0.1.17
|
|
@@ -947,7 +947,7 @@ declare module "node:http" {
|
|
|
947
947
|
"response": [response: IncomingMessage];
|
|
948
948
|
"socket": [socket: net.Socket];
|
|
949
949
|
"timeout": [];
|
|
950
|
-
"upgrade": [response: IncomingMessage,
|
|
950
|
+
"upgrade": [response: IncomingMessage, stream: net.Socket, head: NonSharedBuffer];
|
|
951
951
|
}
|
|
952
952
|
/**
|
|
953
953
|
* This object is created internally and returned from {@link request}. It
|
|
@@ -1502,7 +1502,7 @@ declare module "node:http" {
|
|
|
1502
1502
|
scheduling?: "fifo" | "lifo" | undefined;
|
|
1503
1503
|
/**
|
|
1504
1504
|
* Environment variables for proxy configuration. See
|
|
1505
|
-
* [Built-in Proxy Support](https://nodejs.org/docs/latest-
|
|
1505
|
+
* [Built-in Proxy Support](https://nodejs.org/docs/latest-v26.x/api/http.html#built-in-proxy-support) for details.
|
|
1506
1506
|
* @since v24.5.0
|
|
1507
1507
|
*/
|
|
1508
1508
|
proxyEnv?: ProxyEnv | undefined;
|
|
@@ -1571,7 +1571,7 @@ declare module "node:http" {
|
|
|
1571
1571
|
* });
|
|
1572
1572
|
* ```
|
|
1573
1573
|
*
|
|
1574
|
-
* `options` in [`socket.connect()`](https://nodejs.org/docs/latest-
|
|
1574
|
+
* `options` in [`socket.connect()`](https://nodejs.org/docs/latest-v26.x/api/net.html#socketconnectoptions-connectlistener) are also supported.
|
|
1575
1575
|
*
|
|
1576
1576
|
* To configure any of them, a custom {@link Agent} instance must be created.
|
|
1577
1577
|
*
|
|
@@ -2106,7 +2106,7 @@ declare module "node:http" {
|
|
|
2106
2106
|
* overridden after this function is invoked. It's recommended to invoke it before any
|
|
2107
2107
|
* requests are made and avoid invoking it in the middle of any requests.
|
|
2108
2108
|
*
|
|
2109
|
-
* See [Built-in Proxy Support](https://nodejs.org/docs/latest-
|
|
2109
|
+
* See [Built-in Proxy Support](https://nodejs.org/docs/latest-v26.x/api/http.html#built-in-proxy-support) for details on proxy URL formats and `NO_PROXY`
|
|
2110
2110
|
* syntax.
|
|
2111
2111
|
* @since v25.4.0
|
|
2112
2112
|
* @param proxyEnv An object containing proxy configuration. This accepts the
|
|
@@ -1760,7 +1760,7 @@ declare module "node:http2" {
|
|
|
1760
1760
|
* If there were no previous values for the header, this is equivalent to calling {@link setHeader}.
|
|
1761
1761
|
*
|
|
1762
1762
|
* Attempting to set a header field name or value that contains invalid characters will result in a
|
|
1763
|
-
* [TypeError](https://nodejs.org/docs/latest-
|
|
1763
|
+
* [TypeError](https://nodejs.org/docs/latest-v26.x/api/errors.html#class-typeerror) being thrown.
|
|
1764
1764
|
*
|
|
1765
1765
|
* ```js
|
|
1766
1766
|
* // Returns headers including "set-cookie: a" and "set-cookie: b"
|
|
@@ -29,9 +29,6 @@
|
|
|
29
29
|
/// <reference lib="esnext.disposable" />
|
|
30
30
|
/// <reference lib="esnext.float16" />
|
|
31
31
|
|
|
32
|
-
// Iterator definitions required for compatibility with TypeScript <5.6:
|
|
33
|
-
/// <reference path="compatibility/iterators.d.ts" />
|
|
34
|
-
|
|
35
32
|
// Definitions for Node.js modules specific to TypeScript 5.7+:
|
|
36
33
|
/// <reference path="globals.typedarray.d.ts" />
|
|
37
34
|
/// <reference path="buffer.buffer.d.ts" />
|
|
@@ -34,7 +34,7 @@ declare module "node:inspector" {
|
|
|
34
34
|
* If wait is `true`, will block until a client has connected to the inspect port
|
|
35
35
|
* and flow control has been passed to the debugger client.
|
|
36
36
|
*
|
|
37
|
-
* See the [security warning](https://nodejs.org/docs/latest-
|
|
37
|
+
* See the [security warning](https://nodejs.org/docs/latest-v26.x/api/cli.html#warning-binding-inspector-to-a-public-ipport-combination-is-insecure)
|
|
38
38
|
* regarding the `host` parameter usage.
|
|
39
39
|
* @param port Port to listen on for inspector connections. Defaults to what was specified on the CLI.
|
|
40
40
|
* @param host Host to listen on for inspector connections. Defaults to what was specified on the CLI.
|
|
@@ -27,7 +27,7 @@ declare module "node:module" {
|
|
|
27
27
|
/**
|
|
28
28
|
* The following constants are returned as the `status` field in the object returned by
|
|
29
29
|
* {@link enableCompileCache} to indicate the result of the attempt to enable the
|
|
30
|
-
* [module compile cache](https://nodejs.org/docs/latest-
|
|
30
|
+
* [module compile cache](https://nodejs.org/docs/latest-v26.x/api/module.html#module-compile-cache).
|
|
31
31
|
* @since v22.8.0
|
|
32
32
|
*/
|
|
33
33
|
namespace compileCacheStatus {
|
|
@@ -96,7 +96,7 @@ declare module "node:module" {
|
|
|
96
96
|
directory?: string;
|
|
97
97
|
}
|
|
98
98
|
/**
|
|
99
|
-
* Enable [module compile cache](https://nodejs.org/docs/latest-
|
|
99
|
+
* Enable [module compile cache](https://nodejs.org/docs/latest-v26.x/api/module.html#module-compile-cache)
|
|
100
100
|
* in the current Node.js instance.
|
|
101
101
|
*
|
|
102
102
|
* For general use cases, it's recommended to call `module.enableCompileCache()` without
|
|
@@ -110,7 +110,7 @@ declare module "node:module" {
|
|
|
110
110
|
* returned object contains the path to the directory where the compile cache is stored. The
|
|
111
111
|
* `status` field in the returned object would be one of the `module.constants.compileCacheStatus`
|
|
112
112
|
* values to indicate the result of the attempt to enable the
|
|
113
|
-
* [module compile cache](https://nodejs.org/docs/latest-
|
|
113
|
+
* [module compile cache](https://nodejs.org/docs/latest-v26.x/api/module.html#module-compile-cache).
|
|
114
114
|
*
|
|
115
115
|
* This method only affects the current Node.js instance. To enable it in child worker threads,
|
|
116
116
|
* either call this method in child worker threads too, or set the
|
|
@@ -122,7 +122,7 @@ declare module "node:module" {
|
|
|
122
122
|
*/
|
|
123
123
|
function enableCompileCache(options?: string | EnableCompileCacheOptions): EnableCompileCacheResult;
|
|
124
124
|
/**
|
|
125
|
-
* Flush the [module compile cache](https://nodejs.org/docs/latest-
|
|
125
|
+
* Flush the [module compile cache](https://nodejs.org/docs/latest-v26.x/api/module.html#module-compile-cache)
|
|
126
126
|
* accumulated from modules already loaded
|
|
127
127
|
* in the current Node.js instance to disk. This returns after all the flushing
|
|
128
128
|
* file system operations come to an end, no matter they succeed or not. If there
|
|
@@ -133,7 +133,7 @@ declare module "node:module" {
|
|
|
133
133
|
function flushCompileCache(): void;
|
|
134
134
|
/**
|
|
135
135
|
* @since v22.8.0
|
|
136
|
-
* @return Path to the [module compile cache](https://nodejs.org/docs/latest-
|
|
136
|
+
* @return Path to the [module compile cache](https://nodejs.org/docs/latest-v26.x/api/module.html#module-compile-cache)
|
|
137
137
|
* directory if it is enabled, or `undefined` otherwise.
|
|
138
138
|
*/
|
|
139
139
|
function getCompileCacheDir(): string | undefined;
|
|
@@ -204,7 +204,7 @@ declare module "node:module" {
|
|
|
204
204
|
*/
|
|
205
205
|
data?: Data | undefined;
|
|
206
206
|
/**
|
|
207
|
-
* [Transferable objects](https://nodejs.org/docs/latest-
|
|
207
|
+
* [Transferable objects](https://nodejs.org/docs/latest-v26.x/api/worker_threads.html#portpostmessagevalue-transferlist)
|
|
208
208
|
* to be passed into the `initialize` hook.
|
|
209
209
|
*/
|
|
210
210
|
transferList?: any[] | undefined;
|
|
@@ -213,10 +213,10 @@ declare module "node:module" {
|
|
|
213
213
|
/**
|
|
214
214
|
* Register a module that exports hooks that customize Node.js module
|
|
215
215
|
* resolution and loading behavior. See
|
|
216
|
-
* [Customization hooks](https://nodejs.org/docs/latest-
|
|
216
|
+
* [Customization hooks](https://nodejs.org/docs/latest-v26.x/api/module.html#customization-hooks).
|
|
217
217
|
*
|
|
218
218
|
* This feature requires `--allow-worker` if used with the
|
|
219
|
-
* [Permission Model](https://nodejs.org/docs/latest-
|
|
219
|
+
* [Permission Model](https://nodejs.org/docs/latest-v26.x/api/permissions.html#permission-model).
|
|
220
220
|
* @since v20.6.0, v18.19.0
|
|
221
221
|
* @deprecated Use `module.registerHooks()` instead.
|
|
222
222
|
* @param specifier Customization hooks to be registered; this should be
|
|
@@ -233,12 +233,12 @@ declare module "node:module" {
|
|
|
233
233
|
function register<Data = any>(specifier: string | URL, options?: RegisterOptions<Data>): void;
|
|
234
234
|
interface RegisterHooksOptions {
|
|
235
235
|
/**
|
|
236
|
-
* See [load hook](https://nodejs.org/docs/latest-
|
|
236
|
+
* See [load hook](https://nodejs.org/docs/latest-v26.x/api/module.html#loadurl-context-nextload).
|
|
237
237
|
* @default undefined
|
|
238
238
|
*/
|
|
239
239
|
load?: LoadHookSync | undefined;
|
|
240
240
|
/**
|
|
241
|
-
* See [resolve hook](https://nodejs.org/docs/latest-
|
|
241
|
+
* See [resolve hook](https://nodejs.org/docs/latest-v26.x/api/module.html#resolvespecifier-context-nextresolve).
|
|
242
242
|
* @default undefined
|
|
243
243
|
*/
|
|
244
244
|
resolve?: ResolveHookSync | undefined;
|
|
@@ -250,7 +250,7 @@ declare module "node:module" {
|
|
|
250
250
|
deregister(): void;
|
|
251
251
|
}
|
|
252
252
|
/**
|
|
253
|
-
* Register [hooks](https://nodejs.org/docs/latest-
|
|
253
|
+
* Register [hooks](https://nodejs.org/docs/latest-v26.x/api/module.html#customization-hooks)
|
|
254
254
|
* that customize Node.js module resolution and loading behavior.
|
|
255
255
|
* @since v22.15.0
|
|
256
256
|
* @experimental
|
|
@@ -260,16 +260,9 @@ declare module "node:module" {
|
|
|
260
260
|
/**
|
|
261
261
|
* Possible values are:
|
|
262
262
|
* * `'strip'` Only strip type annotations without performing the transformation of TypeScript features.
|
|
263
|
-
* * `'transform'` Strip type annotations and transform TypeScript features to JavaScript.
|
|
264
263
|
* @default 'strip'
|
|
265
264
|
*/
|
|
266
|
-
mode?: "strip" |
|
|
267
|
-
/**
|
|
268
|
-
* Only when `mode` is `'transform'`, if `true`, a source map
|
|
269
|
-
* will be generated for the transformed code.
|
|
270
|
-
* @default false
|
|
271
|
-
*/
|
|
272
|
-
sourceMap?: boolean | undefined;
|
|
265
|
+
mode?: "strip" | undefined;
|
|
273
266
|
/**
|
|
274
267
|
* Specifies the source url used in the source map.
|
|
275
268
|
*/
|
|
@@ -279,13 +272,9 @@ declare module "node:module" {
|
|
|
279
272
|
* `module.stripTypeScriptTypes()` removes type annotations from TypeScript code. It
|
|
280
273
|
* can be used to strip type annotations from TypeScript code before running it
|
|
281
274
|
* with `vm.runInContext()` or `vm.compileFunction()`.
|
|
275
|
+
*
|
|
282
276
|
* By default, it will throw an error if the code contains TypeScript features
|
|
283
|
-
* that require transformation such as `
|
|
284
|
-
* see [type-stripping](https://nodejs.org/docs/latest-v25.x/api/typescript.md#type-stripping) for more information.
|
|
285
|
-
* When mode is `'transform'`, it also transforms TypeScript features to JavaScript,
|
|
286
|
-
* see [transform TypeScript features](https://nodejs.org/docs/latest-v25.x/api/typescript.md#typescript-features) for more information.
|
|
287
|
-
* When mode is `'strip'`, source maps are not generated, because locations are preserved.
|
|
288
|
-
* If `sourceMap` is provided, when mode is `'strip'`, an error will be thrown.
|
|
277
|
+
* that require transformation, such as `enum`s. See [type-stripping](https://nodejs.org/docs/latest-v26.x/api/typescript.md#type-stripping) for more information.
|
|
289
278
|
*
|
|
290
279
|
* _WARNING_: The output of this function should not be considered stable across Node.js versions,
|
|
291
280
|
* due to changes in the TypeScript parser.
|
|
@@ -307,24 +296,6 @@ declare module "node:module" {
|
|
|
307
296
|
* console.log(strippedCode);
|
|
308
297
|
* // Prints: const a = 1\n\n//# sourceURL=source.ts;
|
|
309
298
|
* ```
|
|
310
|
-
*
|
|
311
|
-
* When `mode` is `'transform'`, the code is transformed to JavaScript:
|
|
312
|
-
*
|
|
313
|
-
* ```js
|
|
314
|
-
* import { stripTypeScriptTypes } from 'node:module';
|
|
315
|
-
* const code = `
|
|
316
|
-
* namespace MathUtil {
|
|
317
|
-
* export const add = (a: number, b: number) => a + b;
|
|
318
|
-
* }`;
|
|
319
|
-
* const strippedCode = stripTypeScriptTypes(code, { mode: 'transform', sourceMap: true });
|
|
320
|
-
* console.log(strippedCode);
|
|
321
|
-
* // Prints:
|
|
322
|
-
* // var MathUtil;
|
|
323
|
-
* // (function(MathUtil) {
|
|
324
|
-
* // MathUtil.add = (a, b)=>a + b;
|
|
325
|
-
* // })(MathUtil || (MathUtil = {}));
|
|
326
|
-
* // # sourceMappingURL=data:application/json;base64, ...
|
|
327
|
-
* ```
|
|
328
299
|
* @since v22.13.0
|
|
329
300
|
* @param code The code to strip type annotations from.
|
|
330
301
|
* @returns The code with type annotations stripped.
|
|
@@ -645,7 +616,7 @@ declare module "node:module" {
|
|
|
645
616
|
* Modules are cached in this object when they are required. By deleting a key
|
|
646
617
|
* value from this object, the next `require` will reload the module.
|
|
647
618
|
* This does not apply to
|
|
648
|
-
* [native addons](https://nodejs.org/docs/latest-
|
|
619
|
+
* [native addons](https://nodejs.org/docs/latest-v26.x/api/addons.html),
|
|
649
620
|
* for which reloading will result in an error.
|
|
650
621
|
* @since v0.3.0
|
|
651
622
|
*/
|
|
@@ -679,7 +650,7 @@ declare module "node:module" {
|
|
|
679
650
|
* Paths to resolve module location from. If present, these
|
|
680
651
|
* paths are used instead of the default resolution paths, with the exception
|
|
681
652
|
* of
|
|
682
|
-
* [GLOBAL\_FOLDERS](https://nodejs.org/docs/latest-
|
|
653
|
+
* [GLOBAL\_FOLDERS](https://nodejs.org/docs/latest-v26.x/api/modules.html#loading-from-the-global-folders)
|
|
683
654
|
* like `$HOME/.node_modules`, which are
|
|
684
655
|
* always included. Each of these paths is used as a starting point for
|
|
685
656
|
* the module resolution algorithm, meaning that the `node_modules` hierarchy
|
|
@@ -488,7 +488,7 @@ declare module "node:net" {
|
|
|
488
488
|
keepAliveInitialDelay?: number | undefined;
|
|
489
489
|
/**
|
|
490
490
|
* Optionally overrides all `net.Socket`s' `readableHighWaterMark` and `writableHighWaterMark`.
|
|
491
|
-
* @default See [stream.getDefaultHighWaterMark()](https://nodejs.org/docs/latest-
|
|
491
|
+
* @default See [stream.getDefaultHighWaterMark()](https://nodejs.org/docs/latest-v26.x/api/stream.html#streamgetdefaulthighwatermarkobjectmode).
|
|
492
492
|
* @since v18.17.0, v20.1.0
|
|
493
493
|
*/
|
|
494
494
|
highWaterMark?: number | undefined;
|
|
@@ -242,7 +242,7 @@ declare module "node:os" {
|
|
|
242
242
|
* environment variables for the home directory before falling back to the
|
|
243
243
|
* operating system response.
|
|
244
244
|
*
|
|
245
|
-
* Throws a [`SystemError`](https://nodejs.org/docs/latest-
|
|
245
|
+
* Throws a [`SystemError`](https://nodejs.org/docs/latest-v26.x/api/errors.html#class-systemerror) if a user has no `username` or `homedir`.
|
|
246
246
|
* @since v6.0.0
|
|
247
247
|
*/
|
|
248
248
|
function userInfo(options?: UserInfoOptionsWithStringEncoding): UserInfo<string>;
|
|
@@ -422,7 +422,7 @@ declare module "node:os" {
|
|
|
422
422
|
* compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`,
|
|
423
423
|
* `'mips'`, `'mipsel'`, `'ppc64'`, `'riscv64'`, `'s390x'`, and `'x64'`.
|
|
424
424
|
*
|
|
425
|
-
* The return value is equivalent to [process.arch](https://nodejs.org/docs/latest-
|
|
425
|
+
* The return value is equivalent to [process.arch](https://nodejs.org/docs/latest-v26.x/api/process.html#processarch).
|
|
426
426
|
* @since v0.5.0
|
|
427
427
|
*/
|
|
428
428
|
function arch(): NodeJS.Architecture;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "26.0.0",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -147,9 +147,9 @@
|
|
|
147
147
|
},
|
|
148
148
|
"scripts": {},
|
|
149
149
|
"dependencies": {
|
|
150
|
-
"undici-types": "
|
|
150
|
+
"undici-types": "~8.3.0"
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {},
|
|
153
|
-
"typesPublisherContentHash": "
|
|
154
|
-
"typeScriptVersion": "5.
|
|
153
|
+
"typesPublisherContentHash": "b97b21d94288bc153e105a65f4c8fe609dd471f179c5bbd931ba27f959bd0744",
|
|
154
|
+
"typeScriptVersion": "5.6"
|
|
155
155
|
}
|
|
@@ -52,9 +52,6 @@ declare module "node:perf_hooks" {
|
|
|
52
52
|
entryTypes?: EntryType[];
|
|
53
53
|
type?: EntryType;
|
|
54
54
|
}
|
|
55
|
-
// TODO: remove in next major
|
|
56
|
-
/** @deprecated Use `TimerifyOptions` instead. */
|
|
57
|
-
interface PerformanceTimerifyOptions extends TimerifyOptions {}
|
|
58
55
|
interface PerformanceEventMap {
|
|
59
56
|
"resourcetimingbufferfull": Event;
|
|
60
57
|
}
|
|
@@ -459,7 +456,7 @@ declare module "node:perf_hooks" {
|
|
|
459
456
|
* Event Loop Utilization (ELU).
|
|
460
457
|
*
|
|
461
458
|
* If bootstrapping has not yet finished on the main thread the properties have
|
|
462
|
-
* the value of `0`. The ELU is immediately available on [Worker threads](https://nodejs.org/docs/latest-
|
|
459
|
+
* the value of `0`. The ELU is immediately available on [Worker threads](https://nodejs.org/docs/latest-v26.x/api/worker_threads.html#worker-threads) since
|
|
463
460
|
* bootstrap happens within the event loop.
|
|
464
461
|
*
|
|
465
462
|
* Both `utilization1` and `utilization2` are optional parameters.
|
|
@@ -601,11 +598,6 @@ declare module "node:perf_hooks" {
|
|
|
601
598
|
* @since v15.9.0, v14.18.0
|
|
602
599
|
*/
|
|
603
600
|
function createHistogram(options?: CreateHistogramOptions): RecordableHistogram;
|
|
604
|
-
// TODO: remove these in a future major
|
|
605
|
-
/** @deprecated Use the canonical `PerformanceMarkOptions` instead. */
|
|
606
|
-
interface MarkOptions extends PerformanceMarkOptions {}
|
|
607
|
-
/** @deprecated Use the canonical `PerformanceMeasureOptions` instead. */
|
|
608
|
-
interface MeasureOptions extends PerformanceMeasureOptions {}
|
|
609
601
|
}
|
|
610
602
|
declare module "perf_hooks" {
|
|
611
603
|
export * from "node:perf_hooks";
|